IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/sound/soc/kirkwood/extr_kirkwood-dma.c_kirkwood_dma_pointer.c' source_filename = "AnghaBench/linux/sound/soc/kirkwood/extr_kirkwood-dma.c_kirkwood_dma_pointer.c" target datalayout = "e-m:e-p270:32:32-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.snd_pcm_substream = type { i64, i32 } @SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i64 0, align 8 @KIRKWOOD_PLAY_BYTE_COUNT = dso_local local_unnamed_addr global i64 0, align 8 @KIRKWOOD_REC_BYTE_COUNT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @kirkwood_dma_pointer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @kirkwood_dma_pointer(ptr noundef %0) #0 { %2 = tail call ptr @kirkwood_priv(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = load i64, ptr %2, align 8, !tbaa !13 %9 = load i64, ptr @KIRKWOOD_PLAY_BYTE_COUNT, align 8 %10 = load i64, ptr @KIRKWOOD_REC_BYTE_COUNT, align 8 %11 = select i1 %5, i64 %9, i64 %10 %12 = add nsw i64 %11, %8 %13 = tail call i32 @readl(i64 noundef %12) #2 %14 = tail call i32 @bytes_to_frames(i32 noundef %7, i32 noundef %13) #2 ret i32 %14 } declare ptr @kirkwood_priv(ptr noundef) local_unnamed_addr #1 declare i32 @bytes_to_frames(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_pcm_substream", !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} !13 = !{!14, !7, i64 0} !14 = !{!"kirkwood_dma_data", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/kirkwood/extr_kirkwood-dma.c_kirkwood_dma_pointer.c' source_filename = "AnghaBench/linux/sound/soc/kirkwood/extr_kirkwood-dma.c_kirkwood_dma_pointer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i64 0, align 8 @KIRKWOOD_PLAY_BYTE_COUNT = common local_unnamed_addr global i64 0, align 8 @KIRKWOOD_REC_BYTE_COUNT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @kirkwood_dma_pointer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @kirkwood_dma_pointer(ptr noundef %0) #0 { %2 = tail call ptr @kirkwood_priv(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = load i64, ptr %2, align 8, !tbaa !14 %9 = load i64, ptr @KIRKWOOD_PLAY_BYTE_COUNT, align 8 %10 = load i64, ptr @KIRKWOOD_REC_BYTE_COUNT, align 8 %11 = select i1 %5, i64 %9, i64 %10 %12 = add nsw i64 %11, %8 %13 = tail call i32 @readl(i64 noundef %12) #2 %14 = tail call i32 @bytes_to_frames(i32 noundef %7, i32 noundef %13) #2 ret i32 %14 } declare ptr @kirkwood_priv(ptr noundef) local_unnamed_addr #1 declare i32 @bytes_to_frames(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_pcm_substream", !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} !14 = !{!15, !8, i64 0} !15 = !{!"kirkwood_dma_data", !8, i64 0}
linux_sound_soc_kirkwood_extr_kirkwood-dma.c_kirkwood_dma_pointer
; ModuleID = 'AnghaBench/linux/tools/lib/bpf/extr_btf.h_btf_is_restrict.c' source_filename = "AnghaBench/linux/tools/lib/bpf/extr_btf.h_btf_is_restrict.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BTF_KIND_RESTRICT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @btf_is_restrict], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @btf_is_restrict(ptr noundef %0) #0 { %2 = tail call i64 @btf_kind(ptr noundef %0) #2 %3 = load i64, ptr @BTF_KIND_RESTRICT, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @btf_kind(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/lib/bpf/extr_btf.h_btf_is_restrict.c' source_filename = "AnghaBench/linux/tools/lib/bpf/extr_btf.h_btf_is_restrict.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTF_KIND_RESTRICT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @btf_is_restrict], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @btf_is_restrict(ptr noundef %0) #0 { %2 = tail call i64 @btf_kind(ptr noundef %0) #2 %3 = load i64, ptr @BTF_KIND_RESTRICT, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @btf_kind(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_lib_bpf_extr_btf.h_btf_is_restrict
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_mq_prep_fn.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_mq_prep_fn.c" target datalayout = "e-m:e-p270:32:32-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.request = type { i32, ptr } %struct.scsi_cmnd = type { ptr, %struct.TYPE_10__, i32, i32, ptr } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { ptr } %struct.TYPE_12__ = type { %struct.TYPE_11__ } %struct.TYPE_11__ = type { ptr } @SCSI_PROT_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scsi_mq_prep_fn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @scsi_mq_prep_fn(ptr noundef %0) #0 { %2 = tail call ptr @blk_mq_rq_to_pdu(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.request, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 @scsi_init_command(ptr noundef nonnull %5, ptr noundef %2) #2 %8 = getelementptr inbounds %struct.scsi_cmnd, ptr %2, i64 0, i32 4 store ptr %0, ptr %8, align 8, !tbaa !15 %9 = load i32, ptr %0, align 8, !tbaa !19 %10 = getelementptr inbounds %struct.scsi_cmnd, ptr %2, i64 0, i32 3 store i32 %9, ptr %10, align 4, !tbaa !20 %11 = load i32, ptr @SCSI_PROT_NORMAL, align 4, !tbaa !21 %12 = getelementptr inbounds %struct.scsi_cmnd, ptr %2, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !22 %13 = getelementptr inbounds i8, ptr %2, i64 32 %14 = load ptr, ptr %6, align 8, !tbaa !23 %15 = load i32, ptr %14, align 4, !tbaa !25 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds %struct.scsi_cmnd, ptr %2, i64 0, i32 1 store ptr %17, ptr %18, align 8, !tbaa !27 %19 = tail call i64 @scsi_host_get_prot(ptr noundef nonnull %6) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %1 %22 = load ptr, ptr %2, align 8, !tbaa !28 %23 = tail call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 4) #2 %24 = load ptr, ptr %2, align 8, !tbaa !28 %25 = getelementptr inbounds %struct.TYPE_12__, ptr %24, i64 1 store ptr %25, ptr %24, align 8, !tbaa !29 br label %26 26: ; preds = %21, %1 %27 = tail call i32 @blk_mq_start_request(ptr noundef nonnull %0) #2 %28 = tail call i32 @scsi_setup_cmnd(ptr noundef nonnull %5, ptr noundef nonnull %0) #2 ret i32 %28 } declare ptr @blk_mq_rq_to_pdu(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_init_command(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @scsi_host_get_prot(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_mq_start_request(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_setup_cmnd(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"request", !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, !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"scsi_device", !10, i64 0} !15 = !{!16, !10, i64 24} !16 = !{!"scsi_cmnd", !10, i64 0, !17, i64 8, !7, i64 16, !7, i64 20, !10, i64 24} !17 = !{!"TYPE_10__", !18, i64 0} !18 = !{!"TYPE_9__", !10, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!16, !7, i64 20} !21 = !{!7, !7, i64 0} !22 = !{!16, !7, i64 16} !23 = !{!24, !10, i64 0} !24 = !{!"Scsi_Host", !10, i64 0} !25 = !{!26, !7, i64 0} !26 = !{!"TYPE_8__", !7, i64 0} !27 = !{!16, !10, i64 8} !28 = !{!16, !10, i64 0} !29 = !{!30, !10, i64 0} !30 = !{!"TYPE_12__", !31, i64 0} !31 = !{!"TYPE_11__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_mq_prep_fn.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_mq_prep_fn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCSI_PROT_NORMAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scsi_mq_prep_fn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @scsi_mq_prep_fn(ptr noundef %0) #0 { %2 = tail call ptr @blk_mq_rq_to_pdu(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = tail call i32 @scsi_init_command(ptr noundef nonnull %5, ptr noundef %2) #2 %8 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %0, ptr %8, align 8, !tbaa !16 %9 = load i32, ptr %0, align 8, !tbaa !20 %10 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %9, ptr %10, align 4, !tbaa !21 %11 = load i32, ptr @SCSI_PROT_NORMAL, align 4, !tbaa !22 %12 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %11, ptr %12, align 8, !tbaa !23 %13 = getelementptr inbounds i8, ptr %2, i64 32 %14 = load ptr, ptr %6, align 8, !tbaa !24 %15 = load i32, ptr %14, align 4, !tbaa !26 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %17, ptr %18, align 8, !tbaa !28 %19 = tail call i64 @scsi_host_get_prot(ptr noundef nonnull %6) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %1 %22 = load ptr, ptr %2, align 8, !tbaa !29 %23 = tail call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 4) #2 %24 = load ptr, ptr %2, align 8, !tbaa !29 %25 = getelementptr inbounds i8, ptr %24, i64 8 store ptr %25, ptr %24, align 8, !tbaa !30 br label %26 26: ; preds = %21, %1 %27 = tail call i32 @blk_mq_start_request(ptr noundef nonnull %0) #2 %28 = tail call i32 @scsi_setup_cmnd(ptr noundef nonnull %5, ptr noundef nonnull %0) #2 ret i32 %28 } declare ptr @blk_mq_rq_to_pdu(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_init_command(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @scsi_host_get_prot(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_mq_start_request(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_setup_cmnd(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"request", !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, !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"scsi_device", !11, i64 0} !16 = !{!17, !11, i64 24} !17 = !{!"scsi_cmnd", !11, i64 0, !18, i64 8, !8, i64 16, !8, i64 20, !11, i64 24} !18 = !{!"TYPE_10__", !19, i64 0} !19 = !{!"TYPE_9__", !11, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!17, !8, i64 20} !22 = !{!8, !8, i64 0} !23 = !{!17, !8, i64 16} !24 = !{!25, !11, i64 0} !25 = !{!"Scsi_Host", !11, i64 0} !26 = !{!27, !8, i64 0} !27 = !{!"TYPE_8__", !8, i64 0} !28 = !{!17, !11, i64 8} !29 = !{!17, !11, i64 0} !30 = !{!31, !11, i64 0} !31 = !{!"TYPE_12__", !32, i64 0} !32 = !{!"TYPE_11__", !11, i64 0}
linux_drivers_scsi_extr_scsi_lib.c_scsi_mq_prep_fn
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_cls.c_mvpp2_cls_flow_lkp_init.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_cls.c_mvpp2_cls_flow_lkp_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.mvpp2_cls_lookup_entry = type { i32, i32, i64 } @MVPP2_CLS_LKP_TBL_LOOKUP_EN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mvpp2_cls_flow_lkp_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mvpp2_cls_flow_lkp_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.mvpp2_cls_lookup_entry, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.mvpp2_cls_lookup_entry, ptr %3, i64 0, i32 2 store i64 0, ptr %4, align 8, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !11 %6 = getelementptr inbounds %struct.mvpp2_cls_lookup_entry, ptr %3, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !13 %7 = tail call i32 @MVPP2_CLS_FLT_FIRST(i32 noundef %5) #3 %8 = tail call i32 @MVPP2_CLS_LKP_FLOW_PTR(i32 noundef %7) #3 %9 = load i32, ptr @MVPP2_CLS_LKP_TBL_LOOKUP_EN_MASK, align 4, !tbaa !14 %10 = or i32 %9, %8 store i32 %10, ptr %3, align 8, !tbaa !15 %11 = call i32 @mvpp2_cls_lookup_write(ptr noundef %0, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MVPP2_CLS_LKP_FLOW_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @MVPP2_CLS_FLT_FIRST(i32 noundef) local_unnamed_addr #2 declare i32 @mvpp2_cls_lookup_write(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"mvpp2_cls_lookup_entry", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"mvpp2_cls_flow", !7, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_cls.c_mvpp2_cls_flow_lkp_init.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_cls.c_mvpp2_cls_flow_lkp_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mvpp2_cls_lookup_entry = type { i32, i32, i64 } @MVPP2_CLS_LKP_TBL_LOOKUP_EN_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mvpp2_cls_flow_lkp_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mvpp2_cls_flow_lkp_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.mvpp2_cls_lookup_entry, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %3, i64 8 store i64 0, ptr %4, align 8, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !12 %6 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %5, ptr %6, align 4, !tbaa !14 %7 = tail call i32 @MVPP2_CLS_FLT_FIRST(i32 noundef %5) #3 %8 = tail call i32 @MVPP2_CLS_LKP_FLOW_PTR(i32 noundef %7) #3 %9 = load i32, ptr @MVPP2_CLS_LKP_TBL_LOOKUP_EN_MASK, align 4, !tbaa !15 %10 = or i32 %9, %8 store i32 %10, ptr %3, align 8, !tbaa !16 %11 = call i32 @mvpp2_cls_lookup_write(ptr noundef %0, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MVPP2_CLS_LKP_FLOW_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @MVPP2_CLS_FLT_FIRST(i32 noundef) local_unnamed_addr #2 declare i32 @mvpp2_cls_lookup_write(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"mvpp2_cls_lookup_entry", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"mvpp2_cls_flow", !8, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_marvell_mvpp2_extr_mvpp2_cls.c_mvpp2_cls_flow_lkp_init
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_tcp_ulp.c_tcp_set_ulp.c' source_filename = "AnghaBench/linux/net/ipv4/extr_tcp_ulp.c_tcp_set_ulp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tcp_set_ulp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @sock_owned_by_me(ptr noundef %0) #2 %4 = tail call ptr @__tcp_ulp_find_autoload(ptr noundef %1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOENT, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 @__tcp_set_ulp(ptr noundef %0, ptr noundef nonnull %4) #2 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %12 } declare i32 @sock_owned_by_me(ptr noundef) local_unnamed_addr #1 declare ptr @__tcp_ulp_find_autoload(ptr noundef) local_unnamed_addr #1 declare i32 @__tcp_set_ulp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_tcp_ulp.c_tcp_set_ulp.c' source_filename = "AnghaBench/linux/net/ipv4/extr_tcp_ulp.c_tcp_set_ulp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tcp_set_ulp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @sock_owned_by_me(ptr noundef %0) #2 %4 = tail call ptr @__tcp_ulp_find_autoload(ptr noundef %1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOENT, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 @__tcp_set_ulp(ptr noundef %0, ptr noundef nonnull %4) #2 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %12 } declare i32 @sock_owned_by_me(ptr noundef) local_unnamed_addr #1 declare ptr @__tcp_ulp_find_autoload(ptr noundef) local_unnamed_addr #1 declare i32 @__tcp_set_ulp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_ipv4_extr_tcp_ulp.c_tcp_set_ulp
; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_vm.c_envadjust.c' source_filename = "AnghaBench/h2o/deps/mruby/src/extr_vm.c_envadjust.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, ptr } %struct.TYPE_7__ = type { ptr, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @envadjust], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @envadjust(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = icmp eq ptr %2, %1 br i1 %8, label %77, label %9 9: ; preds = %4 %10 = load ptr, ptr %5, align 8, !tbaa !12 %11 = icmp ugt ptr %7, %10 br i1 %11, label %77, label %12 12: ; preds = %9 %13 = getelementptr inbounds i32, ptr %1, i64 %3 %14 = ptrtoint ptr %1 to i64 br label %15 15: ; preds = %12, %68 %16 = phi ptr [ %7, %12 ], [ %73, %68 ] %17 = getelementptr inbounds %struct.TYPE_7__, ptr %16, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = icmp eq ptr %18, null br i1 %19, label %36, label %20 20: ; preds = %15 %21 = tail call i64 @MRB_ENV_STACK_SHARED_P(ptr noundef nonnull %18) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %36, label %23 23: ; preds = %20 %24 = load ptr, ptr %18, align 8, !tbaa !16 %25 = icmp ne ptr %24, null %26 = icmp uge ptr %24, %1 %27 = and i1 %25, %26 %28 = icmp ult ptr %24, %13 %29 = select i1 %27, i1 %28, i1 false br i1 %29, label %30, label %36 30: ; preds = %23 %31 = ptrtoint ptr %24 to i64 %32 = sub i64 %31, %14 %33 = shl i64 %32, 30 %34 = ashr i64 %33, 32 %35 = getelementptr inbounds i32, ptr %2, i64 %34 store ptr %35, ptr %18, align 8, !tbaa !16 br label %36 36: ; preds = %30, %23, %20, %15 %37 = getelementptr inbounds %struct.TYPE_7__, ptr %16, i64 0, i32 1 %38 = load i64, ptr %37, align 8, !tbaa !18 %39 = icmp eq i64 %38, 0 br i1 %39, label %68, label %40 40: ; preds = %36 %41 = tail call i64 @MRB_PROC_ENV_P(i64 noundef %38) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %68, label %43 43: ; preds = %40 %44 = load ptr, ptr %17, align 8, !tbaa !13 %45 = load i64, ptr %37, align 8, !tbaa !18 %46 = tail call ptr @MRB_PROC_ENV(i64 noundef %45) #2 %47 = icmp eq ptr %44, %46 br i1 %47, label %68, label %48 48: ; preds = %43 %49 = load i64, ptr %37, align 8, !tbaa !18 %50 = tail call ptr @MRB_PROC_ENV(i64 noundef %49) #2 %51 = icmp eq ptr %50, null br i1 %51, label %68, label %52 52: ; preds = %48 %53 = tail call i64 @MRB_ENV_STACK_SHARED_P(ptr noundef nonnull %50) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %68, label %55 55: ; preds = %52 %56 = load ptr, ptr %50, align 8, !tbaa !16 %57 = icmp ne ptr %56, null %58 = icmp uge ptr %56, %1 %59 = and i1 %57, %58 %60 = icmp ult ptr %56, %13 %61 = select i1 %59, i1 %60, i1 false br i1 %61, label %62, label %68 62: ; preds = %55 %63 = ptrtoint ptr %56 to i64 %64 = sub i64 %63, %14 %65 = shl i64 %64, 30 %66 = ashr i64 %65, 32 %67 = getelementptr inbounds i32, ptr %2, i64 %66 store ptr %67, ptr %50, align 8, !tbaa !16 br label %68 68: ; preds = %48, %52, %55, %62, %43, %40, %36 %69 = load ptr, ptr %16, align 8, !tbaa !19 %70 = ptrtoint ptr %69 to i64 %71 = sub i64 %70, %14 %72 = getelementptr inbounds i8, ptr %2, i64 %71 store ptr %72, ptr %16, align 8, !tbaa !19 %73 = getelementptr inbounds %struct.TYPE_7__, ptr %16, i64 1 %74 = load ptr, ptr %0, align 8, !tbaa !5 %75 = load ptr, ptr %74, align 8, !tbaa !12 %76 = icmp ugt ptr %73, %75 br i1 %76, label %77, label %15, !llvm.loop !20 77: ; preds = %68, %9, %4 ret void } declare i64 @MRB_ENV_STACK_SHARED_P(ptr noundef) local_unnamed_addr #1 declare i64 @MRB_PROC_ENV_P(i64 noundef) local_unnamed_addr #1 declare ptr @MRB_PROC_ENV(i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = !{!14, !7, i64 16} !14 = !{!"TYPE_7__", !7, i64 0, !15, i64 8, !7, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"REnv", !7, i64 0} !18 = !{!14, !15, i64 8} !19 = !{!14, !7, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_vm.c_envadjust.c' source_filename = "AnghaBench/h2o/deps/mruby/src/extr_vm.c_envadjust.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 @envadjust], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @envadjust(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = icmp eq ptr %2, %1 br i1 %8, label %77, label %9 9: ; preds = %4 %10 = load ptr, ptr %5, align 8, !tbaa !13 %11 = icmp ugt ptr %7, %10 br i1 %11, label %77, label %12 12: ; preds = %9 %13 = getelementptr inbounds i32, ptr %1, i64 %3 %14 = ptrtoint ptr %1 to i64 br label %15 15: ; preds = %12, %68 %16 = phi ptr [ %7, %12 ], [ %73, %68 ] %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = icmp eq ptr %18, null br i1 %19, label %36, label %20 20: ; preds = %15 %21 = tail call i64 @MRB_ENV_STACK_SHARED_P(ptr noundef nonnull %18) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %36, label %23 23: ; preds = %20 %24 = load ptr, ptr %18, align 8, !tbaa !17 %25 = icmp ne ptr %24, null %26 = icmp uge ptr %24, %1 %27 = and i1 %25, %26 %28 = icmp ult ptr %24, %13 %29 = select i1 %27, i1 %28, i1 false br i1 %29, label %30, label %36 30: ; preds = %23 %31 = ptrtoint ptr %24 to i64 %32 = sub i64 %31, %14 %33 = shl i64 %32, 30 %34 = ashr i64 %33, 32 %35 = getelementptr inbounds i32, ptr %2, i64 %34 store ptr %35, ptr %18, align 8, !tbaa !17 br label %36 36: ; preds = %30, %23, %20, %15 %37 = getelementptr inbounds i8, ptr %16, i64 8 %38 = load i64, ptr %37, align 8, !tbaa !19 %39 = icmp eq i64 %38, 0 br i1 %39, label %68, label %40 40: ; preds = %36 %41 = tail call i64 @MRB_PROC_ENV_P(i64 noundef %38) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %68, label %43 43: ; preds = %40 %44 = load ptr, ptr %17, align 8, !tbaa !14 %45 = load i64, ptr %37, align 8, !tbaa !19 %46 = tail call ptr @MRB_PROC_ENV(i64 noundef %45) #2 %47 = icmp eq ptr %44, %46 br i1 %47, label %68, label %48 48: ; preds = %43 %49 = load i64, ptr %37, align 8, !tbaa !19 %50 = tail call ptr @MRB_PROC_ENV(i64 noundef %49) #2 %51 = icmp eq ptr %50, null br i1 %51, label %68, label %52 52: ; preds = %48 %53 = tail call i64 @MRB_ENV_STACK_SHARED_P(ptr noundef nonnull %50) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %68, label %55 55: ; preds = %52 %56 = load ptr, ptr %50, align 8, !tbaa !17 %57 = icmp ne ptr %56, null %58 = icmp uge ptr %56, %1 %59 = and i1 %57, %58 %60 = icmp ult ptr %56, %13 %61 = select i1 %59, i1 %60, i1 false br i1 %61, label %62, label %68 62: ; preds = %55 %63 = ptrtoint ptr %56 to i64 %64 = sub i64 %63, %14 %65 = shl i64 %64, 30 %66 = ashr i64 %65, 32 %67 = getelementptr inbounds i32, ptr %2, i64 %66 store ptr %67, ptr %50, align 8, !tbaa !17 br label %68 68: ; preds = %48, %52, %55, %62, %43, %40, %36 %69 = load ptr, ptr %16, align 8, !tbaa !20 %70 = ptrtoint ptr %69 to i64 %71 = sub i64 %70, %14 %72 = getelementptr inbounds i8, ptr %2, i64 %71 store ptr %72, ptr %16, align 8, !tbaa !20 %73 = getelementptr inbounds i8, ptr %16, i64 24 %74 = load ptr, ptr %0, align 8, !tbaa !6 %75 = load ptr, ptr %74, align 8, !tbaa !13 %76 = icmp ugt ptr %73, %75 br i1 %76, label %77, label %15, !llvm.loop !21 77: ; preds = %68, %9, %4 ret void } declare i64 @MRB_ENV_STACK_SHARED_P(ptr noundef) local_unnamed_addr #1 declare i64 @MRB_PROC_ENV_P(i64 noundef) local_unnamed_addr #1 declare ptr @MRB_PROC_ENV(i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_5__", !8, i64 0, !8, i64 8} !13 = !{!12, !8, i64 0} !14 = !{!15, !8, i64 16} !15 = !{!"TYPE_7__", !8, i64 0, !16, i64 8, !8, i64 16} !16 = !{!"long", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"REnv", !8, i64 0} !19 = !{!15, !16, i64 8} !20 = !{!15, !8, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
h2o_deps_mruby_src_extr_vm.c_envadjust
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_busdma_machdep.c__bus_dmamap_count_pages.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_busdma_machdep.c__bus_dmamap_count_pages.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, i32, i32 } @KTR_BUSDMA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"lowaddr= %d, boundary= %d, alignment= %d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"map= %p, pagesneeded= %d\00", align 1 @kernel_pmap = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [24 x i8] c"pmap is not kernel pmap\00", align 1 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_MASK = dso_local local_unnamed_addr global i64 0, align 8 @BUS_DMA_COULD_BOUNCE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"pagesneeded= %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_bus_dmamap_count_pages], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_bus_dmamap_count_pages(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 %5) #0 { %7 = load i64, ptr %1, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %55 9: ; preds = %6 %10 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !10 %11 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = tail call i32 @CTR3(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, i32 noundef %16) #2 %18 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !10 %19 = load i64, ptr %1, align 8, !tbaa !5 %20 = tail call i32 @CTR2(i32 noundef %18, ptr noundef nonnull @.str.1, ptr noundef nonnull %1, i64 noundef %19) #2 %21 = ptrtoint ptr %3 to i64 %22 = add nsw i64 %21, %4 %23 = icmp sgt i64 %4, 0 br i1 %23, label %24, label %51 24: ; preds = %9, %47 %25 = phi i64 [ %49, %47 ], [ %21, %9 ] %26 = load i64, ptr @kernel_pmap, align 8, !tbaa !16 %27 = icmp eq i64 %26, %2 %28 = zext i1 %27 to i32 %29 = tail call i32 @KASSERT(i32 noundef %28, ptr noundef nonnull @.str.2) #2 %30 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !16 %31 = load i64, ptr @PAGE_MASK, align 8, !tbaa !16 %32 = and i64 %31, %25 %33 = sub nsw i64 %30, %32 %34 = tail call i32 @pmap_kextract(i64 noundef %25) #2 %35 = load i32, ptr %0, align 4, !tbaa !17 %36 = load i32, ptr @BUS_DMA_COULD_BOUNCE, align 4, !tbaa !10 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %24 %40 = tail call i64 @run_filter(ptr noundef nonnull %0, i32 noundef %34) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %39 %43 = load i32, ptr %15, align 4, !tbaa !15 %44 = tail call i64 @roundup2(i64 noundef %33, i32 noundef %43) #2 %45 = load i64, ptr %1, align 8, !tbaa !5 %46 = add nsw i64 %45, 1 store i64 %46, ptr %1, align 8, !tbaa !5 br label %47 47: ; preds = %42, %39, %24 %48 = phi i64 [ %44, %42 ], [ %33, %39 ], [ %33, %24 ] %49 = add nsw i64 %48, %25 %50 = icmp slt i64 %49, %22 br i1 %50, label %24, label %51, !llvm.loop !18 51: ; preds = %47, %9 %52 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !10 %53 = load i64, ptr %1, align 8, !tbaa !5 %54 = tail call i32 @CTR1(i32 noundef %52, ptr noundef nonnull @.str.3, i64 noundef %53) #2 br label %55 55: ; preds = %51, %6 ret void } declare i32 @CTR3(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CTR2(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmap_kextract(i64 noundef) local_unnamed_addr #1 declare i64 @run_filter(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @roundup2(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CTR1(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 12} !13 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !14 = !{!13, !11, i64 8} !15 = !{!13, !11, i64 4} !16 = !{!7, !7, i64 0} !17 = !{!13, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_busdma_machdep.c__bus_dmamap_count_pages.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_busdma_machdep.c__bus_dmamap_count_pages.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KTR_BUSDMA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"lowaddr= %d, boundary= %d, alignment= %d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"map= %p, pagesneeded= %d\00", align 1 @kernel_pmap = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [24 x i8] c"pmap is not kernel pmap\00", align 1 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @PAGE_MASK = common local_unnamed_addr global i64 0, align 8 @BUS_DMA_COULD_BOUNCE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"pagesneeded= %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_bus_dmamap_count_pages], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_bus_dmamap_count_pages(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 %5) #0 { %7 = load i64, ptr %1, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %55 9: ; preds = %6 %10 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !11 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = tail call i32 @CTR3(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, i32 noundef %16) #2 %18 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !11 %19 = load i64, ptr %1, align 8, !tbaa !6 %20 = tail call i32 @CTR2(i32 noundef %18, ptr noundef nonnull @.str.1, ptr noundef nonnull %1, i64 noundef %19) #2 %21 = ptrtoint ptr %3 to i64 %22 = add nsw i64 %21, %4 %23 = icmp sgt i64 %4, 0 br i1 %23, label %24, label %51 24: ; preds = %9, %47 %25 = phi i64 [ %49, %47 ], [ %21, %9 ] %26 = load i64, ptr @kernel_pmap, align 8, !tbaa !17 %27 = icmp eq i64 %26, %2 %28 = zext i1 %27 to i32 %29 = tail call i32 @KASSERT(i32 noundef %28, ptr noundef nonnull @.str.2) #2 %30 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !17 %31 = load i64, ptr @PAGE_MASK, align 8, !tbaa !17 %32 = and i64 %31, %25 %33 = sub nsw i64 %30, %32 %34 = tail call i32 @pmap_kextract(i64 noundef %25) #2 %35 = load i32, ptr %0, align 4, !tbaa !18 %36 = load i32, ptr @BUS_DMA_COULD_BOUNCE, align 4, !tbaa !11 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %24 %40 = tail call i64 @run_filter(ptr noundef nonnull %0, i32 noundef %34) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %39 %43 = load i32, ptr %15, align 4, !tbaa !16 %44 = tail call i64 @roundup2(i64 noundef %33, i32 noundef %43) #2 %45 = load i64, ptr %1, align 8, !tbaa !6 %46 = add nsw i64 %45, 1 store i64 %46, ptr %1, align 8, !tbaa !6 br label %47 47: ; preds = %42, %39, %24 %48 = phi i64 [ %44, %42 ], [ %33, %39 ], [ %33, %24 ] %49 = add nsw i64 %48, %25 %50 = icmp slt i64 %49, %22 br i1 %50, label %24, label %51, !llvm.loop !19 51: ; preds = %47, %9 %52 = load i32, ptr @KTR_BUSDMA, align 4, !tbaa !11 %53 = load i64, ptr %1, align 8, !tbaa !6 %54 = tail call i32 @CTR1(i32 noundef %52, ptr noundef nonnull @.str.3, i64 noundef %53) #2 br label %55 55: ; preds = %51, %6 ret void } declare i32 @CTR3(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CTR2(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmap_kextract(i64 noundef) local_unnamed_addr #1 declare i64 @run_filter(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @roundup2(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CTR1(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 12} !14 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !15 = !{!14, !12, i64 8} !16 = !{!14, !12, i64 4} !17 = !{!8, !8, i64 0} !18 = !{!14, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_sys_mips_mips_extr_busdma_machdep.c__bus_dmamap_count_pages
; ModuleID = 'AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_isdnhdlc.c_isdnhdlc_decode.c' source_filename = "AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_isdnhdlc.c_isdnhdlc_decode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.isdnhdlc_vars = type { i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 } @isdnhdlc_decode.fast_flag = internal unnamed_addr constant [9 x i8] c"\00\00\00 08<>?", align 1 @isdnhdlc_decode.fast_flag_value = internal unnamed_addr constant [9 x i8] c"\00~\FC\F9\F3\E7\CF\9F?", align 1 @isdnhdlc_decode.fast_abort = internal unnamed_addr constant [10 x i8] c"\00\00\80\C0\E0\F0\F8\FC\FE\FF", align 1 @HDLC_FRAMING_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @HDLC_LENGTH_ERROR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @isdnhdlc_decode(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #0 { store i32 %2, ptr %3, align 4, !tbaa !5 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %212 8: ; preds = %6 %9 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 1 %10 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 2 %11 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 12 %12 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 3 %13 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 10 %14 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 11 %15 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 6 %16 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 4 %17 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 7 %18 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 8 %19 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 5 %20 = getelementptr inbounds %struct.isdnhdlc_vars, ptr %0, i64 0, i32 9 %21 = load i32, ptr %0, align 8, !tbaa !9 br label %22 22: ; preds = %8, %206 %23 = phi i32 [ %21, %8 ], [ %207, %206 ] %24 = phi i32 [ 0, %8 ], [ %208, %206 ] %25 = phi ptr [ %1, %8 ], [ %44, %206 ] %26 = phi i32 [ %2, %8 ], [ %43, %206 ] %27 = icmp eq i32 %23, 0 br i1 %27, label %28, label %41 28: ; preds = %22 %29 = load i64, ptr %9, align 8, !tbaa !12 %30 = icmp eq i64 %29, 0 %31 = load i32, ptr %25, align 4, !tbaa !5 br i1 %30, label %32, label %34 32: ; preds = %28 %33 = tail call i32 @bitrev8(i32 noundef %31) #2 br label %34 34: ; preds = %28, %32 %35 = phi i32 [ %33, %32 ], [ %31, %28 ] store i32 %35, ptr %10, align 8, !tbaa !13 %36 = getelementptr inbounds i32, ptr %25, i64 1 %37 = add nsw i32 %26, -1 %38 = load i64, ptr %11, align 8, !tbaa !14 %39 = icmp eq i64 %38, 0 %40 = select i1 %39, i32 8, i32 7 store i32 %40, ptr %0, align 8 br label %41 41: ; preds = %34, %22 %42 = phi i32 [ %23, %22 ], [ %40, %34 ] %43 = phi i32 [ %26, %22 ], [ %37, %34 ] %44 = phi ptr [ %25, %22 ], [ %36, %34 ] %45 = load i32, ptr %12, align 4, !tbaa !15 switch i32 %45, label %206 [ i32 128, label %216 i32 133, label %46 i32 129, label %51 i32 132, label %69 i32 131, label %82 i32 130, label %91 i32 134, label %185 ] 46: ; preds = %41 %47 = load i32, ptr %10, align 8, !tbaa !13 %48 = icmp eq i32 %47, 255 br i1 %48, label %49, label %50 49: ; preds = %46 store i32 0, ptr %0, align 8, !tbaa !9 br label %206 50: ; preds = %46 store i32 129, ptr %12, align 4, !tbaa !15 store i32 0, ptr %16, align 8, !tbaa !16 store i32 8, ptr %0, align 8, !tbaa !9 br label %206 51: ; preds = %41 %52 = load i32, ptr %10, align 8, !tbaa !13 %53 = and i32 %52, 128 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %51 store i32 132, ptr %12, align 4, !tbaa !15 store i32 0, ptr %16, align 8, !tbaa !16 br label %66 56: ; preds = %51 %57 = load i64, ptr %11, align 8, !tbaa !14 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %56 %60 = load i32, ptr %16, align 8, !tbaa !16 %61 = add nsw i32 %60, 1 store i32 %61, ptr %16, align 8, !tbaa !16 %62 = icmp sgt i32 %60, 6 %63 = icmp eq i32 %42, 1 %64 = select i1 %62, i1 %63, i1 false br i1 %64, label %65, label %66 65: ; preds = %59 store i32 133, ptr %12, align 4, !tbaa !15 br label %66 66: ; preds = %56, %59, %65, %55 %67 = shl i32 %52, 1 store i32 %67, ptr %10, align 8, !tbaa !13 %68 = add nsw i32 %42, -1 store i32 %68, ptr %0, align 8, !tbaa !9 br label %206 69: ; preds = %41 %70 = load i32, ptr %10, align 8, !tbaa !13 %71 = and i32 %70, 128 %72 = icmp eq i32 %71, 0 br i1 %72, label %78, label %73 73: ; preds = %69 %74 = load i32, ptr %16, align 8, !tbaa !16 %75 = add nsw i32 %74, 1 store i32 %75, ptr %16, align 8, !tbaa !16 %76 = icmp eq i32 %75, 6 br i1 %76, label %77, label %79 77: ; preds = %73 store i32 131, ptr %12, align 4, !tbaa !15 br label %79 78: ; preds = %69 store i32 0, ptr %16, align 8, !tbaa !16 br label %79 79: ; preds = %73, %77, %78 %80 = shl i32 %70, 1 store i32 %80, ptr %10, align 8, !tbaa !13 %81 = add nsw i32 %42, -1 store i32 %81, ptr %0, align 8, !tbaa !9 br label %206 82: ; preds = %41 %83 = load i32, ptr %10, align 8, !tbaa !13 %84 = and i32 %83, 128 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %82 store <4 x i32> <i32 0, i32 65535, i32 0, i32 0>, ptr %16, align 8, !tbaa !5 store i32 0, ptr %18, align 8, !tbaa !17 br label %87 87: ; preds = %82, %86 %88 = phi i32 [ 130, %86 ], [ 129, %82 ] store i32 %88, ptr %12, align 4 %89 = shl i32 %83, 1 store i32 %89, ptr %10, align 8, !tbaa !13 %90 = add nsw i32 %42, -1 store i32 %90, ptr %0, align 8, !tbaa !9 br label %206 91: ; preds = %41 %92 = load i32, ptr %10, align 8, !tbaa !13 %93 = and i32 %92, 128 %94 = icmp eq i32 %93, 0 %95 = load i32, ptr %16, align 8, !tbaa !16 br i1 %94, label %121, label %96 96: ; preds = %91 %97 = add nsw i32 %95, 1 store i32 %97, ptr %16, align 8, !tbaa !16 switch i32 %95, label %115 [ i32 5, label %152 i32 6, label %98 ] 98: ; preds = %96 %99 = load i32, ptr %18, align 8, !tbaa !17 %100 = icmp eq i32 %99, 0 %101 = load i32, ptr @HDLC_FRAMING_ERROR, align 4 %102 = sub nsw i32 0, %101 %103 = select i1 %100, i32 %24, i32 %102 %104 = load i64, ptr %11, align 8, !tbaa !14 %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %114 106: ; preds = %98 %107 = add nsw i32 %42, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [10 x i8], ptr @isdnhdlc_decode.fast_abort, i64 0, i64 %108 %110 = load i8, ptr %109, align 1, !tbaa !18 %111 = zext i8 %110 to i32 %112 = icmp eq i32 %92, %111 br i1 %112, label %113, label %152 113: ; preds = %106 store i32 133, ptr %12, align 4, !tbaa !15 store i32 1, ptr %0, align 8, !tbaa !9 br label %152 114: ; preds = %98 store i32 129, ptr %12, align 4, !tbaa !15 br label %152 115: ; preds = %96 %116 = load i32, ptr %15, align 8, !tbaa !19 %117 = ashr i32 %116, 1 %118 = or i32 %117, 128 store i32 %118, ptr %15, align 8, !tbaa !19 %119 = load i32, ptr %17, align 4, !tbaa !20 %120 = add nsw i32 %119, 1 store i32 %120, ptr %17, align 4, !tbaa !20 br label %152 121: ; preds = %91 switch i32 %95, label %145 [ i32 5, label %150 i32 6, label %122 ] 122: ; preds = %121 %123 = load i32, ptr %18, align 8, !tbaa !17 %124 = icmp eq i32 %123, 0 br i1 %124, label %127, label %125 125: ; preds = %122 %126 = tail call i32 @check_frame(ptr noundef nonnull %0) #2 br label %127 127: ; preds = %125, %122 %128 = phi i32 [ %126, %125 ], [ %24, %122 ] store i32 65535, ptr %19, align 4, !tbaa !21 store i32 0, ptr %15, align 8, !tbaa !19 store i32 0, ptr %17, align 4, !tbaa !20 %129 = load i64, ptr %11, align 8, !tbaa !14 %130 = icmp eq i64 %129, 0 br i1 %130, label %131, label %144 131: ; preds = %127 %132 = load i32, ptr %10, align 8, !tbaa !13 %133 = load i32, ptr %0, align 8, !tbaa !9 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [9 x i8], ptr @isdnhdlc_decode.fast_flag, i64 0, i64 %134 %136 = load i8, ptr %135, align 1, !tbaa !18 %137 = zext i8 %136 to i32 %138 = icmp eq i32 %132, %137 br i1 %138, label %139, label %143 139: ; preds = %131 %140 = getelementptr inbounds [9 x i8], ptr @isdnhdlc_decode.fast_flag_value, i64 0, i64 %134 %141 = load i8, ptr %140, align 1, !tbaa !18 %142 = zext i8 %141 to i32 store i32 %142, ptr %13, align 8, !tbaa !22 store i32 134, ptr %12, align 4, !tbaa !15 store i32 %133, ptr %14, align 4, !tbaa !23 store i32 1, ptr %0, align 8, !tbaa !9 br label %150 143: ; preds = %131 store i32 130, ptr %12, align 4, !tbaa !15 store i32 0, ptr %18, align 8, !tbaa !17 br label %150 144: ; preds = %127 store i32 130, ptr %12, align 4, !tbaa !15 store i32 0, ptr %18, align 8, !tbaa !17 br label %150 145: ; preds = %121 %146 = load i32, ptr %15, align 8, !tbaa !19 %147 = ashr i32 %146, 1 store i32 %147, ptr %15, align 8, !tbaa !19 %148 = load i32, ptr %17, align 4, !tbaa !20 %149 = add nsw i32 %148, 1 store i32 %149, ptr %17, align 4, !tbaa !20 br label %150 150: ; preds = %144, %143, %139, %145, %121 %151 = phi i32 [ %24, %145 ], [ %128, %144 ], [ %128, %139 ], [ %128, %143 ], [ %24, %121 ] store i32 0, ptr %16, align 8, !tbaa !16 br label %152 152: ; preds = %96, %113, %115, %106, %114, %150 %153 = phi i32 [ %24, %115 ], [ %103, %114 ], [ %103, %113 ], [ %103, %106 ], [ %24, %96 ], [ %151, %150 ] %154 = icmp eq i32 %153, 0 br i1 %154, label %162, label %155 155: ; preds = %152 store i32 0, ptr %20, align 4, !tbaa !24 %156 = load i32, ptr %3, align 4, !tbaa !5 %157 = sub nsw i32 %156, %43 store i32 %157, ptr %3, align 4, !tbaa !5 %158 = load i32, ptr %10, align 8, !tbaa !13 %159 = shl i32 %158, 1 store i32 %159, ptr %10, align 8, !tbaa !13 %160 = load i32, ptr %0, align 8, !tbaa !9 %161 = add nsw i32 %160, -1 store i32 %161, ptr %0, align 8, !tbaa !9 br label %216 162: ; preds = %152 %163 = load i32, ptr %17, align 4, !tbaa !20 %164 = icmp eq i32 %163, 8 br i1 %164, label %165, label %179 165: ; preds = %162 store i32 0, ptr %17, align 4, !tbaa !20 store i32 1, ptr %18, align 8, !tbaa !17 %166 = load i32, ptr %19, align 4, !tbaa !21 %167 = load i32, ptr %15, align 8, !tbaa !19 %168 = tail call i32 @crc_ccitt_byte(i32 noundef %166, i32 noundef %167) #2 store i32 %168, ptr %19, align 4, !tbaa !21 %169 = load i32, ptr %20, align 4, !tbaa !24 %170 = icmp slt i32 %169, %5 br i1 %170, label %171, label %176 171: ; preds = %165 %172 = load i32, ptr %15, align 8, !tbaa !19 %173 = add nsw i32 %169, 1 store i32 %173, ptr %20, align 4, !tbaa !24 %174 = sext i32 %169 to i64 %175 = getelementptr inbounds i32, ptr %4, i64 %174 store i32 %172, ptr %175, align 4, !tbaa !5 br label %179 176: ; preds = %165 %177 = load i32, ptr @HDLC_LENGTH_ERROR, align 4, !tbaa !5 %178 = sub nsw i32 0, %177 store i32 0, ptr %20, align 4, !tbaa !24 br label %179 179: ; preds = %171, %176, %162 %180 = phi i32 [ 0, %171 ], [ %178, %176 ], [ 0, %162 ] %181 = load i32, ptr %10, align 8, !tbaa !13 %182 = shl i32 %181, 1 store i32 %182, ptr %10, align 8, !tbaa !13 %183 = load i32, ptr %0, align 8, !tbaa !9 %184 = add nsw i32 %183, -1 store i32 %184, ptr %0, align 8, !tbaa !9 br label %206 185: ; preds = %41 %186 = load i32, ptr %10, align 8, !tbaa !13 %187 = load i32, ptr %13, align 8, !tbaa !22 %188 = icmp eq i32 %186, %187 br i1 %188, label %189, label %190 189: ; preds = %185 store i32 0, ptr %0, align 8, !tbaa !9 br label %206 190: ; preds = %185 %191 = icmp eq i32 %186, 255 br i1 %191, label %192, label %193 192: ; preds = %190 store i32 133, ptr %12, align 4, !tbaa !15 store i32 0, ptr %0, align 8, !tbaa !9 br label %206 193: ; preds = %190 %194 = load i32, ptr %14, align 4, !tbaa !23 %195 = icmp eq i32 %194, 8 br i1 %195, label %196, label %197 196: ; preds = %193 store i32 131, ptr %12, align 4, !tbaa !15 br label %206 197: ; preds = %193 %198 = add nsw i32 %194, -1 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [10 x i8], ptr @isdnhdlc_decode.fast_abort, i64 0, i64 %199 %201 = load i8, ptr %200, align 1, !tbaa !18 %202 = zext i8 %201 to i32 store i32 %202, ptr %15, align 8, !tbaa !19 %203 = add nsw i32 %194, -2 %204 = icmp slt i32 %194, 2 %205 = select i1 %204, i32 0, i32 %203 store i32 %205, ptr %16, align 8, !tbaa !16 store i32 %198, ptr %17, align 4, !tbaa !20 store i32 130, ptr %12, align 4, !tbaa !15 store i32 0, ptr %18, align 8, !tbaa !17 br label %206 206: ; preds = %41, %197, %192, %196, %189, %179, %87, %79, %66, %50, %49 %207 = phi i32 [ %42, %41 ], [ 0, %189 ], [ 0, %192 ], [ %42, %196 ], [ %42, %197 ], [ %184, %179 ], [ %90, %87 ], [ %81, %79 ], [ %68, %66 ], [ 0, %49 ], [ 8, %50 ] %208 = phi i32 [ %24, %41 ], [ %24, %189 ], [ %24, %192 ], [ %24, %196 ], [ %24, %197 ], [ %180, %179 ], [ %24, %87 ], [ %24, %79 ], [ %24, %66 ], [ %24, %49 ], [ %24, %50 ] %209 = icmp sgt i32 %43, 0 br i1 %209, label %22, label %210, !llvm.loop !25 210: ; preds = %206 %211 = load i32, ptr %3, align 4, !tbaa !5 br label %212 212: ; preds = %210, %6 %213 = phi i32 [ %2, %6 ], [ %211, %210 ] %214 = phi i32 [ %2, %6 ], [ %43, %210 ] %215 = sub nsw i32 %213, %214 store i32 %215, ptr %3, align 4, !tbaa !5 br label %216 216: ; preds = %41, %212, %155 %217 = phi i32 [ %153, %155 ], [ 0, %212 ], [ 0, %41 ] ret i32 %217 } declare i32 @bitrev8(i32 noundef) local_unnamed_addr #1 declare i32 @check_frame(ptr noundef) local_unnamed_addr #1 declare i32 @crc_ccitt_byte(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 = !{!"isdnhdlc_vars", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !11, i64 56} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !6, i64 16} !14 = !{!10, !11, i64 56} !15 = !{!10, !6, i64 20} !16 = !{!10, !6, i64 24} !17 = !{!10, !6, i64 40} !18 = !{!7, !7, i64 0} !19 = !{!10, !6, i64 32} !20 = !{!10, !6, i64 36} !21 = !{!10, !6, i64 28} !22 = !{!10, !6, i64 48} !23 = !{!10, !6, i64 52} !24 = !{!10, !6, i64 44} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_isdnhdlc.c_isdnhdlc_decode.c' source_filename = "AnghaBench/linux/drivers/isdn/hardware/mISDN/extr_isdnhdlc.c_isdnhdlc_decode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @isdnhdlc_decode.fast_flag = internal unnamed_addr constant [9 x i8] c"\00\00\00 08<>?", align 1 @isdnhdlc_decode.fast_flag_value = internal unnamed_addr constant [9 x i8] c"\00~\FC\F9\F3\E7\CF\9F?", align 1 @isdnhdlc_decode.fast_abort = internal unnamed_addr constant [10 x i8] c"\00\00\80\C0\E0\F0\F8\FC\FE\FF", align 1 @HDLC_FRAMING_ERROR = common local_unnamed_addr global i32 0, align 4 @HDLC_LENGTH_ERROR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @isdnhdlc_decode(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #0 { store i32 %2, ptr %3, align 4, !tbaa !6 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %212 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = getelementptr inbounds i8, ptr %0, i64 56 %12 = getelementptr inbounds i8, ptr %0, i64 20 %13 = getelementptr inbounds i8, ptr %0, i64 48 %14 = getelementptr inbounds i8, ptr %0, i64 52 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = getelementptr inbounds i8, ptr %0, i64 24 %17 = getelementptr inbounds i8, ptr %0, i64 36 %18 = getelementptr inbounds i8, ptr %0, i64 40 %19 = getelementptr inbounds i8, ptr %0, i64 28 %20 = getelementptr inbounds i8, ptr %0, i64 44 %21 = load i32, ptr %0, align 8, !tbaa !10 br label %22 22: ; preds = %8, %206 %23 = phi i32 [ %21, %8 ], [ %207, %206 ] %24 = phi i32 [ 0, %8 ], [ %208, %206 ] %25 = phi ptr [ %1, %8 ], [ %44, %206 ] %26 = phi i32 [ %2, %8 ], [ %43, %206 ] %27 = icmp eq i32 %23, 0 br i1 %27, label %28, label %41 28: ; preds = %22 %29 = load i64, ptr %9, align 8, !tbaa !13 %30 = icmp eq i64 %29, 0 %31 = load i32, ptr %25, align 4, !tbaa !6 br i1 %30, label %32, label %34 32: ; preds = %28 %33 = tail call i32 @bitrev8(i32 noundef %31) #2 br label %34 34: ; preds = %28, %32 %35 = phi i32 [ %33, %32 ], [ %31, %28 ] store i32 %35, ptr %10, align 8, !tbaa !14 %36 = getelementptr inbounds i8, ptr %25, i64 4 %37 = add nsw i32 %26, -1 %38 = load i64, ptr %11, align 8, !tbaa !15 %39 = icmp eq i64 %38, 0 %40 = select i1 %39, i32 8, i32 7 store i32 %40, ptr %0, align 8 br label %41 41: ; preds = %34, %22 %42 = phi i32 [ %23, %22 ], [ %40, %34 ] %43 = phi i32 [ %26, %22 ], [ %37, %34 ] %44 = phi ptr [ %25, %22 ], [ %36, %34 ] %45 = load i32, ptr %12, align 4, !tbaa !16 switch i32 %45, label %206 [ i32 128, label %216 i32 133, label %46 i32 129, label %51 i32 132, label %69 i32 131, label %82 i32 130, label %91 i32 134, label %185 ] 46: ; preds = %41 %47 = load i32, ptr %10, align 8, !tbaa !14 %48 = icmp eq i32 %47, 255 br i1 %48, label %49, label %50 49: ; preds = %46 store i32 0, ptr %0, align 8, !tbaa !10 br label %206 50: ; preds = %46 store <2 x i32> <i32 129, i32 0>, ptr %12, align 4, !tbaa !6 store i32 8, ptr %0, align 8, !tbaa !10 br label %206 51: ; preds = %41 %52 = load i32, ptr %10, align 8, !tbaa !14 %53 = and i32 %52, 128 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %51 store <2 x i32> <i32 132, i32 0>, ptr %12, align 4, !tbaa !6 br label %66 56: ; preds = %51 %57 = load i64, ptr %11, align 8, !tbaa !15 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %56 %60 = load i32, ptr %16, align 8, !tbaa !17 %61 = add nsw i32 %60, 1 store i32 %61, ptr %16, align 8, !tbaa !17 %62 = icmp sgt i32 %60, 6 %63 = icmp eq i32 %42, 1 %64 = select i1 %62, i1 %63, i1 false br i1 %64, label %65, label %66 65: ; preds = %59 store i32 133, ptr %12, align 4, !tbaa !16 br label %66 66: ; preds = %56, %59, %65, %55 %67 = shl i32 %52, 1 store i32 %67, ptr %10, align 8, !tbaa !14 %68 = add nsw i32 %42, -1 store i32 %68, ptr %0, align 8, !tbaa !10 br label %206 69: ; preds = %41 %70 = load i32, ptr %10, align 8, !tbaa !14 %71 = and i32 %70, 128 %72 = icmp eq i32 %71, 0 br i1 %72, label %78, label %73 73: ; preds = %69 %74 = load i32, ptr %16, align 8, !tbaa !17 %75 = add nsw i32 %74, 1 store i32 %75, ptr %16, align 8, !tbaa !17 %76 = icmp eq i32 %75, 6 br i1 %76, label %77, label %79 77: ; preds = %73 store i32 131, ptr %12, align 4, !tbaa !16 br label %79 78: ; preds = %69 store i32 0, ptr %16, align 8, !tbaa !17 br label %79 79: ; preds = %73, %77, %78 %80 = shl i32 %70, 1 store i32 %80, ptr %10, align 8, !tbaa !14 %81 = add nsw i32 %42, -1 store i32 %81, ptr %0, align 8, !tbaa !10 br label %206 82: ; preds = %41 %83 = load i32, ptr %10, align 8, !tbaa !14 %84 = and i32 %83, 128 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %82 store <4 x i32> <i32 0, i32 65535, i32 0, i32 0>, ptr %16, align 8, !tbaa !6 store i32 0, ptr %18, align 8, !tbaa !18 br label %87 87: ; preds = %82, %86 %88 = phi i32 [ 130, %86 ], [ 129, %82 ] store i32 %88, ptr %12, align 4 %89 = shl i32 %83, 1 store i32 %89, ptr %10, align 8, !tbaa !14 %90 = add nsw i32 %42, -1 store i32 %90, ptr %0, align 8, !tbaa !10 br label %206 91: ; preds = %41 %92 = load i32, ptr %10, align 8, !tbaa !14 %93 = and i32 %92, 128 %94 = icmp eq i32 %93, 0 %95 = load i32, ptr %16, align 8, !tbaa !17 br i1 %94, label %121, label %96 96: ; preds = %91 %97 = add nsw i32 %95, 1 store i32 %97, ptr %16, align 8, !tbaa !17 switch i32 %95, label %115 [ i32 5, label %152 i32 6, label %98 ] 98: ; preds = %96 %99 = load i32, ptr %18, align 8, !tbaa !18 %100 = icmp eq i32 %99, 0 %101 = load i32, ptr @HDLC_FRAMING_ERROR, align 4 %102 = sub nsw i32 0, %101 %103 = select i1 %100, i32 %24, i32 %102 %104 = load i64, ptr %11, align 8, !tbaa !15 %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %114 106: ; preds = %98 %107 = add nsw i32 %42, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [10 x i8], ptr @isdnhdlc_decode.fast_abort, i64 0, i64 %108 %110 = load i8, ptr %109, align 1, !tbaa !19 %111 = zext i8 %110 to i32 %112 = icmp eq i32 %92, %111 br i1 %112, label %113, label %152 113: ; preds = %106 store i32 133, ptr %12, align 4, !tbaa !16 store i32 1, ptr %0, align 8, !tbaa !10 br label %152 114: ; preds = %98 store i32 129, ptr %12, align 4, !tbaa !16 br label %152 115: ; preds = %96 %116 = load i32, ptr %15, align 8, !tbaa !20 %117 = ashr i32 %116, 1 %118 = or i32 %117, 128 store i32 %118, ptr %15, align 8, !tbaa !20 %119 = load i32, ptr %17, align 4, !tbaa !21 %120 = add nsw i32 %119, 1 store i32 %120, ptr %17, align 4, !tbaa !21 br label %152 121: ; preds = %91 switch i32 %95, label %145 [ i32 5, label %150 i32 6, label %122 ] 122: ; preds = %121 %123 = load i32, ptr %18, align 8, !tbaa !18 %124 = icmp eq i32 %123, 0 br i1 %124, label %127, label %125 125: ; preds = %122 %126 = tail call i32 @check_frame(ptr noundef nonnull %0) #2 br label %127 127: ; preds = %125, %122 %128 = phi i32 [ %126, %125 ], [ %24, %122 ] store <2 x i32> <i32 65535, i32 0>, ptr %19, align 4, !tbaa !6 store i32 0, ptr %17, align 4, !tbaa !21 %129 = load i64, ptr %11, align 8, !tbaa !15 %130 = icmp eq i64 %129, 0 br i1 %130, label %131, label %144 131: ; preds = %127 %132 = load i32, ptr %10, align 8, !tbaa !14 %133 = load i32, ptr %0, align 8, !tbaa !10 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [9 x i8], ptr @isdnhdlc_decode.fast_flag, i64 0, i64 %134 %136 = load i8, ptr %135, align 1, !tbaa !19 %137 = zext i8 %136 to i32 %138 = icmp eq i32 %132, %137 br i1 %138, label %139, label %143 139: ; preds = %131 %140 = getelementptr inbounds [9 x i8], ptr @isdnhdlc_decode.fast_flag_value, i64 0, i64 %134 %141 = load i8, ptr %140, align 1, !tbaa !19 %142 = zext i8 %141 to i32 store i32 %142, ptr %13, align 8, !tbaa !22 store i32 134, ptr %12, align 4, !tbaa !16 store i32 %133, ptr %14, align 4, !tbaa !23 store i32 1, ptr %0, align 8, !tbaa !10 br label %150 143: ; preds = %131 store i32 130, ptr %12, align 4, !tbaa !16 store i32 0, ptr %18, align 8, !tbaa !18 br label %150 144: ; preds = %127 store i32 130, ptr %12, align 4, !tbaa !16 store i32 0, ptr %18, align 8, !tbaa !18 br label %150 145: ; preds = %121 %146 = load <2 x i32>, ptr %15, align 8, !tbaa !6 %147 = ashr <2 x i32> %146, <i32 1, i32 1> %148 = add nsw <2 x i32> %146, <i32 poison, i32 1> %149 = shufflevector <2 x i32> %147, <2 x i32> %148, <2 x i32> <i32 0, i32 3> store <2 x i32> %149, ptr %15, align 8, !tbaa !6 br label %150 150: ; preds = %144, %143, %139, %145, %121 %151 = phi i32 [ %24, %145 ], [ %128, %144 ], [ %128, %139 ], [ %128, %143 ], [ %24, %121 ] store i32 0, ptr %16, align 8, !tbaa !17 br label %152 152: ; preds = %96, %113, %115, %106, %114, %150 %153 = phi i32 [ %24, %115 ], [ %103, %114 ], [ %103, %113 ], [ %103, %106 ], [ %24, %96 ], [ %151, %150 ] %154 = icmp eq i32 %153, 0 br i1 %154, label %162, label %155 155: ; preds = %152 store i32 0, ptr %20, align 4, !tbaa !24 %156 = load i32, ptr %3, align 4, !tbaa !6 %157 = sub nsw i32 %156, %43 store i32 %157, ptr %3, align 4, !tbaa !6 %158 = load i32, ptr %10, align 8, !tbaa !14 %159 = shl i32 %158, 1 store i32 %159, ptr %10, align 8, !tbaa !14 %160 = load i32, ptr %0, align 8, !tbaa !10 %161 = add nsw i32 %160, -1 store i32 %161, ptr %0, align 8, !tbaa !10 br label %216 162: ; preds = %152 %163 = load i32, ptr %17, align 4, !tbaa !21 %164 = icmp eq i32 %163, 8 br i1 %164, label %165, label %179 165: ; preds = %162 store <2 x i32> <i32 0, i32 1>, ptr %17, align 4, !tbaa !6 %166 = load i32, ptr %19, align 4, !tbaa !25 %167 = load i32, ptr %15, align 8, !tbaa !20 %168 = tail call i32 @crc_ccitt_byte(i32 noundef %166, i32 noundef %167) #2 store i32 %168, ptr %19, align 4, !tbaa !25 %169 = load i32, ptr %20, align 4, !tbaa !24 %170 = icmp slt i32 %169, %5 br i1 %170, label %171, label %176 171: ; preds = %165 %172 = load i32, ptr %15, align 8, !tbaa !20 %173 = add nsw i32 %169, 1 store i32 %173, ptr %20, align 4, !tbaa !24 %174 = sext i32 %169 to i64 %175 = getelementptr inbounds i32, ptr %4, i64 %174 store i32 %172, ptr %175, align 4, !tbaa !6 br label %179 176: ; preds = %165 %177 = load i32, ptr @HDLC_LENGTH_ERROR, align 4, !tbaa !6 %178 = sub nsw i32 0, %177 store i32 0, ptr %20, align 4, !tbaa !24 br label %179 179: ; preds = %171, %176, %162 %180 = phi i32 [ 0, %171 ], [ %178, %176 ], [ 0, %162 ] %181 = load i32, ptr %10, align 8, !tbaa !14 %182 = shl i32 %181, 1 store i32 %182, ptr %10, align 8, !tbaa !14 %183 = load i32, ptr %0, align 8, !tbaa !10 %184 = add nsw i32 %183, -1 store i32 %184, ptr %0, align 8, !tbaa !10 br label %206 185: ; preds = %41 %186 = load i32, ptr %10, align 8, !tbaa !14 %187 = load i32, ptr %13, align 8, !tbaa !22 %188 = icmp eq i32 %186, %187 br i1 %188, label %189, label %190 189: ; preds = %185 store i32 0, ptr %0, align 8, !tbaa !10 br label %206 190: ; preds = %185 %191 = icmp eq i32 %186, 255 br i1 %191, label %192, label %193 192: ; preds = %190 store i32 133, ptr %12, align 4, !tbaa !16 store i32 0, ptr %0, align 8, !tbaa !10 br label %206 193: ; preds = %190 %194 = load i32, ptr %14, align 4, !tbaa !23 %195 = icmp eq i32 %194, 8 br i1 %195, label %196, label %197 196: ; preds = %193 store i32 131, ptr %12, align 4, !tbaa !16 br label %206 197: ; preds = %193 %198 = add nsw i32 %194, -1 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [10 x i8], ptr @isdnhdlc_decode.fast_abort, i64 0, i64 %199 %201 = load i8, ptr %200, align 1, !tbaa !19 %202 = zext i8 %201 to i32 store i32 %202, ptr %15, align 8, !tbaa !20 %203 = add nsw i32 %194, -2 %204 = icmp slt i32 %194, 2 %205 = select i1 %204, i32 0, i32 %203 store i32 %205, ptr %16, align 8, !tbaa !17 store i32 %198, ptr %17, align 4, !tbaa !21 store i32 130, ptr %12, align 4, !tbaa !16 store i32 0, ptr %18, align 8, !tbaa !18 br label %206 206: ; preds = %41, %197, %192, %196, %189, %179, %87, %79, %66, %50, %49 %207 = phi i32 [ %42, %41 ], [ 0, %189 ], [ 0, %192 ], [ %42, %196 ], [ %42, %197 ], [ %184, %179 ], [ %90, %87 ], [ %81, %79 ], [ %68, %66 ], [ 0, %49 ], [ 8, %50 ] %208 = phi i32 [ %24, %41 ], [ %24, %189 ], [ %24, %192 ], [ %24, %196 ], [ %24, %197 ], [ %180, %179 ], [ %24, %87 ], [ %24, %79 ], [ %24, %66 ], [ %24, %49 ], [ %24, %50 ] %209 = icmp sgt i32 %43, 0 br i1 %209, label %22, label %210, !llvm.loop !26 210: ; preds = %206 %211 = load i32, ptr %3, align 4, !tbaa !6 br label %212 212: ; preds = %210, %6 %213 = phi i32 [ %2, %6 ], [ %211, %210 ] %214 = phi i32 [ %2, %6 ], [ %43, %210 ] %215 = sub nsw i32 %213, %214 store i32 %215, ptr %3, align 4, !tbaa !6 br label %216 216: ; preds = %41, %212, %155 %217 = phi i32 [ %153, %155 ], [ 0, %212 ], [ 0, %41 ] ret i32 %217 } declare i32 @bitrev8(i32 noundef) local_unnamed_addr #1 declare i32 @check_frame(ptr noundef) local_unnamed_addr #1 declare i32 @crc_ccitt_byte(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 = !{!"isdnhdlc_vars", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !12, i64 56} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !7, i64 16} !15 = !{!11, !12, i64 56} !16 = !{!11, !7, i64 20} !17 = !{!11, !7, i64 24} !18 = !{!11, !7, i64 40} !19 = !{!8, !8, i64 0} !20 = !{!11, !7, i64 32} !21 = !{!11, !7, i64 36} !22 = !{!11, !7, i64 48} !23 = !{!11, !7, i64 52} !24 = !{!11, !7, i64 44} !25 = !{!11, !7, i64 28} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
linux_drivers_isdn_hardware_mISDN_extr_isdnhdlc.c_isdnhdlc_decode
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_spc.c_spc_emulate_request_sense.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_spc.c_spc_emulate_request_sense.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.se_cmd = type { ptr, i32 } @SE_SENSE_BUF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"REQUEST_SENSE description emulation not supported\0A\00", align 1 @TCM_INVALID_CDB_FIELD = dso_local local_unnamed_addr global i32 0, align 4 @TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @UNIT_ATTENTION = dso_local local_unnamed_addr global i8 0, align 1 @SPC_SENSE_KEY_OFFSET = dso_local local_unnamed_addr global i64 0, align 8 @SPC_ASC_KEY_OFFSET = dso_local local_unnamed_addr global i64 0, align 8 @SPC_ASCQ_KEY_OFFSET = dso_local local_unnamed_addr global i64 0, align 8 @NO_SENSE = dso_local local_unnamed_addr global i8 0, align 1 @u32 = dso_local local_unnamed_addr global i32 0, align 4 @GOOD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @spc_emulate_request_sense], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @spc_emulate_request_sense(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #4 store i8 0, ptr %2, align 1, !tbaa !11 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #4 store i8 0, ptr %3, align 1, !tbaa !11 %5 = load i32, ptr @SE_SENSE_BUF, align 4, !tbaa !12 %6 = zext i32 %5 to i64 %7 = tail call ptr @llvm.stacksave.p0() %8 = alloca i8, i64 %6, align 16 %9 = load i32, ptr @SE_SENSE_BUF, align 4, !tbaa !12 %10 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %9) #4 %11 = getelementptr inbounds i8, ptr %4, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !11 %13 = and i8 %12, 1 %14 = icmp eq i8 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 @pr_err(ptr noundef nonnull @.str) #4 %17 = load i32, ptr @TCM_INVALID_CDB_FIELD, align 4, !tbaa !12 br label %50 18: ; preds = %1 %19 = call ptr @transport_kmap_data_sg(ptr noundef nonnull %0) #4 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load i32, ptr @TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE, align 4, !tbaa !12 br label %50 23: ; preds = %18 %24 = call i32 @core_scsi3_ua_clear_for_request_sense(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #4 %25 = icmp eq i32 %24, 0 store i8 112, ptr %8, align 16, !tbaa !11 %26 = load i64, ptr @SPC_SENSE_KEY_OFFSET, align 8, !tbaa !13 %27 = getelementptr inbounds i8, ptr %8, i64 %26 br i1 %25, label %28, label %34 28: ; preds = %23 %29 = load i8, ptr @UNIT_ATTENTION, align 1, !tbaa !11 store i8 %29, ptr %27, align 1, !tbaa !11 %30 = load i8, ptr %2, align 1, !tbaa !11 %31 = load i64, ptr @SPC_ASC_KEY_OFFSET, align 8, !tbaa !13 %32 = getelementptr inbounds i8, ptr %8, i64 %31 store i8 %30, ptr %32, align 1, !tbaa !11 %33 = load i8, ptr %3, align 1, !tbaa !11 br label %36 34: ; preds = %23 %35 = load i8, ptr @NO_SENSE, align 1, !tbaa !11 store i8 %35, ptr %27, align 1, !tbaa !11 br label %36 36: ; preds = %34, %28 %37 = phi ptr [ @SPC_ASC_KEY_OFFSET, %34 ], [ @SPC_ASCQ_KEY_OFFSET, %28 ] %38 = phi i8 [ 0, %34 ], [ %33, %28 ] %39 = load i64, ptr %37, align 8, !tbaa !13 %40 = getelementptr inbounds i8, ptr %8, i64 %39 store i8 %38, ptr %40, align 1, !tbaa !11 %41 = getelementptr inbounds i8, ptr %8, i64 7 store i8 10, ptr %41, align 1 %42 = load i32, ptr @u32, align 4, !tbaa !12 %43 = getelementptr inbounds %struct.se_cmd, ptr %0, i64 0, i32 1 %44 = load i32, ptr %43, align 8, !tbaa !15 %45 = call i32 @min_t(i32 noundef %42, i32 noundef %5, i32 noundef %44) #4 %46 = call i32 @memcpy(ptr noundef nonnull %19, ptr noundef nonnull %8, i32 noundef %45) #4 %47 = call i32 @transport_kunmap_data_sg(ptr noundef nonnull %0) #4 %48 = load i32, ptr @GOOD, align 4, !tbaa !12 %49 = call i32 @target_complete_cmd(ptr noundef nonnull %0, i32 noundef %48) #4 br label %50 50: ; preds = %36, %21, %15 %51 = phi i32 [ %17, %15 ], [ 0, %36 ], [ %22, %21 ] call void @llvm.stackrestore.p0(ptr %7) call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #4 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pr_err(ptr noundef) local_unnamed_addr #3 declare ptr @transport_kmap_data_sg(ptr noundef) local_unnamed_addr #3 declare i32 @core_scsi3_ua_clear_for_request_sense(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @transport_kunmap_data_sg(ptr noundef) local_unnamed_addr #3 declare i32 @target_complete_cmd(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"se_cmd", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!8, !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_spc.c_spc_emulate_request_sense.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_spc.c_spc_emulate_request_sense.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SE_SENSE_BUF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"REQUEST_SENSE description emulation not supported\0A\00", align 1 @TCM_INVALID_CDB_FIELD = common local_unnamed_addr global i32 0, align 4 @TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE = common local_unnamed_addr global i32 0, align 4 @UNIT_ATTENTION = common local_unnamed_addr global i8 0, align 1 @SPC_SENSE_KEY_OFFSET = common local_unnamed_addr global i64 0, align 8 @SPC_ASC_KEY_OFFSET = common local_unnamed_addr global i64 0, align 8 @SPC_ASCQ_KEY_OFFSET = common local_unnamed_addr global i64 0, align 8 @NO_SENSE = common local_unnamed_addr global i8 0, align 1 @u32 = common local_unnamed_addr global i32 0, align 4 @GOOD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @spc_emulate_request_sense], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @spc_emulate_request_sense(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #4 store i8 0, ptr %2, align 1, !tbaa !12 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #4 store i8 0, ptr %3, align 1, !tbaa !12 %5 = load i32, ptr @SE_SENSE_BUF, align 4, !tbaa !13 %6 = zext i32 %5 to i64 %7 = tail call ptr @llvm.stacksave.p0() %8 = alloca i8, i64 %6, align 1 %9 = load i32, ptr @SE_SENSE_BUF, align 4, !tbaa !13 %10 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %9) #4 %11 = getelementptr inbounds i8, ptr %4, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !12 %13 = and i8 %12, 1 %14 = icmp eq i8 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 @pr_err(ptr noundef nonnull @.str) #4 %17 = load i32, ptr @TCM_INVALID_CDB_FIELD, align 4, !tbaa !13 br label %50 18: ; preds = %1 %19 = call ptr @transport_kmap_data_sg(ptr noundef nonnull %0) #4 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load i32, ptr @TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE, align 4, !tbaa !13 br label %50 23: ; preds = %18 %24 = call i32 @core_scsi3_ua_clear_for_request_sense(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #4 %25 = icmp eq i32 %24, 0 store i8 112, ptr %8, align 1, !tbaa !12 %26 = load i64, ptr @SPC_SENSE_KEY_OFFSET, align 8, !tbaa !14 %27 = getelementptr inbounds i8, ptr %8, i64 %26 br i1 %25, label %28, label %34 28: ; preds = %23 %29 = load i8, ptr @UNIT_ATTENTION, align 1, !tbaa !12 store i8 %29, ptr %27, align 1, !tbaa !12 %30 = load i8, ptr %2, align 1, !tbaa !12 %31 = load i64, ptr @SPC_ASC_KEY_OFFSET, align 8, !tbaa !14 %32 = getelementptr inbounds i8, ptr %8, i64 %31 store i8 %30, ptr %32, align 1, !tbaa !12 %33 = load i8, ptr %3, align 1, !tbaa !12 br label %36 34: ; preds = %23 %35 = load i8, ptr @NO_SENSE, align 1, !tbaa !12 store i8 %35, ptr %27, align 1, !tbaa !12 br label %36 36: ; preds = %34, %28 %37 = phi ptr [ @SPC_ASC_KEY_OFFSET, %34 ], [ @SPC_ASCQ_KEY_OFFSET, %28 ] %38 = phi i8 [ 0, %34 ], [ %33, %28 ] %39 = load i64, ptr %37, align 8, !tbaa !14 %40 = getelementptr inbounds i8, ptr %8, i64 %39 store i8 %38, ptr %40, align 1, !tbaa !12 %41 = getelementptr inbounds i8, ptr %8, i64 7 store i8 10, ptr %41, align 1 %42 = load i32, ptr @u32, align 4, !tbaa !13 %43 = getelementptr inbounds i8, ptr %0, i64 8 %44 = load i32, ptr %43, align 8, !tbaa !16 %45 = call i32 @min_t(i32 noundef %42, i32 noundef %5, i32 noundef %44) #4 %46 = call i32 @memcpy(ptr noundef nonnull %19, ptr noundef nonnull %8, i32 noundef %45) #4 %47 = call i32 @transport_kunmap_data_sg(ptr noundef nonnull %0) #4 %48 = load i32, ptr @GOOD, align 4, !tbaa !13 %49 = call i32 @target_complete_cmd(ptr noundef nonnull %0, i32 noundef %48) #4 br label %50 50: ; preds = %36, %21, %15 %51 = phi i32 [ %17, %15 ], [ 0, %36 ], [ %22, %21 ] call void @llvm.stackrestore.p0(ptr %7) call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #4 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pr_err(ptr noundef) local_unnamed_addr #3 declare ptr @transport_kmap_data_sg(ptr noundef) local_unnamed_addr #3 declare i32 @core_scsi3_ua_clear_for_request_sense(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @transport_kunmap_data_sg(ptr noundef) local_unnamed_addr #3 declare i32 @target_complete_cmd(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"se_cmd", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!9, !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_target_extr_target_core_spc.c_spc_emulate_request_sense
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hpfs/extr_dnode.c_hpfs_delete_de.c' source_filename = "AnghaBench/fastsocket/kernel/fs/hpfs/extr_dnode.c_hpfs_delete_de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hpfs_dirent = type { i32, i64 } %struct.dnode = type { i32, i32 } @.str = private unnamed_addr constant [44 x i8] c"attempt to delete last dirent in dnode %08x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hpfs_delete_de], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hpfs_delete_de(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.hpfs_dirent, ptr %2, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.dnode, ptr %1, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @hpfs_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %24 11: ; preds = %3 %12 = load i32, ptr %2, align 8, !tbaa !13 %13 = load i32, ptr %1, align 4, !tbaa !14 %14 = sub nsw i32 %13, %12 store i32 %14, ptr %1, align 4, !tbaa !14 %15 = tail call i32 @de_next_de(ptr noundef nonnull %2) #2 %16 = load i32, ptr %1, align 4, !tbaa !14 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %1, i64 %17 %19 = ptrtoint ptr %18 to i64 %20 = ptrtoint ptr %2 to i64 %21 = sub i64 %19, %20 %22 = trunc i64 %21 to i32 %23 = tail call i32 @memmove(ptr noundef nonnull %2, i32 noundef %15, i32 noundef %22) #2 br label %24 24: ; preds = %11, %7 ret void } declare i32 @hpfs_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @de_next_de(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 = !{!"hpfs_dirent", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 4} !12 = !{!"dnode", !7, i64 0, !7, i64 4} !13 = !{!6, !7, i64 0} !14 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hpfs/extr_dnode.c_hpfs_delete_de.c' source_filename = "AnghaBench/fastsocket/kernel/fs/hpfs/extr_dnode.c_hpfs_delete_de.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 [44 x i8] c"attempt to delete last dirent in dnode %08x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hpfs_delete_de], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hpfs_delete_de(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %1, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @hpfs_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %24 11: ; preds = %3 %12 = load i32, ptr %2, align 8, !tbaa !14 %13 = load i32, ptr %1, align 4, !tbaa !15 %14 = sub nsw i32 %13, %12 store i32 %14, ptr %1, align 4, !tbaa !15 %15 = tail call i32 @de_next_de(ptr noundef nonnull %2) #2 %16 = load i32, ptr %1, align 4, !tbaa !15 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %1, i64 %17 %19 = ptrtoint ptr %18 to i64 %20 = ptrtoint ptr %2 to i64 %21 = sub i64 %19, %20 %22 = trunc i64 %21 to i32 %23 = tail call i32 @memmove(ptr noundef nonnull %2, i32 noundef %15, i32 noundef %22) #2 br label %24 24: ; preds = %11, %7 ret void } declare i32 @hpfs_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @de_next_de(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 = !{!"hpfs_dirent", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"dnode", !8, i64 0, !8, i64 4} !14 = !{!7, !8, i64 0} !15 = !{!13, !8, i64 0}
fastsocket_kernel_fs_hpfs_extr_dnode.c_hpfs_delete_de
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_verbs.c_iser_conn_terminate.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_verbs.c_iser_conn_terminate.c" target datalayout = "e-m:e-p270:32:32-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.iser_conn = type { i64, i32, i32 } @ISER_CONN_UP = dso_local local_unnamed_addr global i32 0, align 4 @ISER_CONN_TERMINATING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Failed to disconnect, conn: 0x%p err %d\0A\00", align 1 @ISER_CONN_DOWN = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @iser_conn_terminate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ISER_CONN_UP, align 4, !tbaa !5 %3 = load i32, ptr @ISER_CONN_TERMINATING, align 4, !tbaa !5 %4 = tail call i32 @iser_conn_state_comp_exch(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = getelementptr inbounds %struct.iser_conn, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = tail call i32 @rdma_disconnect(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %1 %10 = tail call i32 @iser_err(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %7) #2 br label %11 11: ; preds = %9, %1 %12 = getelementptr inbounds %struct.iser_conn, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !12 %14 = load i64, ptr %0, align 8, !tbaa !13 %15 = load i64, ptr @ISER_CONN_DOWN, align 8, !tbaa !14 %16 = icmp eq i64 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 @wait_event_interruptible(i32 noundef %13, i32 noundef %17) #2 %19 = tail call i32 @iser_conn_put(ptr noundef nonnull %0, i32 noundef 1) #2 ret void } declare i32 @iser_conn_state_comp_exch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rdma_disconnect(i32 noundef) local_unnamed_addr #1 declare i32 @iser_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wait_event_interruptible(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iser_conn_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"iser_conn", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0} !14 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_verbs.c_iser_conn_terminate.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_verbs.c_iser_conn_terminate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ISER_CONN_UP = common local_unnamed_addr global i32 0, align 4 @ISER_CONN_TERMINATING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Failed to disconnect, conn: 0x%p err %d\0A\00", align 1 @ISER_CONN_DOWN = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @iser_conn_terminate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ISER_CONN_UP, align 4, !tbaa !6 %3 = load i32, ptr @ISER_CONN_TERMINATING, align 4, !tbaa !6 %4 = tail call i32 @iser_conn_state_comp_exch(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @rdma_disconnect(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %1 %10 = tail call i32 @iser_err(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %7) #2 br label %11 11: ; preds = %9, %1 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !13 %14 = load i64, ptr %0, align 8, !tbaa !14 %15 = load i64, ptr @ISER_CONN_DOWN, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 @wait_event_interruptible(i32 noundef %13, i32 noundef %17) #2 %19 = tail call i32 @iser_conn_put(ptr noundef nonnull %0, i32 noundef 1) #2 ret void } declare i32 @iser_conn_state_comp_exch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rdma_disconnect(i32 noundef) local_unnamed_addr #1 declare i32 @iser_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wait_event_interruptible(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iser_conn_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"iser_conn", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0} !15 = !{!12, !12, i64 0}
fastsocket_kernel_drivers_infiniband_ulp_iser_extr_iser_verbs.c_iser_conn_terminate
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_resolveAbsBranch.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_resolveAbsBranch.c" target datalayout = "e-m:e-p270:32:32-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 [36 x i8] c"Warning -- Unmatched control word: \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @resolveAbsBranch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @resolveAbsBranch(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call ptr @stackPopPtr(i32 noundef %4) #2 %6 = icmp eq ptr %5, %2 br i1 %6, label %13, label %7 7: ; preds = %3 %8 = tail call i64 @strcmp(ptr noundef %5, ptr noundef %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = tail call i32 @vmTextOut(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef 0) #2 %12 = tail call i32 @vmTextOut(ptr noundef nonnull %1, ptr noundef %2, i32 noundef 1) #2 br label %13 13: ; preds = %10, %7, %3 %14 = load i32, ptr %1, align 4, !tbaa !5 %15 = tail call ptr @stackPopPtr(i32 noundef %14) #2 %16 = load i32, ptr %0, align 4, !tbaa !10 %17 = tail call i32 @LVALUEtoCELL(i32 noundef %16) #2 store i32 %17, ptr %15, align 4, !tbaa !12 ret void } declare ptr @stackPopPtr(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vmTextOut(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LVALUEtoCELL(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_7__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_8__", !7, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_resolveAbsBranch.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_resolveAbsBranch.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 [36 x i8] c"Warning -- Unmatched control word: \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @resolveAbsBranch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @resolveAbsBranch(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call ptr @stackPopPtr(i32 noundef %4) #2 %6 = icmp eq ptr %5, %2 br i1 %6, label %13, label %7 7: ; preds = %3 %8 = tail call i64 @strcmp(ptr noundef %5, ptr noundef %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = tail call i32 @vmTextOut(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef 0) #2 %12 = tail call i32 @vmTextOut(ptr noundef nonnull %1, ptr noundef %2, i32 noundef 1) #2 br label %13 13: ; preds = %10, %7, %3 %14 = load i32, ptr %1, align 4, !tbaa !6 %15 = tail call ptr @stackPopPtr(i32 noundef %14) #2 %16 = load i32, ptr %0, align 4, !tbaa !11 %17 = tail call i32 @LVALUEtoCELL(i32 noundef %16) #2 store i32 %17, ptr %15, align 4, !tbaa !13 ret void } declare ptr @stackPopPtr(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vmTextOut(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LVALUEtoCELL(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_7__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_8__", !8, i64 0} !13 = !{!8, !8, i64 0}
freebsd_stand_ficl_extr_words.c_resolveAbsBranch
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_ras.c_kvmppc_cur_subcore_size.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_ras.c_kvmppc_cur_subcore_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" @local_paca = dso_local local_unnamed_addr global ptr null, align 8 @threads_per_subcore = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kvmppc_cur_subcore_size], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @kvmppc_cur_subcore_size() #0 { %1 = load ptr, ptr @local_paca, align 8, !tbaa !5 %2 = load ptr, ptr %1, align 8, !tbaa !9 %3 = icmp eq ptr %2, null %4 = select i1 %3, ptr @threads_per_subcore, ptr %2 %5 = load i32, ptr %4, align 4, !tbaa !12 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_ras.c_kvmppc_cur_subcore_size.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_ras.c_kvmppc_cur_subcore_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @local_paca = common local_unnamed_addr global ptr null, align 8 @threads_per_subcore = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kvmppc_cur_subcore_size], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @kvmppc_cur_subcore_size() #0 { %1 = load ptr, ptr @local_paca, align 8, !tbaa !6 %2 = load ptr, ptr %1, align 8, !tbaa !10 %3 = icmp eq ptr %2, null %4 = select i1 %3, ptr @threads_per_subcore, ptr %2 %5 = load i32, ptr %4, align 4, !tbaa !13 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_6__", !12, i64 0} !12 = !{!"TYPE_5__", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
linux_arch_powerpc_kvm_extr_book3s_hv_ras.c_kvmppc_cur_subcore_size
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_createstdfile.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_createstdfile.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr } @io_noclose = dso_local global i32 0, align 4 @LUA_REGISTRYINDEX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @createstdfile], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @createstdfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @newprefile(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 store ptr %1, ptr %6, align 8, !tbaa !5 store ptr @io_noclose, ptr %5, align 8, !tbaa !10 %7 = icmp eq ptr %2, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -1) #2 %10 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !11 %11 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef %10, ptr noundef nonnull %2) #2 br label %12 12: ; preds = %8, %4 %13 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef %3) #2 ret void } declare ptr @newprefile(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_createstdfile.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_createstdfile.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @io_noclose = common global i32 0, align 4 @LUA_REGISTRYINDEX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @createstdfile], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @createstdfile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @newprefile(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %1, ptr %6, align 8, !tbaa !6 store ptr @io_noclose, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %2, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -1) #2 %10 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !12 %11 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef %10, ptr noundef nonnull %2) #2 br label %12 12: ; preds = %8, %4 %13 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef %3) #2 ret void } declare ptr @newprefile(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
xLua_build_lua-5.3.3_src_extr_liolib.c_createstdfile
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_sysz.c_the_end.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_sysz.c_the_end.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cd = dso_local global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @the_end], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @the_end(ptr nocapture readnone %0) #0 { %2 = load i64, ptr @cd, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @cs_close(ptr noundef nonnull @cd) #2 store i64 0, ptr @cd, align 8, !tbaa !5 br label %6 6: ; preds = %4, %1 ret i32 1 } declare i32 @cs_close(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"}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_sysz.c_the_end.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_sysz.c_the_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cd = common global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @the_end], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @the_end(ptr nocapture readnone %0) #0 { %2 = load i64, ptr @cd, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @cs_close(ptr noundef nonnull @cd) #2 store i64 0, ptr @cd, align 8, !tbaa !6 br label %6 6: ; preds = %4, %1 ret i32 1 } declare i32 @cs_close(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"}
radare2_libr_asm_p_extr_asm_sysz.c_the_end
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_main.c_e1000_is_need_ioport.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_main.c_e1000_is_need_ioport.c" target datalayout = "e-m:e-p270:32:32-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 @e1000_is_need_ioport], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @e1000_is_need_ioport(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = add i32 %2, -128 %4 = icmp ult i32 %3, 21 %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pci_dev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_main.c_e1000_is_need_ioport.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_main.c_e1000_is_need_ioport.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 @e1000_is_need_ioport], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @e1000_is_need_ioport(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = add i32 %2, -128 %4 = icmp ult i32 %3, 21 %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pci_dev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_intel_e1000_extr_e1000_main.c_e1000_is_need_ioport
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_mmap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_mmap.c" target datalayout = "e-m:e-p270:32:32-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.vm_area_struct = type { i64, i64, i64, i32, ptr, ptr, ptr, i32 } %struct.vino_channel_settings = type { i32, i32, i64 } %struct.vino_framebuffer = type { i64, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, ptr } @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [9 x i8] c"mmap():\0A\00", align 1 @EINTR = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @VM_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"mmap(): app bug: PROT_WRITE please\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @VM_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"mmap(): app bug: MAP_SHARED please\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"mmap(): queue not initialized\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"mmap(): vino_queue_get_buffer() failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"mmap(): invalid offset = %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"mmap(): buffer = %d\0A\00", align 1 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [34 x i8] c"mmap(): failed: size = %lu > %lu\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"mmap(): remap_pfn_range() failed\0A\00", align 1 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @VM_DONTEXPAND = dso_local local_unnamed_addr global i32 0, align 4 @VM_RESERVED = dso_local local_unnamed_addr global i32 0, align 4 @VM_IO = dso_local local_unnamed_addr global i32 0, align 4 @vino_vm_ops = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vino_mmap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vino_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @video_drvdata(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = sub i64 %6, %4 %8 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !14 %11 = shl i64 %9, %10 %12 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str) #2 %13 = tail call i64 @mutex_lock_interruptible(ptr noundef %3) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = load i32, ptr @EINTR, align 4, !tbaa !15 %17 = sub nsw i32 0, %16 br label %131 18: ; preds = %2 %19 = getelementptr inbounds %struct.vino_channel_settings, ptr %3, i64 0, i32 2 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = icmp eq i64 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = load i32, ptr @EBUSY, align 4, !tbaa !15 %24 = sub nsw i32 0, %23 br label %128 25: ; preds = %18 %26 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 3 %27 = load i32, ptr %26, align 8, !tbaa !18 %28 = load i32, ptr @VM_WRITE, align 4, !tbaa !15 %29 = and i32 %28, %27 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %25 %32 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.1) #2 %33 = load i32, ptr @EINVAL, align 4, !tbaa !15 %34 = sub nsw i32 0, %33 br label %128 35: ; preds = %25 %36 = load i32, ptr @VM_SHARED, align 4, !tbaa !15 %37 = and i32 %36, %27 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.2) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !15 %42 = sub nsw i32 0, %41 br label %128 43: ; preds = %35 %44 = getelementptr inbounds %struct.vino_channel_settings, ptr %3, i64 0, i32 1 %45 = tail call i32 @vino_queue_get_length(ptr noundef nonnull %44) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.3) #2 %49 = load i32, ptr @EINVAL, align 4, !tbaa !15 %50 = sub nsw i32 0, %49 br label %128 51: ; preds = %43, %62 %52 = phi i32 [ %63, %62 ], [ 0, %43 ] %53 = tail call ptr @vino_queue_get_buffer(ptr noundef nonnull %44, i32 noundef %52) #2 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %59 55: ; preds = %51 %56 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.4) #2 %57 = load i32, ptr @EINVAL, align 4, !tbaa !15 %58 = sub nsw i32 0, %57 br label %128 59: ; preds = %51 %60 = load i64, ptr %53, align 8, !tbaa !19 %61 = icmp eq i64 %60, %11 br i1 %61, label %69, label %62 62: ; preds = %59 %63 = add nuw i32 %52, 1 %64 = icmp eq i32 %63, %45 br i1 %64, label %65, label %51, !llvm.loop !22 65: ; preds = %62 %66 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.5, i64 noundef %11) #2 %67 = load i32, ptr @EINVAL, align 4, !tbaa !15 %68 = sub nsw i32 0, %67 br label %128 69: ; preds = %59 %70 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.6, i32 noundef %52) #2 %71 = getelementptr inbounds %struct.vino_framebuffer, ptr %53, i64 0, i32 2 %72 = load i64, ptr %71, align 8, !tbaa !24 %73 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !14 %74 = mul i64 %73, %72 %75 = icmp ugt i64 %7, %74 br i1 %75, label %81, label %76 76: ; preds = %69 %77 = icmp eq i64 %72, 0 br i1 %77, label %115, label %78 78: ; preds = %76 %79 = getelementptr inbounds %struct.vino_framebuffer, ptr %53, i64 0, i32 2, i32 1 %80 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 7 br label %85 81: ; preds = %69 %82 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.7, i64 noundef %7, i64 noundef %74) #2 %83 = load i32, ptr @EINVAL, align 4, !tbaa !15 %84 = sub nsw i32 0, %83 br label %128 85: ; preds = %78, %107 %86 = phi i64 [ 0, %78 ], [ %112, %107 ] %87 = phi i64 [ %4, %78 ], [ %109, %107 ] %88 = phi i32 [ 0, %78 ], [ %111, %107 ] %89 = phi i64 [ %7, %78 ], [ %110, %107 ] %90 = load ptr, ptr %79, align 8, !tbaa !25 %91 = getelementptr inbounds i64, ptr %90, i64 %86 %92 = load i64, ptr %91, align 8, !tbaa !14 %93 = inttoptr i64 %92 to ptr %94 = tail call i64 @virt_to_phys(ptr noundef %93) #2 %95 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !14 %96 = icmp ult i64 %89, %95 br i1 %96, label %115, label %97 97: ; preds = %85 %98 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !14 %99 = lshr i64 %94, %98 %100 = load i32, ptr %80, align 8, !tbaa !26 %101 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %87, i64 noundef %99, i64 noundef %95, i32 noundef %100) #2 %102 = icmp eq i64 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %97 %104 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.8) #2 %105 = load i32, ptr @EAGAIN, align 4, !tbaa !15 %106 = sub nsw i32 0, %105 br label %128 107: ; preds = %97 %108 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !14 %109 = add i64 %108, %87 %110 = sub i64 %89, %108 %111 = add i32 %88, 1 %112 = zext i32 %111 to i64 %113 = load i64, ptr %71, align 8, !tbaa !24 %114 = icmp ugt i64 %113, %112 br i1 %114, label %85, label %115, !llvm.loop !27 115: ; preds = %107, %85, %76 %116 = getelementptr inbounds %struct.vino_framebuffer, ptr %53, i64 0, i32 1 store i32 1, ptr %116, align 8, !tbaa !28 %117 = load i32, ptr @VM_DONTEXPAND, align 4, !tbaa !15 %118 = load i32, ptr @VM_RESERVED, align 4, !tbaa !15 %119 = or i32 %118, %117 %120 = load i32, ptr %26, align 8, !tbaa !18 %121 = or i32 %119, %120 %122 = load i32, ptr @VM_IO, align 4, !tbaa !15 %123 = xor i32 %122, -1 %124 = and i32 %121, %123 store i32 %124, ptr %26, align 8, !tbaa !18 %125 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 6 store ptr %53, ptr %125, align 8, !tbaa !29 %126 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 5 store ptr %0, ptr %126, align 8, !tbaa !30 %127 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 4 store ptr @vino_vm_ops, ptr %127, align 8, !tbaa !31 br label %128 128: ; preds = %103, %115, %81, %65, %55, %47, %39, %31, %22 %129 = phi i32 [ %24, %22 ], [ %50, %47 ], [ %58, %55 ], [ %84, %81 ], [ %106, %103 ], [ 0, %115 ], [ %68, %65 ], [ %42, %39 ], [ %34, %31 ] %130 = tail call i32 @mutex_unlock(ptr noundef %3) #2 br label %131 131: ; preds = %128, %15 %132 = phi i32 [ %17, %15 ], [ %129, %128 ] ret i32 %132 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(ptr noundef, ...) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @vino_queue_get_length(ptr noundef) local_unnamed_addr #1 declare ptr @vino_queue_get_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @virt_to_phys(ptr noundef) local_unnamed_addr #1 declare i64 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vm_area_struct", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !10, i64 56} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 16} !14 = !{!7, !7, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!17, !7, i64 8} !17 = !{!"vino_channel_settings", !10, i64 0, !10, i64 4, !7, i64 8} !18 = !{!6, !10, i64 24} !19 = !{!20, !7, i64 0} !20 = !{!"vino_framebuffer", !7, i64 0, !10, i64 8, !21, i64 16} !21 = !{!"TYPE_2__", !7, i64 0, !11, i64 8} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!20, !7, i64 16} !25 = !{!20, !11, i64 24} !26 = !{!6, !10, i64 56} !27 = distinct !{!27, !23} !28 = !{!20, !10, i64 8} !29 = !{!6, !11, i64 48} !30 = !{!6, !11, i64 40} !31 = !{!6, !11, i64 32}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_mmap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_vino.c_vino_mmap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [9 x i8] c"mmap():\0A\00", align 1 @EINTR = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @VM_WRITE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"mmap(): app bug: PROT_WRITE please\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @VM_SHARED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"mmap(): app bug: MAP_SHARED please\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"mmap(): queue not initialized\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"mmap(): vino_queue_get_buffer() failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"mmap(): invalid offset = %lu\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"mmap(): buffer = %d\0A\00", align 1 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [34 x i8] c"mmap(): failed: size = %lu > %lu\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"mmap(): remap_pfn_range() failed\0A\00", align 1 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @VM_DONTEXPAND = common local_unnamed_addr global i32 0, align 4 @VM_RESERVED = common local_unnamed_addr global i32 0, align 4 @VM_IO = common local_unnamed_addr global i32 0, align 4 @vino_vm_ops = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vino_mmap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vino_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @video_drvdata(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = sub i64 %6, %4 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !15 %11 = shl i64 %9, %10 %12 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str) #2 %13 = tail call i64 @mutex_lock_interruptible(ptr noundef %3) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = load i32, ptr @EINTR, align 4, !tbaa !16 %17 = sub nsw i32 0, %16 br label %131 18: ; preds = %2 %19 = getelementptr inbounds i8, ptr %3, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = load i32, ptr @EBUSY, align 4, !tbaa !16 %24 = sub nsw i32 0, %23 br label %128 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %1, i64 24 %27 = load i32, ptr %26, align 8, !tbaa !19 %28 = load i32, ptr @VM_WRITE, align 4, !tbaa !16 %29 = and i32 %28, %27 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %25 %32 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.1) #2 %33 = load i32, ptr @EINVAL, align 4, !tbaa !16 %34 = sub nsw i32 0, %33 br label %128 35: ; preds = %25 %36 = load i32, ptr @VM_SHARED, align 4, !tbaa !16 %37 = and i32 %36, %27 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.2) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !16 %42 = sub nsw i32 0, %41 br label %128 43: ; preds = %35 %44 = getelementptr inbounds i8, ptr %3, i64 4 %45 = tail call i32 @vino_queue_get_length(ptr noundef nonnull %44) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.3) #2 %49 = load i32, ptr @EINVAL, align 4, !tbaa !16 %50 = sub nsw i32 0, %49 br label %128 51: ; preds = %43, %62 %52 = phi i32 [ %63, %62 ], [ 0, %43 ] %53 = tail call ptr @vino_queue_get_buffer(ptr noundef nonnull %44, i32 noundef %52) #2 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %59 55: ; preds = %51 %56 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.4) #2 %57 = load i32, ptr @EINVAL, align 4, !tbaa !16 %58 = sub nsw i32 0, %57 br label %128 59: ; preds = %51 %60 = load i64, ptr %53, align 8, !tbaa !20 %61 = icmp eq i64 %60, %11 br i1 %61, label %69, label %62 62: ; preds = %59 %63 = add nuw i32 %52, 1 %64 = icmp eq i32 %63, %45 br i1 %64, label %65, label %51, !llvm.loop !23 65: ; preds = %62 %66 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.5, i64 noundef %11) #2 %67 = load i32, ptr @EINVAL, align 4, !tbaa !16 %68 = sub nsw i32 0, %67 br label %128 69: ; preds = %59 %70 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.6, i32 noundef %52) #2 %71 = getelementptr inbounds i8, ptr %53, i64 16 %72 = load i64, ptr %71, align 8, !tbaa !25 %73 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !15 %74 = mul i64 %73, %72 %75 = icmp ugt i64 %7, %74 br i1 %75, label %81, label %76 76: ; preds = %69 %77 = icmp eq i64 %72, 0 br i1 %77, label %115, label %78 78: ; preds = %76 %79 = getelementptr inbounds i8, ptr %53, i64 24 %80 = getelementptr inbounds i8, ptr %1, i64 56 br label %85 81: ; preds = %69 %82 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.7, i64 noundef %7, i64 noundef %74) #2 %83 = load i32, ptr @EINVAL, align 4, !tbaa !16 %84 = sub nsw i32 0, %83 br label %128 85: ; preds = %78, %107 %86 = phi i64 [ 0, %78 ], [ %112, %107 ] %87 = phi i64 [ %4, %78 ], [ %109, %107 ] %88 = phi i32 [ 0, %78 ], [ %111, %107 ] %89 = phi i64 [ %7, %78 ], [ %110, %107 ] %90 = load ptr, ptr %79, align 8, !tbaa !26 %91 = getelementptr inbounds i64, ptr %90, i64 %86 %92 = load i64, ptr %91, align 8, !tbaa !15 %93 = inttoptr i64 %92 to ptr %94 = tail call i64 @virt_to_phys(ptr noundef %93) #2 %95 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !15 %96 = icmp ult i64 %89, %95 br i1 %96, label %115, label %97 97: ; preds = %85 %98 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !15 %99 = lshr i64 %94, %98 %100 = load i32, ptr %80, align 8, !tbaa !27 %101 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %87, i64 noundef %99, i64 noundef %95, i32 noundef %100) #2 %102 = icmp eq i64 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %97 %104 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.8) #2 %105 = load i32, ptr @EAGAIN, align 4, !tbaa !16 %106 = sub nsw i32 0, %105 br label %128 107: ; preds = %97 %108 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !15 %109 = add i64 %108, %87 %110 = sub i64 %89, %108 %111 = add i32 %88, 1 %112 = zext i32 %111 to i64 %113 = load i64, ptr %71, align 8, !tbaa !25 %114 = icmp ugt i64 %113, %112 br i1 %114, label %85, label %115, !llvm.loop !28 115: ; preds = %107, %85, %76 %116 = getelementptr inbounds i8, ptr %53, i64 8 store i32 1, ptr %116, align 8, !tbaa !29 %117 = load i32, ptr @VM_DONTEXPAND, align 4, !tbaa !16 %118 = load i32, ptr @VM_RESERVED, align 4, !tbaa !16 %119 = or i32 %118, %117 %120 = load i32, ptr %26, align 8, !tbaa !19 %121 = or i32 %119, %120 %122 = load i32, ptr @VM_IO, align 4, !tbaa !16 %123 = xor i32 %122, -1 %124 = and i32 %121, %123 store i32 %124, ptr %26, align 8, !tbaa !19 %125 = getelementptr inbounds i8, ptr %1, i64 48 store ptr %53, ptr %125, align 8, !tbaa !30 %126 = getelementptr inbounds i8, ptr %1, i64 40 store ptr %0, ptr %126, align 8, !tbaa !31 %127 = getelementptr inbounds i8, ptr %1, i64 32 store ptr @vino_vm_ops, ptr %127, align 8, !tbaa !32 br label %128 128: ; preds = %103, %115, %81, %65, %55, %47, %39, %31, %22 %129 = phi i32 [ %24, %22 ], [ %50, %47 ], [ %58, %55 ], [ %84, %81 ], [ %106, %103 ], [ 0, %115 ], [ %68, %65 ], [ %42, %39 ], [ %34, %31 ] %130 = tail call i32 @mutex_unlock(ptr noundef %3) #2 br label %131 131: ; preds = %128, %15 %132 = phi i32 [ %17, %15 ], [ %129, %128 ] ret i32 %132 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(ptr noundef, ...) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @vino_queue_get_length(ptr noundef) local_unnamed_addr #1 declare ptr @vino_queue_get_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @virt_to_phys(ptr noundef) local_unnamed_addr #1 declare i64 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vm_area_struct", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !11, i64 56} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 16} !15 = !{!8, !8, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"vino_channel_settings", !11, i64 0, !11, i64 4, !8, i64 8} !19 = !{!7, !11, i64 24} !20 = !{!21, !8, i64 0} !21 = !{!"vino_framebuffer", !8, i64 0, !11, i64 8, !22, i64 16} !22 = !{!"TYPE_2__", !8, i64 0, !12, i64 8} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!21, !8, i64 16} !26 = !{!21, !12, i64 24} !27 = !{!7, !11, i64 56} !28 = distinct !{!28, !24} !29 = !{!21, !11, i64 8} !30 = !{!7, !12, i64 48} !31 = !{!7, !12, i64 40} !32 = !{!7, !12, i64 32}
fastsocket_kernel_drivers_media_video_extr_vino.c_vino_mmap
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/Osd/extr_OsdMemory.c_AcpiOsWritable.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/Osd/extr_OsdMemory.c_AcpiOsWritable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @AcpiOsWritable(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @TRUE, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/Osd/extr_OsdMemory.c_AcpiOsWritable.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/Osd/extr_OsdMemory.c_AcpiOsWritable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @AcpiOsWritable(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @TRUE, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_acpica_Osd_extr_OsdMemory.c_AcpiOsWritable
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_cred_check_setegid.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_cred_check_setegid.c" target datalayout = "e-m:e-p270:32:32-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 @stub_cred_check_setegid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @stub_cred_check_setegid(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_cred_check_setegid.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_cred_check_setegid.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 @stub_cred_check_setegid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @stub_cred_check_setegid(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_security_mac_stub_extr_mac_stub.c_stub_cred_check_setegid
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/ipmi/extr_ipmi_msghandler.c_is_ipmb_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/ipmi/extr_ipmi_msghandler.c_is_ipmb_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" @IPMI_IPMB_ADDR_TYPE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_ipmb_addr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @is_ipmb_addr(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @IPMI_IPMB_ADDR_TYPE, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } 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 = !{!"ipmi_addr", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/ipmi/extr_ipmi_msghandler.c_is_ipmb_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/ipmi/extr_ipmi_msghandler.c_is_ipmb_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IPMI_IPMB_ADDR_TYPE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @is_ipmb_addr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @is_ipmb_addr(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @IPMI_IPMB_ADDR_TYPE, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } 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 = !{!"ipmi_addr", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_char_ipmi_extr_ipmi_msghandler.c_is_ipmb_addr
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_include....uwbincludespec.h_uwb_ie_drp_stream_index.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_include....uwbincludespec.h_uwb_ie_drp_stream_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @uwb_ie_drp_stream_index], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @uwb_ie_drp_stream_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @le16_to_cpu(i32 noundef %2) #2 %4 = lshr i32 %3, 3 %5 = and i32 %4, 7 ret i32 %5 } declare i32 @le16_to_cpu(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, !7, i64 0} !6 = !{!"uwb_ie_drp", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_include....uwbincludespec.h_uwb_ie_drp_stream_index.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_include....uwbincludespec.h_uwb_ie_drp_stream_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @uwb_ie_drp_stream_index], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 8) i32 @uwb_ie_drp_stream_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @le16_to_cpu(i32 noundef %2) #2 %4 = lshr i32 %3, 3 %5 = and i32 %4, 7 ret i32 %5 } declare i32 @le16_to_cpu(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, !8, i64 0} !7 = !{!"uwb_ie_drp", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_wusbcore_extr_include....uwbincludespec.h_uwb_ie_drp_stream_index
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_metaslab.c_metaslab_is_unique.c' source_filename = "AnghaBench/zfs/module/zfs/extr_metaslab.c_metaslab_is_unique.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, ptr } %struct.TYPE_5__ = type { i64, i32 } @B_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @metaslab_is_unique], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @metaslab_is_unique(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i64 @DVA_GET_ASIZE(ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i32, ptr @B_TRUE, align 4, !tbaa !5 br label %26 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = tail call i64 @DVA_GET_VDEV(ptr noundef %1) #2 %13 = icmp eq i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %7 %15 = load i32, ptr @B_TRUE, align 4, !tbaa !5 br label %26 16: ; preds = %7 %17 = tail call i32 @DVA_GET_OFFSET(ptr noundef %1) #2 %18 = load ptr, ptr %8, align 8, !tbaa !9 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = ashr i32 %17, %21 %23 = load i32, ptr %0, align 8, !tbaa !18 %24 = icmp ne i32 %23, %22 %25 = zext i1 %24 to i32 br label %26 26: ; preds = %16, %14, %5 %27 = phi i32 [ %6, %5 ], [ %15, %14 ], [ %25, %16 ] ret i32 %27 } declare i64 @DVA_GET_ASIZE(ptr noundef) local_unnamed_addr #1 declare i64 @DVA_GET_VDEV(ptr noundef) local_unnamed_addr #1 declare i32 @DVA_GET_OFFSET(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_7__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_5__", !16, i64 0, !6, i64 8} !16 = !{!"long", !7, i64 0} !17 = !{!15, !6, i64 8} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_metaslab.c_metaslab_is_unique.c' source_filename = "AnghaBench/zfs/module/zfs/extr_metaslab.c_metaslab_is_unique.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B_TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @metaslab_is_unique], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @metaslab_is_unique(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i64 @DVA_GET_ASIZE(ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i32, ptr @B_TRUE, align 4, !tbaa !6 br label %26 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = tail call i64 @DVA_GET_VDEV(ptr noundef %1) #2 %13 = icmp eq i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %7 %15 = load i32, ptr @B_TRUE, align 4, !tbaa !6 br label %26 16: ; preds = %7 %17 = tail call i32 @DVA_GET_OFFSET(ptr noundef %1) #2 %18 = load ptr, ptr %8, align 8, !tbaa !10 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = ashr i32 %17, %21 %23 = load i32, ptr %0, align 8, !tbaa !19 %24 = icmp ne i32 %23, %22 %25 = zext i1 %24 to i32 br label %26 26: ; preds = %16, %14, %5 %27 = phi i32 [ %6, %5 ], [ %15, %14 ], [ %25, %16 ] ret i32 %27 } declare i64 @DVA_GET_ASIZE(ptr noundef) local_unnamed_addr #1 declare i64 @DVA_GET_VDEV(ptr noundef) local_unnamed_addr #1 declare i32 @DVA_GET_OFFSET(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_7__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_6__", !12, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_5__", !17, i64 0, !7, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!16, !7, i64 8} !19 = !{!11, !7, i64 0}
zfs_module_zfs_extr_metaslab.c_metaslab_is_unique
; ModuleID = 'AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetFramebufferSize.c' source_filename = "AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetFramebufferSize.c" target datalayout = "e-m:e-p270:32:32-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 @_glfwPlatformGetFramebufferSize(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_glfwPlatformGetWindowSize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 ret void } declare i32 @_glfwPlatformGetWindowSize(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/glfw/src/extr_x11_window.c__glfwPlatformGetFramebufferSize.c' source_filename = "AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetFramebufferSize.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 @_glfwPlatformGetFramebufferSize(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_glfwPlatformGetWindowSize(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 ret void } declare i32 @_glfwPlatformGetWindowSize(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)"}
glfw_src_extr_x11_window.c__glfwPlatformGetFramebufferSize
; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_uint_action_left_custom_viewport_width.c' source_filename = "AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_uint_action_left_custom_viewport_width.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, float } %struct.retro_game_geometry = type { i32, i32 } %struct.TYPE_11__ = type { float } @aspectratio_lut = dso_local local_unnamed_addr global ptr null, align 8 @ASPECT_RATIO_CUSTOM = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @setting_uint_action_left_custom_viewport_width], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @setting_uint_action_left_custom_viewport_width(ptr nocapture readnone %0, i32 %1) #0 { %3 = alloca %struct.TYPE_9__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr (...) @video_viewport_get_system_av_info() #3 %5 = tail call ptr (...) @video_viewport_get_custom() #3 %6 = tail call ptr (...) @config_get_ptr() #3 %7 = icmp ne ptr %6, null %8 = icmp ne ptr %4, null %9 = select i1 %7, i1 %8, i1 false br i1 %9, label %10, label %46 10: ; preds = %2 %11 = call i32 @video_driver_get_viewport_info(ptr noundef nonnull %3) #3 %12 = load i32, ptr %5, align 4, !tbaa !5 %13 = icmp slt i32 %12, 2 br i1 %13, label %35, label %14 14: ; preds = %10 %15 = load i64, ptr %6, align 8, !tbaa !11 %16 = icmp eq i64 %15, 0 br i1 %16, label %33, label %17 17: ; preds = %14 %18 = call i32 (...) @retroarch_get_rotation() #3 %19 = and i32 %18, 1 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr %5, align 4, !tbaa !5 br i1 %20, label %27, label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4, !tbaa !15 %24 = icmp sgt i32 %21, %23 br i1 %24, label %25, label %37 25: ; preds = %22 %26 = sub nsw i32 %21, %23 br label %35 27: ; preds = %17 %28 = getelementptr inbounds %struct.retro_game_geometry, ptr %4, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = icmp sgt i32 %21, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = sub nsw i32 %21, %29 br label %35 33: ; preds = %14 %34 = add nsw i32 %12, -1 br label %35 35: ; preds = %10, %25, %31, %33 %36 = phi i32 [ %34, %33 ], [ %32, %31 ], [ %26, %25 ], [ 1, %10 ] store i32 %36, ptr %5, align 4, !tbaa !5 br label %37 37: ; preds = %35, %27, %22 %38 = phi i32 [ %21, %27 ], [ %21, %22 ], [ %36, %35 ] %39 = sitofp i32 %38 to float %40 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 1 %41 = load float, ptr %40, align 4, !tbaa !18 %42 = fdiv float %39, %41 %43 = load ptr, ptr @aspectratio_lut, align 8, !tbaa !19 %44 = load i64, ptr @ASPECT_RATIO_CUSTOM, align 8, !tbaa !21 %45 = getelementptr inbounds %struct.TYPE_11__, ptr %43, i64 %44 store float %42, ptr %45, align 4, !tbaa !22 br label %46 46: ; preds = %2, %37 %47 = phi i32 [ 0, %37 ], [ -1, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %47 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @video_viewport_get_system_av_info(...) local_unnamed_addr #2 declare ptr @video_viewport_get_custom(...) local_unnamed_addr #2 declare ptr @config_get_ptr(...) local_unnamed_addr #2 declare i32 @video_driver_get_viewport_info(ptr noundef) local_unnamed_addr #2 declare i32 @retroarch_get_rotation(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"float", !8, i64 0} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_10__", !13, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"retro_game_geometry", !7, i64 0, !7, i64 4} !17 = !{!16, !7, i64 4} !18 = !{!6, !10, i64 4} !19 = !{!20, !20, i64 0} !20 = !{!"any pointer", !8, i64 0} !21 = !{!14, !14, i64 0} !22 = !{!23, !10, i64 0} !23 = !{!"TYPE_11__", !10, i64 0}
; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_uint_action_left_custom_viewport_width.c' source_filename = "AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_uint_action_left_custom_viewport_width.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32, float } %struct.TYPE_11__ = type { float } @aspectratio_lut = common local_unnamed_addr global ptr null, align 8 @ASPECT_RATIO_CUSTOM = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @setting_uint_action_left_custom_viewport_width], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @setting_uint_action_left_custom_viewport_width(ptr nocapture readnone %0, i32 %1) #0 { %3 = alloca %struct.TYPE_9__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr @video_viewport_get_system_av_info() #3 %5 = tail call ptr @video_viewport_get_custom() #3 %6 = tail call ptr @config_get_ptr() #3 %7 = icmp ne ptr %6, null %8 = icmp ne ptr %4, null %9 = select i1 %7, i1 %8, i1 false br i1 %9, label %10, label %46 10: ; preds = %2 %11 = call i32 @video_driver_get_viewport_info(ptr noundef nonnull %3) #3 %12 = load i32, ptr %5, align 4, !tbaa !6 %13 = icmp slt i32 %12, 2 br i1 %13, label %35, label %14 14: ; preds = %10 %15 = load i64, ptr %6, align 8, !tbaa !12 %16 = icmp eq i64 %15, 0 br i1 %16, label %33, label %17 17: ; preds = %14 %18 = call i32 @retroarch_get_rotation() #3 %19 = and i32 %18, 1 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr %5, align 4, !tbaa !6 br i1 %20, label %27, label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4, !tbaa !16 %24 = icmp sgt i32 %21, %23 br i1 %24, label %25, label %37 25: ; preds = %22 %26 = sub nsw i32 %21, %23 br label %35 27: ; preds = %17 %28 = getelementptr inbounds i8, ptr %4, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !18 %30 = icmp sgt i32 %21, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = sub nsw i32 %21, %29 br label %35 33: ; preds = %14 %34 = add nsw i32 %12, -1 br label %35 35: ; preds = %10, %25, %31, %33 %36 = phi i32 [ %34, %33 ], [ %32, %31 ], [ %26, %25 ], [ 1, %10 ] store i32 %36, ptr %5, align 4, !tbaa !6 br label %37 37: ; preds = %35, %27, %22 %38 = phi i32 [ %21, %27 ], [ %21, %22 ], [ %36, %35 ] %39 = sitofp i32 %38 to float %40 = getelementptr inbounds i8, ptr %5, i64 4 %41 = load float, ptr %40, align 4, !tbaa !19 %42 = fdiv float %39, %41 %43 = load ptr, ptr @aspectratio_lut, align 8, !tbaa !20 %44 = load i64, ptr @ASPECT_RATIO_CUSTOM, align 8, !tbaa !22 %45 = getelementptr inbounds %struct.TYPE_11__, ptr %43, i64 %44 store float %42, ptr %45, align 4, !tbaa !23 br label %46 46: ; preds = %2, %37 %47 = phi i32 [ 0, %37 ], [ -1, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %47 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @video_viewport_get_system_av_info(...) local_unnamed_addr #2 declare ptr @video_viewport_get_custom(...) local_unnamed_addr #2 declare ptr @config_get_ptr(...) local_unnamed_addr #2 declare i32 @video_driver_get_viewport_info(ptr noundef) local_unnamed_addr #2 declare i32 @retroarch_get_rotation(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"float", !9, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"retro_game_geometry", !8, i64 0, !8, i64 4} !18 = !{!17, !8, i64 4} !19 = !{!7, !11, i64 4} !20 = !{!21, !21, i64 0} !21 = !{!"any pointer", !9, i64 0} !22 = !{!15, !15, i64 0} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_11__", !11, i64 0}
RetroArch_menu_extr_menu_setting.c_setting_uint_action_left_custom_viewport_width
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_error_tasklet.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_error_tasklet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @kr_errmask = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qib_error_tasklet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qib_error_tasklet(i64 noundef %0) #0 { %2 = inttoptr i64 %0 to ptr %3 = tail call i32 @handle_7322_errors(ptr noundef %2) #2 %4 = load i32, ptr @kr_errmask, align 4, !tbaa !5 %5 = load ptr, ptr %2, align 8, !tbaa !9 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @qib_write_kreg(ptr noundef nonnull %2, i32 noundef %4, i32 noundef %6) #2 ret void } declare i32 @handle_7322_errors(ptr noundef) local_unnamed_addr #1 declare i32 @qib_write_kreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"qib_devdata", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_error_tasklet.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_error_tasklet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kr_errmask = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qib_error_tasklet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qib_error_tasklet(i64 noundef %0) #0 { %2 = inttoptr i64 %0 to ptr %3 = tail call i32 @handle_7322_errors(ptr noundef %2) #2 %4 = load i32, ptr @kr_errmask, align 4, !tbaa !6 %5 = load ptr, ptr %2, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @qib_write_kreg(ptr noundef nonnull %2, i32 noundef %4, i32 noundef %6) #2 ret void } declare i32 @handle_7322_errors(ptr noundef) local_unnamed_addr #1 declare i32 @qib_write_kreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"qib_devdata", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0}
linux_drivers_infiniband_hw_qib_extr_qib_iba7322.c_qib_error_tasklet
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_core.c_regulator_set_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_core.c_regulator_set_voltage.c" target datalayout = "e-m:e-p270:32:32-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.regulator = type { i32, i32, ptr } %struct.regulator_dev = type { i32, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @REGULATOR_EVENT_VOLTAGE_CHANGE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @regulator_set_voltage(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !5 store i32 %2, ptr %5, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.regulator, ptr %0, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = tail call i32 @mutex_lock(ptr noundef %7) #2 %9 = getelementptr inbounds %struct.regulator_dev, ptr %7, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %28 17: ; preds = %3 %18 = call i32 @regulator_check_voltage(ptr noundef nonnull %7, ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4, !tbaa !5 store i32 %21, ptr %0, align 8, !tbaa !18 %22 = load i32, ptr %5, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.regulator, ptr %0, i64 0, i32 1 store i32 %22, ptr %23, align 4, !tbaa !19 %24 = load ptr, ptr %9, align 8, !tbaa !12 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = load ptr, ptr %25, align 8, !tbaa !16 %27 = call i32 %26(ptr noundef nonnull %7, i32 noundef %21, i32 noundef %22) #2 br label %28 28: ; preds = %17, %20, %14 %29 = phi i32 [ %18, %17 ], [ %27, %20 ], [ %16, %14 ] %30 = load i32, ptr @REGULATOR_EVENT_VOLTAGE_CHANGE, align 4, !tbaa !5 %31 = call i32 @_notifier_call_chain(ptr noundef nonnull %7, i32 noundef %30, ptr noundef null) #2 %32 = call i32 @mutex_unlock(ptr noundef nonnull %7) #2 ret i32 %29 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_check_voltage(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"regulator", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"regulator_dev", !6, i64 0, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_4__", !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0} !18 = !{!10, !6, i64 0} !19 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_core.c_regulator_set_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_core.c_regulator_set_voltage.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 @REGULATOR_EVENT_VOLTAGE_CHANGE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @regulator_set_voltage(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !6 store i32 %2, ptr %5, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = tail call i32 @mutex_lock(ptr noundef %7) #2 %9 = getelementptr inbounds i8, ptr %7, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = load ptr, ptr %11, align 8, !tbaa !17 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %28 17: ; preds = %3 %18 = call i32 @regulator_check_voltage(ptr noundef nonnull %7, ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4, !tbaa !6 store i32 %21, ptr %0, align 8, !tbaa !19 %22 = load i32, ptr %5, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %22, ptr %23, align 4, !tbaa !20 %24 = load ptr, ptr %9, align 8, !tbaa !13 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = load ptr, ptr %25, align 8, !tbaa !17 %27 = call i32 %26(ptr noundef nonnull %7, i32 noundef %21, i32 noundef %22) #2 br label %28 28: ; preds = %17, %20, %14 %29 = phi i32 [ %18, %17 ], [ %27, %20 ], [ %16, %14 ] %30 = load i32, ptr @REGULATOR_EVENT_VOLTAGE_CHANGE, align 4, !tbaa !6 %31 = call i32 @_notifier_call_chain(ptr noundef nonnull %7, i32 noundef %30, ptr noundef null) #2 %32 = call i32 @mutex_unlock(ptr noundef nonnull %7) #2 ret i32 %29 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_check_voltage(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"regulator", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"regulator_dev", !7, i64 0, !12, i64 8} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_4__", !12, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_3__", !12, i64 0} !19 = !{!11, !7, i64 0} !20 = !{!11, !7, i64 4}
fastsocket_kernel_drivers_regulator_extr_core.c_regulator_set_voltage
; ModuleID = 'AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_http_send_digest_auth_request.c' source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_http_send_digest_auth_request.c" target datalayout = "e-m:e-p270:32:32-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 [111 x i8] c"HTTP/1.1 401 Unauthorized\0D\0AWWW-Authenticate: Digest qop=\22auth\22, realm=\22%s\22, nonce=\22%lx\22\0D\0AContent-Length: 0\0D\0A\0D\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @mg_http_send_digest_auth_request(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 (...) @mg_time() #2 %4 = tail call i32 @mg_printf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1, i64 noundef %3) #2 ret void } declare i32 @mg_printf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @mg_time(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_http_send_digest_auth_request.c' source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_http_send_digest_auth_request.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 [111 x i8] c"HTTP/1.1 401 Unauthorized\0D\0AWWW-Authenticate: Digest qop=\22auth\22, realm=\22%s\22, nonce=\22%lx\22\0D\0AContent-Length: 0\0D\0A\0D\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @mg_http_send_digest_auth_request(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @mg_time() #2 %4 = tail call i32 @mg_printf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1, i64 noundef %3) #2 ret void } declare i32 @mg_printf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @mg_time(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
mongoose_examples_ESP8266_RTOS_user_extr_mongoose.c_mg_http_send_digest_auth_request
; ModuleID = 'AnghaBench/linux/drivers/block/extr_pktcdvd.c_pkt_run_state_machine.c' source_filename = "AnghaBench/linux/drivers/block/extr_pktcdvd.c_pkt_run_state_machine.c" target datalayout = "e-m:e-p270:32:32-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.packet_data = type { i32, ptr, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [8 x i8] c"pkt %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"No recovery possible\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pkt_run_state_machine], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pkt_run_state_machine(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 7 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 (i32, ptr, ptr, ...) @pkt_dbg(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 2 %7 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 1 %8 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 3 %9 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 6 %10 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 5 %11 = getelementptr inbounds %struct.packet_data, ptr %1, i64 0, i32 4 br label %12 12: ; preds = %50, %2 %13 = load i32, ptr %1, align 8, !tbaa !11 switch i32 %13, label %58 [ i32 129, label %14 i32 131, label %24 i32 128, label %34 i32 130, label %45 i32 132, label %54 ] 14: ; preds = %12 %15 = load i32, ptr %9, align 8, !tbaa !12 %16 = load i32, ptr %10, align 4, !tbaa !13 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %11, align 8, !tbaa !14 %20 = icmp sgt i32 %19, 0 br i1 %20, label %60, label %21 21: ; preds = %18, %14 store i32 0, ptr %11, align 8, !tbaa !14 %22 = tail call i32 @pkt_gather_data(ptr noundef %0, ptr noundef nonnull %1) #2 %23 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 131) #2 br label %50 24: ; preds = %12 %25 = tail call i32 @atomic_read(ptr noundef nonnull %6) #2 %26 = icmp sgt i32 %25, 0 br i1 %26, label %60, label %27 27: ; preds = %24 %28 = tail call i32 @atomic_read(ptr noundef nonnull %8) #2 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 130) #2 br label %50 32: ; preds = %27 %33 = tail call i32 @pkt_start_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %50 34: ; preds = %12 %35 = tail call i32 @atomic_read(ptr noundef nonnull %6) #2 %36 = icmp sgt i32 %35, 0 br i1 %36, label %60, label %37 37: ; preds = %34 %38 = load ptr, ptr %7, align 8, !tbaa !15 %39 = load i32, ptr %38, align 4, !tbaa !16 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 132) #2 br label %50 43: ; preds = %37 %44 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 130) #2 br label %50 45: ; preds = %12 %46 = tail call i32 @pkt_start_recovery(ptr noundef nonnull %1) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = tail call i32 @pkt_start_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %50 50: ; preds = %48, %51, %41, %43, %30, %32, %58, %21 br label %12 51: ; preds = %45 %52 = tail call i32 (i32, ptr, ptr, ...) @pkt_dbg(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str.1) #2 %53 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 132) #2 br label %50 54: ; preds = %12 %55 = load ptr, ptr %7, align 8, !tbaa !15 %56 = load i32, ptr %55, align 4, !tbaa !16 %57 = tail call i32 @pkt_finish_packet(ptr noundef nonnull %1, i32 noundef %56) #2 br label %60 58: ; preds = %12 %59 = tail call i32 (...) @BUG() #2 br label %50 60: ; preds = %34, %24, %18, %54 ret void } declare i32 @pkt_dbg(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @pkt_gather_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkt_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @pkt_start_write(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkt_start_recovery(ptr noundef) local_unnamed_addr #1 declare i32 @pkt_finish_packet(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 36} !6 = !{!"packet_data", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 32} !13 = !{!6, !7, i64 28} !14 = !{!6, !7, i64 24} !15 = !{!6, !10, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/extr_pktcdvd.c_pkt_run_state_machine.c' source_filename = "AnghaBench/linux/drivers/block/extr_pktcdvd.c_pkt_run_state_machine.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 [8 x i8] c"pkt %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"No recovery possible\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pkt_run_state_machine], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pkt_run_state_machine(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 36 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 (i32, ptr, ptr, ...) @pkt_dbg(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = getelementptr inbounds i8, ptr %1, i64 20 %9 = getelementptr inbounds i8, ptr %1, i64 32 %10 = getelementptr inbounds i8, ptr %1, i64 28 %11 = getelementptr inbounds i8, ptr %1, i64 24 br label %12 12: ; preds = %50, %2 %13 = load i32, ptr %1, align 8, !tbaa !12 switch i32 %13, label %58 [ i32 129, label %14 i32 131, label %24 i32 128, label %34 i32 130, label %45 i32 132, label %54 ] 14: ; preds = %12 %15 = load i32, ptr %9, align 8, !tbaa !13 %16 = load i32, ptr %10, align 4, !tbaa !14 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %11, align 8, !tbaa !15 %20 = icmp sgt i32 %19, 0 br i1 %20, label %60, label %21 21: ; preds = %18, %14 store i32 0, ptr %11, align 8, !tbaa !15 %22 = tail call i32 @pkt_gather_data(ptr noundef %0, ptr noundef nonnull %1) #2 %23 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 131) #2 br label %50 24: ; preds = %12 %25 = tail call i32 @atomic_read(ptr noundef nonnull %6) #2 %26 = icmp sgt i32 %25, 0 br i1 %26, label %60, label %27 27: ; preds = %24 %28 = tail call i32 @atomic_read(ptr noundef nonnull %8) #2 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 130) #2 br label %50 32: ; preds = %27 %33 = tail call i32 @pkt_start_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %50 34: ; preds = %12 %35 = tail call i32 @atomic_read(ptr noundef nonnull %6) #2 %36 = icmp sgt i32 %35, 0 br i1 %36, label %60, label %37 37: ; preds = %34 %38 = load ptr, ptr %7, align 8, !tbaa !16 %39 = load i32, ptr %38, align 4, !tbaa !17 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 132) #2 br label %50 43: ; preds = %37 %44 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 130) #2 br label %50 45: ; preds = %12 %46 = tail call i32 @pkt_start_recovery(ptr noundef nonnull %1) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = tail call i32 @pkt_start_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %50 50: ; preds = %48, %51, %41, %43, %30, %32, %58, %21 br label %12 51: ; preds = %45 %52 = tail call i32 (i32, ptr, ptr, ...) @pkt_dbg(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str.1) #2 %53 = tail call i32 @pkt_set_state(ptr noundef nonnull %1, i32 noundef 132) #2 br label %50 54: ; preds = %12 %55 = load ptr, ptr %7, align 8, !tbaa !16 %56 = load i32, ptr %55, align 4, !tbaa !17 %57 = tail call i32 @pkt_finish_packet(ptr noundef nonnull %1, i32 noundef %56) #2 br label %60 58: ; preds = %12 %59 = tail call i32 @BUG() #2 br label %50 60: ; preds = %34, %24, %18, %54 ret void } declare i32 @pkt_dbg(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @pkt_gather_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkt_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @pkt_start_write(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkt_start_recovery(ptr noundef) local_unnamed_addr #1 declare i32 @pkt_finish_packet(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 36} !7 = !{!"packet_data", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 32} !14 = !{!7, !8, i64 28} !15 = !{!7, !8, i64 24} !16 = !{!7, !11, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_2__", !8, i64 0}
linux_drivers_block_extr_pktcdvd.c_pkt_run_state_machine
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_movem_32_er_ix.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_movem_32_er_ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_DA = dso_local local_unnamed_addr global ptr null, align 8 @CYC_MOVEM_L = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_movem_32_er_ix() local_unnamed_addr #0 { %1 = tail call i32 (...) @OPER_I_16() #2 %2 = tail call i32 (...) @EA_AY_IX_32() #2 br label %3 3: ; preds = %0, %17 %4 = phi i64 [ 0, %0 ], [ %20, %17 ] %5 = phi i32 [ 0, %0 ], [ %19, %17 ] %6 = phi i32 [ %2, %0 ], [ %18, %17 ] %7 = trunc i64 %4 to i32 %8 = shl nuw nsw i32 1, %7 %9 = and i32 %8, %1 %10 = icmp eq i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %3 %12 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %13 = load ptr, ptr @REG_DA, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %13, i64 %4 store i32 %12, ptr %14, align 4, !tbaa !9 %15 = add nsw i32 %6, 4 %16 = add nsw i32 %5, 1 br label %17 17: ; preds = %3, %11 %18 = phi i32 [ %15, %11 ], [ %6, %3 ] %19 = phi i32 [ %16, %11 ], [ %5, %3 ] %20 = add nuw nsw i64 %4, 1 %21 = icmp eq i64 %20, 16 br i1 %21, label %22, label %3, !llvm.loop !11 22: ; preds = %17 %23 = load i32, ptr @CYC_MOVEM_L, align 4, !tbaa !9 %24 = shl i32 %19, %23 %25 = tail call i32 @USE_CYCLES(i32 noundef %24) #2 ret void } declare i32 @OPER_I_16(...) local_unnamed_addr #1 declare i32 @EA_AY_IX_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @USE_CYCLES(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} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_movem_32_er_ix.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_movem_32_er_ix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_DA = common local_unnamed_addr global ptr null, align 8 @CYC_MOVEM_L = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_movem_32_er_ix() local_unnamed_addr #0 { %1 = tail call i32 @OPER_I_16() #2 %2 = tail call i32 @EA_AY_IX_32() #2 br label %3 3: ; preds = %0, %17 %4 = phi i64 [ 0, %0 ], [ %20, %17 ] %5 = phi i32 [ 0, %0 ], [ %19, %17 ] %6 = phi i32 [ %2, %0 ], [ %18, %17 ] %7 = trunc nuw nsw i64 %4 to i32 %8 = shl nuw nsw i32 1, %7 %9 = and i32 %8, %1 %10 = icmp eq i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %3 %12 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %13 = load ptr, ptr @REG_DA, align 8, !tbaa !6 %14 = getelementptr inbounds i32, ptr %13, i64 %4 store i32 %12, ptr %14, align 4, !tbaa !10 %15 = add nsw i32 %6, 4 %16 = add nsw i32 %5, 1 br label %17 17: ; preds = %3, %11 %18 = phi i32 [ %15, %11 ], [ %6, %3 ] %19 = phi i32 [ %16, %11 ], [ %5, %3 ] %20 = add nuw nsw i64 %4, 1 %21 = icmp eq i64 %20, 16 br i1 %21, label %22, label %3, !llvm.loop !12 22: ; preds = %17 %23 = load i32, ptr @CYC_MOVEM_L, align 4, !tbaa !10 %24 = shl i32 %19, %23 %25 = tail call i32 @USE_CYCLES(i32 noundef %24) #2 ret void } declare i32 @OPER_I_16(...) local_unnamed_addr #1 declare i32 @EA_AY_IX_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @USE_CYCLES(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} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_movem_32_er_ix
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_values.c_debug_show_type.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_values.c_debug_show_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 [8 x i8] c"unknown\00", align 1 @GHB_STRING = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"string\00", align 1 @GHB_INT = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @GHB_DOUBLE = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @GHB_BOOL = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [5 x i8] c"bool\00", align 1 @GHB_ARRAY = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [6 x i8] c"array\00", align 1 @GHB_DICT = dso_local local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [5 x i8] c"dict\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Type %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @debug_show_type(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @GHB_STRING, align 8, !tbaa !5 %3 = icmp eq i64 %2, %0 br i1 %3, label %20, label %4 4: ; preds = %1 %5 = load i64, ptr @GHB_INT, align 8, !tbaa !5 %6 = icmp eq i64 %5, %0 br i1 %6, label %20, label %7 7: ; preds = %4 %8 = load i64, ptr @GHB_DOUBLE, align 8, !tbaa !5 %9 = icmp eq i64 %8, %0 br i1 %9, label %20, label %10 10: ; preds = %7 %11 = load i64, ptr @GHB_BOOL, align 8, !tbaa !5 %12 = icmp eq i64 %11, %0 br i1 %12, label %20, label %13 13: ; preds = %10 %14 = load i64, ptr @GHB_ARRAY, align 8, !tbaa !5 %15 = icmp eq i64 %14, %0 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = load i64, ptr @GHB_DICT, align 8, !tbaa !5 %18 = icmp eq i64 %17, %0 %19 = select i1 %18, ptr @.str.6, ptr @.str br label %20 20: ; preds = %16, %13, %10, %7, %4, %1 %21 = phi ptr [ @.str.1, %1 ], [ @.str.2, %4 ], [ @.str.3, %7 ], [ @.str.4, %10 ], [ @.str.5, %13 ], [ %19, %16 ] %22 = tail call i32 @g_debug(ptr noundef nonnull @.str.7, ptr noundef nonnull %21) #2 ret void } declare i32 @g_debug(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_values.c_debug_show_type.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_values.c_debug_show_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 [8 x i8] c"unknown\00", align 1 @GHB_STRING = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"string\00", align 1 @GHB_INT = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @GHB_DOUBLE = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"double\00", align 1 @GHB_BOOL = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [5 x i8] c"bool\00", align 1 @GHB_ARRAY = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [6 x i8] c"array\00", align 1 @GHB_DICT = common local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [5 x i8] c"dict\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Type %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @debug_show_type(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @GHB_STRING, align 8, !tbaa !6 %3 = icmp eq i64 %2, %0 br i1 %3, label %20, label %4 4: ; preds = %1 %5 = load i64, ptr @GHB_INT, align 8, !tbaa !6 %6 = icmp eq i64 %5, %0 br i1 %6, label %20, label %7 7: ; preds = %4 %8 = load i64, ptr @GHB_DOUBLE, align 8, !tbaa !6 %9 = icmp eq i64 %8, %0 br i1 %9, label %20, label %10 10: ; preds = %7 %11 = load i64, ptr @GHB_BOOL, align 8, !tbaa !6 %12 = icmp eq i64 %11, %0 br i1 %12, label %20, label %13 13: ; preds = %10 %14 = load i64, ptr @GHB_ARRAY, align 8, !tbaa !6 %15 = icmp eq i64 %14, %0 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = load i64, ptr @GHB_DICT, align 8, !tbaa !6 %18 = icmp eq i64 %17, %0 %19 = select i1 %18, ptr @.str.6, ptr @.str br label %20 20: ; preds = %16, %13, %10, %7, %4, %1 %21 = phi ptr [ @.str.1, %1 ], [ @.str.2, %4 ], [ @.str.3, %7 ], [ @.str.4, %10 ], [ @.str.5, %13 ], [ %19, %16 ] %22 = tail call i32 @g_debug(ptr noundef nonnull @.str.7, ptr noundef nonnull %21) #2 ret void } declare i32 @g_debug(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
HandBrake_gtk_src_extr_values.c_debug_show_type
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb.c_rol32.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb.c_rol32.c" target datalayout = "e-m:e-p270:32:32-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 @rol32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @rol32(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @llvm.fshl.i32(i32 %0, i32 %0, i32 %1) ret i32 %3 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(i32, i32, i32) #1 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" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb.c_rol32.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb.c_rol32.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 @rol32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @rol32(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @llvm.fshl.i32(i32 %0, i32 %0, i32 %1) ret i32 %3 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(i32, i32, i32) #1 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" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_tools_testing_selftests_bpf_progs_extr_test_l4lb.c_rol32
; ModuleID = 'AnghaBench/zstd/tests/extr_paramgrill.c_readU32FromChar.c' source_filename = "AnghaBench/zstd/tests/extr_paramgrill.c_readU32FromChar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.readU32FromChar.errorMsg = private unnamed_addr constant [31 x i8] c"error: numeric value too large\00", align 16 @llvm.compiler.used = appending global [1 x ptr] [ptr @readU32FromChar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @readU32FromChar(ptr nocapture noundef %0) #0 { %2 = alloca [31 x i8], align 16 call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(31) %2, ptr noundef nonnull align 16 dereferenceable(31) @__const.readU32FromChar.errorMsg, i64 31, i1 false) %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i8, ptr %3, align 1, !tbaa !9 %5 = icmp eq i8 %4, 45 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %3, i64 1 store ptr %7, ptr %0, align 8, !tbaa !5 %8 = load i8, ptr %7, align 1, !tbaa !9 br label %9 9: ; preds = %6, %1 %10 = phi i8 [ %8, %6 ], [ %4, %1 ] %11 = phi ptr [ %7, %6 ], [ %3, %1 ] %12 = phi i32 [ -1, %6 ], [ 1, %1 ] %13 = add i8 %10, -48 %14 = icmp ult i8 %13, 10 br i1 %14, label %15, label %40 15: ; preds = %9, %23 %16 = phi i8 [ %35, %23 ], [ %10, %9 ] %17 = phi i32 [ %33, %23 ], [ 0, %9 ] %18 = icmp ugt i32 %17, 429496728 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = call i32 @errorOut(ptr noundef nonnull %2) #4 %21 = load ptr, ptr %0, align 8, !tbaa !5 %22 = load i8, ptr %21, align 1, !tbaa !9 br label %23 23: ; preds = %19, %15 %24 = phi i8 [ %22, %19 ], [ %16, %15 ] %25 = mul i32 %17, 10 %26 = icmp sgt i8 %24, 47 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) #4 %29 = load ptr, ptr %0, align 8, !tbaa !5 %30 = load i8, ptr %29, align 1, !tbaa !9 %31 = sext i8 %30 to i32 %32 = add i32 %25, -48 %33 = add i32 %32, %31 %34 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %34, ptr %0, align 8, !tbaa !5 %35 = load i8, ptr %34, align 1, !tbaa !9 %36 = add i8 %35, -48 %37 = icmp ult i8 %36, 10 br i1 %37, label %15, label %38, !llvm.loop !10 38: ; preds = %23 %39 = getelementptr inbounds i8, ptr %29, i64 1 br label %40 40: ; preds = %38, %9 %41 = phi ptr [ %11, %9 ], [ %39, %38 ] %42 = phi i32 [ 0, %9 ], [ %33, %38 ] %43 = phi i8 [ %10, %9 ], [ %35, %38 ] switch i8 %43, label %79 [ i8 75, label %44 i8 77, label %44 ] 44: ; preds = %40, %40 %45 = icmp ugt i32 %42, 4194303 br i1 %45, label %46, label %50 46: ; preds = %44 %47 = call i32 @errorOut(ptr noundef nonnull %2) #4 %48 = load ptr, ptr %0, align 8, !tbaa !5 %49 = load i8, ptr %48, align 1, !tbaa !9 br label %50 50: ; preds = %46, %44 %51 = phi i8 [ %49, %46 ], [ %43, %44 ] %52 = phi ptr [ %48, %46 ], [ %41, %44 ] %53 = shl i32 %42, 10 %54 = icmp eq i8 %51, 77 br i1 %54, label %55, label %63 55: ; preds = %50 %56 = icmp ugt i32 %53, 4194303 br i1 %56, label %57, label %60 57: ; preds = %55 %58 = call i32 @errorOut(ptr noundef nonnull %2) #4 %59 = load ptr, ptr %0, align 8, !tbaa !5 br label %60 60: ; preds = %57, %55 %61 = phi ptr [ %59, %57 ], [ %52, %55 ] %62 = shl i32 %42, 20 br label %63 63: ; preds = %60, %50 %64 = phi ptr [ %61, %60 ], [ %52, %50 ] %65 = phi i32 [ %62, %60 ], [ %53, %50 ] %66 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %66, ptr %0, align 8, !tbaa !5 %67 = load i8, ptr %66, align 1, !tbaa !9 %68 = icmp eq i8 %67, 105 br i1 %68, label %69, label %72 69: ; preds = %63 %70 = getelementptr inbounds i8, ptr %64, i64 2 store ptr %70, ptr %0, align 8, !tbaa !5 %71 = load i8, ptr %70, align 1, !tbaa !9 br label %72 72: ; preds = %69, %63 %73 = phi i8 [ %71, %69 ], [ %67, %63 ] %74 = phi i64 [ 2, %69 ], [ 1, %63 ] %75 = icmp eq i8 %73, 66 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = getelementptr inbounds i8, ptr %64, i64 %74 %78 = getelementptr inbounds i8, ptr %77, i64 1 store ptr %78, ptr %0, align 8, !tbaa !5 br label %79 79: ; preds = %72, %76, %40 %80 = phi i32 [ %42, %40 ], [ %65, %76 ], [ %65, %72 ] %81 = mul i32 %80, %12 call void @llvm.lifetime.end.p0(i64 31, ptr nonnull %2) #4 ret i32 %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @errorOut(ptr noundef) local_unnamed_addr #3 declare i32 @assert(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/zstd/tests/extr_paramgrill.c_readU32FromChar.c' source_filename = "AnghaBench/zstd/tests/extr_paramgrill.c_readU32FromChar.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.readU32FromChar.errorMsg = private unnamed_addr constant [31 x i8] c"error: numeric value too large\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @readU32FromChar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @readU32FromChar(ptr nocapture noundef %0) #0 { %2 = alloca [31 x i8], align 1 call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(31) %2, ptr noundef nonnull align 1 dereferenceable(31) @__const.readU32FromChar.errorMsg, i64 31, i1 false) %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i8, ptr %3, align 1, !tbaa !10 %5 = icmp eq i8 %4, 45 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %3, i64 1 store ptr %7, ptr %0, align 8, !tbaa !6 %8 = load i8, ptr %7, align 1, !tbaa !10 br label %9 9: ; preds = %6, %1 %10 = phi i8 [ %8, %6 ], [ %4, %1 ] %11 = phi ptr [ %7, %6 ], [ %3, %1 ] %12 = phi i32 [ -1, %6 ], [ 1, %1 ] %13 = add i8 %10, -48 %14 = icmp ult i8 %13, 10 br i1 %14, label %15, label %40 15: ; preds = %9, %23 %16 = phi i8 [ %35, %23 ], [ %10, %9 ] %17 = phi i32 [ %33, %23 ], [ 0, %9 ] %18 = icmp ugt i32 %17, 429496728 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = call i32 @errorOut(ptr noundef nonnull %2) #4 %21 = load ptr, ptr %0, align 8, !tbaa !6 %22 = load i8, ptr %21, align 1, !tbaa !10 br label %23 23: ; preds = %19, %15 %24 = phi i8 [ %22, %19 ], [ %16, %15 ] %25 = mul i32 %17, 10 %26 = icmp sgt i8 %24, 47 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) #4 %29 = load ptr, ptr %0, align 8, !tbaa !6 %30 = load i8, ptr %29, align 1, !tbaa !10 %31 = sext i8 %30 to i32 %32 = add i32 %25, -48 %33 = add i32 %32, %31 %34 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %34, ptr %0, align 8, !tbaa !6 %35 = load i8, ptr %34, align 1, !tbaa !10 %36 = add i8 %35, -48 %37 = icmp ult i8 %36, 10 br i1 %37, label %15, label %38, !llvm.loop !11 38: ; preds = %23 %39 = getelementptr inbounds i8, ptr %29, i64 1 br label %40 40: ; preds = %38, %9 %41 = phi ptr [ %11, %9 ], [ %39, %38 ] %42 = phi i32 [ 0, %9 ], [ %33, %38 ] %43 = phi i8 [ %10, %9 ], [ %35, %38 ] switch i8 %43, label %79 [ i8 75, label %44 i8 77, label %44 ] 44: ; preds = %40, %40 %45 = icmp ugt i32 %42, 4194303 br i1 %45, label %46, label %50 46: ; preds = %44 %47 = call i32 @errorOut(ptr noundef nonnull %2) #4 %48 = load ptr, ptr %0, align 8, !tbaa !6 %49 = load i8, ptr %48, align 1, !tbaa !10 br label %50 50: ; preds = %46, %44 %51 = phi i8 [ %49, %46 ], [ %43, %44 ] %52 = phi ptr [ %48, %46 ], [ %41, %44 ] %53 = shl i32 %42, 10 %54 = icmp eq i8 %51, 77 br i1 %54, label %55, label %63 55: ; preds = %50 %56 = icmp ugt i32 %53, 4194303 br i1 %56, label %57, label %60 57: ; preds = %55 %58 = call i32 @errorOut(ptr noundef nonnull %2) #4 %59 = load ptr, ptr %0, align 8, !tbaa !6 br label %60 60: ; preds = %57, %55 %61 = phi ptr [ %59, %57 ], [ %52, %55 ] %62 = shl i32 %42, 20 br label %63 63: ; preds = %60, %50 %64 = phi ptr [ %61, %60 ], [ %52, %50 ] %65 = phi i32 [ %62, %60 ], [ %53, %50 ] %66 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %66, ptr %0, align 8, !tbaa !6 %67 = load i8, ptr %66, align 1, !tbaa !10 %68 = icmp eq i8 %67, 105 br i1 %68, label %69, label %72 69: ; preds = %63 %70 = getelementptr inbounds i8, ptr %64, i64 2 store ptr %70, ptr %0, align 8, !tbaa !6 %71 = load i8, ptr %70, align 1, !tbaa !10 br label %72 72: ; preds = %69, %63 %73 = phi i8 [ %71, %69 ], [ %67, %63 ] %74 = phi i64 [ 2, %69 ], [ 1, %63 ] %75 = icmp eq i8 %73, 66 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = getelementptr inbounds i8, ptr %64, i64 %74 %78 = getelementptr inbounds i8, ptr %77, i64 1 store ptr %78, ptr %0, align 8, !tbaa !6 br label %79 79: ; preds = %72, %76, %40 %80 = phi i32 [ %42, %40 ], [ %65, %76 ], [ %65, %72 ] %81 = mul i32 %80, %12 call void @llvm.lifetime.end.p0(i64 31, ptr nonnull %2) #4 ret i32 %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @errorOut(ptr noundef) local_unnamed_addr #3 declare i32 @assert(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
zstd_tests_extr_paramgrill.c_readU32FromChar
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_rowSetEntrySort.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_rowSetEntrySort.c" target datalayout = "e-m:e-p270:32:32-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 @rowSetEntrySort], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @rowSetEntrySort(ptr noundef %0) #0 { %2 = alloca [40 x ptr], align 16 call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %2) #3 %3 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 320) #3 %4 = icmp eq ptr %0, null br i1 %4, label %25, label %5 5: ; preds = %1, %21 %6 = phi ptr [ %7, %21 ], [ %0, %1 ] %7 = load ptr, ptr %6, align 8, !tbaa !5 store ptr null, ptr %6, align 8, !tbaa !5 %8 = load ptr, ptr %2, align 16, !tbaa !10 %9 = icmp eq ptr %8, null br i1 %9, label %21, label %10 10: ; preds = %5, %10 %11 = phi ptr [ %19, %10 ], [ %8, %5 ] %12 = phi ptr [ %18, %10 ], [ %2, %5 ] %13 = phi ptr [ %15, %10 ], [ %6, %5 ] %14 = phi i32 [ %16, %10 ], [ 0, %5 ] %15 = call ptr @rowSetEntryMerge(ptr noundef nonnull %11, ptr noundef %13) #3 store ptr null, ptr %12, align 8, !tbaa !10 %16 = add i32 %14, 1 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds [40 x ptr], ptr %2, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !10 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %10, !llvm.loop !11 21: ; preds = %10, %5 %22 = phi ptr [ %6, %5 ], [ %15, %10 ] %23 = phi ptr [ %2, %5 ], [ %18, %10 ] store ptr %22, ptr %23, align 8, !tbaa !10 %24 = icmp eq ptr %7, null br i1 %24, label %25, label %5, !llvm.loop !13 25: ; preds = %21, %1 br label %26 26: ; preds = %25, %26 %27 = phi i64 [ %32, %26 ], [ 0, %25 ] %28 = phi ptr [ %31, %26 ], [ null, %25 ] %29 = getelementptr inbounds [40 x ptr], ptr %2, i64 0, i64 %27 %30 = load ptr, ptr %29, align 8, !tbaa !10 %31 = call ptr @rowSetEntryMerge(ptr noundef %28, ptr noundef %30) #3 %32 = add nuw nsw i64 %27, 1 %33 = icmp eq i64 %32, 40 br i1 %33, label %34, label %26, !llvm.loop !14 34: ; preds = %26 call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #3 ret ptr %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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @rowSetEntryMerge(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"RowSetEntry", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12} !14 = distinct !{!14, !12}
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_rowSetEntrySort.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_rowSetEntrySort.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 @rowSetEntrySort], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @rowSetEntrySort(ptr noundef %0) #0 { %2 = alloca [40 x ptr], align 8 call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %2) #3 %3 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 320) #3 %4 = icmp eq ptr %0, null br i1 %4, label %25, label %5 5: ; preds = %1, %21 %6 = phi ptr [ %7, %21 ], [ %0, %1 ] %7 = load ptr, ptr %6, align 8, !tbaa !6 store ptr null, ptr %6, align 8, !tbaa !6 %8 = load ptr, ptr %2, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %21, label %10 10: ; preds = %5, %10 %11 = phi ptr [ %19, %10 ], [ %8, %5 ] %12 = phi ptr [ %18, %10 ], [ %2, %5 ] %13 = phi ptr [ %15, %10 ], [ %6, %5 ] %14 = phi i32 [ %16, %10 ], [ 0, %5 ] %15 = call ptr @rowSetEntryMerge(ptr noundef nonnull %11, ptr noundef %13) #3 store ptr null, ptr %12, align 8, !tbaa !11 %16 = add i32 %14, 1 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds [40 x ptr], ptr %2, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !11 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %10, !llvm.loop !12 21: ; preds = %10, %5 %22 = phi ptr [ %6, %5 ], [ %15, %10 ] %23 = phi ptr [ %2, %5 ], [ %18, %10 ] store ptr %22, ptr %23, align 8, !tbaa !11 %24 = icmp eq ptr %7, null br i1 %24, label %25, label %5, !llvm.loop !14 25: ; preds = %21, %1 br label %26 26: ; preds = %25, %26 %27 = phi i64 [ %32, %26 ], [ 0, %25 ] %28 = phi ptr [ %31, %26 ], [ null, %25 ] %29 = getelementptr inbounds [40 x ptr], ptr %2, i64 0, i64 %27 %30 = load ptr, ptr %29, align 8, !tbaa !11 %31 = call ptr @rowSetEntryMerge(ptr noundef %28, ptr noundef %30) #3 %32 = add nuw nsw i64 %27, 1 %33 = icmp eq i64 %32, 40 br i1 %33, label %34, label %26, !llvm.loop !15 34: ; preds = %26 call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #3 ret ptr %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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @rowSetEntryMerge(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"RowSetEntry", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = distinct !{!15, !13}
mongoose_examples_api_server_extr_sqlite3.c_rowSetEntrySort
; ModuleID = 'AnghaBench/git/builtin/extr_name-rev.c_is_better_name.c' source_filename = "AnghaBench/git/builtin/extr_name-rev.c_is_better_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rev_name = type { i32, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @is_better_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @is_better_name(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %3, 0 %6 = load i32, ptr %0, align 8, !tbaa !5 %7 = icmp eq i32 %6, 0 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %20, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.rev_name, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp sgt i64 %11, %1 br i1 %12, label %36, label %13 13: ; preds = %9 %14 = icmp eq i64 %11, %1 br i1 %14, label %15, label %36 15: ; preds = %13 %16 = getelementptr inbounds %struct.rev_name, ptr %0, i64 0, i32 2 %17 = load i32, ptr %16, align 8, !tbaa !12 %18 = icmp sgt i32 %17, %2 %19 = zext i1 %18 to i32 br label %36 20: ; preds = %4 %21 = icmp eq i32 %6, %3 br i1 %21, label %22, label %36 22: ; preds = %20 %23 = getelementptr inbounds %struct.rev_name, ptr %0, i64 0, i32 2 %24 = load i32, ptr %23, align 8, !tbaa !12 %25 = icmp eq i32 %24, %2 br i1 %25, label %29, label %26 26: ; preds = %22 %27 = icmp sgt i32 %24, %2 %28 = zext i1 %27 to i32 br label %36 29: ; preds = %22 %30 = getelementptr inbounds %struct.rev_name, ptr %0, i64 0, i32 1 %31 = load i64, ptr %30, align 8, !tbaa !11 %32 = icmp eq i64 %31, %1 br i1 %32, label %36, label %33 33: ; preds = %29 %34 = icmp sgt i64 %31, %1 %35 = zext i1 %34 to i32 br label %36 36: ; preds = %29, %20, %9, %15, %13, %33, %26 %37 = phi i32 [ %28, %26 ], [ %35, %33 ], [ 1, %9 ], [ 0, %13 ], [ %19, %15 ], [ %3, %20 ], [ 0, %29 ] ret i32 %37 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rev_name", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/git/builtin/extr_name-rev.c_is_better_name.c' source_filename = "AnghaBench/git/builtin/extr_name-rev.c_is_better_name.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 @is_better_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @is_better_name(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %3, 0 %6 = load i32, ptr %0, align 8, !tbaa !6 %7 = icmp eq i32 %6, 0 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %20, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = icmp sgt i64 %11, %1 br i1 %12, label %36, label %13 13: ; preds = %9 %14 = icmp eq i64 %11, %1 br i1 %14, label %15, label %36 15: ; preds = %13 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = icmp sgt i32 %17, %2 %19 = zext i1 %18 to i32 br label %36 20: ; preds = %4 %21 = icmp eq i32 %6, %3 br i1 %21, label %22, label %36 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !13 %25 = icmp eq i32 %24, %2 br i1 %25, label %29, label %26 26: ; preds = %22 %27 = icmp sgt i32 %24, %2 %28 = zext i1 %27 to i32 br label %36 29: ; preds = %22 %30 = getelementptr inbounds i8, ptr %0, i64 8 %31 = load i64, ptr %30, align 8, !tbaa !12 %32 = icmp eq i64 %31, %1 br i1 %32, label %36, label %33 33: ; preds = %29 %34 = icmp sgt i64 %31, %1 %35 = zext i1 %34 to i32 br label %36 36: ; preds = %29, %20, %9, %15, %13, %33, %26 %37 = phi i32 [ %28, %26 ], [ %35, %33 ], [ 1, %9 ], [ 0, %13 ], [ %19, %15 ], [ %3, %20 ], [ 0, %29 ] ret i32 %37 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rev_name", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 16}
git_builtin_extr_name-rev.c_is_better_name
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_graphicsquat.h_quat_close.c' source_filename = "AnghaBench/obs-studio/libobs/extr_graphicsquat.h_quat_close.c" target datalayout = "e-m:e-p270:32:32-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.quat = type { float, float, float, float } @llvm.compiler.used = appending global [1 x ptr] [ptr @quat_close], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @quat_close(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca %struct.quat, align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = call i32 @quat_sub(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3 %6 = load <4 x float>, ptr %4, align 16 %7 = insertelement <4 x float> poison, float %2, i64 0 %8 = shufflevector <4 x float> %7, <4 x float> poison, <4 x i32> zeroinitializer %9 = fcmp olt <4 x float> %6, %8 %10 = freeze <4 x i1> %9 %11 = bitcast <4 x i1> %10 to i4 %12 = icmp eq i4 %11, -1 %13 = zext i1 %12 to i32 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @quat_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_graphicsquat.h_quat_close.c' source_filename = "AnghaBench/obs-studio/libobs/extr_graphicsquat.h_quat_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.quat = type { float, float, float, float } @llvm.used = appending global [1 x ptr] [ptr @quat_close], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @quat_close(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca %struct.quat, align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = call i32 @quat_sub(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3 %6 = load <4 x float>, ptr %4, align 16 %7 = insertelement <4 x float> poison, float %2, i64 0 %8 = shufflevector <4 x float> %7, <4 x float> poison, <4 x i32> zeroinitializer %9 = fcmp olt <4 x float> %6, %8 %10 = freeze <4 x i1> %9 %11 = bitcast <4 x i1> %10 to i4 %12 = icmp eq i4 %11, -1 %13 = zext i1 %12 to i32 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @quat_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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)"}
obs-studio_libobs_extr_graphicsquat.h_quat_close
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_ai_team.c_BotTeamAI.c' source_filename = "AnghaBench/lab/engine/code/game/extr_ai_team.c_BotTeamAI.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_13__ = type { i64, i64, i64, i8*, i32, i64, i64, i8*, i32, i8*, i32, i32 } @MAX_NETNAME = dso_local local_unnamed_addr global i32 0, align 4 @gametype = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"whoisteamleader\00", align 1 @CHAT_TEAM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"iamteamleader\00", align 1 @VOICECHAT_STARTLEADER = dso_local local_unnamed_addr global i32 0, align 4 @qfalse = dso_local local_unnamed_addr global i8* null, align 8 @CTFS_AGRESSIVE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @BotTeamAI(%struct.TYPE_13__* noundef %0) local_unnamed_addr #0 { %2 = load i32, i32* @MAX_NETNAME, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 16 %5 = load i32, i32* @gametype, align 4, !tbaa !5 %6 = icmp slt i32 %5, 128 br i1 %6, label %164, label %7 7: ; preds = %1 %8 = tail call i32 @BotValidTeamLeader(%struct.TYPE_13__* noundef %0) #4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %79 10: ; preds = %7 %11 = tail call i32 @FindHumanTeamLeader(%struct.TYPE_13__* noundef %0) #4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %79 13: ; preds = %10 %14 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 0 %15 = load i64, i64* %14, align 8, !tbaa !9 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %39 17: ; preds = %13 %18 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 1 %19 = load i64, i64* %18, align 8, !tbaa !13 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %56 21: ; preds = %17 %22 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 2 %23 = load i64, i64* %22, align 8, !tbaa !14 %24 = add nsw i64 %23, 10 %25 = tail call i64 (...) @FloatTime() #4 %26 = icmp sgt i64 %24, %25 %27 = tail call i64 (...) @FloatTime() #4 %28 = add nsw i64 %27, 5 %29 = sitofp i64 %28 to double %30 = tail call double (...) @random() #4 %31 = tail call double @llvm.fmuladd.f64(double %30, double 1.000000e+01, double %29) %32 = fptosi double %31 to i64 br i1 %26, label %33, label %34 33: ; preds = %21 store i64 %32, i64* %14, align 8, !tbaa !9 br label %36 34: ; preds = %21 store i64 %32, i64* %18, align 8, !tbaa !13 %35 = load i64, i64* %14, align 8, !tbaa !9 br label %36 36: ; preds = %34, %33 %37 = phi i64 [ %32, %33 ], [ %35, %34 ] %38 = icmp eq i64 %37, 0 br i1 %38, label %56, label %39 39: ; preds = %13, %36 %40 = phi i64 [ %37, %36 ], [ %15, %13 ] %41 = tail call i64 (...) @FloatTime() #4 %42 = icmp slt i64 %40, %41 br i1 %42, label %43, label %56 43: ; preds = %39 %44 = tail call i32 @BotAI_BotInitialChat(%struct.TYPE_13__* noundef nonnull %0, i8* noundef getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32* noundef null) #4 %45 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 11 %46 = load i32, i32* %45, align 4, !tbaa !15 %47 = load i32, i32* @CHAT_TEAM, align 4, !tbaa !5 %48 = tail call i32 @trap_BotEnterChat(i32 noundef %46, i32 noundef 0, i32 noundef %47) #4 store i64 0, i64* %14, align 8, !tbaa !9 %49 = tail call i64 (...) @FloatTime() #4 %50 = add nsw i64 %49, 8 %51 = sitofp i64 %50 to double %52 = tail call double (...) @random() #4 %53 = tail call double @llvm.fmuladd.f64(double %52, double 1.000000e+01, double %51) %54 = fptosi double %53 to i64 %55 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 1 store i64 %54, i64* %55, align 8, !tbaa !13 br label %56 56: ; preds = %17, %43, %39, %36 %57 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 1 %58 = load i64, i64* %57, align 8, !tbaa !13 %59 = icmp eq i64 %58, 0 br i1 %59, label %164, label %60 60: ; preds = %56 %61 = tail call i64 (...) @FloatTime() #4 %62 = icmp slt i64 %58, %61 br i1 %62, label %63, label %164 63: ; preds = %60 %64 = tail call i32 @BotAI_BotInitialChat(%struct.TYPE_13__* noundef nonnull %0, i8* noundef getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32* noundef null) #4 %65 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 11 %66 = load i32, i32* %65, align 4, !tbaa !15 %67 = load i32, i32* @CHAT_TEAM, align 4, !tbaa !5 %68 = tail call i32 @trap_BotEnterChat(i32 noundef %66, i32 noundef 0, i32 noundef %67) #4 %69 = load i32, i32* @VOICECHAT_STARTLEADER, align 4, !tbaa !5 %70 = tail call i32 @BotSayVoiceTeamOrder(%struct.TYPE_13__* noundef nonnull %0, i32 noundef -1, i32 noundef %69) #4 %71 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 10 %72 = load i32, i32* %71, align 8, !tbaa !16 %73 = call i32 @ClientName(i32 noundef %72, i8* noundef nonnull %4, i32 noundef %2) #4 %74 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 3 %75 = load i8*, i8** %74, align 8, !tbaa !17 %76 = call i32 @strncpy(i8* noundef %75, i8* noundef nonnull %4, i32 noundef 8) #4 %77 = load i8*, i8** %74, align 8, !tbaa !17 %78 = getelementptr inbounds i8, i8* %77, i64 7 store i8 0, i8* %78, align 1, !tbaa !18 store i64 0, i64* %57, align 8, !tbaa !13 br label %164 79: ; preds = %10, %7 %80 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 10 %81 = bitcast %struct.TYPE_13__* %0 to i8* call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %81, i8 0, i64 16, i1 false) %82 = load i32, i32* %80, align 8, !tbaa !16 %83 = call i32 @ClientName(i32 noundef %82, i8* noundef nonnull %4, i32 noundef %2) #4 %84 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 3 %85 = load i8*, i8** %84, align 8, !tbaa !17 %86 = call i64 @Q_stricmp(i8* noundef nonnull %4, i8* noundef %85) #4 %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %164 88: ; preds = %79 %89 = call i32 @BotNumTeamMates(%struct.TYPE_13__* noundef nonnull %0) #4 %90 = load i32, i32* @gametype, align 4, !tbaa !5 switch i32 %90, label %164 [ i32 128, label %91 i32 131, label %119 ] 91: ; preds = %88 %92 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 4 %93 = load i32, i32* %92, align 8, !tbaa !19 %94 = icmp eq i32 %93, %89 br i1 %94, label %95, label %102 95: ; preds = %91 %96 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 7 %97 = load i8*, i8** %96, align 8, !tbaa !20 %98 = icmp eq i8* %97, null br i1 %98, label %99, label %102 99: ; preds = %95 %100 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 %101 = load i64, i64* %100, align 8, !tbaa !21 br label %107 102: ; preds = %95, %91 %103 = call i64 (...) @FloatTime() #4 %104 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 store i64 %103, i64* %104, align 8, !tbaa !21 store i32 %89, i32* %92, align 8, !tbaa !19 %105 = load i8*, i8** @qfalse, align 8, !tbaa !22 %106 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 7 store i8* %105, i8** %106, align 8, !tbaa !20 br label %107 107: ; preds = %99, %102 %108 = phi i64 [ %101, %99 ], [ %103, %102 ] %109 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 %110 = icmp eq i64 %108, 0 br i1 %110, label %164, label %111 111: ; preds = %107 %112 = call i64 (...) @FloatTime() #4 %113 = add nsw i64 %112, -5 %114 = icmp slt i64 %108, %113 br i1 %114, label %115, label %164 115: ; preds = %111 %116 = call i32 @BotTeamOrders(%struct.TYPE_13__* noundef nonnull %0) #4 %117 = call i64 (...) @FloatTime() #4 %118 = add nsw i64 %117, 120 store i64 %118, i64* %109, align 8, !tbaa !21 br label %164 119: ; preds = %88 %120 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 4 %121 = load i32, i32* %120, align 8, !tbaa !19 %122 = icmp eq i32 %121, %89 br i1 %122, label %123, label %131 123: ; preds = %119 %124 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 9 %125 = load i8*, i8** %124, align 8, !tbaa !23 %126 = icmp eq i8* %125, null br i1 %126, label %127, label %131 127: ; preds = %123 %128 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 7 %129 = load i8*, i8** %128, align 8, !tbaa !20 %130 = icmp eq i8* %129, null br i1 %130, label %137, label %131 131: ; preds = %127, %123, %119 %132 = call i64 (...) @FloatTime() #4 %133 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 store i64 %132, i64* %133, align 8, !tbaa !21 store i32 %89, i32* %120, align 8, !tbaa !19 %134 = load i8*, i8** @qfalse, align 8, !tbaa !22 %135 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 9 store i8* %134, i8** %135, align 8, !tbaa !23 %136 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 7 store i8* %134, i8** %136, align 8, !tbaa !20 br label %137 137: ; preds = %131, %127 %138 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 6 %139 = load i64, i64* %138, align 8, !tbaa !24 %140 = call i64 (...) @FloatTime() #4 %141 = add nsw i64 %140, -240 %142 = icmp slt i64 %139, %141 br i1 %142, label %143, label %154 143: ; preds = %137 %144 = call i64 (...) @FloatTime() #4 store i64 %144, i64* %138, align 8, !tbaa !24 %145 = call double (...) @random() #4 %146 = fcmp olt double %145, 4.000000e-01 br i1 %146, label %147, label %154 147: ; preds = %143 %148 = load i32, i32* @CTFS_AGRESSIVE, align 4, !tbaa !5 %149 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 8 %150 = load i32, i32* %149, align 8, !tbaa !25 %151 = xor i32 %150, %148 store i32 %151, i32* %149, align 8, !tbaa !25 %152 = call i64 (...) @FloatTime() #4 %153 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 store i64 %152, i64* %153, align 8, !tbaa !21 br label %154 154: ; preds = %143, %147, %137 %155 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 5 %156 = load i64, i64* %155, align 8, !tbaa !21 %157 = icmp eq i64 %156, 0 br i1 %157, label %164, label %158 158: ; preds = %154 %159 = call i64 (...) @FloatTime() #4 %160 = add nsw i64 %159, -3 %161 = icmp slt i64 %156, %160 br i1 %161, label %162, label %164 162: ; preds = %158 %163 = call i32 @BotCTFOrders(%struct.TYPE_13__* noundef nonnull %0) #4 store i64 0, i64* %155, align 8, !tbaa !21 br label %164 164: ; preds = %88, %115, %111, %107, %162, %158, %154, %79, %56, %60, %63, %1 ret void } declare i32 @BotValidTeamLeader(%struct.TYPE_13__* noundef) local_unnamed_addr #1 declare i32 @FindHumanTeamLeader(%struct.TYPE_13__* noundef) local_unnamed_addr #1 declare i64 @FloatTime(...) local_unnamed_addr #1 declare double @random(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nosync nounwind readnone speculatable willreturn declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @BotAI_BotInitialChat(%struct.TYPE_13__* noundef, i8* noundef, i32* noundef) local_unnamed_addr #1 declare i32 @trap_BotEnterChat(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BotSayVoiceTeamOrder(%struct.TYPE_13__* noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ClientName(i32 noundef, i8* noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(i8* noundef, i8* noundef, i32 noundef) local_unnamed_addr #1 declare i64 @Q_stricmp(i8* noundef, i8* noundef) local_unnamed_addr #1 declare i32 @BotNumTeamMates(%struct.TYPE_13__* noundef) local_unnamed_addr #1 declare i32 @BotTeamOrders(%struct.TYPE_13__* noundef) local_unnamed_addr #1 declare i32 @BotCTFOrders(%struct.TYPE_13__* noundef) local_unnamed_addr #1 ; Function Attrs: argmemonly nofree nounwind willreturn writeonly declare void @llvm.memset.p0i8.i64(i8* nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nosync nounwind readnone speculatable willreturn } attributes #3 = { argmemonly nofree nounwind willreturn writeonly } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_13__", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !6, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 84} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 16} !15 = !{!10, !6, i64 84} !16 = !{!10, !6, i64 80} !17 = !{!10, !12, i64 24} !18 = !{!7, !7, i64 0} !19 = !{!10, !6, i64 32} !20 = !{!10, !12, i64 56} !21 = !{!10, !11, i64 40} !22 = !{!12, !12, i64 0} !23 = !{!10, !12, i64 72} !24 = !{!10, !11, i64 48} !25 = !{!10, !6, i64 64}
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_ai_team.c_BotTeamAI.c' source_filename = "AnghaBench/lab/engine/code/game/extr_ai_team.c_BotTeamAI.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_NETNAME = common local_unnamed_addr global i32 0, align 4 @gametype = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"whoisteamleader\00", align 1 @CHAT_TEAM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"iamteamleader\00", align 1 @VOICECHAT_STARTLEADER = common local_unnamed_addr global i32 0, align 4 @qfalse = common local_unnamed_addr global ptr null, align 8 @CTFS_AGRESSIVE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @BotTeamAI(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @MAX_NETNAME, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 1 %5 = load i32, ptr @gametype, align 4, !tbaa !6 %6 = icmp slt i32 %5, 128 br i1 %6, label %162, label %7 7: ; preds = %1 %8 = tail call i32 @BotValidTeamLeader(ptr noundef %0) #4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %78 10: ; preds = %7 %11 = tail call i32 @FindHumanTeamLeader(ptr noundef %0) #4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %78 13: ; preds = %10 %14 = load i64, ptr %0, align 8, !tbaa !10 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %38 16: ; preds = %13 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !14 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %55 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = add nsw i64 %22, 10 %24 = tail call i64 @FloatTime() #4 %25 = icmp sgt i64 %23, %24 %26 = tail call i64 @FloatTime() #4 %27 = add nsw i64 %26, 5 %28 = sitofp i64 %27 to double %29 = tail call double @random() #4 %30 = tail call double @llvm.fmuladd.f64(double %29, double 1.000000e+01, double %28) %31 = fptosi double %30 to i64 br i1 %25, label %32, label %33 32: ; preds = %20 store i64 %31, ptr %0, align 8, !tbaa !10 br label %35 33: ; preds = %20 store i64 %31, ptr %17, align 8, !tbaa !14 %34 = load i64, ptr %0, align 8, !tbaa !10 br label %35 35: ; preds = %33, %32 %36 = phi i64 [ %31, %32 ], [ %34, %33 ] %37 = icmp eq i64 %36, 0 br i1 %37, label %55, label %38 38: ; preds = %13, %35 %39 = phi i64 [ %36, %35 ], [ %14, %13 ] %40 = tail call i64 @FloatTime() #4 %41 = icmp slt i64 %39, %40 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = tail call i32 @BotAI_BotInitialChat(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef null) #4 %44 = getelementptr inbounds i8, ptr %0, i64 84 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = load i32, ptr @CHAT_TEAM, align 4, !tbaa !6 %47 = tail call i32 @trap_BotEnterChat(i32 noundef %45, i32 noundef 0, i32 noundef %46) #4 store i64 0, ptr %0, align 8, !tbaa !10 %48 = tail call i64 @FloatTime() #4 %49 = add nsw i64 %48, 8 %50 = sitofp i64 %49 to double %51 = tail call double @random() #4 %52 = tail call double @llvm.fmuladd.f64(double %51, double 1.000000e+01, double %50) %53 = fptosi double %52 to i64 %54 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %53, ptr %54, align 8, !tbaa !14 br label %55 55: ; preds = %16, %42, %38, %35 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i64, ptr %56, align 8, !tbaa !14 %58 = icmp eq i64 %57, 0 br i1 %58, label %162, label %59 59: ; preds = %55 %60 = tail call i64 @FloatTime() #4 %61 = icmp slt i64 %57, %60 br i1 %61, label %62, label %162 62: ; preds = %59 %63 = tail call i32 @BotAI_BotInitialChat(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef null) #4 %64 = getelementptr inbounds i8, ptr %0, i64 84 %65 = load i32, ptr %64, align 4, !tbaa !16 %66 = load i32, ptr @CHAT_TEAM, align 4, !tbaa !6 %67 = tail call i32 @trap_BotEnterChat(i32 noundef %65, i32 noundef 0, i32 noundef %66) #4 %68 = load i32, ptr @VOICECHAT_STARTLEADER, align 4, !tbaa !6 %69 = tail call i32 @BotSayVoiceTeamOrder(ptr noundef nonnull %0, i32 noundef -1, i32 noundef %68) #4 %70 = getelementptr inbounds i8, ptr %0, i64 80 %71 = load i32, ptr %70, align 8, !tbaa !17 %72 = call i32 @ClientName(i32 noundef %71, ptr noundef nonnull %4, i32 noundef %2) #4 %73 = getelementptr inbounds i8, ptr %0, i64 24 %74 = load ptr, ptr %73, align 8, !tbaa !18 %75 = call i32 @strncpy(ptr noundef %74, ptr noundef nonnull %4, i32 noundef 8) #4 %76 = load ptr, ptr %73, align 8, !tbaa !18 %77 = getelementptr inbounds i8, ptr %76, i64 7 store i8 0, ptr %77, align 1, !tbaa !19 store i64 0, ptr %56, align 8, !tbaa !14 br label %162 78: ; preds = %10, %7 %79 = getelementptr inbounds i8, ptr %0, i64 80 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) %80 = load i32, ptr %79, align 8, !tbaa !17 %81 = call i32 @ClientName(i32 noundef %80, ptr noundef nonnull %4, i32 noundef %2) #4 %82 = getelementptr inbounds i8, ptr %0, i64 24 %83 = load ptr, ptr %82, align 8, !tbaa !18 %84 = call i64 @Q_stricmp(ptr noundef nonnull %4, ptr noundef %83) #4 %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %162 86: ; preds = %78 %87 = call i32 @BotNumTeamMates(ptr noundef nonnull %0) #4 %88 = load i32, ptr @gametype, align 4, !tbaa !6 switch i32 %88, label %162 [ i32 128, label %89 i32 131, label %117 ] 89: ; preds = %86 %90 = getelementptr inbounds i8, ptr %0, i64 32 %91 = load i32, ptr %90, align 8, !tbaa !20 %92 = icmp eq i32 %91, %87 br i1 %92, label %93, label %100 93: ; preds = %89 %94 = getelementptr inbounds i8, ptr %0, i64 56 %95 = load ptr, ptr %94, align 8, !tbaa !21 %96 = icmp eq ptr %95, null br i1 %96, label %97, label %100 97: ; preds = %93 %98 = getelementptr inbounds i8, ptr %0, i64 40 %99 = load i64, ptr %98, align 8, !tbaa !22 br label %105 100: ; preds = %93, %89 %101 = call i64 @FloatTime() #4 %102 = getelementptr inbounds i8, ptr %0, i64 40 store i64 %101, ptr %102, align 8, !tbaa !22 store i32 %87, ptr %90, align 8, !tbaa !20 %103 = load ptr, ptr @qfalse, align 8, !tbaa !23 %104 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %103, ptr %104, align 8, !tbaa !21 br label %105 105: ; preds = %97, %100 %106 = phi i64 [ %99, %97 ], [ %101, %100 ] %107 = getelementptr inbounds i8, ptr %0, i64 40 %108 = icmp eq i64 %106, 0 br i1 %108, label %162, label %109 109: ; preds = %105 %110 = call i64 @FloatTime() #4 %111 = add nsw i64 %110, -5 %112 = icmp slt i64 %106, %111 br i1 %112, label %113, label %162 113: ; preds = %109 %114 = call i32 @BotTeamOrders(ptr noundef nonnull %0) #4 %115 = call i64 @FloatTime() #4 %116 = add nsw i64 %115, 120 store i64 %116, ptr %107, align 8, !tbaa !22 br label %162 117: ; preds = %86 %118 = getelementptr inbounds i8, ptr %0, i64 32 %119 = load i32, ptr %118, align 8, !tbaa !20 %120 = icmp eq i32 %119, %87 br i1 %120, label %121, label %129 121: ; preds = %117 %122 = getelementptr inbounds i8, ptr %0, i64 72 %123 = load ptr, ptr %122, align 8, !tbaa !24 %124 = icmp eq ptr %123, null br i1 %124, label %125, label %129 125: ; preds = %121 %126 = getelementptr inbounds i8, ptr %0, i64 56 %127 = load ptr, ptr %126, align 8, !tbaa !21 %128 = icmp eq ptr %127, null br i1 %128, label %135, label %129 129: ; preds = %125, %121, %117 %130 = call i64 @FloatTime() #4 %131 = getelementptr inbounds i8, ptr %0, i64 40 store i64 %130, ptr %131, align 8, !tbaa !22 store i32 %87, ptr %118, align 8, !tbaa !20 %132 = load ptr, ptr @qfalse, align 8, !tbaa !23 %133 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %132, ptr %133, align 8, !tbaa !24 %134 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %132, ptr %134, align 8, !tbaa !21 br label %135 135: ; preds = %129, %125 %136 = getelementptr inbounds i8, ptr %0, i64 48 %137 = load i64, ptr %136, align 8, !tbaa !25 %138 = call i64 @FloatTime() #4 %139 = add nsw i64 %138, -240 %140 = icmp slt i64 %137, %139 br i1 %140, label %141, label %152 141: ; preds = %135 %142 = call i64 @FloatTime() #4 store i64 %142, ptr %136, align 8, !tbaa !25 %143 = call double @random() #4 %144 = fcmp olt double %143, 4.000000e-01 br i1 %144, label %145, label %152 145: ; preds = %141 %146 = load i32, ptr @CTFS_AGRESSIVE, align 4, !tbaa !6 %147 = getelementptr inbounds i8, ptr %0, i64 64 %148 = load i32, ptr %147, align 8, !tbaa !26 %149 = xor i32 %148, %146 store i32 %149, ptr %147, align 8, !tbaa !26 %150 = call i64 @FloatTime() #4 %151 = getelementptr inbounds i8, ptr %0, i64 40 store i64 %150, ptr %151, align 8, !tbaa !22 br label %152 152: ; preds = %141, %145, %135 %153 = getelementptr inbounds i8, ptr %0, i64 40 %154 = load i64, ptr %153, align 8, !tbaa !22 %155 = icmp eq i64 %154, 0 br i1 %155, label %162, label %156 156: ; preds = %152 %157 = call i64 @FloatTime() #4 %158 = add nsw i64 %157, -3 %159 = icmp slt i64 %154, %158 br i1 %159, label %160, label %162 160: ; preds = %156 %161 = call i32 @BotCTFOrders(ptr noundef nonnull %0) #4 store i64 0, ptr %153, align 8, !tbaa !22 br label %162 162: ; preds = %86, %113, %109, %105, %160, %156, %152, %78, %55, %59, %62, %1 ret void } declare i32 @BotValidTeamLeader(ptr noundef) local_unnamed_addr #1 declare i32 @FindHumanTeamLeader(ptr noundef) local_unnamed_addr #1 declare i64 @FloatTime(...) local_unnamed_addr #1 declare double @random(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @BotAI_BotInitialChat(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @trap_BotEnterChat(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BotSayVoiceTeamOrder(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ClientName(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @Q_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BotNumTeamMates(ptr noundef) local_unnamed_addr #1 declare i32 @BotTeamOrders(ptr noundef) local_unnamed_addr #1 declare i32 @BotCTFOrders(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_13__", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !7, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !7, i64 64, !13, i64 72, !7, i64 80, !7, i64 84} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 16} !16 = !{!11, !7, i64 84} !17 = !{!11, !7, i64 80} !18 = !{!11, !13, i64 24} !19 = !{!8, !8, i64 0} !20 = !{!11, !7, i64 32} !21 = !{!11, !13, i64 56} !22 = !{!11, !12, i64 40} !23 = !{!13, !13, i64 0} !24 = !{!11, !13, i64 72} !25 = !{!11, !12, i64 48} !26 = !{!11, !7, i64 64}
lab_engine_code_game_extr_ai_team.c_BotTeamAI
; ModuleID = 'AnghaBench/linux/drivers/block/extr_loop.c_loop_unprepare_queue.c' source_filename = "AnghaBench/linux/drivers/block/extr_loop.c_loop_unprepare_queue.c" target datalayout = "e-m:e-p270:32:32-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.loop_device = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @loop_unprepare_queue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @loop_unprepare_queue(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.loop_device, ptr %0, i64 0, i32 1 %3 = tail call i32 @kthread_flush_worker(ptr noundef nonnull %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @kthread_stop(i32 noundef %4) #2 ret void } declare i32 @kthread_flush_worker(ptr noundef) local_unnamed_addr #1 declare i32 @kthread_stop(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 = !{!"loop_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/block/extr_loop.c_loop_unprepare_queue.c' source_filename = "AnghaBench/linux/drivers/block/extr_loop.c_loop_unprepare_queue.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 @loop_unprepare_queue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @loop_unprepare_queue(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @kthread_flush_worker(ptr noundef nonnull %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @kthread_stop(i32 noundef %4) #2 ret void } declare i32 @kthread_flush_worker(ptr noundef) local_unnamed_addr #1 declare i32 @kthread_stop(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 = !{!"loop_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_block_extr_loop.c_loop_unprepare_queue
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_trace-event-read.c_read8.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_trace-event-read.c_read8.c" target datalayout = "e-m:e-p270:32:32-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 @read8], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @read8(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = call i32 @read_or_die(ptr noundef nonnull %2, i32 noundef 8) #3 %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = call i64 @__data2host8(ptr noundef %0, i64 noundef %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @read_or_die(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @__data2host8(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_trace-event-read.c_read8.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_trace-event-read.c_read8.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 @read8], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @read8(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = call i32 @read_or_die(ptr noundef nonnull %2, i32 noundef 8) #3 %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = call i64 @__data2host8(ptr noundef %0, i64 noundef %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @read_or_die(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @__data2host8(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_tools_perf_util_extr_trace-event-read.c_read8
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5PutU16.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5PutU16.c" target datalayout = "e-m:e-p270:32:32-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 @fts5PutU16], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @fts5PutU16(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { %3 = ashr i32 %1, 8 store i32 %3, ptr %0, align 4, !tbaa !5 %4 = and i32 %1, 255 %5 = getelementptr inbounds i32, ptr %0, i64 1 store i32 %4, ptr %5, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5PutU16.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5PutU16.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 @fts5PutU16], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @fts5PutU16(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { %3 = ashr i32 %1, 8 store i32 %3, ptr %0, align 4, !tbaa !6 %4 = and i32 %1, 255 %5 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %4, ptr %5, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
sqlcipher_ext_fts5_extr_fts5_index.c_fts5PutU16
; ModuleID = 'AnghaBench/linux/sound/firewire/bebob/extr_bebob_pcm.c_pcm_open.c' source_filename = "AnghaBench/linux/sound/firewire/bebob/extr_bebob_pcm.c_pcm_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_pcm_substream = type { ptr, ptr } %struct.snd_bebob = type { ptr, i32, i32, ptr } %struct.TYPE_7__ = type { i32, i32 } @SND_BEBOB_CLOCK_TYPE_EXTERNAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"fail to get sampling rate: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcm_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pcm_open(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.snd_bebob, ptr %5, i64 0, i32 3 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %9 = tail call i32 @snd_bebob_stream_lock_try(ptr noundef %5) #3 %10 = icmp slt i32 %9, 0 br i1 %10, label %46, label %11 11: ; preds = %1 %12 = tail call i32 @pcm_init_hw_params(ptr noundef nonnull %5, ptr noundef nonnull %0) #3 %13 = icmp slt i32 %12, 0 br i1 %13, label %43, label %14 14: ; preds = %11 %15 = call i32 @snd_bebob_stream_get_clock_src(ptr noundef nonnull %5, ptr noundef nonnull %3) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %43, label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4, !tbaa !15 %19 = load i32, ptr @SND_BEBOB_CLOCK_TYPE_EXTERNAL, align 4, !tbaa !15 %20 = icmp eq i32 %18, %19 br i1 %20, label %29, label %21 21: ; preds = %17 %22 = getelementptr inbounds %struct.snd_bebob, ptr %5, i64 0, i32 2 %23 = call i64 @amdtp_stream_pcm_running(ptr noundef nonnull %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = getelementptr inbounds %struct.snd_bebob, ptr %5, i64 0, i32 1 %27 = call i64 @amdtp_stream_pcm_running(ptr noundef nonnull %26) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %40, label %29 29: ; preds = %25, %21, %17 %30 = load ptr, ptr %8, align 8, !tbaa !16 %31 = call i32 %30(ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %5, align 8, !tbaa !18 %35 = call i32 @dev_err(ptr noundef %34, ptr noundef nonnull @.str, i32 noundef %31) #3 br label %43 36: ; preds = %29 %37 = load i32, ptr %2, align 4, !tbaa !15 %38 = load ptr, ptr %0, align 8, !tbaa !19 store i32 %37, ptr %38, align 4, !tbaa !20 %39 = getelementptr inbounds %struct.TYPE_7__, ptr %38, i64 0, i32 1 store i32 %37, ptr %39, align 4, !tbaa !23 br label %40 40: ; preds = %36, %25 %41 = phi i32 [ %31, %36 ], [ %15, %25 ] %42 = call i32 @snd_pcm_set_sync(ptr noundef nonnull %0) #3 br label %46 43: ; preds = %14, %11, %33 %44 = phi i32 [ %12, %11 ], [ %15, %14 ], [ %31, %33 ] %45 = call i32 @snd_bebob_stream_lock_release(ptr noundef nonnull %5) #3 br label %46 46: ; preds = %40, %1, %43 %47 = phi i32 [ %44, %43 ], [ %9, %1 ], [ %41, %40 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %47 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @snd_bebob_stream_lock_try(ptr noundef) local_unnamed_addr #2 declare i32 @pcm_init_hw_params(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_bebob_stream_get_clock_src(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @amdtp_stream_pcm_running(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_pcm_set_sync(ptr noundef) local_unnamed_addr #2 declare i32 @snd_bebob_stream_lock_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"snd_pcm_substream", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"snd_bebob", !7, i64 0, !12, i64 8, !12, i64 12, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"snd_bebob_rate_spec", !7, i64 0} !18 = !{!11, !7, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_8__", !22, i64 0} !22 = !{!"TYPE_7__", !12, i64 0, !12, i64 4} !23 = !{!21, !12, i64 4}
; ModuleID = 'AnghaBench/linux/sound/firewire/bebob/extr_bebob_pcm.c_pcm_open.c' source_filename = "AnghaBench/linux/sound/firewire/bebob/extr_bebob_pcm.c_pcm_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SND_BEBOB_CLOCK_TYPE_EXTERNAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"fail to get sampling rate: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pcm_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pcm_open(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %9 = tail call i32 @snd_bebob_stream_lock_try(ptr noundef %5) #3 %10 = icmp slt i32 %9, 0 br i1 %10, label %46, label %11 11: ; preds = %1 %12 = tail call i32 @pcm_init_hw_params(ptr noundef nonnull %5, ptr noundef nonnull %0) #3 %13 = icmp slt i32 %12, 0 br i1 %13, label %43, label %14 14: ; preds = %11 %15 = call i32 @snd_bebob_stream_get_clock_src(ptr noundef nonnull %5, ptr noundef nonnull %3) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %43, label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4, !tbaa !16 %19 = load i32, ptr @SND_BEBOB_CLOCK_TYPE_EXTERNAL, align 4, !tbaa !16 %20 = icmp eq i32 %18, %19 br i1 %20, label %29, label %21 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %5, i64 12 %23 = call i64 @amdtp_stream_pcm_running(ptr noundef nonnull %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %5, i64 8 %27 = call i64 @amdtp_stream_pcm_running(ptr noundef nonnull %26) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %40, label %29 29: ; preds = %25, %21, %17 %30 = load ptr, ptr %8, align 8, !tbaa !17 %31 = call i32 %30(ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %5, align 8, !tbaa !19 %35 = call i32 @dev_err(ptr noundef %34, ptr noundef nonnull @.str, i32 noundef %31) #3 br label %43 36: ; preds = %29 %37 = load i32, ptr %2, align 4, !tbaa !16 %38 = load ptr, ptr %0, align 8, !tbaa !20 store i32 %37, ptr %38, align 4, !tbaa !21 %39 = getelementptr inbounds i8, ptr %38, i64 4 store i32 %37, ptr %39, align 4, !tbaa !24 br label %40 40: ; preds = %36, %25 %41 = phi i32 [ %31, %36 ], [ %15, %25 ] %42 = call i32 @snd_pcm_set_sync(ptr noundef nonnull %0) #3 br label %46 43: ; preds = %14, %11, %33 %44 = phi i32 [ %12, %11 ], [ %15, %14 ], [ %31, %33 ] %45 = call i32 @snd_bebob_stream_lock_release(ptr noundef nonnull %5) #3 br label %46 46: ; preds = %40, %1, %43 %47 = phi i32 [ %44, %43 ], [ %9, %1 ], [ %41, %40 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %47 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @snd_bebob_stream_lock_try(ptr noundef) local_unnamed_addr #2 declare i32 @pcm_init_hw_params(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_bebob_stream_get_clock_src(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @amdtp_stream_pcm_running(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_pcm_set_sync(ptr noundef) local_unnamed_addr #2 declare i32 @snd_bebob_stream_lock_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"snd_pcm_substream", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"snd_bebob", !8, i64 0, !13, i64 8, !13, i64 12, !8, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_5__", !8, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"snd_bebob_rate_spec", !8, i64 0} !19 = !{!12, !8, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!22, !13, i64 0} !22 = !{!"TYPE_8__", !23, i64 0} !23 = !{!"TYPE_7__", !13, i64 0, !13, i64 4} !24 = !{!22, !13, i64 4}
linux_sound_firewire_bebob_extr_bebob_pcm.c_pcm_open
; ModuleID = 'AnghaBench/sumatrapdf/ext/freetype/src/base/extr_ftstroke.c_ft_stroke_border_reset.c' source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/base/extr_ftstroke.c_ft_stroke_border_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i64 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ft_stroke_border_reset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @ft_stroke_border_reset(ptr nocapture noundef writeonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i64 0, ptr %2, align 8, !tbaa !5 store i32 -1, ptr %0, align 8, !tbaa !11 %3 = load i32, ptr @FALSE, align 4, !tbaa !12 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !13 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/sumatrapdf/ext/freetype/src/base/extr_ftstroke.c_ft_stroke_border_reset.c' source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/base/extr_ftstroke.c_ft_stroke_border_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ft_stroke_border_reset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @ft_stroke_border_reset(ptr nocapture noundef writeonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %2, align 8, !tbaa !6 store i32 -1, ptr %0, align 8, !tbaa !12 %3 = load i32, ptr @FALSE, align 4, !tbaa !13 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 4}
sumatrapdf_ext_freetype_src_base_extr_ftstroke.c_ft_stroke_border_reset
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-data.c_get_rating.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_get_rating.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @Q_type = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_rating], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_rating(ptr noundef %0, i32 %1) #0 { %3 = load i32, ptr @Q_type, align 4, !tbaa !5 %4 = tail call i32 @get_rate_item_fast(ptr noundef %0, i32 noundef %3) #2 ret i32 %4 } declare i32 @get_rate_item_fast(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/kphp-kdb/search/extr_search-data.c_get_rating.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_get_rating.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Q_type = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_rating], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_rating(ptr noundef %0, i32 %1) #0 { %3 = load i32, ptr @Q_type, align 4, !tbaa !6 %4 = tail call i32 @get_rate_item_fast(ptr noundef %0, i32 noundef %3) #2 ret i32 %4 } declare i32 @get_rate_item_fast(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"}
kphp-kdb_search_extr_search-data.c_get_rating
; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_charset.c_check_mb_cp932.c' source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_charset.c_check_mb_cp932.c" target datalayout = "e-m:e-p270:32:32-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 @check_mb_cp932], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @check_mb_cp932(ptr noundef %0, ptr noundef %1) #0 { %3 = load i8, ptr %0, align 1, !tbaa !5 %4 = sext i8 %3 to i32 %5 = tail call i64 @valid_cp932head(i32 noundef %4) #2 %6 = icmp ne i64 %5, 0 %7 = ptrtoint ptr %1 to i64 %8 = ptrtoint ptr %0 to i64 %9 = sub i64 %7, %8 %10 = icmp sgt i64 %9, 1 %11 = and i1 %10, %6 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %0, i64 1 %14 = load i8, ptr %13, align 1, !tbaa !5 %15 = sext i8 %14 to i32 %16 = tail call i64 @valid_cp932tail(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 %18 = select i1 %17, i32 0, i32 2 br label %19 19: ; preds = %12, %2 %20 = phi i32 [ 0, %2 ], [ %18, %12 ] ret i32 %20 } declare i64 @valid_cp932head(i32 noundef) local_unnamed_addr #1 declare i64 @valid_cp932tail(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_charset.c_check_mb_cp932.c' source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_charset.c_check_mb_cp932.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 @check_mb_cp932], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 3) i32 @check_mb_cp932(ptr noundef %0, ptr noundef %1) #0 { %3 = load i8, ptr %0, align 1, !tbaa !6 %4 = sext i8 %3 to i32 %5 = tail call i64 @valid_cp932head(i32 noundef %4) #2 %6 = icmp ne i64 %5, 0 %7 = ptrtoint ptr %1 to i64 %8 = ptrtoint ptr %0 to i64 %9 = sub i64 %7, %8 %10 = icmp sgt i64 %9, 1 %11 = and i1 %10, %6 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %0, i64 1 %14 = load i8, ptr %13, align 1, !tbaa !6 %15 = sext i8 %14 to i32 %16 = tail call i64 @valid_cp932tail(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 %18 = select i1 %17, i32 0, i32 2 br label %19 19: ; preds = %12, %2 %20 = phi i32 [ 0, %2 ], [ %18, %12 ] ret i32 %20 } declare i64 @valid_cp932head(i32 noundef) local_unnamed_addr #1 declare i64 @valid_cp932tail(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
php-src_ext_mysqlnd_extr_mysqlnd_charset.c_check_mb_cp932
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_trs.c_X509_TRUST_get_by_id.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_trs.c_X509_TRUST_get_by_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" %struct.TYPE_3__ = type { i32 } @X509_TRUST_MIN = dso_local local_unnamed_addr global i32 0, align 4 @X509_TRUST_MAX = dso_local local_unnamed_addr global i32 0, align 4 @trtable = dso_local local_unnamed_addr global ptr null, align 8 @X509_TRUST_COUNT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @X509_TRUST_get_by_id(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @X509_TRUST_MIN, align 4, !tbaa !5 %4 = icmp sgt i32 %3, %0 %5 = load i32, ptr @X509_TRUST_MAX, align 4 %6 = icmp slt i32 %5, %0 %7 = select i1 %4, i1 true, i1 %6 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = sub nsw i32 %0, %3 br label %19 10: ; preds = %1 %11 = load ptr, ptr @trtable, align 8, !tbaa !9 %12 = icmp eq ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %10 store i32 %0, ptr %2, align 4, !tbaa !11 %14 = call i32 @sk_X509_TRUST_find(ptr noundef nonnull %11, ptr noundef nonnull %2) #3 %15 = icmp slt i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr @X509_TRUST_COUNT, align 4, !tbaa !5 %18 = add nsw i32 %17, %14 br label %19 19: ; preds = %13, %10, %16, %8 %20 = phi i32 [ %9, %8 ], [ %18, %16 ], [ -1, %10 ], [ -1, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i32 @sk_X509_TRUST_find(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_trs.c_X509_TRUST_get_by_id.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_trs.c_X509_TRUST_get_by_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } @X509_TRUST_MIN = common local_unnamed_addr global i32 0, align 4 @X509_TRUST_MAX = common local_unnamed_addr global i32 0, align 4 @trtable = common local_unnamed_addr global ptr null, align 8 @X509_TRUST_COUNT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @X509_TRUST_get_by_id(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @X509_TRUST_MIN, align 4, !tbaa !6 %4 = icmp sgt i32 %3, %0 %5 = load i32, ptr @X509_TRUST_MAX, align 4 %6 = icmp slt i32 %5, %0 %7 = select i1 %4, i1 true, i1 %6 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = sub nsw i32 %0, %3 br label %19 10: ; preds = %1 %11 = load ptr, ptr @trtable, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %10 store i32 %0, ptr %2, align 4, !tbaa !12 %14 = call i32 @sk_X509_TRUST_find(ptr noundef nonnull %11, ptr noundef nonnull %2) #3 %15 = icmp slt i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr @X509_TRUST_COUNT, align 4, !tbaa !6 %18 = add nsw i32 %17, %14 br label %19 19: ; preds = %13, %10, %16, %8 %20 = phi i32 [ %9, %8 ], [ %18, %16 ], [ -1, %10 ], [ -1, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i32 @sk_X509_TRUST_find(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
openssl_crypto_x509_extr_x509_trs.c_X509_TRUST_get_by_id
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_farch_ev_probe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_farch_ev_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.ef4_channel = type { i32, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @ef4_farch_ev_probe(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.ef4_channel, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.ef4_channel, ptr %0, i64 0, i32 1 %6 = shl i32 %4, 2 %7 = add i32 %6, 4 %8 = tail call i32 @ef4_alloc_special_buffer(ptr noundef %3, ptr noundef nonnull %5, i32 noundef %7) #2 ret i32 %8 } declare i32 @ef4_alloc_special_buffer(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, !10, i64 8} !6 = !{!"ef4_channel", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_farch_ev_probe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_farch_ev_probe.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 @ef4_farch_ev_probe(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = shl i32 %4, 2 %7 = add i32 %6, 4 %8 = tail call i32 @ef4_alloc_special_buffer(ptr noundef %3, ptr noundef nonnull %5, i32 noundef %7) #2 ret i32 %8 } declare i32 @ef4_alloc_special_buffer(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, !11, i64 8} !7 = !{!"ef4_channel", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_sfc_falcon_extr_farch.c_ef4_farch_ev_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_atmel_usba_udc.c_nop_release.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_atmel_usba_udc.c_nop_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @nop_release], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @nop_release(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/usb/gadget/extr_atmel_usba_udc.c_nop_release.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_atmel_usba_udc.c_nop_release.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 @nop_release], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @nop_release(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_usb_gadget_extr_atmel_usba_udc.c_nop_release
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_testSetupDiGetClassDevsA.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_testSetupDiGetClassDevsA.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, i32, i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_11__ = type { i32, i32 } @testSetupDiGetClassDevsA.displayguid = internal global %struct.TYPE_10__ { i32 1295444328, i32 58149, i32 4558, %struct.TYPE_8__ { i32 191, i32 193, i32 8, i32 0, i32 43, i32 225, i32 3, i32 24 } }, align 4 @.str = private unnamed_addr constant [33 x i8] c"EnumDisplayDevices failed: %08x\0A\00", align 1 @INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [35 x i8] c"SetupDiGetClassDevsA failed: %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"SetupDiEnumDeviceInfo failed: %08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @testSetupDiGetClassDevsA], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @testSetupDiGetClassDevsA() #0 { %1 = alloca %struct.TYPE_9__, align 4 %2 = alloca %struct.TYPE_11__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i32 8, ptr %2, align 4, !tbaa !5 %3 = call i32 @EnumDisplayDevicesA(ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %4 = call i32 (...) @GetLastError() #3 %5 = call i32 @ok(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #3 %6 = call i32 @SetLastError(i32 noundef -559038737) #3 %7 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @testSetupDiGetClassDevsA.displayguid, i32 noundef %8, i32 noundef 0, i32 noundef 0) #3 %10 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !11 %11 = icmp ne i64 %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 (...) @GetLastError() #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3 store i32 4, ptr %1, align 4, !tbaa !13 %15 = call i32 @SetupDiEnumDeviceInfo(i64 noundef %9, i32 noundef 0, ptr noundef nonnull %1) #3 %16 = call i32 (...) @GetLastError() #3 %17 = call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str.2, i32 noundef %16) #3 %18 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #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 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EnumDisplayDevicesA(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetLastError(...) local_unnamed_addr #2 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2 declare i64 @SetupDiGetClassDevsA(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SetupDiEnumDeviceInfo(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SetupDiDestroyDeviceInfoList(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_9__", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_testSetupDiGetClassDevsA.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_testSetupDiGetClassDevsA.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i32, i32, i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_11__ = type { i32, i32 } @testSetupDiGetClassDevsA.displayguid = internal global %struct.TYPE_10__ { i32 1295444328, i32 58149, i32 4558, %struct.TYPE_8__ { i32 191, i32 193, i32 8, i32 0, i32 43, i32 225, i32 3, i32 24 } }, align 4 @.str = private unnamed_addr constant [33 x i8] c"EnumDisplayDevices failed: %08x\0A\00", align 1 @INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [35 x i8] c"SetupDiGetClassDevsA failed: %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"SetupDiEnumDeviceInfo failed: %08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @testSetupDiGetClassDevsA], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @testSetupDiGetClassDevsA() #0 { %1 = alloca %struct.TYPE_9__, align 4 %2 = alloca %struct.TYPE_11__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i32 8, ptr %2, align 4, !tbaa !6 %3 = call i32 @EnumDisplayDevicesA(ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %4 = call i32 @GetLastError() #3 %5 = call i32 @ok(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %4) #3 %6 = call i32 @SetLastError(i32 noundef -559038737) #3 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @testSetupDiGetClassDevsA.displayguid, i32 noundef %8, i32 noundef 0, i32 noundef 0) #3 %10 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !12 %11 = icmp ne i64 %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 @GetLastError() #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3 store i32 4, ptr %1, align 4, !tbaa !14 %15 = call i32 @SetupDiEnumDeviceInfo(i64 noundef %9, i32 noundef 0, ptr noundef nonnull %1) #3 %16 = call i32 @GetLastError() #3 %17 = call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str.2, i32 noundef %16) #3 %18 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #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 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EnumDisplayDevicesA(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetLastError(...) local_unnamed_addr #2 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2 declare i64 @SetupDiGetClassDevsA(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SetupDiEnumDeviceInfo(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SetupDiDestroyDeviceInfoList(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_9__", !8, i64 0}
reactos_modules_rostests_winetests_setupapi_extr_devinst.c_testSetupDiGetClassDevsA
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvctl/extr_rtadvctl.c_action_show_rtinfo.c' source_filename = "AnghaBench/freebsd/usr.sbin/rtadvctl/extr_rtadvctl.c_action_show_rtinfo.c" target datalayout = "e-m:e-p270:32:32-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.rtinfo = type { i32, i32, i64, i32 } @INET6_ADDRSTRLEN = dso_local local_unnamed_addr global i32 0, align 4 @SSBUFLEN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"\09 %s/%d (pref: %s, ltime: %s)\0A\00", align 1 @AF_INET6 = dso_local local_unnamed_addr global i32 0, align 4 @rtpref_str = dso_local local_unnamed_addr global ptr null, align 8 @ND6_INFINITE_LIFETIME = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"infinity\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @action_show_rtinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @action_show_rtinfo(ptr noundef %0) #0 { %2 = load i32, ptr @INET6_ADDRSTRLEN, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 16 %5 = load i32, ptr @SSBUFLEN, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 16 %8 = load i32, ptr @AF_INET6, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.rtinfo, ptr %0, i64 0, i32 3 %10 = call ptr @inet_ntop(i32 noundef %8, ptr noundef nonnull %9, ptr noundef nonnull %4, i32 noundef %2) #2 %11 = load i32, ptr %0, align 8, !tbaa !9 %12 = load ptr, ptr @rtpref_str, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.rtinfo, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = lshr i32 %14, 3 %16 = and i32 %15, 255 %17 = zext nneg i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %12, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.rtinfo, ptr %0, i64 0, i32 2 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = load i64, ptr @ND6_INFINITE_LIFETIME, align 8, !tbaa !16 %23 = icmp eq i64 %21, %22 br i1 %23, label %26, label %24 24: ; preds = %1 %25 = call ptr @sec2str(i64 noundef %21, ptr noundef nonnull %7) #2 br label %26 26: ; preds = %1, %24 %27 = phi ptr [ %25, %24 ], [ @.str.1, %1 ] %28 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %10, i32 noundef %11, ptr noundef %19, ptr noundef %27) #2 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sec2str(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"rtinfo", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !6, i64 4} !15 = !{!10, !11, i64 8} !16 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvctl/extr_rtadvctl.c_action_show_rtinfo.c' source_filename = "AnghaBench/freebsd/usr.sbin/rtadvctl/extr_rtadvctl.c_action_show_rtinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INET6_ADDRSTRLEN = common local_unnamed_addr global i32 0, align 4 @SSBUFLEN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"\09 %s/%d (pref: %s, ltime: %s)\0A\00", align 1 @AF_INET6 = common local_unnamed_addr global i32 0, align 4 @rtpref_str = common local_unnamed_addr global ptr null, align 8 @ND6_INFINITE_LIFETIME = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"infinity\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @action_show_rtinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @action_show_rtinfo(ptr noundef %0) #0 { %2 = load i32, ptr @INET6_ADDRSTRLEN, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 1 %5 = load i32, ptr @SSBUFLEN, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 1 %8 = load i32, ptr @AF_INET6, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = call ptr @inet_ntop(i32 noundef %8, ptr noundef nonnull %9, ptr noundef nonnull %4, i32 noundef %2) #2 %11 = load i32, ptr %0, align 8, !tbaa !10 %12 = load ptr, ptr @rtpref_str, align 8, !tbaa !13 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = lshr i32 %14, 3 %16 = and i32 %15, 255 %17 = zext nneg i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %12, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = load i64, ptr @ND6_INFINITE_LIFETIME, align 8, !tbaa !17 %23 = icmp eq i64 %21, %22 br i1 %23, label %26, label %24 24: ; preds = %1 %25 = call ptr @sec2str(i64 noundef %21, ptr noundef nonnull %7) #2 br label %26 26: ; preds = %1, %24 %27 = phi ptr [ %25, %24 ], [ @.str.1, %1 ] %28 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %10, i32 noundef %11, ptr noundef %19, ptr noundef %27) #2 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sec2str(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rtinfo", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !7, i64 4} !16 = !{!11, !12, i64 8} !17 = !{!12, !12, i64 0}
freebsd_usr.sbin_rtadvctl_extr_rtadvctl.c_action_show_rtinfo
; ModuleID = 'AnghaBench/qmk_firmware/drivers/issi/extr_is31fl3733.c_IS31FL3733_set_color_all.c' source_filename = "AnghaBench/qmk_firmware/drivers/issi/extr_is31fl3733.c_IS31FL3733_set_color_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DRIVER_LED_TOTAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @IS31FL3733_set_color_all(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @DRIVER_LED_TOTAL, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %7, label %6 6: ; preds = %7, %3 ret void 7: ; preds = %3, %7 %8 = phi i32 [ %10, %7 ], [ 0, %3 ] %9 = tail call i32 @IS31FL3733_set_color(i32 noundef %8, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 %10 = add nuw nsw i32 %8, 1 %11 = load i32, ptr @DRIVER_LED_TOTAL, align 4, !tbaa !5 %12 = icmp slt i32 %10, %11 br i1 %12, label %7, label %6, !llvm.loop !9 } declare i32 @IS31FL3733_set_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/drivers/issi/extr_is31fl3733.c_IS31FL3733_set_color_all.c' source_filename = "AnghaBench/qmk_firmware/drivers/issi/extr_is31fl3733.c_IS31FL3733_set_color_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DRIVER_LED_TOTAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @IS31FL3733_set_color_all(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @DRIVER_LED_TOTAL, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %7, label %6 6: ; preds = %7, %3 ret void 7: ; preds = %3, %7 %8 = phi i32 [ %10, %7 ], [ 0, %3 ] %9 = tail call i32 @IS31FL3733_set_color(i32 noundef %8, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 %10 = add nuw nsw i32 %8, 1 %11 = load i32, ptr @DRIVER_LED_TOTAL, align 4, !tbaa !6 %12 = icmp slt i32 %10, %11 br i1 %12, label %7, label %6, !llvm.loop !10 } declare i32 @IS31FL3733_set_color(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
qmk_firmware_drivers_issi_extr_is31fl3733.c_IS31FL3733_set_color_all
; ModuleID = 'AnghaBench/freebsd/bin/pax/extr_ar_io.c_ar_set_wr.c' source_filename = "AnghaBench/freebsd/bin/pax/extr_ar_io.c_ar_set_wr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @wr_trail = dso_local local_unnamed_addr global i64 0, align 8 @artyp = dso_local local_unnamed_addr global i64 0, align 8 @ISREG = dso_local local_unnamed_addr global i64 0, align 8 @arfd = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_CUR = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unable to truncate archive file\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ar_set_wr() local_unnamed_addr #0 { store i64 0, ptr @wr_trail, align 8, !tbaa !5 %1 = load i64, ptr @artyp, align 8, !tbaa !5 %2 = load i64, ptr @ISREG, align 8, !tbaa !5 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %16 4: ; preds = %0 %5 = load i32, ptr @arfd, align 4, !tbaa !9 %6 = load i32, ptr @SEEK_CUR, align 4, !tbaa !9 %7 = tail call i32 @lseek(i32 noundef %5, i32 noundef 0, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %4 %10 = load i32, ptr @arfd, align 4, !tbaa !9 %11 = tail call i64 @ftruncate(i32 noundef %10, i32 noundef %7) #2 %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9, %4 %14 = load i32, ptr @errno, align 4, !tbaa !9 %15 = tail call i32 @syswarn(i32 noundef 1, i32 noundef %14, ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %9, %0, %13 %17 = phi i32 [ -1, %13 ], [ 0, %0 ], [ 0, %9 ] ret i32 %17 } declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ftruncate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @syswarn(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/bin/pax/extr_ar_io.c_ar_set_wr.c' source_filename = "AnghaBench/freebsd/bin/pax/extr_ar_io.c_ar_set_wr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @wr_trail = common local_unnamed_addr global i64 0, align 8 @artyp = common local_unnamed_addr global i64 0, align 8 @ISREG = common local_unnamed_addr global i64 0, align 8 @arfd = common local_unnamed_addr global i32 0, align 4 @SEEK_CUR = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unable to truncate archive file\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @ar_set_wr() local_unnamed_addr #0 { store i64 0, ptr @wr_trail, align 8, !tbaa !6 %1 = load i64, ptr @artyp, align 8, !tbaa !6 %2 = load i64, ptr @ISREG, align 8, !tbaa !6 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %16 4: ; preds = %0 %5 = load i32, ptr @arfd, align 4, !tbaa !10 %6 = load i32, ptr @SEEK_CUR, align 4, !tbaa !10 %7 = tail call i32 @lseek(i32 noundef %5, i32 noundef 0, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %4 %10 = load i32, ptr @arfd, align 4, !tbaa !10 %11 = tail call i64 @ftruncate(i32 noundef %10, i32 noundef %7) #2 %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9, %4 %14 = load i32, ptr @errno, align 4, !tbaa !10 %15 = tail call i32 @syswarn(i32 noundef 1, i32 noundef %14, ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %9, %0, %13 %17 = phi i32 [ -1, %13 ], [ 0, %0 ], [ 0, %9 ] ret i32 %17 } declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ftruncate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @syswarn(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_bin_pax_extr_ar_io.c_ar_set_wr
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/events/extr_evgpe.c_AcpiEvLowGetGpeInfo.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/events/extr_evgpe.c_AcpiEvLowGetGpeInfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i64, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @AcpiEvLowGetGpeInfo(i64 noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %16, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = icmp sgt i64 %5, %0 br i1 %6, label %16, label %7 7: ; preds = %4 %8 = sub nsw i64 %0, %5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = icmp slt i64 %8, %10 br i1 %11, label %12, label %16 12: ; preds = %7 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = getelementptr inbounds i32, ptr %14, i64 %8 br label %16 16: ; preds = %7, %2, %4, %12 %17 = phi ptr [ %15, %12 ], [ null, %4 ], [ null, %2 ], [ null, %7 ] ret ptr %17 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, 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, !7, i64 8} !12 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/events/extr_evgpe.c_AcpiEvLowGetGpeInfo.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/events/extr_evgpe.c_AcpiEvLowGetGpeInfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @AcpiEvLowGetGpeInfo(i64 noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %16, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = icmp sgt i64 %5, %0 br i1 %6, label %16, label %7 7: ; preds = %4 %8 = sub nsw i64 %0, %5 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp slt i64 %8, %10 br i1 %11, label %12, label %16 12: ; preds = %7 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = getelementptr inbounds i32, ptr %14, i64 %8 br label %16 16: ; preds = %7, %2, %4, %12 %17 = phi ptr [ %15, %12 ], [ null, %4 ], [ null, %2 ], [ null, %7 ] ret ptr %17 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, 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, !8, i64 8} !13 = !{!7, !11, i64 16}
freebsd_sys_contrib_dev_acpica_components_events_extr_evgpe.c_AcpiEvLowGetGpeInfo
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_oss.c_format2oss.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_oss.c_format2oss.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @format_table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @format2oss], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @format2oss(i32 noundef %0) #0 { %2 = load ptr, ptr @format_table, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !9 %5 = icmp eq i32 %4, -1 br i1 %5, label %21, label %6 6: ; preds = %1 %7 = getelementptr inbounds i32, ptr %3, i64 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = icmp eq i32 %8, %0 br i1 %9, label %21, label %10 10: ; preds = %6, %17 %11 = phi i64 [ %12, %17 ], [ 0, %6 ] %12 = add nuw i64 %11, 1 %13 = getelementptr inbounds ptr, ptr %2, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !5 %15 = load i32, ptr %14, align 4, !tbaa !9 %16 = icmp eq i32 %15, -1 br i1 %16, label %21, label %17, !llvm.loop !11 17: ; preds = %10 %18 = getelementptr inbounds i32, ptr %14, i64 1 %19 = load i32, ptr %18, align 4, !tbaa !9 %20 = icmp eq i32 %19, %0 br i1 %20, label %21, label %10, !llvm.loop !11 21: ; preds = %17, %10, %6, %1 %22 = phi i32 [ -1, %1 ], [ %4, %6 ], [ -1, %10 ], [ %15, %17 ] ret i32 %22 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_oss.c_format2oss.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_oss.c_format2oss.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @format_table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @format2oss], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @format2oss(i32 noundef %0) #0 { %2 = load ptr, ptr @format_table, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = icmp eq i32 %4, -1 br i1 %5, label %21, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %3, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = icmp eq i32 %8, %0 br i1 %9, label %21, label %10 10: ; preds = %6, %17 %11 = phi i64 [ %12, %17 ], [ 0, %6 ] %12 = add nuw nsw i64 %11, 1 %13 = getelementptr inbounds ptr, ptr %2, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !6 %15 = load i32, ptr %14, align 4, !tbaa !10 %16 = icmp eq i32 %15, -1 br i1 %16, label %21, label %17, !llvm.loop !12 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %14, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !10 %20 = icmp eq i32 %19, %0 br i1 %20, label %21, label %10, !llvm.loop !12 21: ; preds = %17, %10, %6, %1 %22 = phi i32 [ -1, %1 ], [ %4, %6 ], [ -1, %10 ], [ %15, %17 ] ret i32 %22 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
mpv_audio_out_extr_ao_oss.c_format2oss
; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_disk_name.c' source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_disk_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @pblk_disk_name], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @pblk_disk_name(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 ret ptr %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pblk", !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 = !{!"gendisk", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_disk_name.c' source_filename = "AnghaBench/linux/drivers/lightnvm/extr_pblk.h_pblk_disk_name.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 @pblk_disk_name], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @pblk_disk_name(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 ret ptr %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pblk", !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 = !{!"gendisk", !8, i64 0}
linux_drivers_lightnvm_extr_pblk.h_pblk_disk_name
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_test-ndisc-rs.c_icmp6_bind_router_advertisement.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_test-ndisc-rs.c_icmp6_bind_router_advertisement.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @icmp6_bind_router_advertisement(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !5 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_test-ndisc-rs.c_icmp6_bind_router_advertisement.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_test-ndisc-rs.c_icmp6_bind_router_advertisement.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @icmp6_bind_router_advertisement(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !6 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
systemd_src_libsystemd-network_extr_test-ndisc-rs.c_icmp6_bind_router_advertisement
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_pci.h_pci_has_subordinate.c' source_filename = "AnghaBench/linux/drivers/pci/extr_pci.h_pci_has_subordinate.c" target datalayout = "e-m:e-p270:32:32-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 @pci_has_subordinate], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @pci_has_subordinate(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = icmp ne 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 = !{!"pci_dev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_pci.h_pci_has_subordinate.c' source_filename = "AnghaBench/linux/drivers/pci/extr_pci.h_pci_has_subordinate.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 @pci_has_subordinate], 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 @pci_has_subordinate(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = icmp ne 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 = !{!"pci_dev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_pci_extr_pci.h_pci_has_subordinate
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_event.c_sas_notify_phy_event.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_event.c_sas_notify_phy_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.asd_sas_phy = type { ptr, i32, ptr } %struct.TYPE_2__ = type { i32 } @PHY_NUM_EVENTS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @sas_notify_phy_event(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.asd_sas_phy, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @PHY_NUM_EVENTS, align 4, !tbaa !11 %6 = icmp ule i32 %5, %1 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #2 %9 = getelementptr inbounds %struct.asd_sas_phy, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %0, align 8, !tbaa !12 %11 = zext i32 %1 to i64 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11 %13 = tail call i32 @sas_queue_event(i32 noundef %1, ptr noundef nonnull %9, ptr noundef %12, ptr noundef %4) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @sas_queue_event(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"asd_sas_phy", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_event.c_sas_notify_phy_event.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_event.c_sas_notify_phy_event.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 } @PHY_NUM_EVENTS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @sas_notify_phy_event(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @PHY_NUM_EVENTS, align 4, !tbaa !12 %6 = icmp ule i32 %5, %1 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %0, align 8, !tbaa !13 %11 = zext i32 %1 to i64 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11 %13 = tail call i32 @sas_queue_event(i32 noundef %1, ptr noundef nonnull %9, ptr noundef %12, ptr noundef %4) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @sas_queue_event(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"asd_sas_phy", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_scsi_libsas_extr_sas_event.c_sas_notify_phy_event
; ModuleID = 'AnghaBench/timescaledb/src/extr_indexing.c_ts_indexing_verify_columns.c' source_filename = "AnghaBench/timescaledb/src/extr_indexing.c_ts_indexing_verify_columns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } %struct.TYPE_7__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_TS_BAD_HYPERTABLE_INDEX_DEFINITION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [76 x i8] c"cannot create a unique index without the column \22%s\22 (used in partitioning)\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ts_indexing_verify_columns(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %28 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %23 %8 = phi i64 [ 0, %5 ], [ %24, %23 ] %9 = load ptr, ptr %6, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @NameStr(i32 noundef %11) #2 %13 = tail call i32 @index_has_attribute(ptr noundef %1, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %7 %16 = load i32, ptr @ERROR, align 4, !tbaa !15 %17 = load i32, ptr @ERRCODE_TS_BAD_HYPERTABLE_INDEX_DEFINITION, align 4, !tbaa !15 %18 = tail call i32 @errcode(i32 noundef %17) #2 %19 = load i32, ptr %10, align 4, !tbaa !12 %20 = tail call i32 @NameStr(i32 noundef %19) #2 %21 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @ereport(i32 noundef %16, i32 noundef %21) #2 br label %23 23: ; preds = %15, %7 %24 = add nuw nsw i64 %8, 1 %25 = load i32, ptr %0, align 8, !tbaa !5 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %24, %26 br i1 %27, label %7, label %28, !llvm.loop !16 28: ; preds = %23, %2 ret void } declare i32 @index_has_attribute(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NameStr(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/timescaledb/src/extr_indexing.c_ts_indexing_verify_columns.c' source_filename = "AnghaBench/timescaledb/src/extr_indexing.c_ts_indexing_verify_columns.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_TS_BAD_HYPERTABLE_INDEX_DEFINITION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [76 x i8] c"cannot create a unique index without the column \22%s\22 (used in partitioning)\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ts_indexing_verify_columns(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %28 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %23 %8 = phi i64 [ 0, %5 ], [ %24, %23 ] %9 = load ptr, ptr %6, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @NameStr(i32 noundef %11) #2 %13 = tail call i32 @index_has_attribute(ptr noundef %1, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %7 %16 = load i32, ptr @ERROR, align 4, !tbaa !16 %17 = load i32, ptr @ERRCODE_TS_BAD_HYPERTABLE_INDEX_DEFINITION, align 4, !tbaa !16 %18 = tail call i32 @errcode(i32 noundef %17) #2 %19 = load i32, ptr %10, align 4, !tbaa !13 %20 = tail call i32 @NameStr(i32 noundef %19) #2 %21 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @ereport(i32 noundef %16, i32 noundef %21) #2 br label %23 23: ; preds = %15, %7 %24 = add nuw nsw i64 %8, 1 %25 = load i32, ptr %0, align 8, !tbaa !6 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %24, %26 br i1 %27, label %7, label %28, !llvm.loop !17 28: ; preds = %23, %2 ret void } declare i32 @index_has_attribute(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NameStr(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_7__", !15, i64 0} !15 = !{!"TYPE_5__", !8, i64 0} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
timescaledb_src_extr_indexing.c_ts_indexing_verify_columns
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_interplayvideo.c_ipvideo_decode_block_opcode_0xD.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_interplayvideo.c_ipvideo_decode_block_opcode_0xD.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i64, i32, i32 } @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"too little data for opcode 0xD\0A\00", align 1 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipvideo_decode_block_opcode_0xD], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipvideo_decode_block_opcode_0xD(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %4 = tail call i32 @bytestream2_get_bytes_left(ptr noundef nonnull %3) #2 %5 = icmp slt i32 %4, 4 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 br label %14 8: ; preds = %2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !11 %12 = tail call i32 @av_log(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !11 br label %36 14: ; preds = %6, %23 %15 = phi i8 [ undef, %6 ], [ %25, %23 ] %16 = phi i8 [ undef, %6 ], [ %24, %23 ] %17 = phi i32 [ 0, %6 ], [ %34, %23 ] %18 = and i32 %17, 3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = tail call zeroext i8 @bytestream2_get_byte(ptr noundef nonnull %3) #2 %22 = tail call zeroext i8 @bytestream2_get_byte(ptr noundef nonnull %3) #2 br label %23 23: ; preds = %20, %14 %24 = phi i8 [ %16, %14 ], [ %22, %20 ] %25 = phi i8 [ %15, %14 ], [ %21, %20 ] %26 = load i64, ptr %7, align 8, !tbaa !12 %27 = tail call i32 @memset(i64 noundef %26, i8 noundef zeroext %25, i32 noundef 4) #2 %28 = load i64, ptr %7, align 8, !tbaa !12 %29 = add nsw i64 %28, 4 %30 = tail call i32 @memset(i64 noundef %29, i8 noundef zeroext %24, i32 noundef 4) #2 %31 = load i64, ptr %0, align 8, !tbaa !13 %32 = load i64, ptr %7, align 8, !tbaa !12 %33 = add nsw i64 %32, %31 store i64 %33, ptr %7, align 8, !tbaa !12 %34 = add nuw nsw i32 %17, 1 %35 = icmp eq i32 %34, 8 br i1 %35, label %36, label %14, !llvm.loop !14 36: ; preds = %23, %8 %37 = phi i32 [ %13, %8 ], [ 0, %23 ] ret i32 %37 } declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare zeroext i8 @bytestream2_get_byte(ptr noundef) local_unnamed_addr #1 declare i32 @memset(i64 noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 20} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !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, !7, i64 8} !13 = !{!6, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_interplayvideo.c_ipvideo_decode_block_opcode_0xD.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_interplayvideo.c_ipvideo_decode_block_opcode_0xD.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"too little data for opcode 0xD\0A\00", align 1 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipvideo_decode_block_opcode_0xD], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ipvideo_decode_block_opcode_0xD(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @bytestream2_get_bytes_left(ptr noundef nonnull %3) #2 %5 = icmp slt i32 %4, 4 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 8 br label %14 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 20 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %12 = tail call i32 @av_log(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %36 14: ; preds = %6, %23 %15 = phi i8 [ undef, %6 ], [ %25, %23 ] %16 = phi i8 [ undef, %6 ], [ %24, %23 ] %17 = phi i32 [ 0, %6 ], [ %34, %23 ] %18 = and i32 %17, 3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = tail call zeroext i8 @bytestream2_get_byte(ptr noundef nonnull %3) #2 %22 = tail call zeroext i8 @bytestream2_get_byte(ptr noundef nonnull %3) #2 br label %23 23: ; preds = %20, %14 %24 = phi i8 [ %16, %14 ], [ %22, %20 ] %25 = phi i8 [ %15, %14 ], [ %21, %20 ] %26 = load i64, ptr %7, align 8, !tbaa !13 %27 = tail call i32 @memset(i64 noundef %26, i8 noundef zeroext %25, i32 noundef 4) #2 %28 = load i64, ptr %7, align 8, !tbaa !13 %29 = add nsw i64 %28, 4 %30 = tail call i32 @memset(i64 noundef %29, i8 noundef zeroext %24, i32 noundef 4) #2 %31 = load i64, ptr %0, align 8, !tbaa !14 %32 = load i64, ptr %7, align 8, !tbaa !13 %33 = add nsw i64 %32, %31 store i64 %33, ptr %7, align 8, !tbaa !13 %34 = add nuw nsw i32 %17, 1 %35 = icmp eq i32 %34, 8 br i1 %35, label %36, label %14, !llvm.loop !15 36: ; preds = %23, %8 %37 = phi i32 [ %13, %8 ], [ 0, %23 ] ret i32 %37 } declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare zeroext i8 @bytestream2_get_byte(ptr noundef) local_unnamed_addr #1 declare i32 @memset(i64 noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 20} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !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, !8, i64 8} !14 = !{!7, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_interplayvideo.c_ipvideo_decode_block_opcode_0xD
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_ml403-ac97cr.c_snd_ml403_ac97cr_mixer_free.c' source_filename = "AnghaBench/linux/sound/drivers/extr_ml403-ac97cr.c_snd_ml403_ac97cr_mixer_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INIT_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"mixer_free():\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"mixer_free(): (done)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ml403_ac97cr_mixer_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_ml403_ac97cr_mixer_free(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @INIT_INFO, align 4, !tbaa !10 %4 = tail call i32 @PDEBUG(i32 noundef %3, ptr noundef nonnull @.str) #2 store ptr null, ptr %2, align 8, !tbaa !12 %5 = load i32, ptr @INIT_INFO, align 4, !tbaa !10 %6 = tail call i32 @PDEBUG(i32 noundef %5, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_ac97", !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, !7, i64 0} !13 = !{!"snd_ml403_ac97cr", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_ml403-ac97cr.c_snd_ml403_ac97cr_mixer_free.c' source_filename = "AnghaBench/linux/sound/drivers/extr_ml403-ac97cr.c_snd_ml403_ac97cr_mixer_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INIT_INFO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"mixer_free():\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"mixer_free(): (done)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @snd_ml403_ac97cr_mixer_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_ml403_ac97cr_mixer_free(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @INIT_INFO, align 4, !tbaa !11 %4 = tail call i32 @PDEBUG(i32 noundef %3, ptr noundef nonnull @.str) #2 store ptr null, ptr %2, align 8, !tbaa !13 %5 = load i32, ptr @INIT_INFO, align 4, !tbaa !11 %6 = tail call i32 @PDEBUG(i32 noundef %5, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_ac97", !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, !8, i64 0} !14 = !{!"snd_ml403_ac97cr", !8, i64 0}
linux_sound_drivers_extr_ml403-ac97cr.c_snd_ml403_ac97cr_mixer_free
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_atmel_mxt_ts.c_mxt_debug_init.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_atmel_mxt_ts.c_mxt_debug_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mxt_debug_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @mxt_debug_init(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/linux/drivers/input/touchscreen/extr_atmel_mxt_ts.c_mxt_debug_init.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_atmel_mxt_ts.c_mxt_debug_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @mxt_debug_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @mxt_debug_init(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)"}
linux_drivers_input_touchscreen_extr_atmel_mxt_ts.c_mxt_debug_init
; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_palm27x.h_palm27x_udc_init.c' source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_palm27x.h_palm27x_udc_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @palm27x_udc_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @palm27x_udc_init(i32 %0, i32 %1, i32 %2) #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/linux/arch/arm/mach-pxa/extr_palm27x.h_palm27x_udc_init.c' source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_palm27x.h_palm27x_udc_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @palm27x_udc_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @palm27x_udc_init(i32 %0, i32 %1, i32 %2) #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)"}
linux_arch_arm_mach-pxa_extr_palm27x.h_palm27x_udc_init
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_setexposure.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_setexposure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXPO_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CID_POWER_LINE_FREQUENCY_50HZ = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CID_POWER_LINE_FREQUENCY_60HZ = dso_local local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITL = dso_local local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITM = dso_local local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITU = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @setexposure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @setexposure(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = shl i32 %1, 6 %5 = load i32, ptr @EXPO_CHANGED, align 4, !tbaa !5 store i32 %5, ptr %0, align 4, !tbaa !9 %6 = load i32, ptr @V4L2_CID_POWER_LINE_FREQUENCY_50HZ, align 4, !tbaa !5 %7 = icmp eq i32 %6, %2 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = srem i32 %4, 106667 %10 = sub nsw i32 %4, %9 br label %11 11: ; preds = %8, %3 %12 = phi i32 [ %10, %8 ], [ %4, %3 ] %13 = load i32, ptr @V4L2_CID_POWER_LINE_FREQUENCY_60HZ, align 4, !tbaa !5 %14 = icmp eq i32 %13, %2 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = srem i32 %12, 88889 %17 = sub nsw i32 %12, %16 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ %17, %15 ], [ %12, %11 ] %20 = ashr i32 %19, 16 %21 = ashr i32 %19, 8 %22 = load i32, ptr @HV7131_REG_TITL, align 4, !tbaa !5 %23 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %19) #2 %24 = load i32, ptr @HV7131_REG_TITM, align 4, !tbaa !5 %25 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %21) #2 %26 = load i32, ptr @HV7131_REG_TITU, align 4, !tbaa !5 %27 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %20) #2 ret void } declare i32 @se401_set_feature(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"sd", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_setexposure.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_setexposure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXPO_CHANGED = common local_unnamed_addr global i32 0, align 4 @V4L2_CID_POWER_LINE_FREQUENCY_50HZ = common local_unnamed_addr global i32 0, align 4 @V4L2_CID_POWER_LINE_FREQUENCY_60HZ = common local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITL = common local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITM = common local_unnamed_addr global i32 0, align 4 @HV7131_REG_TITU = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @setexposure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @setexposure(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = shl i32 %1, 6 %5 = load i32, ptr @EXPO_CHANGED, align 4, !tbaa !6 store i32 %5, ptr %0, align 4, !tbaa !10 %6 = load i32, ptr @V4L2_CID_POWER_LINE_FREQUENCY_50HZ, align 4, !tbaa !6 %7 = icmp eq i32 %6, %2 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = srem i32 %4, 106667 %10 = sub nsw i32 %4, %9 br label %11 11: ; preds = %8, %3 %12 = phi i32 [ %10, %8 ], [ %4, %3 ] %13 = load i32, ptr @V4L2_CID_POWER_LINE_FREQUENCY_60HZ, align 4, !tbaa !6 %14 = icmp eq i32 %13, %2 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = srem i32 %12, 88889 %17 = sub nsw i32 %12, %16 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ %17, %15 ], [ %12, %11 ] %20 = ashr i32 %19, 16 %21 = ashr i32 %19, 8 %22 = load i32, ptr @HV7131_REG_TITL, align 4, !tbaa !6 %23 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %19) #2 %24 = load i32, ptr @HV7131_REG_TITM, align 4, !tbaa !6 %25 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %21) #2 %26 = load i32, ptr @HV7131_REG_TITU, align 4, !tbaa !6 %27 = tail call i32 @se401_set_feature(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %20) #2 ret void } declare i32 @se401_set_feature(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"sd", !7, i64 0}
linux_drivers_media_usb_gspca_extr_se401.c_setexposure
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_stb_image.h_stbi__pnm_load.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_stb_image.h_stbi__pnm_load.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [9 x i8] c"outofmem\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stbi__pnm_load], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @stbi__pnm_load(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %8 = tail call i32 @stbi__pnm_info(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %38, label %10 10: ; preds = %5 %11 = load i32, ptr %0, align 4, !tbaa !5 store i32 %11, ptr %1, align 4, !tbaa !10 %12 = load i32, ptr %6, align 4, !tbaa !11 store i32 %12, ptr %2, align 4, !tbaa !10 %13 = load i32, ptr %7, align 4, !tbaa !12 store i32 %13, ptr %3, align 4, !tbaa !10 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = mul nsw i32 %14, %13 %16 = load i32, ptr %6, align 4, !tbaa !11 %17 = mul nsw i32 %15, %16 %18 = tail call i64 @stbi__malloc(i32 noundef %17) #2 %19 = inttoptr i64 %18 to ptr %20 = icmp eq i64 %18, 0 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = tail call ptr @stbi__errpuc(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 br label %38 23: ; preds = %10 %24 = load i32, ptr %7, align 4, !tbaa !12 %25 = load i32, ptr %0, align 4, !tbaa !5 %26 = mul nsw i32 %25, %24 %27 = load i32, ptr %6, align 4, !tbaa !11 %28 = mul nsw i32 %26, %27 %29 = tail call i32 @stbi__getn(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %28) #2 %30 = icmp eq i32 %4, 0 br i1 %30, label %38, label %31 31: ; preds = %23 %32 = load i32, ptr %7, align 4, !tbaa !12 %33 = icmp eq i32 %32, %4 br i1 %33, label %38, label %34 34: ; preds = %31 %35 = load i32, ptr %0, align 4, !tbaa !5 %36 = load i32, ptr %6, align 4, !tbaa !11 %37 = tail call ptr @stbi__convert_format(ptr noundef nonnull %19, i32 noundef %32, i32 noundef %4, i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %34, %23, %31, %5, %21 %39 = phi ptr [ %22, %21 ], [ null, %5 ], [ %19, %31 ], [ %19, %23 ], [ %37, %34 ] ret ptr %39 } declare i32 @stbi__pnm_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @stbi__malloc(i32 noundef) local_unnamed_addr #1 declare ptr @stbi__errpuc(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @stbi__getn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @stbi__convert_format(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, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_stb_image.h_stbi__pnm_load.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_stb_image.h_stbi__pnm_load.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"outofmem\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stbi__pnm_load], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @stbi__pnm_load(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = tail call i32 @stbi__pnm_info(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %41, label %10 10: ; preds = %5 %11 = load i32, ptr %0, align 4, !tbaa !6 store i32 %11, ptr %1, align 4, !tbaa !11 %12 = load i32, ptr %6, align 4, !tbaa !12 store i32 %12, ptr %2, align 4, !tbaa !11 %13 = load i32, ptr %7, align 4, !tbaa !13 store i32 %13, ptr %3, align 4, !tbaa !11 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = mul nsw i32 %14, %13 %16 = load i32, ptr %6, align 4, !tbaa !12 %17 = mul nsw i32 %15, %16 %18 = tail call i64 @stbi__malloc(i32 noundef %17) #2 %19 = inttoptr i64 %18 to ptr %20 = icmp eq i64 %18, 0 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = tail call ptr @stbi__errpuc(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 br label %41 23: ; preds = %10 %24 = load i32, ptr %7, align 4, !tbaa !13 %25 = load i32, ptr %0, align 4, !tbaa !6 %26 = mul nsw i32 %25, %24 %27 = load i32, ptr %6, align 4, !tbaa !12 %28 = mul nsw i32 %26, %27 %29 = tail call i32 @stbi__getn(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %28) #2 %30 = icmp eq i32 %4, 0 br i1 %30, label %39, label %31 31: ; preds = %23 %32 = load i32, ptr %7, align 4, !tbaa !13 %33 = icmp eq i32 %32, %4 br i1 %33, label %39, label %34 34: ; preds = %31 %35 = load i32, ptr %0, align 4, !tbaa !6 %36 = load i32, ptr %6, align 4, !tbaa !12 %37 = tail call ptr @stbi__convert_format(ptr noundef nonnull %19, i32 noundef %32, i32 noundef %4, i32 noundef %35, i32 noundef %36) #2 %38 = icmp eq ptr %37, null br i1 %38, label %41, label %39 39: ; preds = %34, %31, %23 %40 = phi ptr [ %37, %34 ], [ %19, %31 ], [ %19, %23 ] br label %41 41: ; preds = %34, %5, %39, %21 %42 = phi ptr [ %40, %39 ], [ %22, %21 ], [ null, %5 ], [ null, %34 ] ret ptr %42 } declare i32 @stbi__pnm_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @stbi__malloc(i32 noundef) local_unnamed_addr #1 declare ptr @stbi__errpuc(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @stbi__getn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @stbi__convert_format(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, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 8}
openpilot_phonelibs_nanovg_extr_stb_image.h_stbi__pnm_load
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx_console.c_uart_cninit.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx_console.c_uart_cninit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IMX_UFCR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uart_cninit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uart_cninit(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @IMX_UFCR, align 4, !tbaa !5 %3 = tail call i32 @ub_setreg(i32 noundef %2, i32 noundef 16912) #2 ret void } declare i32 @ub_setreg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx_console.c_uart_cninit.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/imx/extr_imx_console.c_uart_cninit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IMX_UFCR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uart_cninit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uart_cninit(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @IMX_UFCR, align 4, !tbaa !6 %3 = tail call i32 @ub_setreg(i32 noundef %2, i32 noundef 16912) #2 ret void } declare i32 @ub_setreg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_arm_freescale_imx_extr_imx_console.c_uart_cninit
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_wl64.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_wl64.c" target datalayout = "e-m:e-p270:32:32-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 @avio_wl64(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @avio_wl32(ptr noundef %0, i32 noundef %1) #2 %4 = tail call i32 @avio_wl32(ptr noundef %0, i32 noundef poison) #2 ret void } declare i32 @avio_wl32(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_wl64.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_wl64.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 @avio_wl64(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @avio_wl32(ptr noundef %0, i32 noundef %1) #2 %4 = tail call i32 @avio_wl32(ptr noundef %0, i32 noundef poison) #2 ret void } declare i32 @avio_wl32(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
FFmpeg_libavformat_extr_aviobuf.c_avio_wl64
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_set_vpd_assoc.c' source_filename = "AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_set_vpd_assoc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @transport_set_vpd_assoc(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 1 %4 = load i8, ptr %3, align 1, !tbaa !5 %5 = and i8 %4, 48 store i8 %5, ptr %0, align 1, !tbaa !8 %6 = tail call i32 @transport_dump_vpd_assoc(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #2 ret i32 %6 } declare i32 @transport_dump_vpd_assoc(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !6, i64 0} !9 = !{!"t10_vpd", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_set_vpd_assoc.c' source_filename = "AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_set_vpd_assoc.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 @transport_set_vpd_assoc(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 1 %4 = load i8, ptr %3, align 1, !tbaa !6 %5 = and i8 %4, 48 store i8 %5, ptr %0, align 1, !tbaa !9 %6 = tail call i32 @transport_dump_vpd_assoc(ptr noundef nonnull %0, ptr noundef null, i32 noundef 0) #2 ret i32 %6 } declare i32 @transport_dump_vpd_assoc(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !7, i64 0} !10 = !{!"t10_vpd", !7, i64 0}
linux_drivers_target_extr_target_core_transport.c_transport_set_vpd_assoc
; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_bbp_init.c' source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_bbp_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.rt2860_softc = type { i32, i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [36 x i8] c"timeout waiting for BBP to wake up\0A\00", align 1 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @rt2860_def_bbp = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2860_bbp_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt2860_bbp_init(ptr noundef %0) #0 { %2 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %2, label %46 [ i32 255, label %3 i32 0, label %3 ] 3: ; preds = %1, %1 %4 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %4, label %46 [ i32 255, label %5 i32 0, label %5 ] 5: ; preds = %3, %3 %6 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %6, label %46 [ i32 255, label %7 i32 0, label %7 ] 7: ; preds = %5, %5 %8 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %8, label %46 [ i32 255, label %9 i32 0, label %9 ] 9: ; preds = %7, %7 %10 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %10, label %46 [ i32 255, label %11 i32 0, label %11 ] 11: ; preds = %9, %9 %12 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %12, label %46 [ i32 255, label %13 i32 0, label %13 ] 13: ; preds = %11, %11 %14 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %14, label %46 [ i32 255, label %15 i32 0, label %15 ] 15: ; preds = %13, %13 %16 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %16, label %46 [ i32 255, label %17 i32 0, label %17 ] 17: ; preds = %15, %15 %18 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %18, label %46 [ i32 255, label %19 i32 0, label %19 ] 19: ; preds = %17, %17 %20 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %20, label %46 [ i32 255, label %21 i32 0, label %21 ] 21: ; preds = %19, %19 %22 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %22, label %46 [ i32 255, label %23 i32 0, label %23 ] 23: ; preds = %21, %21 %24 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %24, label %46 [ i32 255, label %25 i32 0, label %25 ] 25: ; preds = %23, %23 %26 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %26, label %46 [ i32 255, label %27 i32 0, label %27 ] 27: ; preds = %25, %25 %28 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %28, label %46 [ i32 255, label %29 i32 0, label %29 ] 29: ; preds = %27, %27 %30 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %30, label %46 [ i32 255, label %31 i32 0, label %31 ] 31: ; preds = %29, %29 %32 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %32, label %46 [ i32 255, label %33 i32 0, label %33 ] 33: ; preds = %31, %31 %34 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %34, label %46 [ i32 255, label %35 i32 0, label %35 ] 35: ; preds = %33, %33 %36 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %36, label %46 [ i32 255, label %37 i32 0, label %37 ] 37: ; preds = %35, %35 %38 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %38, label %46 [ i32 255, label %39 i32 0, label %39 ] 39: ; preds = %37, %37 %40 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %40, label %46 [ i32 255, label %41 i32 0, label %41 ] 41: ; preds = %39, %39 %42 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 2 %43 = load i32, ptr %42, align 4, !tbaa !5 %44 = tail call i32 @device_printf(i32 noundef %43, ptr noundef nonnull @.str) #2 %45 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !10 br label %94 46: ; preds = %1, %3, %5, %7, %9, %11, %13, %15, %17, %19, %21, %23, %25, %27, %29, %31, %33, %35, %37, %39 %47 = load i32, ptr %0, align 4, !tbaa !11 %48 = icmp sgt i32 %47, 21391 br i1 %48, label %53, label %49 49: ; preds = %46 %50 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !12 %51 = tail call i32 @nitems(ptr noundef %50) #2 %52 = icmp sgt i32 %51, 0 br i1 %52, label %55, label %68 53: ; preds = %46 %54 = tail call i32 @rt5390_bbp_init(ptr noundef nonnull %0) #2 br label %68 55: ; preds = %49, %55 %56 = phi i64 [ %63, %55 ], [ 0, %49 ] %57 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !12 %58 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i64 %56 %59 = load i32, ptr %58, align 4, !tbaa !14 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i64 %56, i32 1 %61 = load i32, ptr %60, align 4, !tbaa !16 %62 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %61) #2 %63 = add nuw nsw i64 %56, 1 %64 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !12 %65 = tail call i32 @nitems(ptr noundef %64) #2 %66 = sext i32 %65 to i64 %67 = icmp slt i64 %63, %66 br i1 %67, label %55, label %68, !llvm.loop !17 68: ; preds = %55, %49, %53 %69 = load i32, ptr %0, align 4, !tbaa !11 %70 = icmp eq i32 %69, 10336 br i1 %70, label %71, label %78 71: ; preds = %68 %72 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 1 %73 = load i32, ptr %72, align 4, !tbaa !19 %74 = icmp eq i32 %73, 257 br i1 %74, label %87, label %75 75: ; preds = %71 %76 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 84, i32 noundef 25) #2 %77 = load i32, ptr %0, align 4, !tbaa !11 br label %78 78: ; preds = %75, %68 %79 = phi i32 [ %69, %68 ], [ %77, %75 ] %80 = icmp sgt i32 %79, 12400 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 79, i32 noundef 19) #2 %83 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 80, i32 noundef 5) #2 %84 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 81, i32 noundef 51) #2 br label %94 85: ; preds = %78 %86 = icmp eq i32 %79, 10336 br i1 %86, label %87, label %94 87: ; preds = %71, %85 %88 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 1 %89 = load i32, ptr %88, align 4, !tbaa !19 %90 = icmp eq i32 %89, 256 br i1 %90, label %91, label %94 91: ; preds = %87 %92 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 69, i32 noundef 22) #2 %93 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 73, i32 noundef 18) #2 br label %94 94: ; preds = %81, %91, %87, %85, %41 %95 = phi i32 [ %45, %41 ], [ 0, %85 ], [ 0, %87 ], [ 0, %91 ], [ 0, %81 ] ret i32 %95 } declare i32 @rt2860_mcu_bbp_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt5390_bbp_init(ptr noundef) local_unnamed_addr #1 declare i32 @nitems(ptr noundef) local_unnamed_addr #1 declare i32 @rt2860_mcu_bbp_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, !7, i64 8} !6 = !{!"rt2860_softc", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !16 = !{!15, !7, i64 4} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_bbp_init.c' source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_bbp_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [36 x i8] c"timeout waiting for BBP to wake up\0A\00", align 1 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @rt2860_def_bbp = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @rt2860_bbp_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rt2860_bbp_init(ptr noundef %0) #0 { %2 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %2, label %46 [ i32 255, label %3 i32 0, label %3 ] 3: ; preds = %1, %1 %4 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %4, label %46 [ i32 255, label %5 i32 0, label %5 ] 5: ; preds = %3, %3 %6 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %6, label %46 [ i32 255, label %7 i32 0, label %7 ] 7: ; preds = %5, %5 %8 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %8, label %46 [ i32 255, label %9 i32 0, label %9 ] 9: ; preds = %7, %7 %10 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %10, label %46 [ i32 255, label %11 i32 0, label %11 ] 11: ; preds = %9, %9 %12 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %12, label %46 [ i32 255, label %13 i32 0, label %13 ] 13: ; preds = %11, %11 %14 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %14, label %46 [ i32 255, label %15 i32 0, label %15 ] 15: ; preds = %13, %13 %16 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %16, label %46 [ i32 255, label %17 i32 0, label %17 ] 17: ; preds = %15, %15 %18 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %18, label %46 [ i32 255, label %19 i32 0, label %19 ] 19: ; preds = %17, %17 %20 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %20, label %46 [ i32 255, label %21 i32 0, label %21 ] 21: ; preds = %19, %19 %22 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %22, label %46 [ i32 255, label %23 i32 0, label %23 ] 23: ; preds = %21, %21 %24 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %24, label %46 [ i32 255, label %25 i32 0, label %25 ] 25: ; preds = %23, %23 %26 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %26, label %46 [ i32 255, label %27 i32 0, label %27 ] 27: ; preds = %25, %25 %28 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %28, label %46 [ i32 255, label %29 i32 0, label %29 ] 29: ; preds = %27, %27 %30 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %30, label %46 [ i32 255, label %31 i32 0, label %31 ] 31: ; preds = %29, %29 %32 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %32, label %46 [ i32 255, label %33 i32 0, label %33 ] 33: ; preds = %31, %31 %34 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %34, label %46 [ i32 255, label %35 i32 0, label %35 ] 35: ; preds = %33, %33 %36 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %36, label %46 [ i32 255, label %37 i32 0, label %37 ] 37: ; preds = %35, %35 %38 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %38, label %46 [ i32 255, label %39 i32 0, label %39 ] 39: ; preds = %37, %37 %40 = tail call i32 @rt2860_mcu_bbp_read(ptr noundef %0, i32 noundef 0) #2 switch i32 %40, label %46 [ i32 255, label %41 i32 0, label %41 ] 41: ; preds = %39, %39 %42 = getelementptr inbounds i8, ptr %0, i64 8 %43 = load i32, ptr %42, align 4, !tbaa !6 %44 = tail call i32 @device_printf(i32 noundef %43, ptr noundef nonnull @.str) #2 %45 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !11 br label %94 46: ; preds = %1, %3, %5, %7, %9, %11, %13, %15, %17, %19, %21, %23, %25, %27, %29, %31, %33, %35, %37, %39 %47 = load i32, ptr %0, align 4, !tbaa !12 %48 = icmp sgt i32 %47, 21391 br i1 %48, label %53, label %49 49: ; preds = %46 %50 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !13 %51 = tail call i32 @nitems(ptr noundef %50) #2 %52 = icmp sgt i32 %51, 0 br i1 %52, label %55, label %68 53: ; preds = %46 %54 = tail call i32 @rt5390_bbp_init(ptr noundef nonnull %0) #2 br label %68 55: ; preds = %49, %55 %56 = phi i64 [ %63, %55 ], [ 0, %49 ] %57 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !13 %58 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i64 %56 %59 = load i32, ptr %58, align 4, !tbaa !15 %60 = getelementptr inbounds i8, ptr %58, i64 4 %61 = load i32, ptr %60, align 4, !tbaa !17 %62 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %61) #2 %63 = add nuw nsw i64 %56, 1 %64 = load ptr, ptr @rt2860_def_bbp, align 8, !tbaa !13 %65 = tail call i32 @nitems(ptr noundef %64) #2 %66 = sext i32 %65 to i64 %67 = icmp slt i64 %63, %66 br i1 %67, label %55, label %68, !llvm.loop !18 68: ; preds = %55, %49, %53 %69 = load i32, ptr %0, align 4, !tbaa !12 %70 = icmp eq i32 %69, 10336 br i1 %70, label %71, label %78 71: ; preds = %68 %72 = getelementptr inbounds i8, ptr %0, i64 4 %73 = load i32, ptr %72, align 4, !tbaa !20 %74 = icmp eq i32 %73, 257 br i1 %74, label %87, label %75 75: ; preds = %71 %76 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 84, i32 noundef 25) #2 %77 = load i32, ptr %0, align 4, !tbaa !12 br label %78 78: ; preds = %75, %68 %79 = phi i32 [ %69, %68 ], [ %77, %75 ] %80 = icmp sgt i32 %79, 12400 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 79, i32 noundef 19) #2 %83 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 80, i32 noundef 5) #2 %84 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 81, i32 noundef 51) #2 br label %94 85: ; preds = %78 %86 = icmp eq i32 %79, 10336 br i1 %86, label %87, label %94 87: ; preds = %71, %85 %88 = getelementptr inbounds i8, ptr %0, i64 4 %89 = load i32, ptr %88, align 4, !tbaa !20 %90 = icmp eq i32 %89, 256 br i1 %90, label %91, label %94 91: ; preds = %87 %92 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 69, i32 noundef 22) #2 %93 = tail call i32 @rt2860_mcu_bbp_write(ptr noundef nonnull %0, i32 noundef 73, i32 noundef 18) #2 br label %94 94: ; preds = %81, %91, %87, %85, %41 %95 = phi i32 [ %45, %41 ], [ 0, %85 ], [ 0, %87 ], [ 0, %91 ], [ 0, %81 ] ret i32 %95 } declare i32 @rt2860_mcu_bbp_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt5390_bbp_init(ptr noundef) local_unnamed_addr #1 declare i32 @nitems(ptr noundef) local_unnamed_addr #1 declare i32 @rt2860_mcu_bbp_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, !8, i64 8} !7 = !{!"rt2860_softc", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !17 = !{!16, !8, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !8, i64 4}
freebsd_sys_dev_ral_extr_rt2860.c_rt2860_bbp_init
; ModuleID = 'AnghaBench/linux/drivers/staging/rts5208/extr_ms.c_ms_identify_media_type.c' source_filename = "AnghaBench/linux/drivers/staging/rts5208/extr_ms.c_ms_identify_media_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" %struct.rtsx_chip = type { i32, %struct.ms_info } %struct.ms_info = type { i32, i32 } @Pro_StatusReg = dso_local local_unnamed_addr global i32 0, align 4 @SystemParm = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @MS_MAX_RETRY_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @MS_TM_READ_BYTES = dso_local local_unnamed_addr global i32 0, align 4 @READ_REG = dso_local local_unnamed_addr global i32 0, align 4 @NO_WAIT_INT = dso_local local_unnamed_addr global i32 0, align 4 @PPBUF_BASE2 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"Type register: 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Category register: 0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Class register: 0x%x\0A\00", align 1 @WRT_PRTCT = dso_local local_unnamed_addr global i32 0, align 4 @MS_CARD = dso_local local_unnamed_addr global i32 0, align 4 @TYPE_MSPRO = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"IF Mode register: 0x%x\0A\00", align 1 @MS_HG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ms_identify_media_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ms_identify_media_type(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.rtsx_chip, ptr %0, i64 0, i32 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = load i32, ptr @Pro_StatusReg, align 4, !tbaa !5 %6 = load i32, ptr @SystemParm, align 4, !tbaa !5 %7 = tail call i32 @ms_set_rw_reg_addr(ptr noundef %0, i32 noundef %5, i32 noundef 6, i32 noundef %6, i32 noundef 1) #3 %8 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @MS_MAX_RETRY_COUNT, align 4, !tbaa !5 %12 = icmp sgt i32 %11, 0 br i1 %12, label %15, label %27 13: ; preds = %2 %14 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 15: ; preds = %10, %24 %16 = phi i32 [ %25, %24 ], [ 0, %10 ] %17 = load i32, ptr @MS_TM_READ_BYTES, align 4, !tbaa !5 %18 = load i32, ptr @READ_REG, align 4, !tbaa !5 %19 = load i32, ptr @NO_WAIT_INT, align 4, !tbaa !5 %20 = tail call i32 @ms_transfer_tpc(ptr noundef %0, i32 noundef %17, i32 noundef %18, i32 noundef 6, i32 noundef %19) #3 %21 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 %22 = icmp eq i32 %20, %21 %23 = load i32, ptr @MS_MAX_RETRY_COUNT, align 4, !tbaa !5 br i1 %22, label %27, label %24 24: ; preds = %15 %25 = add nuw nsw i32 %16, 1 %26 = icmp slt i32 %25, %23 br i1 %26, label %15, label %27, !llvm.loop !9 27: ; preds = %24, %15, %10 %28 = phi i32 [ %11, %10 ], [ %23, %15 ], [ %23, %24 ] %29 = phi i32 [ 0, %10 ], [ %25, %24 ], [ %16, %15 ] %30 = icmp eq i32 %29, %28 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 33: ; preds = %27 %34 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !11 %35 = add nsw i64 %34, 2 %36 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %35, ptr noundef nonnull %3) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %127 38: ; preds = %33 %39 = call i32 @rtsx_dev(ptr noundef %0) #3 %40 = load i32, ptr %3, align 4, !tbaa !5 %41 = call i32 @dev_dbg(i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %40) #3 %42 = load i32, ptr %3, align 4, !tbaa !5 switch i32 %42, label %43 [ i32 1, label %46 i32 2, label %44 ] 43: ; preds = %38 store i32 1, ptr %4, align 4, !tbaa !13 br label %44 44: ; preds = %38, %43 %45 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 46: ; preds = %38 %47 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !11 %48 = add nsw i64 %47, 4 %49 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %48, ptr noundef nonnull %3) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %127 51: ; preds = %46 %52 = call i32 @rtsx_dev(ptr noundef %0) #3 %53 = load i32, ptr %3, align 4, !tbaa !5 %54 = call i32 @dev_dbg(i32 noundef %52, ptr noundef nonnull @.str.1, i32 noundef %53) #3 %55 = load i32, ptr %3, align 4, !tbaa !5 %56 = icmp eq i32 %55, 0 br i1 %56, label %59, label %57 57: ; preds = %51 store i32 1, ptr %4, align 4, !tbaa !13 %58 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 59: ; preds = %51 %60 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !11 %61 = add nsw i64 %60, 5 %62 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %61, ptr noundef nonnull %3) #3 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %127 64: ; preds = %59 %65 = call i32 @rtsx_dev(ptr noundef %0) #3 %66 = load i32, ptr %3, align 4, !tbaa !5 %67 = call i32 @dev_dbg(i32 noundef %65, ptr noundef nonnull @.str.2, i32 noundef %66) #3 %68 = load i32, ptr %3, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %87 70: ; preds = %64 %71 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !11 %72 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %71, ptr noundef nonnull %3) #3 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %127 74: ; preds = %70 %75 = load i32, ptr %3, align 4, !tbaa !5 %76 = load i32, ptr @WRT_PRTCT, align 4, !tbaa !5 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 %79 = load i32, ptr @MS_CARD, align 4, !tbaa !5 br i1 %78, label %83, label %80 80: ; preds = %74 %81 = load i32, ptr %0, align 4, !tbaa !15 %82 = or i32 %81, %79 br label %95 83: ; preds = %74 %84 = xor i32 %79, -1 %85 = load i32, ptr %0, align 4, !tbaa !15 %86 = and i32 %85, %84 br label %95 87: ; preds = %64 %88 = icmp ult i32 %68, 4 br i1 %88, label %89, label %93 89: ; preds = %87 %90 = load i32, ptr @MS_CARD, align 4, !tbaa !5 %91 = load i32, ptr %0, align 4, !tbaa !15 %92 = or i32 %91, %90 br label %95 93: ; preds = %87 store i32 1, ptr %4, align 4, !tbaa !13 %94 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 95: ; preds = %80, %83, %89 %96 = phi i32 [ %82, %80 ], [ %86, %83 ], [ %92, %89 ] store i32 %96, ptr %0, align 4, !tbaa !15 %97 = load i32, ptr @TYPE_MSPRO, align 4, !tbaa !5 %98 = getelementptr inbounds %struct.rtsx_chip, ptr %0, i64 0, i32 1, i32 1 %99 = load i32, ptr %98, align 4, !tbaa !17 %100 = or i32 %99, %97 store i32 %100, ptr %98, align 4, !tbaa !17 %101 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !11 %102 = add nsw i64 %101, 3 %103 = call i32 @rtsx_read_register(ptr noundef nonnull %0, i64 noundef %102, ptr noundef nonnull %3) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %127 105: ; preds = %95 %106 = call i32 @rtsx_dev(ptr noundef nonnull %0) #3 %107 = load i32, ptr %3, align 4, !tbaa !5 %108 = call i32 @dev_dbg(i32 noundef %106, ptr noundef nonnull @.str.3, i32 noundef %107) #3 %109 = load i32, ptr %3, align 4, !tbaa !5 switch i32 %109, label %122 [ i32 0, label %110 i32 7, label %113 ] 110: ; preds = %105 %111 = load i32, ptr %98, align 4, !tbaa !17 %112 = and i32 %111, 15 br label %124 113: ; preds = %105 %114 = icmp eq i32 %1, 0 br i1 %114, label %119, label %115 115: ; preds = %113 %116 = load i32, ptr @MS_HG, align 4, !tbaa !5 %117 = load i32, ptr %98, align 4, !tbaa !17 %118 = or i32 %117, %116 br label %124 119: ; preds = %113 %120 = load i32, ptr %98, align 4, !tbaa !17 %121 = and i32 %120, 15 br label %124 122: ; preds = %105 %123 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !5 br label %127 124: ; preds = %119, %115, %110 %125 = phi i32 [ %121, %119 ], [ %118, %115 ], [ %112, %110 ] store i32 %125, ptr %98, align 4, !tbaa !17 %126 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 br label %127 127: ; preds = %95, %70, %59, %46, %33, %124, %122, %93, %57, %44, %31, %13 %128 = phi i32 [ %14, %13 ], [ %32, %31 ], [ %45, %44 ], [ %58, %57 ], [ %126, %124 ], [ %123, %122 ], [ %94, %93 ], [ %36, %33 ], [ %49, %46 ], [ %62, %59 ], [ %72, %70 ], [ %103, %95 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ms_set_rw_reg_addr(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ms_transfer_tpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtsx_read_register(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtsx_dev(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"ms_info", !6, i64 0, !6, i64 4} !15 = !{!16, !6, i64 0} !16 = !{!"rtsx_chip", !6, i64 0, !14, i64 4} !17 = !{!14, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/staging/rts5208/extr_ms.c_ms_identify_media_type.c' source_filename = "AnghaBench/linux/drivers/staging/rts5208/extr_ms.c_ms_identify_media_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Pro_StatusReg = common local_unnamed_addr global i32 0, align 4 @SystemParm = common local_unnamed_addr global i32 0, align 4 @STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4 @STATUS_FAIL = common local_unnamed_addr global i32 0, align 4 @MS_MAX_RETRY_COUNT = common local_unnamed_addr global i32 0, align 4 @MS_TM_READ_BYTES = common local_unnamed_addr global i32 0, align 4 @READ_REG = common local_unnamed_addr global i32 0, align 4 @NO_WAIT_INT = common local_unnamed_addr global i32 0, align 4 @PPBUF_BASE2 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"Type register: 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Category register: 0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Class register: 0x%x\0A\00", align 1 @WRT_PRTCT = common local_unnamed_addr global i32 0, align 4 @MS_CARD = common local_unnamed_addr global i32 0, align 4 @TYPE_MSPRO = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"IF Mode register: 0x%x\0A\00", align 1 @MS_HG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ms_identify_media_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ms_identify_media_type(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = load i32, ptr @Pro_StatusReg, align 4, !tbaa !6 %6 = load i32, ptr @SystemParm, align 4, !tbaa !6 %7 = tail call i32 @ms_set_rw_reg_addr(ptr noundef %0, i32 noundef %5, i32 noundef 6, i32 noundef %6, i32 noundef 1) #3 %8 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @MS_MAX_RETRY_COUNT, align 4, !tbaa !6 %12 = icmp sgt i32 %11, 0 br i1 %12, label %15, label %27 13: ; preds = %2 %14 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 15: ; preds = %10, %24 %16 = phi i32 [ %25, %24 ], [ 0, %10 ] %17 = load i32, ptr @MS_TM_READ_BYTES, align 4, !tbaa !6 %18 = load i32, ptr @READ_REG, align 4, !tbaa !6 %19 = load i32, ptr @NO_WAIT_INT, align 4, !tbaa !6 %20 = tail call i32 @ms_transfer_tpc(ptr noundef %0, i32 noundef %17, i32 noundef %18, i32 noundef 6, i32 noundef %19) #3 %21 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 %22 = icmp eq i32 %20, %21 %23 = load i32, ptr @MS_MAX_RETRY_COUNT, align 4, !tbaa !6 br i1 %22, label %27, label %24 24: ; preds = %15 %25 = add nuw nsw i32 %16, 1 %26 = icmp slt i32 %25, %23 br i1 %26, label %15, label %27, !llvm.loop !10 27: ; preds = %24, %15, %10 %28 = phi i32 [ %11, %10 ], [ %23, %15 ], [ %23, %24 ] %29 = phi i32 [ 0, %10 ], [ %25, %24 ], [ %16, %15 ] %30 = icmp eq i32 %29, %28 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 33: ; preds = %27 %34 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !12 %35 = add nsw i64 %34, 2 %36 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %35, ptr noundef nonnull %3) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %127 38: ; preds = %33 %39 = call i32 @rtsx_dev(ptr noundef %0) #3 %40 = load i32, ptr %3, align 4, !tbaa !6 %41 = call i32 @dev_dbg(i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %40) #3 %42 = load i32, ptr %3, align 4, !tbaa !6 switch i32 %42, label %43 [ i32 1, label %46 i32 2, label %44 ] 43: ; preds = %38 store i32 1, ptr %4, align 4, !tbaa !14 br label %44 44: ; preds = %38, %43 %45 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 46: ; preds = %38 %47 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !12 %48 = add nsw i64 %47, 4 %49 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %48, ptr noundef nonnull %3) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %127 51: ; preds = %46 %52 = call i32 @rtsx_dev(ptr noundef %0) #3 %53 = load i32, ptr %3, align 4, !tbaa !6 %54 = call i32 @dev_dbg(i32 noundef %52, ptr noundef nonnull @.str.1, i32 noundef %53) #3 %55 = load i32, ptr %3, align 4, !tbaa !6 %56 = icmp eq i32 %55, 0 br i1 %56, label %59, label %57 57: ; preds = %51 store i32 1, ptr %4, align 4, !tbaa !14 %58 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 59: ; preds = %51 %60 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !12 %61 = add nsw i64 %60, 5 %62 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %61, ptr noundef nonnull %3) #3 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %127 64: ; preds = %59 %65 = call i32 @rtsx_dev(ptr noundef %0) #3 %66 = load i32, ptr %3, align 4, !tbaa !6 %67 = call i32 @dev_dbg(i32 noundef %65, ptr noundef nonnull @.str.2, i32 noundef %66) #3 %68 = load i32, ptr %3, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %87 70: ; preds = %64 %71 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !12 %72 = call i32 @rtsx_read_register(ptr noundef %0, i64 noundef %71, ptr noundef nonnull %3) #3 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %127 74: ; preds = %70 %75 = load i32, ptr %3, align 4, !tbaa !6 %76 = load i32, ptr @WRT_PRTCT, align 4, !tbaa !6 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 %79 = load i32, ptr @MS_CARD, align 4, !tbaa !6 br i1 %78, label %83, label %80 80: ; preds = %74 %81 = load i32, ptr %0, align 4, !tbaa !16 %82 = or i32 %81, %79 br label %95 83: ; preds = %74 %84 = xor i32 %79, -1 %85 = load i32, ptr %0, align 4, !tbaa !16 %86 = and i32 %85, %84 br label %95 87: ; preds = %64 %88 = icmp ult i32 %68, 4 br i1 %88, label %89, label %93 89: ; preds = %87 %90 = load i32, ptr @MS_CARD, align 4, !tbaa !6 %91 = load i32, ptr %0, align 4, !tbaa !16 %92 = or i32 %91, %90 br label %95 93: ; preds = %87 store i32 1, ptr %4, align 4, !tbaa !14 %94 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 95: ; preds = %80, %83, %89 %96 = phi i32 [ %82, %80 ], [ %86, %83 ], [ %92, %89 ] store i32 %96, ptr %0, align 4, !tbaa !16 %97 = load i32, ptr @TYPE_MSPRO, align 4, !tbaa !6 %98 = getelementptr inbounds i8, ptr %0, i64 8 %99 = load i32, ptr %98, align 4, !tbaa !18 %100 = or i32 %99, %97 store i32 %100, ptr %98, align 4, !tbaa !18 %101 = load i64, ptr @PPBUF_BASE2, align 8, !tbaa !12 %102 = add nsw i64 %101, 3 %103 = call i32 @rtsx_read_register(ptr noundef nonnull %0, i64 noundef %102, ptr noundef nonnull %3) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %127 105: ; preds = %95 %106 = call i32 @rtsx_dev(ptr noundef nonnull %0) #3 %107 = load i32, ptr %3, align 4, !tbaa !6 %108 = call i32 @dev_dbg(i32 noundef %106, ptr noundef nonnull @.str.3, i32 noundef %107) #3 %109 = load i32, ptr %3, align 4, !tbaa !6 switch i32 %109, label %122 [ i32 0, label %110 i32 7, label %113 ] 110: ; preds = %105 %111 = load i32, ptr %98, align 4, !tbaa !18 %112 = and i32 %111, 15 br label %124 113: ; preds = %105 %114 = icmp eq i32 %1, 0 br i1 %114, label %119, label %115 115: ; preds = %113 %116 = load i32, ptr @MS_HG, align 4, !tbaa !6 %117 = load i32, ptr %98, align 4, !tbaa !18 %118 = or i32 %117, %116 br label %124 119: ; preds = %113 %120 = load i32, ptr %98, align 4, !tbaa !18 %121 = and i32 %120, 15 br label %124 122: ; preds = %105 %123 = load i32, ptr @STATUS_FAIL, align 4, !tbaa !6 br label %127 124: ; preds = %119, %115, %110 %125 = phi i32 [ %121, %119 ], [ %118, %115 ], [ %112, %110 ] store i32 %125, ptr %98, align 4, !tbaa !18 %126 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 br label %127 127: ; preds = %95, %70, %59, %46, %33, %124, %122, %93, %57, %44, %31, %13 %128 = phi i32 [ %14, %13 ], [ %32, %31 ], [ %45, %44 ], [ %58, %57 ], [ %126, %124 ], [ %123, %122 ], [ %94, %93 ], [ %36, %33 ], [ %49, %46 ], [ %62, %59 ], [ %72, %70 ], [ %103, %95 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ms_set_rw_reg_addr(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ms_transfer_tpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtsx_read_register(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtsx_dev(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"ms_info", !7, i64 0, !7, i64 4} !16 = !{!17, !7, i64 0} !17 = !{!"rtsx_chip", !7, i64 0, !15, i64 4} !18 = !{!15, !7, i64 4}
linux_drivers_staging_rts5208_extr_ms.c_ms_identify_media_type
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_flr_done.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_flr_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HNAE3_FLR_DONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_flr_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hclge_flr_done(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @HNAE3_FLR_DONE, align 4, !tbaa !10 %4 = tail call i32 @set_bit(i32 noundef %3, ptr noundef %2) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hnae3_ae_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_flr_done.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_flr_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HNAE3_FLR_DONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hclge_flr_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hclge_flr_done(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @HNAE3_FLR_DONE, align 4, !tbaa !11 %4 = tail call i32 @set_bit(i32 noundef %3, ptr noundef %2) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hnae3_ae_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_main.c_hclge_flr_done
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_pretty-print.c_pp_base_formatted_text.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_pretty-print.c_pp_base_formatted_text.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @pp_base_formatted_text(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = tail call i32 @obstack_1grow(i32 noundef %3, i8 noundef signext 0) #2 %5 = tail call ptr @pp_formatted_text_data(ptr noundef nonnull %0) #2 ret ptr %5 } declare i32 @obstack_1grow(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @pp_formatted_text_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"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 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_pretty-print.c_pp_base_formatted_text.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_pretty-print.c_pp_base_formatted_text.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @pp_base_formatted_text(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @obstack_1grow(i32 noundef %3, i8 noundef signext 0) #2 %5 = tail call ptr @pp_formatted_text_data(ptr noundef nonnull %0) #2 ret ptr %5 } declare i32 @obstack_1grow(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @pp_formatted_text_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"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 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !9, i64 0}
freebsd_contrib_gcc_extr_pretty-print.c_pp_base_formatted_text
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbParseFadt.c' source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbParseFadt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { ptr } %struct.TYPE_8__ = type { i64, i64, i64 } %struct.TYPE_6__ = type { i32 } @AcpiGbl_RootTableList = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @AcpiGbl_FadtIndex = dso_local local_unnamed_addr global i64 0, align 8 @AcpiGbl_FADT = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8 @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @AcpiGbl_DsdtIndex = dso_local global i32 0, align 4 @AcpiGbl_ReducedHardware = dso_local local_unnamed_addr global i32 0, align 4 @AcpiGbl_FacsIndex = dso_local global i32 0, align 4 @AcpiGbl_XFacsIndex = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @AcpiTbParseFadt() local_unnamed_addr #0 { %1 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = load ptr, ptr @AcpiGbl_RootTableList, align 8, !tbaa !5 %3 = load i64, ptr @AcpiGbl_FadtIndex, align 8, !tbaa !10 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 %3 %5 = call i32 @AcpiTbGetTable(ptr noundef %4, ptr noundef nonnull %1) #3 %6 = call i64 @ACPI_FAILURE(i32 noundef %5) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %41 8: ; preds = %0 %9 = load i32, ptr %4, align 4, !tbaa !12 %10 = load ptr, ptr %1, align 8, !tbaa !15 %11 = call i32 @AcpiTbVerifyChecksum(ptr noundef %10, i32 noundef %9) #3 %12 = load ptr, ptr %1, align 8, !tbaa !15 %13 = call i32 @AcpiTbCreateLocalFadt(ptr noundef %12, i32 noundef %9) #3 %14 = call i32 @AcpiTbPutTable(ptr noundef nonnull %4) #3 %15 = load i64, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @AcpiGbl_FADT, i64 0, i32 2), align 8, !tbaa !16 %16 = trunc i64 %15 to i32 %17 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !18 %18 = load i32, ptr @FALSE, align 4, !tbaa !18 %19 = load i32, ptr @TRUE, align 4, !tbaa !18 %20 = call i32 @AcpiTbInstallStandardTable(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef nonnull @AcpiGbl_DsdtIndex) #3 %21 = load i32, ptr @AcpiGbl_ReducedHardware, align 4, !tbaa !18 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %41 23: ; preds = %8 %24 = load i64, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @AcpiGbl_FADT, i64 0, i32 1), align 8, !tbaa !19 %25 = icmp eq i64 %24, 0 br i1 %25, label %32, label %26 26: ; preds = %23 %27 = trunc i64 %24 to i32 %28 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !18 %29 = load i32, ptr @FALSE, align 4, !tbaa !18 %30 = load i32, ptr @TRUE, align 4, !tbaa !18 %31 = call i32 @AcpiTbInstallStandardTable(i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, ptr noundef nonnull @AcpiGbl_FacsIndex) #3 br label %32 32: ; preds = %26, %23 %33 = load i64, ptr @AcpiGbl_FADT, align 8, !tbaa !20 %34 = icmp eq i64 %33, 0 br i1 %34, label %41, label %35 35: ; preds = %32 %36 = trunc i64 %33 to i32 %37 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !18 %38 = load i32, ptr @FALSE, align 4, !tbaa !18 %39 = load i32, ptr @TRUE, align 4, !tbaa !18 %40 = call i32 @AcpiTbInstallStandardTable(i32 noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef %39, ptr noundef nonnull @AcpiGbl_XFacsIndex) #3 br label %41 41: ; preds = %8, %35, %32, %0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @AcpiTbGetTable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbVerifyChecksum(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbCreateLocalFadt(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbPutTable(ptr noundef) local_unnamed_addr #2 declare i32 @AcpiTbInstallStandardTable(i32 noundef, i32 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_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, !14, i64 0} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!17, !11, i64 16} !17 = !{!"TYPE_8__", !11, i64 0, !11, i64 8, !11, i64 16} !18 = !{!14, !14, i64 0} !19 = !{!17, !11, i64 8} !20 = !{!17, !11, i64 0}
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbParseFadt.c' source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbParseFadt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { ptr } %struct.TYPE_8__ = type { i64, i64, i64 } %struct.TYPE_6__ = type { i32 } @AcpiGbl_RootTableList = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @AcpiGbl_FadtIndex = common local_unnamed_addr global i64 0, align 8 @AcpiGbl_FADT = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8 @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @AcpiGbl_DsdtIndex = common global i32 0, align 4 @AcpiGbl_ReducedHardware = common local_unnamed_addr global i32 0, align 4 @AcpiGbl_FacsIndex = common global i32 0, align 4 @AcpiGbl_XFacsIndex = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @AcpiTbParseFadt() local_unnamed_addr #0 { %1 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = load ptr, ptr @AcpiGbl_RootTableList, align 8, !tbaa !6 %3 = load i64, ptr @AcpiGbl_FadtIndex, align 8, !tbaa !11 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 %3 %5 = call i32 @AcpiTbGetTable(ptr noundef %4, ptr noundef nonnull %1) #3 %6 = call i64 @ACPI_FAILURE(i32 noundef %5) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %41 8: ; preds = %0 %9 = load i32, ptr %4, align 4, !tbaa !13 %10 = load ptr, ptr %1, align 8, !tbaa !16 %11 = call i32 @AcpiTbVerifyChecksum(ptr noundef %10, i32 noundef %9) #3 %12 = load ptr, ptr %1, align 8, !tbaa !16 %13 = call i32 @AcpiTbCreateLocalFadt(ptr noundef %12, i32 noundef %9) #3 %14 = call i32 @AcpiTbPutTable(ptr noundef nonnull %4) #3 %15 = load i64, ptr getelementptr inbounds (i8, ptr @AcpiGbl_FADT, i64 16), align 8, !tbaa !17 %16 = trunc i64 %15 to i32 %17 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !19 %18 = load i32, ptr @FALSE, align 4, !tbaa !19 %19 = load i32, ptr @TRUE, align 4, !tbaa !19 %20 = call i32 @AcpiTbInstallStandardTable(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef nonnull @AcpiGbl_DsdtIndex) #3 %21 = load i32, ptr @AcpiGbl_ReducedHardware, align 4, !tbaa !19 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %41 23: ; preds = %8 %24 = load i64, ptr getelementptr inbounds (i8, ptr @AcpiGbl_FADT, i64 8), align 8, !tbaa !20 %25 = icmp eq i64 %24, 0 br i1 %25, label %32, label %26 26: ; preds = %23 %27 = trunc i64 %24 to i32 %28 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !19 %29 = load i32, ptr @FALSE, align 4, !tbaa !19 %30 = load i32, ptr @TRUE, align 4, !tbaa !19 %31 = call i32 @AcpiTbInstallStandardTable(i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, ptr noundef nonnull @AcpiGbl_FacsIndex) #3 br label %32 32: ; preds = %26, %23 %33 = load i64, ptr @AcpiGbl_FADT, align 8, !tbaa !21 %34 = icmp eq i64 %33, 0 br i1 %34, label %41, label %35 35: ; preds = %32 %36 = trunc i64 %33 to i32 %37 = load i32, ptr @ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL, align 4, !tbaa !19 %38 = load i32, ptr @FALSE, align 4, !tbaa !19 %39 = load i32, ptr @TRUE, align 4, !tbaa !19 %40 = call i32 @AcpiTbInstallStandardTable(i32 noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef %39, ptr noundef nonnull @AcpiGbl_XFacsIndex) #3 br label %41 41: ; preds = %8, %35, %32, %0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @AcpiTbGetTable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbVerifyChecksum(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbCreateLocalFadt(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AcpiTbPutTable(ptr noundef) local_unnamed_addr #2 declare i32 @AcpiTbInstallStandardTable(i32 noundef, i32 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_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, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!18, !12, i64 16} !18 = !{!"TYPE_8__", !12, i64 0, !12, i64 8, !12, i64 16} !19 = !{!15, !15, i64 0} !20 = !{!18, !12, i64 8} !21 = !{!18, !12, i64 0}
reactos_drivers_bus_acpi_acpica_tables_extr_tbfadt.c_AcpiTbParseFadt
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_schroedinger.c_SetEncChromaFormat.c' source_filename = "AnghaBench/vlc/modules/codec/extr_schroedinger.c_SetEncChromaFormat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { %struct.TYPE_8__, ptr } %struct.TYPE_8__ = type { i32, %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } @SCHRO_CHROMA_420 = dso_local local_unnamed_addr global i32 0, align 4 @SCHRO_CHROMA_422 = dso_local local_unnamed_addr global i32 0, align 4 @SCHRO_CHROMA_444 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @SetEncChromaFormat], section "llvm.metadata" @switch.table.SetEncChromaFormat = private unnamed_addr constant [3 x i32] [i32 24, i32 16, i32 12], align 4 @switch.table.SetEncChromaFormat.1 = private unnamed_addr constant [3 x ptr] [ptr @SCHRO_CHROMA_444, ptr @SCHRO_CHROMA_422, ptr @SCHRO_CHROMA_420], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @SetEncChromaFormat(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = add i32 %1, -128 %4 = icmp ult i32 %3, 3 br i1 %4, label %5, label %17 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = zext nneg i32 %3 to i64 %9 = getelementptr inbounds [3 x i32], ptr @switch.table.SetEncChromaFormat, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = zext nneg i32 %3 to i64 %12 = getelementptr inbounds [3 x ptr], ptr @switch.table.SetEncChromaFormat.1, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 store i32 %1, ptr %0, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store i32 %10, ptr %14, align 4, !tbaa !14 %15 = load i32, ptr %13, align 4, !tbaa !15 %16 = load ptr, ptr %7, align 8, !tbaa !16 store i32 %15, ptr %16, align 4, !tbaa !18 br label %17 17: ; preds = %2, %5 %18 = phi i32 [ 0, %2 ], [ 1, %5 ] ret i32 %18 } 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, !12, i64 8} !6 = !{!"TYPE_10__", !7, i64 0, !12, i64 8} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !8, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!6, !8, i64 0} !14 = !{!6, !8, i64 4} !15 = !{!8, !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_11__", !12, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_9__", !8, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_schroedinger.c_SetEncChromaFormat.c' source_filename = "AnghaBench/vlc/modules/codec/extr_schroedinger.c_SetEncChromaFormat.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCHRO_CHROMA_420 = common local_unnamed_addr global i32 0, align 4 @SCHRO_CHROMA_422 = common local_unnamed_addr global i32 0, align 4 @SCHRO_CHROMA_444 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SetEncChromaFormat], section "llvm.metadata" @switch.table.SetEncChromaFormat = private unnamed_addr constant [3 x i32] [i32 24, i32 16, i32 12], align 4 @switch.table.SetEncChromaFormat.1 = private unnamed_addr constant [3 x ptr] [ptr @SCHRO_CHROMA_444, ptr @SCHRO_CHROMA_422, ptr @SCHRO_CHROMA_420], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @SetEncChromaFormat(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = add i32 %1, -128 %4 = icmp ult i32 %3, 3 br i1 %4, label %5, label %17 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = zext nneg i32 %3 to i64 %9 = getelementptr inbounds [3 x i32], ptr @switch.table.SetEncChromaFormat, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = zext nneg i32 %3 to i64 %12 = getelementptr inbounds [3 x ptr], ptr @switch.table.SetEncChromaFormat.1, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 store i32 %1, ptr %0, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %10, ptr %14, align 4, !tbaa !15 %15 = load i32, ptr %13, align 4, !tbaa !16 %16 = load ptr, ptr %7, align 8, !tbaa !17 store i32 %15, ptr %16, align 4, !tbaa !19 br label %17 17: ; preds = %2, %5 %18 = phi i32 [ 0, %2 ], [ 1, %5 ] ret i32 %18 } 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, !13, i64 8} !7 = !{!"TYPE_10__", !8, i64 0, !13, i64 8} !8 = !{!"TYPE_8__", !9, i64 0, !12, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_7__", !9, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!7, !9, i64 0} !15 = !{!7, !9, i64 4} !16 = !{!9, !9, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_11__", !13, i64 0} !19 = !{!20, !9, i64 0} !20 = !{!"TYPE_9__", !9, i64 0}
vlc_modules_codec_extr_schroedinger.c_SetEncChromaFormat
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8822bwifionly.c_hal8822b_wifi_only_switch_antenna.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8822bwifionly.c_hal8822b_wifi_only_switch_antenna.c" target datalayout = "e-m:e-p270:32:32-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 @hal8822b_wifi_only_switch_antenna(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 %4 = select i1 %3, i32 2, i32 1 %5 = tail call i32 @halwifionly_phy_set_bb_reg(ptr noundef %0, i32 noundef 3260, i32 noundef 768, i32 noundef %4) #2 ret void } declare i32 @halwifionly_phy_set_bb_reg(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)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8822bwifionly.c_hal8822b_wifi_only_switch_antenna.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8822bwifionly.c_hal8822b_wifi_only_switch_antenna.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 @hal8822b_wifi_only_switch_antenna(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 %4 = select i1 %3, i32 2, i32 1 %5 = tail call i32 @halwifionly_phy_set_bb_reg(ptr noundef %0, i32 noundef 3260, i32 noundef 768, i32 noundef %4) #2 ret void } declare i32 @halwifionly_phy_set_bb_reg(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)"}
linux_drivers_net_wireless_realtek_rtlwifi_btcoexist_extr_halbtc8822bwifionly.c_hal8822b_wifi_only_switch_antenna
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCALE = dso_local local_unnamed_addr global ptr null, align 8 @last_muse_note = dso_local local_unnamed_addr global i64 0, align 8 @muse_counter = dso_local local_unnamed_addr global i32 0, align 4 @muse_mode = dso_local local_unnamed_addr global i64 0, align 8 @muse_offset = dso_local local_unnamed_addr global i64 0, align 8 @muse_tempo = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCALE = common local_unnamed_addr global ptr null, align 8 @last_muse_note = common local_unnamed_addr global i64 0, align 8 @muse_counter = common local_unnamed_addr global i32 0, align 4 @muse_mode = common local_unnamed_addr global i64 0, align 8 @muse_offset = common local_unnamed_addr global i64 0, align 8 @muse_tempo = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_preonic_keymaps_kjwon15_extr_keymap.c_matrix_scan_user
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_tgt_port_write_mbytes_show.c' source_filename = "AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_tgt_port_write_mbytes_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.se_lun = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @target_stat_tgt_port_write_mbytes_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @target_stat_tgt_port_write_mbytes_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_stat_tgt_port(ptr noundef %0) #2 %4 = load i32, ptr @ENODEV, align 4, !tbaa !5 %5 = sub nsw i32 0, %4 %6 = tail call i32 (...) @rcu_read_lock() #2 %7 = getelementptr inbounds %struct.se_lun, ptr %3, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = tail call ptr @rcu_dereference(i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %2 %12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %13 = tail call i32 @atomic_long_read(ptr noundef nonnull %3) #2 %14 = ashr i32 %13, 20 %15 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %14) #2 br label %16 16: ; preds = %11, %2 %17 = phi i32 [ %15, %11 ], [ %5, %2 ] %18 = tail call i32 (...) @rcu_read_unlock() #2 ret i32 %17 } declare ptr @to_stat_tgt_port(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_long_read(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"se_lun", !11, i64 0, !6, i64 4} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_tgt_port_write_mbytes_show.c' source_filename = "AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_tgt_port_write_mbytes_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @target_stat_tgt_port_write_mbytes_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @target_stat_tgt_port_write_mbytes_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_stat_tgt_port(ptr noundef %0) #2 %4 = load i32, ptr @ENODEV, align 4, !tbaa !6 %5 = sub nsw i32 0, %4 %6 = tail call i32 @rcu_read_lock() #2 %7 = getelementptr inbounds i8, ptr %3, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call ptr @rcu_dereference(i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %16, label %11 11: ; preds = %2 %12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %13 = tail call i32 @atomic_long_read(ptr noundef nonnull %3) #2 %14 = ashr i32 %13, 20 %15 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %14) #2 br label %16 16: ; preds = %11, %2 %17 = phi i32 [ %15, %11 ], [ %5, %2 ] %18 = tail call i32 @rcu_read_unlock() #2 ret i32 %17 } declare ptr @to_stat_tgt_port(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_long_read(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"se_lun", !12, i64 0, !7, i64 4} !12 = !{!"TYPE_2__", !7, i64 0}
linux_drivers_target_extr_target_core_stat.c_target_stat_tgt_port_write_mbytes_show
; ModuleID = 'AnghaBench/openwrt/scripts/config/extr_confdata.c_conf_default_message_callback.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_confdata.c_conf_default_message_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"#\0A# \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A#\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @conf_default_message_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @conf_default_message_callback(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @printf(ptr noundef nonnull @.str) #2 %4 = tail call i32 @vprintf(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @vprintf(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/openwrt/scripts/config/extr_confdata.c_conf_default_message_callback.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_confdata.c_conf_default_message_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"#\0A# \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A#\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @conf_default_message_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @conf_default_message_callback(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @printf(ptr noundef nonnull @.str) #2 %4 = tail call i32 @vprintf(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @vprintf(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)"}
openwrt_scripts_config_extr_confdata.c_conf_default_message_callback
; ModuleID = 'AnghaBench/linux/drivers/firmware/efi/extr_efibc.c_efibc_set_variable.c' source_filename = "AnghaBench/linux/drivers/firmware/efi/extr_efibc.c_efibc_set_variable.c" target datalayout = "e-m:e-p270:32:32-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 } @LINUX_EFI_LOADER_ENTRY_GUID = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"value is too large (%zu bytes) for '%s' EFI variable\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 @.str.1 = private unnamed_addr constant [55 x i8] c"failed to allocate efivar entry for '%s' EFI variable\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_NON_VOLATILE = dso_local local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_BOOTSERVICE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_RUNTIME_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"failed to set %s EFI variable: 0x%x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @efibc_set_variable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @efibc_set_variable(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @LINUX_EFI_LOADER_ENTRY_GUID, align 4, !tbaa !5 store i32 %4, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @strlen(ptr noundef %1) #3 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = shl nsw i64 %7, 2 %9 = icmp ugt i64 %8, 8 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str, i64 noundef %8, ptr noundef %0) #3 %12 = load i32, ptr @EINVAL, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 br label %45 14: ; preds = %2 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %16 = tail call ptr @kmalloc(i32 noundef 24, i32 noundef %15) #3 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %14 %19 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef %0) #3 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %21 = sub nsw i32 0, %20 br label %45 22: ; preds = %14 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 2 %24 = load ptr, ptr %23, align 8, !tbaa !9 %25 = tail call i32 @efibc_str_to_str16(ptr noundef %0, ptr noundef %24) #3 %26 = load i64, ptr %16, align 8, !tbaa !14 %27 = inttoptr i64 %26 to ptr %28 = tail call i32 @efibc_str_to_str16(ptr noundef %1, ptr noundef %27) #3 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1 %30 = call i32 @memcpy(ptr noundef nonnull %29, ptr noundef nonnull %3, i32 noundef 4) #3 %31 = load ptr, ptr %23, align 8, !tbaa !9 %32 = load i32, ptr %29, align 8, !tbaa !15 %33 = load i32, ptr @EFI_VARIABLE_NON_VOLATILE, align 4, !tbaa !5 %34 = load i32, ptr @EFI_VARIABLE_BOOTSERVICE_ACCESS, align 4, !tbaa !5 %35 = or i32 %34, %33 %36 = load i32, ptr @EFI_VARIABLE_RUNTIME_ACCESS, align 4, !tbaa !5 %37 = or i32 %35, %36 %38 = load i64, ptr %16, align 8, !tbaa !14 %39 = call i32 @efivar_entry_set_safe(ptr noundef %31, i32 noundef %32, i32 noundef %37, i32 noundef 0, i64 noundef %8, i64 noundef %38) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %22 %42 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, ptr noundef %0, i32 noundef %39) #3 br label %43 43: ; preds = %41, %22 %44 = call i32 @kfree(ptr noundef nonnull %16) #3 br label %45 45: ; preds = %43, %18, %10 %46 = phi i32 [ %13, %10 ], [ %39, %43 ], [ %21, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efibc_str_to_str16(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efivar_entry_set_safe(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !13, i64 16} !10 = !{!"efivar_entry", !11, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !6, i64 8, !13, i64 16} !12 = !{!"long", !7, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !12, i64 0} !15 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/firmware/efi/extr_efibc.c_efibc_set_variable.c' source_filename = "AnghaBench/linux/drivers/firmware/efi/extr_efibc.c_efibc_set_variable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LINUX_EFI_LOADER_ENTRY_GUID = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"value is too large (%zu bytes) for '%s' EFI variable\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 @.str.1 = private unnamed_addr constant [55 x i8] c"failed to allocate efivar entry for '%s' EFI variable\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_NON_VOLATILE = common local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_BOOTSERVICE_ACCESS = common local_unnamed_addr global i32 0, align 4 @EFI_VARIABLE_RUNTIME_ACCESS = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"failed to set %s EFI variable: 0x%x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @efibc_set_variable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @efibc_set_variable(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @LINUX_EFI_LOADER_ENTRY_GUID, align 4, !tbaa !6 store i32 %4, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @strlen(ptr noundef %1) #3 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = shl nsw i64 %7, 2 %9 = icmp ugt i64 %8, 8 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str, i64 noundef %8, ptr noundef %0) #3 %12 = load i32, ptr @EINVAL, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 br label %45 14: ; preds = %2 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %16 = tail call ptr @kmalloc(i32 noundef 24, i32 noundef %15) #3 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %14 %19 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef %0) #3 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %21 = sub nsw i32 0, %20 br label %45 22: ; preds = %14 %23 = getelementptr inbounds i8, ptr %16, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !10 %25 = tail call i32 @efibc_str_to_str16(ptr noundef %0, ptr noundef %24) #3 %26 = load i64, ptr %16, align 8, !tbaa !15 %27 = inttoptr i64 %26 to ptr %28 = tail call i32 @efibc_str_to_str16(ptr noundef %1, ptr noundef %27) #3 %29 = getelementptr inbounds i8, ptr %16, i64 8 %30 = call i32 @memcpy(ptr noundef nonnull %29, ptr noundef nonnull %3, i32 noundef 4) #3 %31 = load ptr, ptr %23, align 8, !tbaa !10 %32 = load i32, ptr %29, align 8, !tbaa !16 %33 = load i32, ptr @EFI_VARIABLE_NON_VOLATILE, align 4, !tbaa !6 %34 = load i32, ptr @EFI_VARIABLE_BOOTSERVICE_ACCESS, align 4, !tbaa !6 %35 = or i32 %34, %33 %36 = load i32, ptr @EFI_VARIABLE_RUNTIME_ACCESS, align 4, !tbaa !6 %37 = or i32 %35, %36 %38 = load i64, ptr %16, align 8, !tbaa !15 %39 = call i32 @efivar_entry_set_safe(ptr noundef %31, i32 noundef %32, i32 noundef %37, i32 noundef 0, i64 noundef %8, i64 noundef %38) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %22 %42 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, ptr noundef %0, i32 noundef %39) #3 br label %43 43: ; preds = %41, %22 %44 = call i32 @kfree(ptr noundef nonnull %16) #3 br label %45 45: ; preds = %43, %18, %10 %46 = phi i32 [ %13, %10 ], [ %39, %43 ], [ %21, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efibc_str_to_str16(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efivar_entry_set_safe(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !14, i64 16} !11 = !{!"efivar_entry", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !7, i64 8, !14, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !13, i64 0} !16 = !{!11, !7, i64 8}
linux_drivers_firmware_efi_extr_efibc.c_efibc_set_variable
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mv78xx0/extr_common.c_get_pclk_l2clk.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mv78xx0/extr_common.c_get_pclk_l2clk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SAMPLE_AT_RESET_LOW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_pclk_l2clk], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @get_pclk_l2clk(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp eq i32 %1, 0 %6 = load i32, ptr @SAMPLE_AT_RESET_LOW, align 4, !tbaa !5 %7 = tail call i32 @readl(i32 noundef %6) #2 %8 = select i1 %5, i32 8, i32 14 %9 = lshr i32 %7, %8 %10 = and i32 %9, 15 %11 = add nuw nsw i32 %10, 2 %12 = mul nsw i32 %11, %0 %13 = ashr i32 %12, 1 store i32 %13, ptr %2, align 4, !tbaa !5 %14 = lshr i32 %9, 4 %15 = and i32 %14, 3 %16 = add nuw nsw i32 %15, 1 %17 = sdiv i32 %13, %16 store i32 %17, ptr %3, align 4, !tbaa !5 ret void } declare i32 @readl(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/arm/mach-mv78xx0/extr_common.c_get_pclk_l2clk.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mv78xx0/extr_common.c_get_pclk_l2clk.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SAMPLE_AT_RESET_LOW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_pclk_l2clk], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @get_pclk_l2clk(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp eq i32 %1, 0 %6 = load i32, ptr @SAMPLE_AT_RESET_LOW, align 4, !tbaa !6 %7 = tail call i32 @readl(i32 noundef %6) #2 %8 = select i1 %5, i32 8, i32 14 %9 = lshr i32 %7, %8 %10 = and i32 %9, 15 %11 = add nuw nsw i32 %10, 2 %12 = mul nsw i32 %11, %0 %13 = ashr i32 %12, 1 store i32 %13, ptr %2, align 4, !tbaa !6 %14 = lshr i32 %9, 4 %15 = and i32 %14, 3 %16 = add nuw nsw i32 %15, 1 %17 = sdiv i32 %13, %16 store i32 %17, ptr %3, align 4, !tbaa !6 ret void } declare i32 @readl(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_arm_mach-mv78xx0_extr_common.c_get_pclk_l2clk
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_gate.c_clknode_gate_init.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_gate.c_clknode_gate_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.clknode_gate_sc = type { i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @clknode_gate_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @clknode_gate_init(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call ptr @clknode_get_softc(ptr noundef %0) #3 %5 = tail call i32 @DEVICE_LOCK(ptr noundef %0) #3 %6 = getelementptr inbounds %struct.clknode_gate_sc, ptr %4, i64 0, i32 4 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = call i32 @RD4(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = call i32 @DEVICE_UNLOCK(ptr noundef %0) #3 %10 = icmp eq i32 %8, 0 br i1 %10, label %11, label %24 11: ; preds = %2 %12 = load i32, ptr %3, align 4, !tbaa !10 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = ashr i32 %12, %13 %15 = getelementptr inbounds %struct.clknode_gate_sc, ptr %4, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = and i32 %14, %16 store i32 %17, ptr %3, align 4, !tbaa !10 %18 = getelementptr inbounds %struct.clknode_gate_sc, ptr %4, i64 0, i32 3 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = icmp eq i32 %17, %19 %21 = zext i1 %20 to i32 %22 = getelementptr inbounds %struct.clknode_gate_sc, ptr %4, i64 0, i32 2 store i32 %21, ptr %22, align 4, !tbaa !14 %23 = call i32 @clknode_init_parent_idx(ptr noundef %0, i32 noundef 0) #3 br label %24 24: ; preds = %2, %11 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #2 declare i32 @DEVICE_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @RD4(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DEVICE_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @clknode_init_parent_idx(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 16} !6 = !{!"clknode_gate_sc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_gate.c_clknode_gate_init.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_gate.c_clknode_gate_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @clknode_gate_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @clknode_gate_init(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call ptr @clknode_get_softc(ptr noundef %0) #3 %5 = tail call i32 @DEVICE_LOCK(ptr noundef %0) #3 %6 = getelementptr inbounds i8, ptr %4, i64 16 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = call i32 @RD4(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = call i32 @DEVICE_UNLOCK(ptr noundef %0) #3 %10 = icmp eq i32 %8, 0 br i1 %10, label %11, label %24 11: ; preds = %2 %12 = load i32, ptr %3, align 4, !tbaa !11 %13 = load i32, ptr %4, align 4, !tbaa !12 %14 = ashr i32 %12, %13 %15 = getelementptr inbounds i8, ptr %4, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = and i32 %14, %16 store i32 %17, ptr %3, align 4, !tbaa !11 %18 = getelementptr inbounds i8, ptr %4, i64 12 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = icmp eq i32 %17, %19 %21 = zext i1 %20 to i32 %22 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %21, ptr %22, align 4, !tbaa !15 %23 = call i32 @clknode_init_parent_idx(ptr noundef %0, i32 noundef 0) #3 br label %24 24: ; preds = %2, %11 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #2 declare i32 @DEVICE_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @RD4(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DEVICE_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @clknode_init_parent_idx(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 16} !7 = !{!"clknode_gate_sc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 8}
freebsd_sys_dev_extres_clk_extr_clk_gate.c_clknode_gate_init
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_mesh.c_mesh_copy_qinfo.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_mesh.c_mesh_copy_qinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, ptr } %struct.query_info = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @mesh_copy_qinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mesh_copy_qinfo(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %8 = tail call ptr @regional_alloc_init(ptr noundef %6, ptr noundef nonnull %7, i32 noundef 16) #2 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %3 %11 = getelementptr inbounds %struct.query_info, ptr %8, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = load i32, ptr %8, align 8, !tbaa !16 %14 = tail call ptr @regional_alloc_init(ptr noundef %6, ptr noundef %12, i32 noundef %13) #2 store ptr %14, ptr %11, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %10 store ptr %8, ptr %1, align 8, !tbaa !17 %17 = load i32, ptr %0, align 8, !tbaa !18 store i32 %17, ptr %2, align 4, !tbaa !19 br label %18 18: ; preds = %10, %3, %16 ret void } declare ptr @regional_alloc_init(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, !11, i64 8} !6 = !{!"mesh_state", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"query_info", !8, i64 0, !11, i64 8} !16 = !{!15, !8, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!6, !8, i64 0} !19 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_mesh.c_mesh_copy_qinfo.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_mesh.c_mesh_copy_qinfo.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 @mesh_copy_qinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mesh_copy_qinfo(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = tail call ptr @regional_alloc_init(ptr noundef %6, ptr noundef nonnull %7, i32 noundef 16) #2 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %8, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = load i32, ptr %8, align 8, !tbaa !17 %14 = tail call ptr @regional_alloc_init(ptr noundef %6, ptr noundef %12, i32 noundef %13) #2 store ptr %14, ptr %11, align 8, !tbaa !15 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %10 store ptr %8, ptr %1, align 8, !tbaa !18 %17 = load i32, ptr %0, align 8, !tbaa !19 store i32 %17, ptr %2, align 4, !tbaa !20 br label %18 18: ; preds = %10, %3, %16 ret void } declare ptr @regional_alloc_init(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, !12, i64 8} !7 = !{!"mesh_state", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"query_info", !9, i64 0, !12, i64 8} !17 = !{!16, !9, i64 0} !18 = !{!12, !12, i64 0} !19 = !{!7, !9, i64 0} !20 = !{!9, !9, i64 0}
freebsd_contrib_unbound_services_extr_mesh.c_mesh_copy_qinfo
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_get_sset_count.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_get_sset_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @atl1_gstrings_stats = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atl1_get_sset_count], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atl1_get_sset_count(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 128 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = load i32, ptr @atl1_gstrings_stats, align 4, !tbaa !5 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 br label %10 7: ; preds = %2 %8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %10 10: ; preds = %7, %4 %11 = phi i32 [ %6, %4 ], [ %9, %7 ] ret i32 %11 } declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_get_sset_count.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_get_sset_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @atl1_gstrings_stats = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atl1_get_sset_count], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atl1_get_sset_count(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 128 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = load i32, ptr @atl1_gstrings_stats, align 4, !tbaa !6 %6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2 br label %10 7: ; preds = %2 %8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %10 10: ; preds = %7, %4 %11 = phi i32 [ %6, %4 ], [ %9, %7 ] ret i32 %11 } declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_atheros_atlx_extr_atl1.c_atl1_get_sset_count
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_160.c_suid_code_end.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_160.c_suid_code_end.c" target datalayout = "e-m:e-p270:32:32-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 @suid_code_end], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @suid_code_end(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1 ret i32 %2 } 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/exploitdb/exploits/linux/local/extr_160.c_suid_code_end.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_160.c_suid_code_end.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 @suid_code_end], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @suid_code_end(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1 ret i32 %2 } 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)"}
exploitdb_exploits_linux_local_extr_160.c_suid_code_end
; ModuleID = 'AnghaBench/linux/drivers/base/extr_component.c_component_unbind_all.c' source_filename = "AnghaBench/linux/drivers/base/extr_component.c_component_unbind_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, ptr } %struct.TYPE_3__ = type { ptr, i32 } @component_mutex = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @component_unbind_all(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @mutex_is_locked(ptr noundef nonnull @component_mutex) #2 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @WARN_ON(i32 noundef %5) #2 %7 = tail call ptr @__master_find(ptr noundef %0, ptr noundef null) #2 %8 = icmp eq ptr %7, null br i1 %8, label %28, label %9 9: ; preds = %2 %10 = load ptr, ptr %7, align 8, !tbaa !5 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %28, label %13 13: ; preds = %9, %26 %14 = phi i64 [ %15, %26 ], [ %11, %9 ] %15 = add i64 %14, -1 %16 = load ptr, ptr %7, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %15, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %13 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %15 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = tail call i32 @component_unbind(ptr noundef %24, ptr noundef nonnull %7, ptr noundef %1) #2 br label %26 26: ; preds = %22, %13 %27 = icmp eq i64 %15, 0 br i1 %27, label %28, label %13, !llvm.loop !18 28: ; preds = %26, %9, %2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_is_locked(ptr noundef) local_unnamed_addr #1 declare ptr @__master_find(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @component_unbind(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 = !{!"master", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_3__", !7, i64 0, !16, i64 8} !16 = !{!"int", !8, i64 0} !17 = !{!15, !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/base/extr_component.c_component_unbind_all.c' source_filename = "AnghaBench/linux/drivers/base/extr_component.c_component_unbind_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr, i32 } @component_mutex = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @component_unbind_all(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @mutex_is_locked(ptr noundef nonnull @component_mutex) #2 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @WARN_ON(i32 noundef %5) #2 %7 = tail call ptr @__master_find(ptr noundef %0, ptr noundef null) #2 %8 = icmp eq ptr %7, null br i1 %8, label %28, label %9 9: ; preds = %2 %10 = load ptr, ptr %7, align 8, !tbaa !6 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %28, label %13 13: ; preds = %9, %26 %14 = phi i64 [ %15, %26 ], [ %11, %9 ] %15 = add i64 %14, -1 %16 = load ptr, ptr %7, align 8, !tbaa !6 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %15 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %13 %24 = load ptr, ptr %19, align 8, !tbaa !18 %25 = tail call i32 @component_unbind(ptr noundef %24, ptr noundef nonnull %7, ptr noundef %1) #2 br label %26 26: ; preds = %23, %13 %27 = icmp eq i64 %15, 0 br i1 %27, label %28, label %13, !llvm.loop !19 28: ; preds = %26, %9, %2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_is_locked(ptr noundef) local_unnamed_addr #1 declare ptr @__master_find(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @component_unbind(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 = !{!"master", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!12, !8, i64 8} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_3__", !8, i64 0, !17, i64 8} !17 = !{!"int", !9, i64 0} !18 = !{!16, !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_drivers_base_extr_component.c_component_unbind_all
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_api.c_cb_ern.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_api.c_cb_ern.c" target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"cb_ern() unimplemented\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cb_ern], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cb_ern(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @pr_crit(ptr noundef nonnull @.str) #2 %5 = tail call i32 @WARN_ON(i32 noundef 1) #2 ret void } declare i32 @pr_crit(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_api.c_cb_ern.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_api.c_cb_ern.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [23 x i8] c"cb_ern() unimplemented\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cb_ern], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cb_ern(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @pr_crit(ptr noundef nonnull @.str) #2 %5 = tail call i32 @WARN_ON(i32 noundef 1) #2 ret void } declare i32 @pr_crit(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_soc_fsl_qbman_extr_qman_test_api.c_cb_ern
; ModuleID = 'AnghaBench/linux/sound/isa/sb/extr_sb16_csp.c_snd_sb_qsound_space_get.c' source_filename = "AnghaBench/linux/sound/isa/sb/extr_sb16_csp.c_snd_sb_qsound_space_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_sb_csp = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_sb_qsound_space_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_sb_qsound_space_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds %struct.snd_sb_csp, ptr %3, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load ptr, ptr %1, align 8, !tbaa !10 store i32 %6, ptr %7, align 4, !tbaa !15 %8 = getelementptr inbounds %struct.snd_sb_csp, ptr %3, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !16 %10 = getelementptr inbounds i32, ptr %7, i64 1 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"snd_sb_csp", !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 = !{!11, !14, i64 0} !11 = !{!"snd_ctl_elem_value", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/sound/isa/sb/extr_sb16_csp.c_snd_sb_qsound_space_get.c' source_filename = "AnghaBench/linux/sound/isa/sb/extr_sb16_csp.c_snd_sb_qsound_space_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_sb_qsound_space_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_sb_qsound_space_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load ptr, ptr %1, align 8, !tbaa !11 store i32 %6, ptr %7, align 4, !tbaa !16 %8 = getelementptr inbounds i8, ptr %3, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %9, ptr %10, align 4, !tbaa !16 %11 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"snd_sb_csp", !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 = !{!12, !15, i64 0} !12 = !{!"snd_ctl_elem_value", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 4}
linux_sound_isa_sb_extr_sb16_csp.c_snd_sb_qsound_space_get
; ModuleID = 'AnghaBench/linux/drivers/scsi/cxlflash/extr_main.c_port1_lun_table_show.c' source_filename = "AnghaBench/linux/drivers/scsi/cxlflash/extr_main.c_port1_lun_table_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @port1_lun_table_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @port1_lun_table_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @class_to_shost(ptr noundef %0) #2 %5 = tail call ptr @shost_priv(i32 noundef %4) #2 %6 = tail call i32 @cxlflash_show_port_lun_table(i32 noundef 1, ptr noundef %5, ptr noundef %2) #2 ret i32 %6 } declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1 declare i32 @class_to_shost(ptr noundef) local_unnamed_addr #1 declare i32 @cxlflash_show_port_lun_table(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/cxlflash/extr_main.c_port1_lun_table_show.c' source_filename = "AnghaBench/linux/drivers/scsi/cxlflash/extr_main.c_port1_lun_table_show.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 @port1_lun_table_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @port1_lun_table_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @class_to_shost(ptr noundef %0) #2 %5 = tail call ptr @shost_priv(i32 noundef %4) #2 %6 = tail call i32 @cxlflash_show_port_lun_table(i32 noundef 1, ptr noundef %5, ptr noundef %2) #2 ret i32 %6 } declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1 declare i32 @class_to_shost(ptr noundef) local_unnamed_addr #1 declare i32 @cxlflash_show_port_lun_table(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_scsi_cxlflash_extr_main.c_port1_lun_table_show
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_eth1394.c_ether1394_free_packet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_eth1394.c_ether1394_free_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TCODE_STREAM_DATA = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ether1394_free_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ether1394_free_packet(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @TCODE_STREAM_DATA, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @hpsb_free_tlabel(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @hpsb_free_packet(ptr noundef nonnull %0) #2 ret void } declare i32 @hpsb_free_tlabel(ptr noundef) local_unnamed_addr #1 declare i32 @hpsb_free_packet(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 = !{!"hpsb_packet", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_eth1394.c_ether1394_free_packet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_eth1394.c_ether1394_free_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCODE_STREAM_DATA = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ether1394_free_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ether1394_free_packet(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @TCODE_STREAM_DATA, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @hpsb_free_tlabel(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @hpsb_free_packet(ptr noundef nonnull %0) #2 ret void } declare i32 @hpsb_free_tlabel(ptr noundef) local_unnamed_addr #1 declare i32 @hpsb_free_packet(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 = !{!"hpsb_packet", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_ieee1394_extr_eth1394.c_ether1394_free_packet
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_sys_ppc32.c_compat_sys_setpriority.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_sys_ppc32.c_compat_sys_setpriority.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i64 @compat_sys_setpriority(i64 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = trunc i64 %0 to i32 %5 = trunc i64 %1 to i32 %6 = trunc i64 %2 to i32 %7 = tail call i64 @sys_setpriority(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2 ret i64 %7 } declare i64 @sys_setpriority(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/fastsocket/kernel/arch/powerpc/kernel/extr_sys_ppc32.c_compat_sys_setpriority.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_sys_ppc32.c_compat_sys_setpriority.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i64 @compat_sys_setpriority(i64 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = trunc i64 %0 to i32 %5 = trunc i64 %1 to i32 %6 = trunc i64 %2 to i32 %7 = tail call i64 @sys_setpriority(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2 ret i64 %7 } declare i64 @sys_setpriority(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)"}
fastsocket_kernel_arch_powerpc_kernel_extr_sys_ppc32.c_compat_sys_setpriority
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm3x-sysfs.c_seq_32_event_show.c' source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm3x-sysfs.c_seq_32_event_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%#lx\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @seq_32_event_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @seq_32_event_show(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %6) #2 ret i32 %7 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(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, !7, i64 0} !6 = !{!"device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"etm_config", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm3x-sysfs.c_seq_32_event_show.c' source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm3x-sysfs.c_seq_32_event_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"%#lx\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @seq_32_event_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @seq_32_event_show(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %6) #2 ret i32 %7 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(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, !8, i64 0} !7 = !{!"device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"etm_config", !13, i64 0} !13 = !{!"long", !9, i64 0}
linux_drivers_hwtracing_coresight_extr_coresight-etm3x-sysfs.c_seq_32_event_show
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c___lpfc_sli4_process_cq.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c___lpfc_sli4_process_cq.c" target datalayout = "e-m:e-p270:32:32-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.lpfc_queue = type { i32, i32, i32, i64, i32, ptr, i32 } %struct.lpfc_hba = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } @LPFC_QUEUE_NOARM = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_NVMET_CQ_NOTIFY = dso_local local_unnamed_addr global i32 0, align 4 @HBA_NVMET_CQ_NOTIFY = dso_local local_unnamed_addr global i32 0, align 4 @KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4 @LOG_SLI = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"0369 No entry from completion queue qid=%d\0A\00", align 1 @LPFC_QUEUE_REARM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__lpfc_sli4_process_cq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__lpfc_sli4_process_cq(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) #0 { store i64 0, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 3 %6 = tail call i64 @cmpxchg(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = load i32, ptr @LPFC_QUEUE_REARM, align 4 br label %80 10: ; preds = %4 %11 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 6 store i32 0, ptr %11, align 8, !tbaa !9 %12 = tail call ptr @lpfc_sli4_cq_get(ptr noundef %1) #2 %13 = icmp eq ptr %12, null br i1 %13, label %49, label %14 14: ; preds = %10 %15 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 1 %16 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 br label %17 17: ; preds = %14, %46 %18 = phi i32 [ 0, %14 ], [ %39, %46 ] %19 = phi i32 [ 0, %14 ], [ %26, %46 ] %20 = phi i32 [ 0, %14 ], [ %23, %46 ] %21 = phi ptr [ %12, %14 ], [ %47, %46 ] %22 = tail call i32 %2(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %21) #2 %23 = or i32 %22, %20 %24 = tail call i32 @__lpfc_sli4_consume_cqe(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %21) #2 %25 = add nsw i32 %18, 1 %26 = add nuw nsw i32 %19, 1 %27 = load i32, ptr %1, align 8, !tbaa !13 %28 = srem i32 %26, %27 %29 = icmp eq i32 %28, 0 br i1 %29, label %49, label %30 30: ; preds = %17 %31 = load i32, ptr %15, align 4, !tbaa !14 %32 = srem i32 %26, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load ptr, ptr %16, align 8, !tbaa !15 %36 = load i32, ptr @LPFC_QUEUE_NOARM, align 4, !tbaa !18 %37 = tail call i32 %35(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %25, i32 noundef %36) #2 br label %38 38: ; preds = %34, %30 %39 = phi i32 [ %25, %30 ], [ 0, %34 ] %40 = load i32, ptr @LPFC_NVMET_CQ_NOTIFY, align 4, !tbaa !18 %41 = icmp eq i32 %26, %40 br i1 %41, label %42, label %46 42: ; preds = %38 %43 = load i32, ptr @HBA_NVMET_CQ_NOTIFY, align 4, !tbaa !18 %44 = load i32, ptr %11, align 8, !tbaa !9 %45 = or i32 %44, %43 store i32 %45, ptr %11, align 8, !tbaa !9 br label %46 46: ; preds = %42, %38 %47 = tail call ptr @lpfc_sli4_cq_get(ptr noundef nonnull %1) #2 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %17, !llvm.loop !19 49: ; preds = %46, %17, %10 %50 = phi i32 [ 0, %10 ], [ %23, %17 ], [ %23, %46 ] %51 = phi i32 [ 0, %10 ], [ %26, %17 ], [ %26, %46 ] %52 = phi i32 [ 0, %10 ], [ %39, %46 ], [ %25, %17 ] %53 = load i32, ptr %0, align 8, !tbaa !21 %54 = icmp slt i32 %51, %53 br i1 %54, label %56, label %55 55: ; preds = %49 store i64 1, ptr %3, align 8, !tbaa !5 br label %56 56: ; preds = %55, %49 %57 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 2 %58 = load i32, ptr %57, align 8, !tbaa !22 %59 = icmp sgt i32 %51, %58 br i1 %59, label %60, label %61 60: ; preds = %56 store i32 %51, ptr %57, align 8, !tbaa !22 br label %61 61: ; preds = %60, %56 %62 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 5 %63 = load ptr, ptr %62, align 8, !tbaa !23 %64 = load i32, ptr %63, align 4, !tbaa !24 %65 = add nsw i32 %64, %51 store i32 %65, ptr %63, align 4, !tbaa !24 %66 = icmp eq i32 %51, 0 %67 = zext i1 %66 to i32 %68 = tail call i64 @unlikely(i32 noundef %67) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %76, label %70 70: ; preds = %61 %71 = load i32, ptr @KERN_INFO, align 4, !tbaa !18 %72 = load i32, ptr @LOG_SLI, align 4, !tbaa !18 %73 = getelementptr inbounds %struct.lpfc_queue, ptr %1, i64 0, i32 4 %74 = load i32, ptr %73, align 8, !tbaa !26 %75 = tail call i32 @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72, ptr noundef nonnull @.str, i32 noundef %74) #2 br label %76 76: ; preds = %61, %70 store i64 0, ptr %5, align 8, !tbaa !27 %77 = load i32, ptr @LPFC_QUEUE_REARM, align 4 %78 = load i32, ptr @LPFC_QUEUE_NOARM, align 4 %79 = select i1 %54, i32 %77, i32 %78 br label %80 80: ; preds = %76, %8 %81 = phi i32 [ 0, %8 ], [ %52, %76 ] %82 = phi i32 [ 0, %8 ], [ %50, %76 ] %83 = phi i32 [ %9, %8 ], [ %79, %76 ] %84 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 %85 = load ptr, ptr %84, align 8, !tbaa !15 %86 = tail call i32 %85(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %81, i32 noundef %83) #2 ret i32 %82 } declare i64 @cmpxchg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lpfc_sli4_cq_get(ptr noundef) local_unnamed_addr #1 declare i32 @__lpfc_sli4_consume_cqe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 40} !10 = !{!"lpfc_queue", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !11, i64 24, !12, i64 32, !11, i64 40} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !11, i64 4} !15 = !{!16, !12, i64 8} !16 = !{!"lpfc_hba", !11, i64 0, !17, i64 8} !17 = !{!"TYPE_4__", !12, i64 0} !18 = !{!11, !11, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!16, !11, i64 0} !22 = !{!10, !11, i64 8} !23 = !{!10, !12, i64 32} !24 = !{!25, !11, i64 0} !25 = !{!"TYPE_3__", !11, i64 0} !26 = !{!10, !11, i64 24} !27 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c___lpfc_sli4_process_cq.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_sli.c___lpfc_sli4_process_cq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPFC_QUEUE_NOARM = common local_unnamed_addr global i32 0, align 4 @LPFC_NVMET_CQ_NOTIFY = common local_unnamed_addr global i32 0, align 4 @HBA_NVMET_CQ_NOTIFY = common local_unnamed_addr global i32 0, align 4 @KERN_INFO = common local_unnamed_addr global i32 0, align 4 @LOG_SLI = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"0369 No entry from completion queue qid=%d\0A\00", align 1 @LPFC_QUEUE_REARM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__lpfc_sli4_process_cq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__lpfc_sli4_process_cq(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) #0 { store i64 0, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = tail call i64 @cmpxchg(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = load i32, ptr @LPFC_QUEUE_REARM, align 4 br label %80 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %1, i64 40 store i32 0, ptr %11, align 8, !tbaa !10 %12 = tail call ptr @lpfc_sli4_cq_get(ptr noundef %1) #2 %13 = icmp eq ptr %12, null br i1 %13, label %49, label %14 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = getelementptr inbounds i8, ptr %0, i64 8 br label %17 17: ; preds = %14, %46 %18 = phi i32 [ 0, %14 ], [ %39, %46 ] %19 = phi i32 [ 0, %14 ], [ %26, %46 ] %20 = phi i32 [ 0, %14 ], [ %23, %46 ] %21 = phi ptr [ %12, %14 ], [ %47, %46 ] %22 = tail call i32 %2(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %21) #2 %23 = or i32 %22, %20 %24 = tail call i32 @__lpfc_sli4_consume_cqe(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %21) #2 %25 = add nsw i32 %18, 1 %26 = add nuw nsw i32 %19, 1 %27 = load i32, ptr %1, align 8, !tbaa !14 %28 = srem i32 %26, %27 %29 = icmp eq i32 %28, 0 br i1 %29, label %49, label %30 30: ; preds = %17 %31 = load i32, ptr %15, align 4, !tbaa !15 %32 = srem i32 %26, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load ptr, ptr %16, align 8, !tbaa !16 %36 = load i32, ptr @LPFC_QUEUE_NOARM, align 4, !tbaa !19 %37 = tail call i32 %35(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %25, i32 noundef %36) #2 br label %38 38: ; preds = %34, %30 %39 = phi i32 [ %25, %30 ], [ 0, %34 ] %40 = load i32, ptr @LPFC_NVMET_CQ_NOTIFY, align 4, !tbaa !19 %41 = icmp eq i32 %26, %40 br i1 %41, label %42, label %46 42: ; preds = %38 %43 = load i32, ptr @HBA_NVMET_CQ_NOTIFY, align 4, !tbaa !19 %44 = load i32, ptr %11, align 8, !tbaa !10 %45 = or i32 %44, %43 store i32 %45, ptr %11, align 8, !tbaa !10 br label %46 46: ; preds = %42, %38 %47 = tail call ptr @lpfc_sli4_cq_get(ptr noundef nonnull %1) #2 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %17, !llvm.loop !20 49: ; preds = %46, %17, %10 %50 = phi i32 [ 0, %10 ], [ %23, %17 ], [ %23, %46 ] %51 = phi i32 [ 0, %10 ], [ %26, %17 ], [ %26, %46 ] %52 = phi i32 [ 0, %10 ], [ %39, %46 ], [ %25, %17 ] %53 = load i32, ptr %0, align 8, !tbaa !22 %54 = icmp slt i32 %51, %53 br i1 %54, label %56, label %55 55: ; preds = %49 store i64 1, ptr %3, align 8, !tbaa !6 br label %56 56: ; preds = %55, %49 %57 = getelementptr inbounds i8, ptr %1, i64 8 %58 = load i32, ptr %57, align 8, !tbaa !23 %59 = icmp sgt i32 %51, %58 br i1 %59, label %60, label %61 60: ; preds = %56 store i32 %51, ptr %57, align 8, !tbaa !23 br label %61 61: ; preds = %60, %56 %62 = getelementptr inbounds i8, ptr %1, i64 32 %63 = load ptr, ptr %62, align 8, !tbaa !24 %64 = load i32, ptr %63, align 4, !tbaa !25 %65 = add nsw i32 %64, %51 store i32 %65, ptr %63, align 4, !tbaa !25 %66 = icmp eq i32 %51, 0 %67 = zext i1 %66 to i32 %68 = tail call i64 @unlikely(i32 noundef %67) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %76, label %70 70: ; preds = %61 %71 = load i32, ptr @KERN_INFO, align 4, !tbaa !19 %72 = load i32, ptr @LOG_SLI, align 4, !tbaa !19 %73 = getelementptr inbounds i8, ptr %1, i64 24 %74 = load i32, ptr %73, align 8, !tbaa !27 %75 = tail call i32 @lpfc_printf_log(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72, ptr noundef nonnull @.str, i32 noundef %74) #2 br label %76 76: ; preds = %61, %70 store i64 0, ptr %5, align 8, !tbaa !28 %77 = load i32, ptr @LPFC_QUEUE_REARM, align 4 %78 = load i32, ptr @LPFC_QUEUE_NOARM, align 4 %79 = select i1 %54, i32 %77, i32 %78 br label %80 80: ; preds = %76, %8 %81 = phi i32 [ 0, %8 ], [ %52, %76 ] %82 = phi i32 [ 0, %8 ], [ %50, %76 ] %83 = phi i32 [ %9, %8 ], [ %79, %76 ] %84 = getelementptr inbounds i8, ptr %0, i64 8 %85 = load ptr, ptr %84, align 8, !tbaa !16 %86 = tail call i32 %85(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %81, i32 noundef %83) #2 ret i32 %82 } declare i64 @cmpxchg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lpfc_sli4_cq_get(ptr noundef) local_unnamed_addr #1 declare i32 @__lpfc_sli4_consume_cqe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 40} !11 = !{!"lpfc_queue", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !12, i64 24, !13, i64 32, !12, i64 40} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !12, i64 4} !16 = !{!17, !13, i64 8} !17 = !{!"lpfc_hba", !12, i64 0, !18, i64 8} !18 = !{!"TYPE_4__", !13, i64 0} !19 = !{!12, !12, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!17, !12, i64 0} !23 = !{!11, !12, i64 8} !24 = !{!11, !13, i64 32} !25 = !{!26, !12, i64 0} !26 = !{!"TYPE_3__", !12, i64 0} !27 = !{!11, !12, i64 24} !28 = !{!11, !7, i64 16}
linux_drivers_scsi_lpfc_extr_lpfc_sli.c___lpfc_sli4_process_cq
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_konica.c_sd_probe.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_konica.c_sd_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" @sd_desc = dso_local global i32 0, align 4 @THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sd_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sd_probe(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @THIS_MODULE, align 4, !tbaa !5 %4 = tail call i32 @gspca_dev_probe(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @sd_desc, i32 noundef 4, i32 noundef %3) #2 ret i32 %4 } declare i32 @gspca_dev_probe(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_konica.c_sd_probe.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_konica.c_sd_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sd_desc = common global i32 0, align 4 @THIS_MODULE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sd_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sd_probe(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @THIS_MODULE, align 4, !tbaa !6 %4 = tail call i32 @gspca_dev_probe(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @sd_desc, i32 noundef 4, i32 noundef %3) #2 ret i32 %4 } declare i32 @gspca_dev_probe(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_usb_gspca_extr_konica.c_sd_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/cxgb4i/extr_..libcxgbi.h_cxgbi_ddp_tag_base.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/cxgb4i/extr_..libcxgbi.h_cxgbi_ddp_tag_base.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cxgbi_tag_format = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cxgbi_ddp_tag_base], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @cxgbi_ddp_tag_base(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = shl nsw i32 -1, %3 %5 = icmp eq i32 %1, 0 %6 = and i32 %4, %1 %7 = icmp eq i32 %6, 0 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %18, label %9 9: ; preds = %2 %10 = xor i32 %4, -1 %11 = and i32 %10, %1 %12 = ashr i32 %1, %3 %13 = getelementptr inbounds %struct.cxgbi_tag_format, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = add nsw i32 %14, %3 %16 = shl i32 %12, %15 %17 = or i32 %16, %11 br label %18 18: ; preds = %2, %9 %19 = phi i32 [ %17, %9 ], [ %1, %2 ] ret i32 %19 } 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 = !{!"cxgbi_tag_format", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/cxgb4i/extr_..libcxgbi.h_cxgbi_ddp_tag_base.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/cxgb4i/extr_..libcxgbi.h_cxgbi_ddp_tag_base.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 @cxgbi_ddp_tag_base], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @cxgbi_ddp_tag_base(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = shl nsw i32 -1, %3 %5 = icmp eq i32 %1, 0 %6 = and i32 %4, %1 %7 = icmp eq i32 %6, 0 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %18, label %9 9: ; preds = %2 %10 = xor i32 %4, -1 %11 = and i32 %10, %1 %12 = ashr i32 %1, %3 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = add nsw i32 %14, %3 %16 = shl i32 %12, %15 %17 = or i32 %16, %11 br label %18 18: ; preds = %2, %9 %19 = phi i32 [ %17, %9 ], [ %1, %2 ] ret i32 %19 } 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 = !{!"cxgbi_tag_format", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_scsi_cxgbi_cxgb4i_extr_..libcxgbi.h_cxgbi_ddp_tag_base
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/alpha/extr_asm.h_WORD_VEC.c' source_filename = "AnghaBench/FFmpeg/libavcodec/alpha/extr_asm.h_WORD_VEC.c" target datalayout = "e-m:e-p270:32:32-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 @WORD_VEC], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @WORD_VEC(i32 %0) #0 { ret i32 poison } 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/FFmpeg/libavcodec/alpha/extr_asm.h_WORD_VEC.c' source_filename = "AnghaBench/FFmpeg/libavcodec/alpha/extr_asm.h_WORD_VEC.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 @WORD_VEC], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @WORD_VEC(i32 %0) #0 { ret i32 poison } 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)"}
FFmpeg_libavcodec_alpha_extr_asm.h_WORD_VEC
; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd.c_gdImageEllipse.c' source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd.c_gdImageEllipse.c" target datalayout = "e-m:e-p270:32:32-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 @gdImageEllipse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = ashr i32 %3, 1 %8 = sext i32 %7 to i64 %9 = ashr i32 %4, 1 %10 = sext i32 %9 to i64 %11 = add i32 %7, %1 %12 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %11, i32 noundef %2, i32 noundef %5) #2 %13 = sub i32 %1, %7 %14 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %13, i32 noundef %2, i32 noundef %5) #2 %15 = mul nsw i64 %10, %10 %16 = shl nsw i64 %8, 1 %17 = mul nsw i64 %16, %8 %18 = shl nuw nsw i64 %15, 1 %19 = icmp sgt i32 %7, 0 br i1 %19, label %20, label %63 20: ; preds = %6 %21 = mul nsw i64 %15, %8 %22 = shl nuw i64 %21, 1 br label %23 23: ; preds = %20, %49 %24 = phi i32 [ %57, %49 ], [ %7, %20 ] %25 = phi i32 [ %56, %49 ], [ %13, %20 ] %26 = phi i64 [ %50, %49 ], [ 0, %20 ] %27 = phi i64 [ %55, %49 ], [ %22, %20 ] %28 = phi i64 [ %54, %49 ], [ %21, %20 ] %29 = phi i32 [ %53, %49 ], [ %11, %20 ] %30 = phi i32 [ %51, %49 ], [ %2, %20 ] %31 = phi i32 [ %52, %49 ], [ %2, %20 ] %32 = icmp sgt i64 %28, 0 br i1 %32, label %33, label %39 33: ; preds = %23 %34 = add nsw i32 %30, 1 %35 = add nsw i32 %31, -1 %36 = add nsw i64 %26, %17 %37 = sub nsw i64 %28, %36 %38 = icmp slt i64 %37, 1 br i1 %38, label %39, label %49 39: ; preds = %23, %33 %40 = phi i64 [ %36, %33 ], [ %26, %23 ] %41 = phi i64 [ %37, %33 ], [ %28, %23 ] %42 = phi i32 [ %34, %33 ], [ %30, %23 ] %43 = phi i32 [ %35, %33 ], [ %31, %23 ] %44 = add nsw i32 %24, -1 %45 = add nsw i32 %25, 1 %46 = add nsw i32 %29, -1 %47 = sub nsw i64 %27, %18 %48 = add nsw i64 %41, %47 br label %49 49: ; preds = %39, %33 %50 = phi i64 [ %40, %39 ], [ %36, %33 ] %51 = phi i32 [ %42, %39 ], [ %34, %33 ] %52 = phi i32 [ %43, %39 ], [ %35, %33 ] %53 = phi i32 [ %46, %39 ], [ %29, %33 ] %54 = phi i64 [ %48, %39 ], [ %37, %33 ] %55 = phi i64 [ %47, %39 ], [ %27, %33 ] %56 = phi i32 [ %45, %39 ], [ %25, %33 ] %57 = phi i32 [ %44, %39 ], [ %24, %33 ] %58 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %56, i32 noundef %51, i32 noundef %5) #2 %59 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %56, i32 noundef %52, i32 noundef %5) #2 %60 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %53, i32 noundef %51, i32 noundef %5) #2 %61 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %53, i32 noundef %52, i32 noundef %5) #2 %62 = icmp sgt i32 %57, 0 br i1 %62, label %23, label %63, !llvm.loop !5 63: ; preds = %49, %6 ret void } declare i32 @gdImageSetPixel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd.c_gdImageEllipse.c' source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd.c_gdImageEllipse.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 @gdImageEllipse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = ashr i32 %3, 1 %8 = sext i32 %7 to i64 %9 = ashr i32 %4, 1 %10 = sext i32 %9 to i64 %11 = add i32 %7, %1 %12 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %11, i32 noundef %2, i32 noundef %5) #2 %13 = sub i32 %1, %7 %14 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %13, i32 noundef %2, i32 noundef %5) #2 %15 = mul nsw i64 %10, %10 %16 = shl nsw i64 %8, 1 %17 = mul nsw i64 %16, %8 %18 = shl nuw nsw i64 %15, 1 %19 = icmp sgt i32 %7, 0 br i1 %19, label %20, label %63 20: ; preds = %6 %21 = mul nuw nsw i64 %15, %8 %22 = shl nuw i64 %21, 1 br label %23 23: ; preds = %20, %49 %24 = phi i32 [ %57, %49 ], [ %7, %20 ] %25 = phi i32 [ %56, %49 ], [ %13, %20 ] %26 = phi i64 [ %50, %49 ], [ 0, %20 ] %27 = phi i64 [ %55, %49 ], [ %22, %20 ] %28 = phi i64 [ %54, %49 ], [ %21, %20 ] %29 = phi i32 [ %53, %49 ], [ %11, %20 ] %30 = phi i32 [ %51, %49 ], [ %2, %20 ] %31 = phi i32 [ %52, %49 ], [ %2, %20 ] %32 = icmp sgt i64 %28, 0 br i1 %32, label %33, label %39 33: ; preds = %23 %34 = add nsw i32 %30, 1 %35 = add nsw i32 %31, -1 %36 = add nsw i64 %26, %17 %37 = sub nsw i64 %28, %36 %38 = icmp slt i64 %37, 1 br i1 %38, label %39, label %49 39: ; preds = %23, %33 %40 = phi i64 [ %36, %33 ], [ %26, %23 ] %41 = phi i64 [ %37, %33 ], [ %28, %23 ] %42 = phi i32 [ %34, %33 ], [ %30, %23 ] %43 = phi i32 [ %35, %33 ], [ %31, %23 ] %44 = add nsw i32 %24, -1 %45 = add nsw i32 %25, 1 %46 = add nsw i32 %29, -1 %47 = sub nsw i64 %27, %18 %48 = add nsw i64 %41, %47 br label %49 49: ; preds = %39, %33 %50 = phi i64 [ %40, %39 ], [ %36, %33 ] %51 = phi i32 [ %42, %39 ], [ %34, %33 ] %52 = phi i32 [ %43, %39 ], [ %35, %33 ] %53 = phi i32 [ %46, %39 ], [ %29, %33 ] %54 = phi i64 [ %48, %39 ], [ %37, %33 ] %55 = phi i64 [ %47, %39 ], [ %27, %33 ] %56 = phi i32 [ %45, %39 ], [ %25, %33 ] %57 = phi i32 [ %44, %39 ], [ %24, %33 ] %58 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %56, i32 noundef %51, i32 noundef %5) #2 %59 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %56, i32 noundef %52, i32 noundef %5) #2 %60 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %53, i32 noundef %51, i32 noundef %5) #2 %61 = tail call i32 @gdImageSetPixel(i32 noundef %0, i32 noundef %53, i32 noundef %52, i32 noundef %5) #2 %62 = icmp sgt i32 %57, 0 br i1 %62, label %23, label %63, !llvm.loop !6 63: ; preds = %49, %6 ret void } declare i32 @gdImageSetPixel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
php-src_ext_gd_libgd_extr_gd.c_gdImageEllipse
; ModuleID = 'AnghaBench/linux/drivers/staging/media/soc_camera/extr_mt9t031.c_mt9t031_skip.c' source_filename = "AnghaBench/linux/drivers/staging/media/soc_camera/extr_mt9t031.c_mt9t031_skip.c" target datalayout = "e-m:e-p270:32:32-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 @mt9t031_skip], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mt9t031_skip(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = sdiv i32 %1, 2 %6 = add nsw i32 %5, %1 %7 = icmp slt i32 %4, %6 br i1 %7, label %14, label %8 8: ; preds = %3 %9 = add nsw i32 %4, %5 %10 = tail call i32 @min(i32 noundef %2, i32 noundef %9) #3 %11 = sdiv i32 %10, %1 %12 = tail call i32 @llvm.umin.i32(i32 %11, i32 8) %13 = mul i32 %12, %1 br label %14 14: ; preds = %3, %8 %15 = phi i32 [ %13, %8 ], [ %1, %3 ] %16 = phi i32 [ %12, %8 ], [ 1, %3 ] store i32 %15, ptr %0, align 4, !tbaa !5 ret i32 %16 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/media/soc_camera/extr_mt9t031.c_mt9t031_skip.c' source_filename = "AnghaBench/linux/drivers/staging/media/soc_camera/extr_mt9t031.c_mt9t031_skip.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 @mt9t031_skip], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mt9t031_skip(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = sdiv i32 %1, 2 %6 = add nsw i32 %5, %1 %7 = icmp slt i32 %4, %6 br i1 %7, label %14, label %8 8: ; preds = %3 %9 = add nsw i32 %4, %5 %10 = tail call i32 @min(i32 noundef %2, i32 noundef %9) #3 %11 = sdiv i32 %10, %1 %12 = tail call i32 @llvm.umin.i32(i32 %11, i32 8) %13 = mul i32 %12, %1 br label %14 14: ; preds = %3, %8 %15 = phi i32 [ %13, %8 ], [ %1, %3 ] %16 = phi i32 [ %12, %8 ], [ 1, %3 ] store i32 %15, ptr %0, align 4, !tbaa !6 ret i32 %16 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_media_soc_camera_extr_mt9t031.c_mt9t031_skip
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_resize.c_extend_or_restart_transaction.c' source_filename = "AnghaBench/linux/fs/ext4/extr_resize.c_extend_or_restart_transaction.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXT4_MAX_TRANS_DATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @extend_or_restart_transaction], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @extend_or_restart_transaction(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @ext4_handle_has_enough_credits(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %16 5: ; preds = %2 %6 = load i32, ptr @EXT4_MAX_TRANS_DATA, align 4, !tbaa !5 %7 = tail call i32 @ext4_journal_extend(ptr noundef %0, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %5 %10 = icmp eq i32 %7, 0 br i1 %10, label %15, label %11 11: ; preds = %9 %12 = load i32, ptr @EXT4_MAX_TRANS_DATA, align 4, !tbaa !5 %13 = tail call i32 @ext4_journal_restart(ptr noundef %0, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %9 br label %16 16: ; preds = %11, %5, %2, %15 %17 = phi i32 [ 0, %15 ], [ 0, %2 ], [ %7, %5 ], [ %13, %11 ] ret i32 %17 } declare i64 @ext4_handle_has_enough_credits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ext4_journal_extend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ext4_journal_restart(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/fs/ext4/extr_resize.c_extend_or_restart_transaction.c' source_filename = "AnghaBench/linux/fs/ext4/extr_resize.c_extend_or_restart_transaction.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXT4_MAX_TRANS_DATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @extend_or_restart_transaction], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @extend_or_restart_transaction(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @ext4_handle_has_enough_credits(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %16 5: ; preds = %2 %6 = load i32, ptr @EXT4_MAX_TRANS_DATA, align 4, !tbaa !6 %7 = tail call i32 @ext4_journal_extend(ptr noundef %0, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %5 %10 = icmp eq i32 %7, 0 br i1 %10, label %15, label %11 11: ; preds = %9 %12 = load i32, ptr @EXT4_MAX_TRANS_DATA, align 4, !tbaa !6 %13 = tail call i32 @ext4_journal_restart(ptr noundef %0, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %9 br label %16 16: ; preds = %11, %5, %2, %15 %17 = phi i32 [ 0, %15 ], [ 0, %2 ], [ %7, %5 ], [ %13, %11 ] ret i32 %17 } declare i64 @ext4_handle_has_enough_credits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ext4_journal_extend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ext4_journal_restart(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_fs_ext4_extr_resize.c_extend_or_restart_transaction
; ModuleID = 'AnghaBench/fastsocket/kernel/net/iucv/extr_af_iucv.c_iucv_sock_in_state.c' source_filename = "AnghaBench/fastsocket/kernel/net/iucv/extr_af_iucv.c_iucv_sock_in_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @iucv_sock_in_state], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @iucv_sock_in_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = icmp eq i32 %4, %1 %6 = icmp eq i32 %4, %2 %7 = or i1 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sock", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/iucv/extr_af_iucv.c_iucv_sock_in_state.c' source_filename = "AnghaBench/fastsocket/kernel/net/iucv/extr_af_iucv.c_iucv_sock_in_state.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 @iucv_sock_in_state], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @iucv_sock_in_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp eq i32 %4, %1 %6 = icmp eq i32 %4, %2 %7 = or i1 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sock", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_iucv_extr_af_iucv.c_iucv_sock_in_state
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_gcse.c_compute_hash_table.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_gcse.c_compute_hash_table.c" target datalayout = "e-m:e-p270:32:32-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.hash_table = type { i32, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @compute_hash_table], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @compute_hash_table(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.hash_table, ptr %0, i64 0, i32 2 store i64 0, ptr %2, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.hash_table, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = shl i32 %5, 3 %7 = tail call i32 @memset(i32 noundef %4, i32 noundef 0, i32 noundef %6) #2 %8 = tail call i32 @compute_hash_table_work(ptr noundef nonnull %0) #2 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @compute_hash_table_work(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"hash_table", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_gcse.c_compute_hash_table.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_gcse.c_compute_hash_table.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 @compute_hash_table], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @compute_hash_table(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %2, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = shl i32 %5, 3 %7 = tail call i32 @memset(i32 noundef %4, i32 noundef 0, i32 noundef %6) #2 %8 = tail call i32 @compute_hash_table_work(ptr noundef nonnull %0) #2 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @compute_hash_table_work(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"hash_table", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 0}
freebsd_contrib_gcc_extr_gcse.c_compute_hash_table
; ModuleID = 'AnghaBench/i3/src/extr_sighandler.c_sighandler_destroy_dialogs.c' source_filename = "AnghaBench/i3/src/extr_sighandler.c_sighandler_destroy_dialogs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32, i32 } @dialogs = dso_local global i32 0, align 4 @conn = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sighandler_destroy_dialogs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sighandler_destroy_dialogs() #0 { %1 = tail call i32 @TAILQ_EMPTY(ptr noundef nonnull @dialogs) #2 %2 = icmp eq i32 %1, 0 br i1 %2, label %3, label %20 3: ; preds = %0, %3 %4 = tail call ptr @TAILQ_FIRST(ptr noundef nonnull @dialogs) #2 %5 = load i32, ptr @conn, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2 %7 = load i32, ptr %6, align 4, !tbaa !9 %8 = tail call i32 @xcb_free_colormap(i32 noundef %5, i32 noundef %7) #2 %9 = load i32, ptr @conn, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 %11 = tail call i32 @draw_util_surface_free(i32 noundef %9, ptr noundef nonnull %10) #2 %12 = load i32, ptr @conn, align 4, !tbaa !5 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = tail call i32 @xcb_destroy_window(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @dialogs, align 4, !tbaa !5 %16 = tail call i32 @TAILQ_REMOVE(ptr noundef nonnull @dialogs, ptr noundef nonnull %4, i32 noundef %15) #2 %17 = tail call i32 @free(ptr noundef nonnull %4) #2 %18 = tail call i32 @TAILQ_EMPTY(ptr noundef nonnull @dialogs) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %3, label %20, !llvm.loop !12 20: ; preds = %3, %0 %21 = load i32, ptr @conn, align 4, !tbaa !5 %22 = tail call i32 @xcb_flush(i32 noundef %21) #2 ret void } declare i32 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #1 declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare i32 @xcb_free_colormap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @draw_util_surface_free(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xcb_destroy_window(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @xcb_flush(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/i3/src/extr_sighandler.c_sighandler_destroy_dialogs.c' source_filename = "AnghaBench/i3/src/extr_sighandler.c_sighandler_destroy_dialogs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dialogs = common global i32 0, align 4 @conn = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sighandler_destroy_dialogs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sighandler_destroy_dialogs() #0 { %1 = tail call i32 @TAILQ_EMPTY(ptr noundef nonnull @dialogs) #2 %2 = icmp eq i32 %1, 0 br i1 %2, label %3, label %20 3: ; preds = %0, %3 %4 = tail call ptr @TAILQ_FIRST(ptr noundef nonnull @dialogs) #2 %5 = load i32, ptr @conn, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @xcb_free_colormap(i32 noundef %5, i32 noundef %7) #2 %9 = load i32, ptr @conn, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %4, i64 4 %11 = tail call i32 @draw_util_surface_free(i32 noundef %9, ptr noundef nonnull %10) #2 %12 = load i32, ptr @conn, align 4, !tbaa !6 %13 = load i32, ptr %4, align 4, !tbaa !12 %14 = tail call i32 @xcb_destroy_window(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @dialogs, align 4, !tbaa !6 %16 = tail call i32 @TAILQ_REMOVE(ptr noundef nonnull @dialogs, ptr noundef nonnull %4, i32 noundef %15) #2 %17 = tail call i32 @free(ptr noundef nonnull %4) #2 %18 = tail call i32 @TAILQ_EMPTY(ptr noundef nonnull @dialogs) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %3, label %20, !llvm.loop !13 20: ; preds = %3, %0 %21 = load i32, ptr @conn, align 4, !tbaa !6 %22 = tail call i32 @xcb_flush(i32 noundef %21) #2 ret void } declare i32 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #1 declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare i32 @xcb_free_colormap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @draw_util_surface_free(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xcb_destroy_window(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @xcb_flush(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
i3_src_extr_sighandler.c_sighandler_destroy_dialogs
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael2020_setup_sr_edc.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael2020_setup_sr_edc.c" target datalayout = "e-m:e-p270:32:32-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.reg_val = type { i32, i32, i32, i32 } @ael2020_setup_sr_edc.regs = internal global [5 x %struct.reg_val] [%struct.reg_val { i32 128, i32 52225, i32 65535, i32 18570 }, %struct.reg_val { i32 128, i32 51995, i32 65535, i32 512 }, %struct.reg_val { i32 128, i32 51996, i32 65535, i32 240 }, %struct.reg_val { i32 128, i32 52230, i32 65535, i32 224 }, %struct.reg_val zeroinitializer], align 16 @edc_sr = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ael2020_setup_sr_edc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ael2020_setup_sr_edc(ptr noundef %0) #0 { %2 = tail call i32 @set_phy_regs(ptr noundef %0, ptr noundef nonnull @ael2020_setup_sr_edc.regs) #2 %3 = tail call i32 @msleep(i32 noundef 50) #2 %4 = icmp eq i32 %2, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i32, ptr @edc_sr, align 4, !tbaa !5 store i32 %6, ptr %0, align 4, !tbaa !9 br label %7 7: ; preds = %1, %5 ret i32 %2 } declare i32 @set_phy_regs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"cphy", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael2020_setup_sr_edc.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael2020_setup_sr_edc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.reg_val = type { i32, i32, i32, i32 } @ael2020_setup_sr_edc.regs = internal global [5 x %struct.reg_val] [%struct.reg_val { i32 128, i32 52225, i32 65535, i32 18570 }, %struct.reg_val { i32 128, i32 51995, i32 65535, i32 512 }, %struct.reg_val { i32 128, i32 51996, i32 65535, i32 240 }, %struct.reg_val { i32 128, i32 52230, i32 65535, i32 224 }, %struct.reg_val zeroinitializer], align 4 @edc_sr = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ael2020_setup_sr_edc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ael2020_setup_sr_edc(ptr noundef %0) #0 { %2 = tail call i32 @set_phy_regs(ptr noundef %0, ptr noundef nonnull @ael2020_setup_sr_edc.regs) #2 %3 = tail call i32 @msleep(i32 noundef 50) #2 %4 = icmp eq i32 %2, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i32, ptr @edc_sr, align 4, !tbaa !6 store i32 %6, ptr %0, align 4, !tbaa !10 br label %7 7: ; preds = %1, %5 ret i32 %2 } declare i32 @set_phy_regs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"cphy", !7, i64 0}
freebsd_sys_dev_cxgb_common_extr_cxgb_ael1002.c_ael2020_setup_sr_edc