IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkio_policy_delete_node.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkio_policy_delete_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @blkio_policy_delete_node], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @blkio_policy_delete_node(ptr noundef %0) #0 {
%2 = tail call i32 @list_del(ptr noundef %0) #2
ret void
}
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkio_policy_delete_node.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkio_policy_delete_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @blkio_policy_delete_node], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @blkio_policy_delete_node(ptr noundef %0) #0 {
%2 = tail call i32 @list_del(ptr noundef %0) #2
ret void
}
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_block_extr_blk-cgroup.c_blkio_policy_delete_node |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bios.c_load_nv17_hwsq_ucode_entry.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bios.c_load_nv17_hwsq_ucode_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"Too few entries in HW sequencer table for requested entry\0A\00", align 1
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"Unknown HW sequencer entry size\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Loading NV17 power sequencing microcode\0A\00", align 1
@NV_PBUS_DEBUG_4 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @load_nv17_hwsq_ucode_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @load_nv17_hwsq_ucode_entry(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @nouveau_drm(ptr noundef %0) #2
%6 = load ptr, ptr %1, align 8, !tbaa !5
%7 = getelementptr inbounds i32, ptr %6, i64 %2
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = icmp sgt i32 %8, %3
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = tail call i32 @NV_ERROR(ptr noundef %5, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENOENT, align 4, !tbaa !10
%13 = sub nsw i32 0, %12
br label %85
14: ; preds = %4
%15 = getelementptr i32, ptr %7, i64 1
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = icmp eq i32 %16, 36
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = tail call i32 @NV_ERROR(ptr noundef %5, ptr noundef nonnull @.str.1) #2
%20 = load i32, ptr @EINVAL, align 4, !tbaa !10
%21 = sub nsw i32 0, %20
br label %85
22: ; preds = %14
%23 = tail call i32 @NV_INFO(ptr noundef %5, ptr noundef nonnull @.str.2) #2
%24 = add i64 %2, 2
%25 = mul nsw i32 %3, 36
%26 = sext i32 %25 to i64
%27 = add i64 %24, %26
%28 = load ptr, ptr %1, align 8, !tbaa !5
%29 = getelementptr inbounds i32, ptr %28, i64 %27
%30 = load i32, ptr %29, align 4, !tbaa !10
%31 = tail call i32 @ROM32(i32 noundef %30) #2
%32 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 4868, i32 noundef %31) #2
%33 = load ptr, ptr %1, align 8, !tbaa !5
%34 = getelementptr i32, ptr %33, i64 %27
%35 = getelementptr i32, ptr %34, i64 4
%36 = load i32, ptr %35, align 4, !tbaa !10
%37 = tail call i32 @ROM32(i32 noundef %36) #2
%38 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5120, i32 noundef %37) #2
%39 = load ptr, ptr %1, align 8, !tbaa !5
%40 = getelementptr i32, ptr %39, i64 %27
%41 = getelementptr i32, ptr %40, i64 8
%42 = load i32, ptr %41, align 4, !tbaa !10
%43 = tail call i32 @ROM32(i32 noundef %42) #2
%44 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5124, i32 noundef %43) #2
%45 = load ptr, ptr %1, align 8, !tbaa !5
%46 = getelementptr i32, ptr %45, i64 %27
%47 = getelementptr i32, ptr %46, i64 12
%48 = load i32, ptr %47, align 4, !tbaa !10
%49 = tail call i32 @ROM32(i32 noundef %48) #2
%50 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5128, i32 noundef %49) #2
%51 = load ptr, ptr %1, align 8, !tbaa !5
%52 = getelementptr i32, ptr %51, i64 %27
%53 = getelementptr i32, ptr %52, i64 16
%54 = load i32, ptr %53, align 4, !tbaa !10
%55 = tail call i32 @ROM32(i32 noundef %54) #2
%56 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5132, i32 noundef %55) #2
%57 = load ptr, ptr %1, align 8, !tbaa !5
%58 = getelementptr i32, ptr %57, i64 %27
%59 = getelementptr i32, ptr %58, i64 20
%60 = load i32, ptr %59, align 4, !tbaa !10
%61 = tail call i32 @ROM32(i32 noundef %60) #2
%62 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5136, i32 noundef %61) #2
%63 = load ptr, ptr %1, align 8, !tbaa !5
%64 = getelementptr i32, ptr %63, i64 %27
%65 = getelementptr i32, ptr %64, i64 24
%66 = load i32, ptr %65, align 4, !tbaa !10
%67 = tail call i32 @ROM32(i32 noundef %66) #2
%68 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5140, i32 noundef %67) #2
%69 = load ptr, ptr %1, align 8, !tbaa !5
%70 = getelementptr i32, ptr %69, i64 %27
%71 = getelementptr i32, ptr %70, i64 28
%72 = load i32, ptr %71, align 4, !tbaa !10
%73 = tail call i32 @ROM32(i32 noundef %72) #2
%74 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5144, i32 noundef %73) #2
%75 = load ptr, ptr %1, align 8, !tbaa !5
%76 = getelementptr i32, ptr %75, i64 %27
%77 = getelementptr i32, ptr %76, i64 32
%78 = load i32, ptr %77, align 4, !tbaa !10
%79 = tail call i32 @ROM32(i32 noundef %78) #2
%80 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5148, i32 noundef %79) #2
%81 = load i32, ptr @NV_PBUS_DEBUG_4, align 4, !tbaa !10
%82 = tail call i32 @nvif_rd32(ptr noundef %5, i32 noundef %81) #2
%83 = or i32 %82, 24
%84 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef %81, i32 noundef %83) #2
br label %85
85: ; preds = %22, %18, %10
%86 = phi i32 [ %13, %10 ], [ %21, %18 ], [ 0, %22 ]
ret i32 %86
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare i32 @NV_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @NV_INFO(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvif_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ROM32(i32 noundef) local_unnamed_addr #1
declare i32 @nvif_rd32(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 = !{!"nvbios", !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/gpu/drm/nouveau/extr_nouveau_bios.c_load_nv17_hwsq_ucode_entry.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bios.c_load_nv17_hwsq_ucode_entry.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 [59 x i8] c"Too few entries in HW sequencer table for requested entry\0A\00", align 1
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [33 x i8] c"Unknown HW sequencer entry size\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Loading NV17 power sequencing microcode\0A\00", align 1
@NV_PBUS_DEBUG_4 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @load_nv17_hwsq_ucode_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @load_nv17_hwsq_ucode_entry(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @nouveau_drm(ptr noundef %0) #2
%6 = load ptr, ptr %1, align 8, !tbaa !6
%7 = getelementptr inbounds i32, ptr %6, i64 %2
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = icmp sgt i32 %8, %3
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = tail call i32 @NV_ERROR(ptr noundef %5, ptr noundef nonnull @.str) #2
%12 = load i32, ptr @ENOENT, align 4, !tbaa !11
%13 = sub nsw i32 0, %12
br label %85
14: ; preds = %4
%15 = getelementptr i8, ptr %7, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = icmp eq i32 %16, 36
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = tail call i32 @NV_ERROR(ptr noundef %5, ptr noundef nonnull @.str.1) #2
%20 = load i32, ptr @EINVAL, align 4, !tbaa !11
%21 = sub nsw i32 0, %20
br label %85
22: ; preds = %14
%23 = tail call i32 @NV_INFO(ptr noundef %5, ptr noundef nonnull @.str.2) #2
%24 = add i64 %2, 2
%25 = mul nsw i32 %3, 36
%26 = sext i32 %25 to i64
%27 = add i64 %24, %26
%28 = load ptr, ptr %1, align 8, !tbaa !6
%29 = getelementptr inbounds i32, ptr %28, i64 %27
%30 = load i32, ptr %29, align 4, !tbaa !11
%31 = tail call i32 @ROM32(i32 noundef %30) #2
%32 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 4868, i32 noundef %31) #2
%33 = load ptr, ptr %1, align 8, !tbaa !6
%34 = getelementptr i32, ptr %33, i64 %27
%35 = getelementptr i8, ptr %34, i64 16
%36 = load i32, ptr %35, align 4, !tbaa !11
%37 = tail call i32 @ROM32(i32 noundef %36) #2
%38 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5120, i32 noundef %37) #2
%39 = load ptr, ptr %1, align 8, !tbaa !6
%40 = getelementptr i32, ptr %39, i64 %27
%41 = getelementptr i8, ptr %40, i64 32
%42 = load i32, ptr %41, align 4, !tbaa !11
%43 = tail call i32 @ROM32(i32 noundef %42) #2
%44 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5124, i32 noundef %43) #2
%45 = load ptr, ptr %1, align 8, !tbaa !6
%46 = getelementptr i32, ptr %45, i64 %27
%47 = getelementptr i8, ptr %46, i64 48
%48 = load i32, ptr %47, align 4, !tbaa !11
%49 = tail call i32 @ROM32(i32 noundef %48) #2
%50 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5128, i32 noundef %49) #2
%51 = load ptr, ptr %1, align 8, !tbaa !6
%52 = getelementptr i32, ptr %51, i64 %27
%53 = getelementptr i8, ptr %52, i64 64
%54 = load i32, ptr %53, align 4, !tbaa !11
%55 = tail call i32 @ROM32(i32 noundef %54) #2
%56 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5132, i32 noundef %55) #2
%57 = load ptr, ptr %1, align 8, !tbaa !6
%58 = getelementptr i32, ptr %57, i64 %27
%59 = getelementptr i8, ptr %58, i64 80
%60 = load i32, ptr %59, align 4, !tbaa !11
%61 = tail call i32 @ROM32(i32 noundef %60) #2
%62 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5136, i32 noundef %61) #2
%63 = load ptr, ptr %1, align 8, !tbaa !6
%64 = getelementptr i32, ptr %63, i64 %27
%65 = getelementptr i8, ptr %64, i64 96
%66 = load i32, ptr %65, align 4, !tbaa !11
%67 = tail call i32 @ROM32(i32 noundef %66) #2
%68 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5140, i32 noundef %67) #2
%69 = load ptr, ptr %1, align 8, !tbaa !6
%70 = getelementptr i32, ptr %69, i64 %27
%71 = getelementptr i8, ptr %70, i64 112
%72 = load i32, ptr %71, align 4, !tbaa !11
%73 = tail call i32 @ROM32(i32 noundef %72) #2
%74 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5144, i32 noundef %73) #2
%75 = load ptr, ptr %1, align 8, !tbaa !6
%76 = getelementptr i32, ptr %75, i64 %27
%77 = getelementptr i8, ptr %76, i64 128
%78 = load i32, ptr %77, align 4, !tbaa !11
%79 = tail call i32 @ROM32(i32 noundef %78) #2
%80 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef 5148, i32 noundef %79) #2
%81 = load i32, ptr @NV_PBUS_DEBUG_4, align 4, !tbaa !11
%82 = tail call i32 @nvif_rd32(ptr noundef %5, i32 noundef %81) #2
%83 = or i32 %82, 24
%84 = tail call i32 @nvif_wr32(ptr noundef %5, i32 noundef %81, i32 noundef %83) #2
br label %85
85: ; preds = %22, %18, %10
%86 = phi i32 [ %13, %10 ], [ %21, %18 ], [ 0, %22 ]
ret i32 %86
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare i32 @NV_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @NV_INFO(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvif_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ROM32(i32 noundef) local_unnamed_addr #1
declare i32 @nvif_rd32(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 = !{!"nvbios", !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_gpu_drm_nouveau_extr_nouveau_bios.c_load_nv17_hwsq_ucode_entry |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_setup.c_NVWriteSeq.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_setup.c_NVWriteSeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VGA_SEQ_I = dso_local local_unnamed_addr global i32 0, align 4
@VGA_SEQ_D = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @NVWriteSeq(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @VGA_SEQ_I, align 4, !tbaa !10
%6 = tail call i32 @VGA_WR08(i32 noundef %4, i32 noundef %5, i32 noundef %1) #2
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = load i32, ptr @VGA_SEQ_D, align 4, !tbaa !10
%9 = tail call i32 @VGA_WR08(i32 noundef %7, i32 noundef %8, i32 noundef %2) #2
ret void
}
declare i32 @VGA_WR08(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nvidia_par", !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/drivers/video/fbdev/nvidia/extr_nv_setup.c_NVWriteSeq.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nv_setup.c_NVWriteSeq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VGA_SEQ_I = common local_unnamed_addr global i32 0, align 4
@VGA_SEQ_D = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @NVWriteSeq(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @VGA_SEQ_I, align 4, !tbaa !11
%6 = tail call i32 @VGA_WR08(i32 noundef %4, i32 noundef %5, i32 noundef %1) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = load i32, ptr @VGA_SEQ_D, align 4, !tbaa !11
%9 = tail call i32 @VGA_WR08(i32 noundef %7, i32 noundef %8, i32 noundef %2) #2
ret void
}
declare i32 @VGA_WR08(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nvidia_par", !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_drivers_video_fbdev_nvidia_extr_nv_setup.c_NVWriteSeq |
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_qmi_wwan.c_add_mux_store.c'
source_filename = "AnghaBench/linux/drivers/net/usb/extr_qmi_wwan.c_add_mux_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usbnet = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"mux_id already present\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Cannot change a running device\0A\00", align 1
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@QMI_WWAN_FLAG_MUX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_mux_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @add_mux_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call i32 @to_net_dev(ptr noundef %0) #3
%7 = tail call ptr @netdev_priv(i32 noundef %6) #3
%8 = getelementptr inbounds %struct.usbnet, ptr %7, i64 0, i32 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = call i64 @kstrtou8(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = load i32, ptr @EINVAL, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %55
14: ; preds = %4
%15 = load i32, ptr %5, align 4
%16 = add i32 %15, -255
%17 = icmp ult i32 %16, -254
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EINVAL, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %55
21: ; preds = %14
%22 = call i32 (...) @rtnl_trylock() #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (...) @restart_syscall() #3
br label %55
26: ; preds = %21
%27 = load i32, ptr %5, align 4, !tbaa !5
%28 = call i64 @qmimux_find_dev(ptr noundef %7, i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
%30 = load i32, ptr %7, align 4, !tbaa !9
br i1 %29, label %35, label %31
31: ; preds = %26
%32 = call i32 @netdev_err(i32 noundef %30, ptr noundef nonnull @.str) #3
%33 = load i32, ptr @EINVAL, align 4, !tbaa !5
%34 = sub nsw i32 0, %33
br label %52
35: ; preds = %26
%36 = call i64 @netif_running(i32 noundef %30) #3
%37 = icmp eq i64 %36, 0
%38 = load i32, ptr %7, align 4, !tbaa !9
br i1 %37, label %43, label %39
39: ; preds = %35
%40 = call i32 @netdev_err(i32 noundef %38, ptr noundef nonnull @.str.1) #3
%41 = load i32, ptr @EBUSY, align 4, !tbaa !5
%42 = sub nsw i32 0, %41
br label %52
43: ; preds = %35
%44 = load i32, ptr %5, align 4, !tbaa !5
%45 = call i32 @qmimux_register_device(i32 noundef %38, i32 noundef %44) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %43
%48 = load i32, ptr @QMI_WWAN_FLAG_MUX, align 4, !tbaa !5
%49 = load i32, ptr %8, align 4, !tbaa !11
%50 = or i32 %49, %48
store i32 %50, ptr %8, align 4, !tbaa !11
%51 = trunc i64 %3 to i32
br label %52
52: ; preds = %43, %47, %39, %31
%53 = phi i32 [ %34, %31 ], [ %42, %39 ], [ %45, %43 ], [ %51, %47 ]
%54 = call i32 (...) @rtnl_unlock() #3
br label %55
55: ; preds = %52, %24, %18, %11
%56 = phi i32 [ %13, %11 ], [ %20, %18 ], [ %53, %52 ], [ %25, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #2
declare i32 @to_net_dev(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtou8(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_trylock(...) local_unnamed_addr #2
declare i32 @restart_syscall(...) local_unnamed_addr #2
declare i64 @qmimux_find_dev(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @netif_running(i32 noundef) local_unnamed_addr #2
declare i32 @qmimux_register_device(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rtnl_unlock(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"usbnet", !6, i64 0, !6, i64 4}
!11 = !{!12, !6, i64 0}
!12 = !{!"qmi_wwan_state", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_qmi_wwan.c_add_mux_store.c'
source_filename = "AnghaBench/linux/drivers/net/usb/extr_qmi_wwan.c_add_mux_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"mux_id already present\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Cannot change a running device\0A\00", align 1
@EBUSY = common local_unnamed_addr global i32 0, align 4
@QMI_WWAN_FLAG_MUX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @add_mux_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @add_mux_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call i32 @to_net_dev(ptr noundef %0) #3
%7 = tail call ptr @netdev_priv(i32 noundef %6) #3
%8 = getelementptr inbounds i8, ptr %7, i64 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = call i64 @kstrtou8(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = load i32, ptr @EINVAL, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %55
14: ; preds = %4
%15 = load i32, ptr %5, align 4
%16 = add i32 %15, -255
%17 = icmp ult i32 %16, -254
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EINVAL, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %55
21: ; preds = %14
%22 = call i32 @rtnl_trylock() #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @restart_syscall() #3
br label %55
26: ; preds = %21
%27 = load i32, ptr %5, align 4, !tbaa !6
%28 = call i64 @qmimux_find_dev(ptr noundef %7, i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
%30 = load i32, ptr %7, align 4, !tbaa !10
br i1 %29, label %35, label %31
31: ; preds = %26
%32 = call i32 @netdev_err(i32 noundef %30, ptr noundef nonnull @.str) #3
%33 = load i32, ptr @EINVAL, align 4, !tbaa !6
%34 = sub nsw i32 0, %33
br label %52
35: ; preds = %26
%36 = call i64 @netif_running(i32 noundef %30) #3
%37 = icmp eq i64 %36, 0
%38 = load i32, ptr %7, align 4, !tbaa !10
br i1 %37, label %43, label %39
39: ; preds = %35
%40 = call i32 @netdev_err(i32 noundef %38, ptr noundef nonnull @.str.1) #3
%41 = load i32, ptr @EBUSY, align 4, !tbaa !6
%42 = sub nsw i32 0, %41
br label %52
43: ; preds = %35
%44 = load i32, ptr %5, align 4, !tbaa !6
%45 = call i32 @qmimux_register_device(i32 noundef %38, i32 noundef %44) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %43
%48 = load i32, ptr @QMI_WWAN_FLAG_MUX, align 4, !tbaa !6
%49 = load i32, ptr %8, align 4, !tbaa !12
%50 = or i32 %49, %48
store i32 %50, ptr %8, align 4, !tbaa !12
%51 = trunc i64 %3 to i32
br label %52
52: ; preds = %43, %47, %39, %31
%53 = phi i32 [ %34, %31 ], [ %42, %39 ], [ %45, %43 ], [ %51, %47 ]
%54 = call i32 @rtnl_unlock() #3
br label %55
55: ; preds = %52, %24, %18, %11
%56 = phi i32 [ %13, %11 ], [ %20, %18 ], [ %53, %52 ], [ %25, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #2
declare i32 @to_net_dev(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtou8(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtnl_trylock(...) local_unnamed_addr #2
declare i32 @restart_syscall(...) local_unnamed_addr #2
declare i64 @qmimux_find_dev(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @netif_running(i32 noundef) local_unnamed_addr #2
declare i32 @qmimux_register_device(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rtnl_unlock(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"usbnet", !7, i64 0, !7, i64 4}
!12 = !{!13, !7, i64 0}
!13 = !{!"qmi_wwan_state", !7, i64 0}
| linux_drivers_net_usb_extr_qmi_wwan.c_add_mux_store |
; ModuleID = 'AnghaBench/h2o/deps/klib/extr_ksa.c_induceSA.c'
source_filename = "AnghaBench/h2o/deps/klib/extr_ksa.c_induceSA.c"
target datalayout = "e-m:e-p270:32:32-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 @induceSA], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @induceSA(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = icmp eq ptr %2, %3
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = tail call i32 @getCounts(ptr noundef %0, ptr noundef %2, i64 noundef %4, i64 noundef %5, i64 noundef %6) #2
br label %11
11: ; preds = %9, %7
%12 = tail call i32 @getBuckets(ptr noundef %2, ptr noundef %3, i64 noundef %5, i32 noundef 0) #2
%13 = icmp eq i64 %4, 0
br i1 %13, label %54, label %14
14: ; preds = %11
%15 = ptrtoint ptr %1 to i64
br label %16
16: ; preds = %14, %49
%17 = phi i64 [ -1, %14 ], [ %51, %49 ]
%18 = phi i64 [ 0, %14 ], [ %52, %49 ]
%19 = phi ptr [ null, %14 ], [ %50, %49 ]
%20 = getelementptr inbounds i64, ptr %1, i64 %18
%21 = load i64, ptr %20, align 8, !tbaa !5
%22 = xor i64 %21, -1
store i64 %22, ptr %20, align 8, !tbaa !5
%23 = icmp eq i64 %21, 0
br i1 %23, label %49, label %24
24: ; preds = %16
%25 = add i64 %21, -1
%26 = tail call i64 @chr(i64 noundef %25) #2
%27 = icmp eq i64 %26, %17
br i1 %27, label %36, label %28
28: ; preds = %24
%29 = ptrtoint ptr %19 to i64
%30 = sub i64 %29, %15
%31 = ashr exact i64 %30, 3
%32 = getelementptr inbounds i64, ptr %3, i64 %17
store i64 %31, ptr %32, align 8, !tbaa !5
%33 = getelementptr inbounds i64, ptr %3, i64 %26
%34 = load i64, ptr %33, align 8, !tbaa !5
%35 = getelementptr inbounds i64, ptr %1, i64 %34
br label %36
36: ; preds = %28, %24
%37 = phi ptr [ %35, %28 ], [ %19, %24 ]
%38 = phi i64 [ %26, %28 ], [ %17, %24 ]
%39 = icmp eq i64 %25, 0
br i1 %39, label %46, label %40
40: ; preds = %36
%41 = add i64 %21, -2
%42 = tail call i64 @chr(i64 noundef %41) #2
%43 = icmp ult i64 %42, %38
%44 = sub i64 0, %21
%45 = select i1 %43, i64 %44, i64 %25
br label %46
46: ; preds = %40, %36
%47 = phi i64 [ 0, %36 ], [ %45, %40 ]
%48 = getelementptr inbounds i64, ptr %37, i64 1
store i64 %47, ptr %37, align 8, !tbaa !5
br label %49
49: ; preds = %16, %46
%50 = phi ptr [ %48, %46 ], [ %19, %16 ]
%51 = phi i64 [ %38, %46 ], [ %17, %16 ]
%52 = add nuw i64 %18, 1
%53 = icmp eq i64 %52, %4
br i1 %53, label %54, label %16, !llvm.loop !9
54: ; preds = %49, %11
br i1 %8, label %55, label %57
55: ; preds = %54
%56 = tail call i32 @getCounts(ptr noundef %0, ptr noundef %2, i64 noundef %4, i64 noundef %5, i64 noundef %6) #2
br label %57
57: ; preds = %55, %54
%58 = tail call i32 @getBuckets(ptr noundef %2, ptr noundef %3, i64 noundef %5, i32 noundef 1) #2
%59 = ptrtoint ptr %1 to i64
br label %60
60: ; preds = %97, %57
%61 = phi ptr [ null, %57 ], [ %98, %97 ]
%62 = phi i64 [ %4, %57 ], [ %66, %97 ]
%63 = phi i64 [ -1, %57 ], [ %84, %97 ]
br label %64
64: ; preds = %60, %99
%65 = phi i64 [ %66, %99 ], [ %62, %60 ]
%66 = add i64 %65, -1
%67 = getelementptr inbounds i64, ptr %1, i64 %66
%68 = load i64, ptr %67, align 8, !tbaa !5
%69 = icmp eq i64 %68, 0
br i1 %69, label %99, label %70
70: ; preds = %64
%71 = add i64 %68, -1
%72 = tail call i64 @chr(i64 noundef %71) #2
%73 = icmp eq i64 %72, %63
br i1 %73, label %82, label %74
74: ; preds = %70
%75 = ptrtoint ptr %61 to i64
%76 = sub i64 %75, %59
%77 = ashr exact i64 %76, 3
%78 = getelementptr inbounds i64, ptr %3, i64 %63
store i64 %77, ptr %78, align 8, !tbaa !5
%79 = getelementptr inbounds i64, ptr %3, i64 %72
%80 = load i64, ptr %79, align 8, !tbaa !5
%81 = getelementptr inbounds i64, ptr %1, i64 %80
br label %82
82: ; preds = %74, %70
%83 = phi ptr [ %81, %74 ], [ %61, %70 ]
%84 = phi i64 [ %72, %74 ], [ %63, %70 ]
%85 = icmp eq i64 %72, 0
br i1 %85, label %97, label %86
86: ; preds = %82
%87 = icmp eq i64 %71, 0
br i1 %87, label %92, label %88
88: ; preds = %86
%89 = add i64 %68, -2
%90 = tail call i64 @chr(i64 noundef %89) #2
%91 = icmp ugt i64 %90, %84
br i1 %91, label %92, label %94
92: ; preds = %88, %86
%93 = sub i64 0, %68
br label %94
94: ; preds = %88, %92
%95 = phi i64 [ %93, %92 ], [ %71, %88 ]
%96 = getelementptr inbounds i64, ptr %83, i64 -1
store i64 %95, ptr %96, align 8, !tbaa !5
br label %97
97: ; preds = %94, %82
%98 = phi ptr [ %83, %82 ], [ %96, %94 ]
br label %60, !llvm.loop !11
99: ; preds = %64
store i64 -1, ptr %67, align 8, !tbaa !5
br label %64, !llvm.loop !11
}
declare i32 @getCounts(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @getBuckets(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @chr(i64 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| ; ModuleID = 'AnghaBench/h2o/deps/klib/extr_ksa.c_induceSA.c'
source_filename = "AnghaBench/h2o/deps/klib/extr_ksa.c_induceSA.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 @induceSA], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @induceSA(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = icmp eq ptr %2, %3
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = tail call i32 @getCounts(ptr noundef %0, ptr noundef %2, i64 noundef %4, i64 noundef %5, i64 noundef %6) #2
br label %11
11: ; preds = %9, %7
%12 = tail call i32 @getBuckets(ptr noundef %2, ptr noundef %3, i64 noundef %5, i32 noundef 0) #2
%13 = icmp eq i64 %4, 0
br i1 %13, label %54, label %14
14: ; preds = %11
%15 = ptrtoint ptr %1 to i64
br label %16
16: ; preds = %14, %49
%17 = phi i64 [ -1, %14 ], [ %51, %49 ]
%18 = phi i64 [ 0, %14 ], [ %52, %49 ]
%19 = phi ptr [ null, %14 ], [ %50, %49 ]
%20 = getelementptr inbounds i64, ptr %1, i64 %18
%21 = load i64, ptr %20, align 8, !tbaa !6
%22 = xor i64 %21, -1
store i64 %22, ptr %20, align 8, !tbaa !6
%23 = icmp eq i64 %21, 0
br i1 %23, label %49, label %24
24: ; preds = %16
%25 = add i64 %21, -1
%26 = tail call i64 @chr(i64 noundef %25) #2
%27 = icmp eq i64 %26, %17
br i1 %27, label %36, label %28
28: ; preds = %24
%29 = ptrtoint ptr %19 to i64
%30 = sub i64 %29, %15
%31 = ashr exact i64 %30, 3
%32 = getelementptr inbounds i64, ptr %3, i64 %17
store i64 %31, ptr %32, align 8, !tbaa !6
%33 = getelementptr inbounds i64, ptr %3, i64 %26
%34 = load i64, ptr %33, align 8, !tbaa !6
%35 = getelementptr inbounds i64, ptr %1, i64 %34
br label %36
36: ; preds = %28, %24
%37 = phi ptr [ %35, %28 ], [ %19, %24 ]
%38 = phi i64 [ %26, %28 ], [ %17, %24 ]
%39 = icmp eq i64 %25, 0
br i1 %39, label %46, label %40
40: ; preds = %36
%41 = add i64 %21, -2
%42 = tail call i64 @chr(i64 noundef %41) #2
%43 = icmp ult i64 %42, %38
%44 = sub i64 0, %21
%45 = select i1 %43, i64 %44, i64 %25
br label %46
46: ; preds = %40, %36
%47 = phi i64 [ 0, %36 ], [ %45, %40 ]
%48 = getelementptr inbounds i8, ptr %37, i64 8
store i64 %47, ptr %37, align 8, !tbaa !6
br label %49
49: ; preds = %16, %46
%50 = phi ptr [ %48, %46 ], [ %19, %16 ]
%51 = phi i64 [ %38, %46 ], [ %17, %16 ]
%52 = add nuw i64 %18, 1
%53 = icmp eq i64 %52, %4
br i1 %53, label %54, label %16, !llvm.loop !10
54: ; preds = %49, %11
br i1 %8, label %55, label %57
55: ; preds = %54
%56 = tail call i32 @getCounts(ptr noundef %0, ptr noundef %2, i64 noundef %4, i64 noundef %5, i64 noundef %6) #2
br label %57
57: ; preds = %55, %54
%58 = tail call i32 @getBuckets(ptr noundef %2, ptr noundef %3, i64 noundef %5, i32 noundef 1) #2
%59 = ptrtoint ptr %1 to i64
br label %60
60: ; preds = %97, %57
%61 = phi ptr [ null, %57 ], [ %98, %97 ]
%62 = phi i64 [ %4, %57 ], [ %66, %97 ]
%63 = phi i64 [ -1, %57 ], [ %84, %97 ]
br label %64
64: ; preds = %60, %99
%65 = phi i64 [ %66, %99 ], [ %62, %60 ]
%66 = add i64 %65, -1
%67 = getelementptr inbounds i64, ptr %1, i64 %66
%68 = load i64, ptr %67, align 8, !tbaa !6
%69 = icmp eq i64 %68, 0
br i1 %69, label %99, label %70
70: ; preds = %64
%71 = add i64 %68, -1
%72 = tail call i64 @chr(i64 noundef %71) #2
%73 = icmp eq i64 %72, %63
br i1 %73, label %82, label %74
74: ; preds = %70
%75 = ptrtoint ptr %61 to i64
%76 = sub i64 %75, %59
%77 = ashr exact i64 %76, 3
%78 = getelementptr inbounds i64, ptr %3, i64 %63
store i64 %77, ptr %78, align 8, !tbaa !6
%79 = getelementptr inbounds i64, ptr %3, i64 %72
%80 = load i64, ptr %79, align 8, !tbaa !6
%81 = getelementptr inbounds i64, ptr %1, i64 %80
br label %82
82: ; preds = %74, %70
%83 = phi ptr [ %81, %74 ], [ %61, %70 ]
%84 = phi i64 [ %72, %74 ], [ %63, %70 ]
%85 = icmp eq i64 %72, 0
br i1 %85, label %97, label %86
86: ; preds = %82
%87 = icmp eq i64 %71, 0
br i1 %87, label %92, label %88
88: ; preds = %86
%89 = add i64 %68, -2
%90 = tail call i64 @chr(i64 noundef %89) #2
%91 = icmp ugt i64 %90, %84
br i1 %91, label %92, label %94
92: ; preds = %88, %86
%93 = sub i64 0, %68
br label %94
94: ; preds = %88, %92
%95 = phi i64 [ %93, %92 ], [ %71, %88 ]
%96 = getelementptr inbounds i8, ptr %83, i64 -8
store i64 %95, ptr %96, align 8, !tbaa !6
br label %97
97: ; preds = %94, %82
%98 = phi ptr [ %83, %82 ], [ %96, %94 ]
br label %60, !llvm.loop !12
99: ; preds = %64
store i64 -1, ptr %67, align 8, !tbaa !6
br label %64, !llvm.loop !12
}
declare i32 @getCounts(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @getBuckets(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @chr(i64 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
| h2o_deps_klib_extr_ksa.c_induceSA |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ctld/extr_pdu.c_pdu_data_segment_length.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ctld/extr_pdu.c_pdu_data_segment_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 @pdu_data_segment_length], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @pdu_data_segment_length(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = getelementptr inbounds i64, ptr %3, i64 1
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = shl i64 %4, 16
%8 = shl i64 %6, 8
%9 = add i64 %8, %7
%10 = getelementptr inbounds i64, ptr %3, i64 2
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = add i64 %9, %11
%13 = trunc i64 %12 to i32
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pdu", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/ctld/extr_pdu.c_pdu_data_segment_length.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ctld/extr_pdu.c_pdu_data_segment_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 @pdu_data_segment_length], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @pdu_data_segment_length(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i64, ptr %3, align 8, !tbaa !13
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = shl i64 %4, 16
%8 = shl i64 %6, 8
%9 = add i64 %8, %7
%10 = getelementptr inbounds i8, ptr %3, i64 16
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = add i64 %9, %11
%13 = trunc i64 %12 to i32
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pdu", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
| freebsd_usr.sbin_ctld_extr_pdu.c_pdu_data_segment_length |
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_drop.c_DROP_execute.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_drop.c_DROP_execute.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@.str = private unnamed_addr constant [7 x i8] c"%p %p\0A\00", align 1
@ERROR_FUNCTION_FAILED = dso_local local_unnamed_addr global i64 0, align 8
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @DROP_execute], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @DROP_execute(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = load i64, ptr @ERROR_FUNCTION_FAILED, align 8, !tbaa !10
br label %20
8: ; preds = %2
%9 = load ptr, ptr %4, align 8, !tbaa !12
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = tail call i64 %10(ptr noundef nonnull %4, ptr noundef %1) #2
%12 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !10
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %8
%15 = load ptr, ptr %0, align 8, !tbaa !5
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = tail call i64 %18(ptr noundef nonnull %15) #2
br label %20
20: ; preds = %8, %14, %6
%21 = phi i64 [ %19, %14 ], [ %7, %6 ], [ %11, %8 ]
ret i64 %21
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_8__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_6__", !7, i64 0, !7, i64 8}
!16 = !{!15, !7, i64 8}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_drop.c_DROP_execute.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_drop.c_DROP_execute.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 [7 x i8] c"%p %p\0A\00", align 1
@ERROR_FUNCTION_FAILED = common local_unnamed_addr global i64 0, align 8
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @DROP_execute], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @DROP_execute(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = load i64, ptr @ERROR_FUNCTION_FAILED, align 8, !tbaa !11
br label %20
8: ; preds = %2
%9 = load ptr, ptr %4, align 8, !tbaa !13
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = tail call i64 %10(ptr noundef nonnull %4, ptr noundef %1) #2
%12 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %8
%15 = load ptr, ptr %0, align 8, !tbaa !6
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = tail call i64 %18(ptr noundef nonnull %15) #2
br label %20
20: ; preds = %8, %14, %6
%21 = phi i64 [ %19, %14 ], [ %7, %6 ], [ %11, %8 ]
ret i64 %21
}
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !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, !8, i64 0}
!14 = !{!"TYPE_8__", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_6__", !8, i64 0, !8, i64 8}
!17 = !{!16, !8, i64 8}
| reactos_dll_win32_msi_extr_drop.c_DROP_execute |
; ModuleID = 'AnghaBench/disque/src/extr_queue.c_qscanCommand.c'
source_filename = "AnghaBench/disque/src/extr_queue.c_qscanCommand.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32 }
%struct.TYPE_15__ = type { i32 }
%struct.qscanFilter = type { i32, i32, i32, i64, i64, i64 }
%struct.TYPE_13__ = type { i32, ptr }
@QSCAN_DEFAULT_COUNT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"count\00", align 1
@C_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"busyloop\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"minlen\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"maxlen\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"importrate\00", align 1
@shared = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 4
@C_ERR = dso_local local_unnamed_addr global i64 0, align 8
@server = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 4
@qscanCallback = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @qscanCommand(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.qscanFilter, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca [2 x ptr], align 16
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #5
%6 = getelementptr inbounds i8, ptr %2, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, i8 0, i64 32, i1 false)
store i32 -1, ptr %2, align 8
%7 = getelementptr inbounds %struct.qscanFilter, ptr %2, i64 0, i32 1
store i32 -1, ptr %7, align 4
%8 = getelementptr inbounds %struct.qscanFilter, ptr %2, i64 0, i32 2
store i32 -1, ptr %8, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
%9 = load i64, ptr @QSCAN_DEFAULT_COUNT, align 8, !tbaa !5
store i64 %9, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
store i64 0, ptr %4, align 8, !tbaa !5
%10 = load i32, ptr %0, align 8, !tbaa !9
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %94
12: ; preds = %1
%13 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%14 = getelementptr inbounds %struct.qscanFilter, ptr %2, i64 0, i32 5
%15 = getelementptr inbounds %struct.qscanFilter, ptr %2, i64 0, i32 4
%16 = getelementptr inbounds %struct.qscanFilter, ptr %2, i64 0, i32 3
br label %17
17: ; preds = %12, %84
%18 = phi i32 [ %10, %12 ], [ %89, %84 ]
%19 = phi i32 [ 0, %12 ], [ %87, %84 ]
%20 = phi i32 [ 0, %12 ], [ %86, %84 ]
%21 = phi i32 [ 1, %12 ], [ %88, %84 ]
%22 = add nsw i32 %21, 1
%23 = load ptr, ptr %13, align 8, !tbaa !13
%24 = sext i32 %21 to i64
%25 = getelementptr inbounds ptr, ptr %23, i64 %24
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = call i32 @strcasecmp(ptr noundef %27, ptr noundef nonnull @.str)
%29 = icmp eq i32 %28, 0
%30 = icmp ne i32 %18, %22
%31 = and i1 %30, %29
br i1 %31, label %32, label %39
32: ; preds = %17
%33 = sext i32 %22 to i64
%34 = getelementptr inbounds ptr, ptr %23, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !14
%36 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %35, ptr noundef nonnull %3, ptr noundef null) #5
%37 = load i64, ptr @C_OK, align 8, !tbaa !5
%38 = icmp eq i64 %36, %37
br i1 %38, label %84, label %136
39: ; preds = %17
%40 = call i32 @strcasecmp(ptr noundef %27, ptr noundef nonnull @.str.1)
%41 = icmp eq i32 %40, 0
br i1 %41, label %84, label %42
42: ; preds = %39
%43 = call i32 @strcasecmp(ptr noundef %27, ptr noundef nonnull @.str.2)
%44 = icmp eq i32 %43, 0
%45 = and i1 %30, %44
br i1 %45, label %46, label %53
46: ; preds = %42
%47 = sext i32 %22 to i64
%48 = getelementptr inbounds ptr, ptr %23, i64 %47
%49 = load ptr, ptr %48, align 8, !tbaa !14
%50 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %49, ptr noundef nonnull %16, ptr noundef null) #5
%51 = load i64, ptr @C_OK, align 8, !tbaa !5
%52 = icmp eq i64 %50, %51
br i1 %52, label %84, label %136
53: ; preds = %42
%54 = call i32 @strcasecmp(ptr noundef %27, ptr noundef nonnull @.str.3)
%55 = icmp eq i32 %54, 0
%56 = and i1 %30, %55
br i1 %56, label %57, label %64
57: ; preds = %53
%58 = sext i32 %22 to i64
%59 = getelementptr inbounds ptr, ptr %23, i64 %58
%60 = load ptr, ptr %59, align 8, !tbaa !14
%61 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %60, ptr noundef nonnull %15, ptr noundef null) #5
%62 = load i64, ptr @C_OK, align 8, !tbaa !5
%63 = icmp eq i64 %61, %62
br i1 %63, label %84, label %136
64: ; preds = %53
%65 = call i32 @strcasecmp(ptr noundef %27, ptr noundef nonnull @.str.4)
%66 = icmp eq i32 %65, 0
%67 = and i1 %30, %66
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = sext i32 %22 to i64
%70 = getelementptr inbounds ptr, ptr %23, i64 %69
%71 = load ptr, ptr %70, align 8, !tbaa !14
%72 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %71, ptr noundef nonnull %14, ptr noundef null) #5
%73 = load i64, ptr @C_OK, align 8, !tbaa !5
%74 = icmp eq i64 %72, %73
br i1 %74, label %84, label %136
75: ; preds = %64
%76 = icmp eq i32 %20, 0
br i1 %76, label %80, label %77
77: ; preds = %75
%78 = load i32, ptr @shared, align 4, !tbaa !17
%79 = call i32 @addReply(ptr noundef nonnull %0, i32 noundef %78) #5
br label %136
80: ; preds = %75
%81 = call i64 @parseScanCursorOrReply(ptr noundef nonnull %0, ptr noundef nonnull %26, ptr noundef nonnull %4) #5
%82 = load i64, ptr @C_ERR, align 8, !tbaa !5
%83 = icmp eq i64 %81, %82
br i1 %83, label %136, label %84
84: ; preds = %80, %68, %57, %46, %39, %32
%85 = phi i32 [ %22, %32 ], [ %21, %39 ], [ %22, %46 ], [ %22, %57 ], [ %22, %68 ], [ %21, %80 ]
%86 = phi i32 [ %20, %32 ], [ %20, %39 ], [ %20, %46 ], [ %20, %57 ], [ %20, %68 ], [ 1, %80 ]
%87 = phi i32 [ %19, %32 ], [ 1, %39 ], [ %19, %46 ], [ %19, %57 ], [ %19, %68 ], [ %19, %80 ]
%88 = add nsw i32 %85, 1
%89 = load i32, ptr %0, align 8, !tbaa !9
%90 = icmp slt i32 %88, %89
br i1 %90, label %17, label %91, !llvm.loop !19
91: ; preds = %84
%92 = load i64, ptr %3, align 8, !tbaa !5
%93 = icmp eq i32 %87, 0
br label %94
94: ; preds = %91, %1
%95 = phi i64 [ %9, %1 ], [ %92, %91 ]
%96 = phi i1 [ true, %1 ], [ %93, %91 ]
%97 = mul nsw i64 %95, 10
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
%98 = call ptr (...) @listCreate() #5
store ptr %98, ptr %5, align 16, !tbaa !14
%99 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 1
store ptr %2, ptr %99, align 8, !tbaa !14
br label %100
100: ; preds = %112, %94
%101 = phi i64 [ %113, %112 ], [ %97, %94 ]
%102 = load i64, ptr %4, align 8, !tbaa !5
br label %103
103: ; preds = %100, %109
%104 = phi i64 [ %102, %100 ], [ %107, %109 ]
%105 = load i32, ptr @server, align 4, !tbaa !21
%106 = load i32, ptr @qscanCallback, align 4, !tbaa !23
%107 = call i64 @dictScan(i32 noundef %105, i64 noundef %104, i32 noundef %106, ptr noundef nonnull %5) #5
store i64 %107, ptr %4, align 8, !tbaa !5
%108 = icmp eq i64 %107, 0
br i1 %108, label %118, label %109
109: ; preds = %103
br i1 %96, label %110, label %103
110: ; preds = %109
%111 = icmp eq i64 %101, 0
br i1 %111, label %118, label %112
112: ; preds = %110
%113 = add nsw i64 %101, -1
%114 = call i32 @listLength(ptr noundef %98) #5
%115 = sext i32 %114 to i64
%116 = load i64, ptr %3, align 8, !tbaa !5
%117 = icmp ugt i64 %116, %115
br i1 %117, label %100, label %118, !llvm.loop !24
118: ; preds = %110, %112, %103
%119 = call i32 @addReplyMultiBulkLen(ptr noundef nonnull %0, i32 noundef 2) #5
%120 = load i64, ptr %4, align 8, !tbaa !5
%121 = call i32 @addReplyBulkLongLong(ptr noundef nonnull %0, i64 noundef %120) #5
%122 = call i32 @listLength(ptr noundef %98) #5
%123 = call i32 @addReplyMultiBulkLen(ptr noundef nonnull %0, i32 noundef %122) #5
%124 = call ptr @listFirst(ptr noundef %98) #5
%125 = icmp eq ptr %124, null
br i1 %125, label %134, label %126
126: ; preds = %118, %126
%127 = phi ptr [ %132, %126 ], [ %124, %118 ]
%128 = call ptr @listNodeValue(ptr noundef nonnull %127) #5
%129 = call i32 @addReplyBulk(ptr noundef nonnull %0, ptr noundef %128) #5
%130 = call i32 @decrRefCount(ptr noundef %128) #5
%131 = call i32 @listDelNode(ptr noundef %98, ptr noundef nonnull %127) #5
%132 = call ptr @listFirst(ptr noundef %98) #5
%133 = icmp eq ptr %132, null
br i1 %133, label %134, label %126, !llvm.loop !25
134: ; preds = %126, %118
%135 = call i32 @listRelease(ptr noundef %98) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
br label %136
136: ; preds = %80, %68, %57, %46, %32, %77, %134
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @getLongFromObjectOrReply(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @addReply(ptr noundef, i32 noundef) local_unnamed_addr #4
declare i64 @parseScanCursorOrReply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @listCreate(...) local_unnamed_addr #4
declare i64 @dictScan(i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4
declare i32 @listLength(ptr noundef) local_unnamed_addr #4
declare i32 @addReplyMultiBulkLen(ptr noundef, i32 noundef) local_unnamed_addr #4
declare i32 @addReplyBulkLongLong(ptr noundef, i64 noundef) local_unnamed_addr #4
declare ptr @listFirst(ptr noundef) local_unnamed_addr #4
declare ptr @listNodeValue(ptr noundef) local_unnamed_addr #4
declare i32 @addReplyBulk(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @decrRefCount(ptr noundef) local_unnamed_addr #4
declare i32 @listDelNode(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @listRelease(ptr noundef) local_unnamed_addr #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_13__", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_16__", !12, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_14__", !11, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_15__", !11, i64 0}
!23 = !{!11, !11, i64 0}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
| ; ModuleID = 'AnghaBench/disque/src/extr_queue.c_qscanCommand.c'
source_filename = "AnghaBench/disque/src/extr_queue.c_qscanCommand.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_15__ = type { i32 }
%struct.qscanFilter = type { i32, i32, i32, i64, i64, i64 }
@QSCAN_DEFAULT_COUNT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"count\00", align 1
@C_OK = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"busyloop\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"minlen\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"maxlen\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"importrate\00", align 1
@shared = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 4
@C_ERR = common local_unnamed_addr global i64 0, align 8
@server = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 4
@qscanCallback = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @qscanCommand(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.qscanFilter, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca [2 x ptr], align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #5
%6 = getelementptr inbounds i8, ptr %2, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, i8 0, i64 32, i1 false)
store <2 x i32> <i32 -1, i32 -1>, ptr %2, align 8
store i32 -1, ptr %6, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
%7 = load i64, ptr @QSCAN_DEFAULT_COUNT, align 8, !tbaa !6
store i64 %7, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
store i64 0, ptr %4, align 8, !tbaa !6
%8 = load i32, ptr %0, align 8, !tbaa !10
%9 = icmp sgt i32 %8, 1
br i1 %9, label %10, label %92
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = getelementptr inbounds i8, ptr %2, i64 32
%13 = getelementptr inbounds i8, ptr %2, i64 24
%14 = getelementptr inbounds i8, ptr %2, i64 16
br label %15
15: ; preds = %10, %82
%16 = phi i32 [ %8, %10 ], [ %87, %82 ]
%17 = phi i32 [ 0, %10 ], [ %85, %82 ]
%18 = phi i32 [ 0, %10 ], [ %84, %82 ]
%19 = phi i32 [ 1, %10 ], [ %86, %82 ]
%20 = add nsw i32 %19, 1
%21 = load ptr, ptr %11, align 8, !tbaa !14
%22 = sext i32 %19 to i64
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8, !tbaa !15
%25 = load ptr, ptr %24, align 8, !tbaa !16
%26 = call i32 @strcasecmp(ptr noundef %25, ptr noundef nonnull @.str)
%27 = icmp eq i32 %26, 0
%28 = icmp ne i32 %16, %20
%29 = and i1 %28, %27
br i1 %29, label %30, label %37
30: ; preds = %15
%31 = sext i32 %20 to i64
%32 = getelementptr inbounds ptr, ptr %21, i64 %31
%33 = load ptr, ptr %32, align 8, !tbaa !15
%34 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %33, ptr noundef nonnull %3, ptr noundef null) #5
%35 = load i64, ptr @C_OK, align 8, !tbaa !6
%36 = icmp eq i64 %34, %35
br i1 %36, label %82, label %134
37: ; preds = %15
%38 = call i32 @strcasecmp(ptr noundef %25, ptr noundef nonnull @.str.1)
%39 = icmp eq i32 %38, 0
br i1 %39, label %82, label %40
40: ; preds = %37
%41 = call i32 @strcasecmp(ptr noundef %25, ptr noundef nonnull @.str.2)
%42 = icmp eq i32 %41, 0
%43 = and i1 %28, %42
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = sext i32 %20 to i64
%46 = getelementptr inbounds ptr, ptr %21, i64 %45
%47 = load ptr, ptr %46, align 8, !tbaa !15
%48 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %47, ptr noundef nonnull %14, ptr noundef null) #5
%49 = load i64, ptr @C_OK, align 8, !tbaa !6
%50 = icmp eq i64 %48, %49
br i1 %50, label %82, label %134
51: ; preds = %40
%52 = call i32 @strcasecmp(ptr noundef %25, ptr noundef nonnull @.str.3)
%53 = icmp eq i32 %52, 0
%54 = and i1 %28, %53
br i1 %54, label %55, label %62
55: ; preds = %51
%56 = sext i32 %20 to i64
%57 = getelementptr inbounds ptr, ptr %21, i64 %56
%58 = load ptr, ptr %57, align 8, !tbaa !15
%59 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %58, ptr noundef nonnull %13, ptr noundef null) #5
%60 = load i64, ptr @C_OK, align 8, !tbaa !6
%61 = icmp eq i64 %59, %60
br i1 %61, label %82, label %134
62: ; preds = %51
%63 = call i32 @strcasecmp(ptr noundef %25, ptr noundef nonnull @.str.4)
%64 = icmp eq i32 %63, 0
%65 = and i1 %28, %64
br i1 %65, label %66, label %73
66: ; preds = %62
%67 = sext i32 %20 to i64
%68 = getelementptr inbounds ptr, ptr %21, i64 %67
%69 = load ptr, ptr %68, align 8, !tbaa !15
%70 = call i64 @getLongFromObjectOrReply(ptr noundef nonnull %0, ptr noundef %69, ptr noundef nonnull %12, ptr noundef null) #5
%71 = load i64, ptr @C_OK, align 8, !tbaa !6
%72 = icmp eq i64 %70, %71
br i1 %72, label %82, label %134
73: ; preds = %62
%74 = icmp eq i32 %18, 0
br i1 %74, label %78, label %75
75: ; preds = %73
%76 = load i32, ptr @shared, align 4, !tbaa !18
%77 = call i32 @addReply(ptr noundef nonnull %0, i32 noundef %76) #5
br label %134
78: ; preds = %73
%79 = call i64 @parseScanCursorOrReply(ptr noundef nonnull %0, ptr noundef nonnull %24, ptr noundef nonnull %4) #5
%80 = load i64, ptr @C_ERR, align 8, !tbaa !6
%81 = icmp eq i64 %79, %80
br i1 %81, label %134, label %82
82: ; preds = %78, %66, %55, %44, %37, %30
%83 = phi i32 [ %20, %30 ], [ %19, %37 ], [ %20, %44 ], [ %20, %55 ], [ %20, %66 ], [ %19, %78 ]
%84 = phi i32 [ %18, %30 ], [ %18, %37 ], [ %18, %44 ], [ %18, %55 ], [ %18, %66 ], [ 1, %78 ]
%85 = phi i32 [ %17, %30 ], [ 1, %37 ], [ %17, %44 ], [ %17, %55 ], [ %17, %66 ], [ %17, %78 ]
%86 = add nsw i32 %83, 1
%87 = load i32, ptr %0, align 8, !tbaa !10
%88 = icmp slt i32 %86, %87
br i1 %88, label %15, label %89, !llvm.loop !20
89: ; preds = %82
%90 = load i64, ptr %3, align 8, !tbaa !6
%91 = icmp eq i32 %85, 0
br label %92
92: ; preds = %89, %1
%93 = phi i64 [ %7, %1 ], [ %90, %89 ]
%94 = phi i1 [ true, %1 ], [ %91, %89 ]
%95 = mul nsw i64 %93, 10
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
%96 = call ptr @listCreate() #5
store ptr %96, ptr %5, align 8, !tbaa !15
%97 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %2, ptr %97, align 8, !tbaa !15
br label %98
98: ; preds = %110, %92
%99 = phi i64 [ %111, %110 ], [ %95, %92 ]
%100 = load i64, ptr %4, align 8, !tbaa !6
br label %101
101: ; preds = %98, %107
%102 = phi i64 [ %100, %98 ], [ %105, %107 ]
%103 = load i32, ptr @server, align 4, !tbaa !22
%104 = load i32, ptr @qscanCallback, align 4, !tbaa !24
%105 = call i64 @dictScan(i32 noundef %103, i64 noundef %102, i32 noundef %104, ptr noundef nonnull %5) #5
store i64 %105, ptr %4, align 8, !tbaa !6
%106 = icmp eq i64 %105, 0
br i1 %106, label %116, label %107
107: ; preds = %101
br i1 %94, label %108, label %101
108: ; preds = %107
%109 = icmp eq i64 %99, 0
br i1 %109, label %116, label %110
110: ; preds = %108
%111 = add nsw i64 %99, -1
%112 = call i32 @listLength(ptr noundef %96) #5
%113 = sext i32 %112 to i64
%114 = load i64, ptr %3, align 8, !tbaa !6
%115 = icmp ugt i64 %114, %113
br i1 %115, label %98, label %116, !llvm.loop !25
116: ; preds = %108, %110, %101
%117 = call i32 @addReplyMultiBulkLen(ptr noundef nonnull %0, i32 noundef 2) #5
%118 = load i64, ptr %4, align 8, !tbaa !6
%119 = call i32 @addReplyBulkLongLong(ptr noundef nonnull %0, i64 noundef %118) #5
%120 = call i32 @listLength(ptr noundef %96) #5
%121 = call i32 @addReplyMultiBulkLen(ptr noundef nonnull %0, i32 noundef %120) #5
%122 = call ptr @listFirst(ptr noundef %96) #5
%123 = icmp eq ptr %122, null
br i1 %123, label %132, label %124
124: ; preds = %116, %124
%125 = phi ptr [ %130, %124 ], [ %122, %116 ]
%126 = call ptr @listNodeValue(ptr noundef nonnull %125) #5
%127 = call i32 @addReplyBulk(ptr noundef nonnull %0, ptr noundef %126) #5
%128 = call i32 @decrRefCount(ptr noundef %126) #5
%129 = call i32 @listDelNode(ptr noundef %96, ptr noundef nonnull %125) #5
%130 = call ptr @listFirst(ptr noundef %96) #5
%131 = icmp eq ptr %130, null
br i1 %131, label %132, label %124, !llvm.loop !26
132: ; preds = %124, %116
%133 = call i32 @listRelease(ptr noundef %96) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
br label %134
134: ; preds = %78, %66, %55, %44, %30, %75, %132
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @getLongFromObjectOrReply(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @addReply(ptr noundef, i32 noundef) local_unnamed_addr #4
declare i64 @parseScanCursorOrReply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @listCreate(...) local_unnamed_addr #4
declare i64 @dictScan(i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4
declare i32 @listLength(ptr noundef) local_unnamed_addr #4
declare i32 @addReplyMultiBulkLen(ptr noundef, i32 noundef) local_unnamed_addr #4
declare i32 @addReplyBulkLongLong(ptr noundef, i64 noundef) local_unnamed_addr #4
declare ptr @listFirst(ptr noundef) local_unnamed_addr #4
declare ptr @listNodeValue(ptr noundef) local_unnamed_addr #4
declare i32 @addReplyBulk(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @decrRefCount(ptr noundef) local_unnamed_addr #4
declare i32 @listDelNode(ptr noundef, ptr noundef) local_unnamed_addr #4
declare i32 @listRelease(ptr noundef) local_unnamed_addr #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_13__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_16__", !13, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_14__", !12, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !12, i64 0}
!23 = !{!"TYPE_15__", !12, i64 0}
!24 = !{!12, !12, i64 0}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
| disque_src_extr_queue.c_qscanCommand |
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_wwdg.c_WWDG_DeInit.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_wwdg.c_WWDG_DeInit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RCC_APB1Periph_WWDG = dso_local local_unnamed_addr global i32 0, align 4
@ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@DISABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @WWDG_DeInit() local_unnamed_addr #0 {
%1 = load i32, ptr @RCC_APB1Periph_WWDG, align 4, !tbaa !5
%2 = load i32, ptr @ENABLE, align 4, !tbaa !5
%3 = tail call i32 @RCC_APB1PeriphResetCmd(i32 noundef %1, i32 noundef %2) #2
%4 = load i32, ptr @RCC_APB1Periph_WWDG, align 4, !tbaa !5
%5 = load i32, ptr @DISABLE, align 4, !tbaa !5
%6 = tail call i32 @RCC_APB1PeriphResetCmd(i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @RCC_APB1PeriphResetCmd(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_wwdg.c_WWDG_DeInit.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_wwdg.c_WWDG_DeInit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCC_APB1Periph_WWDG = common local_unnamed_addr global i32 0, align 4
@ENABLE = common local_unnamed_addr global i32 0, align 4
@DISABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @WWDG_DeInit() local_unnamed_addr #0 {
%1 = load i32, ptr @RCC_APB1Periph_WWDG, align 4, !tbaa !6
%2 = load i32, ptr @ENABLE, align 4, !tbaa !6
%3 = tail call i32 @RCC_APB1PeriphResetCmd(i32 noundef %1, i32 noundef %2) #2
%4 = load i32, ptr @RCC_APB1Periph_WWDG, align 4, !tbaa !6
%5 = load i32, ptr @DISABLE, align 4, !tbaa !6
%6 = tail call i32 @RCC_APB1PeriphResetCmd(i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @RCC_APB1PeriphResetCmd(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"}
| anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_wwdg.c_WWDG_DeInit |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/mfiutil/extr_mfi_bbu.c_mfi_next_learn_time.c'
source_filename = "AnghaBench/freebsd/usr.sbin/mfiutil/extr_mfi_bbu.c_mfi_next_learn_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.tm = type { i32 }
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @mfi_next_learn_time(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca %struct.tm, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
store i32 100, ptr %5, align 4, !tbaa !5
%7 = call i64 @timegm(ptr noundef nonnull %5) #3
%8 = add nsw i64 %7, %0
store i64 %8, ptr %4, align 8, !tbaa !10
%9 = call ptr @ctime(ptr noundef nonnull %4) #3
%10 = call i64 @snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, ptr noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = getelementptr i8, ptr %1, i64 %10
%14 = getelementptr i8, ptr %13, i64 -1
store i8 0, ptr %14, align 1, !tbaa !12
br label %15
15: ; preds = %12, %3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @timegm(ptr noundef) local_unnamed_addr #2
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @ctime(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tm", !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 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/mfiutil/extr_mfi_bbu.c_mfi_next_learn_time.c'
source_filename = "AnghaBench/freebsd/usr.sbin/mfiutil/extr_mfi_bbu.c_mfi_next_learn_time.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tm = type { i32 }
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @mfi_next_learn_time(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca %struct.tm, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
store i32 100, ptr %5, align 4, !tbaa !6
%7 = call i64 @timegm(ptr noundef nonnull %5) #3
%8 = add nsw i64 %7, %0
store i64 %8, ptr %4, align 8, !tbaa !11
%9 = call ptr @ctime(ptr noundef nonnull %4) #3
%10 = call i64 @snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, ptr noundef %9) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = getelementptr i8, ptr %1, i64 %10
%14 = getelementptr i8, ptr %13, i64 -1
store i8 0, ptr %14, align 1, !tbaa !13
br label %15
15: ; preds = %12, %3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @timegm(ptr noundef) local_unnamed_addr #2
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @ctime(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tm", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!9, !9, i64 0}
| freebsd_usr.sbin_mfiutil_extr_mfi_bbu.c_mfi_next_learn_time |
; ModuleID = 'AnghaBench/RetroArch/deps/miniupnpc/extr_minissdpc.c_disconnectFromMiniSSDPD.c'
source_filename = "AnghaBench/RetroArch/deps/miniupnpc/extr_minissdpc.c_disconnectFromMiniSSDPD.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MINISSDPC_SOCKET_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@MINISSDPC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @disconnectFromMiniSSDPD(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @close(i32 noundef %0) #2
%3 = icmp slt i64 %2, 0
%4 = load i32, ptr @MINISSDPC_SOCKET_ERROR, align 4
%5 = load i32, ptr @MINISSDPC_SUCCESS, align 4
%6 = select i1 %3, i32 %4, i32 %5
ret i32 %6
}
declare i64 @close(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/RetroArch/deps/miniupnpc/extr_minissdpc.c_disconnectFromMiniSSDPD.c'
source_filename = "AnghaBench/RetroArch/deps/miniupnpc/extr_minissdpc.c_disconnectFromMiniSSDPD.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MINISSDPC_SOCKET_ERROR = common local_unnamed_addr global i32 0, align 4
@MINISSDPC_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @disconnectFromMiniSSDPD(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @close(i32 noundef %0) #2
%3 = icmp slt i64 %2, 0
%4 = load i32, ptr @MINISSDPC_SOCKET_ERROR, align 4
%5 = load i32, ptr @MINISSDPC_SUCCESS, align 4
%6 = select i1 %3, i32 %4, i32 %5
ret i32 %6
}
declare i64 @close(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)"}
| RetroArch_deps_miniupnpc_extr_minissdpc.c_disconnectFromMiniSSDPD |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream.c_trans_stream_trans_full.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream.c_trans_stream_trans_full.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.trans_stream_backend = type { ptr, ptr, ptr, ptr, ptr }
@TRANS_STREAM_ERROR_ALLOCATION_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @trans_stream_trans_full(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #2
%10 = icmp eq ptr %1, null
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load ptr, ptr %1, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %11, %7
%15 = getelementptr inbounds %struct.trans_stream_backend, ptr %0, i64 0, i32 4
%16 = load ptr, ptr %15, align 8, !tbaa !9
%17 = tail call ptr (...) %16() #2
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = icmp eq ptr %6, null
br i1 %20, label %38, label %21
21: ; preds = %19
%22 = load i32, ptr @TRANS_STREAM_ERROR_ALLOCATION_FAILURE, align 4, !tbaa !11
store i32 %22, ptr %6, align 4, !tbaa !11
br label %38
23: ; preds = %11, %14
%24 = phi ptr [ %17, %14 ], [ %12, %11 ]
%25 = getelementptr inbounds %struct.trans_stream_backend, ptr %0, i64 0, i32 3
%26 = load ptr, ptr %25, align 8, !tbaa !13
%27 = tail call i32 %26(ptr noundef nonnull %24, ptr noundef %2, i32 noundef %3) #2
%28 = getelementptr inbounds %struct.trans_stream_backend, ptr %0, i64 0, i32 2
%29 = load ptr, ptr %28, align 8, !tbaa !14
%30 = tail call i32 %29(ptr noundef nonnull %24, ptr noundef %4, i32 noundef %5) #2
%31 = load ptr, ptr %0, align 8, !tbaa !15
%32 = call i32 %31(ptr noundef nonnull %24, i32 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %6) #2
br i1 %10, label %34, label %33
33: ; preds = %23
store ptr %24, ptr %1, align 8, !tbaa !5
br label %38
34: ; preds = %23
%35 = getelementptr inbounds %struct.trans_stream_backend, ptr %0, i64 0, i32 1
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = call i32 %36(ptr noundef nonnull %24) #2
br label %38
38: ; preds = %33, %34, %19, %21
%39 = phi i32 [ 0, %21 ], [ 0, %19 ], [ %32, %34 ], [ %32, %33 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #2
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 32}
!10 = !{!"trans_stream_backend", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !6, i64 24}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream.c_trans_stream_trans_full.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonstreamstrans_stream.c_trans_stream_trans_full.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRANS_STREAM_ERROR_ALLOCATION_FAILURE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @trans_stream_trans_full(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #2
%10 = icmp eq ptr %1, null
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load ptr, ptr %1, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %11, %7
%15 = getelementptr inbounds i8, ptr %0, i64 32
%16 = load ptr, ptr %15, align 8, !tbaa !10
%17 = tail call ptr %16() #2
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = icmp eq ptr %6, null
br i1 %20, label %38, label %21
21: ; preds = %19
%22 = load i32, ptr @TRANS_STREAM_ERROR_ALLOCATION_FAILURE, align 4, !tbaa !12
store i32 %22, ptr %6, align 4, !tbaa !12
br label %38
23: ; preds = %11, %14
%24 = phi ptr [ %17, %14 ], [ %12, %11 ]
%25 = getelementptr inbounds i8, ptr %0, i64 24
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = tail call i32 %26(ptr noundef nonnull %24, ptr noundef %2, i32 noundef %3) #2
%28 = getelementptr inbounds i8, ptr %0, i64 16
%29 = load ptr, ptr %28, align 8, !tbaa !15
%30 = tail call i32 %29(ptr noundef nonnull %24, ptr noundef %4, i32 noundef %5) #2
%31 = load ptr, ptr %0, align 8, !tbaa !16
%32 = call i32 %31(ptr noundef nonnull %24, i32 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %6) #2
br i1 %10, label %34, label %33
33: ; preds = %23
store ptr %24, ptr %1, align 8, !tbaa !6
br label %38
34: ; preds = %23
%35 = getelementptr inbounds i8, ptr %0, i64 8
%36 = load ptr, ptr %35, align 8, !tbaa !17
%37 = call i32 %36(ptr noundef nonnull %24) #2
br label %38
38: ; preds = %33, %34, %19, %21
%39 = phi i32 [ 0, %21 ], [ 0, %19 ], [ %32, %34 ], [ %32, %33 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #2
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 32}
!11 = !{!"trans_stream_backend", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !7, i64 24}
!15 = !{!11, !7, i64 16}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 8}
| RetroArch_griffin_extr_..libretro-commonstreamstrans_stream.c_trans_stream_trans_full |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_clear_caseopen.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_clear_caseopen.c"
target datalayout = "e-m:e-p270:32:32-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.w83627ehf_data = type { i32, i64 }
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@W83627EHF_REG_CASEOPEN_CLR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clear_caseopen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @clear_caseopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = call i64 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%8 = icmp ne i64 %7, 0
%9 = load i64, ptr %5, align 8
%10 = icmp ne i64 %9, 0
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !5
%14 = sub i64 0, %13
br label %30
15: ; preds = %4
%16 = call ptr @to_sensor_dev_attr_2(ptr noundef %1) #3
%17 = load i32, ptr %16, align 4, !tbaa !9
%18 = call i32 @mutex_lock(ptr noundef %6) #3
%19 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !12
%20 = call i32 @w83627ehf_read_value(ptr noundef %6, i32 noundef %19) #3
%21 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !12
%22 = or i32 %20, %17
%23 = call i32 @w83627ehf_write_value(ptr noundef %6, i32 noundef %21, i32 noundef %22) #3
%24 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !12
%25 = xor i32 %17, -1
%26 = and i32 %20, %25
%27 = call i32 @w83627ehf_write_value(ptr noundef %6, i32 noundef %24, i32 noundef %26) #3
%28 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 1
store i64 0, ptr %28, align 8, !tbaa !13
%29 = call i32 @mutex_unlock(ptr noundef %6) #3
br label %30
30: ; preds = %15, %12
%31 = phi i64 [ %14, %12 ], [ %3, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i64 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @w83627ehf_read_value(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_value(ptr 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"w83627ehf_data", !11, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_clear_caseopen.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_clear_caseopen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i64 0, align 8
@W83627EHF_REG_CASEOPEN_CLR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clear_caseopen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @clear_caseopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = call i64 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%8 = icmp ne i64 %7, 0
%9 = load i64, ptr %5, align 8
%10 = icmp ne i64 %9, 0
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !6
%14 = sub i64 0, %13
br label %30
15: ; preds = %4
%16 = call ptr @to_sensor_dev_attr_2(ptr noundef %1) #3
%17 = load i32, ptr %16, align 4, !tbaa !10
%18 = call i32 @mutex_lock(ptr noundef %6) #3
%19 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !13
%20 = call i32 @w83627ehf_read_value(ptr noundef %6, i32 noundef %19) #3
%21 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !13
%22 = or i32 %20, %17
%23 = call i32 @w83627ehf_write_value(ptr noundef %6, i32 noundef %21, i32 noundef %22) #3
%24 = load i32, ptr @W83627EHF_REG_CASEOPEN_CLR, align 4, !tbaa !13
%25 = xor i32 %17, -1
%26 = and i32 %20, %25
%27 = call i32 @w83627ehf_write_value(ptr noundef %6, i32 noundef %24, i32 noundef %26) #3
%28 = getelementptr inbounds i8, ptr %6, i64 8
store i64 0, ptr %28, align 8, !tbaa !14
%29 = call i32 @mutex_unlock(ptr noundef %6) #3
br label %30
30: ; preds = %15, %12
%31 = phi i64 [ %14, %12 ], [ %3, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i64 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @w83627ehf_read_value(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_value(ptr 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"w83627ehf_data", !12, i64 0, !7, i64 8}
| linux_drivers_hwmon_extr_w83627ehf.c_clear_caseopen |
; ModuleID = 'AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_wake_filter.c'
source_filename = "AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_wake_filter.c"
target datalayout = "e-m:e-p270:32:32-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.img_ir_priv_hw = type { i32, ptr }
%struct.img_ir_filter = type { i32 }
@RC_FILTER_WAKEUP = dso_local local_unnamed_addr global i64 0, align 8
@IMG_IR_F_WAKE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_img_ir_set_wake_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @_img_ir_set_wake_filter(ptr nocapture noundef %0, ptr noundef readonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = getelementptr inbounds %struct.img_ir_priv_hw, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr @RC_FILTER_WAKEUP, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.img_ir_filter, ptr %6, i64 %7
%9 = load i32, ptr %1, align 4, !tbaa !13
store i32 %9, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @IMG_IR_F_WAKE, align 4, !tbaa !13
%11 = load i32, ptr %0, align 8, !tbaa !14
%12 = or i32 %11, %10
br label %18
13: ; preds = %2
%14 = load i32, ptr @IMG_IR_F_WAKE, align 4, !tbaa !13
%15 = xor i32 %14, -1
%16 = load i32, ptr %0, align 8, !tbaa !14
%17 = and i32 %16, %15
br label %18
18: ; preds = %13, %4
%19 = phi i32 [ %17, %13 ], [ %12, %4 ]
store i32 %19, ptr %0, align 8, !tbaa !14
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"img_ir_priv_hw", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_wake_filter.c'
source_filename = "AnghaBench/linux/drivers/media/rc/img-ir/extr_img-ir-hw.c__img_ir_set_wake_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.img_ir_filter = type { i32 }
@RC_FILTER_WAKEUP = common local_unnamed_addr global i64 0, align 8
@IMG_IR_F_WAKE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_img_ir_set_wake_filter], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @_img_ir_set_wake_filter(ptr nocapture noundef %0, ptr noundef readonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %13, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr @RC_FILTER_WAKEUP, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.img_ir_filter, ptr %6, i64 %7
%9 = load i32, ptr %1, align 4, !tbaa !14
store i32 %9, ptr %8, align 4, !tbaa !14
%10 = load i32, ptr @IMG_IR_F_WAKE, align 4, !tbaa !14
%11 = load i32, ptr %0, align 8, !tbaa !15
%12 = or i32 %11, %10
br label %18
13: ; preds = %2
%14 = load i32, ptr @IMG_IR_F_WAKE, align 4, !tbaa !14
%15 = xor i32 %14, -1
%16 = load i32, ptr %0, align 8, !tbaa !15
%17 = and i32 %16, %15
br label %18
18: ; preds = %13, %4
%19 = phi i32 [ %17, %13 ], [ %12, %4 ]
store i32 %19, ptr %0, align 8, !tbaa !15
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"img_ir_priv_hw", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| linux_drivers_media_rc_img-ir_extr_img-ir-hw.c__img_ir_set_wake_filter |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_reps-strings.c_write_svndiff_strings.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_reps-strings.c_write_svndiff_strings.c"
target datalayout = "e-m:e-p270:32:32-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.write_svndiff_strings_baton = type { i32, i8, i32, ptr, ptr, i32 }
@SVN_ERR_FS_GENERAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Failed to get new string key\00", align 1
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_svndiff_strings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @write_svndiff_strings(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp slt i32 %4, 4
br i1 %5, label %6, label %19
6: ; preds = %3
%7 = sub nsw i32 4, %4
%8 = load i32, ptr %2, align 4, !tbaa !11
%9 = sub nsw i32 %8, %7
store i32 %9, ptr %2, align 4, !tbaa !11
%10 = zext nneg i32 %7 to i64
%11 = getelementptr inbounds i8, ptr %1, i64 %10
%12 = load i32, ptr %0, align 8, !tbaa !5
%13 = add nsw i32 %12, %7
store i32 %13, ptr %0, align 8, !tbaa !5
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %19
15: ; preds = %6
%16 = getelementptr inbounds i8, ptr %11, i64 -1
%17 = load i8, ptr %16, align 1, !tbaa !12
%18 = getelementptr inbounds %struct.write_svndiff_strings_baton, ptr %0, i64 0, i32 1
store i8 %17, ptr %18, align 4, !tbaa !13
br label %19
19: ; preds = %6, %15, %3
%20 = phi ptr [ %11, %15 ], [ %11, %6 ], [ %1, %3 ]
%21 = phi i32 [ %7, %15 ], [ %7, %6 ], [ 0, %3 ]
%22 = getelementptr inbounds %struct.write_svndiff_strings_baton, ptr %0, i64 0, i32 5
%23 = load i32, ptr %22, align 8, !tbaa !14
%24 = getelementptr inbounds %struct.write_svndiff_strings_baton, ptr %0, i64 0, i32 3
%25 = load i32, ptr %2, align 4, !tbaa !11
%26 = getelementptr inbounds %struct.write_svndiff_strings_baton, ptr %0, i64 0, i32 4
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @svn_fs_bdb__string_append(i32 noundef %23, ptr noundef nonnull %24, i32 noundef %25, ptr noundef %20, ptr noundef nonnull %27, i32 noundef %28) #2
%30 = tail call i32 @SVN_ERR(i32 noundef %29) #2
%31 = load ptr, ptr %24, align 8, !tbaa !18
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %37
33: ; preds = %19
%34 = load i32, ptr @SVN_ERR_FS_GENERAL, align 4, !tbaa !11
%35 = tail call i32 @_(ptr noundef nonnull @.str) #2
%36 = tail call ptr @svn_error_create(i32 noundef %34, ptr noundef null, i32 noundef %35) #2
br label %44
37: ; preds = %19
%38 = load i32, ptr %2, align 4, !tbaa !11
%39 = add nsw i32 %38, %21
store i32 %39, ptr %2, align 4, !tbaa !11
%40 = getelementptr inbounds %struct.write_svndiff_strings_baton, ptr %0, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !19
%42 = add nsw i32 %41, %39
store i32 %42, ptr %40, align 8, !tbaa !19
%43 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !20
br label %44
44: ; preds = %37, %33
%45 = phi ptr [ %36, %33 ], [ %43, %37 ]
ret ptr %45
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_bdb__string_append(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_(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 = !{!"write_svndiff_strings_baton", !7, i64 0, !8, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32}
!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 = !{!8, !8, i64 0}
!13 = !{!6, !8, i64 4}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !10, i64 24}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_2__", !7, i64 0}
!18 = !{!6, !10, i64 16}
!19 = !{!6, !7, i64 8}
!20 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_reps-strings.c_write_svndiff_strings.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_reps-strings.c_write_svndiff_strings.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_ERR_FS_GENERAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Failed to get new string key\00", align 1
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @write_svndiff_strings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @write_svndiff_strings(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp slt i32 %4, 4
br i1 %5, label %6, label %19
6: ; preds = %3
%7 = sub nsw i32 4, %4
%8 = load i32, ptr %2, align 4, !tbaa !12
%9 = sub nsw i32 %8, %7
store i32 %9, ptr %2, align 4, !tbaa !12
%10 = zext nneg i32 %7 to i64
%11 = getelementptr inbounds i8, ptr %1, i64 %10
%12 = load i32, ptr %0, align 8, !tbaa !6
%13 = add nsw i32 %12, %7
store i32 %13, ptr %0, align 8, !tbaa !6
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %19
15: ; preds = %6
%16 = getelementptr inbounds i8, ptr %11, i64 -1
%17 = load i8, ptr %16, align 1, !tbaa !13
%18 = getelementptr inbounds i8, ptr %0, i64 4
store i8 %17, ptr %18, align 4, !tbaa !14
br label %19
19: ; preds = %6, %15, %3
%20 = phi ptr [ %11, %15 ], [ %11, %6 ], [ %1, %3 ]
%21 = phi i32 [ %7, %15 ], [ %7, %6 ], [ 0, %3 ]
%22 = getelementptr inbounds i8, ptr %0, i64 32
%23 = load i32, ptr %22, align 8, !tbaa !15
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load i32, ptr %2, align 4, !tbaa !12
%26 = getelementptr inbounds i8, ptr %0, i64 24
%27 = load ptr, ptr %26, align 8, !tbaa !16
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = tail call i32 @svn_fs_bdb__string_append(i32 noundef %23, ptr noundef nonnull %24, i32 noundef %25, ptr noundef %20, ptr noundef nonnull %27, i32 noundef %28) #2
%30 = tail call i32 @SVN_ERR(i32 noundef %29) #2
%31 = load ptr, ptr %24, align 8, !tbaa !19
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %37
33: ; preds = %19
%34 = load i32, ptr @SVN_ERR_FS_GENERAL, align 4, !tbaa !12
%35 = tail call i32 @_(ptr noundef nonnull @.str) #2
%36 = tail call ptr @svn_error_create(i32 noundef %34, ptr noundef null, i32 noundef %35) #2
br label %44
37: ; preds = %19
%38 = load i32, ptr %2, align 4, !tbaa !12
%39 = add nsw i32 %38, %21
store i32 %39, ptr %2, align 4, !tbaa !12
%40 = getelementptr inbounds i8, ptr %0, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !20
%42 = add nsw i32 %41, %39
store i32 %42, ptr %40, align 8, !tbaa !20
%43 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !21
br label %44
44: ; preds = %37, %33
%45 = phi ptr [ %36, %33 ], [ %43, %37 ]
ret ptr %45
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_bdb__string_append(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_(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 = !{!"write_svndiff_strings_baton", !8, i64 0, !9, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !8, i64 32}
!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 = !{!9, !9, i64 0}
!14 = !{!7, !9, i64 4}
!15 = !{!7, !8, i64 32}
!16 = !{!7, !11, i64 24}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_2__", !8, i64 0}
!19 = !{!7, !11, i64 16}
!20 = !{!7, !8, i64 8}
!21 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_base_extr_reps-strings.c_write_svndiff_strings |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_ws2801.c_ws2801_byte.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_ws2801.c_ws2801_byte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GPIO_OUT_W1TS_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@ws2801_bit_data = dso_local local_unnamed_addr global i32 0, align 4
@GPIO_OUT_W1TC_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@ws2801_bit_clk = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ws2801_byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ws2801_byte(i32 noundef %0) #0 {
br label %2
2: ; preds = %1, %2
%3 = phi i32 [ 128, %1 ], [ %17, %2 ]
%4 = and i32 %3, %0
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @ws2801_bit_data, align 4, !tbaa !5
%7 = load i32, ptr @GPIO_OUT_W1TC_ADDRESS, align 4
%8 = load i32, ptr @GPIO_OUT_W1TS_ADDRESS, align 4
%9 = select i1 %5, i32 %7, i32 %8
%10 = tail call i32 @GPIO_REG_WRITE(i32 noundef %9, i32 noundef %6) #2
%11 = load i32, ptr @GPIO_OUT_W1TS_ADDRESS, align 4, !tbaa !5
%12 = load i32, ptr @ws2801_bit_clk, align 4, !tbaa !5
%13 = tail call i32 @GPIO_REG_WRITE(i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @GPIO_OUT_W1TC_ADDRESS, align 4, !tbaa !5
%15 = load i32, ptr @ws2801_bit_clk, align 4, !tbaa !5
%16 = tail call i32 @GPIO_REG_WRITE(i32 noundef %14, i32 noundef %15) #2
%17 = lshr i32 %3, 1
%18 = icmp ult i32 %3, 2
br i1 %18, label %19, label %2, !llvm.loop !9
19: ; preds = %2
ret void
}
declare i32 @GPIO_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_ws2801.c_ws2801_byte.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_ws2801.c_ws2801_byte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GPIO_OUT_W1TS_ADDRESS = common local_unnamed_addr global i32 0, align 4
@ws2801_bit_data = common local_unnamed_addr global i32 0, align 4
@GPIO_OUT_W1TC_ADDRESS = common local_unnamed_addr global i32 0, align 4
@ws2801_bit_clk = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ws2801_byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ws2801_byte(i32 noundef %0) #0 {
br label %2
2: ; preds = %1, %2
%3 = phi i32 [ 128, %1 ], [ %17, %2 ]
%4 = and i32 %3, %0
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @ws2801_bit_data, align 4, !tbaa !6
%7 = load i32, ptr @GPIO_OUT_W1TC_ADDRESS, align 4
%8 = load i32, ptr @GPIO_OUT_W1TS_ADDRESS, align 4
%9 = select i1 %5, i32 %7, i32 %8
%10 = tail call i32 @GPIO_REG_WRITE(i32 noundef %9, i32 noundef %6) #2
%11 = load i32, ptr @GPIO_OUT_W1TS_ADDRESS, align 4, !tbaa !6
%12 = load i32, ptr @ws2801_bit_clk, align 4, !tbaa !6
%13 = tail call i32 @GPIO_REG_WRITE(i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @GPIO_OUT_W1TC_ADDRESS, align 4, !tbaa !6
%15 = load i32, ptr @ws2801_bit_clk, align 4, !tbaa !6
%16 = tail call i32 @GPIO_REG_WRITE(i32 noundef %14, i32 noundef %15) #2
%17 = lshr i32 %3, 1
%18 = icmp ult i32 %3, 2
br i1 %18, label %19, label %2, !llvm.loop !10
19: ; preds = %2
ret void
}
declare i32 @GPIO_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| nodemcu-firmware_app_modules_extr_ws2801.c_ws2801_byte |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_privacy.c_btm_ble_suspend_resolving_list_activity.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_privacy.c_btm_ble_suspend_resolving_list_activity.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
@btm_cb = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@BTM_BLE_RL_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@BLE_DIR_CONN = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"resolving list can not be edited, EnQ now\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@BTM_BLE_ADV_ENABLE = dso_local local_unnamed_addr global i64 0, align 8
@BTM_BLE_RL_ADV = dso_local local_unnamed_addr global i32 0, align 4
@BTM_BLE_RL_SCAN = dso_local local_unnamed_addr global i32 0, align 4
@BTM_BLE_RL_INIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @btm_ble_suspend_resolving_list_activity() local_unnamed_addr #0 {
%1 = load i32, ptr @btm_cb, align 8, !tbaa !5
%2 = load i32, ptr @BTM_BLE_RL_IDLE, align 4, !tbaa !12
%3 = icmp eq i32 %1, %2
br i1 %3, label %4, label %36
4: ; preds = %0
%5 = tail call i64 (...) @btm_ble_get_conn_st() #2
%6 = load i64, ptr @BLE_DIR_CONN, align 8, !tbaa !13
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = tail call i32 @BTM_TRACE_ERROR(ptr noundef nonnull @.str) #2
br label %36
10: ; preds = %4
%11 = load i32, ptr @BTM_BLE_RL_IDLE, align 4, !tbaa !12
store i32 %11, ptr @btm_cb, align 8, !tbaa !5
%12 = load i64, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @btm_cb, i64 0, i32 0, i32 2), align 8, !tbaa !14
%13 = load i64, ptr @BTM_BLE_ADV_ENABLE, align 8, !tbaa !13
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = tail call i32 (...) @btm_ble_stop_adv() #2
%17 = load i32, ptr @BTM_BLE_RL_ADV, align 4, !tbaa !12
%18 = load i32, ptr @btm_cb, align 8, !tbaa !5
%19 = or i32 %18, %17
store i32 %19, ptr @btm_cb, align 8, !tbaa !5
br label %20
20: ; preds = %15, %10
%21 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @btm_cb, i64 0, i32 0, i32 1), align 4, !tbaa !15
%22 = tail call i64 @BTM_BLE_IS_SCAN_ACTIVE(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %20
%25 = tail call i32 (...) @btm_ble_stop_scan() #2
%26 = load i32, ptr @BTM_BLE_RL_SCAN, align 4, !tbaa !12
%27 = load i32, ptr @btm_cb, align 8, !tbaa !5
%28 = or i32 %27, %26
store i32 %28, ptr @btm_cb, align 8, !tbaa !5
br label %29
29: ; preds = %24, %20
%30 = tail call i64 (...) @btm_ble_suspend_bg_conn() #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = load i32, ptr @BTM_BLE_RL_INIT, align 4, !tbaa !12
%34 = load i32, ptr @btm_cb, align 8, !tbaa !5
%35 = or i32 %34, %33
store i32 %35, ptr @btm_cb, align 8, !tbaa !5
br label %36
36: ; preds = %29, %32, %0, %8
%37 = phi ptr [ @FALSE, %8 ], [ @TRUE, %0 ], [ @TRUE, %32 ], [ @TRUE, %29 ]
%38 = load i32, ptr %37, align 4, !tbaa !12
ret i32 %38
}
declare i64 @btm_ble_get_conn_st(...) local_unnamed_addr #1
declare i32 @BTM_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @btm_ble_stop_adv(...) local_unnamed_addr #1
declare i64 @BTM_BLE_IS_SCAN_ACTIVE(i32 noundef) local_unnamed_addr #1
declare i32 @btm_ble_stop_scan(...) local_unnamed_addr #1
declare i64 @btm_ble_suspend_bg_conn(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !11, i64 8}
!15 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_privacy.c_btm_ble_suspend_resolving_list_activity.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_ble_privacy.c_btm_ble_suspend_resolving_list_activity.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
@btm_cb = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@BTM_BLE_RL_IDLE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@BLE_DIR_CONN = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"resolving list can not be edited, EnQ now\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@BTM_BLE_ADV_ENABLE = common local_unnamed_addr global i64 0, align 8
@BTM_BLE_RL_ADV = common local_unnamed_addr global i32 0, align 4
@BTM_BLE_RL_SCAN = common local_unnamed_addr global i32 0, align 4
@BTM_BLE_RL_INIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @btm_ble_suspend_resolving_list_activity() local_unnamed_addr #0 {
%1 = load i32, ptr @btm_cb, align 8, !tbaa !6
%2 = load i32, ptr @BTM_BLE_RL_IDLE, align 4, !tbaa !13
%3 = icmp eq i32 %1, %2
br i1 %3, label %4, label %36
4: ; preds = %0
%5 = tail call i64 @btm_ble_get_conn_st() #2
%6 = load i64, ptr @BLE_DIR_CONN, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = tail call i32 @BTM_TRACE_ERROR(ptr noundef nonnull @.str) #2
br label %36
10: ; preds = %4
%11 = load i32, ptr @BTM_BLE_RL_IDLE, align 4, !tbaa !13
store i32 %11, ptr @btm_cb, align 8, !tbaa !6
%12 = load i64, ptr getelementptr inbounds (i8, ptr @btm_cb, i64 8), align 8, !tbaa !15
%13 = load i64, ptr @BTM_BLE_ADV_ENABLE, align 8, !tbaa !14
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = tail call i32 @btm_ble_stop_adv() #2
%17 = load i32, ptr @BTM_BLE_RL_ADV, align 4, !tbaa !13
%18 = load i32, ptr @btm_cb, align 8, !tbaa !6
%19 = or i32 %18, %17
store i32 %19, ptr @btm_cb, align 8, !tbaa !6
br label %20
20: ; preds = %15, %10
%21 = load i32, ptr getelementptr inbounds (i8, ptr @btm_cb, i64 4), align 4, !tbaa !16
%22 = tail call i64 @BTM_BLE_IS_SCAN_ACTIVE(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %20
%25 = tail call i32 @btm_ble_stop_scan() #2
%26 = load i32, ptr @BTM_BLE_RL_SCAN, align 4, !tbaa !13
%27 = load i32, ptr @btm_cb, align 8, !tbaa !6
%28 = or i32 %27, %26
store i32 %28, ptr @btm_cb, align 8, !tbaa !6
br label %29
29: ; preds = %24, %20
%30 = tail call i64 @btm_ble_suspend_bg_conn() #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %29
%33 = load i32, ptr @BTM_BLE_RL_INIT, align 4, !tbaa !13
%34 = load i32, ptr @btm_cb, align 8, !tbaa !6
%35 = or i32 %34, %33
store i32 %35, ptr @btm_cb, align 8, !tbaa !6
br label %36
36: ; preds = %29, %32, %0, %8
%37 = phi ptr [ @FALSE, %8 ], [ @TRUE, %0 ], [ @TRUE, %32 ], [ @TRUE, %29 ]
%38 = load i32, ptr %37, align 4, !tbaa !13
ret i32 %38
}
declare i64 @btm_ble_get_conn_st(...) local_unnamed_addr #1
declare i32 @BTM_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @btm_ble_stop_adv(...) local_unnamed_addr #1
declare i64 @BTM_BLE_IS_SCAN_ACTIVE(i32 noundef) local_unnamed_addr #1
declare i32 @btm_ble_stop_scan(...) local_unnamed_addr #1
declare i64 @btm_ble_suspend_bg_conn(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!7, !12, i64 8}
!16 = !{!7, !8, i64 4}
| esp-idf_components_bt_host_bluedroid_stack_btm_extr_btm_ble_privacy.c_btm_ble_suspend_resolving_list_activity |
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ds2781_battery.c_ds2781_get_rsgain_register.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ds2781_battery.c_ds2781_get_rsgain_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DS2781_RSGAIN_MSB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ds2781_get_rsgain_register], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ds2781_get_rsgain_register(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @DS2781_RSGAIN_MSB, align 4, !tbaa !5
%4 = tail call i32 @ds2781_read16(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2
ret i32 %4
}
declare i32 @ds2781_read16(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ds2781_battery.c_ds2781_get_rsgain_register.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ds2781_battery.c_ds2781_get_rsgain_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DS2781_RSGAIN_MSB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ds2781_get_rsgain_register], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ds2781_get_rsgain_register(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @DS2781_RSGAIN_MSB, align 4, !tbaa !6
%4 = tail call i32 @ds2781_read16(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2
ret i32 %4
}
declare i32 @ds2781_read16(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"}
| linux_drivers_power_supply_extr_ds2781_battery.c_ds2781_get_rsgain_register |
; ModuleID = 'AnghaBench/vlc/modules/lua/libs/extr_equalizer.c_vlclua_equalizer_setpreset.c'
source_filename = "AnghaBench/vlc/modules/lua/libs/extr_equalizer.c_vlclua_equalizer_setpreset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NB_PRESETS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"audio-filter\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"equalizer\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"equalizer-preset\00", align 1
@preset_list = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vlclua_equalizer_setpreset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vlclua_equalizer_setpreset(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checknumber(ptr noundef %0, i32 noundef 1) #3
%3 = load i32, ptr @NB_PRESETS, align 4, !tbaa !5
%4 = icmp sge i32 %2, %3
%5 = icmp slt i32 %2, 0
%6 = or i1 %5, %4
br i1 %6, label %26, label %7
7: ; preds = %1
%8 = tail call ptr @vlclua_get_aout_internal(ptr noundef %0) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %26, label %10
10: ; preds = %7
%11 = tail call ptr @var_InheritString(ptr noundef nonnull %8, ptr noundef nonnull @.str) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %22, label %13
13: ; preds = %10
%14 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.1)
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load ptr, ptr @preset_list, align 8, !tbaa !9
%18 = zext nneg i32 %2 to i64
%19 = getelementptr inbounds i32, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !5
%21 = tail call i32 @var_SetString(ptr noundef nonnull %8, ptr noundef nonnull @.str.2, i32 noundef %20) #3
br label %22
22: ; preds = %16, %13, %10
%23 = phi i32 [ 1, %16 ], [ 0, %13 ], [ 0, %10 ]
%24 = tail call i32 @free(ptr noundef %11) #3
%25 = tail call i32 @aout_Release(ptr noundef nonnull %8) #3
br label %26
26: ; preds = %22, %7, %1
%27 = phi i32 [ 0, %1 ], [ %23, %22 ], [ 0, %7 ]
ret i32 %27
}
declare i32 @luaL_checknumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vlclua_get_aout_internal(ptr noundef) local_unnamed_addr #1
declare ptr @var_InheritString(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @var_SetString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @aout_Release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/lua/libs/extr_equalizer.c_vlclua_equalizer_setpreset.c'
source_filename = "AnghaBench/vlc/modules/lua/libs/extr_equalizer.c_vlclua_equalizer_setpreset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NB_PRESETS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"audio-filter\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"equalizer\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"equalizer-preset\00", align 1
@preset_list = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @vlclua_equalizer_setpreset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @vlclua_equalizer_setpreset(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checknumber(ptr noundef %0, i32 noundef 1) #3
%3 = load i32, ptr @NB_PRESETS, align 4, !tbaa !6
%4 = icmp sge i32 %2, %3
%5 = icmp slt i32 %2, 0
%6 = or i1 %5, %4
br i1 %6, label %26, label %7
7: ; preds = %1
%8 = tail call ptr @vlclua_get_aout_internal(ptr noundef %0) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %26, label %10
10: ; preds = %7
%11 = tail call ptr @var_InheritString(ptr noundef nonnull %8, ptr noundef nonnull @.str) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %22, label %13
13: ; preds = %10
%14 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.1)
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load ptr, ptr @preset_list, align 8, !tbaa !10
%18 = zext nneg i32 %2 to i64
%19 = getelementptr inbounds i32, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !6
%21 = tail call i32 @var_SetString(ptr noundef nonnull %8, ptr noundef nonnull @.str.2, i32 noundef %20) #3
br label %22
22: ; preds = %16, %13, %10
%23 = phi i32 [ 1, %16 ], [ 0, %13 ], [ 0, %10 ]
%24 = tail call i32 @free(ptr noundef %11) #3
%25 = tail call i32 @aout_Release(ptr noundef nonnull %8) #3
br label %26
26: ; preds = %22, %7, %1
%27 = phi i32 [ 0, %1 ], [ %23, %22 ], [ 0, %7 ]
ret i32 %27
}
declare i32 @luaL_checknumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vlclua_get_aout_internal(ptr noundef) local_unnamed_addr #1
declare ptr @var_InheritString(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @var_SetString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @aout_Release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| vlc_modules_lua_libs_extr_equalizer.c_vlclua_equalizer_setpreset |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_cx231xx_dump_HH_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_cx231xx_dump_HH_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"reg0x%x=0x%x\0A\00", align 1
@AFE_CTRL_C2HH_SRC_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"AFE_CTRL_C2HH_SRC_CTRL=0x%x\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @cx231xx_dump_HH_reg(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1157649296, ptr %2, align 4, !tbaa !5
%3 = tail call i32 @vid_blk_write_word(ptr noundef %0, i32 noundef 260, i32 noundef 1157649296) #3
%4 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 256, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 256, i32 noundef %5) #3
%7 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 260, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !5
%9 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 260, i32 noundef %8) #3
%10 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 264, ptr noundef nonnull %2) #3
%11 = load i32, ptr %2, align 4, !tbaa !5
%12 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 264, i32 noundef %11) #3
%13 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 268, ptr noundef nonnull %2) #3
%14 = load i32, ptr %2, align 4, !tbaa !5
%15 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 268, i32 noundef %14) #3
%16 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 272, ptr noundef nonnull %2) #3
%17 = load i32, ptr %2, align 4, !tbaa !5
%18 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 272, i32 noundef %17) #3
%19 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 276, ptr noundef nonnull %2) #3
%20 = load i32, ptr %2, align 4, !tbaa !5
%21 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 276, i32 noundef %20) #3
%22 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 280, ptr noundef nonnull %2) #3
%23 = load i32, ptr %2, align 4, !tbaa !5
%24 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 280, i32 noundef %23) #3
%25 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 284, ptr noundef nonnull %2) #3
%26 = load i32, ptr %2, align 4, !tbaa !5
%27 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 284, i32 noundef %26) #3
%28 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 288, ptr noundef nonnull %2) #3
%29 = load i32, ptr %2, align 4, !tbaa !5
%30 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 288, i32 noundef %29) #3
%31 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 292, ptr noundef nonnull %2) #3
%32 = load i32, ptr %2, align 4, !tbaa !5
%33 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 292, i32 noundef %32) #3
%34 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 296, ptr noundef nonnull %2) #3
%35 = load i32, ptr %2, align 4, !tbaa !5
%36 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 296, i32 noundef %35) #3
%37 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 300, ptr noundef nonnull %2) #3
%38 = load i32, ptr %2, align 4, !tbaa !5
%39 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 300, i32 noundef %38) #3
%40 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 304, ptr noundef nonnull %2) #3
%41 = load i32, ptr %2, align 4, !tbaa !5
%42 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 304, i32 noundef %41) #3
%43 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 308, ptr noundef nonnull %2) #3
%44 = load i32, ptr %2, align 4, !tbaa !5
%45 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 308, i32 noundef %44) #3
%46 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 312, ptr noundef nonnull %2) #3
%47 = load i32, ptr %2, align 4, !tbaa !5
%48 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 312, i32 noundef %47) #3
%49 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 316, ptr noundef nonnull %2) #3
%50 = load i32, ptr %2, align 4, !tbaa !5
%51 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 316, i32 noundef %50) #3
br label %52
52: ; preds = %1, %52
%53 = phi i32 [ %57, %52 ], [ 768, %1 ]
%54 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %53, ptr noundef nonnull %2) #3
%55 = load i32, ptr %2, align 4, !tbaa !5
%56 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef %53, i32 noundef %55) #3
%57 = add nuw nsw i32 %53, 4
%58 = icmp ult i32 %53, 1020
br i1 %58, label %52, label %59, !llvm.loop !9
59: ; preds = %52
%60 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1024, ptr noundef nonnull %2) #3
%61 = load i32, ptr %2, align 4, !tbaa !5
%62 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1024, i32 noundef %61) #3
%63 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1028, ptr noundef nonnull %2) #3
%64 = load i32, ptr %2, align 4, !tbaa !5
%65 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1028, i32 noundef %64) #3
%66 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1032, ptr noundef nonnull %2) #3
%67 = load i32, ptr %2, align 4, !tbaa !5
%68 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1032, i32 noundef %67) #3
%69 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1036, ptr noundef nonnull %2) #3
%70 = load i32, ptr %2, align 4, !tbaa !5
%71 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1036, i32 noundef %70) #3
%72 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1040, ptr noundef nonnull %2) #3
%73 = load i32, ptr %2, align 4, !tbaa !5
%74 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1040, i32 noundef %73) #3
%75 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1044, ptr noundef nonnull %2) #3
%76 = load i32, ptr %2, align 4, !tbaa !5
%77 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1044, i32 noundef %76) #3
%78 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1048, ptr noundef nonnull %2) #3
%79 = load i32, ptr %2, align 4, !tbaa !5
%80 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1048, i32 noundef %79) #3
%81 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1052, ptr noundef nonnull %2) #3
%82 = load i32, ptr %2, align 4, !tbaa !5
%83 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1052, i32 noundef %82) #3
%84 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1056, ptr noundef nonnull %2) #3
%85 = load i32, ptr %2, align 4, !tbaa !5
%86 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1056, i32 noundef %85) #3
%87 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1060, ptr noundef nonnull %2) #3
%88 = load i32, ptr %2, align 4, !tbaa !5
%89 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1060, i32 noundef %88) #3
%90 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1064, ptr noundef nonnull %2) #3
%91 = load i32, ptr %2, align 4, !tbaa !5
%92 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1064, i32 noundef %91) #3
%93 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1068, ptr noundef nonnull %2) #3
%94 = load i32, ptr %2, align 4, !tbaa !5
%95 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1068, i32 noundef %94) #3
%96 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1072, ptr noundef nonnull %2) #3
%97 = load i32, ptr %2, align 4, !tbaa !5
%98 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1072, i32 noundef %97) #3
%99 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1076, ptr noundef nonnull %2) #3
%100 = load i32, ptr %2, align 4, !tbaa !5
%101 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1076, i32 noundef %100) #3
%102 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1080, ptr noundef nonnull %2) #3
%103 = load i32, ptr %2, align 4, !tbaa !5
%104 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1080, i32 noundef %103) #3
%105 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1084, ptr noundef nonnull %2) #3
%106 = load i32, ptr %2, align 4, !tbaa !5
%107 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1084, i32 noundef %106) #3
%108 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !5
%109 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %108, ptr noundef nonnull %2) #3
%110 = load i32, ptr %2, align 4, !tbaa !5
%111 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str.1, i32 noundef %110) #3
%112 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !5
%113 = call i32 @vid_blk_write_word(ptr noundef %0, i32 noundef %112, i32 noundef 1149621136) #3
%114 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !5
%115 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %114, ptr noundef nonnull %2) #3
%116 = load i32, ptr %2, align 4, !tbaa !5
%117 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str.1, i32 noundef %116) #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 @vid_blk_write_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vid_blk_read_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cx231xx_info(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_cx231xx_dump_HH_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-avcore.c_cx231xx_dump_HH_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [14 x i8] c"reg0x%x=0x%x\0A\00", align 1
@AFE_CTRL_C2HH_SRC_CTRL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"AFE_CTRL_C2HH_SRC_CTRL=0x%x\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @cx231xx_dump_HH_reg(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1157649296, ptr %2, align 4, !tbaa !6
%3 = tail call i32 @vid_blk_write_word(ptr noundef %0, i32 noundef 260, i32 noundef 1157649296) #3
%4 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 256, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 256, i32 noundef %5) #3
%7 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 260, ptr noundef nonnull %2) #3
%8 = load i32, ptr %2, align 4, !tbaa !6
%9 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 260, i32 noundef %8) #3
%10 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 264, ptr noundef nonnull %2) #3
%11 = load i32, ptr %2, align 4, !tbaa !6
%12 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 264, i32 noundef %11) #3
%13 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 268, ptr noundef nonnull %2) #3
%14 = load i32, ptr %2, align 4, !tbaa !6
%15 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 268, i32 noundef %14) #3
%16 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 272, ptr noundef nonnull %2) #3
%17 = load i32, ptr %2, align 4, !tbaa !6
%18 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 272, i32 noundef %17) #3
%19 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 276, ptr noundef nonnull %2) #3
%20 = load i32, ptr %2, align 4, !tbaa !6
%21 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 276, i32 noundef %20) #3
%22 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 280, ptr noundef nonnull %2) #3
%23 = load i32, ptr %2, align 4, !tbaa !6
%24 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 280, i32 noundef %23) #3
%25 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 284, ptr noundef nonnull %2) #3
%26 = load i32, ptr %2, align 4, !tbaa !6
%27 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 284, i32 noundef %26) #3
%28 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 288, ptr noundef nonnull %2) #3
%29 = load i32, ptr %2, align 4, !tbaa !6
%30 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 288, i32 noundef %29) #3
%31 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 292, ptr noundef nonnull %2) #3
%32 = load i32, ptr %2, align 4, !tbaa !6
%33 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 292, i32 noundef %32) #3
%34 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 296, ptr noundef nonnull %2) #3
%35 = load i32, ptr %2, align 4, !tbaa !6
%36 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 296, i32 noundef %35) #3
%37 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 300, ptr noundef nonnull %2) #3
%38 = load i32, ptr %2, align 4, !tbaa !6
%39 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 300, i32 noundef %38) #3
%40 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 304, ptr noundef nonnull %2) #3
%41 = load i32, ptr %2, align 4, !tbaa !6
%42 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 304, i32 noundef %41) #3
%43 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 308, ptr noundef nonnull %2) #3
%44 = load i32, ptr %2, align 4, !tbaa !6
%45 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 308, i32 noundef %44) #3
%46 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 312, ptr noundef nonnull %2) #3
%47 = load i32, ptr %2, align 4, !tbaa !6
%48 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 312, i32 noundef %47) #3
%49 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 316, ptr noundef nonnull %2) #3
%50 = load i32, ptr %2, align 4, !tbaa !6
%51 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 316, i32 noundef %50) #3
br label %52
52: ; preds = %1, %52
%53 = phi i32 [ %57, %52 ], [ 768, %1 ]
%54 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %53, ptr noundef nonnull %2) #3
%55 = load i32, ptr %2, align 4, !tbaa !6
%56 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef %53, i32 noundef %55) #3
%57 = add nuw nsw i32 %53, 4
%58 = icmp ult i32 %53, 1020
br i1 %58, label %52, label %59, !llvm.loop !10
59: ; preds = %52
%60 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1024, ptr noundef nonnull %2) #3
%61 = load i32, ptr %2, align 4, !tbaa !6
%62 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1024, i32 noundef %61) #3
%63 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1028, ptr noundef nonnull %2) #3
%64 = load i32, ptr %2, align 4, !tbaa !6
%65 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1028, i32 noundef %64) #3
%66 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1032, ptr noundef nonnull %2) #3
%67 = load i32, ptr %2, align 4, !tbaa !6
%68 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1032, i32 noundef %67) #3
%69 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1036, ptr noundef nonnull %2) #3
%70 = load i32, ptr %2, align 4, !tbaa !6
%71 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1036, i32 noundef %70) #3
%72 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1040, ptr noundef nonnull %2) #3
%73 = load i32, ptr %2, align 4, !tbaa !6
%74 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1040, i32 noundef %73) #3
%75 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1044, ptr noundef nonnull %2) #3
%76 = load i32, ptr %2, align 4, !tbaa !6
%77 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1044, i32 noundef %76) #3
%78 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1048, ptr noundef nonnull %2) #3
%79 = load i32, ptr %2, align 4, !tbaa !6
%80 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1048, i32 noundef %79) #3
%81 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1052, ptr noundef nonnull %2) #3
%82 = load i32, ptr %2, align 4, !tbaa !6
%83 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1052, i32 noundef %82) #3
%84 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1056, ptr noundef nonnull %2) #3
%85 = load i32, ptr %2, align 4, !tbaa !6
%86 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1056, i32 noundef %85) #3
%87 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1060, ptr noundef nonnull %2) #3
%88 = load i32, ptr %2, align 4, !tbaa !6
%89 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1060, i32 noundef %88) #3
%90 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1064, ptr noundef nonnull %2) #3
%91 = load i32, ptr %2, align 4, !tbaa !6
%92 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1064, i32 noundef %91) #3
%93 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1068, ptr noundef nonnull %2) #3
%94 = load i32, ptr %2, align 4, !tbaa !6
%95 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1068, i32 noundef %94) #3
%96 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1072, ptr noundef nonnull %2) #3
%97 = load i32, ptr %2, align 4, !tbaa !6
%98 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1072, i32 noundef %97) #3
%99 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1076, ptr noundef nonnull %2) #3
%100 = load i32, ptr %2, align 4, !tbaa !6
%101 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1076, i32 noundef %100) #3
%102 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1080, ptr noundef nonnull %2) #3
%103 = load i32, ptr %2, align 4, !tbaa !6
%104 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1080, i32 noundef %103) #3
%105 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef 1084, ptr noundef nonnull %2) #3
%106 = load i32, ptr %2, align 4, !tbaa !6
%107 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str, i32 noundef 1084, i32 noundef %106) #3
%108 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !6
%109 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %108, ptr noundef nonnull %2) #3
%110 = load i32, ptr %2, align 4, !tbaa !6
%111 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str.1, i32 noundef %110) #3
%112 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !6
%113 = call i32 @vid_blk_write_word(ptr noundef %0, i32 noundef %112, i32 noundef 1149621136) #3
%114 = load i32, ptr @AFE_CTRL_C2HH_SRC_CTRL, align 4, !tbaa !6
%115 = call i32 @vid_blk_read_word(ptr noundef %0, i32 noundef %114, ptr noundef nonnull %2) #3
%116 = load i32, ptr %2, align 4, !tbaa !6
%117 = call i32 (ptr, i32, ...) @cx231xx_info(ptr noundef nonnull @.str.1, i32 noundef %116) #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 @vid_blk_write_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vid_blk_read_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cx231xx_info(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_media_video_cx231xx_extr_cx231xx-avcore.c_cx231xx_dump_HH_reg |
; ModuleID = 'AnghaBench/sumatrapdf/ext/harfbuzz/test/api/extr_test-object.c_create_font_from_inert.c'
source_filename = "AnghaBench/sumatrapdf/ext/harfbuzz/test/api/extr_test-object.c_create_font_from_inert.c"
target datalayout = "e-m:e-p270:32:32-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 @create_font_from_inert], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @create_font_from_inert() #0 {
%1 = tail call i32 (...) @hb_face_get_empty() #2
%2 = tail call ptr @hb_font_create(i32 noundef %1) #2
ret ptr %2
}
declare ptr @hb_font_create(i32 noundef) local_unnamed_addr #1
declare i32 @hb_face_get_empty(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/ext/harfbuzz/test/api/extr_test-object.c_create_font_from_inert.c'
source_filename = "AnghaBench/sumatrapdf/ext/harfbuzz/test/api/extr_test-object.c_create_font_from_inert.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 @create_font_from_inert], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @create_font_from_inert() #0 {
%1 = tail call i32 @hb_face_get_empty() #2
%2 = tail call ptr @hb_font_create(i32 noundef %1) #2
ret ptr %2
}
declare ptr @hb_font_create(i32 noundef) local_unnamed_addr #1
declare i32 @hb_face_get_empty(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_ext_harfbuzz_test_api_extr_test-object.c_create_font_from_inert |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_add_ld_complete.c'
source_filename = "AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_add_ld_complete.c"
target datalayout = "e-m:e-p270:32:32-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.mfi_command = type { ptr, ptr, ptr }
%struct.mfi_softc = type { i32, i32, i32, i64 }
@MFI_STAT_OK = dso_local local_unnamed_addr global i64 0, align 8
@M_MFIBUF = dso_local local_unnamed_addr global i32 0, align 4
@Giant = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"mfid\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to add logical disk\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"MFI Logical Disk\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mfi_add_ld_complete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mfi_add_ld_complete(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.mfi_command, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.mfi_softc, ptr %3, i64 0, i32 3
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = getelementptr inbounds %struct.mfi_command, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = load i64, ptr @MFI_STAT_OK, align 8, !tbaa !18
%13 = icmp eq i64 %11, %12
br i1 %13, label %20, label %14
14: ; preds = %8, %1
%15 = load i32, ptr @M_MFIBUF, align 4, !tbaa !19
%16 = tail call i32 @free(ptr noundef %4, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.mfi_softc, ptr %3, i64 0, i32 2
%18 = tail call i32 @wakeup(ptr noundef nonnull %17) #2
%19 = tail call i32 @mfi_release_command(ptr noundef nonnull %0) #2
br label %44
20: ; preds = %8
%21 = getelementptr inbounds %struct.mfi_softc, ptr %3, i64 0, i32 2
%22 = tail call i32 @wakeup(ptr noundef nonnull %21) #2
%23 = tail call i32 @mfi_release_command(ptr noundef nonnull %0) #2
%24 = tail call i32 @mtx_unlock(ptr noundef nonnull %3) #2
%25 = tail call i32 @mtx_lock(ptr noundef nonnull @Giant) #2
%26 = getelementptr inbounds %struct.mfi_softc, ptr %3, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !20
%28 = tail call ptr @device_add_child(i32 noundef %27, ptr noundef nonnull @.str, i32 noundef -1) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load i32, ptr %26, align 4, !tbaa !20
%32 = tail call i32 @device_printf(i32 noundef %31, ptr noundef nonnull @.str.1) #2
%33 = load i32, ptr @M_MFIBUF, align 4, !tbaa !19
%34 = tail call i32 @free(ptr noundef %4, i32 noundef %33) #2
%35 = tail call i32 @mtx_unlock(ptr noundef nonnull @Giant) #2
%36 = tail call i32 @mtx_lock(ptr noundef nonnull %3) #2
br label %44
37: ; preds = %20
%38 = tail call i32 @device_set_ivars(ptr noundef nonnull %28, ptr noundef %4) #2
%39 = tail call i32 @device_set_desc(ptr noundef nonnull %28, ptr noundef nonnull @.str.2) #2
%40 = load i32, ptr %26, align 4, !tbaa !20
%41 = tail call i32 @bus_generic_attach(i32 noundef %40) #2
%42 = tail call i32 @mtx_unlock(ptr noundef nonnull @Giant) #2
%43 = tail call i32 @mtx_lock(ptr noundef nonnull %3) #2
br label %44
44: ; preds = %37, %30, %14
ret void
}
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @mfi_release_command(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_ivars(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_generic_attach(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 = !{!"mfi_command", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !14, i64 16}
!12 = !{!"mfi_softc", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16}
!13 = !{!"int", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"mfi_frame_header", !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!12, !13, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_add_ld_complete.c'
source_filename = "AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_add_ld_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MFI_STAT_OK = common local_unnamed_addr global i64 0, align 8
@M_MFIBUF = common local_unnamed_addr global i32 0, align 4
@Giant = common global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"mfid\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to add logical disk\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"MFI Logical Disk\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mfi_add_ld_complete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mfi_add_ld_complete(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !11
%5 = getelementptr inbounds i8, ptr %3, i64 16
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = load i64, ptr @MFI_STAT_OK, align 8, !tbaa !19
%13 = icmp eq i64 %11, %12
br i1 %13, label %20, label %14
14: ; preds = %8, %1
%15 = load i32, ptr @M_MFIBUF, align 4, !tbaa !20
%16 = tail call i32 @free(ptr noundef %4, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %3, i64 8
%18 = tail call i32 @wakeup(ptr noundef nonnull %17) #2
%19 = tail call i32 @mfi_release_command(ptr noundef nonnull %0) #2
br label %44
20: ; preds = %8
%21 = getelementptr inbounds i8, ptr %3, i64 8
%22 = tail call i32 @wakeup(ptr noundef nonnull %21) #2
%23 = tail call i32 @mfi_release_command(ptr noundef nonnull %0) #2
%24 = tail call i32 @mtx_unlock(ptr noundef nonnull %3) #2
%25 = tail call i32 @mtx_lock(ptr noundef nonnull @Giant) #2
%26 = getelementptr inbounds i8, ptr %3, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !21
%28 = tail call ptr @device_add_child(i32 noundef %27, ptr noundef nonnull @.str, i32 noundef -1) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load i32, ptr %26, align 4, !tbaa !21
%32 = tail call i32 @device_printf(i32 noundef %31, ptr noundef nonnull @.str.1) #2
%33 = load i32, ptr @M_MFIBUF, align 4, !tbaa !20
%34 = tail call i32 @free(ptr noundef %4, i32 noundef %33) #2
%35 = tail call i32 @mtx_unlock(ptr noundef nonnull @Giant) #2
%36 = tail call i32 @mtx_lock(ptr noundef nonnull %3) #2
br label %44
37: ; preds = %20
%38 = tail call i32 @device_set_ivars(ptr noundef nonnull %28, ptr noundef %4) #2
%39 = tail call i32 @device_set_desc(ptr noundef nonnull %28, ptr noundef nonnull @.str.2) #2
%40 = load i32, ptr %26, align 4, !tbaa !21
%41 = tail call i32 @bus_generic_attach(i32 noundef %40) #2
%42 = tail call i32 @mtx_unlock(ptr noundef nonnull @Giant) #2
%43 = tail call i32 @mtx_lock(ptr noundef nonnull %3) #2
br label %44
44: ; preds = %37, %30, %14
ret void
}
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @mfi_release_command(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_ivars(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bus_generic_attach(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 = !{!"mfi_command", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !15, i64 16}
!13 = !{!"mfi_softc", !14, i64 0, !14, i64 4, !14, i64 8, !15, i64 16}
!14 = !{!"int", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!18, !15, i64 0}
!18 = !{!"mfi_frame_header", !15, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!13, !14, i64 4}
| freebsd_sys_dev_mfi_extr_mfi.c_mfi_add_ld_complete |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/netfilter/extr_ebt_limit.c_ebt_limit_mt.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bridge/netfilter/extr_ebt_limit.c_ebt_limit_mt.c"
target datalayout = "e-m:e-p270:32:32-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.ebt_limit_info = type { i64, i64, i64, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@limit_lock = dso_local global i32 0, align 4
@CREDITS_PER_JIFFY = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ebt_limit_mt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ebt_limit_mt(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i64, ptr @jiffies, align 8, !tbaa !10
%6 = tail call i32 @spin_lock_bh(ptr noundef nonnull @limit_lock) #3
%7 = getelementptr inbounds %struct.ebt_limit_info, ptr %4, i64 0, i32 3
%8 = tail call i64 @xchg(ptr noundef nonnull %7, i64 noundef %5) #3
%9 = sub i64 %5, %8
%10 = load i64, ptr @CREDITS_PER_JIFFY, align 8, !tbaa !10
%11 = mul i64 %9, %10
%12 = load i64, ptr %4, align 8, !tbaa !11
%13 = add i64 %12, %11
%14 = getelementptr inbounds %struct.ebt_limit_info, ptr %4, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = tail call i64 @llvm.smin.i64(i64 %13, i64 %15)
store i64 %16, ptr %4, align 8
%17 = getelementptr inbounds %struct.ebt_limit_info, ptr %4, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp slt i64 %16, %18
br i1 %19, label %22, label %20
20: ; preds = %2
%21 = sub nsw i64 %16, %18
store i64 %21, ptr %4, align 8, !tbaa !11
br label %22
22: ; preds = %2, %20
%23 = phi i32 [ 1, %20 ], [ 0, %2 ]
%24 = tail call i32 @spin_unlock_bh(ptr noundef nonnull @limit_lock) #3
ret i32 %23
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i64 @xchg(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"xt_match_param", !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, !7, i64 0}
!12 = !{!"ebt_limit_info", !7, i64 0, !7, i64 8, !7, i64 16, !13, i64 24}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !7, i64 8}
!15 = !{!12, !7, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/netfilter/extr_ebt_limit.c_ebt_limit_mt.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bridge/netfilter/extr_ebt_limit.c_ebt_limit_mt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@limit_lock = common global i32 0, align 4
@CREDITS_PER_JIFFY = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ebt_limit_mt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ebt_limit_mt(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i64, ptr @jiffies, align 8, !tbaa !11
%6 = tail call i32 @spin_lock_bh(ptr noundef nonnull @limit_lock) #3
%7 = getelementptr inbounds i8, ptr %4, i64 24
%8 = tail call i64 @xchg(ptr noundef nonnull %7, i64 noundef %5) #3
%9 = sub i64 %5, %8
%10 = load i64, ptr @CREDITS_PER_JIFFY, align 8, !tbaa !11
%11 = mul i64 %9, %10
%12 = load i64, ptr %4, align 8, !tbaa !12
%13 = add i64 %12, %11
%14 = getelementptr inbounds i8, ptr %4, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = tail call i64 @llvm.smin.i64(i64 %13, i64 %15)
store i64 %16, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %4, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = icmp slt i64 %16, %18
br i1 %19, label %22, label %20
20: ; preds = %2
%21 = sub nsw i64 %16, %18
store i64 %21, ptr %4, align 8, !tbaa !12
br label %22
22: ; preds = %2, %20
%23 = phi i32 [ 1, %20 ], [ 0, %2 ]
%24 = tail call i32 @spin_unlock_bh(ptr noundef nonnull @limit_lock) #3
ret i32 %23
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i64 @xchg(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"xt_match_param", !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, !8, i64 0}
!13 = !{!"ebt_limit_info", !8, i64 0, !8, i64 8, !8, i64 16, !14, i64 24}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !8, i64 8}
!16 = !{!13, !8, i64 16}
| fastsocket_kernel_net_bridge_netfilter_extr_ebt_limit.c_ebt_limit_mt |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_hdmi4.c_hdmi_power_on_full.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_hdmi4.c_hdmi_power_on_full.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { %struct.TYPE_6__, %struct.hdmi_wp_data, %struct.TYPE_7__, i32, i32, %struct.TYPE_5__ }
%struct.TYPE_6__ = type { i32 }
%struct.hdmi_wp_data = type { i32 }
%struct.TYPE_7__ = type { %struct.omap_video_timings }
%struct.omap_video_timings = type { i32, i32, i32 }
%struct.TYPE_5__ = type { ptr }
%struct.dss_pll_clock_info = type { ptr, i32, i32 }
@hdmi = dso_local global %struct.TYPE_8__ zeroinitializer, align 8
@.str = private unnamed_addr constant [36 x i8] c"hdmi_power_on x_res= %d y_res = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Failed to enable PLL\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Failed to configure PLL\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Failed to configure PHY\0A\00", align 1
@HDMI_PHYPWRCMD_LDOON = dso_local local_unnamed_addr global i32 0, align 4
@HDMI_IRQ_LINK_CONNECT = dso_local local_unnamed_addr global i32 0, align 4
@HDMI_IRQ_LINK_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4
@HDMI_PHYPWRCMD_OFF = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hdmi_power_on_full], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hdmi_power_on_full(ptr noundef %0) #0 {
%2 = alloca %struct.dss_pll_clock_info, align 8
%3 = load ptr, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 5), align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%4 = tail call i32 @hdmi_power_on_core(ptr noundef %0) #4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %61
6: ; preds = %1
%7 = tail call i32 @hdmi_wp_clear_irqenable(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), i32 noundef -1) #4
%8 = tail call i32 @hdmi_wp_set_irqstatus(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), i32 noundef -1) #4
%9 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 2, i32 0, i32 2), align 8, !tbaa !16
%10 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 2, i32 0, i32 1), align 4, !tbaa !17
%11 = tail call i32 (ptr, ...) @DSSDBG(ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %10) #4
%12 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 2), align 8, !tbaa !18
%13 = call i32 @hdmi_pll_compute(ptr noundef nonnull @hdmi, i32 noundef %12, ptr noundef nonnull %2) #4
%14 = call i32 @dss_pll_enable(ptr noundef nonnull @hdmi) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %6
%17 = call i32 @DSSERR(ptr noundef nonnull @.str.1) #4
br label %57
18: ; preds = %6
%19 = call i32 @dss_pll_set_config(ptr noundef nonnull @hdmi, ptr noundef nonnull %2) #4
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = call i32 @DSSERR(ptr noundef nonnull @.str.2) #4
br label %55
23: ; preds = %18
%24 = getelementptr inbounds %struct.dss_pll_clock_info, ptr %2, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !19
%26 = load ptr, ptr %2, align 8, !tbaa !21
%27 = load i32, ptr %26, align 4, !tbaa !22
%28 = call i32 @hdmi_phy_configure(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 4), i32 noundef %25, i32 noundef %27) #4
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %23
%31 = call i32 (ptr, ...) @DSSDBG(ptr noundef nonnull @.str.3) #4
br label %55
32: ; preds = %23
%33 = load i32, ptr @HDMI_PHYPWRCMD_LDOON, align 4, !tbaa !22
%34 = call i32 @hdmi_wp_set_phy_pwr(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), i32 noundef %33) #4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %55
36: ; preds = %32
%37 = call i32 @hdmi4_configure(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 3), ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 2)) #4
%38 = call i32 @dispc_enable_gamma_table(i32 noundef 0) #4
%39 = call i32 @dss_mgr_set_timings(ptr noundef %3, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 2)) #4
%40 = call i32 @hdmi_wp_video_start(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1)) #4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %36
%43 = call i32 @dss_mgr_enable(ptr noundef %3) #4
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %42
%46 = load i32, ptr @HDMI_IRQ_LINK_CONNECT, align 4, !tbaa !22
%47 = load i32, ptr @HDMI_IRQ_LINK_DISCONNECT, align 4, !tbaa !22
%48 = or i32 %47, %46
%49 = call i32 @hdmi_wp_set_irqenable(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), i32 noundef %48) #4
br label %61
50: ; preds = %42
%51 = call i32 @hdmi_wp_video_stop(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1)) #4
br label %52
52: ; preds = %36, %50
%53 = load i32, ptr @HDMI_PHYPWRCMD_OFF, align 4, !tbaa !22
%54 = call i32 @hdmi_wp_set_phy_pwr(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_8__, ptr @hdmi, i64 0, i32 1), i32 noundef %53) #4
br label %55
55: ; preds = %30, %32, %52, %21
%56 = call i32 @dss_pll_disable(ptr noundef nonnull @hdmi) #4
br label %57
57: ; preds = %55, %16
%58 = call i32 @hdmi_power_off_core(ptr noundef %0) #4
%59 = load i32, ptr @EIO, align 4, !tbaa !22
%60 = sub nsw i32 0, %59
br label %61
61: ; preds = %1, %57, %45
%62 = phi i32 [ %60, %57 ], [ 0, %45 ], [ %4, %1 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @hdmi_power_on_core(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_clear_irqenable(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_irqstatus(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @DSSDBG(ptr noundef, ...) local_unnamed_addr #3
declare i32 @hdmi_pll_compute(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_enable(ptr noundef) local_unnamed_addr #3
declare i32 @DSSERR(ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_set_config(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_phy_configure(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_phy_pwr(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi4_configure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dispc_enable_gamma_table(i32 noundef) local_unnamed_addr #3
declare i32 @dss_mgr_set_timings(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_video_start(ptr noundef) local_unnamed_addr #3
declare i32 @dss_mgr_enable(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_irqenable(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_video_stop(ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_disable(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_power_off_core(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !15, i64 32}
!6 = !{!"TYPE_8__", !7, i64 0, !11, i64 4, !12, i64 8, !8, i64 20, !8, i64 24, !14, i64 32}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"hdmi_wp_data", !8, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0}
!13 = !{!"omap_video_timings", !8, i64 0, !8, i64 4, !8, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!13, !8, i64 8}
!17 = !{!13, !8, i64 4}
!18 = !{!13, !8, i64 0}
!19 = !{!20, !8, i64 8}
!20 = !{!"dss_pll_clock_info", !15, i64 0, !8, i64 8, !8, i64 12}
!21 = !{!20, !15, i64 0}
!22 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_hdmi4.c_hdmi_power_on_full.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_hdmi4.c_hdmi_power_on_full.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { %struct.TYPE_6__, %struct.hdmi_wp_data, %struct.TYPE_7__, i32, i32, %struct.TYPE_5__ }
%struct.TYPE_6__ = type { i32 }
%struct.hdmi_wp_data = type { i32 }
%struct.TYPE_7__ = type { %struct.omap_video_timings }
%struct.omap_video_timings = type { i32, i32, i32 }
%struct.TYPE_5__ = type { ptr }
%struct.dss_pll_clock_info = type { ptr, i32, i32 }
@hdmi = common global %struct.TYPE_8__ zeroinitializer, align 8
@.str = private unnamed_addr constant [36 x i8] c"hdmi_power_on x_res= %d y_res = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Failed to enable PLL\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Failed to configure PLL\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Failed to configure PHY\0A\00", align 1
@HDMI_PHYPWRCMD_LDOON = common local_unnamed_addr global i32 0, align 4
@HDMI_IRQ_LINK_CONNECT = common local_unnamed_addr global i32 0, align 4
@HDMI_IRQ_LINK_DISCONNECT = common local_unnamed_addr global i32 0, align 4
@HDMI_PHYPWRCMD_OFF = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hdmi_power_on_full], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hdmi_power_on_full(ptr noundef %0) #0 {
%2 = alloca %struct.dss_pll_clock_info, align 8
%3 = load ptr, ptr getelementptr inbounds (i8, ptr @hdmi, i64 32), align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%4 = tail call i32 @hdmi_power_on_core(ptr noundef %0) #4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %61
6: ; preds = %1
%7 = tail call i32 @hdmi_wp_clear_irqenable(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), i32 noundef -1) #4
%8 = tail call i32 @hdmi_wp_set_irqstatus(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), i32 noundef -1) #4
%9 = load i32, ptr getelementptr inbounds (i8, ptr @hdmi, i64 16), align 8, !tbaa !17
%10 = load i32, ptr getelementptr inbounds (i8, ptr @hdmi, i64 12), align 4, !tbaa !18
%11 = tail call i32 (ptr, ...) @DSSDBG(ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %10) #4
%12 = load i32, ptr getelementptr inbounds (i8, ptr @hdmi, i64 8), align 8, !tbaa !19
%13 = call i32 @hdmi_pll_compute(ptr noundef nonnull @hdmi, i32 noundef %12, ptr noundef nonnull %2) #4
%14 = call i32 @dss_pll_enable(ptr noundef nonnull @hdmi) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %6
%17 = call i32 @DSSERR(ptr noundef nonnull @.str.1) #4
br label %57
18: ; preds = %6
%19 = call i32 @dss_pll_set_config(ptr noundef nonnull @hdmi, ptr noundef nonnull %2) #4
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = call i32 @DSSERR(ptr noundef nonnull @.str.2) #4
br label %55
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %2, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !20
%26 = load ptr, ptr %2, align 8, !tbaa !22
%27 = load i32, ptr %26, align 4, !tbaa !23
%28 = call i32 @hdmi_phy_configure(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 24), i32 noundef %25, i32 noundef %27) #4
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %23
%31 = call i32 (ptr, ...) @DSSDBG(ptr noundef nonnull @.str.3) #4
br label %55
32: ; preds = %23
%33 = load i32, ptr @HDMI_PHYPWRCMD_LDOON, align 4, !tbaa !23
%34 = call i32 @hdmi_wp_set_phy_pwr(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), i32 noundef %33) #4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %55
36: ; preds = %32
%37 = call i32 @hdmi4_configure(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 20), ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 8)) #4
%38 = call i32 @dispc_enable_gamma_table(i32 noundef 0) #4
%39 = call i32 @dss_mgr_set_timings(ptr noundef %3, ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 8)) #4
%40 = call i32 @hdmi_wp_video_start(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4)) #4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %36
%43 = call i32 @dss_mgr_enable(ptr noundef %3) #4
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %42
%46 = load i32, ptr @HDMI_IRQ_LINK_CONNECT, align 4, !tbaa !23
%47 = load i32, ptr @HDMI_IRQ_LINK_DISCONNECT, align 4, !tbaa !23
%48 = or i32 %47, %46
%49 = call i32 @hdmi_wp_set_irqenable(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), i32 noundef %48) #4
br label %61
50: ; preds = %42
%51 = call i32 @hdmi_wp_video_stop(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4)) #4
br label %52
52: ; preds = %36, %50
%53 = load i32, ptr @HDMI_PHYPWRCMD_OFF, align 4, !tbaa !23
%54 = call i32 @hdmi_wp_set_phy_pwr(ptr noundef nonnull getelementptr inbounds (i8, ptr @hdmi, i64 4), i32 noundef %53) #4
br label %55
55: ; preds = %30, %32, %52, %21
%56 = call i32 @dss_pll_disable(ptr noundef nonnull @hdmi) #4
br label %57
57: ; preds = %55, %16
%58 = call i32 @hdmi_power_off_core(ptr noundef %0) #4
%59 = load i32, ptr @EIO, align 4, !tbaa !23
%60 = sub nsw i32 0, %59
br label %61
61: ; preds = %1, %57, %45
%62 = phi i32 [ %60, %57 ], [ 0, %45 ], [ %4, %1 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @hdmi_power_on_core(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_clear_irqenable(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_irqstatus(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @DSSDBG(ptr noundef, ...) local_unnamed_addr #3
declare i32 @hdmi_pll_compute(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_enable(ptr noundef) local_unnamed_addr #3
declare i32 @DSSERR(ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_set_config(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_phy_configure(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_phy_pwr(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi4_configure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dispc_enable_gamma_table(i32 noundef) local_unnamed_addr #3
declare i32 @dss_mgr_set_timings(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_video_start(ptr noundef) local_unnamed_addr #3
declare i32 @dss_mgr_enable(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_set_irqenable(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @hdmi_wp_video_stop(ptr noundef) local_unnamed_addr #3
declare i32 @dss_pll_disable(ptr noundef) local_unnamed_addr #3
declare i32 @hdmi_power_off_core(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !16, i64 32}
!7 = !{!"TYPE_8__", !8, i64 0, !12, i64 4, !13, i64 8, !9, i64 20, !9, i64 24, !15, i64 32}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"hdmi_wp_data", !9, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0}
!14 = !{!"omap_video_timings", !9, i64 0, !9, i64 4, !9, i64 8}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!14, !9, i64 8}
!18 = !{!14, !9, i64 4}
!19 = !{!14, !9, i64 0}
!20 = !{!21, !9, i64 8}
!21 = !{!"dss_pll_clock_info", !16, i64 0, !9, i64 8, !9, i64 12}
!22 = !{!21, !16, i64 0}
!23 = !{!9, !9, i64 0}
| linux_drivers_video_fbdev_omap2_omapfb_dss_extr_hdmi4.c_hdmi_power_on_full |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_message.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_message.c"
target datalayout = "e-m:e-p270:32:32-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.l3_process = type { i32, i32 }
@DL_DATA = dso_local local_unnamed_addr global i32 0, align 4
@REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @l3ni1_message], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @l3ni1_message(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = tail call ptr @l3_alloc_skb(i32 noundef 4) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %15, label %5
5: ; preds = %2
%6 = tail call ptr @skb_put(ptr noundef nonnull %3, i32 noundef 4) #2
%7 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = tail call i32 @MsgHead(ptr noundef %6, i32 noundef %8, i32 noundef %1) #2
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = load i32, ptr @DL_DATA, align 4, !tbaa !11
%12 = load i32, ptr @REQUEST, align 4, !tbaa !11
%13 = or i32 %12, %11
%14 = tail call i32 @l3_msg(i32 noundef %10, i32 noundef %13, ptr noundef nonnull %3) #2
br label %15
15: ; preds = %2, %5
ret void
}
declare ptr @l3_alloc_skb(i32 noundef) local_unnamed_addr #1
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MsgHead(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @l3_msg(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 4}
!6 = !{!"l3_process", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_message.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_message.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DL_DATA = common local_unnamed_addr global i32 0, align 4
@REQUEST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @l3ni1_message], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @l3ni1_message(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = tail call ptr @l3_alloc_skb(i32 noundef 4) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %15, label %5
5: ; preds = %2
%6 = tail call ptr @skb_put(ptr noundef nonnull %3, i32 noundef 4) #2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = tail call i32 @MsgHead(ptr noundef %6, i32 noundef %8, i32 noundef %1) #2
%10 = load i32, ptr %0, align 4, !tbaa !11
%11 = load i32, ptr @DL_DATA, align 4, !tbaa !12
%12 = load i32, ptr @REQUEST, align 4, !tbaa !12
%13 = or i32 %12, %11
%14 = tail call i32 @l3_msg(i32 noundef %10, i32 noundef %13, ptr noundef nonnull %3) #2
br label %15
15: ; preds = %2, %5
ret void
}
declare ptr @l3_alloc_skb(i32 noundef) local_unnamed_addr #1
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MsgHead(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @l3_msg(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 4}
!7 = !{!"l3_process", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_isdn_hisax_extr_l3ni1.c_l3ni1_message |
; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mp.c_platform_processor_id.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mp.c_platform_processor_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @platform_processor_id() local_unnamed_addr #0 {
%1 = tail call i32 (...) @mips_rd_ebase() #2
%2 = and i32 %1, 7
ret i32 %2
}
declare i32 @mips_rd_ebase(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/mips/ingenic/extr_jz4780_mp.c_platform_processor_id.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_mp.c_platform_processor_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 8) i32 @platform_processor_id() local_unnamed_addr #0 {
%1 = tail call i32 @mips_rd_ebase() #2
%2 = and i32 %1, 7
ret i32 %2
}
declare i32 @mips_rd_ebase(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_mips_ingenic_extr_jz4780_mp.c_platform_processor_id |
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_malloc.c_sqlite3Fault.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_malloc.c_sqlite3Fault.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sqlite3Fault.cnt = internal unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sqlite3Fault], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define internal void @sqlite3Fault() #0 {
%1 = load i32, ptr @sqlite3Fault.cnt, align 4, !tbaa !5
%2 = add nsw i32 %1, 1
store i32 %2, ptr @sqlite3Fault.cnt, 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/sqlcipher/src/extr_test_malloc.c_sqlite3Fault.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_malloc.c_sqlite3Fault.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sqlite3Fault.cnt = internal unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sqlite3Fault], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @sqlite3Fault() #0 {
%1 = load i32, ptr @sqlite3Fault.cnt, align 4, !tbaa !6
%2 = add nsw i32 %1, 1
store i32 %2, ptr @sqlite3Fault.cnt, 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"}
| sqlcipher_src_extr_test_malloc.c_sqlite3Fault |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_set_vga.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_set_vga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dib0090_set_vga(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @dib0090_read_reg(ptr noundef %3, i32 noundef 9) #2
%5 = and i32 %4, 32767
%6 = shl i32 %1, 15
%7 = and i32 %6, 32768
%8 = or disjoint i32 %5, %7
%9 = tail call i32 @dib0090_write_reg(ptr noundef %3, i32 noundef 9, i32 noundef %8) #2
ret i32 0
}
declare i32 @dib0090_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dib0090_read_reg(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 = !{!"dvb_frontend", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_set_vga.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_set_vga.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 @dib0090_set_vga(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @dib0090_read_reg(ptr noundef %3, i32 noundef 9) #2
%5 = and i32 %4, 32767
%6 = shl i32 %1, 15
%7 = and i32 %6, 32768
%8 = or disjoint i32 %5, %7
%9 = tail call i32 @dib0090_write_reg(ptr noundef %3, i32 noundef 9, i32 noundef %8) #2
ret i32 0
}
declare i32 @dib0090_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dib0090_read_reg(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 = !{!"dvb_frontend", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_dvb-frontends_extr_dib0090.c_dib0090_set_vga |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_upcall.c_nfsrv_uc_init.c'
source_filename = "AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_upcall.c_nfsrv_uc_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, i32, ptr, i32 }
@.str = private unnamed_addr constant [17 x i8] c"nfs_upcall_locks\00", align 1
@LCK_GRP_ATTR_NULL = dso_local local_unnamed_addr global i32 0, align 4
@nfsrv_uc_group = dso_local local_unnamed_addr global i32 0, align 4
@NFS_UC_HASH_SZ = dso_local local_unnamed_addr global i32 0, align 4
@nfsrv_uc_queue_tbl = dso_local local_unnamed_addr global ptr null, align 8
@LCK_ATTR_NULL = dso_local local_unnamed_addr global i32 0, align 4
@THREAD_NULL = dso_local local_unnamed_addr global i32 0, align 4
@nfsrv_uc_shutdown_lock = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @nfsrv_uc_init() local_unnamed_addr #0 {
%1 = load i32, ptr @LCK_GRP_ATTR_NULL, align 4, !tbaa !5
%2 = tail call i32 @lck_grp_alloc_init(ptr noundef nonnull @.str, i32 noundef %1) #2
store i32 %2, ptr @nfsrv_uc_group, align 4, !tbaa !5
%3 = load i32, ptr @NFS_UC_HASH_SZ, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %28
5: ; preds = %0
%6 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !9
br label %7
7: ; preds = %5, %7
%8 = phi ptr [ %6, %5 ], [ %19, %7 ]
%9 = phi i64 [ 0, %5 ], [ %22, %7 ]
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %9, i32 3
%11 = load i32, ptr %10, align 8, !tbaa !11
%12 = tail call i32 @TAILQ_INIT(i32 noundef %11) #2
%13 = load i32, ptr @nfsrv_uc_group, align 4, !tbaa !5
%14 = load i32, ptr @LCK_ATTR_NULL, align 4, !tbaa !5
%15 = tail call ptr @lck_mtx_alloc_init(i32 noundef %13, i32 noundef %14) #2
%16 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !9
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %9, i32 2
store ptr %15, ptr %17, align 8, !tbaa !14
%18 = load i32, ptr @THREAD_NULL, align 4, !tbaa !5
%19 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !9
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9, i32 1
store i32 %18, ptr %20, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9
store i64 0, ptr %21, align 8, !tbaa !16
%22 = add nuw nsw i64 %9, 1
%23 = load i32, ptr @NFS_UC_HASH_SZ, align 4, !tbaa !5
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %7, label %26, !llvm.loop !17
26: ; preds = %7
%27 = load i32, ptr @nfsrv_uc_group, align 4, !tbaa !5
br label %28
28: ; preds = %26, %0
%29 = phi i32 [ %27, %26 ], [ %2, %0 ]
%30 = load i32, ptr @LCK_ATTR_NULL, align 4, !tbaa !5
%31 = tail call ptr @lck_mtx_alloc_init(i32 noundef %29, i32 noundef %30) #2
store ptr %31, ptr @nfsrv_uc_shutdown_lock, align 8, !tbaa !9
ret void
}
declare i32 @lck_grp_alloc_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(i32 noundef) local_unnamed_addr #1
declare ptr @lck_mtx_alloc_init(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"TYPE_2__", !13, i64 0, !6, i64 8, !10, i64 16, !6, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !10, i64 16}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_upcall.c_nfsrv_uc_init.c'
source_filename = "AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_upcall.c_nfsrv_uc_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, i32, ptr, i32 }
@.str = private unnamed_addr constant [17 x i8] c"nfs_upcall_locks\00", align 1
@LCK_GRP_ATTR_NULL = common local_unnamed_addr global i32 0, align 4
@nfsrv_uc_group = common local_unnamed_addr global i32 0, align 4
@NFS_UC_HASH_SZ = common local_unnamed_addr global i32 0, align 4
@nfsrv_uc_queue_tbl = common local_unnamed_addr global ptr null, align 8
@LCK_ATTR_NULL = common local_unnamed_addr global i32 0, align 4
@THREAD_NULL = common local_unnamed_addr global i32 0, align 4
@nfsrv_uc_shutdown_lock = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @nfsrv_uc_init() local_unnamed_addr #0 {
%1 = load i32, ptr @LCK_GRP_ATTR_NULL, align 4, !tbaa !6
%2 = tail call i32 @lck_grp_alloc_init(ptr noundef nonnull @.str, i32 noundef %1) #2
store i32 %2, ptr @nfsrv_uc_group, align 4, !tbaa !6
%3 = load i32, ptr @NFS_UC_HASH_SZ, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %28
5: ; preds = %0
%6 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !10
br label %7
7: ; preds = %5, %7
%8 = phi ptr [ %6, %5 ], [ %19, %7 ]
%9 = phi i64 [ 0, %5 ], [ %22, %7 ]
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %9, i32 3
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = tail call i32 @TAILQ_INIT(i32 noundef %11) #2
%13 = load i32, ptr @nfsrv_uc_group, align 4, !tbaa !6
%14 = load i32, ptr @LCK_ATTR_NULL, align 4, !tbaa !6
%15 = tail call ptr @lck_mtx_alloc_init(i32 noundef %13, i32 noundef %14) #2
%16 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !10
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %9, i32 2
store ptr %15, ptr %17, align 8, !tbaa !15
%18 = load i32, ptr @THREAD_NULL, align 4, !tbaa !6
%19 = load ptr, ptr @nfsrv_uc_queue_tbl, align 8, !tbaa !10
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9, i32 1
store i32 %18, ptr %20, align 8, !tbaa !16
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9
store i64 0, ptr %21, align 8, !tbaa !17
%22 = add nuw nsw i64 %9, 1
%23 = load i32, ptr @NFS_UC_HASH_SZ, align 4, !tbaa !6
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %7, label %26, !llvm.loop !18
26: ; preds = %7
%27 = load i32, ptr @nfsrv_uc_group, align 4, !tbaa !6
br label %28
28: ; preds = %26, %0
%29 = phi i32 [ %27, %26 ], [ %2, %0 ]
%30 = load i32, ptr @LCK_ATTR_NULL, align 4, !tbaa !6
%31 = tail call ptr @lck_mtx_alloc_init(i32 noundef %29, i32 noundef %30) #2
store ptr %31, ptr @nfsrv_uc_shutdown_lock, align 8, !tbaa !10
ret void
}
declare i32 @lck_grp_alloc_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(i32 noundef) local_unnamed_addr #1
declare ptr @lck_mtx_alloc_init(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 24}
!13 = !{!"TYPE_2__", !14, i64 0, !7, i64 8, !11, i64 16, !7, i64 24}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !11, i64 16}
!16 = !{!13, !7, i64 8}
!17 = !{!13, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| darwin-xnu_bsd_nfs_extr_nfs_upcall.c_nfsrv_uc_init |
; ModuleID = 'AnghaBench/redis/src/extr_t_stream.c_streamLogListpackContent.c'
source_filename = "AnghaBench/redis/src/extr_t_stream.c_streamLogListpackContent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LP_INTBUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@LL_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"- [%d] '%.*s'\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @streamLogListpackContent(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
%3 = tail call ptr @lpFirst(ptr noundef %0) #4
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %16, %5 ], [ %3, %1 ]
%7 = load i32, ptr @LP_INTBUF_SIZE, align 4, !tbaa !5
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%11 = call ptr @lpGet(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef nonnull %10) #4
%12 = load i32, ptr @LL_WARNING, align 4, !tbaa !5
%13 = load i64, ptr %2, align 8, !tbaa !9
%14 = trunc i64 %13 to i32
%15 = call i32 @serverLog(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %14, ptr noundef %11) #4
%16 = call ptr @lpNext(ptr noundef %0, ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
call void @llvm.stackrestore.p0(ptr %9)
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %5, !llvm.loop !11
18: ; preds = %5, %1
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lpFirst(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare ptr @lpGet(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @serverLog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lpNext(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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/redis/src/extr_t_stream.c_streamLogListpackContent.c'
source_filename = "AnghaBench/redis/src/extr_t_stream.c_streamLogListpackContent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LP_INTBUF_SIZE = common local_unnamed_addr global i32 0, align 4
@LL_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"- [%d] '%.*s'\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @streamLogListpackContent(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
%3 = tail call ptr @lpFirst(ptr noundef %0) #4
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %16, %5 ], [ %3, %1 ]
%7 = load i32, ptr @LP_INTBUF_SIZE, align 4, !tbaa !6
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%11 = call ptr @lpGet(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef nonnull %10) #4
%12 = load i32, ptr @LL_WARNING, align 4, !tbaa !6
%13 = load i64, ptr %2, align 8, !tbaa !10
%14 = trunc i64 %13 to i32
%15 = call i32 @serverLog(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %14, ptr noundef %11) #4
%16 = call ptr @lpNext(ptr noundef %0, ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
call void @llvm.stackrestore.p0(ptr %9)
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %5, !llvm.loop !12
18: ; preds = %5, %1
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lpFirst(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare ptr @lpGet(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @serverLog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lpNext(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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| redis_src_extr_t_stream.c_streamLogListpackContent |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_cgame.c_CL_AdjustTimeDelta.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_cgame.c_CL_AdjustTimeDelta.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32, i32, i32, ptr, %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_12__ = type { i64 }
%struct.TYPE_11__ = type { i32 }
@qfalse = dso_local local_unnamed_addr global ptr null, align 8
@cl = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@clc = dso_local local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8
@com_sv_running = dso_local local_unnamed_addr global ptr null, align 8
@RESET_TIME = dso_local local_unnamed_addr global i32 0, align 4
@cls = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
@cl_showTimeDelta = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [9 x i8] c"<RESET> \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"<FAST> \00", align 1
@com_timescale = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @CL_AdjustTimeDelta() local_unnamed_addr #0 {
%1 = load ptr, ptr @qfalse, align 8, !tbaa !5
store ptr %1, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 5), align 8, !tbaa !9
%2 = load i64, ptr @clc, align 8, !tbaa !13
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %50
4: ; preds = %0
%5 = load i32, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 4), align 8, !tbaa !16
%6 = load i32, ptr @cls, align 4, !tbaa !17
%7 = sub nsw i32 %5, %6
%8 = load i32, ptr @cl, align 8, !tbaa !19
%9 = sub nsw i32 %7, %8
%10 = tail call i32 @llvm.abs.i32(i32 %9, i1 true)
%11 = load i32, ptr @RESET_TIME, align 4, !tbaa !20
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %19
13: ; preds = %4
store i32 %7, ptr @cl, align 8, !tbaa !19
store i32 %5, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 1), align 4, !tbaa !21
store i32 %5, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 2), align 8, !tbaa !22
%14 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !5
%15 = load i64, ptr %14, align 8, !tbaa !23
%16 = icmp eq i64 %15, 0
br i1 %16, label %43, label %17
17: ; preds = %13
%18 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str) #3
br label %43
19: ; preds = %4
%20 = icmp ugt i32 %10, 100
br i1 %20, label %21, label %32
21: ; preds = %19
%22 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !5
%23 = load i64, ptr %22, align 8, !tbaa !23
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str.1) #3
%27 = load i32, ptr @cl, align 8, !tbaa !19
br label %28
28: ; preds = %25, %21
%29 = phi i32 [ %27, %25 ], [ %8, %21 ]
%30 = add nsw i32 %29, %7
%31 = ashr i32 %30, 1
store i32 %31, ptr @cl, align 8, !tbaa !19
br label %43
32: ; preds = %19
%33 = load ptr, ptr @com_timescale, align 8, !tbaa !5
%34 = load i32, ptr %33, align 4, !tbaa !25
%35 = icmp ult i32 %34, 2
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load ptr, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 3), align 8, !tbaa !27
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
store ptr %1, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @cl, i64 0, i32 3), align 8, !tbaa !27
%40 = add nsw i32 %8, -2
store i32 %40, ptr @cl, align 8, !tbaa !19
br label %43
41: ; preds = %36
%42 = add nsw i32 %8, 1
store i32 %42, ptr @cl, align 8, !tbaa !19
br label %43
43: ; preds = %32, %28, %39, %41, %13, %17
%44 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !5
%45 = load i64, ptr %44, align 8, !tbaa !23
%46 = icmp eq i64 %45, 0
br i1 %46, label %50, label %47
47: ; preds = %43
%48 = load i32, ptr @cl, align 8, !tbaa !19
%49 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str.2, i32 noundef %48) #3
br label %50
50: ; preds = %43, %47, %0
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
declare i32 @Com_Printf(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 speculatable willreturn memory(none) }
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, !6, i64 32}
!10 = !{!"TYPE_14__", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !12, i64 24, !6, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!"TYPE_8__", !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_12__", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!10, !11, i64 24}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_11__", !11, i64 0}
!19 = !{!10, !11, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!10, !11, i64 4}
!22 = !{!10, !11, i64 8}
!23 = !{!24, !15, i64 0}
!24 = !{!"TYPE_13__", !15, i64 0}
!25 = !{!26, !11, i64 0}
!26 = !{!"TYPE_9__", !11, i64 0}
!27 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_cgame.c_CL_AdjustTimeDelta.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_cgame.c_CL_AdjustTimeDelta.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { i32, i32, i32, ptr, %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_12__ = type { i64 }
%struct.TYPE_11__ = type { i32 }
@qfalse = common local_unnamed_addr global ptr null, align 8
@cl = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@clc = common local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8
@com_sv_running = common local_unnamed_addr global ptr null, align 8
@RESET_TIME = common local_unnamed_addr global i32 0, align 4
@cls = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
@cl_showTimeDelta = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [9 x i8] c"<RESET> \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"<FAST> \00", align 1
@com_timescale = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @CL_AdjustTimeDelta() local_unnamed_addr #0 {
%1 = load ptr, ptr @qfalse, align 8, !tbaa !6
store ptr %1, ptr getelementptr inbounds (i8, ptr @cl, i64 32), align 8, !tbaa !10
%2 = load i64, ptr @clc, align 8, !tbaa !14
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %50
4: ; preds = %0
%5 = load i32, ptr getelementptr inbounds (i8, ptr @cl, i64 24), align 8, !tbaa !17
%6 = load i32, ptr @cls, align 4, !tbaa !18
%7 = sub nsw i32 %5, %6
%8 = load i32, ptr @cl, align 8, !tbaa !20
%9 = sub nsw i32 %7, %8
%10 = tail call i32 @llvm.abs.i32(i32 %9, i1 true)
%11 = load i32, ptr @RESET_TIME, align 4, !tbaa !21
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %19
13: ; preds = %4
store i32 %7, ptr @cl, align 8, !tbaa !20
store i32 %5, ptr getelementptr inbounds (i8, ptr @cl, i64 4), align 4, !tbaa !22
store i32 %5, ptr getelementptr inbounds (i8, ptr @cl, i64 8), align 8, !tbaa !23
%14 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !6
%15 = load i64, ptr %14, align 8, !tbaa !24
%16 = icmp eq i64 %15, 0
br i1 %16, label %43, label %17
17: ; preds = %13
%18 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str) #3
br label %43
19: ; preds = %4
%20 = icmp ugt i32 %10, 100
br i1 %20, label %21, label %32
21: ; preds = %19
%22 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !6
%23 = load i64, ptr %22, align 8, !tbaa !24
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str.1) #3
%27 = load i32, ptr @cl, align 8, !tbaa !20
br label %28
28: ; preds = %25, %21
%29 = phi i32 [ %27, %25 ], [ %8, %21 ]
%30 = add nsw i32 %29, %7
%31 = ashr i32 %30, 1
store i32 %31, ptr @cl, align 8, !tbaa !20
br label %43
32: ; preds = %19
%33 = load ptr, ptr @com_timescale, align 8, !tbaa !6
%34 = load i32, ptr %33, align 4, !tbaa !26
%35 = icmp ult i32 %34, 2
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load ptr, ptr getelementptr inbounds (i8, ptr @cl, i64 16), align 8, !tbaa !28
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
store ptr %1, ptr getelementptr inbounds (i8, ptr @cl, i64 16), align 8, !tbaa !28
%40 = add nsw i32 %8, -2
store i32 %40, ptr @cl, align 8, !tbaa !20
br label %43
41: ; preds = %36
%42 = add nsw i32 %8, 1
store i32 %42, ptr @cl, align 8, !tbaa !20
br label %43
43: ; preds = %32, %28, %39, %41, %13, %17
%44 = load ptr, ptr @cl_showTimeDelta, align 8, !tbaa !6
%45 = load i64, ptr %44, align 8, !tbaa !24
%46 = icmp eq i64 %45, 0
br i1 %46, label %50, label %47
47: ; preds = %43
%48 = load i32, ptr @cl, align 8, !tbaa !20
%49 = tail call i32 (ptr, ...) @Com_Printf(ptr noundef nonnull @.str.2, i32 noundef %48) #3
br label %50
50: ; preds = %43, %47, %0
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
declare i32 @Com_Printf(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 speculatable willreturn memory(none) }
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, !7, i64 32}
!11 = !{!"TYPE_14__", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !13, i64 24, !7, i64 32}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_8__", !12, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_12__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!11, !12, i64 24}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_11__", !12, i64 0}
!20 = !{!11, !12, i64 0}
!21 = !{!12, !12, i64 0}
!22 = !{!11, !12, i64 4}
!23 = !{!11, !12, i64 8}
!24 = !{!25, !16, i64 0}
!25 = !{!"TYPE_13__", !16, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"TYPE_9__", !12, i64 0}
!28 = !{!11, !7, i64 16}
| Quake-III-Arena_code_client_extr_cl_cgame.c_CL_AdjustTimeDelta |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/unix/extr_unix_net.c_NET_ErrorString.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_unix_net.c_NET_ErrorString.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @NET_ErrorString() local_unnamed_addr #0 {
%1 = load i32, ptr @errno, align 4, !tbaa !5
%2 = tail call ptr @strerror(i32 noundef %1) #2
ret ptr %2
}
declare ptr @strerror(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/Quake-III-Arena/code/unix/extr_unix_net.c_NET_ErrorString.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_unix_net.c_NET_ErrorString.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @NET_ErrorString() local_unnamed_addr #0 {
%1 = load i32, ptr @errno, align 4, !tbaa !6
%2 = tail call ptr @strerror(i32 noundef %1) #2
ret ptr %2
}
declare ptr @strerror(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"}
| Quake-III-Arena_code_unix_extr_unix_net.c_NET_ErrorString |
; ModuleID = 'AnghaBench/reactos/dll/win32/dbghelp/extr_dwarf.c_dwarf2_parse_const_type.c'
source_filename = "AnghaBench/reactos/dll/win32/dbghelp/extr_dwarf.c_dwarf2_parse_const_type.c"
target datalayout = "e-m:e-p270:32:32-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 [12 x i8] c"%s, for %s\0A\00", align 1
@sc_void = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Unsupported children\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dwarf2_parse_const_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @dwarf2_parse_const_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %24
5: ; preds = %2
%6 = tail call i32 @dwarf2_debug_ctx(ptr noundef %0) #2
%7 = tail call i32 @dwarf2_debug_di(ptr noundef nonnull %1) #2
%8 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2
%9 = tail call ptr @dwarf2_lookup_type(ptr noundef %0, ptr noundef nonnull %1) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %5
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = load i64, ptr @sc_void, align 8, !tbaa !12
%14 = getelementptr inbounds ptr, ptr %12, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = tail call i32 @assert(ptr noundef %15) #2
br label %17
17: ; preds = %11, %5
%18 = phi ptr [ %9, %5 ], [ %15, %11 ]
%19 = tail call i64 @dwarf2_get_di_children(ptr noundef %0, ptr noundef nonnull %1) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2
br label %23
23: ; preds = %21, %17
store ptr %18, ptr %1, align 8, !tbaa !5
br label %24
24: ; preds = %2, %23
%25 = phi ptr [ %18, %23 ], [ %3, %2 ]
ret ptr %25
}
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dwarf2_debug_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @dwarf2_debug_di(ptr noundef) local_unnamed_addr #1
declare ptr @dwarf2_lookup_type(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @dwarf2_get_di_children(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FIXME(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_12__", !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_11__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/dbghelp/extr_dwarf.c_dwarf2_parse_const_type.c'
source_filename = "AnghaBench/reactos/dll/win32/dbghelp/extr_dwarf.c_dwarf2_parse_const_type.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 [12 x i8] c"%s, for %s\0A\00", align 1
@sc_void = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Unsupported children\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dwarf2_parse_const_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @dwarf2_parse_const_type(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %24
5: ; preds = %2
%6 = tail call i32 @dwarf2_debug_ctx(ptr noundef %0) #2
%7 = tail call i32 @dwarf2_debug_di(ptr noundef nonnull %1) #2
%8 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2
%9 = tail call ptr @dwarf2_lookup_type(ptr noundef %0, ptr noundef nonnull %1) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %5
%12 = load ptr, ptr %0, align 8, !tbaa !11
%13 = load i64, ptr @sc_void, align 8, !tbaa !13
%14 = getelementptr inbounds ptr, ptr %12, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = tail call i32 @assert(ptr noundef %15) #2
br label %17
17: ; preds = %11, %5
%18 = phi ptr [ %9, %5 ], [ %15, %11 ]
%19 = tail call i64 @dwarf2_get_di_children(ptr noundef %0, ptr noundef nonnull %1) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2
br label %23
23: ; preds = %21, %17
store ptr %18, ptr %1, align 8, !tbaa !6
br label %24
24: ; preds = %2, %23
%25 = phi ptr [ %18, %23 ], [ %3, %2 ]
ret ptr %25
}
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dwarf2_debug_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @dwarf2_debug_di(ptr noundef) local_unnamed_addr #1
declare ptr @dwarf2_lookup_type(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @dwarf2_get_di_children(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FIXME(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_12__", !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_11__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!8, !8, i64 0}
| reactos_dll_win32_dbghelp_extr_dwarf.c_dwarf2_parse_const_type |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_apbuart.c_apbuart_set_mctrl.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_apbuart.c_apbuart_set_mctrl.c"
target datalayout = "e-m:e-p270:32:32-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 @apbuart_set_mctrl], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @apbuart_set_mctrl(ptr nocapture readnone %0, i32 %1) #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/linux/drivers/tty/serial/extr_apbuart.c_apbuart_set_mctrl.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_apbuart.c_apbuart_set_mctrl.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 @apbuart_set_mctrl], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @apbuart_set_mctrl(ptr nocapture readnone %0, i32 %1) #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)"}
| linux_drivers_tty_serial_extr_apbuart.c_apbuart_set_mctrl |
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-s3c2410.c_s3c24xx_i2c_probe.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-s3c2410.c_s3c24xx_i2c_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.s3c24xx_i2c = type { i32, i32, i32, %struct.TYPE_18__, i32, ptr, i32, ptr, i32, i32, i32 }
%struct.TYPE_18__ = type { i32, %struct.TYPE_16__, i32, ptr, i32, ptr, i32, i32 }
%struct.TYPE_16__ = type { i64, ptr }
%struct.TYPE_17__ = type { i32, ptr }
@.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"s3c2410-i2c\00", align 1
@THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@s3c24xx_i2c_algorithm = dso_local global i32 0, align 4
@I2C_CLASS_DEPRECATED = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"i2c\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"cannot get clock\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"clock source %p\0A\00", align 1
@IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [19 x i8] c"registers %p (%p)\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"I2C clock enable failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"I2C controller init failed\0A\00", align 1
@QUIRK_POLL = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [17 x i8] c"cannot find IRQ\0A\00", align 1
@s3c24xx_i2c_irq = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [21 x i8] c"cannot claim IRQ %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"failed to register cpufreq notifier\0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"%s: S3C I2C adapter\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @s3c24xx_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s3c24xx_i2c_probe(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1
%5 = tail call ptr @dev_get_platdata(ptr noundef nonnull %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %161
11: ; preds = %4, %1
%12 = phi ptr [ null, %1 ], [ %5, %4 ]
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%14 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %13) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %161
19: ; preds = %11
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%21 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %20) #2
%22 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 5
store ptr %21, ptr %22, align 8, !tbaa !14
%23 = icmp eq ptr %21, null
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%26 = sub nsw i32 0, %25
br label %161
27: ; preds = %19
%28 = tail call i32 @s3c24xx_get_device_quirks(ptr noundef nonnull %0) #2
store i32 %28, ptr %14, align 8, !tbaa !17
%29 = load i32, ptr @ENOENT, align 4, !tbaa !12
%30 = sub nsw i32 0, %29
%31 = tail call i32 @ERR_PTR(i32 noundef %30) #2
%32 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 10
store i32 %31, ptr %32, align 8, !tbaa !18
%33 = icmp eq ptr %12, null
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = load ptr, ptr %22, align 8, !tbaa !14
%36 = tail call i32 @memcpy(ptr noundef %35, ptr noundef nonnull %12, i32 noundef 4) #2
br label %40
37: ; preds = %27
%38 = load i64, ptr %0, align 8, !tbaa !5
%39 = tail call i32 @s3c24xx_i2c_parse_dt(i64 noundef %38, ptr noundef nonnull %14) #2
br label %40
40: ; preds = %37, %34
%41 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3
%42 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 7
%43 = load i32, ptr %42, align 4, !tbaa !19
%44 = tail call i32 @strlcpy(i32 noundef %43, ptr noundef nonnull @.str.1, i32 noundef 4) #2
%45 = load i32, ptr @THIS_MODULE, align 4, !tbaa !12
%46 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 6
store i32 %45, ptr %46, align 8, !tbaa !20
%47 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 5
store ptr @s3c24xx_i2c_algorithm, ptr %47, align 8, !tbaa !21
store i32 2, ptr %41, align 8, !tbaa !22
%48 = load i32, ptr @I2C_CLASS_DEPRECATED, align 4, !tbaa !12
%49 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 4
store i32 %48, ptr %49, align 8, !tbaa !23
%50 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 1
store i32 50, ptr %50, align 4, !tbaa !24
%51 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 9
%52 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %51) #2
%53 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 7
store ptr %0, ptr %53, align 8, !tbaa !25
%54 = tail call i32 @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%55 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 4
store i32 %54, ptr %55, align 8, !tbaa !26
%56 = tail call i64 @IS_ERR(i32 noundef %54) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %40
%59 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2
%60 = load i32, ptr @ENOENT, align 4, !tbaa !12
%61 = sub nsw i32 0, %60
br label %161
62: ; preds = %40
%63 = load i32, ptr %55, align 8, !tbaa !26
%64 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef %63) #2
%65 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !12
%66 = tail call ptr @platform_get_resource(ptr noundef nonnull %0, i32 noundef %65, i32 noundef 0) #2
%67 = tail call i32 @devm_ioremap_resource(ptr noundef nonnull %0, ptr noundef %66) #2
%68 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 8
store i32 %67, ptr %68, align 8, !tbaa !27
%69 = tail call i64 @IS_ERR(i32 noundef %67) #2
%70 = icmp eq i64 %69, 0
%71 = load i32, ptr %68, align 8, !tbaa !27
br i1 %70, label %74, label %72
72: ; preds = %62
%73 = tail call i32 @PTR_ERR(i32 noundef %71) #2
br label %161
74: ; preds = %62
%75 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %71, ptr noundef %66) #2
%76 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 3
store ptr %14, ptr %76, align 8, !tbaa !28
%77 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 1
%78 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 1, i32 1
store ptr %0, ptr %78, align 8, !tbaa !29
%79 = load ptr, ptr %53, align 8, !tbaa !25
%80 = tail call i32 @devm_pinctrl_get_select_default(ptr noundef %79) #2
%81 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 6
store i32 %80, ptr %81, align 8, !tbaa !30
%82 = load ptr, ptr %22, align 8, !tbaa !14
%83 = getelementptr inbounds %struct.TYPE_17__, ptr %82, i64 0, i32 1
%84 = load ptr, ptr %83, align 8, !tbaa !31
%85 = icmp eq ptr %84, null
br i1 %85, label %90, label %86
86: ; preds = %74
%87 = load ptr, ptr %53, align 8, !tbaa !25
%88 = tail call i32 @to_platform_device(ptr noundef %87) #2
%89 = tail call i32 %84(i32 noundef %88) #2
br label %99
90: ; preds = %74
%91 = tail call i64 @IS_ERR(i32 noundef %80) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %99, label %93
93: ; preds = %90
%94 = tail call i64 @s3c24xx_i2c_parse_dt_gpio(ptr noundef nonnull %14) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %99, label %96
96: ; preds = %93
%97 = load i32, ptr @EINVAL, align 4, !tbaa !12
%98 = sub nsw i32 0, %97
br label %161
99: ; preds = %90, %93, %86
%100 = load i32, ptr %55, align 8, !tbaa !26
%101 = tail call i32 @clk_prepare_enable(i32 noundef %100) #2
%102 = icmp eq i32 %101, 0
br i1 %102, label %105, label %103
103: ; preds = %99
%104 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #2
br label %161
105: ; preds = %99
%106 = tail call i32 @s3c24xx_i2c_init(ptr noundef nonnull %14) #2
%107 = load i32, ptr %55, align 8, !tbaa !26
%108 = tail call i32 @clk_disable(i32 noundef %107) #2
%109 = icmp eq i32 %106, 0
br i1 %109, label %114, label %110
110: ; preds = %105
%111 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.7) #2
%112 = load i32, ptr %55, align 8, !tbaa !26
%113 = tail call i32 @clk_unprepare(i32 noundef %112) #2
br label %161
114: ; preds = %105
%115 = load i32, ptr %14, align 8, !tbaa !17
%116 = load i32, ptr @QUIRK_POLL, align 4, !tbaa !12
%117 = and i32 %116, %115
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %137
119: ; preds = %114
%120 = tail call i32 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2
%121 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 2
store i32 %120, ptr %121, align 8, !tbaa !33
%122 = icmp slt i32 %120, 1
br i1 %122, label %123, label %127
123: ; preds = %119
%124 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.8) #2
%125 = load i32, ptr %55, align 8, !tbaa !26
%126 = tail call i32 @clk_unprepare(i32 noundef %125) #2
br label %161
127: ; preds = %119
%128 = load i32, ptr @s3c24xx_i2c_irq, align 4, !tbaa !12
%129 = tail call i32 @dev_name(ptr noundef nonnull %0) #2
%130 = tail call i32 @devm_request_irq(ptr noundef nonnull %0, i32 noundef %120, i32 noundef %128, i32 noundef 0, i32 noundef %129, ptr noundef nonnull %14) #2
%131 = icmp eq i32 %130, 0
br i1 %131, label %137, label %132
132: ; preds = %127
%133 = load i32, ptr %121, align 8, !tbaa !33
%134 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %133) #2
%135 = load i32, ptr %55, align 8, !tbaa !26
%136 = tail call i32 @clk_unprepare(i32 noundef %135) #2
br label %161
137: ; preds = %127, %114
%138 = tail call i32 @s3c24xx_i2c_register_cpufreq(ptr noundef nonnull %14) #2
%139 = icmp slt i32 %138, 0
br i1 %139, label %140, label %144
140: ; preds = %137
%141 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.10) #2
%142 = load i32, ptr %55, align 8, !tbaa !26
%143 = tail call i32 @clk_unprepare(i32 noundef %142) #2
br label %161
144: ; preds = %137
%145 = load ptr, ptr %22, align 8, !tbaa !14
%146 = load i32, ptr %145, align 8, !tbaa !34
%147 = getelementptr inbounds %struct.s3c24xx_i2c, ptr %14, i64 0, i32 3, i32 2
store i32 %146, ptr %147, align 8, !tbaa !35
%148 = load i64, ptr %0, align 8, !tbaa !5
store i64 %148, ptr %77, align 8, !tbaa !36
%149 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %14) #2
%150 = tail call i32 @pm_runtime_enable(ptr noundef nonnull %0) #2
%151 = tail call i32 @i2c_add_numbered_adapter(ptr noundef nonnull %41) #2
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %158
153: ; preds = %144
%154 = tail call i32 @pm_runtime_disable(ptr noundef nonnull %0) #2
%155 = tail call i32 @s3c24xx_i2c_deregister_cpufreq(ptr noundef nonnull %14) #2
%156 = load i32, ptr %55, align 8, !tbaa !26
%157 = tail call i32 @clk_unprepare(i32 noundef %156) #2
br label %161
158: ; preds = %144
%159 = tail call i32 @dev_name(ptr noundef nonnull %77) #2
%160 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.11, i32 noundef %159) #2
br label %161
161: ; preds = %158, %153, %140, %132, %123, %110, %103, %96, %72, %58, %24, %16, %7
%162 = phi i32 [ %61, %58 ], [ %73, %72 ], [ %101, %103 ], [ %106, %110 ], [ %138, %140 ], [ %151, %153 ], [ 0, %158 ], [ %120, %123 ], [ %130, %132 ], [ %98, %96 ], [ %26, %24 ], [ %18, %16 ], [ %10, %7 ]
ret i32 %162
}
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_get_device_quirks(ptr noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_parse_dt(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @devm_pinctrl_get_select_default(ptr noundef) local_unnamed_addr #1
declare i32 @to_platform_device(ptr noundef) local_unnamed_addr #1
declare i64 @s3c24xx_i2c_parse_dt_gpio(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_init(ptr noundef) local_unnamed_addr #1
declare i32 @clk_disable(i32 noundef) local_unnamed_addr #1
declare i32 @clk_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_name(ptr noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_register_cpufreq(ptr noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_enable(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_add_numbered_adapter(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_deregister_cpufreq(ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(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, !8, i64 0}
!6 = !{!"platform_device", !7, i64 0}
!7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !11, i64 88}
!15 = !{!"s3c24xx_i2c", !13, i64 0, !13, i64 4, !13, i64 8, !16, i64 16, !13, i64 80, !11, i64 88, !13, i64 96, !11, i64 104, !13, i64 112, !13, i64 116, !13, i64 120}
!16 = !{!"TYPE_18__", !13, i64 0, !7, i64 8, !13, i64 24, !11, i64 32, !13, i64 40, !11, i64 48, !13, i64 56, !13, i64 60}
!17 = !{!15, !13, i64 0}
!18 = !{!15, !13, i64 120}
!19 = !{!15, !13, i64 76}
!20 = !{!15, !13, i64 72}
!21 = !{!15, !11, i64 64}
!22 = !{!15, !13, i64 16}
!23 = !{!15, !13, i64 56}
!24 = !{!15, !13, i64 4}
!25 = !{!15, !11, i64 104}
!26 = !{!15, !13, i64 80}
!27 = !{!15, !13, i64 112}
!28 = !{!15, !11, i64 48}
!29 = !{!15, !11, i64 32}
!30 = !{!15, !13, i64 96}
!31 = !{!32, !11, i64 8}
!32 = !{!"TYPE_17__", !13, i64 0, !11, i64 8}
!33 = !{!15, !13, i64 8}
!34 = !{!32, !13, i64 0}
!35 = !{!15, !13, i64 40}
!36 = !{!15, !8, i64 24}
| ; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-s3c2410.c_s3c24xx_i2c_probe.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-s3c2410.c_s3c24xx_i2c_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"s3c2410-i2c\00", align 1
@THIS_MODULE = common local_unnamed_addr global i32 0, align 4
@s3c24xx_i2c_algorithm = common global i32 0, align 4
@I2C_CLASS_DEPRECATED = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"i2c\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"cannot get clock\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"clock source %p\0A\00", align 1
@IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [19 x i8] c"registers %p (%p)\0A\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"I2C clock enable failed\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"I2C controller init failed\0A\00", align 1
@QUIRK_POLL = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [17 x i8] c"cannot find IRQ\0A\00", align 1
@s3c24xx_i2c_irq = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [21 x i8] c"cannot claim IRQ %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"failed to register cpufreq notifier\0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"%s: S3C I2C adapter\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @s3c24xx_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s3c24xx_i2c_probe(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1
%5 = tail call ptr @dev_get_platdata(ptr noundef nonnull %0) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !13
%10 = sub nsw i32 0, %9
br label %161
11: ; preds = %4, %1
%12 = phi ptr [ null, %1 ], [ %5, %4 ]
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%14 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 128, i32 noundef %13) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%18 = sub nsw i32 0, %17
br label %161
19: ; preds = %11
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%21 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %14, i64 88
store ptr %21, ptr %22, align 8, !tbaa !15
%23 = icmp eq ptr %21, null
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%26 = sub nsw i32 0, %25
br label %161
27: ; preds = %19
%28 = tail call i32 @s3c24xx_get_device_quirks(ptr noundef nonnull %0) #2
store i32 %28, ptr %14, align 8, !tbaa !18
%29 = load i32, ptr @ENOENT, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
%31 = tail call i32 @ERR_PTR(i32 noundef %30) #2
%32 = getelementptr inbounds i8, ptr %14, i64 120
store i32 %31, ptr %32, align 8, !tbaa !19
%33 = icmp eq ptr %12, null
br i1 %33, label %37, label %34
34: ; preds = %27
%35 = load ptr, ptr %22, align 8, !tbaa !15
%36 = tail call i32 @memcpy(ptr noundef %35, ptr noundef nonnull %12, i32 noundef 4) #2
br label %40
37: ; preds = %27
%38 = load i64, ptr %0, align 8, !tbaa !6
%39 = tail call i32 @s3c24xx_i2c_parse_dt(i64 noundef %38, ptr noundef nonnull %14) #2
br label %40
40: ; preds = %37, %34
%41 = getelementptr inbounds i8, ptr %14, i64 16
%42 = getelementptr inbounds i8, ptr %14, i64 76
%43 = load i32, ptr %42, align 4, !tbaa !20
%44 = tail call i32 @strlcpy(i32 noundef %43, ptr noundef nonnull @.str.1, i32 noundef 4) #2
%45 = load i32, ptr @THIS_MODULE, align 4, !tbaa !13
%46 = getelementptr inbounds i8, ptr %14, i64 72
store i32 %45, ptr %46, align 8, !tbaa !21
%47 = getelementptr inbounds i8, ptr %14, i64 64
store ptr @s3c24xx_i2c_algorithm, ptr %47, align 8, !tbaa !22
store i32 2, ptr %41, align 8, !tbaa !23
%48 = load i32, ptr @I2C_CLASS_DEPRECATED, align 4, !tbaa !13
%49 = getelementptr inbounds i8, ptr %14, i64 56
store i32 %48, ptr %49, align 8, !tbaa !24
%50 = getelementptr inbounds i8, ptr %14, i64 4
store i32 50, ptr %50, align 4, !tbaa !25
%51 = getelementptr inbounds i8, ptr %14, i64 116
%52 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %51) #2
%53 = getelementptr inbounds i8, ptr %14, i64 104
store ptr %0, ptr %53, align 8, !tbaa !26
%54 = tail call i32 @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%55 = getelementptr inbounds i8, ptr %14, i64 80
store i32 %54, ptr %55, align 8, !tbaa !27
%56 = tail call i64 @IS_ERR(i32 noundef %54) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %40
%59 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2
%60 = load i32, ptr @ENOENT, align 4, !tbaa !13
%61 = sub nsw i32 0, %60
br label %161
62: ; preds = %40
%63 = load i32, ptr %55, align 8, !tbaa !27
%64 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef %63) #2
%65 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !13
%66 = tail call ptr @platform_get_resource(ptr noundef nonnull %0, i32 noundef %65, i32 noundef 0) #2
%67 = tail call i32 @devm_ioremap_resource(ptr noundef nonnull %0, ptr noundef %66) #2
%68 = getelementptr inbounds i8, ptr %14, i64 112
store i32 %67, ptr %68, align 8, !tbaa !28
%69 = tail call i64 @IS_ERR(i32 noundef %67) #2
%70 = icmp eq i64 %69, 0
%71 = load i32, ptr %68, align 8, !tbaa !28
br i1 %70, label %74, label %72
72: ; preds = %62
%73 = tail call i32 @PTR_ERR(i32 noundef %71) #2
br label %161
74: ; preds = %62
%75 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %71, ptr noundef %66) #2
%76 = getelementptr inbounds i8, ptr %14, i64 48
store ptr %14, ptr %76, align 8, !tbaa !29
%77 = getelementptr inbounds i8, ptr %14, i64 24
%78 = getelementptr inbounds i8, ptr %14, i64 32
store ptr %0, ptr %78, align 8, !tbaa !30
%79 = load ptr, ptr %53, align 8, !tbaa !26
%80 = tail call i32 @devm_pinctrl_get_select_default(ptr noundef %79) #2
%81 = getelementptr inbounds i8, ptr %14, i64 96
store i32 %80, ptr %81, align 8, !tbaa !31
%82 = load ptr, ptr %22, align 8, !tbaa !15
%83 = getelementptr inbounds i8, ptr %82, i64 8
%84 = load ptr, ptr %83, align 8, !tbaa !32
%85 = icmp eq ptr %84, null
br i1 %85, label %90, label %86
86: ; preds = %74
%87 = load ptr, ptr %53, align 8, !tbaa !26
%88 = tail call i32 @to_platform_device(ptr noundef %87) #2
%89 = tail call i32 %84(i32 noundef %88) #2
br label %99
90: ; preds = %74
%91 = tail call i64 @IS_ERR(i32 noundef %80) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %99, label %93
93: ; preds = %90
%94 = tail call i64 @s3c24xx_i2c_parse_dt_gpio(ptr noundef nonnull %14) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %99, label %96
96: ; preds = %93
%97 = load i32, ptr @EINVAL, align 4, !tbaa !13
%98 = sub nsw i32 0, %97
br label %161
99: ; preds = %90, %93, %86
%100 = load i32, ptr %55, align 8, !tbaa !27
%101 = tail call i32 @clk_prepare_enable(i32 noundef %100) #2
%102 = icmp eq i32 %101, 0
br i1 %102, label %105, label %103
103: ; preds = %99
%104 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #2
br label %161
105: ; preds = %99
%106 = tail call i32 @s3c24xx_i2c_init(ptr noundef nonnull %14) #2
%107 = load i32, ptr %55, align 8, !tbaa !27
%108 = tail call i32 @clk_disable(i32 noundef %107) #2
%109 = icmp eq i32 %106, 0
br i1 %109, label %114, label %110
110: ; preds = %105
%111 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.7) #2
%112 = load i32, ptr %55, align 8, !tbaa !27
%113 = tail call i32 @clk_unprepare(i32 noundef %112) #2
br label %161
114: ; preds = %105
%115 = load i32, ptr %14, align 8, !tbaa !18
%116 = load i32, ptr @QUIRK_POLL, align 4, !tbaa !13
%117 = and i32 %116, %115
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %137
119: ; preds = %114
%120 = tail call i32 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2
%121 = getelementptr inbounds i8, ptr %14, i64 8
store i32 %120, ptr %121, align 8, !tbaa !34
%122 = icmp slt i32 %120, 1
br i1 %122, label %123, label %127
123: ; preds = %119
%124 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.8) #2
%125 = load i32, ptr %55, align 8, !tbaa !27
%126 = tail call i32 @clk_unprepare(i32 noundef %125) #2
br label %161
127: ; preds = %119
%128 = load i32, ptr @s3c24xx_i2c_irq, align 4, !tbaa !13
%129 = tail call i32 @dev_name(ptr noundef nonnull %0) #2
%130 = tail call i32 @devm_request_irq(ptr noundef nonnull %0, i32 noundef %120, i32 noundef %128, i32 noundef 0, i32 noundef %129, ptr noundef nonnull %14) #2
%131 = icmp eq i32 %130, 0
br i1 %131, label %137, label %132
132: ; preds = %127
%133 = load i32, ptr %121, align 8, !tbaa !34
%134 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, i32 noundef %133) #2
%135 = load i32, ptr %55, align 8, !tbaa !27
%136 = tail call i32 @clk_unprepare(i32 noundef %135) #2
br label %161
137: ; preds = %127, %114
%138 = tail call i32 @s3c24xx_i2c_register_cpufreq(ptr noundef nonnull %14) #2
%139 = icmp slt i32 %138, 0
br i1 %139, label %140, label %144
140: ; preds = %137
%141 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.10) #2
%142 = load i32, ptr %55, align 8, !tbaa !27
%143 = tail call i32 @clk_unprepare(i32 noundef %142) #2
br label %161
144: ; preds = %137
%145 = load ptr, ptr %22, align 8, !tbaa !15
%146 = load i32, ptr %145, align 8, !tbaa !35
%147 = getelementptr inbounds i8, ptr %14, i64 40
store i32 %146, ptr %147, align 8, !tbaa !36
%148 = load i64, ptr %0, align 8, !tbaa !6
store i64 %148, ptr %77, align 8, !tbaa !37
%149 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %14) #2
%150 = tail call i32 @pm_runtime_enable(ptr noundef nonnull %0) #2
%151 = tail call i32 @i2c_add_numbered_adapter(ptr noundef nonnull %41) #2
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %158
153: ; preds = %144
%154 = tail call i32 @pm_runtime_disable(ptr noundef nonnull %0) #2
%155 = tail call i32 @s3c24xx_i2c_deregister_cpufreq(ptr noundef nonnull %14) #2
%156 = load i32, ptr %55, align 8, !tbaa !27
%157 = tail call i32 @clk_unprepare(i32 noundef %156) #2
br label %161
158: ; preds = %144
%159 = tail call i32 @dev_name(ptr noundef nonnull %77) #2
%160 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.11, i32 noundef %159) #2
br label %161
161: ; preds = %158, %153, %140, %132, %123, %110, %103, %96, %72, %58, %24, %16, %7
%162 = phi i32 [ %61, %58 ], [ %73, %72 ], [ %101, %103 ], [ %106, %110 ], [ %138, %140 ], [ %151, %153 ], [ 0, %158 ], [ %120, %123 ], [ %130, %132 ], [ %98, %96 ], [ %26, %24 ], [ %18, %16 ], [ %10, %7 ]
ret i32 %162
}
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_get_device_quirks(ptr noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_parse_dt(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @devm_pinctrl_get_select_default(ptr noundef) local_unnamed_addr #1
declare i32 @to_platform_device(ptr noundef) local_unnamed_addr #1
declare i64 @s3c24xx_i2c_parse_dt_gpio(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_init(ptr noundef) local_unnamed_addr #1
declare i32 @clk_disable(i32 noundef) local_unnamed_addr #1
declare i32 @clk_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_name(ptr noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_register_cpufreq(ptr noundef) local_unnamed_addr #1
declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_enable(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_add_numbered_adapter(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1
declare i32 @s3c24xx_i2c_deregister_cpufreq(ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(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, !9, i64 0}
!7 = !{!"platform_device", !8, i64 0}
!8 = !{!"TYPE_16__", !9, i64 0, !12, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!16, !12, i64 88}
!16 = !{!"s3c24xx_i2c", !14, i64 0, !14, i64 4, !14, i64 8, !17, i64 16, !14, i64 80, !12, i64 88, !14, i64 96, !12, i64 104, !14, i64 112, !14, i64 116, !14, i64 120}
!17 = !{!"TYPE_18__", !14, i64 0, !8, i64 8, !14, i64 24, !12, i64 32, !14, i64 40, !12, i64 48, !14, i64 56, !14, i64 60}
!18 = !{!16, !14, i64 0}
!19 = !{!16, !14, i64 120}
!20 = !{!16, !14, i64 76}
!21 = !{!16, !14, i64 72}
!22 = !{!16, !12, i64 64}
!23 = !{!16, !14, i64 16}
!24 = !{!16, !14, i64 56}
!25 = !{!16, !14, i64 4}
!26 = !{!16, !12, i64 104}
!27 = !{!16, !14, i64 80}
!28 = !{!16, !14, i64 112}
!29 = !{!16, !12, i64 48}
!30 = !{!16, !12, i64 32}
!31 = !{!16, !14, i64 96}
!32 = !{!33, !12, i64 8}
!33 = !{!"TYPE_17__", !14, i64 0, !12, i64 8}
!34 = !{!16, !14, i64 8}
!35 = !{!33, !14, i64 0}
!36 = !{!16, !14, i64 40}
!37 = !{!16, !9, i64 24}
| linux_drivers_i2c_busses_extr_i2c-s3c2410.c_s3c24xx_i2c_probe |
; ModuleID = 'AnghaBench/postgres/src/common/extr_sha2_openssl.c_pg_sha224_update.c'
source_filename = "AnghaBench/postgres/src/common/extr_sha2_openssl.c_pg_sha224_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @pg_sha224_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SHA224_Update(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @SHA224_Update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/postgres/src/common/extr_sha2_openssl.c_pg_sha224_update.c'
source_filename = "AnghaBench/postgres/src/common/extr_sha2_openssl.c_pg_sha224_update.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 @pg_sha224_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SHA224_Update(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
ret void
}
declare i32 @SHA224_Update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| postgres_src_common_extr_sha2_openssl.c_pg_sha224_update |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vc1_block.c_vc1_decode_p_block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vc1_block.c_vc1_decode_p_block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i64, i32, ptr, ptr, %struct.TYPE_11__, i32, ptr, i32, i32, ptr, i32, i64, %struct.TYPE_14__ }
%struct.TYPE_11__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_14__ = type { %struct.TYPE_10__, %struct.TYPE_12__, i32 }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_12__ = type { ptr }
%struct.TYPE_15__ = type { i32 }
%struct.TYPE_16__ = type { i32 }
@ff_vc1_ttblk_to_tt = dso_local local_unnamed_addr global ptr null, align 8
@ff_vc1_ttblk_vlc = dso_local local_unnamed_addr global ptr null, align 8
@VC1_TTBLK_VLC_BITS = dso_local local_unnamed_addr global i32 0, align 4
@ff_vc1_subblkpat_vlc = dso_local local_unnamed_addr global ptr null, align 8
@VC1_SUBBLKPAT_VLC_BITS = dso_local local_unnamed_addr global i32 0, align 4
@TT_8X4_TOP = dso_local local_unnamed_addr global i32 0, align 4
@TT_8X4_BOTTOM = dso_local local_unnamed_addr global i32 0, align 4
@TT_4X8_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@TT_4X8_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@ff_vc1_simple_progressive_4x4_zz = dso_local local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_4x4_zz = dso_local local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_8x4_zz = dso_local local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_4x8_zz = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vc1_decode_p_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vc1_decode_p_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 12
%15 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 12, i32 2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%16 = tail call i32 @FFABS(i32 noundef %3) #3
%17 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 12, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !5
%19 = tail call i32 %18(ptr noundef %1) #3
%20 = icmp eq i32 %4, -1
br i1 %20, label %21, label %46
21: ; preds = %10
%22 = load ptr, ptr @ff_vc1_ttblk_to_tt, align 8, !tbaa !13
%23 = load i64, ptr %0, align 8, !tbaa !14
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = load ptr, ptr @ff_vc1_ttblk_vlc, align 8, !tbaa !13
%27 = getelementptr inbounds %struct.TYPE_15__, ptr %26, i64 %23
%28 = load i32, ptr %27, align 4, !tbaa !18
%29 = load i32, ptr @VC1_TTBLK_VLC_BITS, align 4, !tbaa !20
%30 = tail call i32 @get_vlc2(ptr noundef nonnull %15, i32 noundef %28, i32 noundef %29, i32 noundef 1) #3
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %25, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !20
switch i32 %33, label %42 [
i32 131, label %34
i32 128, label %82
]
34: ; preds = %21
%35 = load ptr, ptr @ff_vc1_subblkpat_vlc, align 8, !tbaa !13
%36 = load i64, ptr %0, align 8, !tbaa !14
%37 = getelementptr inbounds %struct.TYPE_16__, ptr %35, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !21
%39 = load i32, ptr @VC1_SUBBLKPAT_VLC_BITS, align 4, !tbaa !20
%40 = tail call i32 @get_vlc2(ptr noundef nonnull %15, i32 noundef %38, i32 noundef %39, i32 noundef 1) #3
%41 = sub i32 -2, %40
br label %82
42: ; preds = %21
%43 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 11
%44 = load i64, ptr %43, align 8, !tbaa !23
%45 = icmp eq i64 %44, 0
br i1 %45, label %51, label %64
46: ; preds = %10
%47 = and i32 %4, 7
%48 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 11
%49 = load i64, ptr %48, align 8, !tbaa !23
%50 = icmp eq i64 %49, 0
br i1 %50, label %52, label %64
51: ; preds = %42
br i1 %20, label %58, label %52
52: ; preds = %46, %51
%53 = phi i32 [ %33, %51 ], [ %47, %46 ]
%54 = and i32 %4, 8
%55 = icmp eq i32 %54, 0
%56 = icmp ne i32 %5, 0
%57 = or i1 %55, %56
br i1 %57, label %58, label %64
58: ; preds = %52, %51
%59 = phi i32 [ %53, %52 ], [ %33, %51 ]
%60 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 10
%61 = load i32, ptr %60, align 8, !tbaa !24
%62 = or i32 %61, %5
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %82
64: ; preds = %46, %58, %52, %42
%65 = phi i32 [ %47, %46 ], [ %59, %58 ], [ %53, %52 ], [ %33, %42 ]
%66 = tail call i32 @decode012(ptr noundef nonnull %15) #3
%67 = icmp eq i32 %66, 0
%68 = xor i32 %66, 3
%69 = select i1 %67, i32 0, i32 %68
%70 = load i32, ptr @TT_8X4_TOP, align 4, !tbaa !20
%71 = icmp eq i32 %65, %70
%72 = load i32, ptr @TT_8X4_BOTTOM, align 4
%73 = icmp eq i32 %65, %72
%74 = select i1 %71, i1 true, i1 %73
%75 = select i1 %74, i32 129, i32 %65
%76 = load i32, ptr @TT_4X8_RIGHT, align 4, !tbaa !20
%77 = icmp eq i32 %75, %76
%78 = load i32, ptr @TT_4X8_LEFT, align 4
%79 = icmp eq i32 %75, %78
%80 = select i1 %77, i1 true, i1 %79
%81 = select i1 %80, i32 130, i32 %75
br label %82
82: ; preds = %21, %34, %64, %58
%83 = phi i32 [ %59, %58 ], [ %81, %64 ], [ 131, %34 ], [ %33, %21 ]
%84 = phi i32 [ 0, %58 ], [ %69, %64 ], [ %41, %34 ], [ 0, %21 ]
%85 = shl nsw i32 %16, 1
%86 = icmp slt i32 %3, 0
br i1 %86, label %90, label %87
87: ; preds = %82
%88 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%89 = load i32, ptr %88, align 8, !tbaa !25
br label %90
90: ; preds = %82, %87
%91 = phi i32 [ %89, %87 ], [ 0, %82 ]
%92 = add nsw i32 %91, %85
%93 = load i32, ptr @TT_8X4_TOP, align 4
%94 = icmp eq i32 %83, %93
%95 = load i32, ptr @TT_8X4_BOTTOM, align 4
%96 = icmp eq i32 %83, %95
%97 = select i1 %94, i1 true, i1 %96
%98 = select i1 %97, i32 129, i32 %83
%99 = select i1 %96, i32 2, i32 %84
%100 = select i1 %94, i32 1, i32 %99
%101 = load i32, ptr @TT_4X8_RIGHT, align 4, !tbaa !20
%102 = icmp eq i32 %98, %101
%103 = load i32, ptr @TT_4X8_LEFT, align 4
%104 = icmp eq i32 %98, %103
%105 = select i1 %102, i1 true, i1 %104
%106 = select i1 %105, i32 130, i32 %98
%107 = select i1 %102, i32 2, i32 %100
%108 = select i1 %104, i32 1, i32 %107
switch i32 %106, label %442 [
i32 128, label %109
i32 131, label %165
i32 129, label %237
i32 130, label %341
]
109: ; preds = %90
store i32 0, ptr %11, align 4, !tbaa !20
%110 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 8
%111 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 7
%112 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3
%113 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%114 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5
%115 = sub nsw i32 0, %16
br label %119
116: ; preds = %146, %133
%117 = load i32, ptr %11, align 4, !tbaa !20
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %150
119: ; preds = %109, %116
%120 = phi i32 [ 0, %109 ], [ %138, %116 ]
%121 = load i32, ptr %110, align 4, !tbaa !26
%122 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %121) #3
%123 = icmp slt i32 %122, 0
br i1 %123, label %450, label %124
124: ; preds = %119
%125 = load i32, ptr %12, align 4, !tbaa !20
%126 = add nsw i32 %125, %120
%127 = icmp sgt i32 %126, 63
br i1 %127, label %150, label %128
128: ; preds = %124
%129 = load i32, ptr %111, align 8, !tbaa !27
%130 = icmp eq i32 %129, 0
br i1 %130, label %131, label %133
131: ; preds = %128
%132 = load ptr, ptr %113, align 8, !tbaa !28
br label %133
133: ; preds = %128, %131
%134 = phi ptr [ %132, %131 ], [ %112, %128 ]
%135 = load ptr, ptr %134, align 8, !tbaa !13
%136 = sext i32 %126 to i64
%137 = getelementptr inbounds i32, ptr %135, i64 %136
%138 = add nsw i32 %126, 1
%139 = load i32, ptr %137, align 4, !tbaa !20
%140 = load i32, ptr %13, align 4, !tbaa !20
%141 = mul nsw i32 %140, %92
%142 = sext i32 %139 to i64
%143 = getelementptr inbounds i32, ptr %1, i64 %142
store i32 %141, ptr %143, align 4, !tbaa !20
%144 = load i32, ptr %114, align 8, !tbaa !29
%145 = icmp eq i32 %144, 0
br i1 %145, label %146, label %116
146: ; preds = %133
%147 = icmp slt i32 %141, 0
%148 = select i1 %147, i32 %115, i32 %16
%149 = add nsw i32 %148, %141
store i32 %149, ptr %143, align 4, !tbaa !20
br label %116
150: ; preds = %124, %116
%151 = phi i32 [ %138, %116 ], [ %126, %124 ]
%152 = icmp eq i32 %8, 0
br i1 %152, label %153, label %442
153: ; preds = %150
%154 = icmp eq i32 %151, 1
br i1 %154, label %155, label %159
155: ; preds = %153
%156 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 7
%157 = load ptr, ptr %156, align 8, !tbaa !30
%158 = call i32 %157(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %442
159: ; preds = %153
%160 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 6
%161 = load ptr, ptr %160, align 8, !tbaa !31
%162 = call i32 %161(ptr noundef %1) #3
%163 = load ptr, ptr %14, align 8, !tbaa !32
%164 = call i32 %163(ptr noundef %1, ptr noundef %6, i32 noundef %7) #3
br label %442
165: ; preds = %90
%166 = and i32 %108, 15
%167 = xor i32 %166, 15
%168 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 8
%169 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 7
%170 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5
%171 = sub nsw i32 0, %16
%172 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 4
%173 = shl i32 %7, 1
%174 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 5
%175 = icmp eq i32 %8, 0
br label %176
176: ; preds = %165, %234
%177 = phi i32 [ 0, %165 ], [ %235, %234 ]
%178 = xor i32 %177, 3
%179 = shl nuw nsw i32 1, %178
%180 = and i32 %179, %108
store i32 %180, ptr %11, align 4, !tbaa !20
%181 = shl nuw nsw i32 %177, 2
%182 = and i32 %181, 4
%183 = and i32 %177, 2
%184 = shl nuw nsw i32 %183, 4
%185 = or disjoint i32 %182, %184
%186 = icmp eq i32 %180, 0
br i1 %186, label %187, label %234
187: ; preds = %176, %217
%188 = phi i32 [ %204, %217 ], [ 0, %176 ]
%189 = load i32, ptr %168, align 4, !tbaa !26
%190 = call i32 @vc1_decode_ac_coeff(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %189) #3
%191 = icmp slt i32 %190, 0
br i1 %191, label %450, label %192
192: ; preds = %187
%193 = load i32, ptr %12, align 4, !tbaa !20
%194 = add nsw i32 %193, %188
%195 = icmp sgt i32 %194, 15
br i1 %195, label %220, label %196
196: ; preds = %192
%197 = load i32, ptr %169, align 8, !tbaa !27
%198 = icmp eq i32 %197, 0
%199 = load ptr, ptr @ff_vc1_adv_interlaced_4x4_zz, align 8
%200 = sext i32 %194 to i64
%201 = load ptr, ptr @ff_vc1_simple_progressive_4x4_zz, align 8
%202 = select i1 %198, ptr %201, ptr %199
%203 = getelementptr inbounds i32, ptr %202, i64 %200
%204 = add nsw i32 %194, 1
%205 = load i32, ptr %203, align 4, !tbaa !20
%206 = load i32, ptr %13, align 4, !tbaa !20
%207 = mul nsw i32 %206, %92
%208 = add nsw i32 %205, %185
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %1, i64 %209
store i32 %207, ptr %210, align 4, !tbaa !20
%211 = load i32, ptr %170, align 8, !tbaa !29
%212 = icmp eq i32 %211, 0
br i1 %212, label %213, label %217
213: ; preds = %196
%214 = icmp slt i32 %207, 0
%215 = select i1 %214, i32 %171, i32 %16
%216 = add nsw i32 %215, %207
store i32 %216, ptr %210, align 4, !tbaa !20
br label %217
217: ; preds = %196, %213
%218 = load i32, ptr %11, align 4, !tbaa !20
%219 = icmp eq i32 %218, 0
br i1 %219, label %187, label %220
220: ; preds = %217, %192
%221 = phi i32 [ %204, %217 ], [ %194, %192 ]
br i1 %175, label %222, label %234
222: ; preds = %220
%223 = icmp eq i32 %221, 1
%224 = zext nneg i32 %182 to i64
%225 = getelementptr inbounds i32, ptr %6, i64 %224
%226 = mul i32 %173, %183
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
%229 = zext nneg i32 %185 to i64
%230 = getelementptr inbounds i32, ptr %1, i64 %229
%231 = select i1 %223, ptr %174, ptr %172
%232 = load ptr, ptr %231, align 8, !tbaa !13
%233 = call i32 %232(ptr noundef %228, i32 noundef %7, ptr noundef %230) #3
br label %234
234: ; preds = %222, %176, %220
%235 = add nuw nsw i32 %177, 1
%236 = icmp eq i32 %235, 4
br i1 %236, label %442, label %176, !llvm.loop !33
237: ; preds = %90
%238 = and i32 %108, 2
%239 = mul nuw nsw i32 %238, 6
%240 = and i32 %108, 1
%241 = icmp eq i32 %240, 0
%242 = select i1 %241, i32 0, i32 3
%243 = or disjoint i32 %242, %239
%244 = xor i32 %243, 15
%245 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 8
%246 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 7
%247 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 9
%248 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5
%249 = sub nsw i32 0, %16
%250 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 2
%251 = shl i32 %7, 2
%252 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 3
%253 = sext i32 %251 to i64
store i32 %238, ptr %11, align 4, !tbaa !20
%254 = icmp eq i32 %238, 0
br i1 %254, label %258, label %294
255: ; preds = %282, %267
%256 = load i32, ptr %11, align 4, !tbaa !20
%257 = icmp eq i32 %256, 0
br i1 %257, label %258, label %286
258: ; preds = %237, %255
%259 = phi i32 [ %274, %255 ], [ 0, %237 ]
%260 = load i32, ptr %245, align 4, !tbaa !26
%261 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %260) #3
%262 = icmp slt i32 %261, 0
br i1 %262, label %450, label %263
263: ; preds = %258
%264 = load i32, ptr %12, align 4, !tbaa !20
%265 = add nsw i32 %264, %259
%266 = icmp sgt i32 %265, 31
br i1 %266, label %286, label %267
267: ; preds = %263
%268 = load i32, ptr %246, align 8, !tbaa !27
%269 = icmp eq i32 %268, 0
%270 = sext i32 %265 to i64
%271 = select i1 %269, ptr %247, ptr @ff_vc1_adv_interlaced_8x4_zz
%272 = load ptr, ptr %271, align 8, !tbaa !13
%273 = getelementptr inbounds i32, ptr %272, i64 %270
%274 = add nsw i32 %265, 1
%275 = load i32, ptr %273, align 4, !tbaa !20
%276 = sext i32 %275 to i64
%277 = load i32, ptr %13, align 4, !tbaa !20
%278 = mul nsw i32 %277, %92
%279 = getelementptr inbounds i32, ptr %1, i64 %276
store i32 %278, ptr %279, align 4, !tbaa !20
%280 = load i32, ptr %248, align 8, !tbaa !29
%281 = icmp eq i32 %280, 0
br i1 %281, label %282, label %255
282: ; preds = %267
%283 = icmp slt i32 %278, 0
%284 = select i1 %283, i32 %249, i32 %16
%285 = add nsw i32 %284, %278
store i32 %285, ptr %279, align 4, !tbaa !20
br label %255
286: ; preds = %255, %263
%287 = phi i32 [ %274, %255 ], [ %265, %263 ]
%288 = icmp eq i32 %8, 0
br i1 %288, label %289, label %294
289: ; preds = %286
%290 = icmp eq i32 %287, 1
%291 = select i1 %290, ptr %252, ptr %250
%292 = load ptr, ptr %291, align 8, !tbaa !13
%293 = call i32 %292(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %294
294: ; preds = %289, %237, %286
store i32 %240, ptr %11, align 4, !tbaa !20
br i1 %241, label %295, label %442
295: ; preds = %294
%296 = getelementptr i32, ptr %1, i64 32
br label %297
297: ; preds = %325, %295
%298 = phi i32 [ %313, %325 ], [ 0, %295 ]
%299 = load i32, ptr %245, align 4, !tbaa !26
%300 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %299) #3
%301 = icmp slt i32 %300, 0
br i1 %301, label %450, label %302
302: ; preds = %297
%303 = load i32, ptr %12, align 4, !tbaa !20
%304 = add nsw i32 %303, %298
%305 = icmp sgt i32 %304, 31
br i1 %305, label %328, label %306
306: ; preds = %302
%307 = load i32, ptr %246, align 8, !tbaa !27
%308 = icmp eq i32 %307, 0
%309 = sext i32 %304 to i64
%310 = select i1 %308, ptr %247, ptr @ff_vc1_adv_interlaced_8x4_zz
%311 = load ptr, ptr %310, align 8, !tbaa !13
%312 = getelementptr inbounds i32, ptr %311, i64 %309
%313 = add nsw i32 %304, 1
%314 = load i32, ptr %312, align 4, !tbaa !20
%315 = sext i32 %314 to i64
%316 = load i32, ptr %13, align 4, !tbaa !20
%317 = mul nsw i32 %316, %92
%318 = getelementptr i32, ptr %296, i64 %315
store i32 %317, ptr %318, align 4, !tbaa !20
%319 = load i32, ptr %248, align 8, !tbaa !29
%320 = icmp eq i32 %319, 0
br i1 %320, label %321, label %325
321: ; preds = %306
%322 = icmp slt i32 %317, 0
%323 = select i1 %322, i32 %249, i32 %16
%324 = add nsw i32 %323, %317
store i32 %324, ptr %318, align 4, !tbaa !20
br label %325
325: ; preds = %321, %306
%326 = load i32, ptr %11, align 4, !tbaa !20
%327 = icmp eq i32 %326, 0
br i1 %327, label %297, label %328
328: ; preds = %302, %325
%329 = phi i32 [ %313, %325 ], [ %304, %302 ]
%330 = icmp eq i32 %8, 0
br i1 %330, label %331, label %442
331: ; preds = %328
%332 = icmp eq i32 %329, 1
%333 = getelementptr inbounds i32, ptr %6, i64 %253
%334 = getelementptr inbounds i32, ptr %1, i64 32
br i1 %332, label %338, label %335
335: ; preds = %331
%336 = load ptr, ptr %250, align 8, !tbaa !35
%337 = call i32 %336(ptr noundef %333, i32 noundef %7, ptr noundef nonnull %334) #3
br label %442
338: ; preds = %331
%339 = load ptr, ptr %252, align 8, !tbaa !36
%340 = call i32 %339(ptr noundef %333, i32 noundef %7, ptr noundef nonnull %334) #3
br label %442
341: ; preds = %90
%342 = mul nsw i32 %108, 5
%343 = and i32 %342, 15
%344 = xor i32 %343, 15
%345 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 8
%346 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 7
%347 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 6
%348 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5
%349 = sub nsw i32 0, %16
%350 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4
%351 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4, i32 1
%352 = and i32 %108, 2
store i32 %352, ptr %11, align 4, !tbaa !20
%353 = icmp eq i32 %352, 0
br i1 %353, label %357, label %393
354: ; preds = %381, %366
%355 = load i32, ptr %11, align 4, !tbaa !20
%356 = icmp eq i32 %355, 0
br i1 %356, label %357, label %385
357: ; preds = %341, %354
%358 = phi i32 [ %373, %354 ], [ 0, %341 ]
%359 = load i32, ptr %345, align 4, !tbaa !26
%360 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %359) #3
%361 = icmp slt i32 %360, 0
br i1 %361, label %450, label %362
362: ; preds = %357
%363 = load i32, ptr %12, align 4, !tbaa !20
%364 = add nsw i32 %363, %358
%365 = icmp sgt i32 %364, 31
br i1 %365, label %385, label %366
366: ; preds = %362
%367 = load i32, ptr %346, align 8, !tbaa !27
%368 = icmp eq i32 %367, 0
%369 = sext i32 %364 to i64
%370 = select i1 %368, ptr %347, ptr @ff_vc1_adv_interlaced_4x8_zz
%371 = load ptr, ptr %370, align 8, !tbaa !13
%372 = getelementptr inbounds i32, ptr %371, i64 %369
%373 = add nsw i32 %364, 1
%374 = load i32, ptr %372, align 4, !tbaa !20
%375 = sext i32 %374 to i64
%376 = load i32, ptr %13, align 4, !tbaa !20
%377 = mul nsw i32 %376, %92
%378 = getelementptr inbounds i32, ptr %1, i64 %375
store i32 %377, ptr %378, align 4, !tbaa !20
%379 = load i32, ptr %348, align 8, !tbaa !29
%380 = icmp eq i32 %379, 0
br i1 %380, label %381, label %354
381: ; preds = %366
%382 = icmp slt i32 %377, 0
%383 = select i1 %382, i32 %349, i32 %16
%384 = add nsw i32 %383, %377
store i32 %384, ptr %378, align 4, !tbaa !20
br label %354
385: ; preds = %354, %362
%386 = phi i32 [ %373, %354 ], [ %364, %362 ]
%387 = icmp eq i32 %8, 0
br i1 %387, label %388, label %393
388: ; preds = %385
%389 = icmp eq i32 %386, 1
%390 = select i1 %389, ptr %351, ptr %350
%391 = load ptr, ptr %390, align 8, !tbaa !13
%392 = call i32 %391(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %393
393: ; preds = %388, %341, %385
%394 = and i32 %108, 1
store i32 %394, ptr %11, align 4, !tbaa !20
%395 = icmp eq i32 %394, 0
br i1 %395, label %396, label %442
396: ; preds = %393
%397 = getelementptr i32, ptr %1, i64 4
br label %398
398: ; preds = %426, %396
%399 = phi i32 [ %414, %426 ], [ 0, %396 ]
%400 = load i32, ptr %345, align 4, !tbaa !26
%401 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %400) #3
%402 = icmp slt i32 %401, 0
br i1 %402, label %450, label %403
403: ; preds = %398
%404 = load i32, ptr %12, align 4, !tbaa !20
%405 = add nsw i32 %404, %399
%406 = icmp sgt i32 %405, 31
br i1 %406, label %429, label %407
407: ; preds = %403
%408 = load i32, ptr %346, align 8, !tbaa !27
%409 = icmp eq i32 %408, 0
%410 = sext i32 %405 to i64
%411 = select i1 %409, ptr %347, ptr @ff_vc1_adv_interlaced_4x8_zz
%412 = load ptr, ptr %411, align 8, !tbaa !13
%413 = getelementptr inbounds i32, ptr %412, i64 %410
%414 = add nsw i32 %405, 1
%415 = load i32, ptr %413, align 4, !tbaa !20
%416 = sext i32 %415 to i64
%417 = load i32, ptr %13, align 4, !tbaa !20
%418 = mul nsw i32 %417, %92
%419 = getelementptr i32, ptr %397, i64 %416
store i32 %418, ptr %419, align 4, !tbaa !20
%420 = load i32, ptr %348, align 8, !tbaa !29
%421 = icmp eq i32 %420, 0
br i1 %421, label %422, label %426
422: ; preds = %407
%423 = icmp slt i32 %418, 0
%424 = select i1 %423, i32 %349, i32 %16
%425 = add nsw i32 %424, %418
store i32 %425, ptr %419, align 4, !tbaa !20
br label %426
426: ; preds = %422, %407
%427 = load i32, ptr %11, align 4, !tbaa !20
%428 = icmp eq i32 %427, 0
br i1 %428, label %398, label %429
429: ; preds = %403, %426
%430 = phi i32 [ %414, %426 ], [ %405, %403 ]
%431 = icmp eq i32 %8, 0
br i1 %431, label %432, label %442
432: ; preds = %429
%433 = icmp eq i32 %430, 1
%434 = getelementptr inbounds i32, ptr %6, i64 4
%435 = getelementptr inbounds i32, ptr %1, i64 4
br i1 %433, label %439, label %436
436: ; preds = %432
%437 = load ptr, ptr %350, align 8, !tbaa !37
%438 = call i32 %437(ptr noundef nonnull %434, i32 noundef %7, ptr noundef nonnull %435) #3
br label %442
439: ; preds = %432
%440 = load ptr, ptr %351, align 8, !tbaa !38
%441 = call i32 %440(ptr noundef nonnull %434, i32 noundef %7, ptr noundef nonnull %435) #3
br label %442
442: ; preds = %234, %393, %294, %429, %436, %439, %328, %335, %338, %150, %159, %155, %90
%443 = phi i32 [ 0, %90 ], [ 15, %150 ], [ 15, %155 ], [ 15, %159 ], [ %244, %338 ], [ %244, %335 ], [ %244, %328 ], [ %344, %439 ], [ %344, %436 ], [ %344, %429 ], [ %244, %294 ], [ %344, %393 ], [ %167, %234 ]
%444 = icmp eq ptr %9, null
br i1 %444, label %450, label %445
445: ; preds = %442
%446 = shl nsw i32 %2, 2
%447 = shl i32 %106, %446
%448 = load i32, ptr %9, align 4, !tbaa !20
%449 = or i32 %448, %447
store i32 %449, ptr %9, align 4, !tbaa !20
br label %450
450: ; preds = %357, %398, %258, %297, %187, %119, %442, %445
%451 = phi i32 [ %443, %445 ], [ %443, %442 ], [ %122, %119 ], [ %190, %187 ], [ %300, %297 ], [ %261, %258 ], [ %401, %398 ], [ %360, %357 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret i32 %451
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FFABS(i32 noundef) local_unnamed_addr #2
declare i32 @get_vlc2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @decode012(ptr noundef) local_unnamed_addr #2
declare i32 @vc1_decode_ac_coeff(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"TYPE_14__", !7, i64 0, !11, i64 8, !12, i64 16}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_12__", !8, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_13__", !16, i64 0, !12, i64 8, !8, i64 16, !8, i64 24, !17, i64 32, !12, i64 96, !8, i64 104, !12, i64 112, !12, i64 116, !8, i64 120, !12, i64 128, !16, i64 136, !6, i64 144}
!16 = !{!"long", !9, i64 0}
!17 = !{!"TYPE_11__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_15__", !12, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_16__", !12, i64 0}
!23 = !{!15, !16, i64 136}
!24 = !{!15, !12, i64 128}
!25 = !{!15, !12, i64 8}
!26 = !{!15, !12, i64 116}
!27 = !{!15, !12, i64 112}
!28 = !{!15, !8, i64 16}
!29 = !{!15, !12, i64 96}
!30 = !{!15, !8, i64 88}
!31 = !{!15, !8, i64 80}
!32 = !{!6, !8, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!15, !8, i64 48}
!36 = !{!15, !8, i64 56}
!37 = !{!15, !8, i64 32}
!38 = !{!15, !8, i64 40}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vc1_block.c_vc1_decode_p_block.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vc1_block.c_vc1_decode_p_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { i32 }
%struct.TYPE_16__ = type { i32 }
@ff_vc1_ttblk_to_tt = common local_unnamed_addr global ptr null, align 8
@ff_vc1_ttblk_vlc = common local_unnamed_addr global ptr null, align 8
@VC1_TTBLK_VLC_BITS = common local_unnamed_addr global i32 0, align 4
@ff_vc1_subblkpat_vlc = common local_unnamed_addr global ptr null, align 8
@VC1_SUBBLKPAT_VLC_BITS = common local_unnamed_addr global i32 0, align 4
@TT_8X4_TOP = common local_unnamed_addr global i32 0, align 4
@TT_8X4_BOTTOM = common local_unnamed_addr global i32 0, align 4
@TT_4X8_RIGHT = common local_unnamed_addr global i32 0, align 4
@TT_4X8_LEFT = common local_unnamed_addr global i32 0, align 4
@ff_vc1_simple_progressive_4x4_zz = common local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_4x4_zz = common local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_8x4_zz = common local_unnamed_addr global ptr null, align 8
@ff_vc1_adv_interlaced_4x8_zz = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @vc1_decode_p_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vc1_decode_p_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = getelementptr inbounds i8, ptr %0, i64 144
%15 = getelementptr inbounds i8, ptr %0, i64 160
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%16 = tail call i32 @FFABS(i32 noundef %3) #3
%17 = getelementptr inbounds i8, ptr %0, i64 152
%18 = load ptr, ptr %17, align 8, !tbaa !6
%19 = tail call i32 %18(ptr noundef %1) #3
%20 = icmp eq i32 %4, -1
br i1 %20, label %21, label %46
21: ; preds = %10
%22 = load ptr, ptr @ff_vc1_ttblk_to_tt, align 8, !tbaa !14
%23 = load i64, ptr %0, align 8, !tbaa !15
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = load ptr, ptr @ff_vc1_ttblk_vlc, align 8, !tbaa !14
%27 = getelementptr inbounds %struct.TYPE_15__, ptr %26, i64 %23
%28 = load i32, ptr %27, align 4, !tbaa !19
%29 = load i32, ptr @VC1_TTBLK_VLC_BITS, align 4, !tbaa !21
%30 = tail call i32 @get_vlc2(ptr noundef nonnull %15, i32 noundef %28, i32 noundef %29, i32 noundef 1) #3
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %25, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !21
switch i32 %33, label %42 [
i32 131, label %34
i32 128, label %80
]
34: ; preds = %21
%35 = load ptr, ptr @ff_vc1_subblkpat_vlc, align 8, !tbaa !14
%36 = load i64, ptr %0, align 8, !tbaa !15
%37 = getelementptr inbounds %struct.TYPE_16__, ptr %35, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !22
%39 = load i32, ptr @VC1_SUBBLKPAT_VLC_BITS, align 4, !tbaa !21
%40 = tail call i32 @get_vlc2(ptr noundef nonnull %15, i32 noundef %38, i32 noundef %39, i32 noundef 1) #3
%41 = sub i32 -2, %40
br label %80
42: ; preds = %21
%43 = getelementptr inbounds i8, ptr %0, i64 136
%44 = load i64, ptr %43, align 8, !tbaa !24
%45 = icmp eq i64 %44, 0
br i1 %45, label %56, label %62
46: ; preds = %10
%47 = and i32 %4, 7
%48 = getelementptr inbounds i8, ptr %0, i64 136
%49 = load i64, ptr %48, align 8, !tbaa !24
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %62
51: ; preds = %46
%52 = and i32 %4, 8
%53 = icmp eq i32 %52, 0
%54 = icmp ne i32 %5, 0
%55 = or i1 %53, %54
br i1 %55, label %56, label %62
56: ; preds = %42, %51
%57 = phi i32 [ %47, %51 ], [ %33, %42 ]
%58 = getelementptr inbounds i8, ptr %0, i64 128
%59 = load i32, ptr %58, align 8, !tbaa !25
%60 = or i32 %59, %5
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %80
62: ; preds = %46, %56, %51, %42
%63 = phi i32 [ %47, %46 ], [ %57, %56 ], [ %47, %51 ], [ %33, %42 ]
%64 = tail call i32 @decode012(ptr noundef nonnull %15) #3
%65 = icmp eq i32 %64, 0
%66 = xor i32 %64, 3
%67 = select i1 %65, i32 0, i32 %66
%68 = load i32, ptr @TT_8X4_TOP, align 4, !tbaa !21
%69 = icmp eq i32 %63, %68
%70 = load i32, ptr @TT_8X4_BOTTOM, align 4
%71 = icmp eq i32 %63, %70
%72 = select i1 %69, i1 true, i1 %71
%73 = select i1 %72, i32 129, i32 %63
%74 = load i32, ptr @TT_4X8_RIGHT, align 4, !tbaa !21
%75 = icmp eq i32 %73, %74
%76 = load i32, ptr @TT_4X8_LEFT, align 4
%77 = icmp eq i32 %73, %76
%78 = select i1 %75, i1 true, i1 %77
%79 = select i1 %78, i32 130, i32 %73
br label %80
80: ; preds = %21, %34, %62, %56
%81 = phi i32 [ %57, %56 ], [ %79, %62 ], [ 131, %34 ], [ %33, %21 ]
%82 = phi i32 [ 0, %56 ], [ %67, %62 ], [ %41, %34 ], [ 0, %21 ]
%83 = shl nsw i32 %16, 1
%84 = icmp slt i32 %3, 0
br i1 %84, label %88, label %85
85: ; preds = %80
%86 = getelementptr inbounds i8, ptr %0, i64 8
%87 = load i32, ptr %86, align 8, !tbaa !26
br label %88
88: ; preds = %80, %85
%89 = phi i32 [ %87, %85 ], [ 0, %80 ]
%90 = add nsw i32 %89, %83
%91 = load i32, ptr @TT_8X4_TOP, align 4
%92 = icmp eq i32 %81, %91
%93 = load i32, ptr @TT_8X4_BOTTOM, align 4
%94 = icmp eq i32 %81, %93
%95 = select i1 %92, i1 true, i1 %94
%96 = select i1 %95, i32 129, i32 %81
%97 = select i1 %94, i32 2, i32 %82
%98 = select i1 %92, i32 1, i32 %97
%99 = load i32, ptr @TT_4X8_RIGHT, align 4, !tbaa !21
%100 = icmp eq i32 %96, %99
%101 = load i32, ptr @TT_4X8_LEFT, align 4
%102 = icmp eq i32 %96, %101
%103 = select i1 %100, i1 true, i1 %102
%104 = select i1 %103, i32 130, i32 %96
%105 = select i1 %100, i32 2, i32 %98
%106 = select i1 %102, i32 1, i32 %105
switch i32 %104, label %438 [
i32 128, label %107
i32 131, label %163
i32 129, label %234
i32 130, label %338
]
107: ; preds = %88
store i32 0, ptr %11, align 4, !tbaa !21
%108 = getelementptr inbounds i8, ptr %0, i64 116
%109 = getelementptr inbounds i8, ptr %0, i64 112
%110 = getelementptr inbounds i8, ptr %0, i64 24
%111 = getelementptr inbounds i8, ptr %0, i64 16
%112 = getelementptr inbounds i8, ptr %0, i64 96
%113 = sub nsw i32 0, %16
br label %117
114: ; preds = %144, %131
%115 = load i32, ptr %11, align 4, !tbaa !21
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %148
117: ; preds = %107, %114
%118 = phi i32 [ 0, %107 ], [ %136, %114 ]
%119 = load i32, ptr %108, align 4, !tbaa !27
%120 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %119) #3
%121 = icmp slt i32 %120, 0
br i1 %121, label %446, label %122
122: ; preds = %117
%123 = load i32, ptr %12, align 4, !tbaa !21
%124 = add nsw i32 %123, %118
%125 = icmp sgt i32 %124, 63
br i1 %125, label %148, label %126
126: ; preds = %122
%127 = load i32, ptr %109, align 8, !tbaa !28
%128 = icmp eq i32 %127, 0
br i1 %128, label %129, label %131
129: ; preds = %126
%130 = load ptr, ptr %111, align 8, !tbaa !29
br label %131
131: ; preds = %126, %129
%132 = phi ptr [ %130, %129 ], [ %110, %126 ]
%133 = load ptr, ptr %132, align 8, !tbaa !14
%134 = sext i32 %124 to i64
%135 = getelementptr inbounds i32, ptr %133, i64 %134
%136 = add nsw i32 %124, 1
%137 = load i32, ptr %135, align 4, !tbaa !21
%138 = load i32, ptr %13, align 4, !tbaa !21
%139 = mul nsw i32 %138, %90
%140 = sext i32 %137 to i64
%141 = getelementptr inbounds i32, ptr %1, i64 %140
store i32 %139, ptr %141, align 4, !tbaa !21
%142 = load i32, ptr %112, align 8, !tbaa !30
%143 = icmp eq i32 %142, 0
br i1 %143, label %144, label %114
144: ; preds = %131
%145 = icmp slt i32 %139, 0
%146 = select i1 %145, i32 %113, i32 %16
%147 = add nsw i32 %146, %139
store i32 %147, ptr %141, align 4, !tbaa !21
br label %114
148: ; preds = %122, %114
%149 = phi i32 [ %136, %114 ], [ %124, %122 ]
%150 = icmp eq i32 %8, 0
br i1 %150, label %151, label %438
151: ; preds = %148
%152 = icmp eq i32 %149, 1
br i1 %152, label %153, label %157
153: ; preds = %151
%154 = getelementptr inbounds i8, ptr %0, i64 88
%155 = load ptr, ptr %154, align 8, !tbaa !31
%156 = call i32 %155(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %438
157: ; preds = %151
%158 = getelementptr inbounds i8, ptr %0, i64 80
%159 = load ptr, ptr %158, align 8, !tbaa !32
%160 = call i32 %159(ptr noundef %1) #3
%161 = load ptr, ptr %14, align 8, !tbaa !33
%162 = call i32 %161(ptr noundef %1, ptr noundef %6, i32 noundef %7) #3
br label %438
163: ; preds = %88
%164 = and i32 %106, 15
%165 = xor i32 %164, 15
%166 = getelementptr inbounds i8, ptr %0, i64 116
%167 = getelementptr inbounds i8, ptr %0, i64 112
%168 = getelementptr inbounds i8, ptr %0, i64 96
%169 = sub nsw i32 0, %16
%170 = shl i32 %7, 1
%171 = icmp eq i32 %8, 0
br label %172
172: ; preds = %163, %231
%173 = phi i32 [ 0, %163 ], [ %232, %231 ]
%174 = sub nuw nsw i32 3, %173
%175 = shl nuw nsw i32 1, %174
%176 = and i32 %175, %106
store i32 %176, ptr %11, align 4, !tbaa !21
%177 = shl nuw nsw i32 %173, 2
%178 = and i32 %177, 4
%179 = and i32 %173, 2
%180 = shl nuw nsw i32 %179, 4
%181 = or disjoint i32 %178, %180
%182 = icmp eq i32 %176, 0
br i1 %182, label %183, label %231
183: ; preds = %172, %213
%184 = phi i32 [ %200, %213 ], [ 0, %172 ]
%185 = load i32, ptr %166, align 4, !tbaa !27
%186 = call i32 @vc1_decode_ac_coeff(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %185) #3
%187 = icmp slt i32 %186, 0
br i1 %187, label %446, label %188
188: ; preds = %183
%189 = load i32, ptr %12, align 4, !tbaa !21
%190 = add nsw i32 %189, %184
%191 = icmp sgt i32 %190, 15
br i1 %191, label %216, label %192
192: ; preds = %188
%193 = load i32, ptr %167, align 8, !tbaa !28
%194 = icmp eq i32 %193, 0
%195 = load ptr, ptr @ff_vc1_adv_interlaced_4x4_zz, align 8
%196 = sext i32 %190 to i64
%197 = load ptr, ptr @ff_vc1_simple_progressive_4x4_zz, align 8
%198 = select i1 %194, ptr %197, ptr %195
%199 = getelementptr inbounds i32, ptr %198, i64 %196
%200 = add nsw i32 %190, 1
%201 = load i32, ptr %199, align 4, !tbaa !21
%202 = load i32, ptr %13, align 4, !tbaa !21
%203 = mul nsw i32 %202, %90
%204 = add nsw i32 %201, %181
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i32, ptr %1, i64 %205
store i32 %203, ptr %206, align 4, !tbaa !21
%207 = load i32, ptr %168, align 8, !tbaa !30
%208 = icmp eq i32 %207, 0
br i1 %208, label %209, label %213
209: ; preds = %192
%210 = icmp slt i32 %203, 0
%211 = select i1 %210, i32 %169, i32 %16
%212 = add nsw i32 %211, %203
store i32 %212, ptr %206, align 4, !tbaa !21
br label %213
213: ; preds = %192, %209
%214 = load i32, ptr %11, align 4, !tbaa !21
%215 = icmp eq i32 %214, 0
br i1 %215, label %183, label %216
216: ; preds = %213, %188
%217 = phi i32 [ %200, %213 ], [ %190, %188 ]
br i1 %171, label %218, label %231
218: ; preds = %216
%219 = icmp eq i32 %217, 1
%220 = zext nneg i32 %178 to i64
%221 = getelementptr inbounds i32, ptr %6, i64 %220
%222 = mul i32 %170, %179
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i32, ptr %221, i64 %223
%225 = zext nneg i32 %181 to i64
%226 = getelementptr inbounds i32, ptr %1, i64 %225
%227 = select i1 %219, i64 72, i64 64
%228 = getelementptr inbounds i8, ptr %0, i64 %227
%229 = load ptr, ptr %228, align 8, !tbaa !14
%230 = call i32 %229(ptr noundef %224, i32 noundef %7, ptr noundef %226) #3
br label %231
231: ; preds = %218, %172, %216
%232 = add nuw nsw i32 %173, 1
%233 = icmp eq i32 %232, 4
br i1 %233, label %438, label %172, !llvm.loop !34
234: ; preds = %88
%235 = and i32 %106, 2
%236 = mul nuw nsw i32 %235, 6
%237 = trunc i32 %106 to i1
%238 = select i1 %237, i32 3, i32 0
%239 = or disjoint i32 %236, %238
%240 = xor i32 %239, 15
%241 = getelementptr inbounds i8, ptr %0, i64 116
%242 = getelementptr inbounds i8, ptr %0, i64 112
%243 = getelementptr inbounds i8, ptr %0, i64 120
%244 = getelementptr inbounds i8, ptr %0, i64 96
%245 = sub nsw i32 0, %16
%246 = getelementptr inbounds i8, ptr %0, i64 48
%247 = shl i32 %7, 2
%248 = getelementptr inbounds i8, ptr %0, i64 56
%249 = sext i32 %247 to i64
store i32 %235, ptr %11, align 4, !tbaa !21
%250 = icmp eq i32 %235, 0
br i1 %250, label %254, label %290
251: ; preds = %278, %263
%252 = load i32, ptr %11, align 4, !tbaa !21
%253 = icmp eq i32 %252, 0
br i1 %253, label %254, label %282
254: ; preds = %234, %251
%255 = phi i32 [ %270, %251 ], [ 0, %234 ]
%256 = load i32, ptr %241, align 4, !tbaa !27
%257 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %256) #3
%258 = icmp slt i32 %257, 0
br i1 %258, label %446, label %259
259: ; preds = %254
%260 = load i32, ptr %12, align 4, !tbaa !21
%261 = add nsw i32 %260, %255
%262 = icmp sgt i32 %261, 31
br i1 %262, label %282, label %263
263: ; preds = %259
%264 = load i32, ptr %242, align 8, !tbaa !28
%265 = icmp eq i32 %264, 0
%266 = sext i32 %261 to i64
%267 = select i1 %265, ptr %243, ptr @ff_vc1_adv_interlaced_8x4_zz
%268 = load ptr, ptr %267, align 8, !tbaa !14
%269 = getelementptr inbounds i32, ptr %268, i64 %266
%270 = add nsw i32 %261, 1
%271 = load i32, ptr %269, align 4, !tbaa !21
%272 = sext i32 %271 to i64
%273 = load i32, ptr %13, align 4, !tbaa !21
%274 = mul nsw i32 %273, %90
%275 = getelementptr inbounds i32, ptr %1, i64 %272
store i32 %274, ptr %275, align 4, !tbaa !21
%276 = load i32, ptr %244, align 8, !tbaa !30
%277 = icmp eq i32 %276, 0
br i1 %277, label %278, label %251
278: ; preds = %263
%279 = icmp slt i32 %274, 0
%280 = select i1 %279, i32 %245, i32 %16
%281 = add nsw i32 %280, %274
store i32 %281, ptr %275, align 4, !tbaa !21
br label %251
282: ; preds = %251, %259
%283 = phi i32 [ %270, %251 ], [ %261, %259 ]
%284 = icmp eq i32 %8, 0
br i1 %284, label %285, label %290
285: ; preds = %282
%286 = icmp eq i32 %283, 1
%287 = select i1 %286, ptr %248, ptr %246
%288 = load ptr, ptr %287, align 8, !tbaa !14
%289 = call i32 %288(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %290
290: ; preds = %285, %234, %282
%291 = and i32 %106, 1
store i32 %291, ptr %11, align 4, !tbaa !21
%292 = icmp eq i32 %291, 0
br i1 %292, label %293, label %438
293: ; preds = %290
%294 = getelementptr i8, ptr %1, i64 128
br label %295
295: ; preds = %323, %293
%296 = phi i32 [ %311, %323 ], [ 0, %293 ]
%297 = load i32, ptr %241, align 4, !tbaa !27
%298 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %297) #3
%299 = icmp slt i32 %298, 0
br i1 %299, label %446, label %300
300: ; preds = %295
%301 = load i32, ptr %12, align 4, !tbaa !21
%302 = add nsw i32 %301, %296
%303 = icmp sgt i32 %302, 31
br i1 %303, label %326, label %304
304: ; preds = %300
%305 = load i32, ptr %242, align 8, !tbaa !28
%306 = icmp eq i32 %305, 0
%307 = sext i32 %302 to i64
%308 = select i1 %306, ptr %243, ptr @ff_vc1_adv_interlaced_8x4_zz
%309 = load ptr, ptr %308, align 8, !tbaa !14
%310 = getelementptr inbounds i32, ptr %309, i64 %307
%311 = add nsw i32 %302, 1
%312 = load i32, ptr %310, align 4, !tbaa !21
%313 = sext i32 %312 to i64
%314 = load i32, ptr %13, align 4, !tbaa !21
%315 = mul nsw i32 %314, %90
%316 = getelementptr i32, ptr %294, i64 %313
store i32 %315, ptr %316, align 4, !tbaa !21
%317 = load i32, ptr %244, align 8, !tbaa !30
%318 = icmp eq i32 %317, 0
br i1 %318, label %319, label %323
319: ; preds = %304
%320 = icmp slt i32 %315, 0
%321 = select i1 %320, i32 %245, i32 %16
%322 = add nsw i32 %321, %315
store i32 %322, ptr %316, align 4, !tbaa !21
br label %323
323: ; preds = %319, %304
%324 = load i32, ptr %11, align 4, !tbaa !21
%325 = icmp eq i32 %324, 0
br i1 %325, label %295, label %326
326: ; preds = %300, %323
%327 = phi i32 [ %311, %323 ], [ %302, %300 ]
%328 = icmp eq i32 %8, 0
br i1 %328, label %329, label %438
329: ; preds = %326
%330 = icmp eq i32 %327, 1
%331 = getelementptr inbounds i32, ptr %6, i64 %249
br i1 %330, label %335, label %332
332: ; preds = %329
%333 = load ptr, ptr %246, align 8, !tbaa !36
%334 = call i32 %333(ptr noundef %331, i32 noundef %7, ptr noundef nonnull %294) #3
br label %438
335: ; preds = %329
%336 = load ptr, ptr %248, align 8, !tbaa !37
%337 = call i32 %336(ptr noundef %331, i32 noundef %7, ptr noundef nonnull %294) #3
br label %438
338: ; preds = %88
%339 = mul nsw i32 %106, 5
%340 = and i32 %339, 15
%341 = xor i32 %340, 15
%342 = getelementptr inbounds i8, ptr %0, i64 116
%343 = getelementptr inbounds i8, ptr %0, i64 112
%344 = getelementptr inbounds i8, ptr %0, i64 104
%345 = getelementptr inbounds i8, ptr %0, i64 96
%346 = sub nsw i32 0, %16
%347 = getelementptr inbounds i8, ptr %0, i64 32
%348 = getelementptr inbounds i8, ptr %0, i64 40
%349 = and i32 %106, 2
store i32 %349, ptr %11, align 4, !tbaa !21
%350 = icmp eq i32 %349, 0
br i1 %350, label %354, label %390
351: ; preds = %378, %363
%352 = load i32, ptr %11, align 4, !tbaa !21
%353 = icmp eq i32 %352, 0
br i1 %353, label %354, label %382
354: ; preds = %338, %351
%355 = phi i32 [ %370, %351 ], [ 0, %338 ]
%356 = load i32, ptr %342, align 4, !tbaa !27
%357 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %356) #3
%358 = icmp slt i32 %357, 0
br i1 %358, label %446, label %359
359: ; preds = %354
%360 = load i32, ptr %12, align 4, !tbaa !21
%361 = add nsw i32 %360, %355
%362 = icmp sgt i32 %361, 31
br i1 %362, label %382, label %363
363: ; preds = %359
%364 = load i32, ptr %343, align 8, !tbaa !28
%365 = icmp eq i32 %364, 0
%366 = sext i32 %361 to i64
%367 = select i1 %365, ptr %344, ptr @ff_vc1_adv_interlaced_4x8_zz
%368 = load ptr, ptr %367, align 8, !tbaa !14
%369 = getelementptr inbounds i32, ptr %368, i64 %366
%370 = add nsw i32 %361, 1
%371 = load i32, ptr %369, align 4, !tbaa !21
%372 = load i32, ptr %13, align 4, !tbaa !21
%373 = mul nsw i32 %372, %90
%374 = sext i32 %371 to i64
%375 = getelementptr inbounds i32, ptr %1, i64 %374
store i32 %373, ptr %375, align 4, !tbaa !21
%376 = load i32, ptr %345, align 8, !tbaa !30
%377 = icmp eq i32 %376, 0
br i1 %377, label %378, label %351
378: ; preds = %363
%379 = icmp slt i32 %373, 0
%380 = select i1 %379, i32 %346, i32 %16
%381 = add nsw i32 %380, %373
store i32 %381, ptr %375, align 4, !tbaa !21
br label %351
382: ; preds = %351, %359
%383 = phi i32 [ %370, %351 ], [ %361, %359 ]
%384 = icmp eq i32 %8, 0
br i1 %384, label %385, label %390
385: ; preds = %382
%386 = icmp eq i32 %383, 1
%387 = select i1 %386, ptr %348, ptr %347
%388 = load ptr, ptr %387, align 8, !tbaa !14
%389 = call i32 %388(ptr noundef %6, i32 noundef %7, ptr noundef %1) #3
br label %390
390: ; preds = %385, %338, %382
%391 = and i32 %106, 1
store i32 %391, ptr %11, align 4, !tbaa !21
%392 = icmp eq i32 %391, 0
br i1 %392, label %393, label %438
393: ; preds = %390
%394 = getelementptr i8, ptr %1, i64 16
br label %395
395: ; preds = %423, %393
%396 = phi i32 [ %411, %423 ], [ 0, %393 ]
%397 = load i32, ptr %342, align 4, !tbaa !27
%398 = call i32 @vc1_decode_ac_coeff(ptr noundef nonnull %0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %397) #3
%399 = icmp slt i32 %398, 0
br i1 %399, label %446, label %400
400: ; preds = %395
%401 = load i32, ptr %12, align 4, !tbaa !21
%402 = add nsw i32 %401, %396
%403 = icmp sgt i32 %402, 31
br i1 %403, label %426, label %404
404: ; preds = %400
%405 = load i32, ptr %343, align 8, !tbaa !28
%406 = icmp eq i32 %405, 0
%407 = sext i32 %402 to i64
%408 = select i1 %406, ptr %344, ptr @ff_vc1_adv_interlaced_4x8_zz
%409 = load ptr, ptr %408, align 8, !tbaa !14
%410 = getelementptr inbounds i32, ptr %409, i64 %407
%411 = add nsw i32 %402, 1
%412 = load i32, ptr %410, align 4, !tbaa !21
%413 = load i32, ptr %13, align 4, !tbaa !21
%414 = mul nsw i32 %413, %90
%415 = sext i32 %412 to i64
%416 = getelementptr i32, ptr %394, i64 %415
store i32 %414, ptr %416, align 4, !tbaa !21
%417 = load i32, ptr %345, align 8, !tbaa !30
%418 = icmp eq i32 %417, 0
br i1 %418, label %419, label %423
419: ; preds = %404
%420 = icmp slt i32 %414, 0
%421 = select i1 %420, i32 %346, i32 %16
%422 = add nsw i32 %421, %414
store i32 %422, ptr %416, align 4, !tbaa !21
br label %423
423: ; preds = %419, %404
%424 = load i32, ptr %11, align 4, !tbaa !21
%425 = icmp eq i32 %424, 0
br i1 %425, label %395, label %426
426: ; preds = %400, %423
%427 = phi i32 [ %411, %423 ], [ %402, %400 ]
%428 = icmp eq i32 %8, 0
br i1 %428, label %429, label %438
429: ; preds = %426
%430 = icmp eq i32 %427, 1
%431 = getelementptr inbounds i8, ptr %6, i64 16
br i1 %430, label %435, label %432
432: ; preds = %429
%433 = load ptr, ptr %347, align 8, !tbaa !38
%434 = call i32 %433(ptr noundef nonnull %431, i32 noundef %7, ptr noundef nonnull %394) #3
br label %438
435: ; preds = %429
%436 = load ptr, ptr %348, align 8, !tbaa !39
%437 = call i32 %436(ptr noundef nonnull %431, i32 noundef %7, ptr noundef nonnull %394) #3
br label %438
438: ; preds = %231, %390, %290, %426, %432, %435, %326, %332, %335, %148, %157, %153, %88
%439 = phi i32 [ 0, %88 ], [ 15, %148 ], [ 15, %153 ], [ 15, %157 ], [ %240, %335 ], [ %240, %332 ], [ %240, %326 ], [ %341, %435 ], [ %341, %432 ], [ %341, %426 ], [ %240, %290 ], [ %341, %390 ], [ %165, %231 ]
%440 = icmp eq ptr %9, null
br i1 %440, label %446, label %441
441: ; preds = %438
%442 = shl nsw i32 %2, 2
%443 = shl i32 %104, %442
%444 = load i32, ptr %9, align 4, !tbaa !21
%445 = or i32 %444, %443
store i32 %445, ptr %9, align 4, !tbaa !21
br label %446
446: ; preds = %354, %395, %254, %295, %183, %117, %438, %441
%447 = phi i32 [ %439, %441 ], [ %439, %438 ], [ %120, %117 ], [ %186, %183 ], [ %298, %295 ], [ %257, %254 ], [ %398, %395 ], [ %357, %354 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret i32 %447
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FFABS(i32 noundef) local_unnamed_addr #2
declare i32 @get_vlc2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @decode012(ptr noundef) local_unnamed_addr #2
declare i32 @vc1_decode_ac_coeff(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 8}
!7 = !{!"TYPE_14__", !8, i64 0, !12, i64 8, !13, i64 16}
!8 = !{!"TYPE_10__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_12__", !9, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_13__", !17, i64 0, !13, i64 8, !9, i64 16, !9, i64 24, !18, i64 32, !13, i64 96, !9, i64 104, !13, i64 112, !13, i64 116, !9, i64 120, !13, i64 128, !17, i64 136, !7, i64 144}
!17 = !{!"long", !10, i64 0}
!18 = !{!"TYPE_11__", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_15__", !13, i64 0}
!21 = !{!13, !13, i64 0}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_16__", !13, i64 0}
!24 = !{!16, !17, i64 136}
!25 = !{!16, !13, i64 128}
!26 = !{!16, !13, i64 8}
!27 = !{!16, !13, i64 116}
!28 = !{!16, !13, i64 112}
!29 = !{!16, !9, i64 16}
!30 = !{!16, !13, i64 96}
!31 = !{!16, !9, i64 88}
!32 = !{!16, !9, i64 80}
!33 = !{!7, !9, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!16, !9, i64 48}
!37 = !{!16, !9, i64 56}
!38 = !{!16, !9, i64 32}
!39 = !{!16, !9, i64 40}
| FFmpeg_libavcodec_extr_vc1_block.c_vc1_decode_p_block |
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_md5.c_cpu_to_le32_array.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_md5.c_cpu_to_le32_array.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_to_le32_array], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cpu_to_le32_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %11, label %4
4: ; preds = %2, %4
%5 = phi i32 [ %7, %4 ], [ %1, %2 ]
%6 = phi ptr [ %9, %4 ], [ %0, %2 ]
%7 = add i32 %5, -1
%8 = tail call i32 @__cpu_to_le32s(ptr noundef %6) #2
%9 = getelementptr inbounds i32, ptr %6, i64 1
%10 = icmp eq i32 %7, 0
br i1 %10, label %11, label %4, !llvm.loop !5
11: ; preds = %4, %2
ret void
}
declare i32 @__cpu_to_le32s(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_md5.c_cpu_to_le32_array.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_md5.c_cpu_to_le32_array.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 @cpu_to_le32_array], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cpu_to_le32_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %11, label %4
4: ; preds = %2, %4
%5 = phi i32 [ %7, %4 ], [ %1, %2 ]
%6 = phi ptr [ %9, %4 ], [ %0, %2 ]
%7 = add i32 %5, -1
%8 = tail call i32 @__cpu_to_le32s(ptr noundef %6) #2
%9 = getelementptr inbounds i8, ptr %6, i64 4
%10 = icmp eq i32 %7, 0
br i1 %10, label %11, label %4, !llvm.loop !6
11: ; preds = %4, %2
ret void
}
declare i32 @__cpu_to_le32s(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_crypto_extr_md5.c_cpu_to_le32_array |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de4x5.c_test_mii_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de4x5.c_test_mii_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.de4x5_private = type { i64, i64, ptr }
%struct.TYPE_2__ = type { i32 }
@DE4X5_MII = dso_local local_unnamed_addr global i32 0, align 4
@TIMER_CB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_mii_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @test_mii_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @netdev_priv(ptr noundef %0) #2
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = sdiv i64 %4, 100
store i64 %10, ptr %6, align 8, !tbaa !5
br label %11
11: ; preds = %9, %5
%12 = getelementptr inbounds %struct.de4x5_private, ptr %6, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.de4x5_private, ptr %6, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !12
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = load i32, ptr @DE4X5_MII, align 4, !tbaa !16
%19 = tail call i32 @mii_rd(i32 noundef %1, i32 noundef %17, i32 noundef %18) #2
%20 = and i32 %19, %2
%21 = icmp ne i32 %3, 0
%22 = sext i1 %21 to i32
%23 = xor i32 %20, %22
%24 = and i32 %23, %2
%25 = icmp eq i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %11
%27 = load i64, ptr %6, align 8, !tbaa !5
%28 = add nsw i64 %27, -1
store i64 %28, ptr %6, align 8, !tbaa !5
%29 = icmp eq i64 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = load i32, ptr @TIMER_CB, align 4, !tbaa !16
%32 = or i32 %31, 100
br label %34
33: ; preds = %26, %11
store i64 -1, ptr %6, align 8, !tbaa !5
br label %34
34: ; preds = %33, %30
%35 = phi i32 [ %32, %30 ], [ %20, %33 ]
ret i32 %35
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mii_rd(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"de4x5_private", !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 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de4x5.c_test_mii_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/dec/tulip/extr_de4x5.c_test_mii_reg.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 }
@DE4X5_MII = common local_unnamed_addr global i32 0, align 4
@TIMER_CB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_mii_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @test_mii_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @netdev_priv(ptr noundef %0) #2
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = sdiv i64 %4, 100
store i64 %10, ptr %6, align 8, !tbaa !6
br label %11
11: ; preds = %9, %5
%12 = getelementptr inbounds i8, ptr %6, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = getelementptr inbounds i8, ptr %6, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = load i32, ptr @DE4X5_MII, align 4, !tbaa !17
%19 = tail call i32 @mii_rd(i32 noundef %1, i32 noundef %17, i32 noundef %18) #2
%20 = and i32 %19, %2
%21 = icmp ne i32 %3, 0
%22 = sext i1 %21 to i32
%23 = xor i32 %19, %22
%24 = and i32 %23, %2
%25 = icmp eq i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %11
%27 = load i64, ptr %6, align 8, !tbaa !6
%28 = add nsw i64 %27, -1
store i64 %28, ptr %6, align 8, !tbaa !6
%29 = icmp eq i64 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = load i32, ptr @TIMER_CB, align 4, !tbaa !17
%32 = or i32 %31, 100
br label %34
33: ; preds = %26, %11
store i64 -1, ptr %6, align 8, !tbaa !6
br label %34
34: ; preds = %33, %30
%35 = phi i32 [ %32, %30 ], [ %20, %33 ]
ret i32 %35
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mii_rd(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"de4x5_private", !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 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
| linux_drivers_net_ethernet_dec_tulip_extr_de4x5.c_test_mii_reg |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_vmw_pvscsi.c_pvscsi_process_request_ring.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_vmw_pvscsi.c_pvscsi_process_request_ring.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PVSCSI_REG_OFFSET_KICK_NON_RW_IO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pvscsi_process_request_ring], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pvscsi_process_request_ring(ptr noundef %0) #0 {
%2 = load i32, ptr @PVSCSI_REG_OFFSET_KICK_NON_RW_IO, align 4, !tbaa !5
%3 = tail call i32 @pvscsi_reg_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @pvscsi_reg_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_vmw_pvscsi.c_pvscsi_process_request_ring.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_vmw_pvscsi.c_pvscsi_process_request_ring.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PVSCSI_REG_OFFSET_KICK_NON_RW_IO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pvscsi_process_request_ring], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pvscsi_process_request_ring(ptr noundef %0) #0 {
%2 = load i32, ptr @PVSCSI_REG_OFFSET_KICK_NON_RW_IO, align 4, !tbaa !6
%3 = tail call i32 @pvscsi_reg_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @pvscsi_reg_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_extr_vmw_pvscsi.c_pvscsi_process_request_ring |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_venc.c_venc_try_fmt.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_venc.c_venc_try_fmt.c"
target datalayout = "e-m:e-p270:32:32-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 @venc_try_fmt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @venc_try_fmt(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_inst(ptr noundef %0) #2
%5 = tail call i32 @venc_try_fmt_common(ptr noundef %4, ptr noundef %2) #2
ret i32 0
}
declare ptr @to_inst(ptr noundef) local_unnamed_addr #1
declare i32 @venc_try_fmt_common(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_venc.c_venc_try_fmt.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_venc.c_venc_try_fmt.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 @venc_try_fmt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @venc_try_fmt(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_inst(ptr noundef %0) #2
%5 = tail call i32 @venc_try_fmt_common(ptr noundef %4, ptr noundef %2) #2
ret i32 0
}
declare ptr @to_inst(ptr noundef) local_unnamed_addr #1
declare i32 @venc_try_fmt_common(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_platform_qcom_venus_extr_venc.c_venc_try_fmt |
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_v4l2.c_list_formats.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_v4l2.c_list_formats.c"
target datalayout = "e-m:e-p270:32:32-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_fmtdesc = type { i32, i32, i32, i32, i32 }
@V4L2_BUF_TYPE_VIDEO_CAPTURE = dso_local local_unnamed_addr global i32 0, align 4
@VIDIOC_ENUM_FMT = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_FMT_FLAG_COMPRESSED = dso_local local_unnamed_addr global i32 0, align 4
@V4L_RAWFORMATS = dso_local local_unnamed_addr global i32 0, align 4
@AV_LOG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Raw : %11s : %20s :\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Unsupported\00", align 1
@V4L_COMPFORMATS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Compressed: %11s : %20s :\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@V4L2_FMT_FLAG_EMULATED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @list_formats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @list_formats(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.v4l2_fmtdesc, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %3, i8 0, i64 16, i1 false)
%5 = getelementptr inbounds %struct.v4l2_fmtdesc, ptr %3, i64 0, i32 4
%6 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 4, !tbaa !10
store i32 %6, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr %4, align 4, !tbaa !14
%8 = load i32, ptr @VIDIOC_ENUM_FMT, align 4, !tbaa !10
%9 = call i32 @v4l2_ioctl(i32 noundef %7, i32 noundef %8, ptr noundef nonnull %3) #4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %59
11: ; preds = %2
%12 = getelementptr inbounds %struct.v4l2_fmtdesc, ptr %3, i64 0, i32 1
%13 = getelementptr inbounds %struct.v4l2_fmtdesc, ptr %3, i64 0, i32 3
%14 = getelementptr inbounds %struct.v4l2_fmtdesc, ptr %3, i64 0, i32 2
br label %15
15: ; preds = %11, %54
%16 = load i32, ptr %12, align 4, !tbaa !16
%17 = call i32 @ff_fmt_v4l2codec(i32 noundef %16) #4
%18 = load i32, ptr %12, align 4, !tbaa !16
%19 = call i32 @ff_fmt_v4l2ff(i32 noundef %18, i32 noundef %17) #4
%20 = load i32, ptr %13, align 4, !tbaa !17
%21 = add nsw i32 %20, 1
store i32 %21, ptr %13, align 4, !tbaa !17
%22 = load i32, ptr %3, align 4, !tbaa !18
%23 = load i32, ptr @V4L2_FMT_FLAG_COMPRESSED, align 4, !tbaa !10
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %15
%27 = load i32, ptr @V4L_RAWFORMATS, align 4, !tbaa !10
%28 = and i32 %27, %1
%29 = icmp eq i32 %28, 0
br i1 %29, label %54, label %30
30: ; preds = %26
%31 = call ptr @av_get_pix_fmt_name(i32 noundef %19) #4
%32 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !10
%33 = icmp eq ptr %31, null
%34 = select i1 %33, ptr @.str.1, ptr %31
%35 = load i32, ptr %14, align 4, !tbaa !19
%36 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull @.str, ptr noundef nonnull %34, i32 noundef %35) #4
br label %51
37: ; preds = %15
%38 = load i32, ptr @V4L_COMPFORMATS, align 4, !tbaa !10
%39 = and i32 %38, %1
%40 = icmp eq i32 %39, 0
br i1 %40, label %54, label %41, !llvm.loop !20
41: ; preds = %37
%42 = call ptr @avcodec_descriptor_get(i32 noundef %17) #4
%43 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !10
%44 = icmp eq ptr %42, null
br i1 %44, label %47, label %45
45: ; preds = %41
%46 = load ptr, ptr %42, align 8, !tbaa !22
br label %47
47: ; preds = %41, %45
%48 = phi ptr [ %46, %45 ], [ @.str.1, %41 ]
%49 = load i32, ptr %14, align 4, !tbaa !19
%50 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %43, ptr noundef nonnull @.str.2, ptr noundef %48, i32 noundef %49) #4
br label %51
51: ; preds = %47, %30
%52 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !10
%53 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %52, ptr noundef nonnull @.str.3) #4
br label %54
54: ; preds = %26, %37, %51
%55 = load i32, ptr %4, align 4, !tbaa !14
%56 = load i32, ptr @VIDIOC_ENUM_FMT, align 4, !tbaa !10
%57 = call i32 @v4l2_ioctl(i32 noundef %55, i32 noundef %56, ptr noundef nonnull %3) #4
%58 = icmp eq i32 %57, 0
br i1 %58, label %15, label %59
59: ; preds = %54, %2
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @v4l2_ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ff_fmt_v4l2codec(i32 noundef) local_unnamed_addr #3
declare i32 @ff_fmt_v4l2ff(i32 noundef, i32 noundef) local_unnamed_addr #3
declare ptr @av_get_pix_fmt_name(i32 noundef) local_unnamed_addr #3
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @avcodec_descriptor_get(i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_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 16}
!13 = !{!"v4l2_fmtdesc", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!14 = !{!15, !11, i64 0}
!15 = !{!"video_data", !11, i64 0}
!16 = !{!13, !11, i64 4}
!17 = !{!13, !11, i64 12}
!18 = !{!13, !11, i64 0}
!19 = !{!13, !11, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_8__", !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_v4l2.c_list_formats.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_v4l2.c_list_formats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.v4l2_fmtdesc = type { i32, i32, i32, i32, i32 }
@V4L2_BUF_TYPE_VIDEO_CAPTURE = common local_unnamed_addr global i32 0, align 4
@VIDIOC_ENUM_FMT = common local_unnamed_addr global i32 0, align 4
@V4L2_FMT_FLAG_COMPRESSED = common local_unnamed_addr global i32 0, align 4
@V4L_RAWFORMATS = common local_unnamed_addr global i32 0, align 4
@AV_LOG_INFO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Raw : %11s : %20s :\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Unsupported\00", align 1
@V4L_COMPFORMATS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Compressed: %11s : %20s :\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@V4L2_FMT_FLAG_EMULATED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @list_formats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @list_formats(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.v4l2_fmtdesc, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %3, i8 0, i64 16, i1 false)
%5 = getelementptr inbounds i8, ptr %3, i64 16
%6 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 4, !tbaa !11
store i32 %6, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr %4, align 4, !tbaa !15
%8 = load i32, ptr @VIDIOC_ENUM_FMT, align 4, !tbaa !11
%9 = call i32 @v4l2_ioctl(i32 noundef %7, i32 noundef %8, ptr noundef nonnull %3) #4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %59
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = getelementptr inbounds i8, ptr %3, i64 12
%14 = getelementptr inbounds i8, ptr %3, i64 8
br label %15
15: ; preds = %11, %54
%16 = load i32, ptr %12, align 4, !tbaa !17
%17 = call i32 @ff_fmt_v4l2codec(i32 noundef %16) #4
%18 = load i32, ptr %12, align 4, !tbaa !17
%19 = call i32 @ff_fmt_v4l2ff(i32 noundef %18, i32 noundef %17) #4
%20 = load i32, ptr %13, align 4, !tbaa !18
%21 = add nsw i32 %20, 1
store i32 %21, ptr %13, align 4, !tbaa !18
%22 = load i32, ptr %3, align 4, !tbaa !19
%23 = load i32, ptr @V4L2_FMT_FLAG_COMPRESSED, align 4, !tbaa !11
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %15
%27 = load i32, ptr @V4L_RAWFORMATS, align 4, !tbaa !11
%28 = and i32 %27, %1
%29 = icmp eq i32 %28, 0
br i1 %29, label %54, label %30
30: ; preds = %26
%31 = call ptr @av_get_pix_fmt_name(i32 noundef %19) #4
%32 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !11
%33 = icmp eq ptr %31, null
%34 = select i1 %33, ptr @.str.1, ptr %31
%35 = load i32, ptr %14, align 4, !tbaa !20
%36 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull @.str, ptr noundef nonnull %34, i32 noundef %35) #4
br label %51
37: ; preds = %15
%38 = load i32, ptr @V4L_COMPFORMATS, align 4, !tbaa !11
%39 = and i32 %38, %1
%40 = icmp eq i32 %39, 0
br i1 %40, label %54, label %41, !llvm.loop !21
41: ; preds = %37
%42 = call ptr @avcodec_descriptor_get(i32 noundef %17) #4
%43 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !11
%44 = icmp eq ptr %42, null
br i1 %44, label %47, label %45
45: ; preds = %41
%46 = load ptr, ptr %42, align 8, !tbaa !23
br label %47
47: ; preds = %41, %45
%48 = phi ptr [ %46, %45 ], [ @.str.1, %41 ]
%49 = load i32, ptr %14, align 4, !tbaa !20
%50 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %43, ptr noundef nonnull @.str.2, ptr noundef %48, i32 noundef %49) #4
br label %51
51: ; preds = %47, %30
%52 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !11
%53 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef nonnull %0, i32 noundef %52, ptr noundef nonnull @.str.3) #4
br label %54
54: ; preds = %26, %37, %51
%55 = load i32, ptr %4, align 4, !tbaa !15
%56 = load i32, ptr @VIDIOC_ENUM_FMT, align 4, !tbaa !11
%57 = call i32 @v4l2_ioctl(i32 noundef %55, i32 noundef %56, ptr noundef nonnull %3) #4
%58 = icmp eq i32 %57, 0
br i1 %58, label %15, label %59
59: ; preds = %54, %2
call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @v4l2_ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ff_fmt_v4l2codec(i32 noundef) local_unnamed_addr #3
declare i32 @ff_fmt_v4l2ff(i32 noundef, i32 noundef) local_unnamed_addr #3
declare ptr @av_get_pix_fmt_name(i32 noundef) local_unnamed_addr #3
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @avcodec_descriptor_get(i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"v4l2_fmtdesc", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!15 = !{!16, !12, i64 0}
!16 = !{!"video_data", !12, i64 0}
!17 = !{!14, !12, i64 4}
!18 = !{!14, !12, i64 12}
!19 = !{!14, !12, i64 0}
!20 = !{!14, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_8__", !8, i64 0}
| FFmpeg_libavdevice_extr_v4l2.c_list_formats |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_hw_dev.c_disable_msix.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_hw_dev.c_disable_msix.c"
target datalayout = "e-m:e-p270:32:32-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 @disable_msix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @disable_msix(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i32 @pci_disable_msix(ptr noundef %3) #2
ret void
}
declare i32 @pci_disable_msix(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 = !{!"hinic_hwdev", !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 = !{!"hinic_hwif", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_hw_dev.c_disable_msix.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/huawei/hinic/extr_hinic_hw_dev.c_disable_msix.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 @disable_msix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @disable_msix(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = tail call i32 @pci_disable_msix(ptr noundef %3) #2
ret void
}
declare i32 @pci_disable_msix(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 = !{!"hinic_hwdev", !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 = !{!"hinic_hwif", !8, i64 0}
| linux_drivers_net_ethernet_huawei_hinic_extr_hinic_hw_dev.c_disable_msix |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_cred.c_alter_cred_subscribers.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_cred.c_alter_cred_subscribers.c"
target datalayout = "e-m:e-p270:32:32-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 @alter_cred_subscribers], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @alter_cred_subscribers(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_cred.c_alter_cred_subscribers.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_cred.c_alter_cred_subscribers.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 @alter_cred_subscribers], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @alter_cred_subscribers(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_kernel_extr_cred.c_alter_cred_subscribers |
; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_node.c_ieee80211_node_join.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_node.c_ieee80211_node_join.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_node = type { i64, i32, i32, i32, ptr, ptr }
%struct.ieee80211vap = type { i32, ptr, i32, ptr }
%struct.ieee80211com = type { i32, ptr, i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"no aid bitmap\00", align 1
@IEEE80211_STATUS_TOOMANY = dso_local local_unnamed_addr global i32 0, align 4
@time_uptime = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_MSG_ASSOC = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [72 x i8] c"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s\00", align 1
@IEEE80211_F_SHPREAMBLE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@IEEE80211_F_SHSLOT = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_F_USEPROT = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [13 x i8] c", protection\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@IEEE80211_NODE_QOS = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c", QoS\00", align 1
@IEEE80211_NODE_HT = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c", HT40\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c", HT20\00", align 1
@IEEE80211_NODE_AMPDU = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [10 x i8] c" (+AMPDU)\00", align 1
@IEEE80211_NODE_MIMO_RTS = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [13 x i8] c" (+SMPS-DYN)\00", align 1
@IEEE80211_NODE_MIMO_PS = dso_local local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [9 x i8] c" (+SMPS)\00", align 1
@IEEE80211_NODE_RIFS = dso_local local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [9 x i8] c" (+RIFS)\00", align 1
@IEEE80211_NODE_FF = dso_local local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [14 x i8] c", fast-frames\00", align 1
@IEEE80211_NODE_TURBOP = dso_local local_unnamed_addr global i32 0, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c", turbo\00", align 1
@IEEE80211_STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_FC0_SUBTYPE_ASSOC_RESP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ieee80211_node_join(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 4
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr %0, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %72
9: ; preds = %2
%10 = getelementptr inbounds %struct.ieee80211vap, ptr %6, i64 0, i32 3
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = icmp ne ptr %11, null
%13 = zext i1 %12 to i32
%14 = tail call i32 @KASSERT(i32 noundef %13, ptr noundef nonnull @.str) #2
%15 = load i32, ptr %6, align 8, !tbaa !16
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %25
17: ; preds = %9, %22
%18 = phi i32 [ %23, %22 ], [ 1, %9 ]
%19 = tail call i32 @IEEE80211_AID_ISSET(ptr noundef nonnull %6, i32 noundef %18) #2
%20 = icmp eq i32 %19, 0
%21 = load i32, ptr %6, align 8, !tbaa !16
br i1 %20, label %25, label %22
22: ; preds = %17
%23 = add nuw nsw i32 %18, 1
%24 = icmp slt i32 %23, %21
br i1 %24, label %17, label %25, !llvm.loop !17
25: ; preds = %22, %17, %9
%26 = phi i32 [ %15, %9 ], [ %21, %17 ], [ %21, %22 ]
%27 = phi i32 [ 1, %9 ], [ %23, %22 ], [ %18, %17 ]
%28 = icmp slt i32 %27, %26
br i1 %28, label %29, label %68
29: ; preds = %25
%30 = or i32 %27, 49152
%31 = zext nneg i32 %30 to i64
store i64 %31, ptr %0, align 8, !tbaa !13
%32 = load i32, ptr @time_uptime, align 4, !tbaa !19
%33 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 3
store i32 %32, ptr %33, align 8, !tbaa !20
%34 = tail call i32 @IEEE80211_LOCK(ptr noundef %4) #2
%35 = load i64, ptr %0, align 8, !tbaa !13
%36 = trunc i64 %35 to i32
%37 = tail call i32 @IEEE80211_AID_SET(ptr noundef nonnull %6, i32 noundef %36) #2
%38 = getelementptr inbounds %struct.ieee80211vap, ptr %6, i64 0, i32 2
%39 = load i32, ptr %38, align 8, !tbaa !21
%40 = add nsw i32 %39, 1
store i32 %40, ptr %38, align 8, !tbaa !21
%41 = getelementptr inbounds %struct.ieee80211com, ptr %4, i64 0, i32 3
%42 = load i32, ptr %41, align 4, !tbaa !22
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4, !tbaa !22
%44 = getelementptr inbounds %struct.ieee80211com, ptr %4, i64 0, i32 2
%45 = load i32, ptr %44, align 8, !tbaa !24
%46 = tail call i64 @IEEE80211_IS_CHAN_HT(i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %29
%49 = tail call i32 @ieee80211_ht_node_join(ptr noundef nonnull %0) #2
br label %50
50: ; preds = %48, %29
%51 = load i32, ptr %44, align 8, !tbaa !24
%52 = tail call i64 @IEEE80211_IS_CHAN_VHT(i32 noundef %51) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = tail call i32 @ieee80211_vht_node_join(ptr noundef nonnull %0) #2
br label %56
56: ; preds = %54, %50
%57 = load i32, ptr %44, align 8, !tbaa !24
%58 = tail call i64 @IEEE80211_IS_CHAN_ANYG(i32 noundef %57) #2
%59 = icmp eq i64 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %56
%61 = load i32, ptr %44, align 8, !tbaa !24
%62 = tail call i64 @IEEE80211_IS_CHAN_FULL(i32 noundef %61) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %66, label %64
64: ; preds = %60
%65 = tail call i32 @ieee80211_node_join_11g(ptr noundef nonnull %0) #2
br label %66
66: ; preds = %56, %60, %64
%67 = tail call i32 @IEEE80211_UNLOCK(ptr noundef nonnull %4) #2
br label %72
68: ; preds = %25
%69 = load i32, ptr @IEEE80211_STATUS_TOOMANY, align 4, !tbaa !19
%70 = tail call i32 @IEEE80211_SEND_MGMT(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %69) #2
%71 = tail call i32 @ieee80211_node_leave(ptr noundef nonnull %0) #2
br label %153
72: ; preds = %66, %2
%73 = phi i32 [ 0, %2 ], [ 1, %66 ]
%74 = load i32, ptr @IEEE80211_MSG_ASSOC, align 4, !tbaa !19
%75 = load i32, ptr @IEEE80211_MSG_DEBUG, align 4, !tbaa !19
%76 = or i32 %75, %74
%77 = tail call i32 @IEEE80211_NODE_AID(ptr noundef nonnull %0) #2
%78 = load i32, ptr %4, align 8, !tbaa !25
%79 = load i32, ptr @IEEE80211_F_SHPREAMBLE, align 4, !tbaa !19
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
%82 = select i1 %81, ptr @.str.3, ptr @.str.2
%83 = load i32, ptr @IEEE80211_F_SHSLOT, align 4, !tbaa !19
%84 = and i32 %83, %78
%85 = icmp eq i32 %84, 0
%86 = select i1 %85, ptr @.str.3, ptr @.str.2
%87 = load i32, ptr @IEEE80211_F_USEPROT, align 4, !tbaa !19
%88 = and i32 %87, %78
%89 = icmp eq i32 %88, 0
%90 = select i1 %89, ptr @.str.5, ptr @.str.4
%91 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 1
%92 = load i32, ptr %91, align 8, !tbaa !26
%93 = load i32, ptr @IEEE80211_NODE_QOS, align 4, !tbaa !19
%94 = and i32 %93, %92
%95 = icmp eq i32 %94, 0
%96 = select i1 %95, ptr @.str.5, ptr @.str.6
%97 = load i32, ptr @IEEE80211_NODE_HT, align 4, !tbaa !19
%98 = and i32 %97, %92
%99 = icmp eq i32 %98, 0
br i1 %99, label %105, label %100
100: ; preds = %72
%101 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 2
%102 = load i32, ptr %101, align 4, !tbaa !27
%103 = icmp eq i32 %102, 40
%104 = select i1 %103, ptr @.str.7, ptr @.str.8
br label %105
105: ; preds = %72, %100
%106 = phi ptr [ %104, %100 ], [ @.str.5, %72 ]
%107 = load i32, ptr @IEEE80211_NODE_AMPDU, align 4, !tbaa !19
%108 = and i32 %107, %92
%109 = icmp eq i32 %108, 0
%110 = select i1 %109, ptr @.str.5, ptr @.str.9
%111 = load i32, ptr @IEEE80211_NODE_MIMO_RTS, align 4, !tbaa !19
%112 = and i32 %111, %92
%113 = icmp eq i32 %112, 0
%114 = load i32, ptr @IEEE80211_NODE_MIMO_PS, align 4
%115 = and i32 %114, %92
%116 = icmp eq i32 %115, 0
%117 = select i1 %116, ptr @.str.5, ptr @.str.11
%118 = select i1 %113, ptr %117, ptr @.str.10
%119 = load i32, ptr @IEEE80211_NODE_RIFS, align 4, !tbaa !19
%120 = and i32 %119, %92
%121 = icmp eq i32 %120, 0
%122 = select i1 %121, ptr @.str.5, ptr @.str.12
%123 = load i32, ptr @IEEE80211_NODE_FF, align 4, !tbaa !19
%124 = tail call i64 @IEEE80211_ATH_CAP(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %123) #2
%125 = icmp eq i64 %124, 0
%126 = select i1 %125, ptr @.str.5, ptr @.str.13
%127 = load i32, ptr @IEEE80211_NODE_TURBOP, align 4, !tbaa !19
%128 = tail call i64 @IEEE80211_ATH_CAP(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %127) #2
%129 = icmp eq i64 %128, 0
%130 = select i1 %129, ptr @.str.5, ptr @.str.14
%131 = tail call i32 @IEEE80211_NOTE(ptr noundef %6, i32 noundef %76, ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %77, ptr noundef nonnull %82, ptr noundef nonnull %86, ptr noundef nonnull %90, ptr noundef nonnull %96, ptr noundef nonnull %106, ptr noundef nonnull %110, ptr noundef nonnull %118, ptr noundef nonnull %122, ptr noundef nonnull %126, ptr noundef nonnull %130) #2
%132 = tail call i32 @ieee80211_node_setuptxparms(ptr noundef nonnull %0) #2
%133 = tail call i32 @ieee80211_ratectl_node_init(ptr noundef nonnull %0) #2
%134 = getelementptr inbounds %struct.ieee80211com, ptr %4, i64 0, i32 1
%135 = load ptr, ptr %134, align 8, !tbaa !28
%136 = icmp eq ptr %135, null
br i1 %136, label %139, label %137
137: ; preds = %105
%138 = tail call i32 %135(ptr noundef nonnull %0, i32 noundef %73) #2
br label %139
139: ; preds = %137, %105
%140 = load i32, ptr @IEEE80211_STATUS_SUCCESS, align 4, !tbaa !19
%141 = tail call i32 @IEEE80211_SEND_MGMT(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %140) #2
%142 = getelementptr inbounds %struct.ieee80211vap, ptr %6, i64 0, i32 1
%143 = load ptr, ptr %142, align 8, !tbaa !29
%144 = load ptr, ptr %143, align 8, !tbaa !30
%145 = icmp eq ptr %144, null
br i1 %145, label %148, label %146
146: ; preds = %139
%147 = tail call i32 %144(ptr noundef nonnull %0) #2
br label %148
148: ; preds = %146, %139
%149 = load i32, ptr @IEEE80211_FC0_SUBTYPE_ASSOC_RESP, align 4, !tbaa !19
%150 = icmp eq i32 %149, %1
%151 = zext i1 %150 to i32
%152 = tail call i32 @ieee80211_notify_node_join(ptr noundef nonnull %0, i32 noundef %151) #2
br label %153
153: ; preds = %68, %148
ret void
}
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_AID_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IEEE80211_SEND_MGMT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_leave(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_AID_SET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_HT(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_ht_node_join(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_VHT(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_vht_node_join(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_ANYG(i32 noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_FULL(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_join_11g(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_NOTE(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_NODE_AID(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_ATH_CAP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_setuptxparms(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_ratectl_node_init(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_notify_node_join(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"ieee80211_node", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24, !11, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !11, i64 24}
!15 = !{!"ieee80211vap", !10, i64 0, !11, i64 8, !10, i64 16, !11, i64 24}
!16 = !{!15, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !10, i64 16}
!21 = !{!15, !10, i64 16}
!22 = !{!23, !10, i64 20}
!23 = !{!"ieee80211com", !10, i64 0, !11, i64 8, !10, i64 16, !10, i64 20}
!24 = !{!23, !10, i64 16}
!25 = !{!23, !10, i64 0}
!26 = !{!6, !10, i64 8}
!27 = !{!6, !10, i64 12}
!28 = !{!23, !11, i64 8}
!29 = !{!15, !11, i64 8}
!30 = !{!31, !11, i64 0}
!31 = !{!"TYPE_2__", !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_node.c_ieee80211_node_join.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_node.c_ieee80211_node_join.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"no aid bitmap\00", align 1
@IEEE80211_STATUS_TOOMANY = common local_unnamed_addr global i32 0, align 4
@time_uptime = common local_unnamed_addr global i32 0, align 4
@IEEE80211_MSG_ASSOC = common local_unnamed_addr global i32 0, align 4
@IEEE80211_MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [72 x i8] c"station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s%s%s\00", align 1
@IEEE80211_F_SHPREAMBLE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@IEEE80211_F_SHSLOT = common local_unnamed_addr global i32 0, align 4
@IEEE80211_F_USEPROT = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [13 x i8] c", protection\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@IEEE80211_NODE_QOS = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c", QoS\00", align 1
@IEEE80211_NODE_HT = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [7 x i8] c", HT40\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c", HT20\00", align 1
@IEEE80211_NODE_AMPDU = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [10 x i8] c" (+AMPDU)\00", align 1
@IEEE80211_NODE_MIMO_RTS = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [13 x i8] c" (+SMPS-DYN)\00", align 1
@IEEE80211_NODE_MIMO_PS = common local_unnamed_addr global i32 0, align 4
@.str.11 = private unnamed_addr constant [9 x i8] c" (+SMPS)\00", align 1
@IEEE80211_NODE_RIFS = common local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [9 x i8] c" (+RIFS)\00", align 1
@IEEE80211_NODE_FF = common local_unnamed_addr global i32 0, align 4
@.str.13 = private unnamed_addr constant [14 x i8] c", fast-frames\00", align 1
@IEEE80211_NODE_TURBOP = common local_unnamed_addr global i32 0, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c", turbo\00", align 1
@IEEE80211_STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4
@IEEE80211_FC0_SUBTYPE_ASSOC_RESP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ieee80211_node_join(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr %0, align 8, !tbaa !14
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %72
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %6, i64 24
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = icmp ne ptr %11, null
%13 = zext i1 %12 to i32
%14 = tail call i32 @KASSERT(i32 noundef %13, ptr noundef nonnull @.str) #2
%15 = load i32, ptr %6, align 8, !tbaa !17
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %25
17: ; preds = %9, %22
%18 = phi i32 [ %23, %22 ], [ 1, %9 ]
%19 = tail call i32 @IEEE80211_AID_ISSET(ptr noundef nonnull %6, i32 noundef %18) #2
%20 = icmp eq i32 %19, 0
%21 = load i32, ptr %6, align 8, !tbaa !17
br i1 %20, label %25, label %22
22: ; preds = %17
%23 = add nuw nsw i32 %18, 1
%24 = icmp slt i32 %23, %21
br i1 %24, label %17, label %25, !llvm.loop !18
25: ; preds = %22, %17, %9
%26 = phi i32 [ %15, %9 ], [ %21, %17 ], [ %21, %22 ]
%27 = phi i32 [ 1, %9 ], [ %23, %22 ], [ %18, %17 ]
%28 = icmp slt i32 %27, %26
br i1 %28, label %29, label %68
29: ; preds = %25
%30 = or i32 %27, 49152
%31 = zext nneg i32 %30 to i64
store i64 %31, ptr %0, align 8, !tbaa !14
%32 = load i32, ptr @time_uptime, align 4, !tbaa !20
%33 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %32, ptr %33, align 8, !tbaa !21
%34 = tail call i32 @IEEE80211_LOCK(ptr noundef %4) #2
%35 = load i64, ptr %0, align 8, !tbaa !14
%36 = trunc i64 %35 to i32
%37 = tail call i32 @IEEE80211_AID_SET(ptr noundef nonnull %6, i32 noundef %36) #2
%38 = getelementptr inbounds i8, ptr %6, i64 16
%39 = load i32, ptr %38, align 8, !tbaa !22
%40 = add nsw i32 %39, 1
store i32 %40, ptr %38, align 8, !tbaa !22
%41 = getelementptr inbounds i8, ptr %4, i64 20
%42 = load i32, ptr %41, align 4, !tbaa !23
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4, !tbaa !23
%44 = getelementptr inbounds i8, ptr %4, i64 16
%45 = load i32, ptr %44, align 8, !tbaa !25
%46 = tail call i64 @IEEE80211_IS_CHAN_HT(i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %29
%49 = tail call i32 @ieee80211_ht_node_join(ptr noundef nonnull %0) #2
br label %50
50: ; preds = %48, %29
%51 = load i32, ptr %44, align 8, !tbaa !25
%52 = tail call i64 @IEEE80211_IS_CHAN_VHT(i32 noundef %51) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %50
%55 = tail call i32 @ieee80211_vht_node_join(ptr noundef nonnull %0) #2
br label %56
56: ; preds = %54, %50
%57 = load i32, ptr %44, align 8, !tbaa !25
%58 = tail call i64 @IEEE80211_IS_CHAN_ANYG(i32 noundef %57) #2
%59 = icmp eq i64 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %56
%61 = load i32, ptr %44, align 8, !tbaa !25
%62 = tail call i64 @IEEE80211_IS_CHAN_FULL(i32 noundef %61) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %66, label %64
64: ; preds = %60
%65 = tail call i32 @ieee80211_node_join_11g(ptr noundef nonnull %0) #2
br label %66
66: ; preds = %56, %60, %64
%67 = tail call i32 @IEEE80211_UNLOCK(ptr noundef nonnull %4) #2
br label %72
68: ; preds = %25
%69 = load i32, ptr @IEEE80211_STATUS_TOOMANY, align 4, !tbaa !20
%70 = tail call i32 @IEEE80211_SEND_MGMT(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %69) #2
%71 = tail call i32 @ieee80211_node_leave(ptr noundef nonnull %0) #2
br label %153
72: ; preds = %66, %2
%73 = phi i32 [ 0, %2 ], [ 1, %66 ]
%74 = load i32, ptr @IEEE80211_MSG_ASSOC, align 4, !tbaa !20
%75 = load i32, ptr @IEEE80211_MSG_DEBUG, align 4, !tbaa !20
%76 = or i32 %75, %74
%77 = tail call i32 @IEEE80211_NODE_AID(ptr noundef nonnull %0) #2
%78 = load i32, ptr %4, align 8, !tbaa !26
%79 = load i32, ptr @IEEE80211_F_SHPREAMBLE, align 4, !tbaa !20
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
%82 = select i1 %81, ptr @.str.3, ptr @.str.2
%83 = load i32, ptr @IEEE80211_F_SHSLOT, align 4, !tbaa !20
%84 = and i32 %83, %78
%85 = icmp eq i32 %84, 0
%86 = select i1 %85, ptr @.str.3, ptr @.str.2
%87 = load i32, ptr @IEEE80211_F_USEPROT, align 4, !tbaa !20
%88 = and i32 %87, %78
%89 = icmp eq i32 %88, 0
%90 = select i1 %89, ptr @.str.5, ptr @.str.4
%91 = getelementptr inbounds i8, ptr %0, i64 8
%92 = load i32, ptr %91, align 8, !tbaa !27
%93 = load i32, ptr @IEEE80211_NODE_QOS, align 4, !tbaa !20
%94 = and i32 %93, %92
%95 = icmp eq i32 %94, 0
%96 = select i1 %95, ptr @.str.5, ptr @.str.6
%97 = load i32, ptr @IEEE80211_NODE_HT, align 4, !tbaa !20
%98 = and i32 %97, %92
%99 = icmp eq i32 %98, 0
br i1 %99, label %105, label %100
100: ; preds = %72
%101 = getelementptr inbounds i8, ptr %0, i64 12
%102 = load i32, ptr %101, align 4, !tbaa !28
%103 = icmp eq i32 %102, 40
%104 = select i1 %103, ptr @.str.7, ptr @.str.8
br label %105
105: ; preds = %72, %100
%106 = phi ptr [ %104, %100 ], [ @.str.5, %72 ]
%107 = load i32, ptr @IEEE80211_NODE_AMPDU, align 4, !tbaa !20
%108 = and i32 %107, %92
%109 = icmp eq i32 %108, 0
%110 = select i1 %109, ptr @.str.5, ptr @.str.9
%111 = load i32, ptr @IEEE80211_NODE_MIMO_RTS, align 4, !tbaa !20
%112 = and i32 %111, %92
%113 = icmp eq i32 %112, 0
%114 = load i32, ptr @IEEE80211_NODE_MIMO_PS, align 4
%115 = and i32 %114, %92
%116 = icmp eq i32 %115, 0
%117 = select i1 %116, ptr @.str.5, ptr @.str.11
%118 = select i1 %113, ptr %117, ptr @.str.10
%119 = load i32, ptr @IEEE80211_NODE_RIFS, align 4, !tbaa !20
%120 = and i32 %119, %92
%121 = icmp eq i32 %120, 0
%122 = select i1 %121, ptr @.str.5, ptr @.str.12
%123 = load i32, ptr @IEEE80211_NODE_FF, align 4, !tbaa !20
%124 = tail call i64 @IEEE80211_ATH_CAP(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %123) #2
%125 = icmp eq i64 %124, 0
%126 = select i1 %125, ptr @.str.5, ptr @.str.13
%127 = load i32, ptr @IEEE80211_NODE_TURBOP, align 4, !tbaa !20
%128 = tail call i64 @IEEE80211_ATH_CAP(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %127) #2
%129 = icmp eq i64 %128, 0
%130 = select i1 %129, ptr @.str.5, ptr @.str.14
%131 = tail call i32 @IEEE80211_NOTE(ptr noundef %6, i32 noundef %76, ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %77, ptr noundef nonnull %82, ptr noundef nonnull %86, ptr noundef nonnull %90, ptr noundef nonnull %96, ptr noundef nonnull %106, ptr noundef nonnull %110, ptr noundef nonnull %118, ptr noundef nonnull %122, ptr noundef nonnull %126, ptr noundef nonnull %130) #2
%132 = tail call i32 @ieee80211_node_setuptxparms(ptr noundef nonnull %0) #2
%133 = tail call i32 @ieee80211_ratectl_node_init(ptr noundef nonnull %0) #2
%134 = getelementptr inbounds i8, ptr %4, i64 8
%135 = load ptr, ptr %134, align 8, !tbaa !29
%136 = icmp eq ptr %135, null
br i1 %136, label %139, label %137
137: ; preds = %105
%138 = tail call i32 %135(ptr noundef nonnull %0, i32 noundef %73) #2
br label %139
139: ; preds = %137, %105
%140 = load i32, ptr @IEEE80211_STATUS_SUCCESS, align 4, !tbaa !20
%141 = tail call i32 @IEEE80211_SEND_MGMT(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %140) #2
%142 = getelementptr inbounds i8, ptr %6, i64 8
%143 = load ptr, ptr %142, align 8, !tbaa !30
%144 = load ptr, ptr %143, align 8, !tbaa !31
%145 = icmp eq ptr %144, null
br i1 %145, label %148, label %146
146: ; preds = %139
%147 = tail call i32 %144(ptr noundef nonnull %0) #2
br label %148
148: ; preds = %146, %139
%149 = load i32, ptr @IEEE80211_FC0_SUBTYPE_ASSOC_RESP, align 4, !tbaa !20
%150 = icmp eq i32 %149, %1
%151 = zext i1 %150 to i32
%152 = tail call i32 @ieee80211_notify_node_join(ptr noundef nonnull %0, i32 noundef %151) #2
br label %153
153: ; preds = %68, %148
ret void
}
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_AID_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IEEE80211_SEND_MGMT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_leave(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_AID_SET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_HT(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_ht_node_join(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_VHT(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_vht_node_join(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_ANYG(i32 noundef) local_unnamed_addr #1
declare i64 @IEEE80211_IS_CHAN_FULL(i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_join_11g(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_NOTE(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IEEE80211_NODE_AID(ptr noundef) local_unnamed_addr #1
declare i64 @IEEE80211_ATH_CAP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_node_setuptxparms(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_ratectl_node_init(ptr noundef) local_unnamed_addr #1
declare i32 @ieee80211_notify_node_join(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 32}
!7 = !{!"ieee80211_node", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !12, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 24}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !12, i64 24}
!16 = !{!"ieee80211vap", !11, i64 0, !12, i64 8, !11, i64 16, !12, i64 24}
!17 = !{!16, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !11, i64 16}
!22 = !{!16, !11, i64 16}
!23 = !{!24, !11, i64 20}
!24 = !{!"ieee80211com", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 20}
!25 = !{!24, !11, i64 16}
!26 = !{!24, !11, i64 0}
!27 = !{!7, !11, i64 8}
!28 = !{!7, !11, i64 12}
!29 = !{!24, !12, i64 8}
!30 = !{!16, !12, i64 8}
!31 = !{!32, !12, i64 0}
!32 = !{!"TYPE_2__", !12, i64 0}
| freebsd_sys_net80211_extr_ieee80211_node.c_ieee80211_node_join |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/sldns/extr_str2wire.c_rrinternal_get_ttl.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_str2wire.c_rrinternal_get_ttl.c"
target datalayout = "e-m:e-p270:32:32-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"\09\0A \00", align 1
@LDNS_WIREPARSE_ERR_SYNTAX_TTL = dso_local local_unnamed_addr global i32 0, align 4
@LDNS_DEFAULT_TTL = dso_local local_unnamed_addr global i64 0, align 8
@LDNS_WIREPARSE_ERR_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rrinternal_get_ttl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rrinternal_get_ttl(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
%8 = tail call i32 @sldns_bget_token(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %2) #4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr @LDNS_WIREPARSE_ERR_SYNTAX_TTL, align 4, !tbaa !5
%12 = tail call i32 @sldns_buffer_position(ptr noundef %0) #4
%13 = tail call i32 @RET_ERR(i32 noundef %11, i32 noundef %12) #4
br label %28
14: ; preds = %6
%15 = call i64 @sldns_str2period(ptr noundef %1, ptr noundef nonnull %7) #4
store i64 %15, ptr %4, align 8, !tbaa !9
%16 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%17 = icmp sgt i64 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i8, ptr %1, align 1, !tbaa !11
%20 = call i32 @isdigit(i8 noundef zeroext %19) #4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
store i32 1, ptr %3, align 4, !tbaa !5
%23 = icmp eq i64 %5, 0
%24 = load i64, ptr @LDNS_DEFAULT_TTL, align 8
%25 = select i1 %23, i64 %24, i64 %5
store i64 %25, ptr %4, align 8, !tbaa !9
br label %26
26: ; preds = %22, %18, %14
%27 = load i32, ptr @LDNS_WIREPARSE_ERR_OK, align 4, !tbaa !5
br label %28
28: ; preds = %26, %10
%29 = phi i32 [ %13, %10 ], [ %27, %26 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sldns_bget_token(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @RET_ERR(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sldns_buffer_position(ptr noundef) local_unnamed_addr #2
declare i64 @sldns_str2period(ptr 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
declare i32 @isdigit(i8 noundef zeroext) 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 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, !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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/sldns/extr_str2wire.c_rrinternal_get_ttl.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_str2wire.c_rrinternal_get_ttl.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"\09\0A \00", align 1
@LDNS_WIREPARSE_ERR_SYNTAX_TTL = common local_unnamed_addr global i32 0, align 4
@LDNS_DEFAULT_TTL = common local_unnamed_addr global i64 0, align 8
@LDNS_WIREPARSE_ERR_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rrinternal_get_ttl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rrinternal_get_ttl(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
%8 = tail call i32 @sldns_bget_token(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %2) #4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr @LDNS_WIREPARSE_ERR_SYNTAX_TTL, align 4, !tbaa !6
%12 = tail call i32 @sldns_buffer_position(ptr noundef %0) #4
%13 = tail call i32 @RET_ERR(i32 noundef %11, i32 noundef %12) #4
br label %28
14: ; preds = %6
%15 = call i64 @sldns_str2period(ptr noundef %1, ptr noundef nonnull %7) #4
store i64 %15, ptr %4, align 8, !tbaa !10
%16 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%17 = icmp sgt i64 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i8, ptr %1, align 1, !tbaa !12
%20 = call i32 @isdigit(i8 noundef zeroext %19) #4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
store i32 1, ptr %3, align 4, !tbaa !6
%23 = icmp eq i64 %5, 0
%24 = load i64, ptr @LDNS_DEFAULT_TTL, align 8
%25 = select i1 %23, i64 %24, i64 %5
store i64 %25, ptr %4, align 8, !tbaa !10
br label %26
26: ; preds = %22, %18, %14
%27 = load i32, ptr @LDNS_WIREPARSE_ERR_OK, align 4, !tbaa !6
br label %28
28: ; preds = %26, %10
%29 = phi i32 [ %13, %10 ], [ %27, %26 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sldns_bget_token(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @RET_ERR(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sldns_buffer_position(ptr noundef) local_unnamed_addr #2
declare i64 @sldns_str2period(ptr 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
declare i32 @isdigit(i8 noundef zeroext) 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 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, !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 = !{!8, !8, i64 0}
| freebsd_contrib_unbound_sldns_extr_str2wire.c_rrinternal_get_ttl |
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi.h_pqi_ctrl_offline.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi.h_pqi_ctrl_offline.c"
target datalayout = "e-m:e-p270:32:32-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 @pqi_ctrl_offline], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @pqi_ctrl_offline(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %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, !7, i64 0}
!6 = !{!"pqi_ctrl_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi.h_pqi_ctrl_offline.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi.h_pqi_ctrl_offline.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 @pqi_ctrl_offline], 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 @pqi_ctrl_offline(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %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, !8, i64 0}
!7 = !{!"pqi_ctrl_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_smartpqi_extr_smartpqi.h_pqi_ctrl_offline |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_clkevt_set_state_oneshot.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_clkevt_set_state_oneshot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HPET_TN_PERIODIC = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TN_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@HPET_TN_32BIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hpet_clkevt_set_state_oneshot], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hpet_clkevt_set_state_oneshot(ptr noundef %0) #0 {
%2 = tail call ptr @clockevent_to_channel(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @HPET_Tn_CFG(i32 noundef %3) #2
%5 = tail call i32 @hpet_readl(i32 noundef %4) #2
%6 = load i32, ptr @HPET_TN_PERIODIC, align 4, !tbaa !10
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = load i32, ptr @HPET_TN_ENABLE, align 4, !tbaa !10
%10 = load i32, ptr @HPET_TN_32BIT, align 4, !tbaa !10
%11 = or i32 %8, %9
%12 = or i32 %11, %10
%13 = tail call i32 @HPET_Tn_CFG(i32 noundef %3) #2
%14 = tail call i32 @hpet_writel(i32 noundef %12, i32 noundef %13) #2
ret i32 0
}
declare ptr @clockevent_to_channel(ptr noundef) local_unnamed_addr #1
declare i32 @hpet_readl(i32 noundef) local_unnamed_addr #1
declare i32 @HPET_Tn_CFG(i32 noundef) local_unnamed_addr #1
declare i32 @hpet_writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_clkevt_set_state_oneshot.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_clkevt_set_state_oneshot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HPET_TN_PERIODIC = common local_unnamed_addr global i32 0, align 4
@HPET_TN_ENABLE = common local_unnamed_addr global i32 0, align 4
@HPET_TN_32BIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hpet_clkevt_set_state_oneshot], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hpet_clkevt_set_state_oneshot(ptr noundef %0) #0 {
%2 = tail call ptr @clockevent_to_channel(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @HPET_Tn_CFG(i32 noundef %3) #2
%5 = tail call i32 @hpet_readl(i32 noundef %4) #2
%6 = load i32, ptr @HPET_TN_PERIODIC, align 4, !tbaa !11
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = load i32, ptr @HPET_TN_ENABLE, align 4, !tbaa !11
%10 = load i32, ptr @HPET_TN_32BIT, align 4, !tbaa !11
%11 = or i32 %8, %9
%12 = or i32 %11, %10
%13 = tail call i32 @HPET_Tn_CFG(i32 noundef %3) #2
%14 = tail call i32 @hpet_writel(i32 noundef %12, i32 noundef %13) #2
ret i32 0
}
declare ptr @clockevent_to_channel(ptr noundef) local_unnamed_addr #1
declare i32 @hpet_readl(i32 noundef) local_unnamed_addr #1
declare i32 @HPET_Tn_CFG(i32 noundef) local_unnamed_addr #1
declare i32 @hpet_writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_arch_x86_kernel_extr_hpet.c_hpet_clkevt_set_state_oneshot |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_enable_psr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_enable_psr.c"
target datalayout = "e-m:e-p270:32:32-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.dp_sdp = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32, i32, i64 }
%struct.analogix_dp_device = type { i32, i32 }
@DP_PSR_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Failed to read psr status %d\0A\00", align 1
@DP_PSR_SINK_ACTIVE_RFB = dso_local local_unnamed_addr global i64 0, align 8
@EDP_VSC_PSR_STATE_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@EDP_VSC_PSR_CRC_VALUES_VALID = dso_local local_unnamed_addr global i32 0, align 4
@POWER_ALL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @analogix_dp_enable_psr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @analogix_dp_enable_psr(ptr noundef %0) #0 {
%2 = alloca %struct.dp_sdp, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.analogix_dp_device, ptr %0, i64 0, i32 1
%5 = load i32, ptr @DP_PSR_STATUS, align 4, !tbaa !5
%6 = call i32 @drm_dp_dpcd_readb(ptr noundef nonnull %4, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = icmp eq i32 %6, 1
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !9
%10 = call i32 @DRM_DEV_ERROR(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %6) #3
br label %15
11: ; preds = %1
%12 = load i64, ptr %3, align 8, !tbaa !11
%13 = load i64, ptr @DP_PSR_SINK_ACTIVE_RFB, align 8, !tbaa !11
%14 = icmp eq i64 %12, %13
br i1 %14, label %31, label %15
15: ; preds = %11, %8
%16 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #3
%17 = getelementptr inbounds %struct.dp_sdp, ptr %2, i64 0, i32 1
%18 = getelementptr inbounds %struct.dp_sdp, ptr %2, i64 0, i32 1, i32 3
store i64 0, ptr %18, align 8, !tbaa !13
store i32 7, ptr %17, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.dp_sdp, ptr %2, i64 0, i32 1, i32 1
store i32 2, ptr %19, align 4, !tbaa !18
%20 = getelementptr inbounds %struct.dp_sdp, ptr %2, i64 0, i32 1, i32 2
store i32 8, ptr %20, align 8, !tbaa !19
%21 = load ptr, ptr %2, align 8, !tbaa !20
store i32 0, ptr %21, align 4, !tbaa !5
%22 = load i32, ptr @EDP_VSC_PSR_STATE_ACTIVE, align 4, !tbaa !5
%23 = load i32, ptr @EDP_VSC_PSR_CRC_VALUES_VALID, align 4, !tbaa !5
%24 = or i32 %23, %22
%25 = getelementptr inbounds i32, ptr %21, i64 1
store i32 %24, ptr %25, align 4, !tbaa !5
%26 = call i32 @analogix_dp_send_psr_spd(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 1) #3
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %15
%29 = load i32, ptr @POWER_ALL, align 4, !tbaa !5
%30 = call i32 @analogix_dp_set_analog_power_down(ptr noundef %0, i32 noundef %29, i32 noundef 1) #3
br label %31
31: ; preds = %15, %28, %11
%32 = phi i32 [ 0, %11 ], [ 0, %28 ], [ %26, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3
ret i32 %32
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @drm_dp_dpcd_readb(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_DEV_ERROR(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @analogix_dp_send_psr_spd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @analogix_dp_set_analog_power_down(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"analogix_dp_device", !6, i64 0, !6, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 24}
!14 = !{!"dp_sdp", !15, i64 0, !16, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !12, i64 16}
!17 = !{!14, !6, i64 8}
!18 = !{!14, !6, i64 12}
!19 = !{!14, !6, i64 16}
!20 = !{!14, !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_enable_psr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_enable_psr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.dp_sdp = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32, i32, i64 }
@DP_PSR_STATUS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Failed to read psr status %d\0A\00", align 1
@DP_PSR_SINK_ACTIVE_RFB = common local_unnamed_addr global i64 0, align 8
@EDP_VSC_PSR_STATE_ACTIVE = common local_unnamed_addr global i32 0, align 4
@EDP_VSC_PSR_CRC_VALUES_VALID = common local_unnamed_addr global i32 0, align 4
@POWER_ALL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @analogix_dp_enable_psr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @analogix_dp_enable_psr(ptr noundef %0) #0 {
%2 = alloca %struct.dp_sdp, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr @DP_PSR_STATUS, align 4, !tbaa !6
%6 = call i32 @drm_dp_dpcd_readb(ptr noundef nonnull %4, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = icmp eq i32 %6, 1
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = call i32 @DRM_DEV_ERROR(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %6) #3
br label %15
11: ; preds = %1
%12 = load i64, ptr %3, align 8, !tbaa !12
%13 = load i64, ptr @DP_PSR_SINK_ACTIVE_RFB, align 8, !tbaa !12
%14 = icmp eq i64 %12, %13
br i1 %14, label %30, label %15
15: ; preds = %11, %8
%16 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #3
%17 = getelementptr inbounds i8, ptr %2, i64 8
%18 = getelementptr inbounds i8, ptr %2, i64 24
store i64 0, ptr %18, align 8, !tbaa !14
store <2 x i32> <i32 7, i32 2>, ptr %17, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %2, i64 16
store i32 8, ptr %19, align 8, !tbaa !18
%20 = load ptr, ptr %2, align 8, !tbaa !19
store i32 0, ptr %20, align 4, !tbaa !6
%21 = load i32, ptr @EDP_VSC_PSR_STATE_ACTIVE, align 4, !tbaa !6
%22 = load i32, ptr @EDP_VSC_PSR_CRC_VALUES_VALID, align 4, !tbaa !6
%23 = or i32 %22, %21
%24 = getelementptr inbounds i8, ptr %20, i64 4
store i32 %23, ptr %24, align 4, !tbaa !6
%25 = call i32 @analogix_dp_send_psr_spd(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 1) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %15
%28 = load i32, ptr @POWER_ALL, align 4, !tbaa !6
%29 = call i32 @analogix_dp_set_analog_power_down(ptr noundef %0, i32 noundef %28, i32 noundef 1) #3
br label %30
30: ; preds = %15, %27, %11
%31 = phi i32 [ 0, %11 ], [ 0, %27 ], [ %25, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @drm_dp_dpcd_readb(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_DEV_ERROR(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @analogix_dp_send_psr_spd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @analogix_dp_set_analog_power_down(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"analogix_dp_device", !7, i64 0, !7, i64 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 24}
!15 = !{!"dp_sdp", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !13, i64 16}
!18 = !{!15, !7, i64 16}
!19 = !{!15, !16, i64 0}
| linux_drivers_gpu_drm_bridge_analogix_extr_analogix_dp_core.c_analogix_dp_enable_psr |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_stream_encoder.c_dce110_stream_encoder_dp_unblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_stream_encoder.c_dce110_stream_encoder_dp_unblank.c"
target datalayout = "e-m:e-p270:32:32-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.encoder_unblank_param = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i64 }
%struct.TYPE_3__ = type { i32 }
@LINK_RATE_UNKNOWN = dso_local local_unnamed_addr global i64 0, align 8
@LINK_RATE_REF_FREQ_IN_KHZ = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_TIMING = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_M_N_GEN_EN = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_N = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_M = dso_local local_unnamed_addr global i32 0, align 4
@DIG_FE_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@DIG_START = dso_local local_unnamed_addr global i32 0, align 4
@DP_STEER_FIFO = dso_local local_unnamed_addr global i32 0, align 4
@DP_STEER_FIFO_RESET = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_STREAM_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@DP_VID_STREAM_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dce110_stream_encoder_dp_unblank], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dce110_stream_encoder_dp_unblank(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @DCE110STRENC_FROM_STRENC(ptr noundef %0) #2
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr @LINK_RATE_UNKNOWN, align 8, !tbaa !13
%6 = icmp eq i64 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.encoder_unblank_param, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = sdiv i32 %9, 10
%11 = shl nsw i32 %10, 15
%12 = load i32, ptr @LINK_RATE_REF_FREQ_IN_KHZ, align 4, !tbaa !15
%13 = trunc i64 %4 to i32
%14 = mul i32 %12, %13
%15 = tail call i32 @div_u64(i32 noundef %11, i32 noundef %14) #2
%16 = load i32, ptr @DP_VID_TIMING, align 4, !tbaa !15
%17 = load i32, ptr @DP_VID_M_N_GEN_EN, align 4, !tbaa !15
%18 = tail call i32 @REG_UPDATE(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2
%19 = load i32, ptr @DP_VID_N, align 4, !tbaa !15
%20 = tail call i32 @REG_UPDATE(i32 noundef %19, i32 noundef %19, i32 noundef 32768) #2
%21 = load i32, ptr @DP_VID_M, align 4, !tbaa !15
%22 = tail call i32 @REG_UPDATE(i32 noundef %21, i32 noundef %21, i32 noundef %15) #2
%23 = load i32, ptr @DP_VID_TIMING, align 4, !tbaa !15
%24 = load i32, ptr @DP_VID_M_N_GEN_EN, align 4, !tbaa !15
%25 = tail call i32 @REG_UPDATE(i32 noundef %23, i32 noundef %24, i32 noundef 1) #2
br label %26
26: ; preds = %7, %2
%27 = load i32, ptr @DIG_FE_CNTL, align 4, !tbaa !15
%28 = load i32, ptr @DIG_START, align 4, !tbaa !15
%29 = tail call i32 @REG_UPDATE(i32 noundef %27, i32 noundef %28, i32 noundef 1) #2
%30 = load i32, ptr @DP_STEER_FIFO, align 4, !tbaa !15
%31 = load i32, ptr @DP_STEER_FIFO_RESET, align 4, !tbaa !15
%32 = tail call i32 @REG_UPDATE(i32 noundef %30, i32 noundef %31, i32 noundef 0) #2
%33 = tail call i32 @udelay(i32 noundef 100) #2
%34 = load i32, ptr @DP_VID_STREAM_CNTL, align 4, !tbaa !15
%35 = load i32, ptr @DP_VID_STREAM_ENABLE, align 4, !tbaa !15
%36 = tail call i32 @REG_UPDATE(i32 noundef %34, i32 noundef %35, i32 noundef 1) #2
ret void
}
declare ptr @DCE110STRENC_FROM_STRENC(ptr noundef) local_unnamed_addr #1
declare i32 @div_u64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE(i32 noundef, 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, !8, i64 0}
!6 = !{!"encoder_unblank_param", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !12, i64 8}
!15 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_stream_encoder.c_dce110_stream_encoder_dp_unblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_stream_encoder.c_dce110_stream_encoder_dp_unblank.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LINK_RATE_UNKNOWN = common local_unnamed_addr global i64 0, align 8
@LINK_RATE_REF_FREQ_IN_KHZ = common local_unnamed_addr global i32 0, align 4
@DP_VID_TIMING = common local_unnamed_addr global i32 0, align 4
@DP_VID_M_N_GEN_EN = common local_unnamed_addr global i32 0, align 4
@DP_VID_N = common local_unnamed_addr global i32 0, align 4
@DP_VID_M = common local_unnamed_addr global i32 0, align 4
@DIG_FE_CNTL = common local_unnamed_addr global i32 0, align 4
@DIG_START = common local_unnamed_addr global i32 0, align 4
@DP_STEER_FIFO = common local_unnamed_addr global i32 0, align 4
@DP_STEER_FIFO_RESET = common local_unnamed_addr global i32 0, align 4
@DP_VID_STREAM_CNTL = common local_unnamed_addr global i32 0, align 4
@DP_VID_STREAM_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dce110_stream_encoder_dp_unblank], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dce110_stream_encoder_dp_unblank(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @DCE110STRENC_FROM_STRENC(ptr noundef %0) #2
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr @LINK_RATE_UNKNOWN, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
br i1 %6, label %26, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !15
%10 = sdiv i32 %9, 10
%11 = shl nsw i32 %10, 15
%12 = load i32, ptr @LINK_RATE_REF_FREQ_IN_KHZ, align 4, !tbaa !16
%13 = trunc i64 %4 to i32
%14 = mul i32 %12, %13
%15 = tail call i32 @div_u64(i32 noundef %11, i32 noundef %14) #2
%16 = load i32, ptr @DP_VID_TIMING, align 4, !tbaa !16
%17 = load i32, ptr @DP_VID_M_N_GEN_EN, align 4, !tbaa !16
%18 = tail call i32 @REG_UPDATE(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2
%19 = load i32, ptr @DP_VID_N, align 4, !tbaa !16
%20 = tail call i32 @REG_UPDATE(i32 noundef %19, i32 noundef %19, i32 noundef 32768) #2
%21 = load i32, ptr @DP_VID_M, align 4, !tbaa !16
%22 = tail call i32 @REG_UPDATE(i32 noundef %21, i32 noundef %21, i32 noundef %15) #2
%23 = load i32, ptr @DP_VID_TIMING, align 4, !tbaa !16
%24 = load i32, ptr @DP_VID_M_N_GEN_EN, align 4, !tbaa !16
%25 = tail call i32 @REG_UPDATE(i32 noundef %23, i32 noundef %24, i32 noundef 1) #2
br label %26
26: ; preds = %7, %2
%27 = load i32, ptr @DIG_FE_CNTL, align 4, !tbaa !16
%28 = load i32, ptr @DIG_START, align 4, !tbaa !16
%29 = tail call i32 @REG_UPDATE(i32 noundef %27, i32 noundef %28, i32 noundef 1) #2
%30 = load i32, ptr @DP_STEER_FIFO, align 4, !tbaa !16
%31 = load i32, ptr @DP_STEER_FIFO_RESET, align 4, !tbaa !16
%32 = tail call i32 @REG_UPDATE(i32 noundef %30, i32 noundef %31, i32 noundef 0) #2
%33 = tail call i32 @udelay(i32 noundef 100) #2
%34 = load i32, ptr @DP_VID_STREAM_CNTL, align 4, !tbaa !16
%35 = load i32, ptr @DP_VID_STREAM_ENABLE, align 4, !tbaa !16
%36 = tail call i32 @REG_UPDATE(i32 noundef %34, i32 noundef %35, i32 noundef 1) #2
ret void
}
declare ptr @DCE110STRENC_FROM_STRENC(ptr noundef) local_unnamed_addr #1
declare i32 @div_u64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE(i32 noundef, 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, !9, i64 0}
!7 = !{!"encoder_unblank_param", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !13, i64 8}
!16 = !{!13, !13, i64 0}
| linux_drivers_gpu_drm_amd_display_dc_dce_extr_dce_stream_encoder.c_dce110_stream_encoder_dp_unblank |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/zlib/contrib/minizip/extr_crypt.h_decrypt_byte.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/zlib/contrib/minizip/extr_crypt.h_decrypt_byte.c"
target datalayout = "e-m:e-p270:32:32-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 @decrypt_byte], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @decrypt_byte(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds i64, ptr %0, i64 2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = trunc i64 %4 to i32
%6 = and i32 %5, 65533
%7 = or i32 %5, 2
%8 = xor i32 %6, 3
%9 = mul i32 %8, %7
%10 = lshr i32 %9, 8
%11 = and i32 %10, 255
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/zlib/contrib/minizip/extr_crypt.h_decrypt_byte.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/zlib/contrib/minizip/extr_crypt.h_decrypt_byte.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 @decrypt_byte], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 256) i32 @decrypt_byte(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = trunc i64 %4 to i32
%6 = and i32 %5, 65533
%7 = or i32 %5, 2
%8 = xor i32 %6, 3
%9 = mul i32 %8, %7
%10 = lshr i32 %9, 8
%11 = and i32 %10, 255
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_sdk_lib_3rdparty_zlib_contrib_minizip_extr_crypt.h_decrypt_byte |
; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_test_finished.c'
source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_test_finished.c"
target datalayout = "e-m:e-p270:32:32-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 [10 x i8] c"%s: '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"SUCCESS\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_finished], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @test_finished(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = icmp eq i32 %0, 0
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @string_list_append(ptr noundef %2, ptr noundef %3) #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ @.str.1, %6 ], [ @.str.2, %4 ]
%10 = tail call i32 @strbuf_addf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %9, ptr noundef %3) #2
ret i32 0
}
declare i32 @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_test_finished.c'
source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_test_finished.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 [10 x i8] c"%s: '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"SUCCESS\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_finished], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @test_finished(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = icmp eq i32 %0, 0
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @string_list_append(ptr noundef %2, ptr noundef %3) #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ @.str.1, %6 ], [ @.str.2, %4 ]
%10 = tail call i32 @strbuf_addf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %9, ptr noundef %3) #2
ret i32 0
}
declare i32 @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| git_t_helper_extr_test-run-command.c_test_finished |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-eh.c_outside_finally_tree.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-eh.c_outside_finally_tree.c"
target datalayout = "e-m:e-p270:32:32-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.finally_tree_node = type { i32, i32 }
@finally_tree = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @outside_finally_tree], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @outside_finally_tree(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.finally_tree_node, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.finally_tree_node, ptr %3, i64 0, i32 1
br label %5
5: ; preds = %10, %2
%6 = phi i32 [ %0, %2 ], [ %12, %10 ]
store i32 %6, ptr %4, align 4, !tbaa !5
%7 = load i32, ptr @finally_tree, align 4, !tbaa !10
%8 = call i64 @htab_find(i32 noundef %7, ptr noundef nonnull %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = inttoptr i64 %8 to ptr
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = icmp eq i32 %12, %1
br i1 %13, label %14, label %5, !llvm.loop !12
14: ; preds = %10, %5
%15 = phi i32 [ 1, %5 ], [ 0, %10 ]
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 i64 @htab_find(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"finally_tree_node", !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}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-eh.c_outside_finally_tree.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-eh.c_outside_finally_tree.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.finally_tree_node = type { i32, i32 }
@finally_tree = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @outside_finally_tree], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @outside_finally_tree(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.finally_tree_node, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %3, i64 4
br label %5
5: ; preds = %10, %2
%6 = phi i32 [ %0, %2 ], [ %12, %10 ]
store i32 %6, ptr %4, align 4, !tbaa !6
%7 = load i32, ptr @finally_tree, align 4, !tbaa !11
%8 = call i64 @htab_find(i32 noundef %7, ptr noundef nonnull %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = inttoptr i64 %8 to ptr
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = icmp eq i32 %12, %1
br i1 %13, label %14, label %5, !llvm.loop !13
14: ; preds = %10, %5
%15 = phi i32 [ 1, %5 ], [ 0, %10 ]
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 i64 @htab_find(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"finally_tree_node", !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}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gcc_extr_tree-eh.c_outside_finally_tree |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_aarch64_sys_ins_reg_has_xt.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_aarch64_sys_ins_reg_has_xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F_HASXT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @aarch64_sys_ins_reg_has_xt(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @F_HASXT, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
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}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_aarch64_sys_ins_reg_has_xt.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_aarch64_sys_ins_reg_has_xt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_HASXT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @aarch64_sys_ins_reg_has_xt(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @F_HASXT, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
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}
| radare2_libr_asm_arch_arm_aarch64_extr_aarch64-opc.c_aarch64_sys_ins_reg_has_xt |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_cmedia_spdif_playback_source_put.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_cmedia_spdif_playback_source_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AC97_CM9739_SPDIF_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ac97_cmedia_spdif_playback_source_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_ac97_cmedia_spdif_playback_source_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr @AC97_CM9739_SPDIF_CTRL, align 4, !tbaa !5
%5 = load ptr, ptr %1, align 8, !tbaa !9
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = shl i32 %6, 1
%8 = and i32 %7, 2
%9 = tail call i32 @snd_ac97_update_bits(ptr noundef %3, i32 noundef %4, i32 noundef 2, i32 noundef %8) #2
ret i32 %9
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_ac97_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 0}
!10 = !{!"snd_ctl_elem_value", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_cmedia_spdif_playback_source_put.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_cmedia_spdif_playback_source_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC97_CM9739_SPDIF_CTRL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_ac97_cmedia_spdif_playback_source_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_ac97_cmedia_spdif_playback_source_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr @AC97_CM9739_SPDIF_CTRL, align 4, !tbaa !6
%5 = load ptr, ptr %1, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = shl i32 %6, 1
%8 = and i32 %7, 2
%9 = tail call i32 @snd_ac97_update_bits(ptr noundef %3, i32 noundef %4, i32 noundef 2, i32 noundef %8) #2
ret i32 %9
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare i32 @snd_ac97_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| fastsocket_kernel_sound_pci_ac97_extr_ac97_patch.c_snd_ac97_cmedia_spdif_playback_source_put |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_socket_has_perm.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_socket_has_perm.c"
target datalayout = "e-m:e-p270:32:32-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.common_audit_data = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.inode_security_struct = type { i64, i32 }
@SECINITSID_KERNEL = dso_local local_unnamed_addr global i64 0, align 8
@NET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @socket_has_perm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @socket_has_perm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.common_audit_data, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call ptr @SOCK_INODE(ptr noundef %1) #3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr @SECINITSID_KERNEL, align 8, !tbaa !14
%9 = icmp eq i64 %7, %8
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = tail call i32 @task_sid(ptr noundef %0) #3
%12 = load i32, ptr @NET, align 4, !tbaa !15
%13 = call i32 @COMMON_AUDIT_DATA_INIT(ptr noundef nonnull %4, i32 noundef %12) #3
%14 = load i32, ptr %1, align 4, !tbaa !16
store i32 %14, ptr %4, align 4, !tbaa !18
%15 = load i64, ptr %6, align 8, !tbaa !10
%16 = getelementptr inbounds %struct.inode_security_struct, ptr %6, i64 0, i32 1
%17 = load i32, ptr %16, align 8, !tbaa !22
%18 = call i32 @avc_has_perm(i32 noundef %11, i64 noundef %15, i32 noundef %17, i32 noundef %2, ptr noundef nonnull %4) #3
br label %19
19: ; preds = %3, %10
%20 = phi i32 [ 0, %3 ], [ %18, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @SOCK_INODE(ptr noundef) local_unnamed_addr #2
declare i32 @task_sid(ptr noundef) local_unnamed_addr #2
declare i32 @COMMON_AUDIT_DATA_INIT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avc_has_perm(i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !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 = !{!"inode_security_struct", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"socket", !13, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"common_audit_data", !20, i64 0}
!20 = !{!"TYPE_4__", !21, i64 0}
!21 = !{!"TYPE_5__", !13, i64 0}
!22 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_socket_has_perm.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_socket_has_perm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.common_audit_data = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@SECINITSID_KERNEL = common local_unnamed_addr global i64 0, align 8
@NET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @socket_has_perm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @socket_has_perm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.common_audit_data, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call ptr @SOCK_INODE(ptr noundef %1) #3
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = load i64, ptr @SECINITSID_KERNEL, align 8, !tbaa !15
%9 = icmp eq i64 %7, %8
br i1 %9, label %19, label %10
10: ; preds = %3
%11 = tail call i32 @task_sid(ptr noundef %0) #3
%12 = load i32, ptr @NET, align 4, !tbaa !16
%13 = call i32 @COMMON_AUDIT_DATA_INIT(ptr noundef nonnull %4, i32 noundef %12) #3
%14 = load i32, ptr %1, align 4, !tbaa !17
store i32 %14, ptr %4, align 4, !tbaa !19
%15 = load i64, ptr %6, align 8, !tbaa !11
%16 = getelementptr inbounds i8, ptr %6, i64 8
%17 = load i32, ptr %16, align 8, !tbaa !23
%18 = call i32 @avc_has_perm(i32 noundef %11, i64 noundef %15, i32 noundef %17, i32 noundef %2, ptr noundef nonnull %4) #3
br label %19
19: ; preds = %3, %10
%20 = phi i32 [ 0, %3 ], [ %18, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @SOCK_INODE(ptr noundef) local_unnamed_addr #2
declare i32 @task_sid(ptr noundef) local_unnamed_addr #2
declare i32 @COMMON_AUDIT_DATA_INIT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avc_has_perm(i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !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 = !{!"inode_security_struct", !13, i64 0, !14, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"socket", !14, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"common_audit_data", !21, i64 0}
!21 = !{!"TYPE_4__", !22, i64 0}
!22 = !{!"TYPE_5__", !14, i64 0}
!23 = !{!12, !14, i64 8}
| fastsocket_kernel_security_selinux_extr_hooks.c_socket_has_perm |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/dlm/extr_lowcomms.c_dlm_lowcomms_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/dlm/extr_lowcomms.c_dlm_lowcomms_addr.c"
target datalayout = "e-m:e-p270:32:32-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.dlm_node_addr = type { i32, i32, ptr, i32 }
@GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@dlm_node_addrs_spin = dso_local global i32 0, align 4
@dlm_node_addrs = dso_local global i32 0, align 4
@DLM_MAX_ADDR_COUNT = dso_local local_unnamed_addr global i64 0, align 8
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dlm_lowcomms_addr(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GFP_NOFS, 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 %10
7: ; preds = %3
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %49
10: ; preds = %3
%11 = load i32, ptr @GFP_NOFS, align 4, !tbaa !5
%12 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %11) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = tail call i32 @kfree(ptr noundef nonnull %5) #2
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %49
18: ; preds = %10
%19 = tail call i32 @memcpy(ptr noundef nonnull %12, ptr noundef %1, i32 noundef %2) #2
%20 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%21 = tail call ptr @find_node_addr(i32 noundef %0) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %30
23: ; preds = %18
store i32 %0, ptr %5, align 8, !tbaa !9
%24 = getelementptr inbounds %struct.dlm_node_addr, ptr %5, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !12
store ptr %12, ptr %25, align 8, !tbaa !13
%26 = getelementptr inbounds %struct.dlm_node_addr, ptr %5, i64 0, i32 1
store i32 1, ptr %26, align 4, !tbaa !14
%27 = getelementptr inbounds %struct.dlm_node_addr, ptr %5, i64 0, i32 3
%28 = tail call i32 @list_add(ptr noundef nonnull %27, ptr noundef nonnull @dlm_node_addrs) #2
%29 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
br label %49
30: ; preds = %18
%31 = getelementptr inbounds %struct.dlm_node_addr, ptr %21, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !14
%33 = sext i32 %32 to i64
%34 = load i64, ptr @DLM_MAX_ADDR_COUNT, align 8, !tbaa !15
%35 = icmp sgt i64 %34, %33
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%38 = tail call i32 @kfree(ptr noundef nonnull %12) #2
%39 = tail call i32 @kfree(ptr noundef nonnull %5) #2
%40 = load i32, ptr @ENOSPC, align 4, !tbaa !5
%41 = sub nsw i32 0, %40
br label %49
42: ; preds = %30
%43 = getelementptr inbounds %struct.dlm_node_addr, ptr %21, i64 0, i32 2
%44 = load ptr, ptr %43, align 8, !tbaa !12
%45 = add nsw i32 %32, 1
store i32 %45, ptr %31, align 4, !tbaa !14
%46 = getelementptr inbounds ptr, ptr %44, i64 %33
store ptr %12, ptr %46, align 8, !tbaa !13
%47 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%48 = tail call i32 @kfree(ptr noundef nonnull %5) #2
br label %49
49: ; preds = %42, %36, %23, %14, %7
%50 = phi i32 [ %41, %36 ], [ 0, %42 ], [ 0, %23 ], [ %17, %14 ], [ %9, %7 ]
ret i32 %50
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @find_node_addr(i32 noundef) local_unnamed_addr #1
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"dlm_node_addr", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 4}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/dlm/extr_lowcomms.c_dlm_lowcomms_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/dlm/extr_lowcomms.c_dlm_lowcomms_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_NOFS = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@dlm_node_addrs_spin = common global i32 0, align 4
@dlm_node_addrs = common global i32 0, align 4
@DLM_MAX_ADDR_COUNT = common local_unnamed_addr global i64 0, align 8
@ENOSPC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @dlm_lowcomms_addr(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GFP_NOFS, 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 %10
7: ; preds = %3
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %49
10: ; preds = %3
%11 = load i32, ptr @GFP_NOFS, align 4, !tbaa !6
%12 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %11) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = tail call i32 @kfree(ptr noundef nonnull %5) #2
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %49
18: ; preds = %10
%19 = tail call i32 @memcpy(ptr noundef nonnull %12, ptr noundef %1, i32 noundef %2) #2
%20 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%21 = tail call ptr @find_node_addr(i32 noundef %0) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %30
23: ; preds = %18
store i32 %0, ptr %5, align 8, !tbaa !10
%24 = getelementptr inbounds i8, ptr %5, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !13
store ptr %12, ptr %25, align 8, !tbaa !14
%26 = getelementptr inbounds i8, ptr %5, i64 4
store i32 1, ptr %26, align 4, !tbaa !15
%27 = getelementptr inbounds i8, ptr %5, i64 16
%28 = tail call i32 @list_add(ptr noundef nonnull %27, ptr noundef nonnull @dlm_node_addrs) #2
%29 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
br label %49
30: ; preds = %18
%31 = getelementptr inbounds i8, ptr %21, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !15
%33 = sext i32 %32 to i64
%34 = load i64, ptr @DLM_MAX_ADDR_COUNT, align 8, !tbaa !16
%35 = icmp sgt i64 %34, %33
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%38 = tail call i32 @kfree(ptr noundef nonnull %12) #2
%39 = tail call i32 @kfree(ptr noundef nonnull %5) #2
%40 = load i32, ptr @ENOSPC, align 4, !tbaa !6
%41 = sub nsw i32 0, %40
br label %49
42: ; preds = %30
%43 = getelementptr inbounds i8, ptr %21, i64 8
%44 = load ptr, ptr %43, align 8, !tbaa !13
%45 = add nsw i32 %32, 1
store i32 %45, ptr %31, align 4, !tbaa !15
%46 = getelementptr inbounds ptr, ptr %44, i64 %33
store ptr %12, ptr %46, align 8, !tbaa !14
%47 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_node_addrs_spin) #2
%48 = tail call i32 @kfree(ptr noundef nonnull %5) #2
br label %49
49: ; preds = %42, %36, %23, %14, %7
%50 = phi i32 [ %41, %36 ], [ 0, %42 ], [ 0, %23 ], [ %17, %14 ], [ %9, %7 ]
ret i32 %50
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @find_node_addr(i32 noundef) local_unnamed_addr #1
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"dlm_node_addr", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !7, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
| fastsocket_kernel_fs_dlm_extr_lowcomms.c_dlm_lowcomms_addr |
; ModuleID = 'AnghaBench/fastsocket/kernel/lib/extr_string.c_memchr.c'
source_filename = "AnghaBench/fastsocket/kernel/lib/extr_string.c_memchr.c"
target datalayout = "e-m:e-p270:32:32-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 ptr @memchr(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = trunc i32 %1 to i8
br label %5
5: ; preds = %9, %3
%6 = phi i64 [ %2, %3 ], [ %10, %9 ]
%7 = phi ptr [ %0, %3 ], [ %11, %9 ]
%8 = icmp eq i64 %6, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = add i64 %6, -1
%11 = getelementptr inbounds i8, ptr %7, i64 1
%12 = load i8, ptr %7, align 1, !tbaa !5
%13 = icmp eq i8 %12, %4
br i1 %13, label %14, label %5, !llvm.loop !8
14: ; preds = %5, %9
%15 = phi ptr [ %7, %9 ], [ null, %5 ]
ret ptr %15
}
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/fastsocket/kernel/lib/extr_string.c_memchr.c'
source_filename = "AnghaBench/fastsocket/kernel/lib/extr_string.c_memchr.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 ptr @memchr(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = trunc i32 %1 to i8
br label %5
5: ; preds = %9, %3
%6 = phi i64 [ %2, %3 ], [ %10, %9 ]
%7 = phi ptr [ %0, %3 ], [ %11, %9 ]
%8 = icmp eq i64 %6, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = add i64 %6, -1
%11 = getelementptr inbounds i8, ptr %7, i64 1
%12 = load i8, ptr %7, align 1, !tbaa !6
%13 = icmp eq i8 %12, %4
br i1 %13, label %14, label %5, !llvm.loop !9
14: ; preds = %5, %9
%15 = phi ptr [ %7, %9 ], [ null, %5 ]
ret ptr %15
}
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"}
| fastsocket_kernel_lib_extr_string.c_memchr |
; ModuleID = 'AnghaBench/linux/arch/sh/mm/extr_tlbex_64.c_expevt_to_fault_code.c'
source_filename = "AnghaBench/linux/arch/sh/mm/extr_tlbex_64.c_expevt_to_fault_code.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FAULT_CODE_ITLB = dso_local local_unnamed_addr global i32 0, align 4
@FAULT_CODE_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @expevt_to_fault_code], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @expevt_to_fault_code(i64 noundef %0) #0 {
switch i64 %0, label %6 [
i64 2624, label %2
i64 96, label %4
]
2: ; preds = %1
%3 = load i32, ptr @FAULT_CODE_ITLB, align 4, !tbaa !5
br label %6
4: ; preds = %1
%5 = load i32, ptr @FAULT_CODE_WRITE, align 4, !tbaa !5
br label %6
6: ; preds = %1, %4, %2
%7 = phi i32 [ %3, %2 ], [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/sh/mm/extr_tlbex_64.c_expevt_to_fault_code.c'
source_filename = "AnghaBench/linux/arch/sh/mm/extr_tlbex_64.c_expevt_to_fault_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FAULT_CODE_ITLB = common local_unnamed_addr global i32 0, align 4
@FAULT_CODE_WRITE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @expevt_to_fault_code], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @expevt_to_fault_code(i64 noundef %0) #0 {
switch i64 %0, label %6 [
i64 2624, label %2
i64 96, label %4
]
2: ; preds = %1
%3 = load i32, ptr @FAULT_CODE_ITLB, align 4, !tbaa !6
br label %6
4: ; preds = %1
%5 = load i32, ptr @FAULT_CODE_WRITE, align 4, !tbaa !6
br label %6
6: ; preds = %1, %4, %2
%7 = phi i32 [ %3, %2 ], [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_sh_mm_extr_tlbex_64.c_expevt_to_fault_code |
; ModuleID = 'AnghaBench/linux/drivers/scsi/bnx2i/extr_bnx2i_iscsi.c_bnx2i_mtask_xmit.c'
source_filename = "AnghaBench/linux/drivers/scsi/bnx2i/extr_bnx2i_iscsi.c_bnx2i_mtask_xmit.c"
target datalayout = "e-m:e-p270:32:32-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.bnx2i_conn = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32, i32, i32 }
%struct.iscsi_task = type { i32, i32, ptr }
%struct.bnx2i_cmd = type { ptr, ptr }
@ISCSI_DEF_MAX_RECV_SEG_LEN = dso_local local_unnamed_addr global i32 0, align 4
@tx_pdus = dso_local local_unnamed_addr global i32 0, align 4
@tx_bytes = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2i_mtask_xmit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bnx2i_mtask_xmit(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.bnx2i_conn, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.iscsi_task, ptr %1, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr %3, align 8, !tbaa !16
%9 = load i32, ptr @ISCSI_DEF_MAX_RECV_SEG_LEN, align 4, !tbaa !17
%10 = tail call i32 @memset(i32 noundef %8, i32 noundef 0, i32 noundef %9) #2
%11 = tail call i32 @bnx2i_setup_cmd_wqe_template(ptr noundef %7) #2
%12 = load i32, ptr %1, align 8, !tbaa !18
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
store i32 %12, ptr %13, align 4, !tbaa !19
%14 = load i32, ptr @tx_pdus, align 4, !tbaa !17
%15 = tail call i32 @ADD_STATS_64(ptr noundef %5, i32 noundef %14, i32 noundef 1) #2
%16 = load i32, ptr @tx_bytes, align 4, !tbaa !17
%17 = load i32, ptr %1, align 8, !tbaa !18
%18 = tail call i32 @ADD_STATS_64(ptr noundef %5, i32 noundef %16, i32 noundef %17) #2
%19 = load i32, ptr %1, align 8, !tbaa !18
%20 = icmp eq i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %2
%22 = load i32, ptr %3, align 8, !tbaa !16
%23 = getelementptr inbounds %struct.iscsi_task, ptr %1, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !20
%25 = tail call i32 @memcpy(i32 noundef %22, i32 noundef %24, i32 noundef %19) #2
%26 = load i32, ptr %3, align 8, !tbaa !16
%27 = load i32, ptr %1, align 8, !tbaa !18
%28 = add nsw i32 %27, %26
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
store i32 %28, ptr %29, align 8, !tbaa !21
br label %30
30: ; preds = %21, %2
%31 = load ptr, ptr %0, align 8, !tbaa !5
%32 = getelementptr inbounds %struct.bnx2i_cmd, ptr %7, i64 0, i32 1
store ptr %31, ptr %32, align 8, !tbaa !22
store ptr null, ptr %7, align 8, !tbaa !24
%33 = tail call i32 @bnx2i_iscsi_send_generic_request(ptr noundef nonnull %1) #2
ret i32 %33
}
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bnx2i_setup_cmd_wqe_template(ptr noundef) local_unnamed_addr #1
declare i32 @ADD_STATS_64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bnx2i_iscsi_send_generic_request(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 = !{!"iscsi_conn", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"bnx2i_conn", !12, i64 0, !7, i64 16}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"iscsi_task", !13, i64 0, !13, i64 4, !7, i64 8}
!16 = !{!11, !13, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!15, !13, i64 0}
!19 = !{!11, !13, i64 4}
!20 = !{!15, !13, i64 4}
!21 = !{!11, !13, i64 8}
!22 = !{!23, !7, i64 8}
!23 = !{!"bnx2i_cmd", !7, i64 0, !7, i64 8}
!24 = !{!23, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/bnx2i/extr_bnx2i_iscsi.c_bnx2i_mtask_xmit.c'
source_filename = "AnghaBench/linux/drivers/scsi/bnx2i/extr_bnx2i_iscsi.c_bnx2i_mtask_xmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ISCSI_DEF_MAX_RECV_SEG_LEN = common local_unnamed_addr global i32 0, align 4
@tx_pdus = common local_unnamed_addr global i32 0, align 4
@tx_bytes = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnx2i_mtask_xmit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bnx2i_mtask_xmit(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i32, ptr %3, align 8, !tbaa !17
%9 = load i32, ptr @ISCSI_DEF_MAX_RECV_SEG_LEN, align 4, !tbaa !18
%10 = tail call i32 @memset(i32 noundef %8, i32 noundef 0, i32 noundef %9) #2
%11 = tail call i32 @bnx2i_setup_cmd_wqe_template(ptr noundef %7) #2
%12 = load i32, ptr %1, align 8, !tbaa !19
%13 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %12, ptr %13, align 4, !tbaa !20
%14 = load i32, ptr @tx_pdus, align 4, !tbaa !18
%15 = tail call i32 @ADD_STATS_64(ptr noundef %5, i32 noundef %14, i32 noundef 1) #2
%16 = load i32, ptr @tx_bytes, align 4, !tbaa !18
%17 = load i32, ptr %1, align 8, !tbaa !19
%18 = tail call i32 @ADD_STATS_64(ptr noundef %5, i32 noundef %16, i32 noundef %17) #2
%19 = load i32, ptr %1, align 8, !tbaa !19
%20 = icmp eq i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %2
%22 = load i32, ptr %3, align 8, !tbaa !17
%23 = getelementptr inbounds i8, ptr %1, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !21
%25 = tail call i32 @memcpy(i32 noundef %22, i32 noundef %24, i32 noundef %19) #2
%26 = load i32, ptr %3, align 8, !tbaa !17
%27 = load i32, ptr %1, align 8, !tbaa !19
%28 = add nsw i32 %27, %26
%29 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %28, ptr %29, align 8, !tbaa !22
br label %30
30: ; preds = %21, %2
%31 = load ptr, ptr %0, align 8, !tbaa !6
%32 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %31, ptr %32, align 8, !tbaa !23
store ptr null, ptr %7, align 8, !tbaa !25
%33 = tail call i32 @bnx2i_iscsi_send_generic_request(ptr noundef nonnull %1) #2
ret i32 %33
}
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bnx2i_setup_cmd_wqe_template(ptr noundef) local_unnamed_addr #1
declare i32 @ADD_STATS_64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bnx2i_iscsi_send_generic_request(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 = !{!"iscsi_conn", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"bnx2i_conn", !13, i64 0, !8, i64 16}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"iscsi_task", !14, i64 0, !14, i64 4, !8, i64 8}
!17 = !{!12, !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!16, !14, i64 0}
!20 = !{!12, !14, i64 4}
!21 = !{!16, !14, i64 4}
!22 = !{!12, !14, i64 8}
!23 = !{!24, !8, i64 8}
!24 = !{!"bnx2i_cmd", !8, i64 0, !8, i64 8}
!25 = !{!24, !8, i64 0}
| linux_drivers_scsi_bnx2i_extr_bnx2i_iscsi.c_bnx2i_mtask_xmit |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_hard_regno_nregs.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_hard_regno_nregs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UNITS_PER_WORD = dso_local local_unnamed_addr global i32 0, align 4
@UNITS_PER_FPREG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mips_hard_regno_nregs(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @ST_REG_P(i32 noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2
%7 = add nsw i32 %6, 3
%8 = sdiv i32 %7, 4
br label %22
9: ; preds = %2
%10 = tail call i32 @FP_REG_P(i32 noundef %0) #2
%11 = icmp eq i32 %10, 0
%12 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2
%13 = add i32 %12, -1
br i1 %11, label %14, label %18
14: ; preds = %9
%15 = load i32, ptr @UNITS_PER_WORD, align 4, !tbaa !5
%16 = add i32 %13, %15
%17 = sdiv i32 %16, %15
br label %22
18: ; preds = %9
%19 = load i32, ptr @UNITS_PER_FPREG, align 4, !tbaa !5
%20 = add i32 %13, %19
%21 = sdiv i32 %20, %19
br label %22
22: ; preds = %18, %14, %5
%23 = phi i32 [ %8, %5 ], [ %21, %18 ], [ %17, %14 ]
ret i32 %23
}
declare i64 @ST_REG_P(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @FP_REG_P(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_hard_regno_nregs.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_hard_regno_nregs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNITS_PER_WORD = common local_unnamed_addr global i32 0, align 4
@UNITS_PER_FPREG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mips_hard_regno_nregs(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @ST_REG_P(i32 noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2
%7 = add nsw i32 %6, 3
%8 = sdiv i32 %7, 4
br label %22
9: ; preds = %2
%10 = tail call i32 @FP_REG_P(i32 noundef %0) #2
%11 = icmp eq i32 %10, 0
%12 = tail call i32 @GET_MODE_SIZE(i32 noundef %1) #2
%13 = add i32 %12, -1
br i1 %11, label %14, label %18
14: ; preds = %9
%15 = load i32, ptr @UNITS_PER_WORD, align 4, !tbaa !6
%16 = add i32 %13, %15
%17 = sdiv i32 %16, %15
br label %22
18: ; preds = %9
%19 = load i32, ptr @UNITS_PER_FPREG, align 4, !tbaa !6
%20 = add i32 %13, %19
%21 = sdiv i32 %20, %19
br label %22
22: ; preds = %18, %14, %5
%23 = phi i32 [ %8, %5 ], [ %21, %18 ], [ %17, %14 ]
ret i32 %23
}
declare i64 @ST_REG_P(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @FP_REG_P(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_config_mips_extr_mips.c_mips_hard_regno_nregs |
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/extr_bus_space_rmi.c_rmi_uart_bus_space_read_1.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/extr_bus_space_rmi.c_rmi_uart_bus_space_read_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @rmi_uart_bus_space_read_1], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nounwind willreturn uwtable
define internal i32 @rmi_uart_bus_space_read_1(ptr nocapture readnone %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = add nsw i64 %2, %1
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i32, ptr %5, align 4, !tbaa !5
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nounwind willreturn uwtable "min-legal-vector-width"="0" "no-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/freebsd/sys/mips/nlm/extr_bus_space_rmi.c_rmi_uart_bus_space_read_1.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/extr_bus_space_rmi.c_rmi_uart_bus_space_read_1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @rmi_uart_bus_space_read_1], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nounwind ssp willreturn uwtable(sync)
define internal i32 @rmi_uart_bus_space_read_1(ptr nocapture readnone %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = add nsw i64 %2, %1
%5 = inttoptr i64 %4 to ptr
%6 = load volatile i32, ptr %5, align 4, !tbaa !6
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nounwind ssp willreturn uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+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"}
| freebsd_sys_mips_nlm_extr_bus_space_rmi.c_rmi_uart_bus_space_read_1 |
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-data.c_list_interpolative_ext_forward_decode_item.c'
source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_list_interpolative_ext_forward_decode_item.c"
target datalayout = "e-m:e-p270:32:32-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.list_decoder = type { i32, i32, i32, i32, ptr, i64 }
%struct.interpolative_ext_decoder_stack_entry = type { i64, i32, i32, i64, i64, i64 }
%struct.TYPE_2__ = type { i64 }
@IndexItems = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @list_interpolative_ext_forward_decode_item], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @list_interpolative_ext_forward_decode_item(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 5
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %5, i64 %7
%9 = load ptr, ptr @IndexItems, align 8, !tbaa !13
%10 = load i64, ptr %8, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = icmp sgt i64 %12, %1
br i1 %13, label %52, label %14
14: ; preds = %2, %14
%15 = phi ptr [ %17, %14 ], [ %8, %2 ]
%16 = phi i32 [ %18, %14 ], [ %6, %2 ]
%17 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %15, i64 -1
%18 = add nsw i32 %16, -1
%19 = load i64, ptr %17, align 8, !tbaa !14
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %19
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = icmp sgt i64 %21, %1
br i1 %22, label %23, label %14, !llvm.loop !19
23: ; preds = %14
%24 = icmp sgt i32 %16, %6
br i1 %24, label %52, label %25
25: ; preds = %23
%26 = getelementptr %struct.interpolative_ext_decoder_stack_entry, ptr %15, i64 -1, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !21
%28 = getelementptr %struct.interpolative_ext_decoder_stack_entry, ptr %15, i64 -1, i32 2
%29 = load i32, ptr %28, align 4, !tbaa !22
%30 = add nsw i32 %29, %27
%31 = ashr i32 %30, 1
%32 = getelementptr %struct.interpolative_ext_decoder_stack_entry, ptr %15, i64 -1, i32 3
%33 = load i64, ptr %32, align 8, !tbaa !23
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %46
35: ; preds = %25
%36 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 1
%37 = load i32, ptr %36, align 4, !tbaa !24
%38 = icmp slt i32 %37, %31
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 4
br label %41
41: ; preds = %39, %41
%42 = load ptr, ptr %40, align 8, !tbaa !25
%43 = tail call i32 %42(ptr noundef nonnull %0) #2
%44 = load i32, ptr %36, align 4, !tbaa !24
%45 = icmp slt i32 %44, %31
br i1 %45, label %41, label %50, !llvm.loop !26
46: ; preds = %25
%47 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 3
%48 = tail call i32 @bread_seek(ptr noundef nonnull %47, i64 noundef %33) #2
%49 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 1
store i32 %31, ptr %49, align 4, !tbaa !24
br label %50
50: ; preds = %41, %35, %46
store i32 %18, ptr %0, align 8, !tbaa !12
%51 = load ptr, ptr @IndexItems, align 8, !tbaa !13
br label %52
52: ; preds = %2, %50, %23
%53 = phi ptr [ %17, %50 ], [ %17, %23 ], [ %8, %2 ]
%54 = phi ptr [ %51, %50 ], [ %9, %23 ], [ %9, %2 ]
%55 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %53, i64 0, i32 1
%56 = load i32, ptr %55, align 8, !tbaa !21
%57 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %53, i64 0, i32 2
%58 = load i32, ptr %57, align 4, !tbaa !22
%59 = add nsw i32 %58, %56
%60 = ashr i32 %59, 1
%61 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %53, i64 0, i32 4
%62 = load i64, ptr %61, align 8, !tbaa !27
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i64 %62
%64 = load i64, ptr %63, align 8, !tbaa !16
%65 = icmp eq i64 %64, %1
br i1 %65, label %70, label %66
66: ; preds = %52
%67 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 3
%68 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 1
%69 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 4
br label %95
70: ; preds = %181, %52
%71 = phi ptr [ %53, %52 ], [ %142, %181 ]
%72 = phi i32 [ %60, %52 ], [ %191, %181 ]
%73 = phi ptr [ %61, %52 ], [ %193, %181 ]
%74 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %71, i64 0, i32 3
%75 = load i64, ptr %74, align 8, !tbaa !23
%76 = icmp slt i64 %75, 0
br i1 %76, label %77, label %88
77: ; preds = %70
%78 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 1
%79 = load i32, ptr %78, align 4, !tbaa !24
%80 = icmp slt i32 %79, %72
br i1 %80, label %81, label %92
81: ; preds = %77
%82 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 4
br label %83
83: ; preds = %81, %83
%84 = load ptr, ptr %82, align 8, !tbaa !25
%85 = tail call i32 %84(ptr noundef nonnull %0) #2
%86 = load i32, ptr %78, align 4, !tbaa !24
%87 = icmp slt i32 %86, %72
br i1 %87, label %83, label %92, !llvm.loop !28
88: ; preds = %70
%89 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 3
%90 = tail call i32 @bread_seek(ptr noundef nonnull %89, i64 noundef %75) #2
%91 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 1
store i32 %72, ptr %91, align 4, !tbaa !24
br label %92
92: ; preds = %83, %77, %88
%93 = load i64, ptr %73, align 8, !tbaa !27
%94 = trunc i64 %93 to i32
br label %198
95: ; preds = %66, %181
%96 = phi ptr [ %61, %66 ], [ %193, %181 ]
%97 = phi i32 [ %60, %66 ], [ %191, %181 ]
%98 = phi i32 [ %58, %66 ], [ %189, %181 ]
%99 = phi ptr [ %57, %66 ], [ %188, %181 ]
%100 = phi i32 [ %56, %66 ], [ %187, %181 ]
%101 = phi ptr [ %55, %66 ], [ %186, %181 ]
%102 = phi ptr [ %53, %66 ], [ %142, %181 ]
%103 = sub nsw i32 %98, %100
%104 = icmp sgt i32 %103, 1
%105 = zext i1 %104 to i32
%106 = tail call i32 @assert(i32 noundef %105) #2
%107 = icmp eq i32 %103, 2
br i1 %107, label %108, label %141
108: ; preds = %95
%109 = load ptr, ptr @IndexItems, align 8, !tbaa !13
%110 = load i64, ptr %102, align 8, !tbaa !14
%111 = getelementptr inbounds %struct.TYPE_2__, ptr %109, i64 %110
%112 = load i64, ptr %111, align 8, !tbaa !16
%113 = icmp sge i64 %112, %1
%114 = zext i1 %113 to i32
%115 = tail call i32 @assert(i32 noundef %114) #2
%116 = load ptr, ptr @IndexItems, align 8, !tbaa !13
%117 = load i64, ptr %96, align 8, !tbaa !27
%118 = getelementptr inbounds %struct.TYPE_2__, ptr %116, i64 %117
%119 = load i64, ptr %118, align 8, !tbaa !16
%120 = icmp slt i64 %119, %1
br i1 %120, label %121, label %130
121: ; preds = %108
%122 = load i32, ptr %99, align 4, !tbaa !22
%123 = getelementptr inbounds %struct.list_decoder, ptr %0, i64 0, i32 2
%124 = load i32, ptr %123, align 8, !tbaa !29
%125 = add nsw i32 %124, 1
%126 = icmp eq i32 %122, %125
br i1 %126, label %198, label %127
127: ; preds = %121
store i32 %122, ptr %68, align 4, !tbaa !24
%128 = load i64, ptr %102, align 8, !tbaa !14
%129 = trunc i64 %128 to i32
br label %198
130: ; preds = %108
%131 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 0, i32 5
%132 = load i64, ptr %131, align 8, !tbaa !30
%133 = getelementptr inbounds %struct.TYPE_2__, ptr %116, i64 %132
%134 = load i64, ptr %133, align 8, !tbaa !16
%135 = icmp slt i64 %134, %1
br i1 %135, label %136, label %138
136: ; preds = %130
store i32 %97, ptr %68, align 4, !tbaa !24
%137 = trunc i64 %117 to i32
br label %198
138: ; preds = %130
%139 = load i32, ptr %101, align 8, !tbaa !21
store i32 %139, ptr %68, align 4, !tbaa !24
%140 = trunc i64 %132 to i32
br label %198
141: ; preds = %95
%142 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1
%143 = load ptr, ptr @IndexItems, align 8, !tbaa !13
%144 = load i64, ptr %96, align 8, !tbaa !27
%145 = getelementptr inbounds %struct.TYPE_2__, ptr %143, i64 %144
%146 = load i64, ptr %145, align 8, !tbaa !16
%147 = icmp sgt i64 %146, %1
br i1 %147, label %148, label %160
148: ; preds = %141
%149 = load i32, ptr %101, align 8, !tbaa !21
%150 = add nsw i32 %97, -1
%151 = icmp eq i32 %149, %150
br i1 %151, label %152, label %154
152: ; preds = %148
store i32 %97, ptr %68, align 4, !tbaa !24
%153 = trunc i64 %144 to i32
br label %198
154: ; preds = %148
%155 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 1
store i32 %149, ptr %155, align 8, !tbaa !21
%156 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 0, i32 5
%157 = load i64, ptr %156, align 8, !tbaa !30
%158 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 5
store i64 %157, ptr %158, align 8, !tbaa !30
%159 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 2
store i32 %97, ptr %159, align 4, !tbaa !22
br label %181
160: ; preds = %141
%161 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 0, i32 3
%162 = load i64, ptr %161, align 8, !tbaa !23
%163 = icmp slt i64 %162, 0
br i1 %163, label %164, label %172
164: ; preds = %160
%165 = load i32, ptr %68, align 4, !tbaa !24
%166 = icmp slt i32 %165, %97
br i1 %166, label %167, label %174
167: ; preds = %164, %167
%168 = load ptr, ptr %69, align 8, !tbaa !25
%169 = tail call i32 %168(ptr noundef nonnull %0) #2
%170 = load i32, ptr %68, align 4, !tbaa !24
%171 = icmp slt i32 %170, %97
br i1 %171, label %167, label %174, !llvm.loop !31
172: ; preds = %160
%173 = tail call i32 @bread_seek(ptr noundef nonnull %67, i64 noundef %162) #2
store i32 %97, ptr %68, align 4, !tbaa !24
br label %174
174: ; preds = %167, %164, %172
%175 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 1
store i32 %97, ptr %175, align 8, !tbaa !21
%176 = load i64, ptr %96, align 8, !tbaa !27
%177 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 5
store i64 %176, ptr %177, align 8, !tbaa !30
%178 = load i32, ptr %99, align 4, !tbaa !22
%179 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 2
store i32 %178, ptr %179, align 4, !tbaa !22
%180 = load i64, ptr %102, align 8, !tbaa !14
br label %181
181: ; preds = %174, %154
%182 = phi i64 [ %180, %174 ], [ %144, %154 ]
store i64 %182, ptr %142, align 8, !tbaa !14
%183 = tail call i32 @interpolative_ext_decode_node(ptr noundef nonnull %0, ptr noundef nonnull %142) #2
%184 = load i32, ptr %0, align 8, !tbaa !12
%185 = add nsw i32 %184, 1
store i32 %185, ptr %0, align 8, !tbaa !12
%186 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 1
%187 = load i32, ptr %186, align 8, !tbaa !21
%188 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 2
%189 = load i32, ptr %188, align 4, !tbaa !22
%190 = add nsw i32 %189, %187
%191 = ashr i32 %190, 1
%192 = load ptr, ptr @IndexItems, align 8, !tbaa !13
%193 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %102, i64 1, i32 4
%194 = load i64, ptr %193, align 8, !tbaa !27
%195 = getelementptr inbounds %struct.TYPE_2__, ptr %192, i64 %194
%196 = load i64, ptr %195, align 8, !tbaa !16
%197 = icmp eq i64 %196, %1
br i1 %197, label %70, label %95
198: ; preds = %92, %127, %136, %138, %121, %152
%199 = phi i32 [ %153, %152 ], [ -1, %121 ], [ %140, %138 ], [ %137, %136 ], [ %129, %127 ], [ %94, %92 ]
ret i32 %199
}
declare i32 @bread_seek(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @interpolative_ext_decode_node(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"list_decoder", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"interpolative_ext_decoder_stack_entry", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16, !11, i64 24, !11, i64 32}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_2__", !18, i64 0}
!18 = !{!"long long", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!15, !7, i64 8}
!22 = !{!15, !7, i64 12}
!23 = !{!15, !11, i64 16}
!24 = !{!6, !7, i64 4}
!25 = !{!6, !10, i64 16}
!26 = distinct !{!26, !20}
!27 = !{!15, !11, i64 24}
!28 = distinct !{!28, !20}
!29 = !{!6, !7, i64 8}
!30 = !{!15, !11, i64 32}
!31 = distinct !{!31, !20}
| ; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-data.c_list_interpolative_ext_forward_decode_item.c'
source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_list_interpolative_ext_forward_decode_item.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.interpolative_ext_decoder_stack_entry = type { i64, i32, i32, i64, i64, i64 }
%struct.TYPE_2__ = type { i64 }
@IndexItems = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @list_interpolative_ext_forward_decode_item], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @list_interpolative_ext_forward_decode_item(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds %struct.interpolative_ext_decoder_stack_entry, ptr %5, i64 %7
%9 = load ptr, ptr @IndexItems, align 8, !tbaa !14
%10 = load i64, ptr %8, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = icmp sgt i64 %12, %1
br i1 %13, label %52, label %14
14: ; preds = %2, %14
%15 = phi ptr [ %17, %14 ], [ %8, %2 ]
%16 = phi i32 [ %18, %14 ], [ %6, %2 ]
%17 = getelementptr inbounds i8, ptr %15, i64 -40
%18 = add nsw i32 %16, -1
%19 = load i64, ptr %17, align 8, !tbaa !15
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %19
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp sgt i64 %21, %1
br i1 %22, label %23, label %14, !llvm.loop !20
23: ; preds = %14
%24 = icmp sgt i32 %16, %6
br i1 %24, label %52, label %25
25: ; preds = %23
%26 = getelementptr inbounds i8, ptr %15, i64 -32
%27 = load i32, ptr %26, align 8, !tbaa !22
%28 = getelementptr inbounds i8, ptr %15, i64 -28
%29 = load i32, ptr %28, align 4, !tbaa !23
%30 = add nsw i32 %29, %27
%31 = ashr i32 %30, 1
%32 = getelementptr inbounds i8, ptr %15, i64 -24
%33 = load i64, ptr %32, align 8, !tbaa !24
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %46
35: ; preds = %25
%36 = getelementptr inbounds i8, ptr %0, i64 4
%37 = load i32, ptr %36, align 4, !tbaa !25
%38 = icmp slt i32 %37, %31
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %0, i64 16
br label %41
41: ; preds = %39, %41
%42 = load ptr, ptr %40, align 8, !tbaa !26
%43 = tail call i32 %42(ptr noundef nonnull %0) #2
%44 = load i32, ptr %36, align 4, !tbaa !25
%45 = icmp slt i32 %44, %31
br i1 %45, label %41, label %50, !llvm.loop !27
46: ; preds = %25
%47 = getelementptr inbounds i8, ptr %0, i64 12
%48 = tail call i32 @bread_seek(ptr noundef nonnull %47, i64 noundef %33) #2
%49 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %31, ptr %49, align 4, !tbaa !25
br label %50
50: ; preds = %41, %35, %46
store i32 %18, ptr %0, align 8, !tbaa !13
%51 = load ptr, ptr @IndexItems, align 8, !tbaa !14
br label %52
52: ; preds = %2, %50, %23
%53 = phi ptr [ %17, %50 ], [ %17, %23 ], [ %8, %2 ]
%54 = phi ptr [ %51, %50 ], [ %9, %23 ], [ %9, %2 ]
%55 = getelementptr inbounds i8, ptr %53, i64 8
%56 = load i32, ptr %55, align 8, !tbaa !22
%57 = getelementptr inbounds i8, ptr %53, i64 12
%58 = load i32, ptr %57, align 4, !tbaa !23
%59 = add nsw i32 %58, %56
%60 = ashr i32 %59, 1
%61 = getelementptr inbounds i8, ptr %53, i64 24
%62 = load i64, ptr %61, align 8, !tbaa !28
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i64 %62
%64 = load i64, ptr %63, align 8, !tbaa !17
%65 = icmp eq i64 %64, %1
br i1 %65, label %70, label %66
66: ; preds = %52
%67 = getelementptr inbounds i8, ptr %0, i64 12
%68 = getelementptr inbounds i8, ptr %0, i64 4
%69 = getelementptr inbounds i8, ptr %0, i64 16
br label %95
70: ; preds = %181, %52
%71 = phi ptr [ %53, %52 ], [ %142, %181 ]
%72 = phi i32 [ %60, %52 ], [ %191, %181 ]
%73 = phi ptr [ %61, %52 ], [ %193, %181 ]
%74 = getelementptr inbounds i8, ptr %71, i64 16
%75 = load i64, ptr %74, align 8, !tbaa !24
%76 = icmp slt i64 %75, 0
br i1 %76, label %77, label %88
77: ; preds = %70
%78 = getelementptr inbounds i8, ptr %0, i64 4
%79 = load i32, ptr %78, align 4, !tbaa !25
%80 = icmp slt i32 %79, %72
br i1 %80, label %81, label %92
81: ; preds = %77
%82 = getelementptr inbounds i8, ptr %0, i64 16
br label %83
83: ; preds = %81, %83
%84 = load ptr, ptr %82, align 8, !tbaa !26
%85 = tail call i32 %84(ptr noundef nonnull %0) #2
%86 = load i32, ptr %78, align 4, !tbaa !25
%87 = icmp slt i32 %86, %72
br i1 %87, label %83, label %92, !llvm.loop !29
88: ; preds = %70
%89 = getelementptr inbounds i8, ptr %0, i64 12
%90 = tail call i32 @bread_seek(ptr noundef nonnull %89, i64 noundef %75) #2
%91 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %72, ptr %91, align 4, !tbaa !25
br label %92
92: ; preds = %83, %77, %88
%93 = load i64, ptr %73, align 8, !tbaa !28
%94 = trunc i64 %93 to i32
br label %198
95: ; preds = %66, %181
%96 = phi ptr [ %61, %66 ], [ %193, %181 ]
%97 = phi i32 [ %60, %66 ], [ %191, %181 ]
%98 = phi i32 [ %58, %66 ], [ %189, %181 ]
%99 = phi ptr [ %57, %66 ], [ %188, %181 ]
%100 = phi i32 [ %56, %66 ], [ %187, %181 ]
%101 = phi ptr [ %55, %66 ], [ %186, %181 ]
%102 = phi ptr [ %53, %66 ], [ %142, %181 ]
%103 = sub nsw i32 %98, %100
%104 = icmp sgt i32 %103, 1
%105 = zext i1 %104 to i32
%106 = tail call i32 @assert(i32 noundef %105) #2
%107 = icmp eq i32 %103, 2
br i1 %107, label %108, label %141
108: ; preds = %95
%109 = load ptr, ptr @IndexItems, align 8, !tbaa !14
%110 = load i64, ptr %102, align 8, !tbaa !15
%111 = getelementptr inbounds %struct.TYPE_2__, ptr %109, i64 %110
%112 = load i64, ptr %111, align 8, !tbaa !17
%113 = icmp sge i64 %112, %1
%114 = zext i1 %113 to i32
%115 = tail call i32 @assert(i32 noundef %114) #2
%116 = load ptr, ptr @IndexItems, align 8, !tbaa !14
%117 = load i64, ptr %96, align 8, !tbaa !28
%118 = getelementptr inbounds %struct.TYPE_2__, ptr %116, i64 %117
%119 = load i64, ptr %118, align 8, !tbaa !17
%120 = icmp slt i64 %119, %1
br i1 %120, label %121, label %130
121: ; preds = %108
%122 = load i32, ptr %99, align 4, !tbaa !23
%123 = getelementptr inbounds i8, ptr %0, i64 8
%124 = load i32, ptr %123, align 8, !tbaa !30
%125 = add nsw i32 %124, 1
%126 = icmp eq i32 %122, %125
br i1 %126, label %198, label %127
127: ; preds = %121
store i32 %122, ptr %68, align 4, !tbaa !25
%128 = load i64, ptr %102, align 8, !tbaa !15
%129 = trunc i64 %128 to i32
br label %198
130: ; preds = %108
%131 = getelementptr inbounds i8, ptr %102, i64 32
%132 = load i64, ptr %131, align 8, !tbaa !31
%133 = getelementptr inbounds %struct.TYPE_2__, ptr %116, i64 %132
%134 = load i64, ptr %133, align 8, !tbaa !17
%135 = icmp slt i64 %134, %1
br i1 %135, label %136, label %138
136: ; preds = %130
store i32 %97, ptr %68, align 4, !tbaa !25
%137 = trunc i64 %117 to i32
br label %198
138: ; preds = %130
%139 = load i32, ptr %101, align 8, !tbaa !22
store i32 %139, ptr %68, align 4, !tbaa !25
%140 = trunc i64 %132 to i32
br label %198
141: ; preds = %95
%142 = getelementptr inbounds i8, ptr %102, i64 40
%143 = load ptr, ptr @IndexItems, align 8, !tbaa !14
%144 = load i64, ptr %96, align 8, !tbaa !28
%145 = getelementptr inbounds %struct.TYPE_2__, ptr %143, i64 %144
%146 = load i64, ptr %145, align 8, !tbaa !17
%147 = icmp sgt i64 %146, %1
br i1 %147, label %148, label %160
148: ; preds = %141
%149 = load i32, ptr %101, align 8, !tbaa !22
%150 = add nsw i32 %97, -1
%151 = icmp eq i32 %149, %150
br i1 %151, label %152, label %154
152: ; preds = %148
store i32 %97, ptr %68, align 4, !tbaa !25
%153 = trunc i64 %144 to i32
br label %198
154: ; preds = %148
%155 = getelementptr inbounds i8, ptr %102, i64 48
store i32 %149, ptr %155, align 8, !tbaa !22
%156 = getelementptr inbounds i8, ptr %102, i64 32
%157 = load i64, ptr %156, align 8, !tbaa !31
%158 = getelementptr inbounds i8, ptr %102, i64 72
store i64 %157, ptr %158, align 8, !tbaa !31
%159 = getelementptr inbounds i8, ptr %102, i64 52
store i32 %97, ptr %159, align 4, !tbaa !23
br label %181
160: ; preds = %141
%161 = getelementptr inbounds i8, ptr %102, i64 16
%162 = load i64, ptr %161, align 8, !tbaa !24
%163 = icmp slt i64 %162, 0
br i1 %163, label %164, label %172
164: ; preds = %160
%165 = load i32, ptr %68, align 4, !tbaa !25
%166 = icmp slt i32 %165, %97
br i1 %166, label %167, label %174
167: ; preds = %164, %167
%168 = load ptr, ptr %69, align 8, !tbaa !26
%169 = tail call i32 %168(ptr noundef nonnull %0) #2
%170 = load i32, ptr %68, align 4, !tbaa !25
%171 = icmp slt i32 %170, %97
br i1 %171, label %167, label %174, !llvm.loop !32
172: ; preds = %160
%173 = tail call i32 @bread_seek(ptr noundef nonnull %67, i64 noundef %162) #2
store i32 %97, ptr %68, align 4, !tbaa !25
br label %174
174: ; preds = %167, %164, %172
%175 = getelementptr inbounds i8, ptr %102, i64 48
store i32 %97, ptr %175, align 8, !tbaa !22
%176 = load i64, ptr %96, align 8, !tbaa !28
%177 = getelementptr inbounds i8, ptr %102, i64 72
store i64 %176, ptr %177, align 8, !tbaa !31
%178 = load i32, ptr %99, align 4, !tbaa !23
%179 = getelementptr inbounds i8, ptr %102, i64 52
store i32 %178, ptr %179, align 4, !tbaa !23
%180 = load i64, ptr %102, align 8, !tbaa !15
br label %181
181: ; preds = %174, %154
%182 = phi i64 [ %180, %174 ], [ %144, %154 ]
store i64 %182, ptr %142, align 8, !tbaa !15
%183 = tail call i32 @interpolative_ext_decode_node(ptr noundef nonnull %0, ptr noundef nonnull %142) #2
%184 = load i32, ptr %0, align 8, !tbaa !13
%185 = add nsw i32 %184, 1
store i32 %185, ptr %0, align 8, !tbaa !13
%186 = getelementptr inbounds i8, ptr %102, i64 48
%187 = load i32, ptr %186, align 8, !tbaa !22
%188 = getelementptr inbounds i8, ptr %102, i64 52
%189 = load i32, ptr %188, align 4, !tbaa !23
%190 = add nsw i32 %189, %187
%191 = ashr i32 %190, 1
%192 = load ptr, ptr @IndexItems, align 8, !tbaa !14
%193 = getelementptr inbounds i8, ptr %102, i64 64
%194 = load i64, ptr %193, align 8, !tbaa !28
%195 = getelementptr inbounds %struct.TYPE_2__, ptr %192, i64 %194
%196 = load i64, ptr %195, align 8, !tbaa !17
%197 = icmp eq i64 %196, %1
br i1 %197, label %70, label %95
198: ; preds = %92, %127, %136, %138, %121, %152
%199 = phi i32 [ %153, %152 ], [ -1, %121 ], [ %140, %138 ], [ %137, %136 ], [ %129, %127 ], [ %94, %92 ]
ret i32 %199
}
declare i32 @bread_seek(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @interpolative_ext_decode_node(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"list_decoder", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"interpolative_ext_decoder_stack_entry", !12, i64 0, !8, i64 8, !8, i64 12, !12, i64 16, !12, i64 24, !12, i64 32}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_2__", !19, i64 0}
!19 = !{!"long long", !9, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !8, i64 8}
!23 = !{!16, !8, i64 12}
!24 = !{!16, !12, i64 16}
!25 = !{!7, !8, i64 4}
!26 = !{!7, !11, i64 16}
!27 = distinct !{!27, !21}
!28 = !{!16, !12, i64 24}
!29 = distinct !{!29, !21}
!30 = !{!7, !8, i64 8}
!31 = !{!16, !12, i64 32}
!32 = distinct !{!32, !21}
| kphp-kdb_search_extr_search-data.c_list_interpolative_ext_forward_decode_item |
; ModuleID = 'AnghaBench/freebsd/sys/dev/liquidio/extr_lio_main.c_lio_free_mbuf.c'
source_filename = "AnghaBench/freebsd/sys/dev/liquidio/extr_lio_main.c_lio_free_mbuf.c"
target datalayout = "e-m:e-p270:32:32-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.lio_mbuf_free_info = type { i32, i32 }
@BUS_DMASYNC_POSTWRITE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @lio_free_mbuf(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.lio_mbuf_free_info, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = load i32, ptr @BUS_DMASYNC_POSTWRITE, align 4, !tbaa !12
%7 = tail call i32 @bus_dmamap_sync(i32 noundef %3, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = load i32, ptr %4, align 4, !tbaa !10
%10 = tail call i32 @bus_dmamap_unload(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = tail call i32 @m_freem(i32 noundef %11) #2
ret void
}
declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m_freem(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 = !{!"lio_instr_queue", !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 = !{!"lio_mbuf_free_info", !7, i64 0, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/liquidio/extr_lio_main.c_lio_free_mbuf.c'
source_filename = "AnghaBench/freebsd/sys/dev/liquidio/extr_lio_main.c_lio_free_mbuf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUS_DMASYNC_POSTWRITE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @lio_free_mbuf(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr @BUS_DMASYNC_POSTWRITE, align 4, !tbaa !13
%7 = tail call i32 @bus_dmamap_sync(i32 noundef %3, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = load i32, ptr %4, align 4, !tbaa !11
%10 = tail call i32 @bus_dmamap_unload(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !14
%12 = tail call i32 @m_freem(i32 noundef %11) #2
ret void
}
declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m_freem(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 = !{!"lio_instr_queue", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 4}
!12 = !{!"lio_mbuf_free_info", !8, i64 0, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !8, i64 0}
| freebsd_sys_dev_liquidio_extr_lio_main.c_lio_free_mbuf |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_value_bytes16.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_value_bytes16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_UTF16NATIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_value_bytes16(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @SQLITE_UTF16NATIVE, align 4, !tbaa !5
%3 = tail call i32 @sqlite3ValueBytes(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @sqlite3ValueBytes(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/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_value_bytes16.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_value_bytes16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_UTF16NATIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_value_bytes16(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @SQLITE_UTF16NATIVE, align 4, !tbaa !6
%3 = tail call i32 @sqlite3ValueBytes(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @sqlite3ValueBytes(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"}
| freebsd_contrib_sqlite3_extr_sqlite3.c_sqlite3_value_bytes16 |
; ModuleID = 'AnghaBench/esp-idf/examples/system/gcov/main/extr_gcov_example_main.c_app_main.c'
source_filename = "AnghaBench/esp-idf/examples/system/gcov/main/extr_gcov_example_main.c_app_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"
@blink_task = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"blink_task\00", align 1
@configMINIMAL_STACK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @app_main() local_unnamed_addr #0 {
%1 = load i32, ptr @configMINIMAL_STACK_SIZE, align 4, !tbaa !5
%2 = tail call i32 @xTaskCreate(ptr noundef nonnull @blink_task, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef null, i32 noundef 5, ptr noundef null) #2
ret void
}
declare i32 @xTaskCreate(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/esp-idf/examples/system/gcov/main/extr_gcov_example_main.c_app_main.c'
source_filename = "AnghaBench/esp-idf/examples/system/gcov/main/extr_gcov_example_main.c_app_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@blink_task = common global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"blink_task\00", align 1
@configMINIMAL_STACK_SIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @app_main() local_unnamed_addr #0 {
%1 = load i32, ptr @configMINIMAL_STACK_SIZE, align 4, !tbaa !6
%2 = tail call i32 @xTaskCreate(ptr noundef nonnull @blink_task, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef null, i32 noundef 5, ptr noundef null) #2
ret void
}
declare i32 @xTaskCreate(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| esp-idf_examples_system_gcov_main_extr_gcov_example_main.c_app_main |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rstream.c_init_latency_test.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rstream.c_init_latency_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@test_name = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s_lat\00", align 1
@transfer_count = dso_local local_unnamed_addr global i32 0, align 4
@transfer_size = dso_local local_unnamed_addr global i32 0, align 4
@iterations = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_latency_test], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_latency_test(i32 noundef %0) #0 {
%2 = alloca [5 x i8], align 1
call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #3
%3 = call i32 @size_str(ptr noundef nonnull %2, i32 noundef 5, i32 noundef %0) #3
%4 = load i32, ptr @test_name, align 4, !tbaa !5
%5 = call i32 @snprintf(i32 noundef %4, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3
store i32 1, ptr @transfer_count, align 4, !tbaa !5
store i32 %0, ptr @transfer_size, align 4, !tbaa !5
%6 = call i32 @size_to_count(i32 noundef %0) #3
store i32 %6, ptr @iterations, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 5, 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 @size_str(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @size_to_count(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/freebsd/contrib/ofed/librdmacm/examples/extr_rstream.c_init_latency_test.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rstream.c_init_latency_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@test_name = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s_lat\00", align 1
@transfer_count = common local_unnamed_addr global i32 0, align 4
@transfer_size = common local_unnamed_addr global i32 0, align 4
@iterations = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_latency_test], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_latency_test(i32 noundef %0) #0 {
%2 = alloca [5 x i8], align 1
call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #3
%3 = call i32 @size_str(ptr noundef nonnull %2, i32 noundef 5, i32 noundef %0) #3
%4 = load i32, ptr @test_name, align 4, !tbaa !6
%5 = call i32 @snprintf(i32 noundef %4, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3
store i32 1, ptr @transfer_count, align 4, !tbaa !6
store i32 %0, ptr @transfer_size, align 4, !tbaa !6
%6 = call i32 @size_to_count(i32 noundef %0) #3
store i32 %6, ptr @iterations, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 5, 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 @size_str(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @size_to_count(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"}
| freebsd_contrib_ofed_librdmacm_examples_extr_rstream.c_init_latency_test |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mjpegbdec.c_read_offs.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mjpegbdec.c_read_offs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_offs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_offs(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @get_bits_long(ptr noundef %1, i32 noundef 32) #2
%6 = icmp slt i32 %5, %2
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !5
%9 = tail call i32 @av_log(ptr noundef %0, i32 noundef %8, ptr noundef %3, i32 noundef %5, i32 noundef %2) #2
br label %10
10: ; preds = %4, %7
%11 = phi i32 [ 0, %7 ], [ %5, %4 ]
ret i32 %11
}
declare i32 @get_bits_long(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mjpegbdec.c_read_offs.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mjpegbdec.c_read_offs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_offs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_offs(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @get_bits_long(ptr noundef %1, i32 noundef 32) #2
%6 = icmp slt i32 %5, %2
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !6
%9 = tail call i32 @av_log(ptr noundef %0, i32 noundef %8, ptr noundef %3, i32 noundef %5, i32 noundef %2) #2
br label %10
10: ; preds = %4, %7
%11 = phi i32 [ 0, %7 ], [ %5, %4 ]
ret i32 %11
}
declare i32 @get_bits_long(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavcodec_extr_mjpegbdec.c_read_offs |
; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c___netif_receive_skb.c'
source_filename = "AnghaBench/linux/net/core/extr_dev.c___netif_receive_skb.c"
target datalayout = "e-m:e-p270:32:32-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 @__netif_receive_skb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__netif_receive_skb(ptr noundef %0) #0 {
%2 = tail call i64 (...) @sk_memalloc_socks() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @skb_pfmemalloc(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = tail call i32 (...) @memalloc_noreclaim_save() #2
%9 = tail call i32 @__netif_receive_skb_one_core(ptr noundef %0, i32 noundef 1) #2
%10 = tail call i32 @memalloc_noreclaim_restore(i32 noundef %8) #2
br label %13
11: ; preds = %4, %1
%12 = tail call i32 @__netif_receive_skb_one_core(ptr noundef %0, i32 noundef 0) #2
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %9, %7 ], [ %12, %11 ]
ret i32 %14
}
declare i64 @sk_memalloc_socks(...) local_unnamed_addr #1
declare i64 @skb_pfmemalloc(ptr noundef) local_unnamed_addr #1
declare i32 @memalloc_noreclaim_save(...) local_unnamed_addr #1
declare i32 @__netif_receive_skb_one_core(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memalloc_noreclaim_restore(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c___netif_receive_skb.c'
source_filename = "AnghaBench/linux/net/core/extr_dev.c___netif_receive_skb.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 @__netif_receive_skb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__netif_receive_skb(ptr noundef %0) #0 {
%2 = tail call i64 @sk_memalloc_socks() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = tail call i64 @skb_pfmemalloc(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = tail call i32 @memalloc_noreclaim_save() #2
%9 = tail call i32 @__netif_receive_skb_one_core(ptr noundef %0, i32 noundef 1) #2
%10 = tail call i32 @memalloc_noreclaim_restore(i32 noundef %8) #2
br label %13
11: ; preds = %4, %1
%12 = tail call i32 @__netif_receive_skb_one_core(ptr noundef %0, i32 noundef 0) #2
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %9, %7 ], [ %12, %11 ]
ret i32 %14
}
declare i64 @sk_memalloc_socks(...) local_unnamed_addr #1
declare i64 @skb_pfmemalloc(ptr noundef) local_unnamed_addr #1
declare i32 @memalloc_noreclaim_save(...) local_unnamed_addr #1
declare i32 @__netif_receive_skb_one_core(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memalloc_noreclaim_restore(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_net_core_extr_dev.c___netif_receive_skb |
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_proc_getattr.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_proc_getattr.c"
target datalayout = "e-m:e-p270:32:32-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.nfs4_getattr_arg = type { i32, ptr, ptr }
%struct.nfs4_getattr_res = type { i32, ptr, ptr, ptr }
%struct.rpc_message = type { ptr, ptr, ptr }
@NFS4_BITMASK_SZ = dso_local local_unnamed_addr global i32 0, align 4
@nfs4_procedures = dso_local local_unnamed_addr global ptr null, align 8
@NFSPROC4_CLNT_GETATTR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @_nfs4_proc_getattr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_nfs4_proc_getattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.nfs4_getattr_arg, align 8
%7 = alloca %struct.nfs4_getattr_res, align 8
%8 = alloca %struct.rpc_message, align 8
%9 = load i32, ptr @NFS4_BITMASK_SZ, align 4, !tbaa !5
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 16
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
store i32 0, ptr %6, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.nfs4_getattr_arg, ptr %6, i64 0, i32 1
store ptr %11, ptr %12, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.nfs4_getattr_arg, ptr %6, i64 0, i32 2
store ptr %1, ptr %13, align 8, !tbaa !13
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
store i32 0, ptr %7, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.nfs4_getattr_res, ptr %7, i64 0, i32 1
store ptr %0, ptr %14, align 8, !tbaa !16
%15 = getelementptr inbounds %struct.nfs4_getattr_res, ptr %7, i64 0, i32 2
store ptr %3, ptr %15, align 8, !tbaa !17
%16 = getelementptr inbounds %struct.nfs4_getattr_res, ptr %7, i64 0, i32 3
store ptr %2, ptr %16, align 8, !tbaa !18
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
store ptr %7, ptr %8, align 8, !tbaa !19
%17 = getelementptr inbounds %struct.rpc_message, ptr %8, i64 0, i32 1
store ptr %6, ptr %17, align 8, !tbaa !21
%18 = getelementptr inbounds %struct.rpc_message, ptr %8, i64 0, i32 2
%19 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !22
%20 = load i64, ptr @NFSPROC4_CLNT_GETATTR, align 8, !tbaa !23
%21 = getelementptr inbounds i32, ptr %19, i64 %20
store ptr %21, ptr %18, align 8, !tbaa !25
%22 = call i32 @nfs4_bitmask(ptr noundef %0, ptr noundef %3) #3
%23 = call i32 @nfs4_bitmap_copy_adjust(ptr noundef nonnull %11, i32 noundef %22, ptr noundef %4) #3
%24 = call i32 @nfs_fattr_init(ptr noundef %2) #3
%25 = load i32, ptr %0, align 4, !tbaa !26
%26 = call i32 @nfs4_call_sync(i32 noundef %25, ptr noundef nonnull %0, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs4_bitmap_copy_adjust(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_bitmask(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_fattr_init(ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"nfs4_getattr_arg", !6, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 16}
!14 = !{!15, !6, i64 0}
!15 = !{!"nfs4_getattr_res", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!16 = !{!15, !11, i64 8}
!17 = !{!15, !11, i64 16}
!18 = !{!15, !11, i64 24}
!19 = !{!20, !11, i64 0}
!20 = !{!"rpc_message", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!20, !11, i64 8}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!20, !11, i64 16}
!26 = !{!27, !6, i64 0}
!27 = !{!"nfs_server", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_proc_getattr.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_proc_getattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nfs4_getattr_arg = type { i32, ptr, ptr }
%struct.nfs4_getattr_res = type { i32, ptr, ptr, ptr }
%struct.rpc_message = type { ptr, ptr, ptr }
@NFS4_BITMASK_SZ = common local_unnamed_addr global i32 0, align 4
@nfs4_procedures = common local_unnamed_addr global ptr null, align 8
@NFSPROC4_CLNT_GETATTR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @_nfs4_proc_getattr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_nfs4_proc_getattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.nfs4_getattr_arg, align 8
%7 = alloca %struct.nfs4_getattr_res, align 8
%8 = alloca %struct.rpc_message, align 8
%9 = load i32, ptr @NFS4_BITMASK_SZ, align 4, !tbaa !6
%10 = zext i32 %9 to i64
%11 = alloca i32, i64 %10, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
store i32 0, ptr %6, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %11, ptr %12, align 8, !tbaa !13
%13 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %1, ptr %13, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
store i32 0, ptr %7, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %0, ptr %14, align 8, !tbaa !17
%15 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %3, ptr %15, align 8, !tbaa !18
%16 = getelementptr inbounds i8, ptr %7, i64 24
store ptr %2, ptr %16, align 8, !tbaa !19
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
store ptr %7, ptr %8, align 8, !tbaa !20
%17 = getelementptr inbounds i8, ptr %8, i64 8
store ptr %6, ptr %17, align 8, !tbaa !22
%18 = getelementptr inbounds i8, ptr %8, i64 16
%19 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !23
%20 = load i64, ptr @NFSPROC4_CLNT_GETATTR, align 8, !tbaa !24
%21 = getelementptr inbounds i32, ptr %19, i64 %20
store ptr %21, ptr %18, align 8, !tbaa !26
%22 = call i32 @nfs4_bitmask(ptr noundef %0, ptr noundef %3) #3
%23 = call i32 @nfs4_bitmap_copy_adjust(ptr noundef nonnull %11, i32 noundef %22, ptr noundef %4) #3
%24 = call i32 @nfs_fattr_init(ptr noundef %2) #3
%25 = load i32, ptr %0, align 4, !tbaa !27
%26 = call i32 @nfs4_call_sync(i32 noundef %25, ptr noundef nonnull %0, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs4_bitmap_copy_adjust(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_bitmask(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_fattr_init(ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"nfs4_getattr_arg", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !12, i64 16}
!15 = !{!16, !7, i64 0}
!16 = !{!"nfs4_getattr_res", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!17 = !{!16, !12, i64 8}
!18 = !{!16, !12, i64 16}
!19 = !{!16, !12, i64 24}
!20 = !{!21, !12, i64 0}
!21 = !{!"rpc_message", !12, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!21, !12, i64 8}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !8, i64 0}
!26 = !{!21, !12, i64 16}
!27 = !{!28, !7, i64 0}
!28 = !{!"nfs_server", !7, i64 0}
| linux_fs_nfs_extr_nfs4proc.c__nfs4_proc_getattr |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_pmap_map_cpu_windows_copy.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_pmap_map_cpu_windows_copy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @pmap_map_cpu_windows_copy(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @pmap_map_cpu_windows_copy_internal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @pmap_map_cpu_windows_copy_internal(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)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_pmap_map_cpu_windows_copy.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_pmap_map_cpu_windows_copy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pmap_map_cpu_windows_copy(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @pmap_map_cpu_windows_copy_internal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @pmap_map_cpu_windows_copy_internal(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)"}
| darwin-xnu_osfmk_arm_extr_pmap.c_pmap_map_cpu_windows_copy |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/mm/extr_c-r4k.c_r4k_flush_cache_sigtramp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/mm/extr_c-r4k.c_r4k_flush_cache_sigtramp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@local_r4k_flush_cache_sigtramp = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r4k_flush_cache_sigtramp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @r4k_flush_cache_sigtramp(i64 noundef %0) #0 {
%2 = load i32, ptr @local_r4k_flush_cache_sigtramp, align 4, !tbaa !5
%3 = inttoptr i64 %0 to ptr
%4 = tail call i32 @r4k_on_each_cpu(i32 noundef %2, ptr noundef %3, i32 noundef 1) #2
ret void
}
declare i32 @r4k_on_each_cpu(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/mm/extr_c-r4k.c_r4k_flush_cache_sigtramp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/mm/extr_c-r4k.c_r4k_flush_cache_sigtramp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@local_r4k_flush_cache_sigtramp = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r4k_flush_cache_sigtramp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @r4k_flush_cache_sigtramp(i64 noundef %0) #0 {
%2 = load i32, ptr @local_r4k_flush_cache_sigtramp, align 4, !tbaa !6
%3 = inttoptr i64 %0 to ptr
%4 = tail call i32 @r4k_on_each_cpu(i32 noundef %2, ptr noundef %3, i32 noundef 1) #2
ret void
}
declare i32 @r4k_on_each_cpu(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_mips_mm_extr_c-r4k.c_r4k_flush_cache_sigtramp |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_user_passkey_neg_reply_complete.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_user_passkey_neg_reply_complete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MGMT_OP_USER_PASSKEY_NEG_REPLY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mgmt_user_passkey_neg_reply_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @MGMT_OP_USER_PASSKEY_NEG_REPLY, align 4, !tbaa !5
%7 = tail call i32 @user_pairing_resp_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @user_pairing_resp_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_user_passkey_neg_reply_complete.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_user_passkey_neg_reply_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MGMT_OP_USER_PASSKEY_NEG_REPLY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mgmt_user_passkey_neg_reply_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @MGMT_OP_USER_PASSKEY_NEG_REPLY, align 4, !tbaa !6
%7 = tail call i32 @user_pairing_resp_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @user_pairing_resp_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_net_bluetooth_extr_mgmt.c_mgmt_user_passkey_neg_reply_complete |
; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_detach.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_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"
@jz4780_dme_spec = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jz4780_dme_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @jz4780_dme_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr @jz4780_dme_spec, align 4, !tbaa !5
%4 = load i32, ptr %2, align 4, !tbaa !9
%5 = tail call i32 @bus_release_resources(i32 noundef %0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_release_resources(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"jz4780_dme_softc", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_detach.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jz4780_dme_spec = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jz4780_dme_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @jz4780_dme_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr @jz4780_dme_spec, align 4, !tbaa !6
%4 = load i32, ptr %2, align 4, !tbaa !10
%5 = tail call i32 @bus_release_resources(i32 noundef %0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_release_resources(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"jz4780_dme_softc", !7, i64 0}
| freebsd_sys_mips_ingenic_extr_jz4780_dme.c_jz4780_dme_detach |
; ModuleID = 'AnghaBench/reactos/base/applications/network/net/extr_cmdPause.c_cmdPause.c'
source_filename = "AnghaBench/reactos/base/applications/network/net/extr_cmdPause.c_cmdPause.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@StdOut = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@MSG_PAUSE_SYNTAX = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i32] [i32 47, i32 104, i32 101, i32 108, i32 112, i32 0], align 4
@MSG_PAUSE_HELP = dso_local local_unnamed_addr global i32 0, align 4
@SERVICES_ACTIVE_DATABASE = dso_local local_unnamed_addr global i32 0, align 4
@SC_MANAGER_ENUMERATE_SERVICE = dso_local local_unnamed_addr global i32 0, align 4
@StdErr = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i32] [i32 91, i32 79, i32 112, i32 101, i32 110, i32 83, i32 67, i32 77, i32 97, i32 110, i32 97, i32 103, i32 101, i32 114, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
@SERVICE_PAUSE_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i32] [i32 91, i32 79, i32 112, i32 101, i32 110, i32 83, i32 101, i32 114, i32 118, i32 105, i32 99, i32 101, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
@SERVICE_CONTROL_PAUSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i32] [i32 91, i32 67, i32 111, i32 110, i32 116, i32 114, i32 111, i32 108, i32 83, i32 101, i32 114, i32 118, i32 105, i32 99, i32 101, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cmdPause(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = icmp eq i32 %0, 3
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = tail call i32 @PrintMessageString(i32 noundef 4381) #3
%7 = load i32, ptr @StdOut, align 4, !tbaa !5
%8 = tail call i32 @ConPuts(i32 noundef %7, ptr noundef nonnull @.str) #3
%9 = load i32, ptr @MSG_PAUSE_SYNTAX, align 4, !tbaa !5
%10 = tail call i32 @PrintNetMessage(i32 noundef %9) #3
br label %55
11: ; preds = %2
%12 = getelementptr inbounds ptr, ptr %1, i64 2
%13 = load ptr, ptr %12, align 8, !tbaa !9
%14 = tail call i64 @_wcsicmp(ptr noundef %13, ptr noundef nonnull @.str.1) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = tail call i32 @PrintMessageString(i32 noundef 4381) #3
%18 = load i32, ptr @StdOut, align 4, !tbaa !5
%19 = tail call i32 @ConPuts(i32 noundef %18, ptr noundef nonnull @.str) #3
%20 = load i32, ptr @MSG_PAUSE_SYNTAX, align 4, !tbaa !5
%21 = tail call i32 @PrintNetMessage(i32 noundef %20) #3
%22 = load i32, ptr @MSG_PAUSE_HELP, align 4, !tbaa !5
%23 = tail call i32 @PrintNetMessage(i32 noundef %22) #3
br label %55
24: ; preds = %11
%25 = load i32, ptr @SERVICES_ACTIVE_DATABASE, align 4, !tbaa !5
%26 = load i32, ptr @SC_MANAGER_ENUMERATE_SERVICE, align 4, !tbaa !5
%27 = tail call ptr @OpenSCManager(ptr noundef null, i32 noundef %25, i32 noundef %26) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load i32, ptr @StdErr, align 4, !tbaa !5
%31 = tail call i32 (...) @GetLastError() #3
%32 = tail call i32 @ConPrintf(i32 noundef %30, ptr noundef nonnull @.str.2, i32 noundef %31) #3
br label %55
33: ; preds = %24
%34 = load ptr, ptr %12, align 8, !tbaa !9
%35 = load i32, ptr @SERVICE_PAUSE_CONTINUE, align 4, !tbaa !5
%36 = tail call ptr @OpenService(ptr noundef nonnull %27, ptr noundef %34, i32 noundef %35) #3
%37 = icmp eq ptr %36, null
br i1 %37, label %48, label %38
38: ; preds = %33
%39 = load i32, ptr @SERVICE_CONTROL_PAUSE, align 4, !tbaa !5
%40 = call i32 @ControlService(ptr noundef nonnull %36, i32 noundef %39, ptr noundef nonnull %3) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr @StdErr, align 4, !tbaa !5
%44 = call i32 (...) @GetLastError() #3
%45 = call i32 @ConPrintf(i32 noundef %43, ptr noundef nonnull @.str.4, i32 noundef %44) #3
br label %46
46: ; preds = %38, %42
%47 = call i32 @CloseServiceHandle(ptr noundef nonnull %36) #3
br label %52
48: ; preds = %33
%49 = load i32, ptr @StdErr, align 4, !tbaa !5
%50 = tail call i32 (...) @GetLastError() #3
%51 = tail call i32 @ConPrintf(i32 noundef %49, ptr noundef nonnull @.str.3, i32 noundef %50) #3
br label %52
52: ; preds = %48, %46
%53 = phi i32 [ 0, %46 ], [ 1, %48 ]
%54 = call i32 @CloseServiceHandle(ptr noundef nonnull %27) #3
br label %55
55: ; preds = %29, %52, %16, %5
%56 = phi i32 [ 1, %5 ], [ 1, %16 ], [ %53, %52 ], [ 1, %29 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PrintMessageString(i32 noundef) local_unnamed_addr #2
declare i32 @ConPuts(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PrintNetMessage(i32 noundef) local_unnamed_addr #2
declare i64 @_wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @OpenSCManager(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ConPrintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare ptr @OpenService(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ControlService(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CloseServiceHandle(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/base/applications/network/net/extr_cmdPause.c_cmdPause.c'
source_filename = "AnghaBench/reactos/base/applications/network/net/extr_cmdPause.c_cmdPause.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@StdOut = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@MSG_PAUSE_SYNTAX = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i32] [i32 47, i32 104, i32 101, i32 108, i32 112, i32 0], align 4
@MSG_PAUSE_HELP = common local_unnamed_addr global i32 0, align 4
@SERVICES_ACTIVE_DATABASE = common local_unnamed_addr global i32 0, align 4
@SC_MANAGER_ENUMERATE_SERVICE = common local_unnamed_addr global i32 0, align 4
@StdErr = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i32] [i32 91, i32 79, i32 112, i32 101, i32 110, i32 83, i32 67, i32 77, i32 97, i32 110, i32 97, i32 103, i32 101, i32 114, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
@SERVICE_PAUSE_CONTINUE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i32] [i32 91, i32 79, i32 112, i32 101, i32 110, i32 83, i32 101, i32 114, i32 118, i32 105, i32 99, i32 101, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
@SERVICE_CONTROL_PAUSE = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i32] [i32 91, i32 67, i32 111, i32 110, i32 116, i32 114, i32 111, i32 108, i32 83, i32 101, i32 114, i32 118, i32 105, i32 99, i32 101, i32 93, i32 32, i32 69, i32 114, i32 114, i32 111, i32 114, i32 58, i32 32, i32 37, i32 108, i32 100, i32 10, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @cmdPause(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = icmp eq i32 %0, 3
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = tail call i32 @PrintMessageString(i32 noundef 4381) #3
%7 = load i32, ptr @StdOut, align 4, !tbaa !6
%8 = tail call i32 @ConPuts(i32 noundef %7, ptr noundef nonnull @.str) #3
%9 = load i32, ptr @MSG_PAUSE_SYNTAX, align 4, !tbaa !6
%10 = tail call i32 @PrintNetMessage(i32 noundef %9) #3
br label %55
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = tail call i64 @_wcsicmp(ptr noundef %13, ptr noundef nonnull @.str.1) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = tail call i32 @PrintMessageString(i32 noundef 4381) #3
%18 = load i32, ptr @StdOut, align 4, !tbaa !6
%19 = tail call i32 @ConPuts(i32 noundef %18, ptr noundef nonnull @.str) #3
%20 = load i32, ptr @MSG_PAUSE_SYNTAX, align 4, !tbaa !6
%21 = tail call i32 @PrintNetMessage(i32 noundef %20) #3
%22 = load i32, ptr @MSG_PAUSE_HELP, align 4, !tbaa !6
%23 = tail call i32 @PrintNetMessage(i32 noundef %22) #3
br label %55
24: ; preds = %11
%25 = load i32, ptr @SERVICES_ACTIVE_DATABASE, align 4, !tbaa !6
%26 = load i32, ptr @SC_MANAGER_ENUMERATE_SERVICE, align 4, !tbaa !6
%27 = tail call ptr @OpenSCManager(ptr noundef null, i32 noundef %25, i32 noundef %26) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load i32, ptr @StdErr, align 4, !tbaa !6
%31 = tail call i32 @GetLastError() #3
%32 = tail call i32 @ConPrintf(i32 noundef %30, ptr noundef nonnull @.str.2, i32 noundef %31) #3
br label %55
33: ; preds = %24
%34 = load ptr, ptr %12, align 8, !tbaa !10
%35 = load i32, ptr @SERVICE_PAUSE_CONTINUE, align 4, !tbaa !6
%36 = tail call ptr @OpenService(ptr noundef nonnull %27, ptr noundef %34, i32 noundef %35) #3
%37 = icmp eq ptr %36, null
br i1 %37, label %48, label %38
38: ; preds = %33
%39 = load i32, ptr @SERVICE_CONTROL_PAUSE, align 4, !tbaa !6
%40 = call i32 @ControlService(ptr noundef nonnull %36, i32 noundef %39, ptr noundef nonnull %3) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr @StdErr, align 4, !tbaa !6
%44 = call i32 @GetLastError() #3
%45 = call i32 @ConPrintf(i32 noundef %43, ptr noundef nonnull @.str.4, i32 noundef %44) #3
br label %46
46: ; preds = %38, %42
%47 = call i32 @CloseServiceHandle(ptr noundef nonnull %36) #3
br label %52
48: ; preds = %33
%49 = load i32, ptr @StdErr, align 4, !tbaa !6
%50 = tail call i32 @GetLastError() #3
%51 = tail call i32 @ConPrintf(i32 noundef %49, ptr noundef nonnull @.str.3, i32 noundef %50) #3
br label %52
52: ; preds = %48, %46
%53 = phi i32 [ 0, %46 ], [ 1, %48 ]
%54 = call i32 @CloseServiceHandle(ptr noundef nonnull %27) #3
br label %55
55: ; preds = %29, %52, %16, %5
%56 = phi i32 [ 1, %5 ], [ 1, %16 ], [ %53, %52 ], [ 1, %29 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PrintMessageString(i32 noundef) local_unnamed_addr #2
declare i32 @ConPuts(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PrintNetMessage(i32 noundef) local_unnamed_addr #2
declare i64 @_wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @OpenSCManager(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ConPrintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare ptr @OpenService(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ControlService(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CloseServiceHandle(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}
| reactos_base_applications_network_net_extr_cmdPause.c_cmdPause |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_tty.c_sclp_tty_state_change.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_tty.c_sclp_tty_state_change.c"
target datalayout = "e-m:e-p270:32:32-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 @sclp_tty_state_change], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @sclp_tty_state_change(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/s390/char/extr_sclp_tty.c_sclp_tty_state_change.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_tty.c_sclp_tty_state_change.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 @sclp_tty_state_change], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @sclp_tty_state_change(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_s390_char_extr_sclp_tty.c_sclp_tty_state_change |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_span.c_mlxsw_sp_span_port_mtu_update.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_span.c_mlxsw_sp_span_port_mtu_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlxsw_sp_port = type { i32, i32, ptr }
@MLXSW_REG_SBIB_LEN = dso_local local_unnamed_addr global i32 0, align 4
@sbib = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Could not update shared buffer for mirroring\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @mlxsw_sp_span_port_mtu_update(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.mlxsw_sp_port, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @MLXSW_REG_SBIB_LEN, align 4, !tbaa !11
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 16
%8 = tail call i64 @mlxsw_sp_span_is_egress_mirror(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %2
%11 = tail call i32 @mlxsw_sp_span_mtu_to_buffsize(ptr noundef %4, i32 noundef %1) #2
%12 = getelementptr inbounds %struct.mlxsw_sp_port, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = call i32 @mlxsw_reg_sbib_pack(ptr noundef nonnull %7, i32 noundef %13, i32 noundef %11) #2
%15 = load i32, ptr %4, align 4, !tbaa !13
%16 = load i32, ptr @sbib, align 4, !tbaa !11
%17 = call i32 @MLXSW_REG(i32 noundef %16) #2
%18 = call i32 @mlxsw_reg_write(i32 noundef %15, i32 noundef %17, ptr noundef nonnull %7) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load i32, ptr %0, align 8, !tbaa !15
%22 = call i32 @netdev_err(i32 noundef %21, ptr noundef nonnull @.str) #2
br label %23
23: ; preds = %2, %10, %20
%24 = phi i32 [ %18, %20 ], [ 0, %10 ], [ 0, %2 ]
ret i32 %24
}
declare i64 @mlxsw_sp_span_is_egress_mirror(ptr noundef) local_unnamed_addr #1
declare i32 @mlxsw_sp_span_mtu_to_buffsize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_sbib_pack(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_write(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MLXSW_REG(i32 noundef) local_unnamed_addr #1
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"mlxsw_sp_port", !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 4}
!13 = !{!14, !7, i64 0}
!14 = !{!"mlxsw_sp", !7, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_span.c_mlxsw_sp_span_port_mtu_update.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_span.c_mlxsw_sp_span_port_mtu_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLXSW_REG_SBIB_LEN = common local_unnamed_addr global i32 0, align 4
@sbib = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Could not update shared buffer for mirroring\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mlxsw_sp_span_port_mtu_update(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @MLXSW_REG_SBIB_LEN, align 4, !tbaa !12
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 1
%8 = tail call i64 @mlxsw_sp_span_is_egress_mirror(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %23, label %10
10: ; preds = %2
%11 = tail call i32 @mlxsw_sp_span_mtu_to_buffsize(ptr noundef %4, i32 noundef %1) #2
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = call i32 @mlxsw_reg_sbib_pack(ptr noundef nonnull %7, i32 noundef %13, i32 noundef %11) #2
%15 = load i32, ptr %4, align 4, !tbaa !14
%16 = load i32, ptr @sbib, align 4, !tbaa !12
%17 = call i32 @MLXSW_REG(i32 noundef %16) #2
%18 = call i32 @mlxsw_reg_write(i32 noundef %15, i32 noundef %17, ptr noundef nonnull %7) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load i32, ptr %0, align 8, !tbaa !16
%22 = call i32 @netdev_err(i32 noundef %21, ptr noundef nonnull @.str) #2
br label %23
23: ; preds = %2, %10, %20
%24 = phi i32 [ %18, %20 ], [ 0, %10 ], [ 0, %2 ]
ret i32 %24
}
declare i64 @mlxsw_sp_span_is_egress_mirror(ptr noundef) local_unnamed_addr #1
declare i32 @mlxsw_sp_span_mtu_to_buffsize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_sbib_pack(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlxsw_reg_write(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @MLXSW_REG(i32 noundef) local_unnamed_addr #1
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"mlxsw_sp_port", !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 4}
!14 = !{!15, !8, i64 0}
!15 = !{!"mlxsw_sp", !8, i64 0}
!16 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_span.c_mlxsw_sp_span_port_mtu_update |
; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-connect.c_PQserverVersion.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-connect.c_PQserverVersion.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32 }
@CONNECTION_BAD = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @PQserverVersion(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @CONNECTION_BAD, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !12
br label %10
10: ; preds = %3, %1, %7
%11 = phi i32 [ %9, %7 ], [ 0, %1 ], [ 0, %3 ]
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-connect.c_PQserverVersion.c'
source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-connect.c_PQserverVersion.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CONNECTION_BAD = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @PQserverVersion(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @CONNECTION_BAD, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !13
br label %10
10: ; preds = %3, %1, %7
%11 = phi i32 [ %9, %7 ], [ 0, %1 ], [ 0, %3 ]
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
| postgres_src_interfaces_libpq_extr_fe-connect.c_PQserverVersion |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_get_swizzle.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_get_swizzle.c"
target datalayout = "e-m:e-p270:32:32-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.wined3d_shader_src_param = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @shader_glsl_get_swizzle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @shader_glsl_get_swizzle(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds %struct.wined3d_shader_src_param, ptr %0, i64 0, i32 1
%6 = tail call i64 @shader_is_scalar(ptr noundef nonnull %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store i8 0, ptr %3, align 1, !tbaa !5
br label %12
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !8
%11 = tail call i32 @shader_glsl_swizzle_to_str(i32 noundef %10, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
br label %12
12: ; preds = %9, %8
ret void
}
declare i64 @shader_is_scalar(ptr noundef) local_unnamed_addr #1
declare i32 @shader_glsl_swizzle_to_str(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, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"wined3d_shader_src_param", !10, i64 0, !10, i64 4}
!10 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_get_swizzle.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_get_swizzle.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 @shader_glsl_get_swizzle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @shader_glsl_get_swizzle(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = tail call i64 @shader_is_scalar(ptr noundef nonnull %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store i8 0, ptr %3, align 1, !tbaa !6
br label %12
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = tail call i32 @shader_glsl_swizzle_to_str(i32 noundef %10, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2
br label %12
12: ; preds = %9, %8
ret void
}
declare i64 @shader_is_scalar(ptr noundef) local_unnamed_addr #1
declare i32 @shader_glsl_swizzle_to_str(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, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"wined3d_shader_src_param", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
| reactos_dll_directx_wine_wined3d_extr_glsl_shader.c_shader_glsl_get_swizzle |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_ordered.c_gomp_ordered_sync.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_ordered.c_gomp_ordered_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_2__ = type { i64, ptr, ptr }
%struct.gomp_team = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @gomp_ordered_sync() local_unnamed_addr #0 {
%1 = tail call ptr (...) @gomp_thread() #2
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = icmp eq ptr %3, null
br i1 %6, label %21, label %7
7: ; preds = %0
%8 = load i32, ptr %3, align 8, !tbaa !13
%9 = icmp eq i32 %8, 1
br i1 %9, label %21, label %10
10: ; preds = %7
%11 = load i64, ptr %5, align 8, !tbaa !16
%12 = load i64, ptr %1, align 8, !tbaa !18
%13 = icmp eq i64 %11, %12
br i1 %13, label %21, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.gomp_team, ptr %3, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !19
%17 = getelementptr inbounds i32, ptr %16, i64 %12
%18 = load i32, ptr %17, align 4, !tbaa !20
%19 = tail call i32 @gomp_sem_wait(i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !18
store i64 %20, ptr %5, align 8, !tbaa !16
br label %21
21: ; preds = %10, %14, %0, %7
ret void
}
declare ptr @gomp_thread(...) local_unnamed_addr #1
declare i32 @gomp_sem_wait(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 16}
!6 = !{!"gomp_thread", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, 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 = !{!6, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"gomp_team", !15, i64 0, !11, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"gomp_work_share", !8, i64 0}
!18 = !{!6, !8, i64 0}
!19 = !{!14, !11, i64 8}
!20 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_ordered.c_gomp_ordered_sync.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_ordered.c_gomp_ordered_sync.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 @gomp_ordered_sync() local_unnamed_addr #0 {
%1 = tail call ptr @gomp_thread() #2
%2 = getelementptr inbounds i8, ptr %1, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = icmp eq ptr %3, null
br i1 %6, label %21, label %7
7: ; preds = %0
%8 = load i32, ptr %3, align 8, !tbaa !14
%9 = icmp eq i32 %8, 1
br i1 %9, label %21, label %10
10: ; preds = %7
%11 = load i64, ptr %5, align 8, !tbaa !17
%12 = load i64, ptr %1, align 8, !tbaa !19
%13 = icmp eq i64 %11, %12
br i1 %13, label %21, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %3, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !20
%17 = getelementptr inbounds i32, ptr %16, i64 %12
%18 = load i32, ptr %17, align 4, !tbaa !21
%19 = tail call i32 @gomp_sem_wait(i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !19
store i64 %20, ptr %5, align 8, !tbaa !17
br label %21
21: ; preds = %10, %14, %0, %7
ret void
}
declare ptr @gomp_thread(...) local_unnamed_addr #1
declare i32 @gomp_sem_wait(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 16}
!7 = !{!"gomp_thread", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !12, i64 16}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"gomp_team", !16, i64 0, !12, i64 8}
!16 = !{!"int", !10, i64 0}
!17 = !{!18, !9, i64 0}
!18 = !{!"gomp_work_share", !9, i64 0}
!19 = !{!7, !9, i64 0}
!20 = !{!15, !12, i64 8}
!21 = !{!16, !16, i64 0}
| freebsd_contrib_gcclibs_libgomp_extr_ordered.c_gomp_ordered_sync |
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_lookup.c'
source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_lookup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sidtab_lookup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @sidtab_lookup(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @smp_load_acquire(ptr noundef %0) #2
%4 = icmp sgt i64 %3, %1
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call ptr @sidtab_do_lookup(ptr noundef %0, i64 noundef %1, i32 noundef 0) #2
br label %7
7: ; preds = %2, %5
%8 = phi ptr [ %6, %5 ], [ null, %2 ]
ret ptr %8
}
declare i64 @smp_load_acquire(ptr noundef) local_unnamed_addr #1
declare ptr @sidtab_do_lookup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_lookup.c'
source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_lookup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @sidtab_lookup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @sidtab_lookup(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @smp_load_acquire(ptr noundef %0) #2
%4 = icmp sgt i64 %3, %1
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call ptr @sidtab_do_lookup(ptr noundef %0, i64 noundef %1, i32 noundef 0) #2
br label %7
7: ; preds = %2, %5
%8 = phi ptr [ %6, %5 ], [ null, %2 ]
ret ptr %8
}
declare i64 @smp_load_acquire(ptr noundef) local_unnamed_addr #1
declare ptr @sidtab_do_lookup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_security_selinux_ss_extr_sidtab.c_sidtab_lookup |
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_time_64.c_stick_add_tick.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_time_64.c_stick_add_tick.c"
target datalayout = "e-m:e-p270:32:32-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 @stick_add_tick], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @stick_add_tick(i64 noundef %0) #0 {
%2 = tail call i64 asm sideeffect "rd\09%asr24, $0\0A\09add\09$0, $1, $0\0A\09wr\09$0, 0, %asr24\0A\09", "=&r,r,~{dirflag},~{fpsr},~{flags}"(i64 %0) #1, !srcloc !5
ret i64 %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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 520, i64 537, i64 566, i64 598}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_time_64.c_stick_add_tick.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_time_64.c_stick_add_tick.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 @stick_add_tick], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @stick_add_tick(i64 noundef %0) #0 {
%2 = tail call i64 asm sideeffect "rd\09%asr24, $0\0A\09add\09$0, $1, $0\0A\09wr\09$0, 0, %asr24\0A\09", "=&r,r"(i64 %0) #1, !srcloc !6
ret i64 %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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{i64 520, i64 537, i64 566, i64 598}
| linux_arch_sparc_kernel_extr_time_64.c_stick_add_tick |
; ModuleID = 'AnghaBench/freebsd/lib/libc/iconv/extr_bsd_iconv.c___bsd_iconv_open_into.c'
source_filename = "AnghaBench/freebsd/lib/libc/iconv/extr_bsd_iconv.c___bsd_iconv_open_into.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @__bsd_iconv_open_into(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @__bsd___iconv_open(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i64 %4, -1
%6 = sext i1 %5 to i32
ret i32 %6
}
declare i64 @__bsd___iconv_open(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)"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/iconv/extr_bsd_iconv.c___bsd_iconv_open_into.c'
source_filename = "AnghaBench/freebsd/lib/libc/iconv/extr_bsd_iconv.c___bsd_iconv_open_into.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @__bsd_iconv_open_into(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @__bsd___iconv_open(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i64 %4, -1
%6 = sext i1 %5 to i32
ret i32 %6
}
declare i64 @__bsd___iconv_open(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)"}
| freebsd_lib_libc_iconv_extr_bsd_iconv.c___bsd_iconv_open_into |
; ModuleID = 'AnghaBench/nginx/src/core/extr_ngx_thread_pool.c_ngx_thread_pool_cycle.c'
source_filename = "AnghaBench/nginx/src/core/extr_ngx_thread_pool.c_ngx_thread_pool_cycle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr }
%struct.TYPE_7__ = type { i32, i32, i32, %struct.TYPE_5__, i32, i32 }
%struct.TYPE_5__ = type { ptr, ptr }
%struct.TYPE_6__ = type { ptr, i32, i32, ptr }
@NGX_LOG_DEBUG_CORE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"thread in pool \22%V\22 started\00", align 1
@SIGILL = dso_local local_unnamed_addr global i32 0, align 4
@SIGFPE = dso_local local_unnamed_addr global i32 0, align 4
@SIGSEGV = dso_local local_unnamed_addr global i32 0, align 4
@SIGBUS = dso_local local_unnamed_addr global i32 0, align 4
@SIG_BLOCK = dso_local local_unnamed_addr global i32 0, align 4
@NGX_LOG_ALERT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"pthread_sigmask() failed\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [34 x i8] c"run task #%ui in thread pool \22%V\22\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"complete task #%ui in thread pool \22%V\22\00", align 1
@ngx_thread_pool_done_lock = dso_local global i32 0, align 4
@ngx_thread_pool_done = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@ngx_thread_pool_handler = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_thread_pool_cycle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @ngx_thread_pool_cycle(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = tail call i32 @ngx_log_debug1(i32 noundef %3, i32 noundef %5, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef %0) #3
%7 = call i32 @sigfillset(ptr noundef nonnull %2) #3
%8 = load i32, ptr @SIGILL, align 4, !tbaa !5
%9 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %8) #3
%10 = load i32, ptr @SIGFPE, align 4, !tbaa !5
%11 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %10) #3
%12 = load i32, ptr @SIGSEGV, align 4, !tbaa !5
%13 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %12) #3
%14 = load i32, ptr @SIGBUS, align 4, !tbaa !5
%15 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %14) #3
%16 = load i32, ptr @SIG_BLOCK, align 4, !tbaa !5
%17 = call i32 @pthread_sigmask(i32 noundef %16, ptr noundef nonnull %2, ptr noundef null) #3
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr %4, align 4, !tbaa !9
br i1 %18, label %20, label %30
20: ; preds = %1
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%22 = call i64 @ngx_thread_mutex_lock(ptr noundef nonnull %21, i32 noundef %19) #3
%23 = load i64, ptr @NGX_OK, align 8, !tbaa !13
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %82
25: ; preds = %20
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3, i32 1
br label %33
30: ; preds = %1
%31 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !5
%32 = call i32 @ngx_log_error(i32 noundef %31, i32 noundef %19, i32 noundef %17, ptr noundef nonnull @.str.1) #3
br label %82
33: ; preds = %25, %56
%34 = load i32, ptr %26, align 4, !tbaa !15
%35 = add nsw i32 %34, -1
store i32 %35, ptr %26, align 4, !tbaa !15
br label %36
36: ; preds = %39, %33
%37 = load ptr, ptr %27, align 8, !tbaa !16
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, ptr %4, align 4, !tbaa !9
%41 = call i64 @ngx_thread_cond_wait(ptr noundef nonnull %28, ptr noundef nonnull %21, i32 noundef %40) #3
%42 = load i64, ptr @NGX_OK, align 8, !tbaa !13
%43 = icmp eq i64 %41, %42
br i1 %43, label %36, label %44, !llvm.loop !17
44: ; preds = %39
%45 = load i32, ptr %4, align 4, !tbaa !9
%46 = call i64 @ngx_thread_mutex_unlock(ptr noundef nonnull %21, i32 noundef %45) #3
br label %82
47: ; preds = %36
%48 = load ptr, ptr %37, align 8, !tbaa !19
store ptr %48, ptr %27, align 8, !tbaa !16
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %51
50: ; preds = %47
store ptr %27, ptr %29, align 8, !tbaa !21
br label %51
51: ; preds = %50, %47
%52 = load i32, ptr %4, align 4, !tbaa !9
%53 = call i64 @ngx_thread_mutex_unlock(ptr noundef nonnull %21, i32 noundef %52) #3
%54 = load i64, ptr @NGX_OK, align 8, !tbaa !13
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %82
56: ; preds = %51
%57 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !5
%58 = load i32, ptr %4, align 4, !tbaa !9
%59 = getelementptr inbounds %struct.TYPE_6__, ptr %37, i64 0, i32 1
%60 = load i32, ptr %59, align 8, !tbaa !22
%61 = call i32 @ngx_log_debug2(i32 noundef %57, i32 noundef %58, i32 noundef 0, ptr noundef nonnull @.str.2, i32 noundef %60, ptr noundef nonnull %0) #3
%62 = getelementptr inbounds %struct.TYPE_6__, ptr %37, i64 0, i32 3
%63 = load ptr, ptr %62, align 8, !tbaa !23
%64 = getelementptr inbounds %struct.TYPE_6__, ptr %37, i64 0, i32 2
%65 = load i32, ptr %64, align 4, !tbaa !24
%66 = load i32, ptr %4, align 4, !tbaa !9
%67 = call i32 %63(i32 noundef %65, i32 noundef %66) #3
%68 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !5
%69 = load i32, ptr %4, align 4, !tbaa !9
%70 = load i32, ptr %59, align 8, !tbaa !22
%71 = call i32 @ngx_log_debug2(i32 noundef %68, i32 noundef %69, i32 noundef 0, ptr noundef nonnull @.str.3, i32 noundef %70, ptr noundef nonnull %0) #3
store ptr null, ptr %37, align 8, !tbaa !19
%72 = call i32 @ngx_spinlock(ptr noundef nonnull @ngx_thread_pool_done_lock, i32 noundef 1, i32 noundef 2048) #3
%73 = load ptr, ptr @ngx_thread_pool_done, align 8, !tbaa !25
store ptr %37, ptr %73, align 8, !tbaa !27
store ptr %37, ptr @ngx_thread_pool_done, align 8, !tbaa !25
%74 = call i32 (...) @ngx_memory_barrier() #3
%75 = call i32 @ngx_unlock(ptr noundef nonnull @ngx_thread_pool_done_lock) #3
%76 = load i32, ptr @ngx_thread_pool_handler, align 4, !tbaa !5
%77 = call i32 @ngx_notify(i32 noundef %76) #3
%78 = load i32, ptr %4, align 4, !tbaa !9
%79 = call i64 @ngx_thread_mutex_lock(ptr noundef nonnull %21, i32 noundef %78) #3
%80 = load i64, ptr @NGX_OK, align 8, !tbaa !13
%81 = icmp eq i64 %79, %80
br i1 %81, label %33, label %82
82: ; preds = %56, %51, %20, %44, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr null
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sigfillset(ptr noundef) local_unnamed_addr #2
declare i32 @sigdelset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_thread_mutex_lock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_thread_cond_wait(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_thread_mutex_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ngx_log_debug2(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_spinlock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ngx_memory_barrier(...) local_unnamed_addr #2
declare i32 @ngx_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @ngx_notify(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !6, i64 32, !6, i64 36}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !6, i64 36}
!16 = !{!10, !12, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_6__", !12, i64 0, !6, i64 8, !6, i64 12, !12, i64 16}
!21 = !{!10, !12, i64 24}
!22 = !{!20, !6, i64 8}
!23 = !{!20, !12, i64 16}
!24 = !{!20, !6, i64 12}
!25 = !{!26, !12, i64 0}
!26 = !{!"TYPE_8__", !12, i64 0}
!27 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/nginx/src/core/extr_ngx_thread_pool.c_ngx_thread_pool_cycle.c'
source_filename = "AnghaBench/nginx/src/core/extr_ngx_thread_pool.c_ngx_thread_pool_cycle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr }
@NGX_LOG_DEBUG_CORE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"thread in pool \22%V\22 started\00", align 1
@SIGILL = common local_unnamed_addr global i32 0, align 4
@SIGFPE = common local_unnamed_addr global i32 0, align 4
@SIGSEGV = common local_unnamed_addr global i32 0, align 4
@SIGBUS = common local_unnamed_addr global i32 0, align 4
@SIG_BLOCK = common local_unnamed_addr global i32 0, align 4
@NGX_LOG_ALERT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"pthread_sigmask() failed\00", align 1
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [34 x i8] c"run task #%ui in thread pool \22%V\22\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"complete task #%ui in thread pool \22%V\22\00", align 1
@ngx_thread_pool_done_lock = common global i32 0, align 4
@ngx_thread_pool_done = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@ngx_thread_pool_handler = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_thread_pool_cycle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @ngx_thread_pool_cycle(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @ngx_log_debug1(i32 noundef %3, i32 noundef %5, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef %0) #3
%7 = call i32 @sigfillset(ptr noundef nonnull %2) #3
%8 = load i32, ptr @SIGILL, align 4, !tbaa !6
%9 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %8) #3
%10 = load i32, ptr @SIGFPE, align 4, !tbaa !6
%11 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %10) #3
%12 = load i32, ptr @SIGSEGV, align 4, !tbaa !6
%13 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %12) #3
%14 = load i32, ptr @SIGBUS, align 4, !tbaa !6
%15 = call i32 @sigdelset(ptr noundef nonnull %2, i32 noundef %14) #3
%16 = load i32, ptr @SIG_BLOCK, align 4, !tbaa !6
%17 = call i32 @pthread_sigmask(i32 noundef %16, ptr noundef nonnull %2, ptr noundef null) #3
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr %4, align 4, !tbaa !10
br i1 %18, label %20, label %30
20: ; preds = %1
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = call i64 @ngx_thread_mutex_lock(ptr noundef nonnull %21, i32 noundef %19) #3
%23 = load i64, ptr @NGX_OK, align 8, !tbaa !14
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %82
25: ; preds = %20
%26 = getelementptr inbounds i8, ptr %0, i64 36
%27 = getelementptr inbounds i8, ptr %0, i64 16
%28 = getelementptr inbounds i8, ptr %0, i64 32
%29 = getelementptr inbounds i8, ptr %0, i64 24
br label %33
30: ; preds = %1
%31 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !6
%32 = call i32 @ngx_log_error(i32 noundef %31, i32 noundef %19, i32 noundef %17, ptr noundef nonnull @.str.1) #3
br label %82
33: ; preds = %25, %56
%34 = load i32, ptr %26, align 4, !tbaa !16
%35 = add nsw i32 %34, -1
store i32 %35, ptr %26, align 4, !tbaa !16
br label %36
36: ; preds = %39, %33
%37 = load ptr, ptr %27, align 8, !tbaa !17
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, ptr %4, align 4, !tbaa !10
%41 = call i64 @ngx_thread_cond_wait(ptr noundef nonnull %28, ptr noundef nonnull %21, i32 noundef %40) #3
%42 = load i64, ptr @NGX_OK, align 8, !tbaa !14
%43 = icmp eq i64 %41, %42
br i1 %43, label %36, label %44, !llvm.loop !18
44: ; preds = %39
%45 = load i32, ptr %4, align 4, !tbaa !10
%46 = call i64 @ngx_thread_mutex_unlock(ptr noundef nonnull %21, i32 noundef %45) #3
br label %82
47: ; preds = %36
%48 = load ptr, ptr %37, align 8, !tbaa !20
store ptr %48, ptr %27, align 8, !tbaa !17
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %51
50: ; preds = %47
store ptr %27, ptr %29, align 8, !tbaa !22
br label %51
51: ; preds = %50, %47
%52 = load i32, ptr %4, align 4, !tbaa !10
%53 = call i64 @ngx_thread_mutex_unlock(ptr noundef nonnull %21, i32 noundef %52) #3
%54 = load i64, ptr @NGX_OK, align 8, !tbaa !14
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %82
56: ; preds = %51
%57 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !6
%58 = load i32, ptr %4, align 4, !tbaa !10
%59 = getelementptr inbounds i8, ptr %37, i64 8
%60 = load i32, ptr %59, align 8, !tbaa !23
%61 = call i32 @ngx_log_debug2(i32 noundef %57, i32 noundef %58, i32 noundef 0, ptr noundef nonnull @.str.2, i32 noundef %60, ptr noundef nonnull %0) #3
%62 = getelementptr inbounds i8, ptr %37, i64 16
%63 = load ptr, ptr %62, align 8, !tbaa !24
%64 = getelementptr inbounds i8, ptr %37, i64 12
%65 = load i32, ptr %64, align 4, !tbaa !25
%66 = load i32, ptr %4, align 4, !tbaa !10
%67 = call i32 %63(i32 noundef %65, i32 noundef %66) #3
%68 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !6
%69 = load i32, ptr %4, align 4, !tbaa !10
%70 = load i32, ptr %59, align 8, !tbaa !23
%71 = call i32 @ngx_log_debug2(i32 noundef %68, i32 noundef %69, i32 noundef 0, ptr noundef nonnull @.str.3, i32 noundef %70, ptr noundef nonnull %0) #3
store ptr null, ptr %37, align 8, !tbaa !20
%72 = call i32 @ngx_spinlock(ptr noundef nonnull @ngx_thread_pool_done_lock, i32 noundef 1, i32 noundef 2048) #3
%73 = load ptr, ptr @ngx_thread_pool_done, align 8, !tbaa !26
store ptr %37, ptr %73, align 8, !tbaa !28
store ptr %37, ptr @ngx_thread_pool_done, align 8, !tbaa !26
%74 = call i32 @ngx_memory_barrier() #3
%75 = call i32 @ngx_unlock(ptr noundef nonnull @ngx_thread_pool_done_lock) #3
%76 = load i32, ptr @ngx_thread_pool_handler, align 4, !tbaa !6
%77 = call i32 @ngx_notify(i32 noundef %76) #3
%78 = load i32, ptr %4, align 4, !tbaa !10
%79 = call i64 @ngx_thread_mutex_lock(ptr noundef nonnull %21, i32 noundef %78) #3
%80 = load i64, ptr @NGX_OK, align 8, !tbaa !14
%81 = icmp eq i64 %79, %80
br i1 %81, label %33, label %82
82: ; preds = %56, %51, %20, %44, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr null
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sigfillset(ptr noundef) local_unnamed_addr #2
declare i32 @sigdelset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pthread_sigmask(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_thread_mutex_lock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_thread_cond_wait(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_thread_mutex_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ngx_log_debug2(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_spinlock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ngx_memory_barrier(...) local_unnamed_addr #2
declare i32 @ngx_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @ngx_notify(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 32, !7, i64 36}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !7, i64 36}
!17 = !{!11, !13, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_6__", !13, i64 0, !7, i64 8, !7, i64 12, !13, i64 16}
!22 = !{!11, !13, i64 24}
!23 = !{!21, !7, i64 8}
!24 = !{!21, !13, i64 16}
!25 = !{!21, !7, i64 12}
!26 = !{!27, !13, i64 0}
!27 = !{!"TYPE_8__", !13, i64 0}
!28 = !{!13, !13, i64 0}
| nginx_src_core_extr_ngx_thread_pool.c_ngx_thread_pool_cycle |
; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_autolink.c_sd_autolink__url.c'
source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_autolink.c_sd_autolink__url.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SD_AUTOLINK_SHORT_DOMAINS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @sd_autolink__url(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = icmp ult i64 %4, 4
br i1 %7, label %67, label %8
8: ; preds = %6
%9 = getelementptr inbounds i8, ptr %2, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !5
%11 = icmp eq i8 %10, 47
br i1 %11, label %12, label %67
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %2, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = icmp eq i8 %14, 47
br i1 %15, label %16, label %67
16: ; preds = %12
%17 = icmp eq i64 %3, 0
br i1 %17, label %28, label %18
18: ; preds = %16, %25
%19 = phi i64 [ %26, %25 ], [ 0, %16 ]
%20 = xor i64 %19, -1
%21 = getelementptr inbounds i8, ptr %2, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !5
%23 = tail call i64 @isalpha(i8 noundef signext %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = add nuw i64 %19, 1
%27 = icmp eq i64 %26, %3
br i1 %27, label %28, label %18, !llvm.loop !8
28: ; preds = %18, %25, %16
%29 = phi i64 [ 0, %16 ], [ %3, %25 ], [ %19, %18 ]
%30 = sub i64 0, %29
%31 = getelementptr inbounds i8, ptr %2, i64 %30
%32 = add i64 %29, %4
%33 = tail call i32 @sd_autolink_issafe(ptr noundef %31, i64 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %67, label %35
35: ; preds = %28
%36 = getelementptr inbounds i8, ptr %2, i64 3
%37 = add i64 %4, -3
%38 = load i32, ptr @SD_AUTOLINK_SHORT_DOMAINS, align 4, !tbaa !10
%39 = and i32 %38, %5
%40 = tail call i64 @check_domain(ptr noundef nonnull %36, i64 noundef %37, i32 noundef %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %67, label %42
42: ; preds = %35
%43 = add i64 %40, 3
%44 = icmp ult i64 %43, %4
br i1 %44, label %45, label %54
45: ; preds = %42, %51
%46 = phi i64 [ %52, %51 ], [ %43, %42 ]
%47 = getelementptr inbounds i8, ptr %2, i64 %46
%48 = load i8, ptr %47, align 1, !tbaa !5
%49 = tail call i32 @isspace(i8 noundef signext %48) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = add i64 %46, 1
%53 = icmp eq i64 %52, %4
br i1 %53, label %54, label %45, !llvm.loop !12
54: ; preds = %45, %51, %42
%55 = phi i64 [ %43, %42 ], [ %4, %51 ], [ %46, %45 ]
%56 = tail call i64 @autolink_delim(ptr noundef nonnull %2, i64 noundef %55, i64 noundef %3, i64 noundef %4) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %67, label %58
58: ; preds = %54
%59 = getelementptr i8, ptr %2, i64 %56
%60 = getelementptr i8, ptr %59, i64 -1
%61 = load i8, ptr %60, align 1, !tbaa !5
%62 = icmp eq i8 %61, 46
%63 = sext i1 %62 to i64
%64 = add i64 %56, %63
%65 = add i64 %64, %29
%66 = tail call i32 @bufput(ptr noundef %1, ptr noundef %31, i64 noundef %65) #2
store i64 %29, ptr %0, align 8, !tbaa !13
br label %67
67: ; preds = %54, %35, %28, %6, %8, %12, %58
%68 = phi i64 [ %64, %58 ], [ 0, %12 ], [ 0, %8 ], [ 0, %6 ], [ 0, %28 ], [ 0, %35 ], [ 0, %54 ]
ret i64 %68
}
declare i64 @isalpha(i8 noundef signext) local_unnamed_addr #1
declare i32 @sd_autolink_issafe(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @check_domain(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isspace(i8 noundef signext) local_unnamed_addr #1
declare i64 @autolink_delim(ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bufput(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = distinct !{!12, !9}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !6, i64 0}
| ; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_autolink.c_sd_autolink__url.c'
source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_autolink.c_sd_autolink__url.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SD_AUTOLINK_SHORT_DOMAINS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @sd_autolink__url(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = icmp ult i64 %4, 4
br i1 %7, label %67, label %8
8: ; preds = %6
%9 = getelementptr inbounds i8, ptr %2, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !6
%11 = icmp eq i8 %10, 47
br i1 %11, label %12, label %67
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %2, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !6
%15 = icmp eq i8 %14, 47
br i1 %15, label %16, label %67
16: ; preds = %12
%17 = icmp eq i64 %3, 0
br i1 %17, label %28, label %18
18: ; preds = %16, %25
%19 = phi i64 [ %26, %25 ], [ 0, %16 ]
%20 = xor i64 %19, -1
%21 = getelementptr inbounds i8, ptr %2, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !6
%23 = tail call i64 @isalpha(i8 noundef signext %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = add nuw i64 %19, 1
%27 = icmp eq i64 %26, %3
br i1 %27, label %28, label %18, !llvm.loop !9
28: ; preds = %18, %25, %16
%29 = phi i64 [ 0, %16 ], [ %3, %25 ], [ %19, %18 ]
%30 = sub i64 0, %29
%31 = getelementptr inbounds i8, ptr %2, i64 %30
%32 = add i64 %29, %4
%33 = tail call i32 @sd_autolink_issafe(ptr noundef %31, i64 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %67, label %35
35: ; preds = %28
%36 = getelementptr inbounds i8, ptr %2, i64 3
%37 = add i64 %4, -3
%38 = load i32, ptr @SD_AUTOLINK_SHORT_DOMAINS, align 4, !tbaa !11
%39 = and i32 %38, %5
%40 = tail call i64 @check_domain(ptr noundef nonnull %36, i64 noundef %37, i32 noundef %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %67, label %42
42: ; preds = %35
%43 = add i64 %40, 3
%44 = icmp ult i64 %43, %4
br i1 %44, label %45, label %54
45: ; preds = %42, %51
%46 = phi i64 [ %52, %51 ], [ %43, %42 ]
%47 = getelementptr inbounds i8, ptr %2, i64 %46
%48 = load i8, ptr %47, align 1, !tbaa !6
%49 = tail call i32 @isspace(i8 noundef signext %48) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = add i64 %46, 1
%53 = icmp eq i64 %52, %4
br i1 %53, label %54, label %45, !llvm.loop !13
54: ; preds = %45, %51, %42
%55 = phi i64 [ %43, %42 ], [ %4, %51 ], [ %46, %45 ]
%56 = tail call i64 @autolink_delim(ptr noundef nonnull %2, i64 noundef %55, i64 noundef %3, i64 noundef %4) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %67, label %58
58: ; preds = %54
%59 = getelementptr i8, ptr %2, i64 %56
%60 = getelementptr i8, ptr %59, i64 -1
%61 = load i8, ptr %60, align 1, !tbaa !6
%62 = icmp eq i8 %61, 46
%63 = sext i1 %62 to i64
%64 = add i64 %56, %63
%65 = add i64 %64, %29
%66 = tail call i32 @bufput(ptr noundef %1, ptr noundef %31, i64 noundef %65) #2
store i64 %29, ptr %0, align 8, !tbaa !14
br label %67
67: ; preds = %54, %35, %28, %6, %8, %12, %58
%68 = phi i64 [ %64, %58 ], [ 0, %12 ], [ 0, %8 ], [ 0, %6 ], [ 0, %28 ], [ 0, %35 ], [ 0, %54 ]
ret i64 %68
}
declare i64 @isalpha(i8 noundef signext) local_unnamed_addr #1
declare i32 @sd_autolink_issafe(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @check_domain(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isspace(i8 noundef signext) local_unnamed_addr #1
declare i64 @autolink_delim(ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bufput(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
| redcarpet_ext_redcarpet_extr_autolink.c_sd_autolink__url |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_printf.c_dummy_putc.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_printf.c_dummy_putc.c"
target datalayout = "e-m:e-p270:32:32-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 @dummy_putc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dummy_putc(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = trunc i32 %0 to i8
tail call void %1(i8 noundef signext %3) #1
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_printf.c_dummy_putc.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_printf.c_dummy_putc.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 @dummy_putc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dummy_putc(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = trunc i32 %0 to i8
tail call void %1(i8 noundef signext %3) #1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| darwin-xnu_osfmk_kern_extr_printf.c_dummy_putc |
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_CounterModeConfig.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_CounterModeConfig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIM_CR1_DIR = dso_local local_unnamed_addr global i32 0, align 4
@TIM_CR1_CMS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @TIM_CounterModeConfig(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_TIM_LIST3_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_TIM_COUNTER_MODE(i64 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !5
%8 = load i32, ptr @TIM_CR1_DIR, align 4, !tbaa !10
%9 = load i32, ptr @TIM_CR1_CMS, align 4, !tbaa !10
%10 = or i32 %9, %8
%11 = xor i32 %10, -1
%12 = sext i32 %11 to i64
%13 = and i64 %7, %12
%14 = or i64 %13, %1
store i64 %14, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_TIM_LIST3_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_TIM_COUNTER_MODE(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_CounterModeConfig.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TIM_CounterModeConfig.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIM_CR1_DIR = common local_unnamed_addr global i32 0, align 4
@TIM_CR1_CMS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @TIM_CounterModeConfig(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_TIM_LIST3_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = tail call i32 @IS_TIM_COUNTER_MODE(i64 noundef %1) #2
%6 = tail call i32 @assert_param(i32 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !6
%8 = load i32, ptr @TIM_CR1_DIR, align 4, !tbaa !11
%9 = load i32, ptr @TIM_CR1_CMS, align 4, !tbaa !11
%10 = or i32 %9, %8
%11 = xor i32 %10, -1
%12 = sext i32 %11 to i64
%13 = and i64 %7, %12
%14 = or i64 %13, %1
store i64 %14, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_TIM_LIST3_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_TIM_COUNTER_MODE(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 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_tim.c_TIM_CounterModeConfig |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_audiotoolboxdec.c_ffat_compare_channel_descriptions.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_audiotoolboxdec.c_ffat_compare_channel_descriptions.c"
target datalayout = "e-m:e-p270:32:32-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 @ffat_compare_channel_descriptions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ffat_compare_channel_descriptions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @ffat_get_channel_id(i32 noundef %3) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = tail call i32 @ffat_get_channel_id(i32 noundef %5) #2
%7 = sub nsw i32 %4, %6
ret i32 %7
}
declare i32 @ffat_get_channel_id(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"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_audiotoolboxdec.c_ffat_compare_channel_descriptions.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_audiotoolboxdec.c_ffat_compare_channel_descriptions.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 @ffat_compare_channel_descriptions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ffat_compare_channel_descriptions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @ffat_get_channel_id(i32 noundef %3) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = tail call i32 @ffat_get_channel_id(i32 noundef %5) #2
%7 = sub nsw i32 %4, %6
ret i32 %7
}
declare i32 @ffat_get_channel_id(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"}
| FFmpeg_libavcodec_extr_audiotoolboxdec.c_ffat_compare_channel_descriptions |
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_encode_claim_fh.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_encode_claim_fh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NFS4_OPEN_CLAIM_FH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @encode_claim_fh], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @encode_claim_fh(ptr noundef %0) #0 {
%2 = tail call ptr @reserve_space(ptr noundef %0, i32 noundef 4) #2
%3 = load i32, ptr @NFS4_OPEN_CLAIM_FH, align 4, !tbaa !5
%4 = tail call i32 @cpu_to_be32(i32 noundef %3) #2
store i32 %4, ptr %2, align 4, !tbaa !5
ret void
}
declare ptr @reserve_space(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_encode_claim_fh.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_encode_claim_fh.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFS4_OPEN_CLAIM_FH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @encode_claim_fh], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @encode_claim_fh(ptr noundef %0) #0 {
%2 = tail call ptr @reserve_space(ptr noundef %0, i32 noundef 4) #2
%3 = load i32, ptr @NFS4_OPEN_CLAIM_FH, align 4, !tbaa !6
%4 = tail call i32 @cpu_to_be32(i32 noundef %3) #2
store i32 %4, ptr %2, align 4, !tbaa !6
ret void
}
declare ptr @reserve_space(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_nfs_extr_nfs4xdr.c_encode_claim_fh |
; ModuleID = 'AnghaBench/freebsd/tools/test/testfloat/sparc64/extr_fpu_util.c_syst_float32_to_float128.c'
source_filename = "AnghaBench/freebsd/tools/test/testfloat/sparc64/extr_fpu_util.c_syst_float32_to_float128.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@insn_float32_to_float128 = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @syst_float32_to_float128(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @__fpu_setreg(i32 noundef 0, i32 noundef %0) #2
%3 = tail call i32 @emul_trap(ptr noundef nonnull @insn_float32_to_float128, i32 noundef 15) #2
%4 = tail call i32 @__fpu_getreg128(i32 noundef 0) #2
ret i32 %4
}
declare i32 @__fpu_setreg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emul_trap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__fpu_getreg128(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/tools/test/testfloat/sparc64/extr_fpu_util.c_syst_float32_to_float128.c'
source_filename = "AnghaBench/freebsd/tools/test/testfloat/sparc64/extr_fpu_util.c_syst_float32_to_float128.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@insn_float32_to_float128 = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @syst_float32_to_float128(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @__fpu_setreg(i32 noundef 0, i32 noundef %0) #2
%3 = tail call i32 @emul_trap(ptr noundef nonnull @insn_float32_to_float128, i32 noundef 15) #2
%4 = tail call i32 @__fpu_getreg128(i32 noundef 0) #2
ret i32 %4
}
declare i32 @__fpu_setreg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emul_trap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__fpu_getreg128(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_tools_test_testfloat_sparc64_extr_fpu_util.c_syst_float32_to_float128 |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_matcher.c_dr_matcher_supp_flex_parser_vxlan_gpe.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_matcher.c_dr_matcher_supp_flex_parser_vxlan_gpe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dr_matcher_supp_flex_parser_vxlan_gpe], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @dr_matcher_supp_flex_parser_vxlan_gpe(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED, align 4, !tbaa !12
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"mlx5dr_domain", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_matcher.c_dr_matcher_supp_flex_parser_vxlan_gpe.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_matcher.c_dr_matcher_supp_flex_parser_vxlan_gpe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dr_matcher_supp_flex_parser_vxlan_gpe], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @dr_matcher_supp_flex_parser_vxlan_gpe(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED, align 4, !tbaa !13
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"mlx5dr_domain", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!10, !10, i64 0}
| linux_drivers_net_ethernet_mellanox_mlx5_core_steering_extr_dr_matcher.c_dr_matcher_supp_flex_parser_vxlan_gpe |
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_ipc.c_linux_msgrcv.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_ipc.c_linux_msgrcv.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.linux_msgrcv_args = type { i64, i32, i32, i32, i32 }
@msginfo = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @linux_msgrcv(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = icmp slt i64 %5, 0
%7 = load i64, ptr @msginfo, align 8
%8 = icmp sgt i64 %5, %7
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @EINVAL, align 4, !tbaa !11
br label %29
12: ; preds = %2
%13 = getelementptr inbounds %struct.linux_msgrcv_args, ptr %1, i64 0, i32 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = tail call ptr @PTRIN(i32 noundef %14) #3
%16 = getelementptr inbounds %struct.linux_msgrcv_args, ptr %1, i64 0, i32 3
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = getelementptr inbounds i8, ptr %15, i64 8
%19 = load i64, ptr %1, align 8, !tbaa !5
%20 = getelementptr inbounds %struct.linux_msgrcv_args, ptr %1, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = getelementptr inbounds %struct.linux_msgrcv_args, ptr %1, i64 0, i32 1
%23 = load i32, ptr %22, align 8, !tbaa !15
%24 = call i32 @kern_msgrcv(ptr noundef %0, i32 noundef %17, ptr noundef nonnull %18, i64 noundef %19, i32 noundef %21, i32 noundef %23, ptr noundef nonnull %3) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %12
%27 = load i64, ptr %3, align 8, !tbaa !16
store i64 %27, ptr %4, align 8, !tbaa !16
%28 = call i32 @copyout(ptr noundef nonnull %4, ptr noundef %15, i32 noundef 8) #3
br label %29
29: ; preds = %12, %26, %10
%30 = phi i32 [ %11, %10 ], [ %28, %26 ], [ %24, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PTRIN(i32 noundef) local_unnamed_addr #2
declare i32 @kern_msgrcv(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @copyout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"linux_msgrcv_args", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 20}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !10, i64 8}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_ipc.c_linux_msgrcv.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_ipc.c_linux_msgrcv.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 }
@msginfo = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @linux_msgrcv(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = icmp slt i64 %5, 0
%7 = load i64, ptr @msginfo, align 8
%8 = icmp sgt i64 %5, %7
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %29
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %1, i64 20
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = tail call ptr @PTRIN(i32 noundef %14) #3
%16 = getelementptr inbounds i8, ptr %1, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = getelementptr inbounds i8, ptr %15, i64 8
%19 = load i64, ptr %1, align 8, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 12
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = getelementptr inbounds i8, ptr %1, i64 8
%23 = load i32, ptr %22, align 8, !tbaa !16
%24 = call i32 @kern_msgrcv(ptr noundef %0, i32 noundef %17, ptr noundef nonnull %18, i64 noundef %19, i32 noundef %21, i32 noundef %23, ptr noundef nonnull %3) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %12
%27 = load i64, ptr %3, align 8, !tbaa !17
store i64 %27, ptr %4, align 8, !tbaa !17
%28 = call i32 @copyout(ptr noundef nonnull %4, ptr noundef %15, i32 noundef 8) #3
br label %29
29: ; preds = %12, %26, %10
%30 = phi i32 [ %11, %10 ], [ %28, %26 ], [ %24, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PTRIN(i32 noundef) local_unnamed_addr #2
declare i32 @kern_msgrcv(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @copyout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"linux_msgrcv_args", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 20}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !11, i64 12}
!16 = !{!7, !11, i64 8}
!17 = !{!8, !8, i64 0}
| freebsd_sys_compat_linux_extr_linux_ipc.c_linux_msgrcv |
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ctrls.c___v4l2_ctrl_s_ctrl_string.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ctrls.c___v4l2_ctrl_s_ctrl_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.v4l2_ctrl = type { i64, i64, %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { i32 }
@V4L2_CTRL_TYPE_STRING = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @__v4l2_ctrl_s_ctrl_string(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.v4l2_ctrl, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = tail call i32 @lockdep_assert_held(i32 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !15
%8 = load i64, ptr @V4L2_CTRL_TYPE_STRING, align 8, !tbaa !16
%9 = icmp ne i64 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @WARN_ON(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.v4l2_ctrl, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !17
%14 = getelementptr inbounds %struct.v4l2_ctrl, ptr %0, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !18
%16 = add nsw i64 %15, 1
%17 = tail call i32 @strscpy(i32 noundef %13, ptr noundef %1, i64 noundef %16) #2
%18 = tail call i32 @set_ctrl(ptr noundef null, ptr noundef nonnull %0, i32 noundef 0) #2
ret i32 %18
}
declare i32 @lockdep_assert_held(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @strscpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_ctrl(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, !12, i64 24}
!6 = !{!"v4l2_ctrl", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !11, i64 16}
!18 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ctrls.c___v4l2_ctrl_s_ctrl_string.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ctrls.c___v4l2_ctrl_s_ctrl_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V4L2_CTRL_TYPE_STRING = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @__v4l2_ctrl_s_ctrl_string(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = tail call i32 @lockdep_assert_held(i32 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !16
%8 = load i64, ptr @V4L2_CTRL_TYPE_STRING, align 8, !tbaa !17
%9 = icmp ne i64 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @WARN_ON(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !18
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !19
%16 = add nsw i64 %15, 1
%17 = tail call i32 @strscpy(i32 noundef %13, ptr noundef %1, i64 noundef %16) #2
%18 = tail call i32 @set_ctrl(ptr noundef null, ptr noundef nonnull %0, i32 noundef 0) #2
ret i32 %18
}
declare i32 @lockdep_assert_held(i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @strscpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_ctrl(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, !13, i64 24}
!7 = !{!"v4l2_ctrl", !8, i64 0, !8, i64 8, !11, i64 16, !13, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_3__", !12, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !12, i64 16}
!19 = !{!7, !8, i64 8}
| linux_drivers_media_v4l2-core_extr_v4l2-ctrls.c___v4l2_ctrl_s_ctrl_string |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/console/extr_video_console.c_gc_putc_getpars.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/console/extr_video_console.c_gc_putc_getpars.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ESask = dso_local local_unnamed_addr global i32 0, align 4
@gc_vt100state = dso_local local_unnamed_addr global i32 0, align 4
@ESnormal = dso_local local_unnamed_addr global i32 0, align 4
@gc_numpars = dso_local local_unnamed_addr global i32 0, align 4
@MAXPARS = dso_local local_unnamed_addr global i32 0, align 4
@gc_par = dso_local local_unnamed_addr global ptr null, align 8
@ESgotpars = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gc_putc_getpars], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gc_putc_getpars(i8 noundef zeroext %0) #0 {
%2 = zext i8 %0 to i32
switch i8 %0, label %14 [
i8 63, label %3
i8 91, label %5
i8 59, label %7
]
3: ; preds = %1
%4 = load i32, ptr @ESask, align 4, !tbaa !5
store i32 %4, ptr @gc_vt100state, align 4, !tbaa !5
br label %35
5: ; preds = %1
%6 = load i32, ptr @ESnormal, align 4, !tbaa !5
store i32 %6, ptr @gc_vt100state, align 4, !tbaa !5
br label %35
7: ; preds = %1
%8 = load i32, ptr @gc_numpars, align 4, !tbaa !5
%9 = load i32, ptr @MAXPARS, align 4, !tbaa !5
%10 = add nsw i32 %9, -1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %30
12: ; preds = %7
%13 = add nsw i32 %8, 1
store i32 %13, ptr @gc_numpars, align 4, !tbaa !5
br label %35
14: ; preds = %1
%15 = add i8 %0, -48
%16 = icmp ult i8 %15, 10
%17 = load i32, ptr @gc_numpars, align 4, !tbaa !5
br i1 %16, label %18, label %30
18: ; preds = %14
%19 = load ptr, ptr @gc_par, align 8, !tbaa !9
%20 = sext i32 %17 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !5
%23 = mul nsw i32 %22, 10
store i32 %23, ptr %21, align 4, !tbaa !5
%24 = add nsw i32 %2, -48
%25 = load i32, ptr @gc_numpars, align 4, !tbaa !5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %19, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !5
%29 = add nsw i32 %24, %28
store i32 %29, ptr %27, align 4, !tbaa !5
br label %35
30: ; preds = %7, %14
%31 = phi i32 [ %8, %7 ], [ %17, %14 ]
%32 = add nsw i32 %31, 1
store i32 %32, ptr @gc_numpars, align 4, !tbaa !5
%33 = load i32, ptr @ESgotpars, align 4, !tbaa !5
store i32 %33, ptr @gc_vt100state, align 4, !tbaa !5
%34 = tail call i32 @gc_putc_gotpars(i8 noundef zeroext %0) #2
br label %35
35: ; preds = %18, %30, %3, %5, %12
ret void
}
declare i32 @gc_putc_gotpars(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/console/extr_video_console.c_gc_putc_getpars.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/console/extr_video_console.c_gc_putc_getpars.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ESask = common local_unnamed_addr global i32 0, align 4
@gc_vt100state = common local_unnamed_addr global i32 0, align 4
@ESnormal = common local_unnamed_addr global i32 0, align 4
@gc_numpars = common local_unnamed_addr global i32 0, align 4
@MAXPARS = common local_unnamed_addr global i32 0, align 4
@gc_par = common local_unnamed_addr global ptr null, align 8
@ESgotpars = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gc_putc_getpars], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gc_putc_getpars(i8 noundef zeroext %0) #0 {
%2 = zext i8 %0 to i32
switch i8 %0, label %14 [
i8 63, label %3
i8 91, label %5
i8 59, label %7
]
3: ; preds = %1
%4 = load i32, ptr @ESask, align 4, !tbaa !6
store i32 %4, ptr @gc_vt100state, align 4, !tbaa !6
br label %35
5: ; preds = %1
%6 = load i32, ptr @ESnormal, align 4, !tbaa !6
store i32 %6, ptr @gc_vt100state, align 4, !tbaa !6
br label %35
7: ; preds = %1
%8 = load i32, ptr @gc_numpars, align 4, !tbaa !6
%9 = load i32, ptr @MAXPARS, align 4, !tbaa !6
%10 = add nsw i32 %9, -1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %30
12: ; preds = %7
%13 = add nsw i32 %8, 1
store i32 %13, ptr @gc_numpars, align 4, !tbaa !6
br label %35
14: ; preds = %1
%15 = add i8 %0, -48
%16 = icmp ult i8 %15, 10
%17 = load i32, ptr @gc_numpars, align 4, !tbaa !6
br i1 %16, label %18, label %30
18: ; preds = %14
%19 = load ptr, ptr @gc_par, align 8, !tbaa !10
%20 = sext i32 %17 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !6
%23 = mul nsw i32 %22, 10
store i32 %23, ptr %21, align 4, !tbaa !6
%24 = add nsw i32 %2, -48
%25 = load i32, ptr @gc_numpars, align 4, !tbaa !6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %19, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !6
%29 = add nsw i32 %24, %28
store i32 %29, ptr %27, align 4, !tbaa !6
br label %35
30: ; preds = %7, %14
%31 = phi i32 [ %8, %7 ], [ %17, %14 ]
%32 = add nsw i32 %31, 1
store i32 %32, ptr @gc_numpars, align 4, !tbaa !6
%33 = load i32, ptr @ESgotpars, align 4, !tbaa !6
store i32 %33, ptr @gc_vt100state, align 4, !tbaa !6
%34 = tail call i32 @gc_putc_gotpars(i8 noundef zeroext %0) #2
br label %35
35: ; preds = %18, %30, %3, %5, %12
ret void
}
declare i32 @gc_putc_gotpars(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| darwin-xnu_osfmk_console_extr_video_console.c_gc_putc_getpars |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_sarcl.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_sarcl.c"
target datalayout = "e-m:e-p270:32:32-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 [15 x i8] c"sar %%%s,%%cl\0A\00", align 1
@regname = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @emit_sarcl(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @regname, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = tail call i32 @assem_debug(ptr noundef nonnull @.str, i32 noundef %5) #2
%7 = tail call i32 @output_byte(i32 noundef 211) #2
%8 = tail call i32 @output_modrm(i32 noundef 3, i32 noundef %0, i32 noundef 7) #2
ret void
}
declare i32 @assem_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @output_byte(i32 noundef) local_unnamed_addr #1
declare i32 @output_modrm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_sarcl.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_x86.c_emit_sarcl.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 [15 x i8] c"sar %%%s,%%cl\0A\00", align 1
@regname = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @emit_sarcl(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @regname, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @assem_debug(ptr noundef nonnull @.str, i32 noundef %5) #2
%7 = tail call i32 @output_byte(i32 noundef 211) #2
%8 = tail call i32 @output_modrm(i32 noundef 3, i32 noundef %0, i32 noundef 7) #2
ret void
}
declare i32 @assem_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @output_byte(i32 noundef) local_unnamed_addr #1
declare i32 @output_modrm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| Provenance_Cores_Yabause_yabause_src_sh2_dynarec_extr_assem_x86.c_emit_sarcl |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.c_mlx5_cqwq_get_log_stride_size.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.c_mlx5_cqwq_get_log_stride_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @mlx5_cqwq_get_log_stride_size(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"mlx5_cqwq", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.c_mlx5_cqwq_get_log_stride_size.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.c_mlx5_cqwq_get_log_stride_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @mlx5_cqwq_get_log_stride_size(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"mlx5_cqwq", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_wq.c_mlx5_cqwq_get_log_stride_size |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-alias-warnings.c_match.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-alias-warnings.c_match.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tree_map = type { i32, i32, i32 }
@NO_INSERT = dso_local local_unnamed_addr global i32 0, align 4
@NULL_TREE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @match], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @match(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.tree_map, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.tree_map, ptr %3, i64 0, i32 2
store i32 %1, ptr %4, align 4, !tbaa !5
%5 = tail call i32 @htab_hash_pointer(i32 noundef %1) #3
%6 = getelementptr inbounds %struct.tree_map, ptr %3, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !10
%7 = load i32, ptr @NO_INSERT, align 4, !tbaa !11
%8 = call ptr @htab_find_slot(i32 noundef %0, ptr noundef nonnull %3, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = load ptr, ptr %8, align 8, !tbaa !12
br label %12
12: ; preds = %2, %10
%13 = phi ptr [ %11, %10 ], [ @NULL_TREE, %2 ]
%14 = load i32, ptr %13, align 4, !tbaa !11
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @htab_hash_pointer(i32 noundef) local_unnamed_addr #2
declare ptr @htab_find_slot(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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"tree_map", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-alias-warnings.c_match.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-alias-warnings.c_match.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tree_map = type { i32, i32, i32 }
@NO_INSERT = common local_unnamed_addr global i32 0, align 4
@NULL_TREE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @match], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @match(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.tree_map, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %1, ptr %4, align 4, !tbaa !6
%5 = tail call i32 @htab_hash_pointer(i32 noundef %1) #3
%6 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %5, ptr %6, align 4, !tbaa !11
%7 = load i32, ptr @NO_INSERT, align 4, !tbaa !12
%8 = call ptr @htab_find_slot(i32 noundef %0, ptr noundef nonnull %3, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = load ptr, ptr %8, align 8, !tbaa !13
br label %12
12: ; preds = %2, %10
%13 = phi ptr [ %11, %10 ], [ @NULL_TREE, %2 ]
%14 = load i32, ptr %13, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @htab_hash_pointer(i32 noundef) local_unnamed_addr #2
declare ptr @htab_find_slot(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 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"tree_map", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
| freebsd_contrib_gcc_extr_tree-ssa-alias-warnings.c_match |
; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process_test.c_child_sigkill.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process_test.c_child_sigkill.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIGKILL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local void @child_sigkill() local_unnamed_addr #0 {
%1 = tail call i32 (...) @getpid() #3
%2 = load i32, ptr @SIGKILL, align 4, !tbaa !5
%3 = tail call i32 @kill(i32 noundef %1, i32 noundef %2) #3
%4 = tail call i32 (...) @abort() #4
unreachable
}
declare i32 @kill(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getpid(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process_test.c_child_sigkill.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process_test.c_child_sigkill.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIGKILL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @child_sigkill() local_unnamed_addr #0 {
%1 = tail call i32 @getpid() #3
%2 = load i32, ptr @SIGKILL, align 4, !tbaa !6
%3 = tail call i32 @kill(i32 noundef %1, i32 noundef %2) #3
%4 = tail call i32 @abort() #4
unreachable
}
declare i32 @kill(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getpid(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_atf_atf-c_detail_extr_process_test.c_child_sigkill |
; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/pulse/extr_pulseaudio-wrapper.c_pulseaudio_unref.c'
source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/pulse/extr_pulseaudio-wrapper.c_pulseaudio_unref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@pulseaudio_mutex = dso_local global i32 0, align 4
@pulseaudio_refs = dso_local local_unnamed_addr global i64 0, align 8
@pulseaudio_context = dso_local local_unnamed_addr global ptr null, align 8
@pulseaudio_mainloop = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @pulseaudio_unref() local_unnamed_addr #0 {
%1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @pulseaudio_mutex) #2
%2 = load i64, ptr @pulseaudio_refs, align 8, !tbaa !5
%3 = add nsw i64 %2, -1
store i64 %3, ptr @pulseaudio_refs, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %0
%6 = tail call i32 (...) @pulseaudio_lock() #2
%7 = load ptr, ptr @pulseaudio_context, align 8, !tbaa !9
%8 = icmp eq ptr %7, null
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = tail call i32 @pa_context_disconnect(ptr noundef nonnull %7) #2
%11 = load ptr, ptr @pulseaudio_context, align 8, !tbaa !9
%12 = tail call i32 @pa_context_unref(ptr noundef %11) #2
store ptr null, ptr @pulseaudio_context, align 8, !tbaa !9
br label %13
13: ; preds = %9, %5
%14 = tail call i32 (...) @pulseaudio_unlock() #2
%15 = load ptr, ptr @pulseaudio_mainloop, align 8, !tbaa !9
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = tail call i32 @pa_threaded_mainloop_stop(ptr noundef nonnull %15) #2
%19 = load ptr, ptr @pulseaudio_mainloop, align 8, !tbaa !9
%20 = tail call i32 @pa_threaded_mainloop_free(ptr noundef %19) #2
store ptr null, ptr @pulseaudio_mainloop, align 8, !tbaa !9
br label %21
21: ; preds = %13, %17, %0
%22 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @pulseaudio_mutex) #2
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pulseaudio_lock(...) local_unnamed_addr #1
declare i32 @pa_context_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @pa_context_unref(ptr noundef) local_unnamed_addr #1
declare i32 @pulseaudio_unlock(...) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_stop(ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_free(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/pulse/extr_pulseaudio-wrapper.c_pulseaudio_unref.c'
source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/pulse/extr_pulseaudio-wrapper.c_pulseaudio_unref.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pulseaudio_mutex = common global i32 0, align 4
@pulseaudio_refs = common local_unnamed_addr global i64 0, align 8
@pulseaudio_context = common local_unnamed_addr global ptr null, align 8
@pulseaudio_mainloop = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @pulseaudio_unref() local_unnamed_addr #0 {
%1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @pulseaudio_mutex) #2
%2 = load i64, ptr @pulseaudio_refs, align 8, !tbaa !6
%3 = add nsw i64 %2, -1
store i64 %3, ptr @pulseaudio_refs, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %0
%6 = tail call i32 @pulseaudio_lock() #2
%7 = load ptr, ptr @pulseaudio_context, align 8, !tbaa !10
%8 = icmp eq ptr %7, null
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = tail call i32 @pa_context_disconnect(ptr noundef nonnull %7) #2
%11 = load ptr, ptr @pulseaudio_context, align 8, !tbaa !10
%12 = tail call i32 @pa_context_unref(ptr noundef %11) #2
store ptr null, ptr @pulseaudio_context, align 8, !tbaa !10
br label %13
13: ; preds = %9, %5
%14 = tail call i32 @pulseaudio_unlock() #2
%15 = load ptr, ptr @pulseaudio_mainloop, align 8, !tbaa !10
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = tail call i32 @pa_threaded_mainloop_stop(ptr noundef nonnull %15) #2
%19 = load ptr, ptr @pulseaudio_mainloop, align 8, !tbaa !10
%20 = tail call i32 @pa_threaded_mainloop_free(ptr noundef %19) #2
store ptr null, ptr @pulseaudio_mainloop, align 8, !tbaa !10
br label %21
21: ; preds = %13, %17, %0
%22 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @pulseaudio_mutex) #2
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pulseaudio_lock(...) local_unnamed_addr #1
declare i32 @pa_context_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @pa_context_unref(ptr noundef) local_unnamed_addr #1
declare i32 @pulseaudio_unlock(...) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_stop(ptr noundef) local_unnamed_addr #1
declare i32 @pa_threaded_mainloop_free(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| obs-studio_libobs_audio-monitoring_pulse_extr_pulseaudio-wrapper.c_pulseaudio_unref |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_sched.c_t4_release_cl_rl.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_sched.c_t4_release_cl_rl.c"
target datalayout = "e-m:e-p270:32:32-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.adapter = type { i32, ptr, ptr, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32 }
%struct.tx_cl_rl_params = type { i64 }
; Function Attrs: nounwind uwtable
define dso_local void @t4_release_cl_rl(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %1, -1
br i1 %4, label %5, label %10
5: ; preds = %3
%6 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 3
%7 = load i32, ptr %6, align 8, !tbaa !5
%8 = icmp sgt i32 %7, %1
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %3
%11 = phi i32 [ 0, %3 ], [ %9, %5 ]
%12 = tail call i32 @MPASS(i32 noundef %11) #2
%13 = icmp sgt i32 %2, -1
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 2
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = icmp sgt i32 %17, %2
%19 = zext i1 %18 to i32
br label %20
20: ; preds = %14, %10
%21 = phi i32 [ 0, %10 ], [ %19, %14 ]
%22 = tail call i32 @MPASS(i32 noundef %21) #2
%23 = tail call i32 @mtx_lock(ptr noundef %0) #2
%24 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !15
%26 = sext i32 %1 to i64
%27 = getelementptr inbounds ptr, ptr %25, i64 %26
%28 = load ptr, ptr %27, align 8, !tbaa !16
%29 = load ptr, ptr %28, align 8, !tbaa !17
%30 = load ptr, ptr %29, align 8, !tbaa !19
%31 = sext i32 %2 to i64
%32 = getelementptr inbounds %struct.tx_cl_rl_params, ptr %30, i64 %31
%33 = load i64, ptr %32, align 8, !tbaa !21
%34 = icmp sgt i64 %33, 0
%35 = zext i1 %34 to i32
%36 = tail call i32 @MPASS(i32 noundef %35) #2
%37 = load i64, ptr %32, align 8, !tbaa !21
%38 = add nsw i64 %37, -1
store i64 %38, ptr %32, align 8, !tbaa !21
%39 = tail call i32 @mtx_unlock(ptr noundef %0) #2
ret void
}
declare i32 @MPASS(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"adapter", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_7__", !10, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_6__", !10, i64 0}
!21 = !{!22, !23, i64 0}
!22 = !{!"tx_cl_rl_params", !23, i64 0}
!23 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_sched.c_t4_release_cl_rl.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_sched.c_t4_release_cl_rl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tx_cl_rl_params = type { i64 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @t4_release_cl_rl(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %1, -1
br i1 %4, label %5, label %10
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load i32, ptr %6, align 8, !tbaa !6
%8 = icmp sgt i32 %7, %1
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %3
%11 = phi i32 [ 0, %3 ], [ %9, %5 ]
%12 = tail call i32 @MPASS(i32 noundef %11) #2
%13 = icmp sgt i32 %2, -1
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = icmp sgt i32 %17, %2
%19 = zext i1 %18 to i32
br label %20
20: ; preds = %14, %10
%21 = phi i32 [ 0, %10 ], [ %19, %14 ]
%22 = tail call i32 @MPASS(i32 noundef %21) #2
%23 = tail call i32 @mtx_lock(ptr noundef %0) #2
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !16
%26 = sext i32 %1 to i64
%27 = getelementptr inbounds ptr, ptr %25, i64 %26
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = load ptr, ptr %28, align 8, !tbaa !18
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = sext i32 %2 to i64
%32 = getelementptr inbounds %struct.tx_cl_rl_params, ptr %30, i64 %31
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = icmp sgt i64 %33, 0
%35 = zext i1 %34 to i32
%36 = tail call i32 @MPASS(i32 noundef %35) #2
%37 = load i64, ptr %32, align 8, !tbaa !22
%38 = add nsw i64 %37, -1
store i64 %38, ptr %32, align 8, !tbaa !22
%39 = tail call i32 @mtx_unlock(ptr noundef %0) #2
ret void
}
declare i32 @MPASS(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"adapter", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_8__", !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_5__", !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_7__", !11, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_6__", !11, i64 0}
!22 = !{!23, !24, i64 0}
!23 = !{!"tx_cl_rl_params", !24, i64 0}
!24 = !{!"long", !9, i64 0}
| freebsd_sys_dev_cxgbe_extr_t4_sched.c_t4_release_cl_rl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.