IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_disk.c_cfi_disk_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_disk.c_cfi_disk_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cfi_disk_softc = type { i32, i32, i32, i32 }
@CFI_DISK_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cfi_disk_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cfi_disk_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr @CFI_DISK_OPEN, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i32, ptr @EBUSY, align 4, !tbaa !10
br label %18
9: ; preds = %1
%10 = getelementptr inbounds %struct.cfi_disk_softc, ptr %2, i64 0, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = tail call i32 @taskqueue_free(i32 noundef %11) #2
%13 = getelementptr inbounds %struct.cfi_disk_softc, ptr %2, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = tail call i32 @disk_destroy(i32 noundef %14) #2
%16 = getelementptr inbounds %struct.cfi_disk_softc, ptr %2, i64 0, i32 1
%17 = tail call i32 @mtx_destroy(ptr noundef nonnull %16) #2
br label %18
18: ; preds = %9, %7
%19 = phi i32 [ %8, %7 ], [ 0, %9 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @taskqueue_free(i32 noundef) local_unnamed_addr #1
declare i32 @disk_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(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 = !{!"cfi_disk_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_disk.c_cfi_disk_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_disk.c_cfi_disk_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CFI_DISK_OPEN = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cfi_disk_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cfi_disk_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr @CFI_DISK_OPEN, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i32, ptr @EBUSY, align 4, !tbaa !11
br label %18
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %2, i64 12
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i32 @taskqueue_free(i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = tail call i32 @disk_destroy(i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %2, i64 4
%17 = tail call i32 @mtx_destroy(ptr noundef nonnull %16) #2
br label %18
18: ; preds = %9, %7
%19 = phi i32 [ %8, %7 ], [ 0, %9 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @taskqueue_free(i32 noundef) local_unnamed_addr #1
declare i32 @disk_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(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 = !{!"cfi_disk_softc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 12}
!13 = !{!7, !8, i64 8}
| freebsd_sys_dev_cfi_extr_cfi_disk.c_cfi_disk_detach |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_maps__set_kallsyms_ref_reloc_sym.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_maps__set_kallsyms_ref_reloc_sym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ref_reloc_sym = type { i32, ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@MAP__NR_TYPES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @maps__set_kallsyms_ref_reloc_sym(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @zalloc(i32 noundef 16) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %33
9: ; preds = %3
%10 = tail call ptr @strdup(ptr noundef %1)
%11 = getelementptr inbounds %struct.ref_reloc_sym, ptr %4, i64 0, i32 1
store ptr %10, ptr %11, align 8, !tbaa !9
%12 = icmp eq ptr %10, null
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = tail call i32 @free(ptr noundef nonnull %4) #3
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %33
17: ; preds = %9
%18 = tail call ptr @strchr(ptr noundef nonnull %10, i8 noundef signext 93) #3
%19 = icmp eq ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store i8 0, ptr %18, align 1, !tbaa !12
br label %21
21: ; preds = %20, %17
store i32 %2, ptr %4, align 8, !tbaa !13
%22 = load i32, ptr @MAP__NR_TYPES, align 4, !tbaa !5
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %21, %24
%25 = phi i64 [ %29, %24 ], [ 0, %21 ]
%26 = getelementptr inbounds ptr, ptr %0, i64 %25
%27 = load ptr, ptr %26, align 8, !tbaa !14
%28 = tail call ptr @map__kmap(ptr noundef %27) #3
store ptr %4, ptr %28, align 8, !tbaa !15
%29 = add nuw nsw i64 %25, 1
%30 = load i32, ptr @MAP__NR_TYPES, align 4, !tbaa !5
%31 = zext i32 %30 to i64
%32 = icmp ult i64 %29, %31
br i1 %32, label %24, label %33, !llvm.loop !17
33: ; preds = %24, %21, %13, %6
%34 = phi i32 [ %8, %6 ], [ %16, %13 ], [ 0, %21 ], [ 0, %24 ]
ret i32 %34
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare ptr @map__kmap(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"ref_reloc_sym", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"kmap", !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_maps__set_kallsyms_ref_reloc_sym.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_maps__set_kallsyms_ref_reloc_sym.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@MAP__NR_TYPES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @maps__set_kallsyms_ref_reloc_sym(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @zalloc(i32 noundef 16) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %33
9: ; preds = %3
%10 = tail call ptr @strdup(ptr noundef %1)
%11 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %10, ptr %11, align 8, !tbaa !10
%12 = icmp eq ptr %10, null
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = tail call i32 @free(ptr noundef nonnull %4) #3
%15 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %33
17: ; preds = %9
%18 = tail call ptr @strchr(ptr noundef nonnull %10, i8 noundef signext 93) #3
%19 = icmp eq ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store i8 0, ptr %18, align 1, !tbaa !13
br label %21
21: ; preds = %20, %17
store i32 %2, ptr %4, align 8, !tbaa !14
%22 = load i32, ptr @MAP__NR_TYPES, align 4, !tbaa !6
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %21, %24
%25 = phi i64 [ %29, %24 ], [ 0, %21 ]
%26 = getelementptr inbounds ptr, ptr %0, i64 %25
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = tail call ptr @map__kmap(ptr noundef %27) #3
store ptr %4, ptr %28, align 8, !tbaa !16
%29 = add nuw nsw i64 %25, 1
%30 = load i32, ptr @MAP__NR_TYPES, align 4, !tbaa !6
%31 = zext i32 %30 to i64
%32 = icmp ult i64 %29, %31
br i1 %32, label %24, label %33, !llvm.loop !18
33: ; preds = %24, %21, %13, %6
%34 = phi i32 [ %8, %6 ], [ %16, %13 ], [ 0, %21 ], [ 0, %24 ]
ret i32 %34
}
declare ptr @zalloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare ptr @map__kmap(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"ref_reloc_sym", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"kmap", !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_tools_perf_util_extr_session.c_maps__set_kallsyms_ref_reloc_sym |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_asfenc.c_unix_to_file_time.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_asfenc.c_unix_to_file_time.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @unix_to_file_time], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @unix_to_file_time(i32 noundef %0) #0 {
%2 = tail call i32 @INT64_C(i32 noundef 10) #2
%3 = mul nsw i32 %2, %0
%4 = tail call i32 @INT64_C(i32 noundef -717324288) #2
%5 = add nsw i32 %3, %4
ret i32 %5
}
declare i32 @INT64_C(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_asfenc.c_unix_to_file_time.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_asfenc.c_unix_to_file_time.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 @unix_to_file_time], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @unix_to_file_time(i32 noundef %0) #0 {
%2 = tail call i32 @INT64_C(i32 noundef 10) #2
%3 = mul nsw i32 %2, %0
%4 = tail call i32 @INT64_C(i32 noundef -717324288) #2
%5 = add nsw i32 %3, %4
ret i32 %5
}
declare i32 @INT64_C(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_asfenc.c_unix_to_file_time |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_libzvbi-teletextdec.c_chop_spaces_utf8.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_libzvbi-teletextdec.c_chop_spaces_utf8.c"
target datalayout = "e-m:e-p270:32:32-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 @chop_spaces_utf8], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i32 @chop_spaces_utf8(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %22
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
%6 = getelementptr inbounds i8, ptr %0, i64 %5
br label %7
7: ; preds = %4, %19
%8 = phi i32 [ %20, %19 ], [ %1, %4 ]
%9 = phi ptr [ %10, %19 ], [ %6, %4 ]
%10 = getelementptr inbounds i8, ptr %9, i64 -1
%11 = load i8, ptr %10, align 1, !tbaa !5
%12 = icmp eq i8 %11, 32
br i1 %12, label %13, label %22
13: ; preds = %7
%14 = icmp eq i32 %8, 1
br i1 %14, label %22, label %15
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %9, i64 -2
%17 = load i8, ptr %16, align 1, !tbaa !5
%18 = icmp sgt i8 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = add nsw i32 %8, -1
%21 = icmp sgt i32 %8, 1
br i1 %21, label %7, label %22, !llvm.loop !8
22: ; preds = %13, %19, %15, %7, %2
%23 = phi i32 [ %1, %2 ], [ 0, %13 ], [ %8, %7 ], [ %8, %15 ], [ 0, %19 ]
ret i32 %23
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_libzvbi-teletextdec.c_chop_spaces_utf8.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_libzvbi-teletextdec.c_chop_spaces_utf8.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 @chop_spaces_utf8], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @chop_spaces_utf8(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %22
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
%6 = getelementptr inbounds i8, ptr %0, i64 %5
br label %7
7: ; preds = %4, %19
%8 = phi i32 [ %20, %19 ], [ %1, %4 ]
%9 = phi ptr [ %10, %19 ], [ %6, %4 ]
%10 = getelementptr inbounds i8, ptr %9, i64 -1
%11 = load i8, ptr %10, align 1, !tbaa !6
%12 = icmp eq i8 %11, 32
br i1 %12, label %13, label %22
13: ; preds = %7
%14 = icmp eq i32 %8, 1
br i1 %14, label %22, label %15
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %9, i64 -2
%17 = load i8, ptr %16, align 1, !tbaa !6
%18 = icmp sgt i8 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = add nsw i32 %8, -1
%21 = icmp sgt i32 %8, 1
br i1 %21, label %7, label %22, !llvm.loop !9
22: ; preds = %13, %19, %15, %7, %2
%23 = phi i32 [ %1, %2 ], [ 0, %13 ], [ %8, %7 ], [ %8, %15 ], [ 0, %19 ]
ret i32 %23
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavcodec_extr_libzvbi-teletextdec.c_chop_spaces_utf8 |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_autotrust.c_print_id.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_autotrust.c_print_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"
@.str = private unnamed_addr constant [30 x i8] c"malloc failure in write to %s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c";;id: %s %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"could not write to %s: %s\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @print_id(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @sldns_wire2str_dname(ptr noundef %2, i64 noundef %3) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 (ptr, ptr, ...) @log_err(ptr noundef nonnull @.str, ptr noundef %1) #2
br label %21
10: ; preds = %5
%11 = trunc i64 %4 to i32
%12 = tail call i64 @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %6, i32 noundef %11) #2
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr @errno, align 4, !tbaa !5
%16 = tail call i32 @strerror(i32 noundef %15) #2
%17 = tail call i32 (ptr, ptr, ...) @log_err(ptr noundef nonnull @.str.2, ptr noundef %1, i32 noundef %16) #2
%18 = tail call i32 @free(ptr noundef nonnull %6) #2
br label %21
19: ; preds = %10
%20 = tail call i32 @free(ptr noundef nonnull %6) #2
br label %21
21: ; preds = %19, %14, %8
%22 = phi i32 [ 0, %14 ], [ 1, %19 ], [ 0, %8 ]
ret i32 %22
}
declare ptr @sldns_wire2str_dname(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_autotrust.c_print_id.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_autotrust.c_print_id.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 [30 x i8] c"malloc failure in write to %s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c";;id: %s %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"could not write to %s: %s\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @print_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @print_id(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @sldns_wire2str_dname(ptr noundef %2, i64 noundef %3) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 (ptr, ptr, ...) @log_err(ptr noundef nonnull @.str, ptr noundef %1) #2
br label %21
10: ; preds = %5
%11 = trunc i64 %4 to i32
%12 = tail call i64 @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %6, i32 noundef %11) #2
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr @errno, align 4, !tbaa !6
%16 = tail call i32 @strerror(i32 noundef %15) #2
%17 = tail call i32 (ptr, ptr, ...) @log_err(ptr noundef nonnull @.str.2, ptr noundef %1, i32 noundef %16) #2
%18 = tail call i32 @free(ptr noundef nonnull %6) #2
br label %21
19: ; preds = %10
%20 = tail call i32 @free(ptr noundef nonnull %6) #2
br label %21
21: ; preds = %19, %14, %8
%22 = phi i32 [ 0, %14 ], [ 1, %19 ], [ 0, %8 ]
ret i32 %22
}
declare ptr @sldns_wire2str_dname(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_unbound_validator_extr_autotrust.c_print_id |
; ModuleID = 'AnghaBench/freebsd/sys/x86/iommu/extr_intel_drv.c_dmar_detach.c'
source_filename = "AnghaBench/freebsd/sys/x86/iommu/extr_intel_drv.c_dmar_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dmar_detach], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @dmar_detach(i32 %0) #0 {
%2 = load i32, ptr @EBUSY, align 4, !tbaa !5
ret i32 %2
}
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/x86/iommu/extr_intel_drv.c_dmar_detach.c'
source_filename = "AnghaBench/freebsd/sys/x86/iommu/extr_intel_drv.c_dmar_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dmar_detach], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @dmar_detach(i32 %0) #0 {
%2 = load i32, ptr @EBUSY, align 4, !tbaa !6
ret i32 %2
}
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_x86_iommu_extr_intel_drv.c_dmar_detach |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_resp_readcap.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_resp_readcap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SDEBUG_READCAP_ARR_SZ = dso_local local_unnamed_addr global i32 0, align 4
@sdebug_capacity = dso_local local_unnamed_addr global i32 0, align 4
@scsi_debug_sector_size = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @resp_readcap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @resp_readcap(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = tail call i32 @check_readiness(ptr noundef %0, i32 noundef 1, ptr noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %2
%9 = tail call i32 (...) @get_sdebug_capacity() #2
store i32 %9, ptr @sdebug_capacity, align 4, !tbaa !5
%10 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !5
%11 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %10) #2
%12 = load i32, ptr @sdebug_capacity, align 4, !tbaa !5
%13 = icmp eq i32 %12, -1
br i1 %13, label %23, label %14
14: ; preds = %8
%15 = add i32 %12, -1
%16 = lshr i32 %15, 24
%17 = trunc i32 %16 to i8
%18 = lshr i32 %15, 16
%19 = trunc i32 %18 to i8
%20 = lshr i32 %15, 8
%21 = trunc i32 %20 to i8
%22 = trunc i32 %15 to i8
br label %23
23: ; preds = %8, %14
%24 = phi i8 [ %17, %14 ], [ -1, %8 ]
%25 = phi i8 [ %19, %14 ], [ -1, %8 ]
%26 = phi i8 [ %21, %14 ], [ -1, %8 ]
%27 = phi i8 [ %22, %14 ], [ -1, %8 ]
store i8 %24, ptr %5, align 16
%28 = getelementptr inbounds i8, ptr %5, i64 1
store i8 %25, ptr %28, align 1
%29 = getelementptr inbounds i8, ptr %5, i64 2
store i8 %26, ptr %29, align 2
%30 = getelementptr inbounds i8, ptr %5, i64 3
store i8 %27, ptr %30, align 1
%31 = load i32, ptr @scsi_debug_sector_size, align 4, !tbaa !5
%32 = lshr i32 %31, 8
%33 = trunc i32 %32 to i8
%34 = getelementptr inbounds i8, ptr %5, i64 6
store i8 %33, ptr %34, align 2, !tbaa !9
%35 = trunc i32 %31 to i8
%36 = getelementptr inbounds i8, ptr %5, i64 7
store i8 %35, ptr %36, align 1, !tbaa !9
%37 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !5
%38 = call i32 @fill_from_dev_buffer(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %37) #2
br label %39
39: ; preds = %2, %23
%40 = phi i32 [ %38, %23 ], [ %6, %2 ]
ret i32 %40
}
declare i32 @check_readiness(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_sdebug_capacity(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fill_from_dev_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_resp_readcap.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_resp_readcap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SDEBUG_READCAP_ARR_SZ = common local_unnamed_addr global i32 0, align 4
@sdebug_capacity = common local_unnamed_addr global i32 0, align 4
@scsi_debug_sector_size = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @resp_readcap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @resp_readcap(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = tail call i32 @check_readiness(ptr noundef %0, i32 noundef 1, ptr noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %2
%9 = tail call i32 @get_sdebug_capacity() #2
store i32 %9, ptr @sdebug_capacity, align 4, !tbaa !6
%10 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !6
%11 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %10) #2
%12 = load i32, ptr @sdebug_capacity, align 4, !tbaa !6
%13 = icmp eq i32 %12, -1
br i1 %13, label %23, label %14
14: ; preds = %8
%15 = add i32 %12, -1
%16 = lshr i32 %15, 24
%17 = trunc nuw i32 %16 to i8
%18 = lshr i32 %15, 16
%19 = trunc i32 %18 to i8
%20 = lshr i32 %15, 8
%21 = trunc i32 %20 to i8
%22 = trunc i32 %15 to i8
br label %23
23: ; preds = %8, %14
%24 = phi i8 [ %17, %14 ], [ -1, %8 ]
%25 = phi i8 [ %19, %14 ], [ -1, %8 ]
%26 = phi i8 [ %21, %14 ], [ -1, %8 ]
%27 = phi i8 [ %22, %14 ], [ -1, %8 ]
store i8 %24, ptr %5, align 1
%28 = getelementptr inbounds i8, ptr %5, i64 1
store i8 %25, ptr %28, align 1
%29 = getelementptr inbounds i8, ptr %5, i64 2
store i8 %26, ptr %29, align 1
%30 = getelementptr inbounds i8, ptr %5, i64 3
store i8 %27, ptr %30, align 1
%31 = load i32, ptr @scsi_debug_sector_size, align 4, !tbaa !6
%32 = lshr i32 %31, 8
%33 = trunc i32 %32 to i8
%34 = getelementptr inbounds i8, ptr %5, i64 6
store i8 %33, ptr %34, align 1, !tbaa !10
%35 = trunc i32 %31 to i8
%36 = getelementptr inbounds i8, ptr %5, i64 7
store i8 %35, ptr %36, align 1, !tbaa !10
%37 = load i32, ptr @SDEBUG_READCAP_ARR_SZ, align 4, !tbaa !6
%38 = call i32 @fill_from_dev_buffer(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %37) #2
br label %39
39: ; preds = %2, %23
%40 = phi i32 [ %38, %23 ], [ %6, %2 ]
ret i32 %40
}
declare i32 @check_readiness(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_sdebug_capacity(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fill_from_dev_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_scsi_extr_scsi_debug.c_resp_readcap |
; ModuleID = 'AnghaBench/stb/extr_stb_vorbis.c_vorbis_decode_packet.c'
source_filename = "AnghaBench/stb/extr_stb_vorbis.c_vorbis_decode_packet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @vorbis_decode_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vorbis_decode_packet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = call i32 @vorbis_decode_initial(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, ptr noundef %3, ptr noundef nonnull %7, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = load i64, ptr %0, align 8, !tbaa !5
%12 = load i32, ptr %5, align 4, !tbaa !10
%13 = sext i32 %12 to i64
%14 = add nsw i64 %11, %13
%15 = load i32, ptr %2, align 4, !tbaa !10
%16 = load i32, ptr %6, align 4, !tbaa !10
%17 = load i32, ptr %3, align 4, !tbaa !10
%18 = load i32, ptr %7, align 4, !tbaa !10
%19 = call i32 @vorbis_decode_packet_rest(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef nonnull %2) #3
br label %20
20: ; preds = %4, %10
%21 = phi i32 [ %19, %10 ], [ 0, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vorbis_decode_initial(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vorbis_decode_packet_rest(ptr noundef, ptr noundef, i64 noundef, 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_5__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/stb/extr_stb_vorbis.c_vorbis_decode_packet.c'
source_filename = "AnghaBench/stb/extr_stb_vorbis.c_vorbis_decode_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @vorbis_decode_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vorbis_decode_packet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = call i32 @vorbis_decode_initial(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, ptr noundef %3, ptr noundef nonnull %7, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = load i64, ptr %0, align 8, !tbaa !6
%12 = load i32, ptr %5, align 4, !tbaa !11
%13 = sext i32 %12 to i64
%14 = add nsw i64 %11, %13
%15 = load i32, ptr %2, align 4, !tbaa !11
%16 = load i32, ptr %6, align 4, !tbaa !11
%17 = load i32, ptr %3, align 4, !tbaa !11
%18 = load i32, ptr %7, align 4, !tbaa !11
%19 = call i32 @vorbis_decode_packet_rest(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef nonnull %2) #3
br label %20
20: ; preds = %4, %10
%21 = phi i32 [ %19, %10 ], [ 0, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vorbis_decode_initial(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vorbis_decode_packet_rest(ptr noundef, ptr noundef, i64 noundef, 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_5__", !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}
| stb_extr_stb_vorbis.c_vorbis_decode_packet |
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_models/server/extr_state_transition.c_light_lightness_linear_tt_values.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_models/server/extr_state_transition.c_light_lightness_linear_tt_values.c"
target datalayout = "e-m:e-p270:32:32-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.bt_mesh_light_lightness_srv = type { float, %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { float }
%struct.TYPE_3__ = type { i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local void @light_lightness_linear_tt_values(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.bt_mesh_light_lightness_srv, ptr %0, i64 0, i32 1
%5 = tail call i32 @transition_time_values(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %2) #2
%6 = getelementptr inbounds %struct.bt_mesh_light_lightness_srv, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = load i64, ptr %7, align 8, !tbaa !15
%11 = sub nsw i64 %9, %10
%12 = sitofp i64 %11 to float
%13 = load float, ptr %4, align 4, !tbaa !16
%14 = fdiv float %12, %13
store float %14, ptr %0, align 8, !tbaa !17
ret void
}
declare i32 @transition_time_values(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"bt_mesh_light_lightness_srv", !7, i64 0, !10, i64 4, !11, i64 8}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !7, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_3__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_models/server/extr_state_transition.c_light_lightness_linear_tt_values.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_models/server/extr_state_transition.c_light_lightness_linear_tt_values.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 @light_lightness_linear_tt_values(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @transition_time_values(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %2) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = load i64, ptr %7, align 8, !tbaa !16
%11 = sub nsw i64 %9, %10
%12 = sitofp i64 %11 to float
%13 = load float, ptr %4, align 4, !tbaa !17
%14 = fdiv float %12, %13
store float %14, ptr %0, align 8, !tbaa !18
ret void
}
declare i32 @transition_time_values(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"bt_mesh_light_lightness_srv", !8, i64 0, !11, i64 4, !12, i64 8}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !8, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"TYPE_3__", !15, i64 0, !15, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !8, i64 0}
| esp-idf_components_bt_esp_ble_mesh_mesh_models_server_extr_state_transition.c_light_lightness_linear_tt_values |
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_AMD_multi_draw_indirect.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_AMD_multi_draw_indirect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GLAD_GL_AMD_multi_draw_indirect = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"glMultiDrawArraysIndirectAMD\00", align 1
@glad_glMultiDrawArraysIndirectAMD = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [31 x i8] c"glMultiDrawElementsIndirectAMD\00", align 1
@glad_glMultiDrawElementsIndirectAMD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @load_GL_AMD_multi_draw_indirect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @load_GL_AMD_multi_draw_indirect(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_AMD_multi_draw_indirect, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glMultiDrawArraysIndirectAMD, align 8, !tbaa !9
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glMultiDrawElementsIndirectAMD, align 8, !tbaa !9
br label %7
7: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_AMD_multi_draw_indirect.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_AMD_multi_draw_indirect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLAD_GL_AMD_multi_draw_indirect = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"glMultiDrawArraysIndirectAMD\00", align 1
@glad_glMultiDrawArraysIndirectAMD = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [31 x i8] c"glMultiDrawElementsIndirectAMD\00", align 1
@glad_glMultiDrawElementsIndirectAMD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @load_GL_AMD_multi_draw_indirect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @load_GL_AMD_multi_draw_indirect(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_AMD_multi_draw_indirect, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glMultiDrawArraysIndirectAMD, align 8, !tbaa !10
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glMultiDrawElementsIndirectAMD, align 8, !tbaa !10
br label %7
7: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| obs-studio_deps_glad_src_extr_glad.c_load_GL_AMD_multi_draw_indirect |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa_log_spacemap.c_spa_ld_log_sm_metadata.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa_log_spacemap.c_spa_ld_log_sm_metadata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_14__ = type { i32, i32 }
%struct.TYPE_13__ = type { i32, i32 }
@DMU_POOL_DIRECTORY_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@DMU_POOL_LOG_SPACEMAP_ZAP = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [85 x i8] c"spa_ld_log_sm_metadata(): failed at zap_lookup(DMU_POOL_DIRECTORY_OBJECT) [error %d]\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"spa_ld_log_sm_metadata(): failed at zap_cursor_retrieve(spacemap_zap) [error %d]\00", align 1
@.str.2 = private unnamed_addr constant [94 x i8] c"spa_ld_log_sm_metadata(): bug encountered: could not find log spacemap for TXG %ld [error %d]\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @spa_ld_log_sm_metadata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @spa_ld_log_sm_metadata(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_12__, align 4
%5 = alloca %struct.TYPE_14__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%6 = tail call i32 @avl_is_empty(ptr noundef %0) #3
%7 = tail call i32 @ASSERT(i32 noundef %6) #3
%8 = tail call i32 @spa_meta_objset(ptr noundef %0) #3
%9 = load i32, ptr @DMU_POOL_DIRECTORY_OBJECT, align 4, !tbaa !5
%10 = load i32, ptr @DMU_POOL_LOG_SPACEMAP_ZAP, align 4, !tbaa !5
%11 = call i32 @zap_lookup(i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %2) #3
%12 = load i32, ptr @ENOENT, align 4, !tbaa !5
%13 = icmp eq i32 %11, %12
br i1 %13, label %68, label %14
14: ; preds = %1
%15 = icmp eq i32 %11, 0
br i1 %15, label %18, label %16
16: ; preds = %14
%17 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #3
br label %68
18: ; preds = %14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%19 = call i32 @spa_meta_objset(ptr noundef %0) #3
%20 = load i32, ptr %2, align 4, !tbaa !5
%21 = call i32 @zap_cursor_init(ptr noundef nonnull %3, i32 noundef %19, i32 noundef %20) #3
%22 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %18
%25 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1
br label %26
26: ; preds = %24, %26
%27 = load i32, ptr %25, align 4, !tbaa !9
%28 = call i32 @zfs_strtonum(i32 noundef %27, ptr noundef null) #3
%29 = load i32, ptr %4, align 4, !tbaa !11
%30 = call ptr @spa_log_sm_alloc(i32 noundef %29, i32 noundef %28) #3
%31 = call i32 @avl_add(ptr noundef %0, ptr noundef %30) #3
%32 = call i32 @zap_cursor_advance(ptr noundef nonnull %3) #3
%33 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %26, label %35, !llvm.loop !12
35: ; preds = %26, %18
%36 = phi i32 [ %22, %18 ], [ %33, %26 ]
%37 = call i32 @zap_cursor_fini(ptr noundef nonnull %3) #3
%38 = load i32, ptr @ENOENT, align 4, !tbaa !5
%39 = icmp eq i32 %36, %38
br i1 %39, label %42, label %40
40: ; preds = %35
%41 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %36) #3
br label %66
42: ; preds = %35
%43 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%44 = call ptr @avl_first(ptr noundef nonnull %43) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %66, label %46
46: ; preds = %42
%47 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 1
br label %48
48: ; preds = %46, %61
%49 = phi ptr [ %44, %46 ], [ %64, %61 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !14
%50 = call i32 @metaslab_unflushed_txg(ptr noundef nonnull %49) #3
store i32 %50, ptr %47, align 4, !tbaa !16
%51 = call ptr @avl_find(ptr noundef %0, ptr noundef nonnull %5, ptr noundef null) #3
%52 = icmp ne ptr %51, null
%53 = zext i1 %52 to i32
%54 = call i32 @ASSERT(i32 noundef %53) #3
%55 = icmp eq ptr %51, null
br i1 %55, label %56, label %61
56: ; preds = %48
%57 = call i32 @metaslab_unflushed_txg(ptr noundef nonnull %49) #3
%58 = load i32, ptr @ENOENT, align 4, !tbaa !5
%59 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %57, i32 noundef %58) #3
%60 = load i32, ptr @ENOENT, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %66
61: ; preds = %48
%62 = load i32, ptr %51, align 4, !tbaa !14
%63 = add nsw i32 %62, 1
store i32 %63, ptr %51, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%64 = call ptr @AVL_NEXT(ptr noundef nonnull %43, ptr noundef nonnull %49) #3
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %48, !llvm.loop !17
66: ; preds = %61, %42, %56, %40
%67 = phi i32 [ %36, %40 ], [ %60, %56 ], [ 0, %42 ], [ 0, %61 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %68
68: ; preds = %1, %66, %16
%69 = phi i32 [ %11, %16 ], [ %67, %66 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @avl_is_empty(ptr noundef) local_unnamed_addr #2
declare i32 @zap_lookup(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spa_meta_objset(ptr noundef) local_unnamed_addr #2
declare i32 @spa_load_failed(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @zap_cursor_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zap_cursor_retrieve(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zfs_strtonum(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @spa_log_sm_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avl_add(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @zap_cursor_advance(ptr noundef) local_unnamed_addr #2
declare i32 @zap_cursor_fini(ptr noundef) local_unnamed_addr #2
declare ptr @avl_first(ptr noundef) local_unnamed_addr #2
declare i32 @metaslab_unflushed_txg(ptr noundef) local_unnamed_addr #2
declare ptr @avl_find(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @AVL_NEXT(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_12__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_14__", !6, i64 0, !6, i64 4}
!16 = !{!15, !6, i64 4}
!17 = distinct !{!17, !13}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa_log_spacemap.c_spa_ld_log_sm_metadata.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa_log_spacemap.c_spa_ld_log_sm_metadata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_14__ = type { i32, i32 }
@DMU_POOL_DIRECTORY_OBJECT = common local_unnamed_addr global i32 0, align 4
@DMU_POOL_LOG_SPACEMAP_ZAP = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [85 x i8] c"spa_ld_log_sm_metadata(): failed at zap_lookup(DMU_POOL_DIRECTORY_OBJECT) [error %d]\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"spa_ld_log_sm_metadata(): failed at zap_cursor_retrieve(spacemap_zap) [error %d]\00", align 1
@.str.2 = private unnamed_addr constant [94 x i8] c"spa_ld_log_sm_metadata(): bug encountered: could not find log spacemap for TXG %ld [error %d]\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @spa_ld_log_sm_metadata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @spa_ld_log_sm_metadata(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_12__, align 4
%5 = alloca %struct.TYPE_14__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%6 = tail call i32 @avl_is_empty(ptr noundef %0) #3
%7 = tail call i32 @ASSERT(i32 noundef %6) #3
%8 = tail call i32 @spa_meta_objset(ptr noundef %0) #3
%9 = load i32, ptr @DMU_POOL_DIRECTORY_OBJECT, align 4, !tbaa !6
%10 = load i32, ptr @DMU_POOL_LOG_SPACEMAP_ZAP, align 4, !tbaa !6
%11 = call i32 @zap_lookup(i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %2) #3
%12 = load i32, ptr @ENOENT, align 4, !tbaa !6
%13 = icmp eq i32 %11, %12
br i1 %13, label %68, label %14
14: ; preds = %1
%15 = icmp eq i32 %11, 0
br i1 %15, label %18, label %16
16: ; preds = %14
%17 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #3
br label %68
18: ; preds = %14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%19 = call i32 @spa_meta_objset(ptr noundef %0) #3
%20 = load i32, ptr %2, align 4, !tbaa !6
%21 = call i32 @zap_cursor_init(ptr noundef nonnull %3, i32 noundef %19, i32 noundef %20) #3
%22 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %4, i64 4
br label %26
26: ; preds = %24, %26
%27 = load i32, ptr %25, align 4, !tbaa !10
%28 = call i32 @zfs_strtonum(i32 noundef %27, ptr noundef null) #3
%29 = load i32, ptr %4, align 4, !tbaa !12
%30 = call ptr @spa_log_sm_alloc(i32 noundef %29, i32 noundef %28) #3
%31 = call i32 @avl_add(ptr noundef %0, ptr noundef %30) #3
%32 = call i32 @zap_cursor_advance(ptr noundef nonnull %3) #3
%33 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %26, label %35, !llvm.loop !13
35: ; preds = %26, %18
%36 = phi i32 [ %22, %18 ], [ %33, %26 ]
%37 = call i32 @zap_cursor_fini(ptr noundef nonnull %3) #3
%38 = load i32, ptr @ENOENT, align 4, !tbaa !6
%39 = icmp eq i32 %36, %38
br i1 %39, label %42, label %40
40: ; preds = %35
%41 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %36) #3
br label %66
42: ; preds = %35
%43 = getelementptr inbounds i8, ptr %0, i64 4
%44 = call ptr @avl_first(ptr noundef nonnull %43) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %66, label %46
46: ; preds = %42
%47 = getelementptr inbounds i8, ptr %5, i64 4
br label %48
48: ; preds = %46, %61
%49 = phi ptr [ %44, %46 ], [ %64, %61 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !15
%50 = call i32 @metaslab_unflushed_txg(ptr noundef nonnull %49) #3
store i32 %50, ptr %47, align 4, !tbaa !17
%51 = call ptr @avl_find(ptr noundef %0, ptr noundef nonnull %5, ptr noundef null) #3
%52 = icmp ne ptr %51, null
%53 = zext i1 %52 to i32
%54 = call i32 @ASSERT(i32 noundef %53) #3
%55 = icmp eq ptr %51, null
br i1 %55, label %56, label %61
56: ; preds = %48
%57 = call i32 @metaslab_unflushed_txg(ptr noundef nonnull %49) #3
%58 = load i32, ptr @ENOENT, align 4, !tbaa !6
%59 = call i32 (ptr, ptr, i32, ...) @spa_load_failed(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %57, i32 noundef %58) #3
%60 = load i32, ptr @ENOENT, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %66
61: ; preds = %48
%62 = load i32, ptr %51, align 4, !tbaa !15
%63 = add nsw i32 %62, 1
store i32 %63, ptr %51, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%64 = call ptr @AVL_NEXT(ptr noundef nonnull %43, ptr noundef nonnull %49) #3
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %48, !llvm.loop !18
66: ; preds = %61, %42, %56, %40
%67 = phi i32 [ %36, %40 ], [ %60, %56 ], [ 0, %42 ], [ 0, %61 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
br label %68
68: ; preds = %1, %66, %16
%69 = phi i32 [ %11, %16 ], [ %67, %66 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @avl_is_empty(ptr noundef) local_unnamed_addr #2
declare i32 @zap_lookup(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spa_meta_objset(ptr noundef) local_unnamed_addr #2
declare i32 @spa_load_failed(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @zap_cursor_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zap_cursor_retrieve(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zfs_strtonum(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @spa_log_sm_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avl_add(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @zap_cursor_advance(ptr noundef) local_unnamed_addr #2
declare i32 @zap_cursor_fini(ptr noundef) local_unnamed_addr #2
declare ptr @avl_first(ptr noundef) local_unnamed_addr #2
declare i32 @metaslab_unflushed_txg(ptr noundef) local_unnamed_addr #2
declare ptr @avl_find(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @AVL_NEXT(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_14__", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 4}
!18 = distinct !{!18, !14}
| zfs_module_zfs_extr_spa_log_spacemap.c_spa_ld_log_sm_metadata |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_get_ring_bdnum_limit.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_get_ring_bdnum_limit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HNS_RCB_RING_MAX_PENDING_BD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_ae_get_ring_bdnum_limit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @hns_ae_get_ring_bdnum_limit(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @HNS_RCB_RING_MAX_PENDING_BD, align 4, !tbaa !5
store i32 %3, ptr %1, align 4, !tbaa !5
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_get_ring_bdnum_limit.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_get_ring_bdnum_limit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HNS_RCB_RING_MAX_PENDING_BD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hns_ae_get_ring_bdnum_limit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @hns_ae_get_ring_bdnum_limit(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @HNS_RCB_RING_MAX_PENDING_BD, align 4, !tbaa !6
store i32 %3, ptr %1, align 4, !tbaa !6
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_hisilicon_hns_extr_hns_ae_adapt.c_hns_ae_get_ring_bdnum_limit |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v8_0.c_dce_v8_0_audio_fini.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v8_0.c_dce_v8_0_audio_fini.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@amdgpu_audio = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dce_v8_0_audio_fini], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dce_v8_0_audio_fini(ptr noundef %0) #0 {
%2 = load i32, ptr @amdgpu_audio, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %23, label %4
4: ; preds = %1
%5 = load i32, ptr %0, align 8, !tbaa !9
%6 = icmp eq i32 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %4
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 0, %11 ], [ %18, %13 ]
%15 = load ptr, ptr %12, align 8, !tbaa !15
%16 = getelementptr inbounds i32, ptr %15, i64 %14
%17 = tail call i32 @dce_v8_0_audio_enable(ptr noundef nonnull %0, ptr noundef %16, i32 noundef 0) #2
%18 = add nuw nsw i64 %14, 1
%19 = load i32, ptr %8, align 4, !tbaa !14
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %18, %20
br i1 %21, label %13, label %22, !llvm.loop !16
22: ; preds = %13, %7
store i32 0, ptr %0, align 8, !tbaa !9
br label %23
23: ; preds = %4, %1, %22
ret void
}
declare i32 @dce_v8_0_audio_enable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"amdgpu_device", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !6, i64 4}
!15 = !{!10, !13, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v8_0.c_dce_v8_0_audio_fini.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v8_0.c_dce_v8_0_audio_fini.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@amdgpu_audio = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dce_v8_0_audio_fini], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dce_v8_0_audio_fini(ptr noundef %0) #0 {
%2 = load i32, ptr @amdgpu_audio, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %23, label %4
4: ; preds = %1
%5 = load i32, ptr %0, align 8, !tbaa !10
%6 = icmp eq i32 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 8
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 0, %11 ], [ %18, %13 ]
%15 = load ptr, ptr %12, align 8, !tbaa !16
%16 = getelementptr inbounds i32, ptr %15, i64 %14
%17 = tail call i32 @dce_v8_0_audio_enable(ptr noundef nonnull %0, ptr noundef %16, i32 noundef 0) #2
%18 = add nuw nsw i64 %14, 1
%19 = load i32, ptr %8, align 4, !tbaa !15
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %18, %20
br i1 %21, label %13, label %22, !llvm.loop !17
22: ; preds = %13, %7
store i32 0, ptr %0, align 8, !tbaa !10
br label %23
23: ; preds = %4, %1, %22
ret void
}
declare i32 @dce_v8_0_audio_enable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"amdgpu_device", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !7, i64 4}
!16 = !{!11, !14, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_dce_v8_0.c_dce_v8_0_audio_fini |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5.c_raid5_release_stripe.c'
source_filename = "AnghaBench/linux/drivers/md/extr_raid5.c_raid5_release_stripe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.list_head = type { i32 }
%struct.stripe_head = type { i32, i32, i32, i32, ptr }
%struct.r5conf = type { i32, ptr, i32 }
@STRIPE_ON_RELEASE_LIST = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @raid5_release_stripe(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.list_head, align 4
%3 = getelementptr inbounds %struct.stripe_head, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = getelementptr inbounds %struct.stripe_head, ptr %0, i64 0, i32 1
%6 = tail call i64 @atomic_add_unless(ptr noundef nonnull %5, i32 noundef -1, i32 noundef 1) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %1
%9 = getelementptr inbounds %struct.r5conf, ptr %4, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %30
16: ; preds = %8
%17 = load i32, ptr @STRIPE_ON_RELEASE_LIST, align 4, !tbaa !15
%18 = getelementptr inbounds %struct.stripe_head, ptr %0, i64 0, i32 3
%19 = tail call i64 @test_and_set_bit(i32 noundef %17, ptr noundef nonnull %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = getelementptr inbounds %struct.stripe_head, ptr %0, i64 0, i32 2
%23 = getelementptr inbounds %struct.r5conf, ptr %4, i64 0, i32 2
%24 = tail call i32 @llist_add(ptr noundef nonnull %22, ptr noundef nonnull %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %39, label %26
26: ; preds = %21
%27 = load ptr, ptr %9, align 8, !tbaa !11
%28 = load i32, ptr %27, align 4, !tbaa !13
%29 = tail call i32 @md_wakeup_thread(i32 noundef %28) #3
br label %39
30: ; preds = %8, %16
%31 = tail call i64 @atomic_dec_and_lock_irqsave(ptr noundef nonnull %5, ptr noundef nonnull %4, i64 noundef undef) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %39, label %33
33: ; preds = %30
%34 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #3
%35 = load i32, ptr %0, align 8, !tbaa !16
%36 = call i32 @do_release_stripe(ptr noundef nonnull %4, ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%37 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #3
%38 = call i32 @release_inactive_stripe_list(ptr noundef nonnull %4, ptr noundef nonnull %2, i32 noundef %35) #3
br label %39
39: ; preds = %30, %33, %21, %26, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @atomic_add_unless(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @llist_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @md_wakeup_thread(i32 noundef) local_unnamed_addr #2
declare i64 @atomic_dec_and_lock_irqsave(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #2
declare i32 @do_release_stripe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @release_inactive_stripe_list(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"stripe_head", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"r5conf", !7, i64 0, !10, i64 8, !7, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5.c_raid5_release_stripe.c'
source_filename = "AnghaBench/linux/drivers/md/extr_raid5.c_raid5_release_stripe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.list_head = type { i32 }
@STRIPE_ON_RELEASE_LIST = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @raid5_release_stripe(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.list_head, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = tail call i64 @atomic_add_unless(ptr noundef nonnull %5, i32 noundef -1, i32 noundef 1) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %4, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = tail call i64 @unlikely(i32 noundef %13) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %30
16: ; preds = %8
%17 = load i32, ptr @STRIPE_ON_RELEASE_LIST, align 4, !tbaa !16
%18 = getelementptr inbounds i8, ptr %0, i64 12
%19 = tail call i64 @test_and_set_bit(i32 noundef %17, ptr noundef nonnull %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = getelementptr inbounds i8, ptr %4, i64 16
%24 = tail call i32 @llist_add(ptr noundef nonnull %22, ptr noundef nonnull %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %39, label %26
26: ; preds = %21
%27 = load ptr, ptr %9, align 8, !tbaa !12
%28 = load i32, ptr %27, align 4, !tbaa !14
%29 = tail call i32 @md_wakeup_thread(i32 noundef %28) #3
br label %39
30: ; preds = %8, %16
%31 = tail call i64 @atomic_dec_and_lock_irqsave(ptr noundef nonnull %5, ptr noundef nonnull %4, i64 noundef undef) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %39, label %33
33: ; preds = %30
%34 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #3
%35 = load i32, ptr %0, align 8, !tbaa !17
%36 = call i32 @do_release_stripe(ptr noundef nonnull %4, ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%37 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #3
%38 = call i32 @release_inactive_stripe_list(ptr noundef nonnull %4, ptr noundef nonnull %2, i32 noundef %35) #3
br label %39
39: ; preds = %30, %33, %21, %26, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @atomic_add_unless(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @llist_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @md_wakeup_thread(i32 noundef) local_unnamed_addr #2
declare i64 @atomic_dec_and_lock_irqsave(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #2
declare i32 @do_release_stripe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @release_inactive_stripe_list(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"stripe_head", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"r5conf", !8, i64 0, !11, i64 8, !8, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 0}
| linux_drivers_md_extr_raid5.c_raid5_release_stripe |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_sysv.c_sigchld_handler.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_sysv.c_sigchld_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@did_sigchild = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@child_status = dso_local local_unnamed_addr global i32 0, align 4
@child_count = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @sigchld_handler(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1, ptr @did_sigchild, align 4, !tbaa !5
%3 = call i32 @wait(ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, -1
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @errno, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %4, i32 %7, i32 %5
store i32 %8, ptr @child_status, align 4, !tbaa !5
%9 = load i32, ptr @child_count, align 4, !tbaa !5
%10 = add nsw i32 %9, -1
store i32 %10, ptr @child_count, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wait(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"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_sysv.c_sigchld_handler.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/kernel/extr_t_sysv.c_sigchld_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@did_sigchild = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@child_status = common local_unnamed_addr global i32 0, align 4
@child_count = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @sigchld_handler(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1, ptr @did_sigchild, align 4, !tbaa !6
%3 = call i32 @wait(ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, -1
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr @errno, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %4, i32 %7, i32 %5
store i32 %8, ptr @child_status, align 4, !tbaa !6
%9 = load i32, ptr @child_count, align 4, !tbaa !6
%10 = add nsw i32 %9, -1
store i32 %10, ptr @child_count, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wait(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"}
| freebsd_contrib_netbsd-tests_kernel_extr_t_sysv.c_sigchld_handler |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_core.c_qtnf_update_rx_stats.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_core.c_qtnf_update_rx_stats.c"
target datalayout = "e-m:e-p270:32:32-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.pcpu_sw_netstats = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @qtnf_update_rx_stats(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call ptr @qtnf_netdev_get_priv(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %2
%10 = phi i32 [ 1, %2 ], [ %8, %5 ]
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = load i64, ptr %1, align 8, !tbaa !10
%15 = trunc i64 %14 to i32
%16 = load <2 x i32>, ptr %0, align 4, !tbaa !13
%17 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %15, i64 0
%18 = add <2 x i32> %16, %17
store <2 x i32> %18, ptr %0, align 4, !tbaa !13
br label %30
19: ; preds = %9
%20 = load i32, ptr %3, align 4, !tbaa !5
%21 = tail call ptr @this_cpu_ptr(i32 noundef %20) #2
%22 = tail call i32 @u64_stats_update_begin(ptr noundef %21) #2
%23 = load i64, ptr %1, align 8, !tbaa !10
%24 = getelementptr inbounds %struct.pcpu_sw_netstats, ptr %21, i64 0, i32 1
%25 = trunc i64 %23 to i32
%26 = load <2 x i32>, ptr %24, align 4, !tbaa !13
%27 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %25, i64 0
%28 = add <2 x i32> %26, %27
store <2 x i32> %28, ptr %24, align 4, !tbaa !13
%29 = tail call i32 @u64_stats_update_end(ptr noundef %21) #2
br label %30
30: ; preds = %19, %13
ret void
}
declare ptr @qtnf_netdev_get_priv(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @this_cpu_ptr(i32 noundef) local_unnamed_addr #1
declare i32 @u64_stats_update_begin(ptr noundef) local_unnamed_addr #1
declare i32 @u64_stats_update_end(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 = !{!"qtnf_vif", !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 = !{!"sk_buff", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_core.c_qtnf_update_rx_stats.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_core.c_qtnf_update_rx_stats.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 @qtnf_update_rx_stats(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call ptr @qtnf_netdev_get_priv(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %2
%10 = phi i32 [ 1, %2 ], [ %8, %5 ]
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = load i64, ptr %1, align 8, !tbaa !11
%15 = trunc i64 %14 to i32
%16 = load <2 x i32>, ptr %0, align 4, !tbaa !14
%17 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %15, i64 0
%18 = add <2 x i32> %16, %17
store <2 x i32> %18, ptr %0, align 4, !tbaa !14
br label %30
19: ; preds = %9
%20 = load i32, ptr %3, align 4, !tbaa !6
%21 = tail call ptr @this_cpu_ptr(i32 noundef %20) #2
%22 = tail call i32 @u64_stats_update_begin(ptr noundef %21) #2
%23 = load i64, ptr %1, align 8, !tbaa !11
%24 = getelementptr inbounds i8, ptr %21, i64 4
%25 = trunc i64 %23 to i32
%26 = load <2 x i32>, ptr %24, align 4, !tbaa !14
%27 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %25, i64 0
%28 = add <2 x i32> %26, %27
store <2 x i32> %28, ptr %24, align 4, !tbaa !14
%29 = tail call i32 @u64_stats_update_end(ptr noundef %21) #2
br label %30
30: ; preds = %19, %13
ret void
}
declare ptr @qtnf_netdev_get_priv(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @this_cpu_ptr(i32 noundef) local_unnamed_addr #1
declare i32 @u64_stats_update_begin(ptr noundef) local_unnamed_addr #1
declare i32 @u64_stats_update_end(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 = !{!"qtnf_vif", !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 = !{!"sk_buff", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
| linux_drivers_net_wireless_quantenna_qtnfmac_extr_core.c_qtnf_update_rx_stats |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_dma_sync_dev_rx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_dma_sync_dev_rx.c"
target datalayout = "e-m:e-p270:32:32-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.nfp_net_dp = type { i32, i64, i32 }
@NFP_NET_RX_BUF_NON_DATA = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfp_net_dma_sync_dev_rx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nfp_net_dma_sync_dev_rx(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.nfp_net_dp, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.nfp_net_dp, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr @NFP_NET_RX_BUF_NON_DATA, align 8, !tbaa !12
%8 = sub nsw i64 %6, %7
%9 = load i32, ptr %0, align 8, !tbaa !13
%10 = tail call i32 @dma_sync_single_for_device(i32 noundef %4, i32 noundef %1, i64 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @dma_sync_single_for_device(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"nfp_net_dp", !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 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_dma_sync_dev_rx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_dma_sync_dev_rx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFP_NET_RX_BUF_NON_DATA = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @nfp_net_dma_sync_dev_rx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nfp_net_dma_sync_dev_rx(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @NFP_NET_RX_BUF_NON_DATA, align 8, !tbaa !13
%8 = sub nsw i64 %6, %7
%9 = load i32, ptr %0, align 8, !tbaa !14
%10 = tail call i32 @dma_sync_single_for_device(i32 noundef %4, i32 noundef %1, i64 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @dma_sync_single_for_device(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"nfp_net_dp", !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 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_netronome_nfp_extr_nfp_net_common.c_nfp_net_dma_sync_dev_rx |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_array_section_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_array_section_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"
@annotation_level = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"\0A\1A\1Aarray-section-end\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @annotate_array_section_end() local_unnamed_addr #0 {
%1 = load i32, ptr @annotation_level, align 4, !tbaa !5
%2 = icmp eq i32 %1, 2
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @printf_filtered(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/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_array_section_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_array_section_end.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@annotation_level = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"\0A\1A\1Aarray-section-end\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @annotate_array_section_end() local_unnamed_addr #0 {
%1 = load i32, ptr @annotation_level, align 4, !tbaa !6
%2 = icmp eq i32 %1, 2
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @printf_filtered(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"}
| freebsd_contrib_gdb_gdb_extr_annotate.c_annotate_array_section_end |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_reset.c_ar5212GetLowerUpperValues.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_reset.c_ar5212GetLowerUpperValues.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EEP_SCALE = dso_local local_unnamed_addr global i32 0, align 4
@EEP_DELTA = dso_local local_unnamed_addr global i32 0, align 4
@AH_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ar5212GetLowerUpperValues(i32 noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = load i32, ptr @EEP_SCALE, align 4, !tbaa !5
%7 = mul nsw i32 %6, %0
%8 = sext i32 %7 to i64
%9 = sext i32 %2 to i64
%10 = getelementptr inbounds i32, ptr %1, i64 %9
%11 = load i32, ptr %1, align 4, !tbaa !5
%12 = mul nsw i32 %11, %6
%13 = load i32, ptr @EEP_DELTA, align 4, !tbaa !5
%14 = sub nsw i32 %12, %13
%15 = icmp slt i32 %7, %14
br i1 %15, label %16, label %17
16: ; preds = %5
store i32 %11, ptr %4, align 4, !tbaa !5
store i32 %11, ptr %3, align 4, !tbaa !5
br label %49
17: ; preds = %5
%18 = getelementptr inbounds i32, ptr %10, i64 -1
%19 = load i32, ptr %18, align 4, !tbaa !5
%20 = mul nsw i32 %19, %6
%21 = add nsw i32 %20, %13
%22 = icmp sgt i32 %7, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 %19, ptr %4, align 4, !tbaa !5
store i32 %19, ptr %3, align 4, !tbaa !5
br label %49
24: ; preds = %17, %36
%25 = phi i32 [ %39, %36 ], [ %6, %17 ]
%26 = phi i32 [ %38, %36 ], [ %11, %17 ]
%27 = phi ptr [ %37, %36 ], [ %1, %17 ]
%28 = icmp ult ptr %27, %10
br i1 %28, label %29, label %46
29: ; preds = %24
%30 = mul nsw i32 %25, %26
%31 = tail call i32 @udiff(i32 noundef %30, i64 noundef %8) #2
%32 = load i32, ptr @EEP_DELTA, align 4, !tbaa !5
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr %27, align 4, !tbaa !5
store i32 %35, ptr %4, align 4, !tbaa !5
store i32 %35, ptr %3, align 4, !tbaa !5
br label %49
36: ; preds = %29
%37 = getelementptr inbounds i32, ptr %27, i64 1
%38 = load i32, ptr %37, align 4, !tbaa !5
%39 = load i32, ptr @EEP_SCALE, align 4, !tbaa !5
%40 = mul nsw i32 %39, %38
%41 = sub nsw i32 %40, %32
%42 = icmp slt i32 %7, %41
br i1 %42, label %43, label %24, !llvm.loop !9
43: ; preds = %36
%44 = load i32, ptr %27, align 4, !tbaa !5
store i32 %44, ptr %3, align 4, !tbaa !5
%45 = load i32, ptr %37, align 4, !tbaa !5
store i32 %45, ptr %4, align 4, !tbaa !5
br label %49
46: ; preds = %24
%47 = load i32, ptr @AH_FALSE, align 4, !tbaa !5
%48 = tail call i32 @HALASSERT(i32 noundef %47) #2
br label %49
49: ; preds = %46, %43, %34, %23, %16
ret void
}
declare i32 @udiff(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @HALASSERT(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/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_reset.c_ar5212GetLowerUpperValues.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_reset.c_ar5212GetLowerUpperValues.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EEP_SCALE = common local_unnamed_addr global i32 0, align 4
@EEP_DELTA = common local_unnamed_addr global i32 0, align 4
@AH_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ar5212GetLowerUpperValues(i32 noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = load i32, ptr @EEP_SCALE, align 4, !tbaa !6
%7 = mul nsw i32 %6, %0
%8 = sext i32 %7 to i64
%9 = sext i32 %2 to i64
%10 = getelementptr inbounds i32, ptr %1, i64 %9
%11 = load i32, ptr %1, align 4, !tbaa !6
%12 = mul nsw i32 %11, %6
%13 = load i32, ptr @EEP_DELTA, align 4, !tbaa !6
%14 = sub nsw i32 %12, %13
%15 = icmp slt i32 %7, %14
br i1 %15, label %16, label %17
16: ; preds = %5
store i32 %11, ptr %4, align 4, !tbaa !6
store i32 %11, ptr %3, align 4, !tbaa !6
br label %49
17: ; preds = %5
%18 = getelementptr inbounds i8, ptr %10, i64 -4
%19 = load i32, ptr %18, align 4, !tbaa !6
%20 = mul nsw i32 %19, %6
%21 = add nsw i32 %20, %13
%22 = icmp sgt i32 %7, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 %19, ptr %4, align 4, !tbaa !6
store i32 %19, ptr %3, align 4, !tbaa !6
br label %49
24: ; preds = %17, %36
%25 = phi i32 [ %39, %36 ], [ %6, %17 ]
%26 = phi i32 [ %38, %36 ], [ %11, %17 ]
%27 = phi ptr [ %37, %36 ], [ %1, %17 ]
%28 = icmp ult ptr %27, %10
br i1 %28, label %29, label %46
29: ; preds = %24
%30 = mul nsw i32 %25, %26
%31 = tail call i32 @udiff(i32 noundef %30, i64 noundef %8) #2
%32 = load i32, ptr @EEP_DELTA, align 4, !tbaa !6
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr %27, align 4, !tbaa !6
store i32 %35, ptr %4, align 4, !tbaa !6
store i32 %35, ptr %3, align 4, !tbaa !6
br label %49
36: ; preds = %29
%37 = getelementptr inbounds i8, ptr %27, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !6
%39 = load i32, ptr @EEP_SCALE, align 4, !tbaa !6
%40 = mul nsw i32 %39, %38
%41 = sub nsw i32 %40, %32
%42 = icmp slt i32 %7, %41
br i1 %42, label %43, label %24, !llvm.loop !10
43: ; preds = %36
%44 = load i32, ptr %27, align 4, !tbaa !6
store i32 %44, ptr %3, align 4, !tbaa !6
%45 = load i32, ptr %37, align 4, !tbaa !6
store i32 %45, ptr %4, align 4, !tbaa !6
br label %49
46: ; preds = %24
%47 = load i32, ptr @AH_FALSE, align 4, !tbaa !6
%48 = tail call i32 @HALASSERT(i32 noundef %47) #2
br label %49
49: ; preds = %46, %43, %34, %23, %16
ret void
}
declare i32 @udiff(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @HALASSERT(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"}
| freebsd_sys_dev_ath_ath_hal_ar5212_extr_ar5212_reset.c_ar5212GetLowerUpperValues |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm90.c_temp_to_u16_adt7461.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm90.c_temp_to_u16_adt7461.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LM90_FLAG_ADT7461_EXT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @temp_to_u16_adt7461], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @temp_to_u16_adt7461(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @LM90_FLAG_ADT7461_EXT, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %16, label %7
7: ; preds = %2
%8 = icmp slt i64 %1, -63999
br i1 %8, label %25, label %9
9: ; preds = %7
%10 = icmp sgt i64 %1, 191749
br i1 %10, label %25, label %11
11: ; preds = %9
%12 = trunc i64 %1 to i32
%13 = add nsw i32 %12, 64125
%14 = udiv i32 %13, 250
%15 = shl nuw nsw i32 %14, 6
br label %25
16: ; preds = %2
%17 = icmp slt i64 %1, 1
br i1 %17, label %25, label %18
18: ; preds = %16
%19 = icmp ugt i64 %1, 127749
br i1 %19, label %25, label %20
20: ; preds = %18
%21 = trunc i64 %1 to i32
%22 = add nuw nsw i32 %21, 125
%23 = udiv i32 %22, 250
%24 = shl nuw nsw i32 %23, 6
br label %25
25: ; preds = %18, %16, %9, %7, %20, %11
%26 = phi i32 [ %15, %11 ], [ %24, %20 ], [ 0, %7 ], [ 65472, %9 ], [ 0, %16 ], [ 32704, %18 ]
ret i32 %26
}
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 = !{!"lm90_data", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm90.c_temp_to_u16_adt7461.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm90.c_temp_to_u16_adt7461.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LM90_FLAG_ADT7461_EXT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @temp_to_u16_adt7461], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 65473) i32 @temp_to_u16_adt7461(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @LM90_FLAG_ADT7461_EXT, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %16, label %7
7: ; preds = %2
%8 = icmp slt i64 %1, -63999
br i1 %8, label %25, label %9
9: ; preds = %7
%10 = icmp sgt i64 %1, 191749
br i1 %10, label %25, label %11
11: ; preds = %9
%12 = trunc i64 %1 to i32
%13 = add nsw i32 %12, 64125
%14 = udiv i32 %13, 250
%15 = shl nuw nsw i32 %14, 6
br label %25
16: ; preds = %2
%17 = icmp slt i64 %1, 1
br i1 %17, label %25, label %18
18: ; preds = %16
%19 = icmp ugt i64 %1, 127749
br i1 %19, label %25, label %20
20: ; preds = %18
%21 = trunc nuw i64 %1 to i32
%22 = add nuw nsw i32 %21, 125
%23 = udiv i32 %22, 250
%24 = shl nuw nsw i32 %23, 6
br label %25
25: ; preds = %18, %16, %9, %7, %20, %11
%26 = phi i32 [ %15, %11 ], [ %24, %20 ], [ 0, %7 ], [ 65472, %9 ], [ 0, %16 ], [ 32704, %18 ]
ret i32 %26
}
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 = !{!"lm90_data", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_hwmon_extr_lm90.c_temp_to_u16_adt7461 |
; ModuleID = 'AnghaBench/h2o/deps/klib/extr_kurl.c_kurl_init.c'
source_filename = "AnghaBench/h2o/deps/klib/extr_kurl.c_kurl_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"
@CURL_GLOBAL_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kurl_init() local_unnamed_addr #0 {
%1 = load i32, ptr @CURL_GLOBAL_DEFAULT, align 4, !tbaa !5
%2 = tail call i32 @curl_global_init(i32 noundef %1) #2
ret i32 %2
}
declare i32 @curl_global_init(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/h2o/deps/klib/extr_kurl.c_kurl_init.c'
source_filename = "AnghaBench/h2o/deps/klib/extr_kurl.c_kurl_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURL_GLOBAL_DEFAULT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kurl_init() local_unnamed_addr #0 {
%1 = load i32, ptr @CURL_GLOBAL_DEFAULT, align 4, !tbaa !6
%2 = tail call i32 @curl_global_init(i32 noundef %1) #2
ret i32 %2
}
declare i32 @curl_global_init(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"}
| h2o_deps_klib_extr_kurl.c_kurl_init |
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-data.c_barray_account_date.c'
source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-data.c_barray_account_date.c"
target datalayout = "e-m:e-p270:32:32-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 @barray_account_date], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @barray_account_date(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = tail call i32 @metafile_get_date(i32 noundef %1) #2
%4 = tail call i32 @account_date(i32 noundef %3) #2
ret i32 %4
}
declare i32 @account_date(i32 noundef) local_unnamed_addr #1
declare i32 @metafile_get_date(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-data.c_barray_account_date.c'
source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-data.c_barray_account_date.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 @barray_account_date], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @barray_account_date(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = tail call i32 @metafile_get_date(i32 noundef %1) #2
%4 = tail call i32 @account_date(i32 noundef %3) #2
ret i32 %4
}
declare i32 @account_date(i32 noundef) local_unnamed_addr #1
declare i32 @metafile_get_date(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)"}
| kphp-kdb_lists_extr_lists-data.c_barray_account_date |
; ModuleID = 'AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__remove_namespace.c'
source_filename = "AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__remove_namespace.c"
target datalayout = "e-m:e-p270:32:32-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 [16 x i32] [i32 92, i32 92, i32 63, i32 92, i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.1 = private unnamed_addr constant [12 x i32] [i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.2 = private unnamed_addr constant [8 x i32] [i32 92, i32 92, i32 63, i32 92, i32 67, i32 58, i32 92, i32 0], align 4
@.str.3 = private unnamed_addr constant [4 x i32] [i32 67, i32 58, i32 92, i32 0], align 4
@.str.4 = private unnamed_addr constant [5 x i32] [i32 92, i32 92, i32 63, i32 92, i32 0], align 4
@.str.5 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.6 = private unnamed_addr constant [16 x i32] [i32 92, i32 63, i32 63, i32 92, i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.7 = private unnamed_addr constant [8 x i32] [i32 92, i32 63, i32 63, i32 92, i32 67, i32 58, i32 92, i32 0], align 4
@.str.8 = private unnamed_addr constant [5 x i32] [i32 92, i32 63, i32 63, i32 92, i32 0], align 4
@.str.9 = private unnamed_addr constant [25 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.10 = private unnamed_addr constant [19 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.11 = private unnamed_addr constant [18 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.12 = private unnamed_addr constant [12 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.13 = private unnamed_addr constant [16 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.14 = private unnamed_addr constant [9 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.15 = private unnamed_addr constant [15 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.16 = private unnamed_addr constant [25 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.17 = private unnamed_addr constant [18 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.18 = private unnamed_addr constant [16 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.19 = private unnamed_addr constant [15 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.20 = private unnamed_addr constant [10 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.21 = private unnamed_addr constant [11 x i32] [i32 67, i32 58, i32 92, i32 70, i32 111, i32 111, i32 92, i32 66, i32 97, i32 114, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_path_win32__remove_namespace() local_unnamed_addr #0 {
%1 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
%2 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%3 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%4 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1) #2
%5 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3) #2
%6 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
%8 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
%9 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12) #2
%10 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14) #2
%11 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14) #2
%12 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10) #2
%13 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10) #2
%14 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.12) #2
%15 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14) #2
%16 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.14) #2
%17 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.10) #2
%18 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.12) #2
%19 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14) #2
%20 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.14) #2
%21 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.21) #2
%22 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.3) #2
%23 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.5) #2
ret void
}
declare i32 @test_remove_namespace(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/libgit2/tests/path/extr_win32.c_test_path_win32__remove_namespace.c'
source_filename = "AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__remove_namespace.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 [16 x i32] [i32 92, i32 92, i32 63, i32 92, i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.1 = private unnamed_addr constant [12 x i32] [i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.2 = private unnamed_addr constant [8 x i32] [i32 92, i32 92, i32 63, i32 92, i32 67, i32 58, i32 92, i32 0], align 4
@.str.3 = private unnamed_addr constant [4 x i32] [i32 67, i32 58, i32 92, i32 0], align 4
@.str.4 = private unnamed_addr constant [5 x i32] [i32 92, i32 92, i32 63, i32 92, i32 0], align 4
@.str.5 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@.str.6 = private unnamed_addr constant [16 x i32] [i32 92, i32 63, i32 63, i32 92, i32 67, i32 58, i32 92, i32 84, i32 101, i32 109, i32 112, i32 92, i32 70, i32 111, i32 111, i32 0], align 4
@.str.7 = private unnamed_addr constant [8 x i32] [i32 92, i32 63, i32 63, i32 92, i32 67, i32 58, i32 92, i32 0], align 4
@.str.8 = private unnamed_addr constant [5 x i32] [i32 92, i32 63, i32 63, i32 92, i32 0], align 4
@.str.9 = private unnamed_addr constant [25 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.10 = private unnamed_addr constant [19 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.11 = private unnamed_addr constant [18 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.12 = private unnamed_addr constant [12 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.13 = private unnamed_addr constant [16 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.14 = private unnamed_addr constant [9 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.15 = private unnamed_addr constant [15 x i32] [i32 92, i32 92, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.16 = private unnamed_addr constant [25 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 92, i32 102, i32 111, i32 108, i32 100, i32 101, i32 114, i32 0], align 4
@.str.17 = private unnamed_addr constant [18 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 67, i32 36, i32 0], align 4
@.str.18 = private unnamed_addr constant [16 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.19 = private unnamed_addr constant [15 x i32] [i32 92, i32 63, i32 63, i32 92, i32 85, i32 78, i32 67, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 0], align 4
@.str.20 = private unnamed_addr constant [10 x i32] [i32 92, i32 92, i32 115, i32 101, i32 114, i32 118, i32 101, i32 114, i32 92, i32 0], align 4
@.str.21 = private unnamed_addr constant [11 x i32] [i32 67, i32 58, i32 92, i32 70, i32 111, i32 111, i32 92, i32 66, i32 97, i32 114, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_path_win32__remove_namespace() local_unnamed_addr #0 {
%1 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
%2 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #2
%3 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #2
%4 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1) #2
%5 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3) #2
%6 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
%8 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
%9 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12) #2
%10 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14) #2
%11 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14) #2
%12 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10) #2
%13 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10) #2
%14 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.12) #2
%15 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14) #2
%16 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.14) #2
%17 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.10) #2
%18 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.12) #2
%19 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14) #2
%20 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.14) #2
%21 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.21) #2
%22 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.3) #2
%23 = tail call i32 @test_remove_namespace(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.5) #2
ret void
}
declare i32 @test_remove_namespace(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)"}
| libgit2_tests_path_extr_win32.c_test_path_win32__remove_namespace |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_vp8l_enc.c_WriteImage.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_vp8l_enc.c_WriteImage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VP8_ENC_OK = dso_local local_unnamed_addr global i64 0, align 8
@VP8L_SIGNATURE_SIZE = dso_local local_unnamed_addr constant i64 0, align 8
@TAG_SIZE = dso_local local_unnamed_addr constant i64 0, align 8
@CHUNK_HEADER_SIZE = dso_local local_unnamed_addr constant i64 0, align 8
@VP8_ENC_ERROR_BAD_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @WriteImage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @WriteImage(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca [1 x i32], align 4
%5 = tail call ptr @VP8LBitWriterFinish(ptr noundef %1) #3
%6 = tail call i64 @VP8LBitWriterNumBytes(ptr noundef %1) #3
%7 = and i64 %6, 1
%8 = add i64 %7, %6
%9 = tail call i64 @WriteRiffHeader(ptr noundef %0, i64 noundef %8, i64 noundef %6) #3
%10 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !5
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %28
12: ; preds = %3
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = trunc i64 %6 to i32
%15 = tail call i32 %13(ptr noundef %5, i32 noundef %14, ptr noundef nonnull %0) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load i64, ptr @VP8_ENC_ERROR_BAD_WRITE, align 8, !tbaa !5
br label %28
19: ; preds = %12
%20 = icmp eq i64 %7, 0
br i1 %20, label %26, label %21
21: ; preds = %19
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4
%22 = load ptr, ptr %0, align 8, !tbaa !9
%23 = call i32 %22(ptr noundef nonnull %4, i32 noundef 1, ptr noundef nonnull %0) #3
%24 = icmp eq i32 %23, 0
%25 = load i64, ptr @VP8_ENC_ERROR_BAD_WRITE, align 8
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br i1 %24, label %28, label %26
26: ; preds = %21, %19
store i64 %8, ptr %2, align 8, !tbaa !5
%27 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !5
br label %28
28: ; preds = %21, %17, %3, %26
%29 = phi i64 [ %27, %26 ], [ %9, %3 ], [ %25, %21 ], [ %18, %17 ]
ret i64 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @VP8LBitWriterFinish(ptr noundef) local_unnamed_addr #2
declare i64 @VP8LBitWriterNumBytes(ptr noundef) local_unnamed_addr #2
declare i64 @WriteRiffHeader(ptr noundef, i64 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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_vp8l_enc.c_WriteImage.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_vp8l_enc.c_WriteImage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VP8_ENC_OK = common local_unnamed_addr global i64 0, align 8
@VP8L_SIGNATURE_SIZE = common local_unnamed_addr global i64 0, align 8
@TAG_SIZE = common local_unnamed_addr global i64 0, align 8
@CHUNK_HEADER_SIZE = common local_unnamed_addr global i64 0, align 8
@VP8_ENC_ERROR_BAD_WRITE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @WriteImage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @WriteImage(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca [1 x i32], align 4
%5 = tail call ptr @VP8LBitWriterFinish(ptr noundef %1) #3
%6 = tail call i64 @VP8LBitWriterNumBytes(ptr noundef %1) #3
%7 = load i64, ptr @VP8L_SIGNATURE_SIZE, align 8, !tbaa !6
%8 = add i64 %7, %6
%9 = and i64 %8, 1
%10 = load i64, ptr @TAG_SIZE, align 8, !tbaa !6
%11 = load i64, ptr @CHUNK_HEADER_SIZE, align 8, !tbaa !6
%12 = add i64 %8, %10
%13 = add i64 %12, %11
%14 = add i64 %13, %9
%15 = tail call i64 @WriteRiffHeader(ptr noundef %0, i64 noundef %14, i64 noundef %8) #3
%16 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !6
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %36
18: ; preds = %3
%19 = load ptr, ptr %0, align 8, !tbaa !10
%20 = trunc i64 %6 to i32
%21 = tail call i32 %19(ptr noundef %5, i32 noundef %20, ptr noundef nonnull %0) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = load i64, ptr @VP8_ENC_ERROR_BAD_WRITE, align 8, !tbaa !6
br label %36
25: ; preds = %18
%26 = icmp eq i64 %9, 0
br i1 %26, label %32, label %27
27: ; preds = %25
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4
%28 = load ptr, ptr %0, align 8, !tbaa !10
%29 = call i32 %28(ptr noundef nonnull %4, i32 noundef 1, ptr noundef nonnull %0) #3
%30 = icmp eq i32 %29, 0
%31 = load i64, ptr @VP8_ENC_ERROR_BAD_WRITE, align 8
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br i1 %30, label %36, label %32
32: ; preds = %27, %25
%33 = load i64, ptr @CHUNK_HEADER_SIZE, align 8, !tbaa !6
%34 = add i64 %33, %14
store i64 %34, ptr %2, align 8, !tbaa !6
%35 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !6
br label %36
36: ; preds = %27, %23, %3, %32
%37 = phi i64 [ %35, %32 ], [ %15, %3 ], [ %31, %27 ], [ %24, %23 ]
ret i64 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @VP8LBitWriterFinish(ptr noundef) local_unnamed_addr #2
declare i64 @VP8LBitWriterNumBytes(ptr noundef) local_unnamed_addr #2
declare i64 @WriteRiffHeader(ptr noundef, i64 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", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| sumatrapdf_ext_libwebp_src_enc_extr_vp8l_enc.c_WriteImage |
; ModuleID = 'AnghaBench/linux/drivers/nubus/extr_nubus.c_nubus_get_subdir.c'
source_filename = "AnghaBench/linux/drivers/nubus/extr_nubus.c_nubus_get_subdir.c"
target datalayout = "e-m:e-p270:32:32-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.nubus_dir = type { i32, i64, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @nubus_get_subdir(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @nubus_dirptr(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.nubus_dir, ptr %1, i64 0, i32 2
store i32 %3, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.nubus_dir, ptr %1, i64 0, i32 3
store i32 %3, ptr %5, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.nubus_dir, ptr %1, i64 0, i32 1
store i64 0, ptr %6, align 8, !tbaa !12
%7 = load i32, ptr %0, align 4, !tbaa !13
store i32 %7, ptr %1, align 8, !tbaa !15
ret i32 0
}
declare i32 @nubus_dirptr(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 = !{!"nubus_dir", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!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 20}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"nubus_dirent", !7, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/nubus/extr_nubus.c_nubus_get_subdir.c'
source_filename = "AnghaBench/linux/drivers/nubus/extr_nubus.c_nubus_get_subdir.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @nubus_get_subdir(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @nubus_dirptr(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %3, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %3, ptr %5, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %1, i64 8
store i64 0, ptr %6, align 8, !tbaa !13
%7 = load i32, ptr %0, align 4, !tbaa !14
store i32 %7, ptr %1, align 8, !tbaa !16
ret i32 0
}
declare i32 @nubus_dirptr(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 = !{!"nubus_dir", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!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 20}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"nubus_dirent", !8, i64 0}
!16 = !{!7, !8, i64 0}
| linux_drivers_nubus_extr_nubus.c_nubus_get_subdir |
; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_set.c_acl_set_file.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_set.c_acl_set_file.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @acl_set_file(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %2, null
%5 = icmp eq ptr %0, null
%6 = or i1 %5, %4
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
store i32 %8, ptr @errno, align 4, !tbaa !5
br label %23
9: ; preds = %3
%10 = tail call i32 @_acl_type_unold(i32 noundef %1) #2
%11 = tail call i64 @_acl_type_not_valid_for_acl(ptr noundef nonnull %2, i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = load i32, ptr @EINVAL, align 4, !tbaa !5
store i32 %14, ptr @errno, align 4, !tbaa !5
br label %23
15: ; preds = %9
%16 = tail call i64 @_posix1e_acl(ptr noundef nonnull %2, i32 noundef %10) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = tail call i32 @_posix1e_acl_sort(ptr noundef nonnull %2) #2
br label %20
20: ; preds = %18, %15
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1
store i64 0, ptr %21, align 8, !tbaa !9
%22 = tail call i32 @__acl_set_file(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %2) #2
br label %23
23: ; preds = %20, %13, %7
%24 = phi i32 [ -1, %7 ], [ -1, %13 ], [ %22, %20 ]
ret i32 %24
}
declare i32 @_acl_type_unold(i32 noundef) local_unnamed_addr #1
declare i64 @_acl_type_not_valid_for_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @_posix1e_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_posix1e_acl_sort(ptr noundef) local_unnamed_addr #1
declare i32 @__acl_set_file(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_6__", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/posix1e/extr_acl_set.c_acl_set_file.c'
source_filename = "AnghaBench/freebsd/lib/libc/posix1e/extr_acl_set.c_acl_set_file.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
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @acl_set_file(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %2, null
%5 = icmp eq ptr %0, null
%6 = or i1 %5, %4
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !6
store i32 %8, ptr @errno, align 4, !tbaa !6
br label %23
9: ; preds = %3
%10 = tail call i32 @_acl_type_unold(i32 noundef %1) #2
%11 = tail call i64 @_acl_type_not_valid_for_acl(ptr noundef nonnull %2, i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = load i32, ptr @EINVAL, align 4, !tbaa !6
store i32 %14, ptr @errno, align 4, !tbaa !6
br label %23
15: ; preds = %9
%16 = tail call i64 @_posix1e_acl(ptr noundef nonnull %2, i32 noundef %10) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = tail call i32 @_posix1e_acl_sort(ptr noundef nonnull %2) #2
br label %20
20: ; preds = %18, %15
%21 = getelementptr inbounds i8, ptr %2, i64 8
store i64 0, ptr %21, align 8, !tbaa !10
%22 = tail call i32 @__acl_set_file(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %2) #2
br label %23
23: ; preds = %20, %13, %7
%24 = phi i32 [ -1, %7 ], [ -1, %13 ], [ %22, %20 ]
ret i32 %24
}
declare i32 @_acl_type_unold(i32 noundef) local_unnamed_addr #1
declare i64 @_acl_type_not_valid_for_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @_posix1e_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_posix1e_acl_sort(ptr noundef) local_unnamed_addr #1
declare i32 @__acl_set_file(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
| freebsd_lib_libc_posix1e_extr_acl_set.c_acl_set_file |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-qcom.c_qcom_pcie_deinit_2_3_2.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-qcom.c_qcom_pcie_deinit_2_3_2.c"
target datalayout = "e-m:e-p270:32:32-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.qcom_pcie_resources_2_3_2 = type { i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @qcom_pcie_deinit_2_3_2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qcom_pcie_deinit_2_3_2(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.qcom_pcie_resources_2_3_2, ptr %0, i64 0, i32 4
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @clk_disable_unprepare(i32 noundef %3) #2
%5 = getelementptr inbounds %struct.qcom_pcie_resources_2_3_2, ptr %0, i64 0, i32 3
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.qcom_pcie_resources_2_3_2, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @clk_disable_unprepare(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.qcom_pcie_resources_2_3_2, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @clk_disable_unprepare(i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !13
%15 = tail call i32 @ARRAY_SIZE(i32 noundef %14) #2
%16 = load i32, ptr %0, align 4, !tbaa !13
%17 = tail call i32 @regulator_bulk_disable(i32 noundef %15, i32 noundef %16) #2
ret void
}
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @regulator_bulk_disable(i32 noundef, i32 noundef) local_unnamed_addr #1
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, !7, i64 16}
!6 = !{!"qcom_pcie_resources_2_3_2", !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 = !{!6, !7, i64 12}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-qcom.c_qcom_pcie_deinit_2_3_2.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-qcom.c_qcom_pcie_deinit_2_3_2.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 @qcom_pcie_deinit_2_3_2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qcom_pcie_deinit_2_3_2(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @clk_disable_unprepare(i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @clk_disable_unprepare(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @clk_disable_unprepare(i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !14
%15 = tail call i32 @ARRAY_SIZE(i32 noundef %14) #2
%16 = load i32, ptr %0, align 4, !tbaa !14
%17 = tail call i32 @regulator_bulk_disable(i32 noundef %15, i32 noundef %16) #2
ret void
}
declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1
declare i32 @regulator_bulk_disable(i32 noundef, i32 noundef) local_unnamed_addr #1
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, !8, i64 16}
!7 = !{!"qcom_pcie_resources_2_3_2", !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 = !{!7, !8, i64 12}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 0}
| linux_drivers_pci_controller_dwc_extr_pcie-qcom.c_qcom_pcie_deinit_2_3_2 |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_chap.c_chap_BuildAnswer.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_chap.c_chap_BuildAnswer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AUTHLEN = dso_local local_unnamed_addr global i32 0, align 4
@MS_CHAP_RESPONSE_LEN = dso_local local_unnamed_addr global i32 0, align 4
@CHAP81_HASH_LEN = dso_local local_unnamed_addr global i32 0, align 4
@CHAP81_RESPONSE_LEN = dso_local local_unnamed_addr global i32 0, align 4
@CHAP81_CHALLENGE_LEN = dso_local local_unnamed_addr global i64 0, align 8
@CHAP81_NTRESPONSE_OFF = dso_local local_unnamed_addr global i32 0, align 4
@MPPE_MasterKey = dso_local local_unnamed_addr global i32 0, align 4
@CHAP81_AUTHRESPONSE_LEN = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @chap_BuildAnswer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @chap_BuildAnswer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %2, ptr %9, align 4, !tbaa !5
%12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%13 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
switch i32 %4, label %232 [
i32 128, label %14
i32 129, label %118
]
14: ; preds = %8
%15 = load i32, ptr @AUTHLEN, align 4, !tbaa !5
%16 = shl i32 %15, 2
%17 = zext i32 %16 to i64
%18 = tail call ptr @llvm.stacksave.p0()
%19 = alloca i8, i64 %17, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
%20 = add i64 %12, 1
%21 = load i32, ptr @MS_CHAP_RESPONSE_LEN, align 4, !tbaa !5
%22 = sext i32 %21 to i64
%23 = add i64 %20, %22
%24 = tail call ptr @malloc(i64 noundef %23)
%25 = icmp eq ptr %24, null
br i1 %25, label %248, label %26
26: ; preds = %14
%27 = trunc i32 %21 to i8
%28 = getelementptr inbounds i8, ptr %24, i64 1
store i8 %27, ptr %24, align 1, !tbaa !9
%29 = getelementptr inbounds i8, ptr %28, i64 %22
%30 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef %0, i64 noundef %12) #6
%31 = icmp eq i32 %7, 0
br i1 %31, label %37, label %32
32: ; preds = %26
%33 = getelementptr inbounds i8, ptr %24, i64 25
%34 = tail call i32 @memset(ptr noundef nonnull %33, i8 noundef signext 0, i32 noundef 25) #6
%35 = getelementptr inbounds i8, ptr %3, i64 1
%36 = tail call i32 @mschap_LANMan(ptr noundef nonnull %28, ptr noundef nonnull %35, ptr noundef %1) #6
br label %117
37: ; preds = %26
%38 = tail call i32 @memset(ptr noundef nonnull %28, i8 noundef signext 0, i32 noundef 25) #6
%39 = getelementptr inbounds i8, ptr %24, i64 25
%40 = icmp eq i64 %13, 0
br i1 %40, label %110, label %41
41: ; preds = %37
%42 = icmp ult i64 %13, 24
br i1 %42, label %77, label %43
43: ; preds = %41
%44 = add i64 %13, -1
%45 = shl i64 %44, 1
%46 = getelementptr i8, ptr %19, i64 %45
%47 = icmp ult ptr %46, %19
%48 = getelementptr i8, ptr %19, i64 1
%49 = shl i64 %44, 1
%50 = icmp slt i64 %44, 0
%51 = getelementptr i8, ptr %48, i64 %49
%52 = icmp ult ptr %51, %48
%53 = or i1 %52, %50
%54 = or i1 %47, %53
br i1 %54, label %77, label %55
55: ; preds = %43
%56 = and i64 %13, -16
%57 = getelementptr i8, ptr %19, i64 -1
%58 = getelementptr i8, ptr %19, i64 -1
br label %59
59: ; preds = %59, %55
%60 = phi i64 [ 0, %55 ], [ %73, %59 ]
%61 = getelementptr inbounds i8, ptr %1, i64 %60
%62 = getelementptr inbounds i8, ptr %61, i64 8
%63 = load <8 x i8>, ptr %61, align 1, !tbaa !9
%64 = load <8 x i8>, ptr %62, align 1, !tbaa !9
%65 = shl i64 %60, 1
%66 = shl i64 %60, 1
%67 = or disjoint i64 %65, 1
%68 = or disjoint i64 %66, 17
%69 = getelementptr i8, ptr %57, i64 %67
%70 = getelementptr i8, ptr %58, i64 %68
%71 = shufflevector <8 x i8> %63, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %71, ptr %69, align 16, !tbaa !9
%72 = shufflevector <8 x i8> %64, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %72, ptr %70, align 16, !tbaa !9
%73 = add nuw i64 %60, 16
%74 = icmp eq i64 %73, %56
br i1 %74, label %75, label %59, !llvm.loop !10
75: ; preds = %59
%76 = icmp eq i64 %13, %56
br i1 %76, label %110, label %77
77: ; preds = %43, %41, %75
%78 = phi i64 [ 0, %43 ], [ 0, %41 ], [ %56, %75 ]
%79 = or disjoint i64 %78, 1
%80 = and i64 %13, 1
%81 = icmp eq i64 %80, 0
br i1 %81, label %90, label %82
82: ; preds = %77
%83 = getelementptr inbounds i8, ptr %1, i64 %78
%84 = load i8, ptr %83, align 1, !tbaa !9
%85 = shl i64 %78, 1
%86 = getelementptr inbounds i8, ptr %19, i64 %85
store i8 %84, ptr %86, align 16, !tbaa !9
%87 = or disjoint i64 %85, 1
%88 = getelementptr inbounds i8, ptr %19, i64 %87
store i8 0, ptr %88, align 1, !tbaa !9
%89 = or disjoint i64 %78, 1
br label %90
90: ; preds = %82, %77
%91 = phi i64 [ %78, %77 ], [ %89, %82 ]
%92 = icmp eq i64 %13, %79
br i1 %92, label %110, label %93
93: ; preds = %90, %93
%94 = phi i64 [ %108, %93 ], [ %91, %90 ]
%95 = getelementptr inbounds i8, ptr %1, i64 %94
%96 = load i8, ptr %95, align 1, !tbaa !9
%97 = shl i64 %94, 1
%98 = getelementptr inbounds i8, ptr %19, i64 %97
store i8 %96, ptr %98, align 2, !tbaa !9
%99 = or disjoint i64 %97, 1
%100 = getelementptr inbounds i8, ptr %19, i64 %99
store i8 0, ptr %100, align 1, !tbaa !9
%101 = add nuw i64 %94, 1
%102 = getelementptr inbounds i8, ptr %1, i64 %101
%103 = load i8, ptr %102, align 1, !tbaa !9
%104 = shl i64 %101, 1
%105 = getelementptr inbounds i8, ptr %19, i64 %104
store i8 %103, ptr %105, align 2, !tbaa !9
%106 = or disjoint i64 %104, 1
%107 = getelementptr inbounds i8, ptr %19, i64 %106
store i8 0, ptr %107, align 1, !tbaa !9
%108 = add nuw i64 %94, 2
%109 = icmp eq i64 %108, %13
br i1 %109, label %110, label %93, !llvm.loop !14
110: ; preds = %90, %93, %75, %37
%111 = call i32 @MD4Init(ptr noundef nonnull %10) #6
%112 = shl i64 %13, 1
%113 = call i32 @MD4Update(ptr noundef nonnull %10, ptr noundef nonnull %19, i64 noundef %112) #6
%114 = call i32 @MD4Final(ptr noundef nonnull %39, ptr noundef nonnull %10) #6
%115 = getelementptr inbounds i8, ptr %3, i64 1
%116 = call i32 @mschap_NT(ptr noundef nonnull %39, ptr noundef nonnull %115) #6
br label %117
117: ; preds = %32, %110
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
call void @llvm.stackrestore.p0(ptr %18)
br label %250
118: ; preds = %8
%119 = load i32, ptr @AUTHLEN, align 4, !tbaa !5
%120 = shl i32 %119, 2
%121 = zext i32 %120 to i64
%122 = tail call ptr @llvm.stacksave.p0()
%123 = alloca i8, i64 %121, align 16
%124 = load i32, ptr @CHAP81_HASH_LEN, align 4, !tbaa !5
%125 = zext i32 %124 to i64
%126 = alloca i8, i64 %125, align 16
%127 = alloca i8, i64 %125, align 16
%128 = add i64 %12, 1
%129 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !5
%130 = sext i32 %129 to i64
%131 = add i64 %128, %130
%132 = tail call ptr @malloc(i64 noundef %131)
%133 = icmp eq ptr %132, null
br i1 %133, label %249, label %134
134: ; preds = %118
%135 = trunc i64 %128 to i32
%136 = add i32 %129, %135
%137 = tail call i32 @memset(ptr noundef nonnull %132, i8 noundef signext 0, i32 noundef %136) #6
%138 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !5
%139 = trunc i32 %138 to i8
%140 = getelementptr inbounds i8, ptr %132, i64 1
store i8 %139, ptr %132, align 1, !tbaa !9
%141 = getelementptr inbounds i8, ptr %5, i64 1
%142 = load i64, ptr @CHAP81_CHALLENGE_LEN, align 8, !tbaa !15
%143 = tail call i32 @memcpy(ptr noundef nonnull %140, ptr noundef nonnull %141, i64 noundef %142) #6
%144 = icmp eq i64 %13, 0
br i1 %144, label %214, label %145
145: ; preds = %134
%146 = icmp ult i64 %13, 24
br i1 %146, label %181, label %147
147: ; preds = %145
%148 = add i64 %13, -1
%149 = shl i64 %148, 1
%150 = getelementptr i8, ptr %123, i64 %149
%151 = icmp ult ptr %150, %123
%152 = getelementptr i8, ptr %123, i64 1
%153 = shl i64 %148, 1
%154 = icmp slt i64 %148, 0
%155 = getelementptr i8, ptr %152, i64 %153
%156 = icmp ult ptr %155, %152
%157 = or i1 %156, %154
%158 = or i1 %151, %157
br i1 %158, label %181, label %159
159: ; preds = %147
%160 = and i64 %13, -16
%161 = getelementptr i8, ptr %123, i64 -1
%162 = getelementptr i8, ptr %123, i64 -1
br label %163
163: ; preds = %163, %159
%164 = phi i64 [ 0, %159 ], [ %177, %163 ]
%165 = getelementptr inbounds i8, ptr %1, i64 %164
%166 = getelementptr inbounds i8, ptr %165, i64 8
%167 = load <8 x i8>, ptr %165, align 1, !tbaa !9
%168 = load <8 x i8>, ptr %166, align 1, !tbaa !9
%169 = shl i64 %164, 1
%170 = shl i64 %164, 1
%171 = or disjoint i64 %169, 1
%172 = or disjoint i64 %170, 17
%173 = getelementptr i8, ptr %161, i64 %171
%174 = getelementptr i8, ptr %162, i64 %172
%175 = shufflevector <8 x i8> %167, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %175, ptr %173, align 16, !tbaa !9
%176 = shufflevector <8 x i8> %168, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %176, ptr %174, align 16, !tbaa !9
%177 = add nuw i64 %164, 16
%178 = icmp eq i64 %177, %160
br i1 %178, label %179, label %163, !llvm.loop !17
179: ; preds = %163
%180 = icmp eq i64 %13, %160
br i1 %180, label %214, label %181
181: ; preds = %147, %145, %179
%182 = phi i64 [ 0, %147 ], [ 0, %145 ], [ %160, %179 ]
%183 = or disjoint i64 %182, 1
%184 = and i64 %13, 1
%185 = icmp eq i64 %184, 0
br i1 %185, label %194, label %186
186: ; preds = %181
%187 = getelementptr inbounds i8, ptr %1, i64 %182
%188 = load i8, ptr %187, align 1, !tbaa !9
%189 = shl i64 %182, 1
%190 = getelementptr inbounds i8, ptr %123, i64 %189
store i8 %188, ptr %190, align 16, !tbaa !9
%191 = or disjoint i64 %189, 1
%192 = getelementptr inbounds i8, ptr %123, i64 %191
store i8 0, ptr %192, align 1, !tbaa !9
%193 = or disjoint i64 %182, 1
br label %194
194: ; preds = %186, %181
%195 = phi i64 [ %182, %181 ], [ %193, %186 ]
%196 = icmp eq i64 %13, %183
br i1 %196, label %214, label %197
197: ; preds = %194, %197
%198 = phi i64 [ %212, %197 ], [ %195, %194 ]
%199 = getelementptr inbounds i8, ptr %1, i64 %198
%200 = load i8, ptr %199, align 1, !tbaa !9
%201 = shl i64 %198, 1
%202 = getelementptr inbounds i8, ptr %123, i64 %201
store i8 %200, ptr %202, align 2, !tbaa !9
%203 = or disjoint i64 %201, 1
%204 = getelementptr inbounds i8, ptr %123, i64 %203
store i8 0, ptr %204, align 1, !tbaa !9
%205 = add nuw i64 %198, 1
%206 = getelementptr inbounds i8, ptr %1, i64 %205
%207 = load i8, ptr %206, align 1, !tbaa !9
%208 = shl i64 %205, 1
%209 = getelementptr inbounds i8, ptr %123, i64 %208
store i8 %207, ptr %209, align 2, !tbaa !9
%210 = or disjoint i64 %208, 1
%211 = getelementptr inbounds i8, ptr %123, i64 %210
store i8 0, ptr %211, align 1, !tbaa !9
%212 = add nuw i64 %198, 2
%213 = icmp eq i64 %212, %13
br i1 %213, label %214, label %197, !llvm.loop !18
214: ; preds = %194, %197, %179, %134
%215 = load i32, ptr @CHAP81_NTRESPONSE_OFF, align 4, !tbaa !5
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i8, ptr %140, i64 %216
%218 = shl i64 %13, 1
%219 = call i32 @NtPasswordHash(ptr noundef nonnull %123, i64 noundef %218, ptr noundef nonnull %126) #6
%220 = call i32 @HashNtPasswordHash(ptr noundef nonnull %126, ptr noundef nonnull %127) #6
%221 = getelementptr inbounds i8, ptr %3, i64 1
%222 = call i32 @GenerateNTResponse(ptr noundef nonnull %221, ptr noundef nonnull %141, ptr noundef %0, ptr noundef nonnull %123, i64 noundef %218, ptr noundef nonnull %217) #6
%223 = load i32, ptr @MPPE_MasterKey, align 4, !tbaa !5
%224 = call i32 @GetMasterKey(ptr noundef nonnull %127, ptr noundef nonnull %217, i32 noundef %223) #6
%225 = call i32 @GenerateAuthenticatorResponse(ptr noundef nonnull %123, i64 noundef %218, ptr noundef nonnull %217, ptr noundef nonnull %141, ptr noundef nonnull %221, ptr noundef %0, ptr noundef %6) #6
%226 = load i64, ptr @CHAP81_AUTHRESPONSE_LEN, align 8, !tbaa !15
%227 = getelementptr inbounds i8, ptr %6, i64 %226
store i8 0, ptr %227, align 1, !tbaa !9
%228 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !5
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %140, i64 %229
%231 = call i32 @memcpy(ptr noundef nonnull %230, ptr noundef %0, i64 noundef %12) #6
call void @llvm.stackrestore.p0(ptr %122)
br label %250
232: ; preds = %8
%233 = add i64 %12, 17
%234 = tail call ptr @malloc(i64 noundef %233)
%235 = icmp eq ptr %234, null
br i1 %235, label %250, label %236
236: ; preds = %232
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
%237 = getelementptr inbounds i8, ptr %234, i64 1
store i8 16, ptr %234, align 1, !tbaa !9
%238 = call i32 @MD5Init(ptr noundef nonnull %11) #6
%239 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef 1) #6
%240 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef %1, i64 noundef %13) #6
%241 = getelementptr inbounds i8, ptr %3, i64 1
%242 = load i8, ptr %3, align 1, !tbaa !9
%243 = sext i8 %242 to i32
%244 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef nonnull %241, i32 noundef %243) #6
%245 = call i32 @MD5Final(ptr noundef nonnull %237, ptr noundef nonnull %11) #6
%246 = getelementptr inbounds i8, ptr %234, i64 17
%247 = call i32 @memcpy(ptr noundef nonnull %246, ptr noundef %0, i64 noundef %12) #6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
br label %250
248: ; preds = %14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
tail call void @llvm.stackrestore.p0(ptr %18)
br label %250
249: ; preds = %118
tail call void @llvm.stackrestore.p0(ptr %122)
br label %250
250: ; preds = %214, %117, %232, %236, %249, %248
%251 = phi ptr [ null, %248 ], [ null, %249 ], [ %24, %117 ], [ %132, %214 ], [ %234, %236 ], [ null, %232 ]
ret ptr %251
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #5
declare i32 @mschap_LANMan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @MD4Init(ptr noundef) local_unnamed_addr #5
declare i32 @MD4Update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5
declare i32 @MD4Final(ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @mschap_NT(ptr noundef, ptr noundef) local_unnamed_addr #5
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @NtPasswordHash(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #5
declare i32 @HashNtPasswordHash(ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @GenerateNTResponse(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #5
declare i32 @GetMasterKey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5
declare i32 @GenerateAuthenticatorResponse(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @MD5Init(ptr noundef) local_unnamed_addr #5
declare i32 @MD5Update(ptr noundef, ...) local_unnamed_addr #5
declare i32 @MD5Final(ptr noundef, ptr noundef) local_unnamed_addr #5
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !11, !12, !13}
!18 = distinct !{!18, !11, !12}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_chap.c_chap_BuildAnswer.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_chap.c_chap_BuildAnswer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUTHLEN = common local_unnamed_addr global i32 0, align 4
@MS_CHAP_RESPONSE_LEN = common local_unnamed_addr global i32 0, align 4
@CHAP81_HASH_LEN = common local_unnamed_addr global i32 0, align 4
@CHAP81_RESPONSE_LEN = common local_unnamed_addr global i32 0, align 4
@CHAP81_CHALLENGE_LEN = common local_unnamed_addr global i64 0, align 8
@CHAP81_NTRESPONSE_OFF = common local_unnamed_addr global i32 0, align 4
@MPPE_MasterKey = common local_unnamed_addr global i32 0, align 4
@CHAP81_AUTHRESPONSE_LEN = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @chap_BuildAnswer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @chap_BuildAnswer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %2, ptr %9, align 4, !tbaa !6
%12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%13 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
switch i32 %4, label %260 [
i32 128, label %14
i32 129, label %132
]
14: ; preds = %8
%15 = load i32, ptr @AUTHLEN, align 4, !tbaa !6
%16 = shl i32 %15, 2
%17 = zext i32 %16 to i64
%18 = tail call ptr @llvm.stacksave.p0()
%19 = alloca i8, i64 %17, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
%20 = add i64 %12, 1
%21 = load i32, ptr @MS_CHAP_RESPONSE_LEN, align 4, !tbaa !6
%22 = sext i32 %21 to i64
%23 = add i64 %20, %22
%24 = tail call ptr @malloc(i64 noundef %23)
%25 = icmp eq ptr %24, null
br i1 %25, label %276, label %26
26: ; preds = %14
%27 = trunc i32 %21 to i8
%28 = getelementptr inbounds i8, ptr %24, i64 1
store i8 %27, ptr %24, align 1, !tbaa !10
%29 = getelementptr inbounds i8, ptr %28, i64 %22
%30 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef %0, i64 noundef %12) #6
%31 = icmp eq i32 %7, 0
br i1 %31, label %37, label %32
32: ; preds = %26
%33 = getelementptr inbounds i8, ptr %24, i64 25
%34 = tail call i32 @memset(ptr noundef nonnull %33, i8 noundef signext 0, i32 noundef 25) #6
%35 = getelementptr inbounds i8, ptr %3, i64 1
%36 = tail call i32 @mschap_LANMan(ptr noundef nonnull %28, ptr noundef nonnull %35, ptr noundef %1) #6
br label %131
37: ; preds = %26
%38 = tail call i32 @memset(ptr noundef nonnull %28, i8 noundef signext 0, i32 noundef 25) #6
%39 = getelementptr inbounds i8, ptr %24, i64 25
%40 = icmp eq i64 %13, 0
br i1 %40, label %124, label %41
41: ; preds = %37
%42 = icmp ult i64 %13, 8
br i1 %42, label %112, label %43
43: ; preds = %41
%44 = add i64 %13, -1
%45 = shl i64 %44, 1
%46 = getelementptr i8, ptr %19, i64 %45
%47 = icmp ult ptr %46, %19
%48 = getelementptr i8, ptr %19, i64 1
%49 = shl i64 %44, 1
%50 = icmp slt i64 %44, 0
%51 = getelementptr i8, ptr %48, i64 %49
%52 = icmp ult ptr %51, %48
%53 = or i1 %52, %50
%54 = or i1 %47, %53
br i1 %54, label %112, label %55
55: ; preds = %43
%56 = icmp ult i64 %13, 64
br i1 %56, label %96, label %57
57: ; preds = %55
%58 = and i64 %13, -64
%59 = getelementptr i8, ptr %19, i64 -1
%60 = getelementptr i8, ptr %19, i64 -1
%61 = getelementptr i8, ptr %19, i64 -1
%62 = getelementptr i8, ptr %19, i64 -1
br label %63
63: ; preds = %63, %57
%64 = phi i64 [ 0, %57 ], [ %89, %63 ]
%65 = getelementptr inbounds i8, ptr %1, i64 %64
%66 = getelementptr inbounds i8, ptr %65, i64 16
%67 = getelementptr inbounds i8, ptr %65, i64 32
%68 = getelementptr inbounds i8, ptr %65, i64 48
%69 = load <16 x i8>, ptr %65, align 1, !tbaa !10
%70 = load <16 x i8>, ptr %66, align 1, !tbaa !10
%71 = load <16 x i8>, ptr %67, align 1, !tbaa !10
%72 = load <16 x i8>, ptr %68, align 1, !tbaa !10
%73 = shl i64 %64, 1
%74 = shl i64 %64, 1
%75 = shl i64 %64, 1
%76 = shl i64 %64, 1
%77 = or disjoint i64 %73, 1
%78 = or disjoint i64 %74, 33
%79 = or disjoint i64 %75, 65
%80 = or disjoint i64 %76, 97
%81 = getelementptr i8, ptr %59, i64 %77
%82 = getelementptr i8, ptr %60, i64 %78
%83 = getelementptr i8, ptr %61, i64 %79
%84 = getelementptr i8, ptr %62, i64 %80
%85 = shufflevector <16 x i8> %69, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %85, ptr %81, align 1, !tbaa !10
%86 = shufflevector <16 x i8> %70, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %86, ptr %82, align 1, !tbaa !10
%87 = shufflevector <16 x i8> %71, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %87, ptr %83, align 1, !tbaa !10
%88 = shufflevector <16 x i8> %72, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %88, ptr %84, align 1, !tbaa !10
%89 = add nuw i64 %64, 64
%90 = icmp eq i64 %89, %58
br i1 %90, label %91, label %63, !llvm.loop !11
91: ; preds = %63
%92 = icmp eq i64 %13, %58
br i1 %92, label %124, label %93
93: ; preds = %91
%94 = and i64 %13, 56
%95 = icmp eq i64 %94, 0
br i1 %95, label %112, label %96
96: ; preds = %55, %93
%97 = phi i64 [ %58, %93 ], [ 0, %55 ]
%98 = and i64 %13, -8
%99 = getelementptr i8, ptr %19, i64 -1
br label %100
100: ; preds = %100, %96
%101 = phi i64 [ %97, %96 ], [ %108, %100 ]
%102 = getelementptr inbounds i8, ptr %1, i64 %101
%103 = load <8 x i8>, ptr %102, align 1, !tbaa !10
%104 = shl i64 %101, 1
%105 = or disjoint i64 %104, 1
%106 = getelementptr i8, ptr %99, i64 %105
%107 = shufflevector <8 x i8> %103, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %107, ptr %106, align 1, !tbaa !10
%108 = add nuw i64 %101, 8
%109 = icmp eq i64 %108, %98
br i1 %109, label %110, label %100, !llvm.loop !15
110: ; preds = %100
%111 = icmp eq i64 %13, %98
br i1 %111, label %124, label %112
112: ; preds = %110, %43, %41, %93
%113 = phi i64 [ 0, %41 ], [ 0, %43 ], [ %58, %93 ], [ %98, %110 ]
br label %114
114: ; preds = %112, %114
%115 = phi i64 [ %122, %114 ], [ %113, %112 ]
%116 = getelementptr inbounds i8, ptr %1, i64 %115
%117 = load i8, ptr %116, align 1, !tbaa !10
%118 = shl i64 %115, 1
%119 = getelementptr inbounds i8, ptr %19, i64 %118
store i8 %117, ptr %119, align 1, !tbaa !10
%120 = or disjoint i64 %118, 1
%121 = getelementptr inbounds i8, ptr %19, i64 %120
store i8 0, ptr %121, align 1, !tbaa !10
%122 = add nuw i64 %115, 1
%123 = icmp eq i64 %122, %13
br i1 %123, label %124, label %114, !llvm.loop !16
124: ; preds = %114, %91, %110, %37
%125 = call i32 @MD4Init(ptr noundef nonnull %10) #6
%126 = shl i64 %13, 1
%127 = call i32 @MD4Update(ptr noundef nonnull %10, ptr noundef nonnull %19, i64 noundef %126) #6
%128 = call i32 @MD4Final(ptr noundef nonnull %39, ptr noundef nonnull %10) #6
%129 = getelementptr inbounds i8, ptr %3, i64 1
%130 = call i32 @mschap_NT(ptr noundef nonnull %39, ptr noundef nonnull %129) #6
br label %131
131: ; preds = %32, %124
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
call void @llvm.stackrestore.p0(ptr %18)
br label %278
132: ; preds = %8
%133 = load i32, ptr @AUTHLEN, align 4, !tbaa !6
%134 = shl i32 %133, 2
%135 = zext i32 %134 to i64
%136 = tail call ptr @llvm.stacksave.p0()
%137 = alloca i8, i64 %135, align 1
%138 = load i32, ptr @CHAP81_HASH_LEN, align 4, !tbaa !6
%139 = zext i32 %138 to i64
%140 = alloca i8, i64 %139, align 1
%141 = alloca i8, i64 %139, align 1
%142 = add i64 %12, 1
%143 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !6
%144 = sext i32 %143 to i64
%145 = add i64 %142, %144
%146 = tail call ptr @malloc(i64 noundef %145)
%147 = icmp eq ptr %146, null
br i1 %147, label %277, label %148
148: ; preds = %132
%149 = trunc i64 %142 to i32
%150 = add i32 %143, %149
%151 = tail call i32 @memset(ptr noundef nonnull %146, i8 noundef signext 0, i32 noundef %150) #6
%152 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !6
%153 = trunc i32 %152 to i8
%154 = getelementptr inbounds i8, ptr %146, i64 1
store i8 %153, ptr %146, align 1, !tbaa !10
%155 = getelementptr inbounds i8, ptr %5, i64 1
%156 = load i64, ptr @CHAP81_CHALLENGE_LEN, align 8, !tbaa !17
%157 = tail call i32 @memcpy(ptr noundef nonnull %154, ptr noundef nonnull %155, i64 noundef %156) #6
%158 = icmp eq i64 %13, 0
br i1 %158, label %242, label %159
159: ; preds = %148
%160 = icmp ult i64 %13, 8
br i1 %160, label %230, label %161
161: ; preds = %159
%162 = add i64 %13, -1
%163 = shl i64 %162, 1
%164 = getelementptr i8, ptr %137, i64 %163
%165 = icmp ult ptr %164, %137
%166 = getelementptr i8, ptr %137, i64 1
%167 = shl i64 %162, 1
%168 = icmp slt i64 %162, 0
%169 = getelementptr i8, ptr %166, i64 %167
%170 = icmp ult ptr %169, %166
%171 = or i1 %170, %168
%172 = or i1 %165, %171
br i1 %172, label %230, label %173
173: ; preds = %161
%174 = icmp ult i64 %13, 64
br i1 %174, label %214, label %175
175: ; preds = %173
%176 = and i64 %13, -64
%177 = getelementptr i8, ptr %137, i64 -1
%178 = getelementptr i8, ptr %137, i64 -1
%179 = getelementptr i8, ptr %137, i64 -1
%180 = getelementptr i8, ptr %137, i64 -1
br label %181
181: ; preds = %181, %175
%182 = phi i64 [ 0, %175 ], [ %207, %181 ]
%183 = getelementptr inbounds i8, ptr %1, i64 %182
%184 = getelementptr inbounds i8, ptr %183, i64 16
%185 = getelementptr inbounds i8, ptr %183, i64 32
%186 = getelementptr inbounds i8, ptr %183, i64 48
%187 = load <16 x i8>, ptr %183, align 1, !tbaa !10
%188 = load <16 x i8>, ptr %184, align 1, !tbaa !10
%189 = load <16 x i8>, ptr %185, align 1, !tbaa !10
%190 = load <16 x i8>, ptr %186, align 1, !tbaa !10
%191 = shl i64 %182, 1
%192 = shl i64 %182, 1
%193 = shl i64 %182, 1
%194 = shl i64 %182, 1
%195 = or disjoint i64 %191, 1
%196 = or disjoint i64 %192, 33
%197 = or disjoint i64 %193, 65
%198 = or disjoint i64 %194, 97
%199 = getelementptr i8, ptr %177, i64 %195
%200 = getelementptr i8, ptr %178, i64 %196
%201 = getelementptr i8, ptr %179, i64 %197
%202 = getelementptr i8, ptr %180, i64 %198
%203 = shufflevector <16 x i8> %187, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %203, ptr %199, align 1, !tbaa !10
%204 = shufflevector <16 x i8> %188, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %204, ptr %200, align 1, !tbaa !10
%205 = shufflevector <16 x i8> %189, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %205, ptr %201, align 1, !tbaa !10
%206 = shufflevector <16 x i8> %190, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31>
store <32 x i8> %206, ptr %202, align 1, !tbaa !10
%207 = add nuw i64 %182, 64
%208 = icmp eq i64 %207, %176
br i1 %208, label %209, label %181, !llvm.loop !19
209: ; preds = %181
%210 = icmp eq i64 %13, %176
br i1 %210, label %242, label %211
211: ; preds = %209
%212 = and i64 %13, 56
%213 = icmp eq i64 %212, 0
br i1 %213, label %230, label %214
214: ; preds = %173, %211
%215 = phi i64 [ %176, %211 ], [ 0, %173 ]
%216 = and i64 %13, -8
%217 = getelementptr i8, ptr %137, i64 -1
br label %218
218: ; preds = %218, %214
%219 = phi i64 [ %215, %214 ], [ %226, %218 ]
%220 = getelementptr inbounds i8, ptr %1, i64 %219
%221 = load <8 x i8>, ptr %220, align 1, !tbaa !10
%222 = shl i64 %219, 1
%223 = or disjoint i64 %222, 1
%224 = getelementptr i8, ptr %217, i64 %223
%225 = shufflevector <8 x i8> %221, <8 x i8> zeroinitializer, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15>
store <16 x i8> %225, ptr %224, align 1, !tbaa !10
%226 = add nuw i64 %219, 8
%227 = icmp eq i64 %226, %216
br i1 %227, label %228, label %218, !llvm.loop !20
228: ; preds = %218
%229 = icmp eq i64 %13, %216
br i1 %229, label %242, label %230
230: ; preds = %228, %161, %159, %211
%231 = phi i64 [ 0, %159 ], [ 0, %161 ], [ %176, %211 ], [ %216, %228 ]
br label %232
232: ; preds = %230, %232
%233 = phi i64 [ %240, %232 ], [ %231, %230 ]
%234 = getelementptr inbounds i8, ptr %1, i64 %233
%235 = load i8, ptr %234, align 1, !tbaa !10
%236 = shl i64 %233, 1
%237 = getelementptr inbounds i8, ptr %137, i64 %236
store i8 %235, ptr %237, align 1, !tbaa !10
%238 = or disjoint i64 %236, 1
%239 = getelementptr inbounds i8, ptr %137, i64 %238
store i8 0, ptr %239, align 1, !tbaa !10
%240 = add nuw i64 %233, 1
%241 = icmp eq i64 %240, %13
br i1 %241, label %242, label %232, !llvm.loop !21
242: ; preds = %232, %209, %228, %148
%243 = load i32, ptr @CHAP81_NTRESPONSE_OFF, align 4, !tbaa !6
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i8, ptr %154, i64 %244
%246 = shl i64 %13, 1
%247 = call i32 @NtPasswordHash(ptr noundef nonnull %137, i64 noundef %246, ptr noundef nonnull %140) #6
%248 = call i32 @HashNtPasswordHash(ptr noundef nonnull %140, ptr noundef nonnull %141) #6
%249 = getelementptr inbounds i8, ptr %3, i64 1
%250 = call i32 @GenerateNTResponse(ptr noundef nonnull %249, ptr noundef nonnull %155, ptr noundef %0, ptr noundef nonnull %137, i64 noundef %246, ptr noundef nonnull %245) #6
%251 = load i32, ptr @MPPE_MasterKey, align 4, !tbaa !6
%252 = call i32 @GetMasterKey(ptr noundef nonnull %141, ptr noundef nonnull %245, i32 noundef %251) #6
%253 = call i32 @GenerateAuthenticatorResponse(ptr noundef nonnull %137, i64 noundef %246, ptr noundef nonnull %245, ptr noundef nonnull %155, ptr noundef nonnull %249, ptr noundef %0, ptr noundef %6) #6
%254 = load i64, ptr @CHAP81_AUTHRESPONSE_LEN, align 8, !tbaa !17
%255 = getelementptr inbounds i8, ptr %6, i64 %254
store i8 0, ptr %255, align 1, !tbaa !10
%256 = load i32, ptr @CHAP81_RESPONSE_LEN, align 4, !tbaa !6
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i8, ptr %154, i64 %257
%259 = call i32 @memcpy(ptr noundef nonnull %258, ptr noundef %0, i64 noundef %12) #6
call void @llvm.stackrestore.p0(ptr %136)
br label %278
260: ; preds = %8
%261 = add i64 %12, 17
%262 = tail call ptr @malloc(i64 noundef %261)
%263 = icmp eq ptr %262, null
br i1 %263, label %278, label %264
264: ; preds = %260
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
%265 = getelementptr inbounds i8, ptr %262, i64 1
store i8 16, ptr %262, align 1, !tbaa !10
%266 = call i32 @MD5Init(ptr noundef nonnull %11) #6
%267 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef 1) #6
%268 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef %1, i64 noundef %13) #6
%269 = getelementptr inbounds i8, ptr %3, i64 1
%270 = load i8, ptr %3, align 1, !tbaa !10
%271 = sext i8 %270 to i32
%272 = call i32 (ptr, ...) @MD5Update(ptr noundef nonnull %11, ptr noundef nonnull %269, i32 noundef %271) #6
%273 = call i32 @MD5Final(ptr noundef nonnull %265, ptr noundef nonnull %11) #6
%274 = getelementptr inbounds i8, ptr %262, i64 17
%275 = call i32 @memcpy(ptr noundef nonnull %274, ptr noundef %0, i64 noundef %12) #6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
br label %278
276: ; preds = %14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
tail call void @llvm.stackrestore.p0(ptr %18)
br label %278
277: ; preds = %132
tail call void @llvm.stackrestore.p0(ptr %136)
br label %278
278: ; preds = %242, %131, %260, %264, %277, %276
%279 = phi ptr [ null, %276 ], [ null, %277 ], [ %24, %131 ], [ %146, %242 ], [ %262, %264 ], [ null, %260 ]
ret ptr %279
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #5
declare i32 @mschap_LANMan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @MD4Init(ptr noundef) local_unnamed_addr #5
declare i32 @MD4Update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5
declare i32 @MD4Final(ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @mschap_NT(ptr noundef, ptr noundef) local_unnamed_addr #5
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @NtPasswordHash(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #5
declare i32 @HashNtPasswordHash(ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @GenerateNTResponse(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #5
declare i32 @GetMasterKey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5
declare i32 @GenerateAuthenticatorResponse(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5
declare i32 @MD5Init(ptr noundef) local_unnamed_addr #5
declare i32 @MD5Update(ptr noundef, ...) local_unnamed_addr #5
declare i32 @MD5Final(ptr noundef, ptr noundef) local_unnamed_addr #5
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #6 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13, !14}
!16 = distinct !{!16, !12, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = distinct !{!19, !12, !13, !14}
!20 = distinct !{!20, !12, !13, !14}
!21 = distinct !{!21, !12, !13}
| freebsd_usr.sbin_ppp_extr_chap.c_chap_BuildAnswer |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ahc_softc = type { i32, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32 }
@AHC_NUM_TARGETS = dso_local local_unnamed_addr global i32 0, align 4
@M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4
@AHC_NUM_LUNS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ahc_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
switch i32 %2, label %3 [
i32 0, label %26
i32 4, label %5
i32 3, label %11
i32 2, label %22
i32 1, label %26
]
3: ; preds = %1
%4 = tail call i32 @ahc_shutdown(ptr noundef nonnull %0) #2
br label %5
5: ; preds = %1, %3
%6 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 9
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 10
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @ahc_dmamap_unload(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
%12 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 9
%13 = load i32, ptr %12, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 11
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 10
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call i32 @ahc_dmamem_free(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %15, i32 noundef %17) #2
%19 = load i32, ptr %12, align 8, !tbaa !11
%20 = load i32, ptr %16, align 4, !tbaa !12
%21 = tail call i32 @ahc_dmamap_destroy(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20) #2
br label %22
22: ; preds = %1, %11
%23 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 9
%24 = load i32, ptr %23, align 8, !tbaa !11
%25 = tail call i32 @ahc_dma_tag_destroy(ptr noundef nonnull %0, i32 noundef %24) #2
br label %26
26: ; preds = %1, %22, %1
%27 = tail call i32 @ahc_platform_free(ptr noundef nonnull %0) #2
%28 = tail call i32 @ahc_fini_scbdata(ptr noundef nonnull %0) #2
%29 = load i32, ptr @AHC_NUM_TARGETS, align 4, !tbaa !14
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %49
31: ; preds = %26
%32 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 6
br label %33
33: ; preds = %31, %44
%34 = phi i32 [ %29, %31 ], [ %45, %44 ]
%35 = phi i64 [ 0, %31 ], [ %46, %44 ]
%36 = load ptr, ptr %32, align 8, !tbaa !15
%37 = getelementptr inbounds ptr, ptr %36, i64 %35
%38 = load ptr, ptr %37, align 8, !tbaa !16
%39 = icmp eq ptr %38, null
br i1 %39, label %44, label %40
40: ; preds = %33
%41 = load i32, ptr @M_DEVBUF, align 4, !tbaa !14
%42 = tail call i32 @free(ptr noundef nonnull %38, i32 noundef %41) #2
%43 = load i32, ptr @AHC_NUM_TARGETS, align 4, !tbaa !14
br label %44
44: ; preds = %40, %33
%45 = phi i32 [ %43, %40 ], [ %34, %33 ]
%46 = add nuw nsw i64 %35, 1
%47 = sext i32 %45 to i64
%48 = icmp slt i64 %46, %47
br i1 %48, label %33, label %49, !llvm.loop !17
49: ; preds = %44, %26
%50 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 2
%51 = load ptr, ptr %50, align 8, !tbaa !19
%52 = icmp eq ptr %51, null
br i1 %52, label %56, label %53
53: ; preds = %49
%54 = load i32, ptr @M_DEVBUF, align 4, !tbaa !14
%55 = tail call i32 @free(ptr noundef nonnull %51, i32 noundef %54) #2
br label %56
56: ; preds = %53, %49
%57 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 1
%58 = load ptr, ptr %57, align 8, !tbaa !20
%59 = icmp eq ptr %58, null
br i1 %59, label %63, label %60
60: ; preds = %56
%61 = load i32, ptr @M_DEVBUF, align 4, !tbaa !14
%62 = tail call i32 @free(ptr noundef nonnull %58, i32 noundef %61) #2
br label %63
63: ; preds = %60, %56
%64 = load i32, ptr @M_DEVBUF, align 4, !tbaa !14
%65 = tail call i32 @free(ptr noundef nonnull %0, i32 noundef %64) #2
ret void
}
declare i32 @ahc_shutdown(ptr noundef) local_unnamed_addr #1
declare i32 @ahc_dmamap_unload(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dmamem_free(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dmamap_destroy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dma_tag_destroy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_platform_free(ptr noundef) local_unnamed_addr #1
declare i32 @ahc_fini_scbdata(ptr noundef) local_unnamed_addr #1
declare i32 @free(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 = !{!"ahc_softc", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72}
!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 64}
!12 = !{!6, !7, i64 68}
!13 = !{!6, !7, i64 72}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !10, i64 48}
!16 = !{!10, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !10, i64 16}
!20 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AHC_NUM_TARGETS = common local_unnamed_addr global i32 0, align 4
@M_DEVBUF = common local_unnamed_addr global i32 0, align 4
@AHC_NUM_LUNS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ahc_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
switch i32 %2, label %3 [
i32 0, label %30
i32 4, label %5
i32 3, label %11
i32 2, label %22
i32 1, label %26
]
3: ; preds = %1
%4 = tail call i32 @ahc_shutdown(ptr noundef nonnull %0) #2
br label %5
5: ; preds = %1, %3
%6 = getelementptr inbounds i8, ptr %0, i64 64
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds i8, ptr %0, i64 68
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i32 @ahc_dmamap_unload(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
%12 = getelementptr inbounds i8, ptr %0, i64 64
%13 = load i32, ptr %12, align 8, !tbaa !12
%14 = getelementptr inbounds i8, ptr %0, i64 72
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %0, i64 68
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = tail call i32 @ahc_dmamem_free(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %15, i32 noundef %17) #2
%19 = load i32, ptr %12, align 8, !tbaa !12
%20 = load i32, ptr %16, align 4, !tbaa !13
%21 = tail call i32 @ahc_dmamap_destroy(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20) #2
br label %22
22: ; preds = %1, %11
%23 = getelementptr inbounds i8, ptr %0, i64 64
%24 = load i32, ptr %23, align 8, !tbaa !12
%25 = tail call i32 @ahc_dma_tag_destroy(ptr noundef nonnull %0, i32 noundef %24) #2
br label %26
26: ; preds = %1, %22
%27 = getelementptr inbounds i8, ptr %0, i64 60
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = tail call i32 @ahc_dma_tag_destroy(ptr noundef nonnull %0, i32 noundef %28) #2
br label %30
30: ; preds = %1, %26
%31 = getelementptr inbounds i8, ptr %0, i64 56
%32 = load i32, ptr %31, align 8, !tbaa !16
%33 = tail call i32 @ahc_dma_tag_destroy(ptr noundef nonnull %0, i32 noundef %32) #2
%34 = tail call i32 @ahc_platform_free(ptr noundef nonnull %0) #2
%35 = tail call i32 @ahc_fini_scbdata(ptr noundef nonnull %0) #2
%36 = load i32, ptr @AHC_NUM_TARGETS, align 4, !tbaa !17
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %56
38: ; preds = %30
%39 = getelementptr inbounds i8, ptr %0, i64 48
br label %40
40: ; preds = %38, %51
%41 = phi i32 [ %36, %38 ], [ %52, %51 ]
%42 = phi i64 [ 0, %38 ], [ %53, %51 ]
%43 = load ptr, ptr %39, align 8, !tbaa !18
%44 = getelementptr inbounds ptr, ptr %43, i64 %42
%45 = load ptr, ptr %44, align 8, !tbaa !19
%46 = icmp eq ptr %45, null
br i1 %46, label %51, label %47
47: ; preds = %40
%48 = load i32, ptr @M_DEVBUF, align 4, !tbaa !17
%49 = tail call i32 @free(ptr noundef nonnull %45, i32 noundef %48) #2
%50 = load i32, ptr @AHC_NUM_TARGETS, align 4, !tbaa !17
br label %51
51: ; preds = %47, %40
%52 = phi i32 [ %50, %47 ], [ %41, %40 ]
%53 = add nuw nsw i64 %42, 1
%54 = sext i32 %52 to i64
%55 = icmp slt i64 %53, %54
br i1 %55, label %40, label %56, !llvm.loop !20
56: ; preds = %51, %30
%57 = getelementptr inbounds i8, ptr %0, i64 16
%58 = load ptr, ptr %57, align 8, !tbaa !22
%59 = icmp eq ptr %58, null
br i1 %59, label %63, label %60
60: ; preds = %56
%61 = load i32, ptr @M_DEVBUF, align 4, !tbaa !17
%62 = tail call i32 @free(ptr noundef nonnull %58, i32 noundef %61) #2
br label %63
63: ; preds = %60, %56
%64 = getelementptr inbounds i8, ptr %0, i64 8
%65 = load ptr, ptr %64, align 8, !tbaa !23
%66 = icmp eq ptr %65, null
br i1 %66, label %70, label %67
67: ; preds = %63
%68 = load i32, ptr @M_DEVBUF, align 4, !tbaa !17
%69 = tail call i32 @free(ptr noundef nonnull %65, i32 noundef %68) #2
br label %70
70: ; preds = %67, %63
%71 = load i32, ptr @M_DEVBUF, align 4, !tbaa !17
%72 = tail call i32 @free(ptr noundef nonnull %0, i32 noundef %71) #2
ret void
}
declare i32 @ahc_shutdown(ptr noundef) local_unnamed_addr #1
declare i32 @ahc_dmamap_unload(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dmamem_free(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dmamap_destroy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_dma_tag_destroy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahc_platform_free(ptr noundef) local_unnamed_addr #1
declare i32 @ahc_fini_scbdata(ptr noundef) local_unnamed_addr #1
declare i32 @free(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 = !{!"ahc_softc", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72}
!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 64}
!13 = !{!7, !8, i64 68}
!14 = !{!7, !8, i64 72}
!15 = !{!7, !8, i64 60}
!16 = !{!7, !8, i64 56}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !11, i64 48}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !11, i64 16}
!23 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_scsi_aic7xxx_extr_aic7xxx_core.c_ahc_free |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_buildvm_lib.c_libdef_regfunc.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_buildvm_lib.c_libdef_regfunc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@regfunc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @libdef_regfunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @libdef_regfunc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @UNUSED(ptr noundef %0) #2
%5 = tail call i32 @UNUSED(ptr noundef %1) #2
store i32 %2, ptr @regfunc, align 4, !tbaa !5
ret void
}
declare i32 @UNUSED(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/xLua/build/luajit-2.1.0b2/src/host/extr_buildvm_lib.c_libdef_regfunc.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_buildvm_lib.c_libdef_regfunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@regfunc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @libdef_regfunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @libdef_regfunc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @UNUSED(ptr noundef %0) #2
%5 = tail call i32 @UNUSED(ptr noundef %1) #2
store i32 %2, ptr @regfunc, align 4, !tbaa !6
ret void
}
declare i32 @UNUSED(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"}
| xLua_build_luajit-2.1.0b2_src_host_extr_buildvm_lib.c_libdef_regfunc |
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_portals.c_ClusterContents.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_portals.c_ClusterContents.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32, ptr }
@PLANENUM_LEAF = dso_local local_unnamed_addr global i64 0, align 8
@CONTENTS_SOLID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @ClusterContents(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !13
br label %8
8: ; preds = %10, %5
%9 = phi i32 [ %7, %5 ], [ %27, %10 ]
ret i32 %9
10: ; preds = %1
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = tail call i32 @ClusterContents(ptr noundef %13)
%15 = getelementptr inbounds ptr, ptr %12, i64 1
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = tail call i32 @ClusterContents(ptr noundef %16)
%18 = or i32 %17, %14
%19 = load i32, ptr @CONTENTS_SOLID, align 4
%20 = and i32 %19, %14
%21 = icmp eq i32 %20, 0
%22 = and i32 %19, %17
%23 = icmp eq i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = xor i32 %19, -1
%26 = select i1 %24, i32 %25, i32 -1
%27 = and i32 %26, %18
br label %8
}
attributes #0 = { nofree 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, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !11, i64 16}
!15 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_portals.c_ClusterContents.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_portals.c_ClusterContents.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PLANENUM_LEAF = common local_unnamed_addr global i64 0, align 8
@CONTENTS_SOLID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @ClusterContents(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !13
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !14
br label %8
8: ; preds = %10, %5
%9 = phi i32 [ %7, %5 ], [ %27, %10 ]
ret i32 %9
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = load ptr, ptr %12, align 8, !tbaa !16
%14 = tail call i32 @ClusterContents(ptr noundef %13)
%15 = getelementptr inbounds i8, ptr %12, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !16
%17 = tail call i32 @ClusterContents(ptr noundef %16)
%18 = or i32 %17, %14
%19 = load i32, ptr @CONTENTS_SOLID, align 4
%20 = and i32 %19, %14
%21 = icmp eq i32 %20, 0
%22 = and i32 %19, %17
%23 = icmp eq i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = xor i32 %19, -1
%26 = select i1 %24, i32 %25, i32 -1
%27 = and i32 %26, %18
br label %8
}
attributes #0 = { nofree 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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !12, i64 16}
!16 = !{!12, !12, i64 0}
| lab_engine_code_bspc_extr_portals.c_ClusterContents |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_sd.c_sd_pr_type.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_sd.c_sd_pr_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_pr_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef signext i8 @sd_pr_type(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 6
%4 = zext i32 %2 to i48
%5 = shl nuw nsw i48 %4, 3
%6 = lshr i48 3332995352325, %5
%7 = trunc i48 %6 to i8
%8 = select i1 %3, i8 %7, i8 0
ret i8 %8
}
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/scsi/extr_sd.c_sd_pr_type.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_sd.c_sd_pr_type.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 @sd_pr_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal signext range(i8 0, 9) i8 @sd_pr_type(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 6
%4 = zext i32 %2 to i48
%5 = shl nuw nsw i48 %4, 3
%6 = lshr i48 3332995352325, %5
%7 = trunc i48 %6 to i8
%8 = select i1 %3, i8 %7, i8 0
ret i8 %8
}
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_scsi_extr_sd.c_sd_pr_type |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/rosperf/extr_rosperf.c_ReportTimes.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/rosperf/extr_rosperf.c_ReportTimes.c"
target datalayout = "e-m:e-p270:32:32-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 [37 x i32] [i32 37, i32 55, i32 100, i32 32, i32 37, i32 115, i32 32, i32 64, i32 32, i32 37, i32 56, i32 46, i32 52, i32 102, i32 32, i32 109, i32 115, i32 101, i32 99, i32 32, i32 40, i32 37, i32 56, i32 46, i32 49, i32 102, i32 47, i32 115, i32 101, i32 99, i32 41, i32 58, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.1 = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 101, i32 112, i32 0], align 4
@.str.2 = private unnamed_addr constant [5 x i32] [i32 114, i32 101, i32 112, i32 115, i32 0], align 4
@.str.3 = private unnamed_addr constant [47 x i32] [i32 37, i32 54, i32 100, i32 32, i32 37, i32 115, i32 114, i32 101, i32 112, i32 115, i32 32, i32 64, i32 32, i32 48, i32 46, i32 48, i32 32, i32 109, i32 115, i32 101, i32 99, i32 32, i32 40, i32 117, i32 110, i32 109, i32 101, i32 97, i32 115, i32 117, i32 114, i32 97, i32 98, i32 108, i32 121, i32 32, i32 102, i32 97, i32 115, i32 116, i32 41, i32 58, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 116, i32 0], align 4
@.str.5 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ReportTimes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ReportTimes(i64 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %0, 0
br i1 %5, label %16, label %6
6: ; preds = %4
%7 = sitofp i64 %0 to double
%8 = sitofp i32 %1 to double
%9 = fdiv double %7, %8
%10 = fmul double %8, 1.000000e+03
%11 = fdiv double %10, %7
%12 = tail call double @RoundTo3Digits(double noundef %11) #2
%13 = icmp eq i64 %3, 0
%14 = select i1 %13, ptr @.str.2, ptr @.str.1
%15 = tail call i32 (ptr, i32, ptr, ...) @wprintf(ptr noundef nonnull @.str, i32 noundef %1, ptr noundef nonnull %14, double noundef %9, double noundef %12, ptr noundef %2) #2
br label %20
16: ; preds = %4
%17 = icmp eq i64 %3, 0
%18 = select i1 %17, ptr @.str.5, ptr @.str.4
%19 = tail call i32 (ptr, i32, ptr, ...) @wprintf(ptr noundef nonnull @.str.3, i32 noundef %1, ptr noundef nonnull %18, ptr noundef %2) #2
br label %20
20: ; preds = %16, %6
ret void
}
declare double @RoundTo3Digits(double noundef) local_unnamed_addr #1
declare i32 @wprintf(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)"}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/rosperf/extr_rosperf.c_ReportTimes.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/rosperf/extr_rosperf.c_ReportTimes.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 [37 x i32] [i32 37, i32 55, i32 100, i32 32, i32 37, i32 115, i32 32, i32 64, i32 32, i32 37, i32 56, i32 46, i32 52, i32 102, i32 32, i32 109, i32 115, i32 101, i32 99, i32 32, i32 40, i32 37, i32 56, i32 46, i32 49, i32 102, i32 47, i32 115, i32 101, i32 99, i32 41, i32 58, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.1 = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 101, i32 112, i32 0], align 4
@.str.2 = private unnamed_addr constant [5 x i32] [i32 114, i32 101, i32 112, i32 115, i32 0], align 4
@.str.3 = private unnamed_addr constant [47 x i32] [i32 37, i32 54, i32 100, i32 32, i32 37, i32 115, i32 114, i32 101, i32 112, i32 115, i32 32, i32 64, i32 32, i32 48, i32 46, i32 48, i32 32, i32 109, i32 115, i32 101, i32 99, i32 32, i32 40, i32 117, i32 110, i32 109, i32 101, i32 97, i32 115, i32 117, i32 114, i32 97, i32 98, i32 108, i32 121, i32 32, i32 102, i32 97, i32 115, i32 116, i32 41, i32 58, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 116, i32 0], align 4
@.str.5 = private unnamed_addr constant [1 x i32] zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @ReportTimes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ReportTimes(i64 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %0, 0
br i1 %5, label %16, label %6
6: ; preds = %4
%7 = sitofp i64 %0 to double
%8 = sitofp i32 %1 to double
%9 = fdiv double %7, %8
%10 = fmul double %8, 1.000000e+03
%11 = fdiv double %10, %7
%12 = tail call double @RoundTo3Digits(double noundef %11) #2
%13 = icmp eq i64 %3, 0
%14 = select i1 %13, ptr @.str.2, ptr @.str.1
%15 = tail call i32 (ptr, i32, ptr, ...) @wprintf(ptr noundef nonnull @.str, i32 noundef %1, ptr noundef nonnull %14, double noundef %9, double noundef %12, ptr noundef %2) #2
br label %20
16: ; preds = %4
%17 = icmp eq i64 %3, 0
%18 = select i1 %17, ptr @.str.5, ptr @.str.4
%19 = tail call i32 (ptr, i32, ptr, ...) @wprintf(ptr noundef nonnull @.str.3, i32 noundef %1, ptr noundef nonnull %18, ptr noundef %2) #2
br label %20
20: ; preds = %16, %6
ret void
}
declare double @RoundTo3Digits(double noundef) local_unnamed_addr #1
declare i32 @wprintf(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)"}
| reactos_modules_rosapps_applications_sysutils_utils_rosperf_extr_rosperf.c_ReportTimes |
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_inode.h_gfs2_is_jdata.c'
source_filename = "AnghaBench/linux/fs/gfs2/extr_inode.h_gfs2_is_jdata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GFS2_DIF_JDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gfs2_is_jdata], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @gfs2_is_jdata(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @GFS2_DIF_JDATA, align 4, !tbaa !10
%4 = and i32 %3, %2
ret i32 %4
}
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 = !{!"gfs2_inode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_inode.h_gfs2_is_jdata.c'
source_filename = "AnghaBench/linux/fs/gfs2/extr_inode.h_gfs2_is_jdata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFS2_DIF_JDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gfs2_is_jdata], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @gfs2_is_jdata(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @GFS2_DIF_JDATA, align 4, !tbaa !11
%4 = and i32 %3, %2
ret i32 %4
}
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 = !{!"gfs2_inode", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_fs_gfs2_extr_inode.h_gfs2_is_jdata |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_Sound_Exit.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_Sound_Exit.c"
target datalayout = "e-m:e-p270:32:32-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 @Sound_Exit() local_unnamed_addr #0 {
%1 = tail call i32 (...) @audsrv_quit() #2
ret void
}
declare i32 @audsrv_quit(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_Sound_Exit.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_Sound_Exit.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 @Sound_Exit() local_unnamed_addr #0 {
%1 = tail call i32 @audsrv_quit() #2
ret void
}
declare i32 @audsrv_quit(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_Atari800_atari800-src_extr_atari_ps2.c_Sound_Exit |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_matroxfb_maven.c_maven_out_get_ctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_matroxfb_maven.c_maven_out_get_ctrl.c"
target datalayout = "e-m:e-p270:32:32-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 @maven_out_get_ctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @maven_out_get_ctrl(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @maven_get_control(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @maven_get_control(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_matroxfb_maven.c_maven_out_get_ctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_matroxfb_maven.c_maven_out_get_ctrl.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 @maven_out_get_ctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @maven_out_get_ctrl(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @maven_get_control(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @maven_get_control(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_video_matrox_extr_matroxfb_maven.c_maven_out_get_ctrl |
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_machfb.c_machfb_ioctl.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_machfb.c_machfb_ioctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fbtype = type { i32, i32, i32, i32, i32, i32 }
%struct.machfb_softc = type { i32, i32, i32, i32 }
%struct.fbcursor = type { i32, i32 }
@FBTYPE_PCIMISC = dso_local local_unnamed_addr global i32 0, align 4
@FB_CUR_SETCUR = dso_local local_unnamed_addr global i32 0, align 4
@MACHFB_CUREN = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @machfb_ioctl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @machfb_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
switch i32 %1, label %37 [
i32 129, label %4
i32 128, label %18
]
4: ; preds = %3
%5 = inttoptr i64 %2 to ptr
%6 = load i32, ptr @FBTYPE_PCIMISC, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.fbtype, ptr %5, i64 0, i32 5
store i32 %6, ptr %7, align 4, !tbaa !9
%8 = getelementptr inbounds %struct.machfb_softc, ptr %0, i64 0, i32 2
%9 = getelementptr inbounds %struct.fbtype, ptr %5, i64 0, i32 3
%10 = load <2 x i32>, ptr %8, align 4, !tbaa !5
store <2 x i32> %10, ptr %9, align 4, !tbaa !5
%11 = load i32, ptr %0, align 4, !tbaa !5
store i32 %11, ptr %5, align 4, !tbaa !11
%12 = add i32 %11, -9
%13 = icmp ult i32 %12, -7
%14 = shl nuw nsw i32 1, %11
%15 = select i1 %13, i32 0, i32 %14
%16 = getelementptr inbounds %struct.fbtype, ptr %5, i64 0, i32 1
store i32 %15, ptr %16, align 4
%17 = getelementptr inbounds %struct.fbtype, ptr %5, i64 0, i32 2
store i32 %11, ptr %17, align 4, !tbaa !12
br label %39
18: ; preds = %3
%19 = inttoptr i64 %2 to ptr
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = load i32, ptr @FB_CUR_SETCUR, align 4, !tbaa !5
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
br i1 %23, label %35, label %24
24: ; preds = %18
%25 = getelementptr inbounds %struct.fbcursor, ptr %19, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = tail call i32 @machfb_cursor_enable(ptr noundef %0, i32 noundef 0) #2
%30 = load i32, ptr @MACHFB_CUREN, align 4, !tbaa !5
%31 = xor i32 %30, -1
%32 = getelementptr inbounds %struct.machfb_softc, ptr %0, i64 0, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !16
%34 = and i32 %33, %31
store i32 %34, ptr %32, align 4, !tbaa !16
br label %39
35: ; preds = %24, %18
%36 = load i32, ptr @ENODEV, align 4, !tbaa !5
br label %39
37: ; preds = %3
%38 = tail call i32 @fb_commonioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #2
br label %39
39: ; preds = %4, %28, %37, %35
%40 = phi i32 [ %38, %37 ], [ %36, %35 ], [ 0, %28 ], [ 0, %4 ]
ret i32 %40
}
declare i32 @machfb_cursor_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fb_commonioctl(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 20}
!10 = !{!"fbtype", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!11 = !{!10, !6, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"fbcursor", !6, i64 0, !6, i64 4}
!15 = !{!14, !6, i64 4}
!16 = !{!17, !6, i64 4}
!17 = !{!"machfb_softc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_machfb.c_machfb_ioctl.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_machfb.c_machfb_ioctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FBTYPE_PCIMISC = common local_unnamed_addr global i32 0, align 4
@FB_CUR_SETCUR = common local_unnamed_addr global i32 0, align 4
@MACHFB_CUREN = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @machfb_ioctl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @machfb_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
switch i32 %1, label %37 [
i32 129, label %4
i32 128, label %18
]
4: ; preds = %3
%5 = inttoptr i64 %2 to ptr
%6 = load i32, ptr @FBTYPE_PCIMISC, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %6, ptr %7, align 4, !tbaa !10
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = getelementptr inbounds i8, ptr %5, i64 12
%10 = load <2 x i32>, ptr %8, align 4, !tbaa !6
store <2 x i32> %10, ptr %9, align 4, !tbaa !6
%11 = load i32, ptr %0, align 4, !tbaa !6
store i32 %11, ptr %5, align 4, !tbaa !12
%12 = add i32 %11, -9
%13 = icmp ult i32 %12, -7
%14 = shl nuw nsw i32 1, %11
%15 = select i1 %13, i32 0, i32 %14
%16 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %15, ptr %16, align 4
%17 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %11, ptr %17, align 4, !tbaa !13
br label %39
18: ; preds = %3
%19 = inttoptr i64 %2 to ptr
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = load i32, ptr @FB_CUR_SETCUR, align 4, !tbaa !6
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
br i1 %23, label %35, label %24
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %19, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = tail call i32 @machfb_cursor_enable(ptr noundef %0, i32 noundef 0) #2
%30 = load i32, ptr @MACHFB_CUREN, align 4, !tbaa !6
%31 = xor i32 %30, -1
%32 = getelementptr inbounds i8, ptr %0, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = and i32 %33, %31
store i32 %34, ptr %32, align 4, !tbaa !17
br label %39
35: ; preds = %24, %18
%36 = load i32, ptr @ENODEV, align 4, !tbaa !6
br label %39
37: ; preds = %3
%38 = tail call i32 @fb_commonioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #2
br label %39
39: ; preds = %4, %28, %37, %35
%40 = phi i32 [ %38, %37 ], [ %36, %35 ], [ 0, %28 ], [ 0, %4 ]
ret i32 %40
}
declare i32 @machfb_cursor_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fb_commonioctl(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 20}
!11 = !{!"fbtype", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!12 = !{!11, !7, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"fbcursor", !7, i64 0, !7, i64 4}
!16 = !{!15, !7, i64 4}
!17 = !{!18, !7, i64 4}
!18 = !{!"machfb_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
| freebsd_sys_dev_fb_extr_machfb.c_machfb_ioctl |
; ModuleID = 'AnghaBench/linux/fs/ntfs/extr_malloc.h___ntfs_malloc.c'
source_filename = "AnghaBench/linux/fs/ntfs/extr_malloc.h___ntfs_malloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@__GFP_HIGHMEM = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@PAGE_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__ntfs_malloc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @__ntfs_malloc(i64 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5
%4 = icmp uge i64 %3, %0
%5 = zext i1 %4 to i32
%6 = tail call i64 @likely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = icmp eq i64 %0, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #2
%12 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5
%13 = load i32, ptr @__GFP_HIGHMEM, align 4, !tbaa !9
%14 = xor i32 %13, -1
%15 = and i32 %14, %1
%16 = tail call ptr @kmalloc(i64 noundef %12, i32 noundef %15) #2
br label %28
17: ; preds = %2
%18 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !5
%19 = lshr i64 %0, %18
%20 = tail call i64 (...) @totalram_pages() #2
%21 = icmp ult i64 %19, %20
%22 = zext i1 %21 to i32
%23 = tail call i64 @likely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %17
%26 = load i32, ptr @PAGE_KERNEL, align 4, !tbaa !9
%27 = tail call ptr @__vmalloc(i64 noundef %0, i32 noundef %1, i32 noundef %26) #2
br label %28
28: ; preds = %17, %25, %8
%29 = phi ptr [ %16, %8 ], [ %27, %25 ], [ null, %17 ]
ret ptr %29
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @totalram_pages(...) local_unnamed_addr #1
declare ptr @__vmalloc(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ntfs/extr_malloc.h___ntfs_malloc.c'
source_filename = "AnghaBench/linux/fs/ntfs/extr_malloc.h___ntfs_malloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
@__GFP_HIGHMEM = common local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@PAGE_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__ntfs_malloc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @__ntfs_malloc(i64 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6
%4 = icmp uge i64 %3, %0
%5 = zext i1 %4 to i32
%6 = tail call i64 @likely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = icmp eq i64 %0, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #2
%12 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6
%13 = load i32, ptr @__GFP_HIGHMEM, align 4, !tbaa !10
%14 = xor i32 %13, -1
%15 = and i32 %14, %1
%16 = tail call ptr @kmalloc(i64 noundef %12, i32 noundef %15) #2
br label %28
17: ; preds = %2
%18 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !6
%19 = lshr i64 %0, %18
%20 = tail call i64 @totalram_pages() #2
%21 = icmp ult i64 %19, %20
%22 = zext i1 %21 to i32
%23 = tail call i64 @likely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %17
%26 = load i32, ptr @PAGE_KERNEL, align 4, !tbaa !10
%27 = tail call ptr @__vmalloc(i64 noundef %0, i32 noundef %1, i32 noundef %26) #2
br label %28
28: ; preds = %17, %25, %8
%29 = phi ptr [ %16, %8 ], [ %27, %25 ], [ null, %17 ]
ret ptr %29
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @totalram_pages(...) local_unnamed_addr #1
declare ptr @__vmalloc(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_fs_ntfs_extr_malloc.h___ntfs_malloc |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_dispatch_write_span.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_dispatch_write_span.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64, i32, i32 }
%struct.TYPE_4__ = type { i32, i32 }
@RING_LOCALS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@R128_CNTL_PAINT_MULTI = dso_local local_unnamed_addr global i32 0, align 4
@R128_GMC_DST_PITCH_OFFSET_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@R128_GMC_BRUSH_SOLID_COLOR = dso_local local_unnamed_addr global i32 0, align 4
@R128_GMC_SRC_DATATYPE_COLOR = dso_local local_unnamed_addr global i32 0, align 4
@R128_ROP3_P = dso_local local_unnamed_addr global i32 0, align 4
@R128_GMC_CLR_CMP_CNTL_DIS = dso_local local_unnamed_addr global i32 0, align 4
@R128_GMC_WR_MSK_DIS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r128_cce_dispatch_write_span], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @r128_cce_dispatch_write_span(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #3
%7 = load i32, ptr %1, align 8, !tbaa !10
%8 = add i32 %7, -4097
%9 = icmp ult i32 %8, -4096
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @EMSGSIZE, align 4, !tbaa !14
%12 = sub nsw i32 0, %11
br label %140
13: ; preds = %2
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = call i64 @copy_from_user(ptr noundef nonnull %3, i32 noundef %15, i32 noundef 4) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = load i32, ptr @EFAULT, align 4, !tbaa !14
%20 = sub nsw i32 0, %19
br label %140
21: ; preds = %13
%22 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 3
%23 = load i32, ptr %22, align 8, !tbaa !16
%24 = call i64 @copy_from_user(ptr noundef nonnull %4, i32 noundef %23, i32 noundef 4) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr @EFAULT, align 4, !tbaa !14
%28 = sub nsw i32 0, %27
br label %140
29: ; preds = %21
%30 = load i32, ptr %1, align 8, !tbaa !10
%31 = shl i32 %30, 2
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2
%33 = load i64, ptr %32, align 8, !tbaa !17
%34 = call ptr @memdup_user(i64 noundef %33, i32 noundef %31) #3
%35 = call i64 @IS_ERR(ptr noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %29
%38 = call i32 @PTR_ERR(ptr noundef %34) #3
br label %140
39: ; preds = %29
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%41 = load i64, ptr %40, align 8, !tbaa !18
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%45 = zext nneg i32 %7 to i64
br label %101
46: ; preds = %39
%47 = load i32, ptr %1, align 8, !tbaa !10
%48 = call ptr @memdup_user(i64 noundef %41, i32 noundef %47) #3
%49 = call i64 @IS_ERR(ptr noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%53 = zext nneg i32 %7 to i64
br label %57
54: ; preds = %46
%55 = call i32 @kfree(ptr noundef %34) #3
%56 = call i32 @PTR_ERR(ptr noundef %48) #3
br label %140
57: ; preds = %51, %94
%58 = phi i64 [ 0, %51 ], [ %95, %94 ]
%59 = getelementptr inbounds i32, ptr %48, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !14
%61 = icmp eq i32 %60, 0
br i1 %61, label %94, label %62
62: ; preds = %57
%63 = call i32 @BEGIN_RING(i32 noundef 6) #3
%64 = load i32, ptr @R128_CNTL_PAINT_MULTI, align 4, !tbaa !14
%65 = call i32 @CCE_PACKET3(i32 noundef %64, i32 noundef 4) #3
%66 = call i32 @OUT_RING(i32 noundef %65) #3
%67 = load i32, ptr @R128_GMC_DST_PITCH_OFFSET_CNTL, align 4, !tbaa !14
%68 = load i32, ptr @R128_GMC_BRUSH_SOLID_COLOR, align 4, !tbaa !14
%69 = or i32 %68, %67
%70 = load i32, ptr %5, align 4, !tbaa !19
%71 = shl i32 %70, 8
%72 = or i32 %69, %71
%73 = load i32, ptr @R128_GMC_SRC_DATATYPE_COLOR, align 4, !tbaa !14
%74 = or i32 %72, %73
%75 = load i32, ptr @R128_ROP3_P, align 4, !tbaa !14
%76 = or i32 %74, %75
%77 = load i32, ptr @R128_GMC_CLR_CMP_CNTL_DIS, align 4, !tbaa !14
%78 = or i32 %76, %77
%79 = load i32, ptr @R128_GMC_WR_MSK_DIS, align 4, !tbaa !14
%80 = or i32 %78, %79
%81 = call i32 @OUT_RING(i32 noundef %80) #3
%82 = load i32, ptr %52, align 4, !tbaa !21
%83 = call i32 @OUT_RING(i32 noundef %82) #3
%84 = getelementptr inbounds i32, ptr %34, i64 %58
%85 = load i32, ptr %84, align 4, !tbaa !14
%86 = call i32 @OUT_RING(i32 noundef %85) #3
%87 = load i32, ptr %3, align 4, !tbaa !14
%88 = shl i32 %87, 16
%89 = load i32, ptr %4, align 4, !tbaa !14
%90 = or i32 %88, %89
%91 = call i32 @OUT_RING(i32 noundef %90) #3
%92 = call i32 @OUT_RING(i32 noundef 65537) #3
%93 = call i32 (...) @ADVANCE_RING() #3
br label %94
94: ; preds = %57, %62
%95 = add nuw nsw i64 %58, 1
%96 = load i32, ptr %3, align 4, !tbaa !14
%97 = add nsw i32 %96, 1
store i32 %97, ptr %3, align 4, !tbaa !14
%98 = icmp eq i64 %95, %53
br i1 %98, label %99, label %57, !llvm.loop !22
99: ; preds = %94
%100 = call i32 @kfree(ptr noundef nonnull %48) #3
br label %138
101: ; preds = %43, %101
%102 = phi i64 [ 0, %43 ], [ %134, %101 ]
%103 = call i32 @BEGIN_RING(i32 noundef 6) #3
%104 = load i32, ptr @R128_CNTL_PAINT_MULTI, align 4, !tbaa !14
%105 = call i32 @CCE_PACKET3(i32 noundef %104, i32 noundef 4) #3
%106 = call i32 @OUT_RING(i32 noundef %105) #3
%107 = load i32, ptr @R128_GMC_DST_PITCH_OFFSET_CNTL, align 4, !tbaa !14
%108 = load i32, ptr @R128_GMC_BRUSH_SOLID_COLOR, align 4, !tbaa !14
%109 = or i32 %108, %107
%110 = load i32, ptr %5, align 4, !tbaa !19
%111 = shl i32 %110, 8
%112 = or i32 %109, %111
%113 = load i32, ptr @R128_GMC_SRC_DATATYPE_COLOR, align 4, !tbaa !14
%114 = or i32 %112, %113
%115 = load i32, ptr @R128_ROP3_P, align 4, !tbaa !14
%116 = or i32 %114, %115
%117 = load i32, ptr @R128_GMC_CLR_CMP_CNTL_DIS, align 4, !tbaa !14
%118 = or i32 %116, %117
%119 = load i32, ptr @R128_GMC_WR_MSK_DIS, align 4, !tbaa !14
%120 = or i32 %118, %119
%121 = call i32 @OUT_RING(i32 noundef %120) #3
%122 = load i32, ptr %44, align 4, !tbaa !21
%123 = call i32 @OUT_RING(i32 noundef %122) #3
%124 = getelementptr inbounds i32, ptr %34, i64 %102
%125 = load i32, ptr %124, align 4, !tbaa !14
%126 = call i32 @OUT_RING(i32 noundef %125) #3
%127 = load i32, ptr %3, align 4, !tbaa !14
%128 = shl i32 %127, 16
%129 = load i32, ptr %4, align 4, !tbaa !14
%130 = or i32 %128, %129
%131 = call i32 @OUT_RING(i32 noundef %130) #3
%132 = call i32 @OUT_RING(i32 noundef 65537) #3
%133 = call i32 (...) @ADVANCE_RING() #3
%134 = add nuw nsw i64 %102, 1
%135 = load i32, ptr %3, align 4, !tbaa !14
%136 = add nsw i32 %135, 1
store i32 %136, ptr %3, align 4, !tbaa !14
%137 = icmp eq i64 %134, %45
br i1 %137, label %138, label %101, !llvm.loop !24
138: ; preds = %101, %99
%139 = call i32 @kfree(ptr noundef %34) #3
br label %140
140: ; preds = %138, %54, %37, %26, %18, %10
%141 = phi i32 [ %12, %10 ], [ %20, %18 ], [ %28, %26 ], [ %38, %37 ], [ %56, %54 ], [ 0, %138 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %141
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #2
declare i64 @copy_from_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @memdup_user(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @BEGIN_RING(i32 noundef) local_unnamed_addr #2
declare i32 @OUT_RING(i32 noundef) local_unnamed_addr #2
declare i32 @CCE_PACKET3(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ADVANCE_RING(...) 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 = !{!"drm_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8, !13, i64 16, !12, i64 24, !12, i64 28}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 28}
!16 = !{!11, !12, i64 24}
!17 = !{!11, !13, i64 16}
!18 = !{!11, !13, i64 8}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_4__", !12, i64 0, !12, i64 4}
!21 = !{!20, !12, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_dispatch_write_span.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_dispatch_write_span.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RING_LOCALS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EMSGSIZE = common local_unnamed_addr global i32 0, align 4
@EFAULT = common local_unnamed_addr global i32 0, align 4
@R128_CNTL_PAINT_MULTI = common local_unnamed_addr global i32 0, align 4
@R128_GMC_DST_PITCH_OFFSET_CNTL = common local_unnamed_addr global i32 0, align 4
@R128_GMC_BRUSH_SOLID_COLOR = common local_unnamed_addr global i32 0, align 4
@R128_GMC_SRC_DATATYPE_COLOR = common local_unnamed_addr global i32 0, align 4
@R128_ROP3_P = common local_unnamed_addr global i32 0, align 4
@R128_GMC_CLR_CMP_CNTL_DIS = common local_unnamed_addr global i32 0, align 4
@R128_GMC_WR_MSK_DIS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r128_cce_dispatch_write_span], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @r128_cce_dispatch_write_span(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #3
%7 = load i32, ptr %1, align 8, !tbaa !11
%8 = add i32 %7, -4097
%9 = icmp ult i32 %8, -4096
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @EMSGSIZE, align 4, !tbaa !15
%12 = sub nsw i32 0, %11
br label %140
13: ; preds = %2
%14 = getelementptr inbounds i8, ptr %1, i64 28
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = call i64 @copy_from_user(ptr noundef nonnull %3, i32 noundef %15, i32 noundef 4) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = load i32, ptr @EFAULT, align 4, !tbaa !15
%20 = sub nsw i32 0, %19
br label %140
21: ; preds = %13
%22 = getelementptr inbounds i8, ptr %1, i64 24
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = call i64 @copy_from_user(ptr noundef nonnull %4, i32 noundef %23, i32 noundef 4) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr @EFAULT, align 4, !tbaa !15
%28 = sub nsw i32 0, %27
br label %140
29: ; preds = %21
%30 = load i32, ptr %1, align 8, !tbaa !11
%31 = shl i32 %30, 2
%32 = getelementptr inbounds i8, ptr %1, i64 16
%33 = load i64, ptr %32, align 8, !tbaa !18
%34 = call ptr @memdup_user(i64 noundef %33, i32 noundef %31) #3
%35 = call i64 @IS_ERR(ptr noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %29
%38 = call i32 @PTR_ERR(ptr noundef %34) #3
br label %140
39: ; preds = %29
%40 = getelementptr inbounds i8, ptr %1, i64 8
%41 = load i64, ptr %40, align 8, !tbaa !19
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = getelementptr inbounds i8, ptr %5, i64 4
%45 = zext nneg i32 %7 to i64
br label %101
46: ; preds = %39
%47 = load i32, ptr %1, align 8, !tbaa !11
%48 = call ptr @memdup_user(i64 noundef %41, i32 noundef %47) #3
%49 = call i64 @IS_ERR(ptr noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = getelementptr inbounds i8, ptr %5, i64 4
%53 = zext nneg i32 %7 to i64
br label %57
54: ; preds = %46
%55 = call i32 @kfree(ptr noundef %34) #3
%56 = call i32 @PTR_ERR(ptr noundef %48) #3
br label %140
57: ; preds = %51, %94
%58 = phi i64 [ 0, %51 ], [ %95, %94 ]
%59 = getelementptr inbounds i32, ptr %48, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !15
%61 = icmp eq i32 %60, 0
br i1 %61, label %94, label %62
62: ; preds = %57
%63 = call i32 @BEGIN_RING(i32 noundef 6) #3
%64 = load i32, ptr @R128_CNTL_PAINT_MULTI, align 4, !tbaa !15
%65 = call i32 @CCE_PACKET3(i32 noundef %64, i32 noundef 4) #3
%66 = call i32 @OUT_RING(i32 noundef %65) #3
%67 = load i32, ptr @R128_GMC_DST_PITCH_OFFSET_CNTL, align 4, !tbaa !15
%68 = load i32, ptr @R128_GMC_BRUSH_SOLID_COLOR, align 4, !tbaa !15
%69 = or i32 %68, %67
%70 = load i32, ptr %5, align 4, !tbaa !20
%71 = shl i32 %70, 8
%72 = or i32 %69, %71
%73 = load i32, ptr @R128_GMC_SRC_DATATYPE_COLOR, align 4, !tbaa !15
%74 = or i32 %72, %73
%75 = load i32, ptr @R128_ROP3_P, align 4, !tbaa !15
%76 = or i32 %74, %75
%77 = load i32, ptr @R128_GMC_CLR_CMP_CNTL_DIS, align 4, !tbaa !15
%78 = or i32 %76, %77
%79 = load i32, ptr @R128_GMC_WR_MSK_DIS, align 4, !tbaa !15
%80 = or i32 %78, %79
%81 = call i32 @OUT_RING(i32 noundef %80) #3
%82 = load i32, ptr %52, align 4, !tbaa !22
%83 = call i32 @OUT_RING(i32 noundef %82) #3
%84 = getelementptr inbounds i32, ptr %34, i64 %58
%85 = load i32, ptr %84, align 4, !tbaa !15
%86 = call i32 @OUT_RING(i32 noundef %85) #3
%87 = load i32, ptr %3, align 4, !tbaa !15
%88 = shl i32 %87, 16
%89 = load i32, ptr %4, align 4, !tbaa !15
%90 = or i32 %88, %89
%91 = call i32 @OUT_RING(i32 noundef %90) #3
%92 = call i32 @OUT_RING(i32 noundef 65537) #3
%93 = call i32 @ADVANCE_RING() #3
br label %94
94: ; preds = %57, %62
%95 = add nuw nsw i64 %58, 1
%96 = load i32, ptr %3, align 4, !tbaa !15
%97 = add nsw i32 %96, 1
store i32 %97, ptr %3, align 4, !tbaa !15
%98 = icmp eq i64 %95, %53
br i1 %98, label %99, label %57, !llvm.loop !23
99: ; preds = %94
%100 = call i32 @kfree(ptr noundef nonnull %48) #3
br label %138
101: ; preds = %43, %101
%102 = phi i64 [ 0, %43 ], [ %134, %101 ]
%103 = call i32 @BEGIN_RING(i32 noundef 6) #3
%104 = load i32, ptr @R128_CNTL_PAINT_MULTI, align 4, !tbaa !15
%105 = call i32 @CCE_PACKET3(i32 noundef %104, i32 noundef 4) #3
%106 = call i32 @OUT_RING(i32 noundef %105) #3
%107 = load i32, ptr @R128_GMC_DST_PITCH_OFFSET_CNTL, align 4, !tbaa !15
%108 = load i32, ptr @R128_GMC_BRUSH_SOLID_COLOR, align 4, !tbaa !15
%109 = or i32 %108, %107
%110 = load i32, ptr %5, align 4, !tbaa !20
%111 = shl i32 %110, 8
%112 = or i32 %109, %111
%113 = load i32, ptr @R128_GMC_SRC_DATATYPE_COLOR, align 4, !tbaa !15
%114 = or i32 %112, %113
%115 = load i32, ptr @R128_ROP3_P, align 4, !tbaa !15
%116 = or i32 %114, %115
%117 = load i32, ptr @R128_GMC_CLR_CMP_CNTL_DIS, align 4, !tbaa !15
%118 = or i32 %116, %117
%119 = load i32, ptr @R128_GMC_WR_MSK_DIS, align 4, !tbaa !15
%120 = or i32 %118, %119
%121 = call i32 @OUT_RING(i32 noundef %120) #3
%122 = load i32, ptr %44, align 4, !tbaa !22
%123 = call i32 @OUT_RING(i32 noundef %122) #3
%124 = getelementptr inbounds i32, ptr %34, i64 %102
%125 = load i32, ptr %124, align 4, !tbaa !15
%126 = call i32 @OUT_RING(i32 noundef %125) #3
%127 = load i32, ptr %3, align 4, !tbaa !15
%128 = shl i32 %127, 16
%129 = load i32, ptr %4, align 4, !tbaa !15
%130 = or i32 %128, %129
%131 = call i32 @OUT_RING(i32 noundef %130) #3
%132 = call i32 @OUT_RING(i32 noundef 65537) #3
%133 = call i32 @ADVANCE_RING() #3
%134 = add nuw nsw i64 %102, 1
%135 = load i32, ptr %3, align 4, !tbaa !15
%136 = add nsw i32 %135, 1
store i32 %136, ptr %3, align 4, !tbaa !15
%137 = icmp eq i64 %134, %45
br i1 %137, label %138, label %101, !llvm.loop !25
138: ; preds = %101, %99
%139 = call i32 @kfree(ptr noundef %34) #3
br label %140
140: ; preds = %138, %54, %37, %26, %18, %10
%141 = phi i32 [ %12, %10 ], [ %20, %18 ], [ %28, %26 ], [ %38, %37 ], [ %56, %54 ], [ 0, %138 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %141
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #2
declare i64 @copy_from_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @memdup_user(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @BEGIN_RING(i32 noundef) local_unnamed_addr #2
declare i32 @OUT_RING(i32 noundef) local_unnamed_addr #2
declare i32 @CCE_PACKET3(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ADVANCE_RING(...) 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 = !{!"drm_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8, !14, i64 16, !13, i64 24, !13, i64 28}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 28}
!17 = !{!12, !13, i64 24}
!18 = !{!12, !14, i64 16}
!19 = !{!12, !14, i64 8}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_4__", !13, i64 0, !13, i64 4}
!22 = !{!21, !13, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
| linux_drivers_gpu_drm_r128_extr_r128_state.c_r128_cce_dispatch_write_span |
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_ext_attr.c_ext2fs_read_ext_attr3.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_ext_attr.c_ext2fs_read_ext_attr3.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@EXT2_FLAG_IGNORE_CSUM_ERRORS = dso_local local_unnamed_addr global i32 0, align 4
@EXT2_ET_EXT_ATTR_CSUM_INVALID = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @ext2fs_read_ext_attr3(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i64 @io_channel_read_blk64(i32 noundef %6, i32 noundef %1, i32 noundef 1, ptr noundef %2) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = load i32, ptr @EXT2_FLAG_IGNORE_CSUM_ERRORS, align 4, !tbaa !11
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = tail call i32 @ext2fs_ext_attr_block_csum_verify(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %1, ptr noundef %2) #2
%16 = icmp eq i32 %15, 0
br label %17
17: ; preds = %14, %9
%18 = phi i1 [ false, %9 ], [ %16, %14 ]
%19 = tail call i64 @check_ext_attr_header(ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
%21 = and i1 %18, %20
%22 = load i64, ptr @EXT2_ET_EXT_ATTR_CSUM_INVALID, align 8
%23 = select i1 %21, i64 %22, i64 %19
br label %24
24: ; preds = %4, %17
%25 = phi i64 [ %23, %17 ], [ %7, %4 ]
ret i64 %25
}
declare i64 @io_channel_read_blk64(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ext2fs_ext_attr_block_csum_verify(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @check_ext_attr_header(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_4__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_ext_attr.c_ext2fs_read_ext_attr3.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_ext_attr.c_ext2fs_read_ext_attr3.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXT2_FLAG_IGNORE_CSUM_ERRORS = common local_unnamed_addr global i32 0, align 4
@EXT2_ET_EXT_ATTR_CSUM_INVALID = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ext2fs_read_ext_attr3(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i64 @io_channel_read_blk64(i32 noundef %6, i32 noundef %1, i32 noundef 1, ptr noundef %2) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %4
%10 = load i32, ptr %0, align 4, !tbaa !11
%11 = load i32, ptr @EXT2_FLAG_IGNORE_CSUM_ERRORS, align 4, !tbaa !12
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = tail call i32 @ext2fs_ext_attr_block_csum_verify(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %1, ptr noundef %2) #2
%16 = icmp eq i32 %15, 0
br label %17
17: ; preds = %14, %9
%18 = phi i1 [ false, %9 ], [ %16, %14 ]
%19 = tail call i64 @check_ext_attr_header(ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
%21 = and i1 %18, %20
%22 = load i64, ptr @EXT2_ET_EXT_ATTR_CSUM_INVALID, align 8
%23 = select i1 %21, i64 %22, i64 %19
br label %24
24: ; preds = %4, %17
%25 = phi i64 [ %23, %17 ], [ %7, %4 ]
ret i64 %25
}
declare i64 @io_channel_read_blk64(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ext2fs_ext_attr_block_csum_verify(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @check_ext_attr_header(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_4__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| rufus_src_ext2fs_extr_ext_attr.c_ext2fs_read_ext_attr3 |
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_lms501kf03.c_lms501kf03_power.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_lms501kf03.c_lms501kf03_power.c"
target datalayout = "e-m:e-p270:32:32-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 @lms501kf03_power], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lms501kf03_power(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @lms501kf03_power_is_on(i32 noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = tail call i64 @lms501kf03_power_is_on(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @lms501kf03_power_on(ptr noundef nonnull %0) #2
br label %20
11: ; preds = %5, %2
%12 = tail call i64 @lms501kf03_power_is_on(i32 noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %11
%15 = load i32, ptr %0, align 4, !tbaa !5
%16 = tail call i64 @lms501kf03_power_is_on(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = tail call i32 @lms501kf03_power_off(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %18, %9
%21 = phi i32 [ %19, %18 ], [ %10, %9 ]
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %14, %11, %20
store i32 %1, ptr %0, align 4, !tbaa !5
br label %24
24: ; preds = %23, %20
%25 = phi i32 [ 0, %23 ], [ %21, %20 ]
ret i32 %25
}
declare i64 @lms501kf03_power_is_on(i32 noundef) local_unnamed_addr #1
declare i32 @lms501kf03_power_on(ptr noundef) local_unnamed_addr #1
declare i32 @lms501kf03_power_off(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 = !{!"lms501kf03", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_lms501kf03.c_lms501kf03_power.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_lms501kf03.c_lms501kf03_power.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 @lms501kf03_power], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lms501kf03_power(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @lms501kf03_power_is_on(i32 noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = tail call i64 @lms501kf03_power_is_on(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 @lms501kf03_power_on(ptr noundef nonnull %0) #2
br label %20
11: ; preds = %5, %2
%12 = tail call i64 @lms501kf03_power_is_on(i32 noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %11
%15 = load i32, ptr %0, align 4, !tbaa !6
%16 = tail call i64 @lms501kf03_power_is_on(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = tail call i32 @lms501kf03_power_off(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %18, %9
%21 = phi i32 [ %19, %18 ], [ %10, %9 ]
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %14, %11, %20
store i32 %1, ptr %0, align 4, !tbaa !6
br label %24
24: ; preds = %23, %20
%25 = phi i32 [ 0, %23 ], [ %21, %20 ]
ret i32 %25
}
declare i64 @lms501kf03_power_is_on(i32 noundef) local_unnamed_addr #1
declare i32 @lms501kf03_power_on(ptr noundef) local_unnamed_addr #1
declare i32 @lms501kf03_power_off(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 = !{!"lms501kf03", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_backlight_extr_lms501kf03.c_lms501kf03_power |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_wdt_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_wdt_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@io_lock = dso_local global i32 0, align 4
@timeout = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wdt_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wdt_enable() #0 {
%1 = tail call i32 @spin_lock(ptr noundef nonnull @io_lock) #2
%2 = tail call i32 (...) @w83697hf_select_wdt() #2
%3 = load i32, ptr @timeout, align 4, !tbaa !5
%4 = tail call i32 @w83697hf_write_timeout(i32 noundef %3) #2
%5 = tail call i32 @w83697hf_set_reg(i32 noundef 48, i32 noundef 1) #2
%6 = tail call i32 (...) @w83697hf_deselect_wdt() #2
%7 = tail call i32 @spin_unlock(ptr noundef nonnull @io_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @w83697hf_select_wdt(...) local_unnamed_addr #1
declare i32 @w83697hf_write_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @w83697hf_set_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @w83697hf_deselect_wdt(...) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_wdt_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_wdt_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@io_lock = common global i32 0, align 4
@timeout = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wdt_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wdt_enable() #0 {
%1 = tail call i32 @spin_lock(ptr noundef nonnull @io_lock) #2
%2 = tail call i32 @w83697hf_select_wdt() #2
%3 = load i32, ptr @timeout, align 4, !tbaa !6
%4 = tail call i32 @w83697hf_write_timeout(i32 noundef %3) #2
%5 = tail call i32 @w83697hf_set_reg(i32 noundef 48, i32 noundef 1) #2
%6 = tail call i32 @w83697hf_deselect_wdt() #2
%7 = tail call i32 @spin_unlock(ptr noundef nonnull @io_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @w83697hf_select_wdt(...) local_unnamed_addr #1
declare i32 @w83697hf_write_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @w83697hf_set_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @w83697hf_deselect_wdt(...) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_watchdog_extr_w83697hf_wdt.c_wdt_enable |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_db8500-prcmu.c_db8500_regulator_disable.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_db8500-prcmu.c_db8500_regulator_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.dbx500_regulator_info = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"regulator-%s-disable\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @db8500_regulator_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @db8500_regulator_disable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %20
7: ; preds = %1
%8 = tail call i32 @rdev_get_dev(ptr noundef %0) #2
%9 = getelementptr inbounds %struct.dbx500_regulator_info, ptr %2, i64 0, i32 2
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = tail call i32 @dev_vdbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr %2, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %7
store i32 0, ptr %2, align 4, !tbaa !12
%15 = getelementptr inbounds %struct.dbx500_regulator_info, ptr %2, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 (...) @power_state_active_disable() #2
br label %20
20: ; preds = %7, %18, %14, %4
%21 = phi i32 [ %6, %4 ], [ 0, %14 ], [ %19, %18 ], [ 0, %7 ]
ret i32 %21
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @dev_vdbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdev_get_dev(ptr noundef) local_unnamed_addr #1
declare i32 @power_state_active_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"dbx500_regulator_info", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_db8500-prcmu.c_db8500_regulator_disable.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_db8500-prcmu.c_db8500_regulator_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"regulator-%s-disable\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @db8500_regulator_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @db8500_regulator_disable(ptr noundef %0) #0 {
%2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %20
7: ; preds = %1
%8 = tail call i32 @rdev_get_dev(ptr noundef %0) #2
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call i32 @dev_vdbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr %2, align 4, !tbaa !13
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %7
store i32 0, ptr %2, align 4, !tbaa !13
%15 = getelementptr inbounds i8, ptr %2, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = tail call i32 @power_state_active_disable() #2
br label %20
20: ; preds = %7, %18, %14, %4
%21 = phi i32 [ %6, %4 ], [ 0, %14 ], [ %19, %18 ], [ 0, %7 ]
ret i32 %21
}
declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @dev_vdbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdev_get_dev(ptr noundef) local_unnamed_addr #1
declare i32 @power_state_active_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"dbx500_regulator_info", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
| linux_drivers_regulator_extr_db8500-prcmu.c_db8500_regulator_disable |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_registrar.c_wps_process_uuid_e.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_registrar.c_wps_process_uuid_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"WPS: No UUID-E received\00", align 1
@WPS_UUID_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"WPS: UUID-E\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wps_process_uuid_e], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wps_process_uuid_e(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%6 = tail call i32 @wpa_printf(i32 noundef %5, ptr noundef nonnull @.str) #2
br label %15
7: ; preds = %2
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = load i32, ptr @WPS_UUID_LEN, align 4, !tbaa !5
%10 = tail call i32 @os_memcpy(i32 noundef %8, ptr noundef nonnull %1, i32 noundef %9) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = load i32, ptr @WPS_UUID_LEN, align 4, !tbaa !5
%14 = tail call i32 @wpa_hexdump(i32 noundef %11, ptr noundef nonnull @.str.1, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %7, %4
%16 = phi i32 [ -1, %4 ], [ 0, %7 ]
ret i32 %16
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @os_memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"wps_data", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_registrar.c_wps_process_uuid_e.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_registrar.c_wps_process_uuid_e.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"WPS: No UUID-E received\00", align 1
@WPS_UUID_LEN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"WPS: UUID-E\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wps_process_uuid_e], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @wps_process_uuid_e(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%6 = tail call i32 @wpa_printf(i32 noundef %5, ptr noundef nonnull @.str) #2
br label %15
7: ; preds = %2
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = load i32, ptr @WPS_UUID_LEN, align 4, !tbaa !6
%10 = tail call i32 @os_memcpy(i32 noundef %8, ptr noundef nonnull %1, i32 noundef %9) #2
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%12 = load i32, ptr %0, align 4, !tbaa !10
%13 = load i32, ptr @WPS_UUID_LEN, align 4, !tbaa !6
%14 = tail call i32 @wpa_hexdump(i32 noundef %11, ptr noundef nonnull @.str.1, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %7, %4
%16 = phi i32 [ -1, %4 ], [ 0, %7 ]
ret i32 %16
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @os_memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"wps_data", !7, i64 0}
| freebsd_contrib_wpa_src_wps_extr_wps_registrar.c_wps_process_uuid_e |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_query_port_max_mtu.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_query_port_max_mtu.c"
target datalayout = "e-m:e-p270:32:32-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 @mlx5_query_port_max_mtu(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mlx5_query_port_mtu(ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef null) #2
ret i32 %3
}
declare i32 @mlx5_query_port_mtu(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_query_port_max_mtu.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_query_port_max_mtu.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 @mlx5_query_port_max_mtu(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mlx5_query_port_mtu(ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef null) #2
ret i32 %3
}
declare i32 @mlx5_query_port_mtu(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_mlx5_mlx5_core_extr_mlx5_port.c_mlx5_query_port_max_mtu |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_umem.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_umem.c"
target datalayout = "e-m:e-p270:32:32-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.mlx4_ib_resize_cq = type { i32 }
%struct.mlx4_ib_cq = type { ptr, i64 }
%struct.TYPE_3__ = type { i32, i32 }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_alloc_resize_umem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlx4_alloc_resize_umem(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.mlx4_ib_resize_cq, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = getelementptr inbounds %struct.mlx4_ib_cq, ptr %1, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr @EBUSY, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %36
12: ; preds = %4
%13 = call i64 @ib_copy_from_udata(ptr noundef nonnull %5, ptr noundef %3, i32 noundef 4) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EFAULT, align 4, !tbaa !11
%17 = sub nsw i32 0, %16
br label %36
18: ; preds = %12
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%20 = call ptr @kmalloc(i32 noundef 8, i32 noundef %19) #3
store ptr %20, ptr %1, align 8, !tbaa !13
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%24 = sub nsw i32 0, %23
br label %36
25: ; preds = %18
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %20, i64 0, i32 1
%27 = load i32, ptr %5, align 4, !tbaa !14
%28 = call i32 @mlx4_ib_get_cq_umem(ptr noundef %0, ptr noundef %3, ptr noundef nonnull %26, ptr noundef nonnull %6, i32 noundef %27, i32 noundef %2) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = load ptr, ptr %1, align 8, !tbaa !13
%32 = call i32 @kfree(ptr noundef %31) #3
store ptr null, ptr %1, align 8, !tbaa !13
br label %36
33: ; preds = %25
%34 = add nsw i32 %2, -1
%35 = load ptr, ptr %1, align 8, !tbaa !13
store i32 %34, ptr %35, align 4, !tbaa !16
br label %36
36: ; preds = %33, %30, %22, %15, %9
%37 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %28, %30 ], [ 0, %33 ], [ %24, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ib_copy_from_udata(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlx4_ib_get_cq_umem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 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, !10, i64 8}
!6 = !{!"mlx4_ib_cq", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"mlx4_ib_resize_cq", !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_3__", !12, i64 0, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_umem.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_umem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mlx4_ib_resize_cq = type { i32 }
@EBUSY = common local_unnamed_addr global i32 0, align 4
@EFAULT = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx4_alloc_resize_umem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlx4_alloc_resize_umem(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.mlx4_ib_resize_cq, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr @EBUSY, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %36
12: ; preds = %4
%13 = call i64 @ib_copy_from_udata(ptr noundef nonnull %5, ptr noundef %3, i32 noundef 4) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EFAULT, align 4, !tbaa !12
%17 = sub nsw i32 0, %16
br label %36
18: ; preds = %12
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%20 = call ptr @kmalloc(i32 noundef 8, i32 noundef %19) #3
store ptr %20, ptr %1, align 8, !tbaa !14
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%24 = sub nsw i32 0, %23
br label %36
25: ; preds = %18
%26 = getelementptr inbounds i8, ptr %20, i64 4
%27 = load i32, ptr %5, align 4, !tbaa !15
%28 = call i32 @mlx4_ib_get_cq_umem(ptr noundef %0, ptr noundef %3, ptr noundef nonnull %26, ptr noundef nonnull %6, i32 noundef %27, i32 noundef %2) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = load ptr, ptr %1, align 8, !tbaa !14
%32 = call i32 @kfree(ptr noundef %31) #3
store ptr null, ptr %1, align 8, !tbaa !14
br label %36
33: ; preds = %25
%34 = add nsw i32 %2, -1
%35 = load ptr, ptr %1, align 8, !tbaa !14
store i32 %34, ptr %35, align 4, !tbaa !17
br label %36
36: ; preds = %33, %30, %22, %15, %9
%37 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %28, %30 ], [ 0, %33 ], [ %24, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ib_copy_from_udata(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlx4_ib_get_cq_umem(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 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, !11, i64 8}
!7 = !{!"mlx4_ib_cq", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"mlx4_ib_resize_cq", !13, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"TYPE_3__", !13, i64 0, !13, i64 4}
| linux_drivers_infiniband_hw_mlx4_extr_cq.c_mlx4_alloc_resize_umem |
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_trimFunc.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_trimFunc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_NULL = dso_local local_unnamed_addr global i64 0, align 8
@trimFunc.lenOne = internal unnamed_addr constant [1 x i8] c"\01", align 1
@trimFunc.azOne = internal constant [1 x ptr] [ptr @.str], align 8
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@SQLITE_TRANSIENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @trimFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @trimFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = tail call i64 @sqlite3_value_type(ptr noundef %4) #3
%6 = load i64, ptr @SQLITE_NULL, align 8, !tbaa !9
%7 = icmp eq i64 %5, %6
br i1 %7, label %136, label %8
8: ; preds = %3
%9 = load ptr, ptr %2, align 8, !tbaa !5
%10 = tail call ptr @sqlite3_value_text(ptr noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %136, label %12
12: ; preds = %8
%13 = load ptr, ptr %2, align 8, !tbaa !5
%14 = tail call i32 @sqlite3_value_bytes(ptr noundef %13) #3
%15 = load ptr, ptr %2, align 8, !tbaa !5
%16 = tail call ptr @sqlite3_value_text(ptr noundef %15) #3
%17 = icmp eq ptr %10, %16
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #3
%20 = icmp eq i32 %1, 1
br i1 %20, label %61, label %21
21: ; preds = %12
%22 = getelementptr inbounds ptr, ptr %2, i64 1
%23 = load ptr, ptr %22, align 8, !tbaa !5
%24 = tail call ptr @sqlite3_value_text(ptr noundef %23) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %136, label %26
26: ; preds = %21
%27 = load i8, ptr %24, align 1, !tbaa !11
%28 = icmp eq i8 %27, 0
br i1 %28, label %131, label %29
29: ; preds = %26, %29
%30 = phi i32 [ %32, %29 ], [ 0, %26 ]
%31 = tail call i32 @SQLITE_SKIP_UTF8(ptr noundef nonnull %24) #3
%32 = add nuw nsw i32 %30, 1
%33 = load i8, ptr %24, align 1, !tbaa !11
%34 = icmp eq i8 %33, 0
br i1 %34, label %35, label %29, !llvm.loop !12
35: ; preds = %29
%36 = mul i32 %32, 9
%37 = tail call ptr @contextMalloc(ptr noundef %0, i32 noundef %36) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %136, label %39
39: ; preds = %35
%40 = zext nneg i32 %32 to i64
%41 = getelementptr inbounds ptr, ptr %37, i64 %40
%42 = load i8, ptr %24, align 1, !tbaa !11
%43 = icmp eq i8 %42, 0
br i1 %43, label %131, label %44
44: ; preds = %39
%45 = ptrtoint ptr %24 to i64
br label %46
46: ; preds = %44, %46
%47 = phi i64 [ 0, %44 ], [ %55, %46 ]
%48 = getelementptr inbounds ptr, ptr %37, i64 %47
store ptr %24, ptr %48, align 8, !tbaa !5
%49 = tail call i32 @SQLITE_SKIP_UTF8(ptr noundef nonnull %24) #3
%50 = load ptr, ptr %48, align 8, !tbaa !5
%51 = ptrtoint ptr %50 to i64
%52 = sub i64 %45, %51
%53 = trunc i64 %52 to i8
%54 = getelementptr inbounds i8, ptr %41, i64 %47
store i8 %53, ptr %54, align 1, !tbaa !11
%55 = add nuw i64 %47, 1
%56 = load i8, ptr %24, align 1, !tbaa !11
%57 = icmp eq i8 %56, 0
br i1 %57, label %58, label %46, !llvm.loop !14
58: ; preds = %46
%59 = trunc i64 %55 to i32
%60 = icmp eq i32 %59, 0
br i1 %60, label %131, label %61
61: ; preds = %12, %58
%62 = phi i32 [ %59, %58 ], [ 1, %12 ]
%63 = phi ptr [ %37, %58 ], [ @trimFunc.azOne, %12 ]
%64 = phi ptr [ %41, %58 ], [ @trimFunc.lenOne, %12 ]
%65 = tail call i32 @sqlite3_user_data(ptr noundef %0) #3
%66 = tail call i32 @SQLITE_PTR_TO_INT(i32 noundef %65) #3
%67 = and i32 %66, 1
%68 = icmp ne i32 %67, 0
%69 = icmp sgt i32 %14, 0
%70 = select i1 %68, i1 %69, i1 false
br i1 %70, label %71, label %95
71: ; preds = %61
%72 = zext i32 %62 to i64
br label %73
73: ; preds = %71, %90
%74 = phi i32 [ %93, %90 ], [ %14, %71 ]
%75 = phi ptr [ %92, %90 ], [ %10, %71 ]
br label %76
76: ; preds = %73, %87
%77 = phi i64 [ 0, %73 ], [ %88, %87 ]
%78 = getelementptr inbounds i8, ptr %64, i64 %77
%79 = load i8, ptr %78, align 1, !tbaa !11
%80 = zext i8 %79 to i32
%81 = icmp slt i32 %74, %80
br i1 %81, label %87, label %82
82: ; preds = %76
%83 = getelementptr inbounds ptr, ptr %63, i64 %77
%84 = load ptr, ptr %83, align 8, !tbaa !5
%85 = tail call i64 @memcmp(ptr noundef %75, ptr noundef %84, i32 noundef %80) #3
%86 = icmp eq i64 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %76, %82
%88 = add nuw nsw i64 %77, 1
%89 = icmp eq i64 %88, %72
br i1 %89, label %95, label %76, !llvm.loop !15
90: ; preds = %82
%91 = zext i8 %79 to i64
%92 = getelementptr inbounds i8, ptr %75, i64 %91
%93 = sub nsw i32 %74, %80
%94 = icmp sgt i32 %93, 0
br i1 %94, label %73, label %126
95: ; preds = %87, %61
%96 = phi i32 [ %14, %61 ], [ %74, %87 ]
%97 = phi ptr [ %10, %61 ], [ %75, %87 ]
%98 = and i32 %66, 2
%99 = icmp ne i32 %98, 0
%100 = icmp sgt i32 %96, 0
%101 = select i1 %99, i1 %100, i1 false
br i1 %101, label %102, label %126
102: ; preds = %95
%103 = tail call i32 @llvm.umax.i32(i32 %62, i32 1)
%104 = zext i32 %103 to i64
br label %105
105: ; preds = %102, %124
%106 = phi i32 [ %114, %124 ], [ %96, %102 ]
br label %107
107: ; preds = %105, %121
%108 = phi i64 [ 0, %105 ], [ %122, %121 ]
%109 = getelementptr inbounds i8, ptr %64, i64 %108
%110 = load i8, ptr %109, align 1, !tbaa !11
%111 = zext i8 %110 to i32
%112 = icmp slt i32 %106, %111
br i1 %112, label %121, label %113
113: ; preds = %107
%114 = sub nsw i32 %106, %111
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %97, i64 %115
%117 = getelementptr inbounds ptr, ptr %63, i64 %108
%118 = load ptr, ptr %117, align 8, !tbaa !5
%119 = tail call i64 @memcmp(ptr noundef %116, ptr noundef %118, i32 noundef %111) #3
%120 = icmp eq i64 %119, 0
br i1 %120, label %124, label %121
121: ; preds = %107, %113
%122 = add nuw nsw i64 %108, 1
%123 = icmp eq i64 %122, %104
br i1 %123, label %126, label %107, !llvm.loop !16
124: ; preds = %113
%125 = icmp sgt i32 %114, 0
br i1 %125, label %105, label %126
126: ; preds = %90, %124, %121, %95
%127 = phi ptr [ %97, %95 ], [ %97, %121 ], [ %97, %124 ], [ %92, %90 ]
%128 = phi i32 [ %96, %95 ], [ %106, %121 ], [ %114, %124 ], [ %93, %90 ]
br i1 %20, label %131, label %129
129: ; preds = %126
%130 = tail call i32 @sqlite3_free(ptr noundef nonnull %63) #3
br label %131
131: ; preds = %39, %26, %126, %129, %58
%132 = phi i32 [ %128, %129 ], [ %128, %126 ], [ %14, %58 ], [ %14, %26 ], [ %14, %39 ]
%133 = phi ptr [ %127, %129 ], [ %127, %126 ], [ %10, %58 ], [ %10, %26 ], [ %10, %39 ]
%134 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !17
%135 = tail call i32 @sqlite3_result_text(ptr noundef %0, ptr noundef %133, i32 noundef %132, i32 noundef %134) #3
br label %136
136: ; preds = %35, %21, %8, %3, %131
ret void
}
declare i64 @sqlite3_value_type(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @SQLITE_SKIP_UTF8(ptr noundef) local_unnamed_addr #1
declare ptr @contextMalloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SQLITE_PTR_TO_INT(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_user_data(ptr noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_text(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_trimFunc.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_trimFunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_NULL = common local_unnamed_addr global i64 0, align 8
@trimFunc.lenOne = internal unnamed_addr constant [1 x i8] c"\01", align 1
@trimFunc.azOne = internal constant [1 x ptr] [ptr @.str], align 8
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@SQLITE_TRANSIENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @trimFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @trimFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = tail call i64 @sqlite3_value_type(ptr noundef %4) #3
%6 = load i64, ptr @SQLITE_NULL, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
br i1 %7, label %135, label %8
8: ; preds = %3
%9 = load ptr, ptr %2, align 8, !tbaa !6
%10 = tail call ptr @sqlite3_value_text(ptr noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %135, label %12
12: ; preds = %8
%13 = load ptr, ptr %2, align 8, !tbaa !6
%14 = tail call i32 @sqlite3_value_bytes(ptr noundef %13) #3
%15 = load ptr, ptr %2, align 8, !tbaa !6
%16 = tail call ptr @sqlite3_value_text(ptr noundef %15) #3
%17 = icmp eq ptr %10, %16
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #3
%20 = icmp eq i32 %1, 1
br i1 %20, label %60, label %21
21: ; preds = %12
%22 = getelementptr inbounds i8, ptr %2, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !6
%24 = tail call ptr @sqlite3_value_text(ptr noundef %23) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %135, label %26
26: ; preds = %21
%27 = load i8, ptr %24, align 1, !tbaa !12
%28 = icmp eq i8 %27, 0
br i1 %28, label %130, label %29
29: ; preds = %26, %29
%30 = phi i32 [ %32, %29 ], [ 0, %26 ]
%31 = tail call i32 @SQLITE_SKIP_UTF8(ptr noundef nonnull %24) #3
%32 = add nuw nsw i32 %30, 1
%33 = load i8, ptr %24, align 1, !tbaa !12
%34 = icmp eq i8 %33, 0
br i1 %34, label %35, label %29, !llvm.loop !13
35: ; preds = %29
%36 = mul i32 %32, 9
%37 = tail call ptr @contextMalloc(ptr noundef %0, i32 noundef %36) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %135, label %39
39: ; preds = %35
%40 = zext nneg i32 %32 to i64
%41 = getelementptr inbounds ptr, ptr %37, i64 %40
%42 = load i8, ptr %24, align 1, !tbaa !12
%43 = icmp eq i8 %42, 0
br i1 %43, label %130, label %44
44: ; preds = %39
%45 = ptrtoint ptr %24 to i64
br label %46
46: ; preds = %44, %46
%47 = phi i64 [ 0, %44 ], [ %55, %46 ]
%48 = getelementptr inbounds ptr, ptr %37, i64 %47
store ptr %24, ptr %48, align 8, !tbaa !6
%49 = tail call i32 @SQLITE_SKIP_UTF8(ptr noundef nonnull %24) #3
%50 = load ptr, ptr %48, align 8, !tbaa !6
%51 = ptrtoint ptr %50 to i64
%52 = sub i64 %45, %51
%53 = trunc i64 %52 to i8
%54 = getelementptr inbounds i8, ptr %41, i64 %47
store i8 %53, ptr %54, align 1, !tbaa !12
%55 = add nuw nsw i64 %47, 1
%56 = load i8, ptr %24, align 1, !tbaa !12
%57 = icmp eq i8 %56, 0
br i1 %57, label %58, label %46, !llvm.loop !15
58: ; preds = %46
%59 = trunc nuw i64 %55 to i32
br label %60
60: ; preds = %58, %12
%61 = phi i32 [ %59, %58 ], [ 1, %12 ]
%62 = phi ptr [ %37, %58 ], [ @trimFunc.azOne, %12 ]
%63 = phi ptr [ %41, %58 ], [ @trimFunc.lenOne, %12 ]
%64 = tail call i32 @sqlite3_user_data(ptr noundef %0) #3
%65 = tail call i32 @SQLITE_PTR_TO_INT(i32 noundef %64) #3
%66 = and i32 %65, 1
%67 = icmp ne i32 %66, 0
%68 = icmp sgt i32 %14, 0
%69 = select i1 %67, i1 %68, i1 false
br i1 %69, label %70, label %94
70: ; preds = %60
%71 = zext i32 %61 to i64
br label %72
72: ; preds = %70, %89
%73 = phi i32 [ %92, %89 ], [ %14, %70 ]
%74 = phi ptr [ %91, %89 ], [ %10, %70 ]
br label %75
75: ; preds = %72, %86
%76 = phi i64 [ 0, %72 ], [ %87, %86 ]
%77 = getelementptr inbounds i8, ptr %63, i64 %76
%78 = load i8, ptr %77, align 1, !tbaa !12
%79 = zext i8 %78 to i32
%80 = icmp slt i32 %73, %79
br i1 %80, label %86, label %81
81: ; preds = %75
%82 = getelementptr inbounds ptr, ptr %62, i64 %76
%83 = load ptr, ptr %82, align 8, !tbaa !6
%84 = tail call i64 @memcmp(ptr noundef %74, ptr noundef %83, i32 noundef %79) #3
%85 = icmp eq i64 %84, 0
br i1 %85, label %89, label %86
86: ; preds = %75, %81
%87 = add nuw nsw i64 %76, 1
%88 = icmp eq i64 %87, %71
br i1 %88, label %94, label %75, !llvm.loop !16
89: ; preds = %81
%90 = zext i8 %78 to i64
%91 = getelementptr inbounds i8, ptr %74, i64 %90
%92 = sub nsw i32 %73, %79
%93 = icmp sgt i32 %92, 0
br i1 %93, label %72, label %125
94: ; preds = %86, %60
%95 = phi i32 [ %14, %60 ], [ %73, %86 ]
%96 = phi ptr [ %10, %60 ], [ %74, %86 ]
%97 = and i32 %65, 2
%98 = icmp ne i32 %97, 0
%99 = icmp sgt i32 %95, 0
%100 = select i1 %98, i1 %99, i1 false
br i1 %100, label %101, label %125
101: ; preds = %94
%102 = tail call i32 @llvm.umax.i32(i32 %61, i32 1)
%103 = zext i32 %102 to i64
br label %104
104: ; preds = %101, %123
%105 = phi i32 [ %113, %123 ], [ %95, %101 ]
br label %106
106: ; preds = %104, %120
%107 = phi i64 [ 0, %104 ], [ %121, %120 ]
%108 = getelementptr inbounds i8, ptr %63, i64 %107
%109 = load i8, ptr %108, align 1, !tbaa !12
%110 = zext i8 %109 to i32
%111 = icmp slt i32 %105, %110
br i1 %111, label %120, label %112
112: ; preds = %106
%113 = sub nsw i32 %105, %110
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %96, i64 %114
%116 = getelementptr inbounds ptr, ptr %62, i64 %107
%117 = load ptr, ptr %116, align 8, !tbaa !6
%118 = tail call i64 @memcmp(ptr noundef %115, ptr noundef %117, i32 noundef %110) #3
%119 = icmp eq i64 %118, 0
br i1 %119, label %123, label %120
120: ; preds = %106, %112
%121 = add nuw nsw i64 %107, 1
%122 = icmp eq i64 %121, %103
br i1 %122, label %125, label %106, !llvm.loop !17
123: ; preds = %112
%124 = icmp sgt i32 %113, 0
br i1 %124, label %104, label %125
125: ; preds = %89, %123, %120, %94
%126 = phi ptr [ %96, %94 ], [ %96, %120 ], [ %96, %123 ], [ %91, %89 ]
%127 = phi i32 [ %95, %94 ], [ %105, %120 ], [ %113, %123 ], [ %92, %89 ]
br i1 %20, label %130, label %128
128: ; preds = %125
%129 = tail call i32 @sqlite3_free(ptr noundef nonnull %62) #3
br label %130
130: ; preds = %39, %26, %125, %128
%131 = phi i32 [ %127, %128 ], [ %127, %125 ], [ %14, %26 ], [ %14, %39 ]
%132 = phi ptr [ %126, %128 ], [ %126, %125 ], [ %10, %26 ], [ %10, %39 ]
%133 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !18
%134 = tail call i32 @sqlite3_result_text(ptr noundef %0, ptr noundef %132, i32 noundef %131, i32 noundef %133) #3
br label %135
135: ; preds = %35, %21, %8, %3, %130
ret void
}
declare i64 @sqlite3_value_type(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_bytes(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @SQLITE_SKIP_UTF8(ptr noundef) local_unnamed_addr #1
declare ptr @contextMalloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SQLITE_PTR_TO_INT(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_user_data(ptr noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_text(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.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 = !{!"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 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
| mongoose_examples_api_server_extr_sqlite3.c_trimFunc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_sm_stopped.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_sm_stopped.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bna_tx_sm_start_wait = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bna_tx_sm_stopped], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bna_tx_sm_stopped(ptr noundef %0, i32 noundef %1) #0 {
switch i32 %1, label %10 [
i32 129, label %3
i32 128, label %6
i32 131, label %12
i32 130, label %8
i32 132, label %12
]
3: ; preds = %2
%4 = load i32, ptr @bna_tx_sm_start_wait, align 4, !tbaa !5
%5 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %4) #2
br label %12
6: ; preds = %2
%7 = tail call i32 @call_tx_stop_cbfn(ptr noundef %0) #2
br label %12
8: ; preds = %2
%9 = tail call i32 @call_tx_prio_change_cbfn(ptr noundef %0) #2
br label %12
10: ; preds = %2
%11 = tail call i32 @bfa_sm_fault(i32 noundef %1) #2
br label %12
12: ; preds = %10, %2, %8, %2, %6, %3
ret void
}
declare i32 @bfa_fsm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @call_tx_stop_cbfn(ptr noundef) local_unnamed_addr #1
declare i32 @call_tx_prio_change_cbfn(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_sm_fault(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/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_sm_stopped.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_tx_sm_stopped.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bna_tx_sm_start_wait = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bna_tx_sm_stopped], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bna_tx_sm_stopped(ptr noundef %0, i32 noundef %1) #0 {
switch i32 %1, label %10 [
i32 129, label %3
i32 128, label %6
i32 131, label %12
i32 130, label %8
i32 132, label %12
]
3: ; preds = %2
%4 = load i32, ptr @bna_tx_sm_start_wait, align 4, !tbaa !6
%5 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %4) #2
br label %12
6: ; preds = %2
%7 = tail call i32 @call_tx_stop_cbfn(ptr noundef %0) #2
br label %12
8: ; preds = %2
%9 = tail call i32 @call_tx_prio_change_cbfn(ptr noundef %0) #2
br label %12
10: ; preds = %2
%11 = tail call i32 @bfa_sm_fault(i32 noundef %1) #2
br label %12
12: ; preds = %10, %2, %8, %2, %6, %3
ret void
}
declare i32 @bfa_fsm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @call_tx_stop_cbfn(ptr noundef) local_unnamed_addr #1
declare i32 @call_tx_prio_change_cbfn(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_sm_fault(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_drivers_net_bna_extr_bna_tx_rx.c_bna_tx_sm_stopped |
; ModuleID = 'AnghaBench/linux/drivers/media/firewire/extr_firedtv-avc.c_avc_ca_reset.c'
source_filename = "AnghaBench/linux/drivers/media/firewire/extr_firedtv-avc.c_avc_ca_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.firedtv = type { i32, i32, i32, i64 }
%struct.avc_command_frame = type { i32, ptr, i32, i32 }
@AVC_CTYPE_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@AVC_SUBUNIT_TYPE_TUNER = dso_local local_unnamed_addr global i32 0, align 4
@AVC_OPCODE_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_0 = dso_local local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_1 = dso_local local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_2 = dso_local local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_OPCODE_HOST2CA = dso_local local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_TAG_CA_RESET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @avc_ca_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.firedtv, ptr %0, i64 0, i32 3
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds %struct.firedtv, ptr %0, i64 0, i32 2
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = load i32, ptr @AVC_CTYPE_CONTROL, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.avc_command_frame, ptr %4, i64 0, i32 3
store i32 %7, ptr %8, align 4, !tbaa !12
%9 = load i32, ptr @AVC_SUBUNIT_TYPE_TUNER, align 4, !tbaa !11
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = or i32 %10, %9
store i32 %11, ptr %4, align 8, !tbaa !16
%12 = load i32, ptr @AVC_OPCODE_VENDOR, align 4, !tbaa !11
%13 = getelementptr inbounds %struct.avc_command_frame, ptr %4, i64 0, i32 2
store i32 %12, ptr %13, align 8, !tbaa !17
%14 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_0, align 4, !tbaa !11
%15 = getelementptr inbounds %struct.avc_command_frame, ptr %4, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !18
store i32 %14, ptr %16, align 4, !tbaa !11
%17 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_1, align 4, !tbaa !11
%18 = getelementptr inbounds i32, ptr %16, i64 1
store i32 %17, ptr %18, align 4, !tbaa !11
%19 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_2, align 4, !tbaa !11
%20 = getelementptr inbounds i32, ptr %16, i64 2
store i32 %19, ptr %20, align 4, !tbaa !11
%21 = load i32, ptr @SFE_VENDOR_OPCODE_HOST2CA, align 4, !tbaa !11
%22 = getelementptr inbounds i32, ptr %16, i64 3
store i32 %21, ptr %22, align 4, !tbaa !11
%23 = getelementptr inbounds i32, ptr %16, i64 4
store i32 0, ptr %23, align 4, !tbaa !11
%24 = load i32, ptr @SFE_VENDOR_TAG_CA_RESET, align 4, !tbaa !11
%25 = getelementptr inbounds i32, ptr %16, i64 5
store i32 %24, ptr %25, align 4, !tbaa !11
%26 = getelementptr inbounds i32, ptr %16, i64 6
store i32 0, ptr %26, align 4, !tbaa !11
%27 = getelementptr inbounds i32, ptr %16, i64 7
store i32 1, ptr %27, align 4, !tbaa !11
%28 = getelementptr inbounds i32, ptr %16, i64 8
store i32 0, ptr %28, align 4, !tbaa !11
%29 = getelementptr inbounds %struct.firedtv, ptr %0, i64 0, i32 1
store i32 12, ptr %29, align 4, !tbaa !19
%30 = tail call i32 @avc_write(ptr noundef nonnull %0) #2
%31 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
ret i32 %30
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @avc_write(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, !10, i64 16}
!6 = !{!"firedtv", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 20}
!13 = !{!"avc_command_frame", !7, i64 0, !14, i64 8, !7, i64 16, !7, i64 20}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!13, !7, i64 0}
!17 = !{!13, !7, i64 16}
!18 = !{!13, !14, i64 8}
!19 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/media/firewire/extr_firedtv-avc.c_avc_ca_reset.c'
source_filename = "AnghaBench/linux/drivers/media/firewire/extr_firedtv-avc.c_avc_ca_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVC_CTYPE_CONTROL = common local_unnamed_addr global i32 0, align 4
@AVC_SUBUNIT_TYPE_TUNER = common local_unnamed_addr global i32 0, align 4
@AVC_OPCODE_VENDOR = common local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_0 = common local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_1 = common local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_DE_COMPANYID_2 = common local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_OPCODE_HOST2CA = common local_unnamed_addr global i32 0, align 4
@SFE_VENDOR_TAG_CA_RESET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @avc_ca_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = load i32, ptr @AVC_CTYPE_CONTROL, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %4, i64 20
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = load i32, ptr @AVC_SUBUNIT_TYPE_TUNER, align 4, !tbaa !12
%10 = load i32, ptr %0, align 8, !tbaa !16
%11 = or i32 %10, %9
store i32 %11, ptr %4, align 8, !tbaa !17
%12 = load i32, ptr @AVC_OPCODE_VENDOR, align 4, !tbaa !12
%13 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %12, ptr %13, align 8, !tbaa !18
%14 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_0, align 4, !tbaa !12
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !19
store i32 %14, ptr %16, align 4, !tbaa !12
%17 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_1, align 4, !tbaa !12
%18 = getelementptr inbounds i8, ptr %16, i64 4
store i32 %17, ptr %18, align 4, !tbaa !12
%19 = load i32, ptr @SFE_VENDOR_DE_COMPANYID_2, align 4, !tbaa !12
%20 = getelementptr inbounds i8, ptr %16, i64 8
store i32 %19, ptr %20, align 4, !tbaa !12
%21 = load i32, ptr @SFE_VENDOR_OPCODE_HOST2CA, align 4, !tbaa !12
%22 = getelementptr inbounds i8, ptr %16, i64 12
store i32 %21, ptr %22, align 4, !tbaa !12
%23 = getelementptr inbounds i8, ptr %16, i64 16
store i32 0, ptr %23, align 4, !tbaa !12
%24 = load i32, ptr @SFE_VENDOR_TAG_CA_RESET, align 4, !tbaa !12
%25 = getelementptr inbounds i8, ptr %16, i64 20
store i32 %24, ptr %25, align 4, !tbaa !12
%26 = getelementptr inbounds i8, ptr %16, i64 24
store <2 x i32> <i32 0, i32 1>, ptr %26, align 4, !tbaa !12
%27 = getelementptr inbounds i8, ptr %16, i64 32
store i32 0, ptr %27, align 4, !tbaa !12
%28 = getelementptr inbounds i8, ptr %0, i64 4
store i32 12, ptr %28, align 4, !tbaa !20
%29 = tail call i32 @avc_write(ptr noundef nonnull %0) #2
%30 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
ret i32 %29
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @avc_write(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, !11, i64 16}
!7 = !{!"firedtv", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 20}
!14 = !{!"avc_command_frame", !8, i64 0, !15, i64 8, !8, i64 16, !8, i64 20}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!14, !8, i64 0}
!18 = !{!14, !8, i64 16}
!19 = !{!14, !15, i64 8}
!20 = !{!7, !8, i64 4}
| linux_drivers_media_firewire_extr_firedtv-avc.c_avc_ca_reset |
; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_set_ack.c'
source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_set_ack.c"
target datalayout = "e-m:e-p270:32:32-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 @msg_set_ack], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @msg_set_ack(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @msg_set_bits(ptr noundef %0, i32 noundef 2, i32 noundef 16, i32 noundef 65535, i32 noundef %1) #2
ret void
}
declare i32 @msg_set_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_set_ack.c'
source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_set_ack.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 @msg_set_ack], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @msg_set_ack(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @msg_set_bits(ptr noundef %0, i32 noundef 2, i32 noundef 16, i32 noundef 65535, i32 noundef %1) #2
ret void
}
declare i32 @msg_set_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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)"}
| linux_net_tipc_extr_msg.h_msg_set_ack |
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-ops.c_ccp_fill_queue_buf.c'
source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-ops.c_ccp_fill_queue_buf.c"
target datalayout = "e-m:e-p270:32:32-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 @ccp_fill_queue_buf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ccp_fill_queue_buf(ptr noundef %0) #0 {
%2 = tail call i32 @ccp_queue_buf(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @ccp_queue_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-ops.c_ccp_fill_queue_buf.c'
source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-ops.c_ccp_fill_queue_buf.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 @ccp_fill_queue_buf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ccp_fill_queue_buf(ptr noundef %0) #0 {
%2 = tail call i32 @ccp_queue_buf(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @ccp_queue_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_crypto_ccp_extr_ccp-ops.c_ccp_fill_queue_buf |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_offload_close.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_offload_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.t3c_data = type { i32, i32 }
@OFFLOAD_DEVMAP_BIT = dso_local local_unnamed_addr global i32 0, align 4
@offload_attr_group = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @offload_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @offload_close(ptr noundef %0) #0 {
%2 = tail call ptr @tdev2adap(ptr noundef %0) #2
%3 = tail call ptr @T3C_DATA(ptr noundef %0) #2
%4 = load i32, ptr @OFFLOAD_DEVMAP_BIT, align 4, !tbaa !5
%5 = tail call i32 @test_bit(i32 noundef %4, ptr noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %26, label %7
7: ; preds = %1
%8 = tail call i32 @cxgb3_remove_clients(ptr noundef %0) #2
%9 = load ptr, ptr %0, align 8, !tbaa !9
%10 = tail call i32 @sysfs_remove_group(ptr noundef %9, ptr noundef nonnull @offload_attr_group) #2
%11 = tail call i32 @spin_lock_bh(ptr noundef %3) #2
%12 = getelementptr inbounds %struct.t3c_data, ptr %3, i64 0, i32 1
%13 = tail call i32 @flush_work(ptr noundef nonnull %12) #2
%14 = tail call i32 @cancel_work_sync(ptr noundef nonnull %12) #2
%15 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2
store ptr null, ptr %0, align 8, !tbaa !9
%16 = tail call i32 @cxgb3_set_dummy_ops(ptr noundef nonnull %0) #2
%17 = tail call i32 @t3_tp_set_offload_mode(ptr noundef %2, i32 noundef 0) #2
%18 = load i32, ptr @OFFLOAD_DEVMAP_BIT, align 4, !tbaa !5
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef %2) #2
%20 = load i32, ptr %2, align 4, !tbaa !12
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %7
%23 = tail call i32 @cxgb_down(ptr noundef nonnull %2, i32 noundef 0) #2
br label %24
24: ; preds = %22, %7
%25 = tail call i32 @cxgb3_offload_deactivate(ptr noundef nonnull %2) #2
br label %26
26: ; preds = %1, %24
ret i32 0
}
declare ptr @tdev2adap(ptr noundef) local_unnamed_addr #1
declare ptr @T3C_DATA(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cxgb3_remove_clients(ptr noundef) local_unnamed_addr #1
declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @flush_work(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @cxgb3_set_dummy_ops(ptr noundef) local_unnamed_addr #1
declare i32 @t3_tp_set_offload_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cxgb_down(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgb3_offload_deactivate(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"t3cdev", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"adapter", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_offload_close.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_offload_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OFFLOAD_DEVMAP_BIT = common local_unnamed_addr global i32 0, align 4
@offload_attr_group = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @offload_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @offload_close(ptr noundef %0) #0 {
%2 = tail call ptr @tdev2adap(ptr noundef %0) #2
%3 = tail call ptr @T3C_DATA(ptr noundef %0) #2
%4 = load i32, ptr @OFFLOAD_DEVMAP_BIT, align 4, !tbaa !6
%5 = tail call i32 @test_bit(i32 noundef %4, ptr noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %26, label %7
7: ; preds = %1
%8 = tail call i32 @cxgb3_remove_clients(ptr noundef %0) #2
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = tail call i32 @sysfs_remove_group(ptr noundef %9, ptr noundef nonnull @offload_attr_group) #2
%11 = tail call i32 @spin_lock_bh(ptr noundef %3) #2
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = tail call i32 @flush_work(ptr noundef nonnull %12) #2
%14 = tail call i32 @cancel_work_sync(ptr noundef nonnull %12) #2
%15 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2
store ptr null, ptr %0, align 8, !tbaa !10
%16 = tail call i32 @cxgb3_set_dummy_ops(ptr noundef nonnull %0) #2
%17 = tail call i32 @t3_tp_set_offload_mode(ptr noundef %2, i32 noundef 0) #2
%18 = load i32, ptr @OFFLOAD_DEVMAP_BIT, align 4, !tbaa !6
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef %2) #2
%20 = load i32, ptr %2, align 4, !tbaa !13
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %7
%23 = tail call i32 @cxgb_down(ptr noundef nonnull %2, i32 noundef 0) #2
br label %24
24: ; preds = %22, %7
%25 = tail call i32 @cxgb3_offload_deactivate(ptr noundef nonnull %2) #2
br label %26
26: ; preds = %1, %24
ret i32 0
}
declare ptr @tdev2adap(ptr noundef) local_unnamed_addr #1
declare ptr @T3C_DATA(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cxgb3_remove_clients(ptr noundef) local_unnamed_addr #1
declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @flush_work(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @cxgb3_set_dummy_ops(ptr noundef) local_unnamed_addr #1
declare i32 @t3_tp_set_offload_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cxgb_down(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgb3_offload_deactivate(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"t3cdev", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"adapter", !7, i64 0}
| fastsocket_kernel_drivers_net_cxgb3_extr_cxgb3_main.c_offload_close |
; ModuleID = 'AnghaBench/mruby/src/extr_vm.c_stack_copy.c'
source_filename = "AnghaBench/mruby/src/extr_vm.c_stack_copy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @stack_copy], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define internal void @stack_copy(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %86, label %5
5: ; preds = %3
%6 = ptrtoint ptr %0 to i64
%7 = ptrtoint ptr %1 to i64
%8 = icmp ult i64 %2, 8
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 32
%11 = or i1 %8, %10
br i1 %11, label %33, label %12
12: ; preds = %5
%13 = and i64 %2, -8
%14 = and i64 %2, 7
%15 = shl i64 %13, 2
%16 = getelementptr i8, ptr %1, i64 %15
%17 = shl i64 %13, 2
%18 = getelementptr i8, ptr %0, i64 %17
br label %19
19: ; preds = %19, %12
%20 = phi i64 [ 0, %12 ], [ %29, %19 ]
%21 = shl i64 %20, 2
%22 = getelementptr i8, ptr %1, i64 %21
%23 = shl i64 %20, 2
%24 = getelementptr i8, ptr %0, i64 %23
%25 = getelementptr i32, ptr %22, i64 4
%26 = load <4 x i32>, ptr %22, align 4, !tbaa !5
%27 = load <4 x i32>, ptr %25, align 4, !tbaa !5
%28 = getelementptr i32, ptr %24, i64 4
store <4 x i32> %26, ptr %24, align 4, !tbaa !5
store <4 x i32> %27, ptr %28, align 4, !tbaa !5
%29 = add nuw i64 %20, 8
%30 = icmp eq i64 %29, %13
br i1 %30, label %31, label %19, !llvm.loop !9
31: ; preds = %19
%32 = icmp eq i64 %13, %2
br i1 %32, label %86, label %33
33: ; preds = %5, %31
%34 = phi i64 [ %2, %5 ], [ %14, %31 ]
%35 = phi ptr [ %1, %5 ], [ %16, %31 ]
%36 = phi ptr [ %0, %5 ], [ %18, %31 ]
%37 = add i64 %34, -1
%38 = and i64 %34, 7
%39 = icmp eq i64 %38, 0
br i1 %39, label %51, label %40
40: ; preds = %33, %40
%41 = phi i64 [ %45, %40 ], [ %34, %33 ]
%42 = phi ptr [ %46, %40 ], [ %35, %33 ]
%43 = phi ptr [ %48, %40 ], [ %36, %33 ]
%44 = phi i64 [ %49, %40 ], [ 0, %33 ]
%45 = add i64 %41, -1
%46 = getelementptr inbounds i32, ptr %42, i64 1
%47 = load i32, ptr %42, align 4, !tbaa !5
%48 = getelementptr inbounds i32, ptr %43, i64 1
store i32 %47, ptr %43, align 4, !tbaa !5
%49 = add i64 %44, 1
%50 = icmp eq i64 %49, %38
br i1 %50, label %51, label %40, !llvm.loop !13
51: ; preds = %40, %33
%52 = phi i64 [ %34, %33 ], [ %45, %40 ]
%53 = phi ptr [ %35, %33 ], [ %46, %40 ]
%54 = phi ptr [ %36, %33 ], [ %48, %40 ]
%55 = icmp ult i64 %37, 7
br i1 %55, label %86, label %56
56: ; preds = %51, %56
%57 = phi i64 [ %81, %56 ], [ %52, %51 ]
%58 = phi ptr [ %82, %56 ], [ %53, %51 ]
%59 = phi ptr [ %84, %56 ], [ %54, %51 ]
%60 = getelementptr inbounds i32, ptr %58, i64 1
%61 = load i32, ptr %58, align 4, !tbaa !5
%62 = getelementptr inbounds i32, ptr %59, i64 1
store i32 %61, ptr %59, align 4, !tbaa !5
%63 = getelementptr inbounds i32, ptr %58, i64 2
%64 = load i32, ptr %60, align 4, !tbaa !5
%65 = getelementptr inbounds i32, ptr %59, i64 2
store i32 %64, ptr %62, align 4, !tbaa !5
%66 = getelementptr inbounds i32, ptr %58, i64 3
%67 = load i32, ptr %63, align 4, !tbaa !5
%68 = getelementptr inbounds i32, ptr %59, i64 3
store i32 %67, ptr %65, align 4, !tbaa !5
%69 = getelementptr inbounds i32, ptr %58, i64 4
%70 = load i32, ptr %66, align 4, !tbaa !5
%71 = getelementptr inbounds i32, ptr %59, i64 4
store i32 %70, ptr %68, align 4, !tbaa !5
%72 = getelementptr inbounds i32, ptr %58, i64 5
%73 = load i32, ptr %69, align 4, !tbaa !5
%74 = getelementptr inbounds i32, ptr %59, i64 5
store i32 %73, ptr %71, align 4, !tbaa !5
%75 = getelementptr inbounds i32, ptr %58, i64 6
%76 = load i32, ptr %72, align 4, !tbaa !5
%77 = getelementptr inbounds i32, ptr %59, i64 6
store i32 %76, ptr %74, align 4, !tbaa !5
%78 = getelementptr inbounds i32, ptr %58, i64 7
%79 = load i32, ptr %75, align 4, !tbaa !5
%80 = getelementptr inbounds i32, ptr %59, i64 7
store i32 %79, ptr %77, align 4, !tbaa !5
%81 = add i64 %57, -8
%82 = getelementptr inbounds i32, ptr %58, i64 8
%83 = load i32, ptr %78, align 4, !tbaa !5
%84 = getelementptr inbounds i32, ptr %59, i64 8
store i32 %83, ptr %80, align 4, !tbaa !5
%85 = icmp eq i64 %81, 0
br i1 %85, label %86, label %56, !llvm.loop !15
86: ; preds = %51, %56, %31, %3
ret void
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !10, !11}
| ; ModuleID = 'AnghaBench/mruby/src/extr_vm.c_stack_copy.c'
source_filename = "AnghaBench/mruby/src/extr_vm.c_stack_copy.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 @stack_copy], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @stack_copy(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %52, label %5
5: ; preds = %3
%6 = ptrtoint ptr %0 to i64
%7 = ptrtoint ptr %1 to i64
%8 = icmp ult i64 %2, 16
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 64
%11 = or i1 %8, %10
br i1 %11, label %39, label %12
12: ; preds = %5
%13 = and i64 %2, -16
%14 = and i64 %2, 15
%15 = shl i64 %13, 2
%16 = getelementptr i8, ptr %1, i64 %15
%17 = shl i64 %13, 2
%18 = getelementptr i8, ptr %0, i64 %17
br label %19
19: ; preds = %19, %12
%20 = phi i64 [ 0, %12 ], [ %35, %19 ]
%21 = shl i64 %20, 2
%22 = getelementptr i8, ptr %1, i64 %21
%23 = shl i64 %20, 2
%24 = getelementptr i8, ptr %0, i64 %23
%25 = getelementptr i8, ptr %22, i64 16
%26 = getelementptr i8, ptr %22, i64 32
%27 = getelementptr i8, ptr %22, i64 48
%28 = load <4 x i32>, ptr %22, align 4, !tbaa !6
%29 = load <4 x i32>, ptr %25, align 4, !tbaa !6
%30 = load <4 x i32>, ptr %26, align 4, !tbaa !6
%31 = load <4 x i32>, ptr %27, align 4, !tbaa !6
%32 = getelementptr i8, ptr %24, i64 16
%33 = getelementptr i8, ptr %24, i64 32
%34 = getelementptr i8, ptr %24, i64 48
store <4 x i32> %28, ptr %24, align 4, !tbaa !6
store <4 x i32> %29, ptr %32, align 4, !tbaa !6
store <4 x i32> %30, ptr %33, align 4, !tbaa !6
store <4 x i32> %31, ptr %34, align 4, !tbaa !6
%35 = add nuw i64 %20, 16
%36 = icmp eq i64 %35, %13
br i1 %36, label %37, label %19, !llvm.loop !10
37: ; preds = %19
%38 = icmp eq i64 %13, %2
br i1 %38, label %52, label %39
39: ; preds = %37, %5
%40 = phi i64 [ %2, %5 ], [ %14, %37 ]
%41 = phi ptr [ %1, %5 ], [ %16, %37 ]
%42 = phi ptr [ %0, %5 ], [ %18, %37 ]
br label %43
43: ; preds = %39, %43
%44 = phi i64 [ %47, %43 ], [ %40, %39 ]
%45 = phi ptr [ %48, %43 ], [ %41, %39 ]
%46 = phi ptr [ %50, %43 ], [ %42, %39 ]
%47 = add i64 %44, -1
%48 = getelementptr inbounds i8, ptr %45, i64 4
%49 = load i32, ptr %45, align 4, !tbaa !6
%50 = getelementptr inbounds i8, ptr %46, i64 4
store i32 %49, ptr %46, align 4, !tbaa !6
%51 = icmp eq i64 %47, 0
br i1 %51, label %52, label %43, !llvm.loop !14
52: ; preds = %43, %37, %3
ret void
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !12}
| mruby_src_extr_vm.c_stack_copy |
; ModuleID = 'AnghaBench/vlc/src/input/extr_vlm.c_Manage.c'
source_filename = "AnghaBench/vlc/src/input/extr_vlm.c_Manage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, i32, i32, i32, ptr, ptr, i32, i32 }
%struct.TYPE_13__ = type { i32, %struct.TYPE_10__, ptr }
%struct.TYPE_10__ = type { i32, i32, i64, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_14__ = type { i32, i32, i32 }
%struct.TYPE_11__ = type { i64, i64, i32, i32, ptr, i64 }
@VLM_STOP_MEDIA_INSTANCE = dso_local local_unnamed_addr global i32 0, align 4
@VLM_START_MEDIA_BROADCAST_INSTANCE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Manage], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal noalias noundef nonnull ptr @Manage(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%4 = call i32 @time(ptr noundef nonnull %2) #4
%5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 6
%6 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 7
%7 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3
%8 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%9 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 5
%10 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%11 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4
br label %12
12: ; preds = %194, %1
%13 = phi i64 [ 0, %1 ], [ %195, %194 ]
%14 = call i32 @vlc_mutex_lock(ptr noundef nonnull %5) #4
%15 = call i32 @mutex_cleanup_push(ptr noundef nonnull %5) #4
%16 = load i32, ptr %0, align 8, !tbaa !5
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %12
%19 = icmp eq i64 %13, 0
br label %20
20: ; preds = %18, %27
br i1 %19, label %25, label %21
21: ; preds = %20
%22 = call i64 @vlc_cond_timedwait_daytime(ptr noundef nonnull %6, ptr noundef nonnull %5, i64 noundef %13) #4
%23 = icmp ne i64 %22, 0
%24 = zext i1 %23 to i32
br label %27
25: ; preds = %20
%26 = call i32 @vlc_cond_wait(ptr noundef nonnull %6, ptr noundef nonnull %5) #4
br label %27
27: ; preds = %25, %21
%28 = phi i32 [ %24, %21 ], [ 0, %25 ]
%29 = load i32, ptr %0, align 8, !tbaa !5
%30 = icmp eq i32 %29, 0
%31 = icmp eq i32 %28, 0
%32 = select i1 %30, i1 %31, i1 false
br i1 %32, label %20, label %33, !llvm.loop !11
33: ; preds = %27, %12
store i32 0, ptr %0, align 8, !tbaa !5
%34 = call i32 (...) @vlc_cleanup_pop() #4
%35 = call i32 @vlc_mutex_unlock(ptr noundef nonnull %5) #4
%36 = call i32 (...) @vlc_savecancel() #4
%37 = call i32 @vlc_mutex_lock(ptr noundef nonnull %7) #4
%38 = load i32, ptr %8, align 4, !tbaa !13
%39 = icmp sgt i32 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %62, %33
%41 = call i32 @time(ptr noundef nonnull %3) #4
%42 = load i32, ptr %10, align 8, !tbaa !14
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %194
44: ; preds = %40
%45 = load ptr, ptr %11, align 8, !tbaa !15
br label %112
46: ; preds = %33, %62
%47 = phi i32 [ %63, %62 ], [ %38, %33 ]
%48 = phi i64 [ %64, %62 ], [ 0, %33 ]
%49 = load ptr, ptr %9, align 8, !tbaa !16
%50 = getelementptr inbounds ptr, ptr %49, i64 %48
%51 = load ptr, ptr %50, align 8, !tbaa !17
%52 = load i32, ptr %51, align 8, !tbaa !18
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %46
%55 = getelementptr inbounds %struct.TYPE_13__, ptr %51, i64 0, i32 2
%56 = getelementptr inbounds %struct.TYPE_13__, ptr %51, i64 0, i32 1
%57 = getelementptr inbounds %struct.TYPE_13__, ptr %51, i64 0, i32 1, i32 2
%58 = getelementptr inbounds %struct.TYPE_13__, ptr %51, i64 0, i32 1, i32 3
%59 = getelementptr inbounds %struct.TYPE_13__, ptr %51, i64 0, i32 1, i32 1
br label %67
60: ; preds = %108
%61 = load i32, ptr %8, align 4, !tbaa !13
br label %62
62: ; preds = %60, %46
%63 = phi i32 [ %61, %60 ], [ %47, %46 ]
%64 = add nuw nsw i64 %48, 1
%65 = sext i32 %63 to i64
%66 = icmp slt i64 %64, %65
br i1 %66, label %46, label %40, !llvm.loop !23
67: ; preds = %54, %108
%68 = phi i32 [ 0, %54 ], [ %109, %108 ]
%69 = load ptr, ptr %55, align 8, !tbaa !24
%70 = sext i32 %68 to i64
%71 = getelementptr inbounds ptr, ptr %69, i64 %70
%72 = load ptr, ptr %71, align 8, !tbaa !17
%73 = getelementptr inbounds %struct.TYPE_14__, ptr %72, i64 0, i32 1
%74 = load i32, ptr %73, align 4, !tbaa !25
%75 = call i32 @vlc_player_Lock(i32 noundef %74) #4
%76 = load i32, ptr %73, align 4, !tbaa !25
%77 = call i32 @vlc_player_IsStarted(i32 noundef %76) #4
%78 = icmp eq i32 %77, 0
%79 = load i32, ptr %73, align 4, !tbaa !25
%80 = call i32 @vlc_player_Unlock(i32 noundef %79) #4
br i1 %78, label %81, label %106
81: ; preds = %67
%82 = load i64, ptr %57, align 8, !tbaa !27
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %94
84: ; preds = %81
%85 = load i32, ptr %72, align 4, !tbaa !28
%86 = add nsw i32 %85, 1
%87 = load i64, ptr %58, align 8, !tbaa !29
%88 = icmp eq i64 %87, 0
%89 = load i32, ptr %56, align 8, !tbaa !30
%90 = icmp slt i32 %86, %89
%91 = select i1 %88, i1 true, i1 %90
%92 = select i1 %91, i32 %86, i32 0
%93 = icmp slt i32 %92, %89
br i1 %93, label %100, label %94
94: ; preds = %81, %84
%95 = load i32, ptr @VLM_STOP_MEDIA_INSTANCE, align 4, !tbaa !31
%96 = load i32, ptr %59, align 4, !tbaa !32
%97 = getelementptr inbounds %struct.TYPE_14__, ptr %72, i64 0, i32 2
%98 = load i32, ptr %97, align 4, !tbaa !33
%99 = call i32 (ptr, i32, i32, i32, ...) @vlm_ControlInternal(ptr noundef nonnull %0, i32 noundef %95, i32 noundef %96, i32 noundef %98) #4
br label %108
100: ; preds = %84
%101 = load i32, ptr @VLM_START_MEDIA_BROADCAST_INSTANCE, align 4, !tbaa !31
%102 = load i32, ptr %59, align 4, !tbaa !32
%103 = getelementptr inbounds %struct.TYPE_14__, ptr %72, i64 0, i32 2
%104 = load i32, ptr %103, align 4, !tbaa !33
%105 = call i32 (ptr, i32, i32, i32, ...) @vlm_ControlInternal(ptr noundef nonnull %0, i32 noundef %101, i32 noundef %102, i32 noundef %104, i32 noundef %92) #4
br label %108
106: ; preds = %67
%107 = add nsw i32 %68, 1
br label %108
108: ; preds = %94, %100, %106
%109 = phi i32 [ %107, %106 ], [ 0, %100 ], [ 0, %94 ]
%110 = load i32, ptr %51, align 8, !tbaa !18
%111 = icmp slt i32 %109, %110
br i1 %111, label %67, label %60, !llvm.loop !34
112: ; preds = %44, %186
%113 = phi i32 [ %42, %44 ], [ %187, %186 ]
%114 = phi ptr [ %45, %44 ], [ %188, %186 ]
%115 = phi ptr [ %45, %44 ], [ %189, %186 ]
%116 = phi i64 [ 0, %44 ], [ %191, %186 ]
%117 = phi i64 [ 0, %44 ], [ %190, %186 ]
%118 = getelementptr inbounds ptr, ptr %115, i64 %116
%119 = load ptr, ptr %118, align 8, !tbaa !17
%120 = load i64, ptr %119, align 8, !tbaa !35
%121 = getelementptr inbounds %struct.TYPE_11__, ptr %119, i64 0, i32 5
%122 = load i64, ptr %121, align 8, !tbaa !37
%123 = icmp eq i64 %122, 0
br i1 %123, label %186, label %124
124: ; preds = %112
%125 = icmp eq i64 %120, 0
br i1 %125, label %126, label %128
126: ; preds = %124
%127 = load i64, ptr %3, align 8, !tbaa !38
store i64 %127, ptr %119, align 8, !tbaa !35
br label %149
128: ; preds = %124
%129 = getelementptr inbounds %struct.TYPE_11__, ptr %119, i64 0, i32 1
%130 = load i64, ptr %129, align 8, !tbaa !39
%131 = icmp eq i64 %130, 0
br i1 %131, label %149, label %132
132: ; preds = %128
%133 = load i64, ptr %2, align 8, !tbaa !38
%134 = icmp sgt i64 %120, %133
br i1 %134, label %149, label %135
135: ; preds = %132
%136 = getelementptr inbounds %struct.TYPE_11__, ptr %119, i64 0, i32 2
%137 = load i32, ptr %136, align 8, !tbaa !40
%138 = zext i32 %137 to i64
%139 = mul i64 %130, %138
%140 = add i64 %120, %139
br label %146
141: ; preds = %146
%142 = add nuw nsw i64 %147, 1
%143 = mul nsw i64 %130, %142
%144 = add nsw i64 %143, %120
%145 = icmp sgt i64 %144, %133
br i1 %145, label %149, label %146, !llvm.loop !41
146: ; preds = %135, %141
%147 = phi i64 [ 0, %135 ], [ %142, %141 ]
%148 = icmp eq i64 %147, %138
br i1 %148, label %149, label %141
149: ; preds = %146, %141, %132, %128, %126
%150 = phi i64 [ %127, %126 ], [ %120, %128 ], [ %120, %132 ], [ %140, %146 ], [ %144, %141 ]
%151 = load i64, ptr %3, align 8, !tbaa !38
%152 = icmp sgt i64 %150, %151
br i1 %152, label %180, label %153
153: ; preds = %149
%154 = load i64, ptr %2, align 8, !tbaa !38
%155 = icmp sgt i64 %150, %154
%156 = or i1 %125, %155
br i1 %156, label %157, label %186
157: ; preds = %153
%158 = getelementptr inbounds ptr, ptr %114, i64 %116
%159 = load ptr, ptr %158, align 8, !tbaa !17
%160 = getelementptr inbounds %struct.TYPE_11__, ptr %159, i64 0, i32 3
%161 = load i32, ptr %160, align 4, !tbaa !42
%162 = icmp sgt i32 %161, 0
br i1 %162, label %163, label %186
163: ; preds = %157, %163
%164 = phi i64 [ %172, %163 ], [ 0, %157 ]
%165 = phi ptr [ %175, %163 ], [ %159, %157 ]
%166 = getelementptr inbounds %struct.TYPE_11__, ptr %165, i64 0, i32 4
%167 = load ptr, ptr %166, align 8, !tbaa !43
%168 = getelementptr inbounds i32, ptr %167, i64 %164
%169 = load i32, ptr %168, align 4, !tbaa !31
%170 = call i32 @strdup(i32 noundef %169) #4
%171 = call i32 @TAB_APPEND(i32 noundef 0, ptr noundef null, i32 noundef %170) #4
%172 = add nuw nsw i64 %164, 1
%173 = load ptr, ptr %11, align 8, !tbaa !15
%174 = getelementptr inbounds ptr, ptr %173, i64 %116
%175 = load ptr, ptr %174, align 8, !tbaa !17
%176 = getelementptr inbounds %struct.TYPE_11__, ptr %175, i64 0, i32 3
%177 = load i32, ptr %176, align 4, !tbaa !42
%178 = sext i32 %177 to i64
%179 = icmp slt i64 %172, %178
br i1 %179, label %163, label %184, !llvm.loop !44
180: ; preds = %149
%181 = icmp eq i64 %117, 0
%182 = call i64 @llvm.smin.i64(i64 %150, i64 %117)
%183 = select i1 %181, i64 %150, i64 %182
br label %186
184: ; preds = %163
%185 = load i32, ptr %10, align 8, !tbaa !14
br label %186
186: ; preds = %184, %157, %180, %153, %112
%187 = phi i32 [ %113, %112 ], [ %113, %153 ], [ %113, %180 ], [ %113, %157 ], [ %185, %184 ]
%188 = phi ptr [ %114, %112 ], [ %114, %153 ], [ %114, %180 ], [ %114, %157 ], [ %173, %184 ]
%189 = phi ptr [ %115, %112 ], [ %115, %153 ], [ %115, %180 ], [ %114, %157 ], [ %173, %184 ]
%190 = phi i64 [ %117, %112 ], [ %117, %153 ], [ %183, %180 ], [ %117, %157 ], [ %117, %184 ]
%191 = add nuw nsw i64 %116, 1
%192 = sext i32 %187 to i64
%193 = icmp slt i64 %191, %192
br i1 %193, label %112, label %194, !llvm.loop !45
194: ; preds = %186, %40
%195 = phi i64 [ 0, %40 ], [ %190, %186 ]
%196 = load i64, ptr %3, align 8, !tbaa !38
store i64 %196, ptr %2, align 8, !tbaa !38
%197 = call i32 @vlc_mutex_unlock(ptr noundef nonnull %7) #4
%198 = call i32 @vlc_restorecancel(i32 noundef %36) #4
br label %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @time(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_cleanup_push(ptr noundef) local_unnamed_addr #2
declare i64 @vlc_cond_timedwait_daytime(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @vlc_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vlc_cleanup_pop(...) local_unnamed_addr #2
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_savecancel(...) local_unnamed_addr #2
declare i32 @vlc_player_Lock(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_player_IsStarted(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_player_Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @vlm_ControlInternal(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @TAB_APPEND(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strdup(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_restorecancel(i32 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #3
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !10, i64 24}
!17 = !{!10, !10, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_13__", !7, i64 0, !20, i64 8, !10, i64 32}
!20 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !21, i64 8, !22, i64 16}
!21 = !{!"long", !8, i64 0}
!22 = !{!"TYPE_9__", !21, i64 0}
!23 = distinct !{!23, !12}
!24 = !{!19, !10, i64 32}
!25 = !{!26, !7, i64 4}
!26 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8}
!27 = !{!19, !21, i64 16}
!28 = !{!26, !7, i64 0}
!29 = !{!19, !21, i64 24}
!30 = !{!19, !7, i64 8}
!31 = !{!7, !7, i64 0}
!32 = !{!19, !7, i64 12}
!33 = !{!26, !7, i64 8}
!34 = distinct !{!34, !12}
!35 = !{!36, !21, i64 0}
!36 = !{!"TYPE_11__", !21, i64 0, !21, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !21, i64 32}
!37 = !{!36, !21, i64 32}
!38 = !{!21, !21, i64 0}
!39 = !{!36, !21, i64 8}
!40 = !{!36, !7, i64 16}
!41 = distinct !{!41, !12}
!42 = !{!36, !7, i64 20}
!43 = !{!36, !10, i64 24}
!44 = distinct !{!44, !12}
!45 = distinct !{!45, !12}
| ; ModuleID = 'AnghaBench/vlc/src/input/extr_vlm.c_Manage.c'
source_filename = "AnghaBench/vlc/src/input/extr_vlm.c_Manage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLM_STOP_MEDIA_INSTANCE = common local_unnamed_addr global i32 0, align 4
@VLM_START_MEDIA_BROADCAST_INSTANCE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Manage], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal noundef ptr @Manage(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%4 = call i32 @time(ptr noundef nonnull %2) #4
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = getelementptr inbounds i8, ptr %0, i64 36
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = getelementptr inbounds i8, ptr %0, i64 16
br label %12
12: ; preds = %194, %1
%13 = phi i64 [ 0, %1 ], [ %195, %194 ]
%14 = call i32 @vlc_mutex_lock(ptr noundef nonnull %5) #4
%15 = call i32 @mutex_cleanup_push(ptr noundef nonnull %5) #4
%16 = load i32, ptr %0, align 8, !tbaa !6
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %12
%19 = icmp eq i64 %13, 0
br label %20
20: ; preds = %18, %27
br i1 %19, label %25, label %21
21: ; preds = %20
%22 = call i64 @vlc_cond_timedwait_daytime(ptr noundef nonnull %6, ptr noundef nonnull %5, i64 noundef %13) #4
%23 = icmp ne i64 %22, 0
%24 = zext i1 %23 to i32
br label %27
25: ; preds = %20
%26 = call i32 @vlc_cond_wait(ptr noundef nonnull %6, ptr noundef nonnull %5) #4
br label %27
27: ; preds = %25, %21
%28 = phi i32 [ %24, %21 ], [ 0, %25 ]
%29 = load i32, ptr %0, align 8, !tbaa !6
%30 = icmp eq i32 %29, 0
%31 = icmp eq i32 %28, 0
%32 = select i1 %30, i1 %31, i1 false
br i1 %32, label %20, label %33, !llvm.loop !12
33: ; preds = %27, %12
store i32 0, ptr %0, align 8, !tbaa !6
%34 = call i32 @vlc_cleanup_pop() #4
%35 = call i32 @vlc_mutex_unlock(ptr noundef nonnull %5) #4
%36 = call i32 @vlc_savecancel() #4
%37 = call i32 @vlc_mutex_lock(ptr noundef nonnull %7) #4
%38 = load i32, ptr %8, align 4, !tbaa !14
%39 = icmp sgt i32 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %62, %33
%41 = call i32 @time(ptr noundef nonnull %3) #4
%42 = load i32, ptr %10, align 8, !tbaa !15
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %194
44: ; preds = %40
%45 = load ptr, ptr %11, align 8, !tbaa !16
br label %112
46: ; preds = %33, %62
%47 = phi i32 [ %63, %62 ], [ %38, %33 ]
%48 = phi i64 [ %64, %62 ], [ 0, %33 ]
%49 = load ptr, ptr %9, align 8, !tbaa !17
%50 = getelementptr inbounds ptr, ptr %49, i64 %48
%51 = load ptr, ptr %50, align 8, !tbaa !18
%52 = load i32, ptr %51, align 8, !tbaa !19
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %46
%55 = getelementptr inbounds i8, ptr %51, i64 32
%56 = getelementptr inbounds i8, ptr %51, i64 8
%57 = getelementptr inbounds i8, ptr %51, i64 16
%58 = getelementptr inbounds i8, ptr %51, i64 24
%59 = getelementptr inbounds i8, ptr %51, i64 12
br label %67
60: ; preds = %108
%61 = load i32, ptr %8, align 4, !tbaa !14
br label %62
62: ; preds = %60, %46
%63 = phi i32 [ %61, %60 ], [ %47, %46 ]
%64 = add nuw nsw i64 %48, 1
%65 = sext i32 %63 to i64
%66 = icmp slt i64 %64, %65
br i1 %66, label %46, label %40, !llvm.loop !24
67: ; preds = %54, %108
%68 = phi i32 [ 0, %54 ], [ %109, %108 ]
%69 = load ptr, ptr %55, align 8, !tbaa !25
%70 = sext i32 %68 to i64
%71 = getelementptr inbounds ptr, ptr %69, i64 %70
%72 = load ptr, ptr %71, align 8, !tbaa !18
%73 = getelementptr inbounds i8, ptr %72, i64 4
%74 = load i32, ptr %73, align 4, !tbaa !26
%75 = call i32 @vlc_player_Lock(i32 noundef %74) #4
%76 = load i32, ptr %73, align 4, !tbaa !26
%77 = call i32 @vlc_player_IsStarted(i32 noundef %76) #4
%78 = icmp eq i32 %77, 0
%79 = load i32, ptr %73, align 4, !tbaa !26
%80 = call i32 @vlc_player_Unlock(i32 noundef %79) #4
br i1 %78, label %81, label %106
81: ; preds = %67
%82 = load i64, ptr %57, align 8, !tbaa !28
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %94
84: ; preds = %81
%85 = load i32, ptr %72, align 4, !tbaa !29
%86 = add nsw i32 %85, 1
%87 = load i64, ptr %58, align 8, !tbaa !30
%88 = icmp eq i64 %87, 0
%89 = load i32, ptr %56, align 8, !tbaa !31
%90 = icmp slt i32 %86, %89
%91 = select i1 %88, i1 true, i1 %90
%92 = select i1 %91, i32 %86, i32 0
%93 = icmp slt i32 %92, %89
br i1 %93, label %100, label %94
94: ; preds = %81, %84
%95 = load i32, ptr @VLM_STOP_MEDIA_INSTANCE, align 4, !tbaa !32
%96 = load i32, ptr %59, align 4, !tbaa !33
%97 = getelementptr inbounds i8, ptr %72, i64 8
%98 = load i32, ptr %97, align 4, !tbaa !34
%99 = call i32 (ptr, i32, i32, i32, ...) @vlm_ControlInternal(ptr noundef nonnull %0, i32 noundef %95, i32 noundef %96, i32 noundef %98) #4
br label %108
100: ; preds = %84
%101 = load i32, ptr @VLM_START_MEDIA_BROADCAST_INSTANCE, align 4, !tbaa !32
%102 = load i32, ptr %59, align 4, !tbaa !33
%103 = getelementptr inbounds i8, ptr %72, i64 8
%104 = load i32, ptr %103, align 4, !tbaa !34
%105 = call i32 (ptr, i32, i32, i32, ...) @vlm_ControlInternal(ptr noundef nonnull %0, i32 noundef %101, i32 noundef %102, i32 noundef %104, i32 noundef %92) #4
br label %108
106: ; preds = %67
%107 = add nsw i32 %68, 1
br label %108
108: ; preds = %94, %100, %106
%109 = phi i32 [ %107, %106 ], [ 0, %100 ], [ 0, %94 ]
%110 = load i32, ptr %51, align 8, !tbaa !19
%111 = icmp slt i32 %109, %110
br i1 %111, label %67, label %60, !llvm.loop !35
112: ; preds = %44, %186
%113 = phi i32 [ %42, %44 ], [ %187, %186 ]
%114 = phi ptr [ %45, %44 ], [ %188, %186 ]
%115 = phi ptr [ %45, %44 ], [ %189, %186 ]
%116 = phi i64 [ 0, %44 ], [ %191, %186 ]
%117 = phi i64 [ 0, %44 ], [ %190, %186 ]
%118 = getelementptr inbounds ptr, ptr %115, i64 %116
%119 = load ptr, ptr %118, align 8, !tbaa !18
%120 = load i64, ptr %119, align 8, !tbaa !36
%121 = getelementptr inbounds i8, ptr %119, i64 32
%122 = load i64, ptr %121, align 8, !tbaa !38
%123 = icmp eq i64 %122, 0
br i1 %123, label %186, label %124
124: ; preds = %112
%125 = icmp eq i64 %120, 0
br i1 %125, label %126, label %128
126: ; preds = %124
%127 = load i64, ptr %3, align 8, !tbaa !39
store i64 %127, ptr %119, align 8, !tbaa !36
br label %149
128: ; preds = %124
%129 = getelementptr inbounds i8, ptr %119, i64 8
%130 = load i64, ptr %129, align 8, !tbaa !40
%131 = icmp eq i64 %130, 0
br i1 %131, label %149, label %132
132: ; preds = %128
%133 = load i64, ptr %2, align 8, !tbaa !39
%134 = icmp sgt i64 %120, %133
br i1 %134, label %149, label %135
135: ; preds = %132
%136 = getelementptr inbounds i8, ptr %119, i64 16
%137 = load i32, ptr %136, align 8, !tbaa !41
%138 = zext i32 %137 to i64
%139 = mul i64 %130, %138
%140 = add i64 %120, %139
br label %146
141: ; preds = %146
%142 = add nuw nsw i64 %147, 1
%143 = mul nsw i64 %130, %142
%144 = add nsw i64 %143, %120
%145 = icmp sgt i64 %144, %133
br i1 %145, label %149, label %146, !llvm.loop !42
146: ; preds = %135, %141
%147 = phi i64 [ 0, %135 ], [ %142, %141 ]
%148 = icmp eq i64 %147, %138
br i1 %148, label %149, label %141
149: ; preds = %146, %141, %132, %128, %126
%150 = phi i64 [ %127, %126 ], [ %120, %128 ], [ %120, %132 ], [ %140, %146 ], [ %144, %141 ]
%151 = load i64, ptr %3, align 8, !tbaa !39
%152 = icmp sgt i64 %150, %151
br i1 %152, label %180, label %153
153: ; preds = %149
%154 = load i64, ptr %2, align 8, !tbaa !39
%155 = icmp sgt i64 %150, %154
%156 = or i1 %125, %155
br i1 %156, label %157, label %186
157: ; preds = %153
%158 = getelementptr inbounds ptr, ptr %114, i64 %116
%159 = load ptr, ptr %158, align 8, !tbaa !18
%160 = getelementptr inbounds i8, ptr %159, i64 20
%161 = load i32, ptr %160, align 4, !tbaa !43
%162 = icmp sgt i32 %161, 0
br i1 %162, label %163, label %186
163: ; preds = %157, %163
%164 = phi i64 [ %172, %163 ], [ 0, %157 ]
%165 = phi ptr [ %175, %163 ], [ %159, %157 ]
%166 = getelementptr inbounds i8, ptr %165, i64 24
%167 = load ptr, ptr %166, align 8, !tbaa !44
%168 = getelementptr inbounds i32, ptr %167, i64 %164
%169 = load i32, ptr %168, align 4, !tbaa !32
%170 = call i32 @strdup(i32 noundef %169) #4
%171 = call i32 @TAB_APPEND(i32 noundef 0, ptr noundef null, i32 noundef %170) #4
%172 = add nuw nsw i64 %164, 1
%173 = load ptr, ptr %11, align 8, !tbaa !16
%174 = getelementptr inbounds ptr, ptr %173, i64 %116
%175 = load ptr, ptr %174, align 8, !tbaa !18
%176 = getelementptr inbounds i8, ptr %175, i64 20
%177 = load i32, ptr %176, align 4, !tbaa !43
%178 = sext i32 %177 to i64
%179 = icmp slt i64 %172, %178
br i1 %179, label %163, label %184, !llvm.loop !45
180: ; preds = %149
%181 = icmp eq i64 %117, 0
%182 = call i64 @llvm.smin.i64(i64 %150, i64 %117)
%183 = select i1 %181, i64 %150, i64 %182
br label %186
184: ; preds = %163
%185 = load i32, ptr %10, align 8, !tbaa !15
br label %186
186: ; preds = %184, %157, %180, %153, %112
%187 = phi i32 [ %113, %112 ], [ %113, %153 ], [ %113, %180 ], [ %113, %157 ], [ %185, %184 ]
%188 = phi ptr [ %114, %112 ], [ %114, %153 ], [ %114, %180 ], [ %114, %157 ], [ %173, %184 ]
%189 = phi ptr [ %115, %112 ], [ %115, %153 ], [ %115, %180 ], [ %114, %157 ], [ %173, %184 ]
%190 = phi i64 [ %117, %112 ], [ %117, %153 ], [ %183, %180 ], [ %117, %157 ], [ %117, %184 ]
%191 = add nuw nsw i64 %116, 1
%192 = sext i32 %187 to i64
%193 = icmp slt i64 %191, %192
br i1 %193, label %112, label %194, !llvm.loop !46
194: ; preds = %186, %40
%195 = phi i64 [ 0, %40 ], [ %190, %186 ]
%196 = load i64, ptr %3, align 8, !tbaa !39
store i64 %196, ptr %2, align 8, !tbaa !39
%197 = call i32 @vlc_mutex_unlock(ptr noundef nonnull %7) #4
%198 = call i32 @vlc_restorecancel(i32 noundef %36) #4
br label %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @time(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_cleanup_push(ptr noundef) local_unnamed_addr #2
declare i64 @vlc_cond_timedwait_daytime(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @vlc_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vlc_cleanup_pop(...) local_unnamed_addr #2
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @vlc_savecancel(...) local_unnamed_addr #2
declare i32 @vlc_player_Lock(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_player_IsStarted(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_player_Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @vlm_ControlInternal(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @TAB_APPEND(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strdup(i32 noundef) local_unnamed_addr #2
declare i32 @vlc_restorecancel(i32 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #3
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !11, i64 16}
!17 = !{!7, !11, i64 24}
!18 = !{!11, !11, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_13__", !8, i64 0, !21, i64 8, !11, i64 32}
!21 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !22, i64 8, !23, i64 16}
!22 = !{!"long", !9, i64 0}
!23 = !{!"TYPE_9__", !22, i64 0}
!24 = distinct !{!24, !13}
!25 = !{!20, !11, i64 32}
!26 = !{!27, !8, i64 4}
!27 = !{!"TYPE_14__", !8, i64 0, !8, i64 4, !8, i64 8}
!28 = !{!20, !22, i64 16}
!29 = !{!27, !8, i64 0}
!30 = !{!20, !22, i64 24}
!31 = !{!20, !8, i64 8}
!32 = !{!8, !8, i64 0}
!33 = !{!20, !8, i64 12}
!34 = !{!27, !8, i64 8}
!35 = distinct !{!35, !13}
!36 = !{!37, !22, i64 0}
!37 = !{!"TYPE_11__", !22, i64 0, !22, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !22, i64 32}
!38 = !{!37, !22, i64 32}
!39 = !{!22, !22, i64 0}
!40 = !{!37, !22, i64 8}
!41 = !{!37, !8, i64 16}
!42 = distinct !{!42, !13}
!43 = !{!37, !8, i64 20}
!44 = !{!37, !11, i64 24}
!45 = distinct !{!45, !13}
!46 = distinct !{!46, !13}
| vlc_src_input_extr_vlm.c_Manage |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/usb/extr_omap_tll.c_omap_tll_read_4.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/usb/extr_omap_tll.c_omap_tll_read_4.c"
target datalayout = "e-m:e-p270:32:32-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 @omap_tll_read_4], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @omap_tll_read_4(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @bus_read_4(i32 noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare i32 @bus_read_4(i32 noundef, 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 = !{!"omap_tll_softc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/usb/extr_omap_tll.c_omap_tll_read_4.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/usb/extr_omap_tll.c_omap_tll_read_4.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 @omap_tll_read_4], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @omap_tll_read_4(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @bus_read_4(i32 noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare i32 @bus_read_4(i32 noundef, 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 = !{!"omap_tll_softc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_arm_ti_usb_extr_omap_tll.c_omap_tll_read_4 |
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_backlight.c_bl_power_show.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_backlight.c_bl_power_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 [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bl_power_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bl_power_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_backlight_device(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2
ret i32 %6
}
declare ptr @to_backlight_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"backlight_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_backlight.c_bl_power_show.c'
source_filename = "AnghaBench/linux/drivers/video/backlight/extr_backlight.c_bl_power_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 [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bl_power_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bl_power_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_backlight_device(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2
ret i32 %6
}
declare ptr @to_backlight_device(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"backlight_device", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_backlight_extr_backlight.c_bl_power_show |
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/atm/uni/extr_ng_uni.c_uni_saal_output.c'
source_filename = "AnghaBench/freebsd/sys/netgraph/atm/uni/extr_ng_uni.c_uni_saal_output.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sscfu_arg = type { i32 }
%struct.priv = type { ptr, i32 }
@UNI_FAC_SAAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uni_saal_output], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uni_saal_output(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.sscfu_arg, align 4
%6 = ptrtoint ptr %1 to i64
%7 = trunc i64 %6 to i32
%8 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = getelementptr inbounds %struct.priv, ptr %8, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !5
%11 = load i32, ptr @UNI_FAC_SAAL, align 4, !tbaa !11
%12 = tail call i64 @uni_get_debug(i32 noundef %10, i32 noundef %11) #3
%13 = icmp sgt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = tail call i32 @dump_saal_signal(i32 noundef %7, i32 noundef %2, ptr noundef %3, i32 noundef 1) #3
br label %16
16: ; preds = %14, %4
%17 = load ptr, ptr %8, align 8, !tbaa !12
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = icmp eq ptr %3, null
br i1 %20, label %33, label %21
21: ; preds = %19
%22 = tail call i32 @uni_msg_destroy(ptr noundef nonnull %3) #3
br label %33
23: ; preds = %16
store i32 %2, ptr %5, align 4, !tbaa !13
%24 = call ptr @uni_msg_pack_mbuf(ptr noundef %3, ptr noundef nonnull %5, i32 noundef 4) #3
%25 = icmp eq ptr %3, null
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = call i32 @uni_msg_destroy(ptr noundef nonnull %3) #3
br label %28
28: ; preds = %26, %23
%29 = icmp eq ptr %24, null
br i1 %29, label %33, label %30
30: ; preds = %28
%31 = load ptr, ptr %8, align 8, !tbaa !12
%32 = call i32 @NG_SEND_DATA_ONLY(i32 noundef undef, ptr noundef %31, ptr noundef nonnull %24) #3
br label %33
33: ; preds = %28, %19, %21, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #2
declare i64 @uni_get_debug(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dump_saal_signal(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uni_msg_destroy(ptr noundef) local_unnamed_addr #2
declare ptr @uni_msg_pack_mbuf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NG_SEND_DATA_ONLY(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"priv", !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 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"sscfu_arg", !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netgraph/atm/uni/extr_ng_uni.c_uni_saal_output.c'
source_filename = "AnghaBench/freebsd/sys/netgraph/atm/uni/extr_ng_uni.c_uni_saal_output.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sscfu_arg = type { i32 }
@UNI_FAC_SAAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uni_saal_output], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uni_saal_output(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.sscfu_arg, align 4
%6 = ptrtoint ptr %1 to i64
%7 = trunc i64 %6 to i32
%8 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = getelementptr inbounds i8, ptr %8, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !6
%11 = load i32, ptr @UNI_FAC_SAAL, align 4, !tbaa !12
%12 = tail call i64 @uni_get_debug(i32 noundef %10, i32 noundef %11) #3
%13 = icmp sgt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = tail call i32 @dump_saal_signal(i32 noundef %7, i32 noundef %2, ptr noundef %3, i32 noundef 1) #3
br label %16
16: ; preds = %14, %4
%17 = load ptr, ptr %8, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = icmp eq ptr %3, null
br i1 %20, label %33, label %21
21: ; preds = %19
%22 = tail call i32 @uni_msg_destroy(ptr noundef nonnull %3) #3
br label %33
23: ; preds = %16
store i32 %2, ptr %5, align 4, !tbaa !14
%24 = call ptr @uni_msg_pack_mbuf(ptr noundef %3, ptr noundef nonnull %5, i32 noundef 4) #3
%25 = icmp eq ptr %3, null
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = call i32 @uni_msg_destroy(ptr noundef nonnull %3) #3
br label %28
28: ; preds = %26, %23
%29 = icmp eq ptr %24, null
br i1 %29, label %33, label %30
30: ; preds = %28
%31 = load ptr, ptr %8, align 8, !tbaa !13
%32 = call i32 @NG_SEND_DATA_ONLY(i32 noundef undef, ptr noundef %31, ptr noundef nonnull %24) #3
br label %33
33: ; preds = %28, %19, %21, %30
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #2
declare i64 @uni_get_debug(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dump_saal_signal(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uni_msg_destroy(ptr noundef) local_unnamed_addr #2
declare ptr @uni_msg_pack_mbuf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NG_SEND_DATA_ONLY(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"priv", !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 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"sscfu_arg", !11, i64 0}
| freebsd_sys_netgraph_atm_uni_extr_ng_uni.c_uni_saal_output |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_..rtl8192c..wifi.h_rtl_set_bbreg.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_..rtl8192c..wifi.h_rtl_set_bbreg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl_set_bbreg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @rtl_set_bbreg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = tail call i32 %8(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #1
ret void
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ieee80211_hw", !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 = !{!"rtl_priv", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_..rtl8192c..wifi.h_rtl_set_bbreg.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_..rtl8192c..wifi.h_rtl_set_bbreg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @rtl_set_bbreg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @rtl_set_bbreg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = tail call i32 %8(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #1
ret void
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ieee80211_hw", !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 = !{!"rtl_priv", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192ce_extr_..rtl8192c..wifi.h_rtl_set_bbreg |
; ModuleID = 'AnghaBench/reactos/base/applications/winhlp32/extr_macro.lex.yy.c_yyget_leng.c'
source_filename = "AnghaBench/reactos/base/applications/winhlp32/extr_macro.lex.yy.c_yyget_leng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@yyleng = 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 @yyget_leng() local_unnamed_addr #0 {
%1 = load i32, ptr @yyleng, align 4, !tbaa !5
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/base/applications/winhlp32/extr_macro.lex.yy.c_yyget_leng.c'
source_filename = "AnghaBench/reactos/base/applications/winhlp32/extr_macro.lex.yy.c_yyget_leng.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@yyleng = 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 @yyget_leng() local_unnamed_addr #0 {
%1 = load i32, ptr @yyleng, align 4, !tbaa !6
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_base_applications_winhlp32_extr_macro.lex.yy.c_yyget_leng |
; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_show_level.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_show_level.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @show_level(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca [2 x i8], align 1
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3
%3 = icmp slt i32 %0, 9
%4 = trunc i32 %0 to i8
%5 = select i1 %3, i8 49, i8 56
%6 = add i8 %5, %4
store i8 %6, ptr %2, align 1, !tbaa !5
%7 = call i32 @set_bkg_tiles(i32 noundef 19, i32 noundef 0, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %2) #3
%8 = call i32 @set_level(i32 noundef %0) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @set_bkg_tiles(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_level(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_show_level.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_show_level.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 @show_level(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca [2 x i8], align 1
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3
%3 = icmp slt i32 %0, 9
%4 = trunc i32 %0 to i8
%5 = select i1 %3, i8 49, i8 56
%6 = add i8 %5, %4
store i8 %6, ptr %2, align 1, !tbaa !6
%7 = call i32 @set_bkg_tiles(i32 noundef 19, i32 noundef 0, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %2) #3
%8 = call i32 @set_level(i32 noundef %0) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @set_bkg_tiles(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @set_level(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| gb-studio_buildTools_win32-ia32_gbdk_examples_gb_dscan_extr_dscan.c_show_level |
; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_rssd_disk_name_format.c'
source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_rssd_disk_name_format.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rssd_disk_name_format], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rssd_disk_name_format(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @strlen(ptr noundef %0) #2
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %2, i64 %6
%8 = sext i32 %3 to i64
%9 = getelementptr inbounds i8, ptr %2, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 -1
store i8 0, ptr %10, align 1, !tbaa !5
br label %11
11: ; preds = %18, %4
%12 = phi i32 [ %1, %4 ], [ %24, %18 ]
%13 = phi ptr [ %10, %4 ], [ %22, %18 ]
%14 = icmp eq ptr %13, %7
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr @EINVAL, align 4, !tbaa !8
%17 = sub nsw i32 0, %16
br label %34
18: ; preds = %11
%19 = srem i32 %12, 26
%20 = trunc i32 %19 to i8
%21 = add nsw i8 %20, 97
%22 = getelementptr inbounds i8, ptr %13, i64 -1
store i8 %21, ptr %22, align 1, !tbaa !5
%23 = udiv i32 %12, 26
%24 = add nsw i32 %23, -1
%25 = icmp sgt i32 %12, 25
br i1 %25, label %11, label %26, !llvm.loop !10
26: ; preds = %18
%27 = ptrtoint ptr %9 to i64
%28 = ptrtoint ptr %22 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = tail call i32 @memmove(ptr noundef %7, ptr noundef nonnull %22, i32 noundef %30) #2
%32 = tail call i32 @strlen(ptr noundef %0) #2
%33 = tail call i32 @memcpy(ptr noundef %2, ptr noundef %0, i32 noundef %32) #2
br label %34
34: ; preds = %26, %15
%35 = phi i32 [ %17, %15 ], [ 0, %26 ]
ret i32 %35
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_rssd_disk_name_format.c'
source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_rssd_disk_name_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rssd_disk_name_format], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rssd_disk_name_format(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @strlen(ptr noundef %0) #2
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %2, i64 %6
%8 = sext i32 %3 to i64
%9 = getelementptr inbounds i8, ptr %2, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 -1
store i8 0, ptr %10, align 1, !tbaa !6
br label %11
11: ; preds = %18, %4
%12 = phi i32 [ %1, %4 ], [ %24, %18 ]
%13 = phi ptr [ %10, %4 ], [ %22, %18 ]
%14 = icmp eq ptr %13, %7
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr @EINVAL, align 4, !tbaa !9
%17 = sub nsw i32 0, %16
br label %34
18: ; preds = %11
%19 = srem i32 %12, 26
%20 = trunc nsw i32 %19 to i8
%21 = add nsw i8 %20, 97
%22 = getelementptr inbounds i8, ptr %13, i64 -1
store i8 %21, ptr %22, align 1, !tbaa !6
%23 = udiv i32 %12, 26
%24 = add nsw i32 %23, -1
%25 = icmp sgt i32 %12, 25
br i1 %25, label %11, label %26, !llvm.loop !11
26: ; preds = %18
%27 = ptrtoint ptr %9 to i64
%28 = ptrtoint ptr %22 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = tail call i32 @memmove(ptr noundef %7, ptr noundef nonnull %22, i32 noundef %30) #2
%32 = tail call i32 @strlen(ptr noundef %0) #2
%33 = tail call i32 @memcpy(ptr noundef %2, ptr noundef %0, i32 noundef %32) #2
br label %34
34: ; preds = %26, %15
%35 = phi i32 [ %17, %15 ], [ 0, %26 ]
ret i32 %35
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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"}
| linux_drivers_block_mtip32xx_extr_mtip32xx.c_rssd_disk_name_format |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_lea_32_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_lea_32_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"
@AX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_lea_32_ix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_lea_32_ix() #0 {
%1 = tail call i32 (...) @EA_AY_IX_32() #2
store i32 %1, ptr @AX, align 4, !tbaa !5
ret void
}
declare i32 @EA_AY_IX_32(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_lea_32_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_lea_32_ix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m68k_op_lea_32_ix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_lea_32_ix() #0 {
%1 = tail call i32 @EA_AY_IX_32() #2
store i32 %1, ptr @AX, align 4, !tbaa !6
ret void
}
declare i32 @EA_AY_IX_32(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_lea_32_ix |
; ModuleID = 'AnghaBench/linux/arch/x86/boot/compressed/extr_kaslr.c_process_efi_entries.c'
source_filename = "AnghaBench/linux/arch/x86/boot/compressed/extr_kaslr.c_process_efi_entries.c"
target datalayout = "e-m:e-p270:32:32-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 @process_efi_entries], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @process_efi_entries(i64 %0, i64 %1) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/boot/compressed/extr_kaslr.c_process_efi_entries.c'
source_filename = "AnghaBench/linux/arch/x86/boot/compressed/extr_kaslr.c_process_efi_entries.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 @process_efi_entries], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @process_efi_entries(i64 %0, i64 %1) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_boot_compressed_extr_kaslr.c_process_efi_entries |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_io.c_snd_emu1010_fpga_write.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_io.c_snd_emu1010_fpga_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_emu10k1 = type { i32, i64 }
@A_IOCFG = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @snd_emu1010_fpga_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %1, 63
%5 = icmp ugt i32 %2, 63
%6 = or i1 %4, %5
br i1 %6, label %33, label %7
7: ; preds = %3
%8 = add nsw i32 %1, 64
%9 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%10 = getelementptr inbounds %struct.snd_emu10k1, ptr %0, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !5
%12 = load i64, ptr @A_IOCFG, align 8, !tbaa !11
%13 = add nsw i64 %12, %11
%14 = tail call i32 @outl(i32 noundef %8, i64 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 10) #2
%16 = or i32 %8, 128
%17 = load i64, ptr %10, align 8, !tbaa !5
%18 = load i64, ptr @A_IOCFG, align 8, !tbaa !11
%19 = add nsw i64 %18, %17
%20 = tail call i32 @outl(i32 noundef %16, i64 noundef %19) #2
%21 = tail call i32 @udelay(i32 noundef 10) #2
%22 = load i64, ptr %10, align 8, !tbaa !5
%23 = load i64, ptr @A_IOCFG, align 8, !tbaa !11
%24 = add nsw i64 %23, %22
%25 = tail call i32 @outl(i32 noundef %2, i64 noundef %24) #2
%26 = tail call i32 @udelay(i32 noundef 10) #2
%27 = or disjoint i32 %2, 128
%28 = load i64, ptr %10, align 8, !tbaa !5
%29 = load i64, ptr @A_IOCFG, align 8, !tbaa !11
%30 = add nsw i64 %29, %28
%31 = tail call i32 @outl(i32 noundef %27, i64 noundef %30) #2
%32 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %33
33: ; preds = %3, %7
%34 = phi i32 [ 0, %7 ], [ 1, %3 ]
ret i32 %34
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"snd_emu10k1", !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 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_io.c_snd_emu1010_fpga_write.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_io.c_snd_emu1010_fpga_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A_IOCFG = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @snd_emu1010_fpga_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %1, 63
%5 = icmp ugt i32 %2, 63
%6 = or i1 %4, %5
br i1 %6, label %33, label %7
7: ; preds = %3
%8 = add nsw i32 %1, 64
%9 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !6
%12 = load i64, ptr @A_IOCFG, align 8, !tbaa !12
%13 = add nsw i64 %12, %11
%14 = tail call i32 @outl(i32 noundef %8, i64 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 10) #2
%16 = or i32 %8, 128
%17 = load i64, ptr %10, align 8, !tbaa !6
%18 = load i64, ptr @A_IOCFG, align 8, !tbaa !12
%19 = add nsw i64 %18, %17
%20 = tail call i32 @outl(i32 noundef %16, i64 noundef %19) #2
%21 = tail call i32 @udelay(i32 noundef 10) #2
%22 = load i64, ptr %10, align 8, !tbaa !6
%23 = load i64, ptr @A_IOCFG, align 8, !tbaa !12
%24 = add nsw i64 %23, %22
%25 = tail call i32 @outl(i32 noundef %2, i64 noundef %24) #2
%26 = tail call i32 @udelay(i32 noundef 10) #2
%27 = or disjoint i32 %2, 128
%28 = load i64, ptr %10, align 8, !tbaa !6
%29 = load i64, ptr @A_IOCFG, align 8, !tbaa !12
%30 = add nsw i64 %29, %28
%31 = tail call i32 @outl(i32 noundef %27, i64 noundef %30) #2
%32 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %33
33: ; preds = %3, %7
%34 = phi i32 [ 0, %7 ], [ 1, %3 ]
ret i32 %34
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"snd_emu10k1", !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 = !{!11, !11, i64 0}
| fastsocket_kernel_sound_pci_emu10k1_extr_io.c_snd_emu1010_fpga_write |
; ModuleID = 'AnghaBench/h2o/deps/brotli/c/tools/extr_brotli.c_CompressFile.c'
source_filename = "AnghaBench/h2o/deps/brotli/c/tools/extr_brotli.c_CompressFile.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32, ptr }
@kFileBufferSize = dso_local local_unnamed_addr global i64 0, align 8
@BROTLI_FALSE = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"failed to read input [%s]: %s\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@BROTLI_TRUE = dso_local local_unnamed_addr global i64 0, align 8
@BROTLI_OPERATION_FINISH = dso_local local_unnamed_addr global i32 0, align 4
@BROTLI_OPERATION_PROCESS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"failed to compress data [%s]\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"failed to write output [%s]: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @CompressFile], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @CompressFile(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = load i64, ptr @kFileBufferSize, align 8, !tbaa !5
store i64 %7, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !11
store ptr %8, ptr %6, align 8, !tbaa !9
%9 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
br label %13
13: ; preds = %80, %2
%14 = phi i64 [ %9, %2 ], [ %44, %80 ]
%15 = load i64, ptr %3, align 8, !tbaa !5
%16 = icmp ne i64 %15, 0
%17 = icmp ne i64 %14, 0
%18 = select i1 %16, i1 true, i1 %17
br i1 %18, label %43, label %19
19: ; preds = %13
%20 = load ptr, ptr %10, align 8, !tbaa !14
%21 = load i64, ptr @kFileBufferSize, align 8, !tbaa !5
%22 = load i32, ptr %11, align 4, !tbaa !15
%23 = call i64 @fread(ptr noundef %20, i32 noundef 1, i64 noundef %21, i32 noundef %22) #3
store i64 %23, ptr %3, align 8, !tbaa !5
%24 = load ptr, ptr %10, align 8, !tbaa !14
store ptr %24, ptr %4, align 8, !tbaa !9
%25 = load i32, ptr %11, align 4, !tbaa !15
%26 = call i64 @ferror(i32 noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %36, label %28
28: ; preds = %19
%29 = load i32, ptr @stderr, align 4, !tbaa !16
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%31 = load i32, ptr %30, align 8, !tbaa !17
%32 = call ptr @PrintablePath(i32 noundef %31) #3
%33 = load i32, ptr @errno, align 4, !tbaa !16
%34 = call ptr @strerror(i32 noundef %33) #3
%35 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str, ptr noundef %32, ptr noundef %34) #3
br label %83
36: ; preds = %19
%37 = load i32, ptr %11, align 4, !tbaa !15
%38 = call i64 @feof(i32 noundef %37) #3
%39 = icmp eq i64 %38, 0
%40 = load i64, ptr @BROTLI_TRUE, align 8
%41 = load i64, ptr @BROTLI_FALSE, align 8
%42 = select i1 %39, i64 %41, i64 %40
br label %43
43: ; preds = %36, %13
%44 = phi i64 [ %14, %13 ], [ %42, %36 ]
%45 = icmp eq i64 %44, 0
%46 = load i32, ptr @BROTLI_OPERATION_FINISH, align 4
%47 = load i32, ptr @BROTLI_OPERATION_PROCESS, align 4
%48 = select i1 %45, i32 %47, i32 %46
%49 = call i32 @BrotliEncoderCompressStream(ptr noundef %1, i32 noundef %48, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %43
%52 = load i32, ptr @stderr, align 4, !tbaa !16
%53 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%54 = load i32, ptr %53, align 8, !tbaa !17
%55 = call ptr @PrintablePath(i32 noundef %54) #3
%56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef nonnull @.str.1, ptr noundef %55) #3
br label %83
57: ; preds = %43
%58 = load i64, ptr %5, align 8, !tbaa !5
%59 = load i64, ptr @kFileBufferSize, align 8, !tbaa !5
%60 = icmp eq i64 %58, %59
br i1 %60, label %80, label %61
61: ; preds = %57
%62 = sub i64 %59, %58
%63 = load ptr, ptr %0, align 8, !tbaa !11
%64 = load i32, ptr %12, align 4, !tbaa !18
%65 = call i32 @fwrite(ptr noundef %63, i32 noundef 1, i64 noundef %62, i32 noundef %64) #3
%66 = load i32, ptr %12, align 4, !tbaa !18
%67 = call i64 @ferror(i32 noundef %66) #3
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = load i64, ptr @kFileBufferSize, align 8, !tbaa !5
store i64 %70, ptr %5, align 8, !tbaa !5
%71 = load ptr, ptr %0, align 8, !tbaa !11
store ptr %71, ptr %6, align 8, !tbaa !9
br label %80
72: ; preds = %61
%73 = load i32, ptr @stderr, align 4, !tbaa !16
%74 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%75 = load i32, ptr %74, align 8, !tbaa !19
%76 = call ptr @PrintablePath(i32 noundef %75) #3
%77 = load i32, ptr @errno, align 4, !tbaa !16
%78 = call ptr @strerror(i32 noundef %77) #3
%79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %73, ptr noundef nonnull @.str.2, ptr noundef %76, ptr noundef %78) #3
br label %83
80: ; preds = %69, %57
%81 = call i64 @BrotliEncoderIsFinished(ptr noundef %1) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %13, label %83
83: ; preds = %80, %72, %51, %28
%84 = phi ptr [ @BROTLI_FALSE, %72 ], [ @BROTLI_FALSE, %51 ], [ @BROTLI_FALSE, %28 ], [ @BROTLI_TRUE, %80 ]
%85 = load i64, ptr %84, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ferror(i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @PrintablePath(i32 noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @feof(i32 noundef) local_unnamed_addr #2
declare i32 @BrotliEncoderCompressStream(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i64 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
declare i64 @BrotliEncoderIsFinished(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !10, i64 24}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 24}
!15 = !{!12, !13, i64 20}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 16}
!18 = !{!12, !13, i64 12}
!19 = !{!12, !13, i64 8}
| ; ModuleID = 'AnghaBench/h2o/deps/brotli/c/tools/extr_brotli.c_CompressFile.c'
source_filename = "AnghaBench/h2o/deps/brotli/c/tools/extr_brotli.c_CompressFile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kFileBufferSize = common local_unnamed_addr global i64 0, align 8
@BROTLI_FALSE = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"failed to read input [%s]: %s\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@BROTLI_TRUE = common local_unnamed_addr global i64 0, align 8
@BROTLI_OPERATION_FINISH = common local_unnamed_addr global i32 0, align 4
@BROTLI_OPERATION_PROCESS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"failed to compress data [%s]\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"failed to write output [%s]: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @CompressFile], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @CompressFile(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = load i64, ptr @kFileBufferSize, align 8, !tbaa !6
store i64 %7, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !12
store ptr %8, ptr %6, align 8, !tbaa !10
%9 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 24
%11 = getelementptr inbounds i8, ptr %0, i64 20
%12 = getelementptr inbounds i8, ptr %0, i64 12
br label %13
13: ; preds = %80, %2
%14 = phi i64 [ %9, %2 ], [ %44, %80 ]
%15 = load i64, ptr %3, align 8, !tbaa !6
%16 = icmp ne i64 %15, 0
%17 = icmp ne i64 %14, 0
%18 = select i1 %16, i1 true, i1 %17
br i1 %18, label %43, label %19
19: ; preds = %13
%20 = load ptr, ptr %10, align 8, !tbaa !15
%21 = load i64, ptr @kFileBufferSize, align 8, !tbaa !6
%22 = load i32, ptr %11, align 4, !tbaa !16
%23 = call i64 @fread(ptr noundef %20, i32 noundef 1, i64 noundef %21, i32 noundef %22) #3
store i64 %23, ptr %3, align 8, !tbaa !6
%24 = load ptr, ptr %10, align 8, !tbaa !15
store ptr %24, ptr %4, align 8, !tbaa !10
%25 = load i32, ptr %11, align 4, !tbaa !16
%26 = call i64 @ferror(i32 noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %36, label %28
28: ; preds = %19
%29 = load i32, ptr @stderr, align 4, !tbaa !17
%30 = getelementptr inbounds i8, ptr %0, i64 16
%31 = load i32, ptr %30, align 8, !tbaa !18
%32 = call ptr @PrintablePath(i32 noundef %31) #3
%33 = load i32, ptr @errno, align 4, !tbaa !17
%34 = call ptr @strerror(i32 noundef %33) #3
%35 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str, ptr noundef %32, ptr noundef %34) #3
br label %83
36: ; preds = %19
%37 = load i32, ptr %11, align 4, !tbaa !16
%38 = call i64 @feof(i32 noundef %37) #3
%39 = icmp eq i64 %38, 0
%40 = load i64, ptr @BROTLI_TRUE, align 8
%41 = load i64, ptr @BROTLI_FALSE, align 8
%42 = select i1 %39, i64 %41, i64 %40
br label %43
43: ; preds = %36, %13
%44 = phi i64 [ %14, %13 ], [ %42, %36 ]
%45 = icmp eq i64 %44, 0
%46 = load i32, ptr @BROTLI_OPERATION_FINISH, align 4
%47 = load i32, ptr @BROTLI_OPERATION_PROCESS, align 4
%48 = select i1 %45, i32 %47, i32 %46
%49 = call i32 @BrotliEncoderCompressStream(ptr noundef %1, i32 noundef %48, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %43
%52 = load i32, ptr @stderr, align 4, !tbaa !17
%53 = getelementptr inbounds i8, ptr %0, i64 16
%54 = load i32, ptr %53, align 8, !tbaa !18
%55 = call ptr @PrintablePath(i32 noundef %54) #3
%56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef nonnull @.str.1, ptr noundef %55) #3
br label %83
57: ; preds = %43
%58 = load i64, ptr %5, align 8, !tbaa !6
%59 = load i64, ptr @kFileBufferSize, align 8, !tbaa !6
%60 = icmp eq i64 %58, %59
br i1 %60, label %80, label %61
61: ; preds = %57
%62 = sub i64 %59, %58
%63 = load ptr, ptr %0, align 8, !tbaa !12
%64 = load i32, ptr %12, align 4, !tbaa !19
%65 = call i32 @fwrite(ptr noundef %63, i32 noundef 1, i64 noundef %62, i32 noundef %64) #3
%66 = load i32, ptr %12, align 4, !tbaa !19
%67 = call i64 @ferror(i32 noundef %66) #3
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = load i64, ptr @kFileBufferSize, align 8, !tbaa !6
store i64 %70, ptr %5, align 8, !tbaa !6
%71 = load ptr, ptr %0, align 8, !tbaa !12
store ptr %71, ptr %6, align 8, !tbaa !10
br label %80
72: ; preds = %61
%73 = load i32, ptr @stderr, align 4, !tbaa !17
%74 = getelementptr inbounds i8, ptr %0, i64 8
%75 = load i32, ptr %74, align 8, !tbaa !20
%76 = call ptr @PrintablePath(i32 noundef %75) #3
%77 = load i32, ptr @errno, align 4, !tbaa !17
%78 = call ptr @strerror(i32 noundef %77) #3
%79 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %73, ptr noundef nonnull @.str.2, ptr noundef %76, ptr noundef %78) #3
br label %83
80: ; preds = %69, %57
%81 = call i64 @BrotliEncoderIsFinished(ptr noundef %1) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %13, label %83
83: ; preds = %80, %72, %51, %28
%84 = phi ptr [ @BROTLI_FALSE, %72 ], [ @BROTLI_FALSE, %51 ], [ @BROTLI_FALSE, %28 ], [ @BROTLI_TRUE, %80 ]
%85 = load i64, ptr %84, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ferror(i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @PrintablePath(i32 noundef) local_unnamed_addr #2
declare ptr @strerror(i32 noundef) local_unnamed_addr #2
declare i64 @feof(i32 noundef) local_unnamed_addr #2
declare i32 @BrotliEncoderCompressStream(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i64 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
declare i64 @BrotliEncoderIsFinished(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !11, i64 24}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !11, i64 24}
!16 = !{!13, !14, i64 20}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !14, i64 16}
!19 = !{!13, !14, i64 12}
!20 = !{!13, !14, i64 8}
| h2o_deps_brotli_c_tools_extr_brotli.c_CompressFile |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_update.c_close_file.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_update.c_close_file.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i32, i32, i64, i64, ptr }
%struct.TYPE_8__ = type { ptr, ptr }
%struct.TYPE_9__ = type { ptr, i32 }
@SVN_PROP_ENTRY_LOCK_TOKEN = dso_local local_unnamed_addr global i32 0, align 4
@SVN_RA_SERF__WC_CHECKED_IN_URL = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @close_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @close_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 8
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @ensure_file_opened(ptr noundef %0, ptr noundef %1) #2
%7 = tail call i32 @SVN_ERR(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 7
%9 = load i64, ptr %8, align 8, !tbaa !14
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %2
%12 = tail call ptr @apr_hash_first(ptr noundef %1, i64 noundef %9) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %27, label %14
14: ; preds = %11
%15 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
br label %16
16: ; preds = %14, %16
%17 = phi ptr [ %12, %14 ], [ %25, %16 ]
%18 = load ptr, ptr %5, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = load i32, ptr %15, align 8, !tbaa !19
%22 = tail call i32 @apr_hash_this_key(ptr noundef nonnull %17) #2
%23 = tail call i32 %20(i32 noundef %21, i32 noundef %22, ptr noundef null, ptr noundef %1) #2
%24 = tail call i32 @SVN_ERR(i32 noundef %23) #2
%25 = tail call ptr @apr_hash_next(ptr noundef nonnull %17) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %16, !llvm.loop !20
27: ; preds = %16, %11, %2
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !22
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %53
31: ; preds = %27
%32 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6
%33 = load i64, ptr %32, align 8, !tbaa !23
%34 = icmp eq i64 %33, 0
br i1 %34, label %53, label %35
35: ; preds = %31
%36 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 5
%37 = load i32, ptr %36, align 4, !tbaa !24
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %53
39: ; preds = %35
%40 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 4
%41 = load i32, ptr %40, align 8, !tbaa !25
%42 = tail call i64 @SVN_IS_VALID_REVNUM(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %39
%45 = load ptr, ptr %5, align 8, !tbaa !15
%46 = getelementptr inbounds %struct.TYPE_8__, ptr %45, i64 0, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%49 = load i32, ptr %48, align 8, !tbaa !19
%50 = load i32, ptr @SVN_PROP_ENTRY_LOCK_TOKEN, align 4, !tbaa !26
%51 = tail call i32 %47(i32 noundef %49, i32 noundef %50, ptr noundef null, ptr noundef %1) #2
%52 = tail call i32 @SVN_ERR(i32 noundef %51) #2
br label %53
53: ; preds = %44, %39, %35, %31, %27
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3
%55 = load i64, ptr %54, align 8, !tbaa !27
%56 = icmp eq i64 %55, 0
br i1 %56, label %67, label %57
57: ; preds = %53
%58 = load ptr, ptr %5, align 8, !tbaa !15
%59 = getelementptr inbounds %struct.TYPE_8__, ptr %58, i64 0, i32 1
%60 = load ptr, ptr %59, align 8, !tbaa !17
%61 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%62 = load i32, ptr %61, align 8, !tbaa !19
%63 = load i32, ptr @SVN_RA_SERF__WC_CHECKED_IN_URL, align 4, !tbaa !26
%64 = tail call ptr @svn_string_create(i64 noundef %55, ptr noundef %1) #2
%65 = tail call i32 %60(i32 noundef %62, i32 noundef %63, ptr noundef %64, ptr noundef %1) #2
%66 = tail call i32 @SVN_ERR(i32 noundef %65) #2
br label %67
67: ; preds = %57, %53
%68 = load ptr, ptr %5, align 8, !tbaa !15
%69 = load ptr, ptr %68, align 8, !tbaa !28
%70 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%71 = load i32, ptr %70, align 8, !tbaa !19
%72 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%73 = load i32, ptr %72, align 4, !tbaa !29
%74 = tail call i32 @svn_checksum_to_cstring(i32 noundef %73, ptr noundef %1) #2
%75 = tail call i32 %69(i32 noundef %71, i32 noundef %74, ptr noundef %1) #2
%76 = tail call i32 @SVN_ERR(i32 noundef %75) #2
%77 = load i32, ptr %0, align 8, !tbaa !30
%78 = tail call i32 @svn_pool_destroy(i32 noundef %77) #2
%79 = tail call i32 @maybe_close_dir(ptr noundef nonnull %4) #2
%80 = tail call i32 @SVN_ERR(i32 noundef %79) #2
%81 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !31
ret ptr %81
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @ensure_file_opened(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_first(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(ptr noundef) local_unnamed_addr #1
declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #1
declare ptr @svn_string_create(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_checksum_to_cstring(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_pool_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @maybe_close_dir(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 48}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_11__", !11, i64 0}
!14 = !{!6, !10, i64 40}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_9__", !11, i64 0, !7, i64 8}
!17 = !{!18, !11, i64 8}
!18 = !{!"TYPE_8__", !11, i64 0, !11, i64 8}
!19 = !{!6, !7, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !7, i64 8}
!23 = !{!6, !10, i64 32}
!24 = !{!6, !7, i64 28}
!25 = !{!6, !7, i64 24}
!26 = !{!7, !7, i64 0}
!27 = !{!6, !10, i64 16}
!28 = !{!18, !11, i64 0}
!29 = !{!6, !7, i64 4}
!30 = !{!6, !7, i64 0}
!31 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_update.c_close_file.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_serf/extr_update.c_close_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_PROP_ENTRY_LOCK_TOKEN = common local_unnamed_addr global i32 0, align 4
@SVN_RA_SERF__WC_CHECKED_IN_URL = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @close_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @close_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 48
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = tail call i32 @ensure_file_opened(ptr noundef %0, ptr noundef %1) #2
%7 = tail call i32 @SVN_ERR(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = load i64, ptr %8, align 8, !tbaa !15
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %2
%12 = tail call ptr @apr_hash_first(ptr noundef %1, i64 noundef %9) #2
%13 = icmp eq ptr %12, null
br i1 %13, label %27, label %14
14: ; preds = %11
%15 = getelementptr inbounds i8, ptr %0, i64 8
br label %16
16: ; preds = %14, %16
%17 = phi ptr [ %12, %14 ], [ %25, %16 ]
%18 = load ptr, ptr %5, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = load i32, ptr %15, align 8, !tbaa !20
%22 = tail call i32 @apr_hash_this_key(ptr noundef nonnull %17) #2
%23 = tail call i32 %20(i32 noundef %21, i32 noundef %22, ptr noundef null, ptr noundef %1) #2
%24 = tail call i32 @SVN_ERR(i32 noundef %23) #2
%25 = tail call ptr @apr_hash_next(ptr noundef nonnull %17) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %16, !llvm.loop !21
27: ; preds = %16, %11, %2
%28 = getelementptr inbounds i8, ptr %5, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !23
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %53
31: ; preds = %27
%32 = getelementptr inbounds i8, ptr %0, i64 32
%33 = load i64, ptr %32, align 8, !tbaa !24
%34 = icmp eq i64 %33, 0
br i1 %34, label %53, label %35
35: ; preds = %31
%36 = getelementptr inbounds i8, ptr %0, i64 28
%37 = load i32, ptr %36, align 4, !tbaa !25
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %53
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %0, i64 24
%41 = load i32, ptr %40, align 8, !tbaa !26
%42 = tail call i64 @SVN_IS_VALID_REVNUM(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %53, label %44
44: ; preds = %39
%45 = load ptr, ptr %5, align 8, !tbaa !16
%46 = getelementptr inbounds i8, ptr %45, i64 8
%47 = load ptr, ptr %46, align 8, !tbaa !18
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = load i32, ptr %48, align 8, !tbaa !20
%50 = load i32, ptr @SVN_PROP_ENTRY_LOCK_TOKEN, align 4, !tbaa !27
%51 = tail call i32 %47(i32 noundef %49, i32 noundef %50, ptr noundef null, ptr noundef %1) #2
%52 = tail call i32 @SVN_ERR(i32 noundef %51) #2
br label %53
53: ; preds = %44, %39, %35, %31, %27
%54 = getelementptr inbounds i8, ptr %0, i64 16
%55 = load i64, ptr %54, align 8, !tbaa !28
%56 = icmp eq i64 %55, 0
br i1 %56, label %67, label %57
57: ; preds = %53
%58 = load ptr, ptr %5, align 8, !tbaa !16
%59 = getelementptr inbounds i8, ptr %58, i64 8
%60 = load ptr, ptr %59, align 8, !tbaa !18
%61 = getelementptr inbounds i8, ptr %0, i64 8
%62 = load i32, ptr %61, align 8, !tbaa !20
%63 = load i32, ptr @SVN_RA_SERF__WC_CHECKED_IN_URL, align 4, !tbaa !27
%64 = tail call ptr @svn_string_create(i64 noundef %55, ptr noundef %1) #2
%65 = tail call i32 %60(i32 noundef %62, i32 noundef %63, ptr noundef %64, ptr noundef %1) #2
%66 = tail call i32 @SVN_ERR(i32 noundef %65) #2
br label %67
67: ; preds = %57, %53
%68 = load ptr, ptr %5, align 8, !tbaa !16
%69 = load ptr, ptr %68, align 8, !tbaa !29
%70 = getelementptr inbounds i8, ptr %0, i64 8
%71 = load i32, ptr %70, align 8, !tbaa !20
%72 = getelementptr inbounds i8, ptr %0, i64 4
%73 = load i32, ptr %72, align 4, !tbaa !30
%74 = tail call i32 @svn_checksum_to_cstring(i32 noundef %73, ptr noundef %1) #2
%75 = tail call i32 %69(i32 noundef %71, i32 noundef %74, ptr noundef %1) #2
%76 = tail call i32 @SVN_ERR(i32 noundef %75) #2
%77 = load i32, ptr %0, align 8, !tbaa !31
%78 = tail call i32 @svn_pool_destroy(i32 noundef %77) #2
%79 = tail call i32 @maybe_close_dir(ptr noundef nonnull %4) #2
%80 = tail call i32 @SVN_ERR(i32 noundef %79) #2
%81 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !32
ret ptr %81
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @ensure_file_opened(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_first(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @apr_hash_this_key(ptr noundef) local_unnamed_addr #1
declare ptr @apr_hash_next(ptr noundef) local_unnamed_addr #1
declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #1
declare ptr @svn_string_create(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_checksum_to_cstring(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_pool_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @maybe_close_dir(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 48}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !11, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_11__", !12, i64 0}
!15 = !{!7, !11, i64 40}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_9__", !12, i64 0, !8, i64 8}
!18 = !{!19, !12, i64 8}
!19 = !{!"TYPE_8__", !12, i64 0, !12, i64 8}
!20 = !{!7, !8, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!17, !8, i64 8}
!24 = !{!7, !11, i64 32}
!25 = !{!7, !8, i64 28}
!26 = !{!7, !8, i64 24}
!27 = !{!8, !8, i64 0}
!28 = !{!7, !11, i64 16}
!29 = !{!19, !12, i64 0}
!30 = !{!7, !8, i64 4}
!31 = !{!7, !8, i64 0}
!32 = !{!12, !12, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_ra_serf_extr_update.c_close_file |
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_cdc_ncm.c_cdc_ncm_ndp.c'
source_filename = "AnghaBench/linux/drivers/net/usb/extr_cdc_ncm.c_cdc_ncm_ndp.c"
target datalayout = "e-m:e-p270:32:32-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.sk_buff = type { i64, i64 }
%struct.cdc_ncm_ctx = type { i32, i64, i64, ptr, i32 }
%struct.usb_cdc_ncm_ndp16 = type { i64, ptr, ptr }
@CDC_NCM_FLAG_NDP_TO_END = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cdc_ncm_ndp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @cdc_ncm_ndp(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = inttoptr i64 %6 to ptr
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = tail call i64 @le16_to_cpu(ptr noundef %8) #2
%10 = load i32, ptr %0, align 8, !tbaa !13
%11 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !16
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %21, label %14
14: ; preds = %4
%15 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 3
%16 = load ptr, ptr %15, align 8, !tbaa !17
%17 = load i64, ptr %16, align 8, !tbaa !18
%18 = icmp eq i64 %17, %2
br i1 %18, label %79, label %19
19: ; preds = %14
%20 = icmp eq i64 %17, 0
br i1 %20, label %21, label %79
21: ; preds = %19, %4
%22 = icmp eq i64 %9, 0
br i1 %22, label %38, label %23
23: ; preds = %21, %30
%24 = phi i64 [ %33, %30 ], [ %9, %21 ]
%25 = load i64, ptr %5, align 8, !tbaa !5
%26 = add i64 %25, %24
%27 = inttoptr i64 %26 to ptr
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = icmp eq i64 %28, %2
br i1 %29, label %79, label %30
30: ; preds = %23
%31 = getelementptr inbounds %struct.usb_cdc_ncm_ndp16, ptr %27, i64 0, i32 2
%32 = load ptr, ptr %31, align 8, !tbaa !20
%33 = tail call i64 @le16_to_cpu(ptr noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %23, !llvm.loop !21
35: ; preds = %30
%36 = load i32, ptr %0, align 8, !tbaa !13
%37 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !16
br label %38
38: ; preds = %35, %21
%39 = phi i32 [ %11, %21 ], [ %37, %35 ]
%40 = phi i32 [ %10, %21 ], [ %36, %35 ]
%41 = phi ptr [ null, %21 ], [ %27, %35 ]
%42 = and i32 %39, %40
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %38
%45 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 4
%46 = load i32, ptr %45, align 8, !tbaa !23
%47 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 1
%48 = load i64, ptr %47, align 8, !tbaa !24
%49 = tail call i32 @cdc_ncm_align_tail(ptr noundef nonnull %1, i32 noundef %46, i32 noundef 0, i64 noundef %48) #2
br label %50
50: ; preds = %44, %38
%51 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 1
%52 = load i64, ptr %51, align 8, !tbaa !24
%53 = load i64, ptr %1, align 8, !tbaa !25
%54 = add i64 %53, %3
%55 = sub i64 %52, %54
%56 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 2
%57 = load i64, ptr %56, align 8, !tbaa !26
%58 = icmp ult i64 %55, %57
br i1 %58, label %79, label %59
59: ; preds = %50
%60 = icmp eq ptr %41, null
%61 = trunc i64 %53 to i32
%62 = tail call ptr @cpu_to_le16(i32 noundef %61) #2
%63 = getelementptr inbounds %struct.usb_cdc_ncm_ndp16, ptr %41, i64 0, i32 2
%64 = select i1 %60, ptr %7, ptr %63
store ptr %62, ptr %64, align 8, !tbaa !27
%65 = load i32, ptr %0, align 8, !tbaa !13
%66 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !16
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %59
%70 = load i64, ptr %56, align 8, !tbaa !26
%71 = tail call ptr @skb_put_zero(ptr noundef nonnull %1, i64 noundef %70) #2
br label %75
72: ; preds = %59
%73 = getelementptr inbounds %struct.cdc_ncm_ctx, ptr %0, i64 0, i32 3
%74 = load ptr, ptr %73, align 8, !tbaa !17
br label %75
75: ; preds = %72, %69
%76 = phi ptr [ %74, %72 ], [ %71, %69 ]
store i64 %2, ptr %76, align 8, !tbaa !18
%77 = tail call ptr @cpu_to_le16(i32 noundef 28) #2
%78 = getelementptr inbounds %struct.usb_cdc_ncm_ndp16, ptr %76, i64 0, i32 1
store ptr %77, ptr %78, align 8, !tbaa !28
br label %79
79: ; preds = %23, %50, %19, %14, %75
%80 = phi ptr [ %76, %75 ], [ %16, %14 ], [ null, %19 ], [ null, %50 ], [ %27, %23 ]
ret ptr %80
}
declare i64 @le16_to_cpu(ptr noundef) local_unnamed_addr #1
declare i32 @cdc_ncm_align_tail(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare ptr @skb_put_zero(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 = !{!"sk_buff", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"usb_cdc_ncm_nth16", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"cdc_ncm_ctx", !15, i64 0, !7, i64 8, !7, i64 16, !12, i64 24, !15, i64 32}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !12, i64 24}
!18 = !{!19, !7, i64 0}
!19 = !{!"usb_cdc_ncm_ndp16", !7, i64 0, !12, i64 8, !12, i64 16}
!20 = !{!19, !12, i64 16}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!14, !15, i64 32}
!24 = !{!14, !7, i64 8}
!25 = !{!6, !7, i64 0}
!26 = !{!14, !7, i64 16}
!27 = !{!12, !12, i64 0}
!28 = !{!19, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_cdc_ncm.c_cdc_ncm_ndp.c'
source_filename = "AnghaBench/linux/drivers/net/usb/extr_cdc_ncm.c_cdc_ncm_ndp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CDC_NCM_FLAG_NDP_TO_END = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cdc_ncm_ndp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @cdc_ncm_ndp(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = inttoptr i64 %6 to ptr
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = tail call i64 @le16_to_cpu(ptr noundef %8) #2
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !17
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %21, label %14
14: ; preds = %4
%15 = getelementptr inbounds i8, ptr %0, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !18
%17 = load i64, ptr %16, align 8, !tbaa !19
%18 = icmp eq i64 %17, %2
br i1 %18, label %79, label %19
19: ; preds = %14
%20 = icmp eq i64 %17, 0
br i1 %20, label %21, label %79
21: ; preds = %19, %4
%22 = icmp eq i64 %9, 0
br i1 %22, label %38, label %23
23: ; preds = %21, %30
%24 = phi i64 [ %33, %30 ], [ %9, %21 ]
%25 = load i64, ptr %5, align 8, !tbaa !6
%26 = add i64 %25, %24
%27 = inttoptr i64 %26 to ptr
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = icmp eq i64 %28, %2
br i1 %29, label %79, label %30
30: ; preds = %23
%31 = getelementptr inbounds i8, ptr %27, i64 16
%32 = load ptr, ptr %31, align 8, !tbaa !21
%33 = tail call i64 @le16_to_cpu(ptr noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %23, !llvm.loop !22
35: ; preds = %30
%36 = load i32, ptr %0, align 8, !tbaa !14
%37 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !17
br label %38
38: ; preds = %35, %21
%39 = phi i32 [ %11, %21 ], [ %37, %35 ]
%40 = phi i32 [ %10, %21 ], [ %36, %35 ]
%41 = phi ptr [ null, %21 ], [ %27, %35 ]
%42 = and i32 %39, %40
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %38
%45 = getelementptr inbounds i8, ptr %0, i64 32
%46 = load i32, ptr %45, align 8, !tbaa !24
%47 = getelementptr inbounds i8, ptr %0, i64 8
%48 = load i64, ptr %47, align 8, !tbaa !25
%49 = tail call i32 @cdc_ncm_align_tail(ptr noundef nonnull %1, i32 noundef %46, i32 noundef 0, i64 noundef %48) #2
br label %50
50: ; preds = %44, %38
%51 = getelementptr inbounds i8, ptr %0, i64 8
%52 = load i64, ptr %51, align 8, !tbaa !25
%53 = load i64, ptr %1, align 8, !tbaa !26
%54 = add i64 %53, %3
%55 = sub i64 %52, %54
%56 = getelementptr inbounds i8, ptr %0, i64 16
%57 = load i64, ptr %56, align 8, !tbaa !27
%58 = icmp ult i64 %55, %57
br i1 %58, label %79, label %59
59: ; preds = %50
%60 = icmp eq ptr %41, null
%61 = trunc i64 %53 to i32
%62 = tail call ptr @cpu_to_le16(i32 noundef %61) #2
%63 = getelementptr inbounds i8, ptr %41, i64 16
%64 = select i1 %60, ptr %7, ptr %63
store ptr %62, ptr %64, align 8, !tbaa !28
%65 = load i32, ptr %0, align 8, !tbaa !14
%66 = load i32, ptr @CDC_NCM_FLAG_NDP_TO_END, align 4, !tbaa !17
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %59
%70 = load i64, ptr %56, align 8, !tbaa !27
%71 = tail call ptr @skb_put_zero(ptr noundef nonnull %1, i64 noundef %70) #2
br label %75
72: ; preds = %59
%73 = getelementptr inbounds i8, ptr %0, i64 24
%74 = load ptr, ptr %73, align 8, !tbaa !18
br label %75
75: ; preds = %72, %69
%76 = phi ptr [ %74, %72 ], [ %71, %69 ]
store i64 %2, ptr %76, align 8, !tbaa !19
%77 = tail call ptr @cpu_to_le16(i32 noundef 28) #2
%78 = getelementptr inbounds i8, ptr %76, i64 8
store ptr %77, ptr %78, align 8, !tbaa !29
br label %79
79: ; preds = %23, %50, %19, %14, %75
%80 = phi ptr [ %76, %75 ], [ %16, %14 ], [ null, %19 ], [ null, %50 ], [ %27, %23 ]
ret ptr %80
}
declare i64 @le16_to_cpu(ptr noundef) local_unnamed_addr #1
declare i32 @cdc_ncm_align_tail(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare ptr @skb_put_zero(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 = !{!"sk_buff", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"usb_cdc_ncm_nth16", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"cdc_ncm_ctx", !16, i64 0, !8, i64 8, !8, i64 16, !13, i64 24, !16, i64 32}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !13, i64 24}
!19 = !{!20, !8, i64 0}
!20 = !{!"usb_cdc_ncm_ndp16", !8, i64 0, !13, i64 8, !13, i64 16}
!21 = !{!20, !13, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!15, !16, i64 32}
!25 = !{!15, !8, i64 8}
!26 = !{!7, !8, i64 0}
!27 = !{!15, !8, i64 16}
!28 = !{!13, !13, i64 0}
!29 = !{!20, !13, i64 8}
| linux_drivers_net_usb_extr_cdc_ncm.c_cdc_ncm_ndp |
; ModuleID = 'AnghaBench/macvim/src/extr_workshop.c_workshop_save_files.c'
source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_save_files.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c":wall\0A\00", align 1
@WS_TRACE = dso_local local_unnamed_addr global i32 0, align 4
@WS_TRACE_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @workshop_save_files() local_unnamed_addr #0 {
%1 = tail call i32 @add_to_input_buf(ptr noundef nonnull @.str, i32 noundef 6) #2
ret void
}
declare i32 @add_to_input_buf(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/macvim/src/extr_workshop.c_workshop_save_files.c'
source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_save_files.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c":wall\0A\00", align 1
@WS_TRACE = common local_unnamed_addr global i32 0, align 4
@WS_TRACE_VERBOSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @workshop_save_files() local_unnamed_addr #0 {
%1 = tail call i32 @add_to_input_buf(ptr noundef nonnull @.str, i32 noundef 6) #2
ret void
}
declare i32 @add_to_input_buf(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)"}
| macvim_src_extr_workshop.c_workshop_save_files |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_wbsd.c_wbsd_fill_fifo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_wbsd.c_wbsd_fill_fifo.c"
target datalayout = "e-m:e-p270:32:32-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.wbsd_host = type { i64, i32, i64, i32, i64, ptr }
@WBSD_FSR = dso_local local_unnamed_addr global i64 0, align 8
@WBSD_FIFO_FULL = dso_local local_unnamed_addr global i32 0, align 4
@WBSD_FIFO_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@WBSD_FIFO_EMTHRE = dso_local local_unnamed_addr global i32 0, align 4
@WBSD_DFR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wbsd_fill_fifo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wbsd_fill_fifo(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.wbsd_host, ptr %0, i64 0, i32 5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load ptr, ptr %4, align 8, !tbaa !14
%6 = load i64, ptr %0, align 8, !tbaa !16
%7 = icmp eq i64 %6, 0
br i1 %7, label %71, label %8
8: ; preds = %1
%9 = tail call ptr @wbsd_sg_to_buffer(ptr noundef nonnull %0) #2
%10 = getelementptr inbounds %struct.wbsd_host, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !17
%12 = getelementptr inbounds %struct.wbsd_host, ptr %0, i64 0, i32 4
%13 = load i64, ptr %12, align 8, !tbaa !18
%14 = load i64, ptr @WBSD_FSR, align 8, !tbaa !19
%15 = add nsw i64 %14, %13
%16 = tail call i32 @inb(i64 noundef %15) #2
%17 = load i32, ptr @WBSD_FIFO_FULL, align 4, !tbaa !20
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %68
20: ; preds = %8
%21 = sext i32 %11 to i64
%22 = getelementptr inbounds i8, ptr %9, i64 %21
%23 = getelementptr inbounds %struct.wbsd_host, ptr %0, i64 0, i32 2
br label %32
24: ; preds = %64
%25 = load i64, ptr %12, align 8, !tbaa !18
%26 = load i64, ptr @WBSD_FSR, align 8, !tbaa !19
%27 = add nsw i64 %26, %25
%28 = tail call i32 @inb(i64 noundef %27) #2
%29 = load i32, ptr @WBSD_FIFO_FULL, align 4, !tbaa !20
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %68, !llvm.loop !21
32: ; preds = %20, %24
%33 = phi i32 [ %16, %20 ], [ %28, %24 ]
%34 = phi ptr [ %22, %20 ], [ %65, %24 ]
%35 = load i32, ptr @WBSD_FIFO_EMPTY, align 4, !tbaa !20
%36 = and i32 %35, %33
%37 = icmp eq i32 %36, 0
%38 = load i32, ptr @WBSD_FIFO_EMTHRE, align 4
%39 = and i32 %38, %33
%40 = icmp eq i32 %39, 0
%41 = select i1 %40, i32 15, i32 8
%42 = select i1 %37, i32 %41, i32 0
br label %43
43: ; preds = %32, %64
%44 = phi ptr [ %34, %32 ], [ %65, %64 ]
%45 = phi i32 [ 16, %32 ], [ %66, %64 ]
%46 = load i8, ptr %44, align 1, !tbaa !23
%47 = load i64, ptr %12, align 8, !tbaa !18
%48 = load i64, ptr @WBSD_DFR, align 8, !tbaa !19
%49 = add nsw i64 %48, %47
%50 = tail call i32 @outb(i8 noundef signext %46, i64 noundef %49) #2
%51 = getelementptr inbounds i8, ptr %44, i64 1
%52 = load i32, ptr %10, align 8, !tbaa !17
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 8, !tbaa !17
%54 = load i64, ptr %23, align 8, !tbaa !24
%55 = add nsw i64 %54, -1
store i64 %55, ptr %23, align 8, !tbaa !24
%56 = load i32, ptr %5, align 4, !tbaa !25
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4, !tbaa !25
%58 = icmp eq i64 %55, 0
br i1 %58, label %59, label %64
59: ; preds = %43
%60 = tail call i32 @wbsd_next_sg(ptr noundef nonnull %0) #2
%61 = icmp eq i32 %60, 0
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = tail call ptr @wbsd_sg_to_buffer(ptr noundef nonnull %0) #2
br label %64
64: ; preds = %43, %62
%65 = phi ptr [ %63, %62 ], [ %51, %43 ]
%66 = add nsw i32 %45, -1
%67 = icmp ugt i32 %66, %42
br i1 %67, label %43, label %24, !llvm.loop !27
68: ; preds = %24, %8
%69 = getelementptr inbounds %struct.wbsd_host, ptr %0, i64 0, i32 3
%70 = tail call i32 @tasklet_schedule(ptr noundef nonnull %69) #2
br label %71
71: ; preds = %59, %1, %68
ret void
}
declare ptr @wbsd_sg_to_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @outb(i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i32 @wbsd_next_sg(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 40}
!6 = !{!"wbsd_host", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !11, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !7, i64 32}
!19 = !{!7, !7, i64 0}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!8, !8, i64 0}
!24 = !{!6, !7, i64 16}
!25 = !{!26, !10, i64 0}
!26 = !{!"mmc_data", !10, i64 0}
!27 = distinct !{!27, !22}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_wbsd.c_wbsd_fill_fifo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_wbsd.c_wbsd_fill_fifo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WBSD_FSR = common local_unnamed_addr global i64 0, align 8
@WBSD_FIFO_FULL = common local_unnamed_addr global i32 0, align 4
@WBSD_FIFO_EMPTY = common local_unnamed_addr global i32 0, align 4
@WBSD_FIFO_EMTHRE = common local_unnamed_addr global i32 0, align 4
@WBSD_DFR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @wbsd_fill_fifo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wbsd_fill_fifo(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load ptr, ptr %4, align 8, !tbaa !15
%6 = load i64, ptr %0, align 8, !tbaa !17
%7 = icmp eq i64 %6, 0
br i1 %7, label %71, label %8
8: ; preds = %1
%9 = tail call ptr @wbsd_sg_to_buffer(ptr noundef nonnull %0) #2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !18
%12 = getelementptr inbounds i8, ptr %0, i64 32
%13 = load i64, ptr %12, align 8, !tbaa !19
%14 = load i64, ptr @WBSD_FSR, align 8, !tbaa !20
%15 = add nsw i64 %14, %13
%16 = tail call i32 @inb(i64 noundef %15) #2
%17 = load i32, ptr @WBSD_FIFO_FULL, align 4, !tbaa !21
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %68
20: ; preds = %8
%21 = sext i32 %11 to i64
%22 = getelementptr inbounds i8, ptr %9, i64 %21
%23 = getelementptr inbounds i8, ptr %0, i64 16
br label %32
24: ; preds = %64
%25 = load i64, ptr %12, align 8, !tbaa !19
%26 = load i64, ptr @WBSD_FSR, align 8, !tbaa !20
%27 = add nsw i64 %26, %25
%28 = tail call i32 @inb(i64 noundef %27) #2
%29 = load i32, ptr @WBSD_FIFO_FULL, align 4, !tbaa !21
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %68, !llvm.loop !22
32: ; preds = %20, %24
%33 = phi i32 [ %16, %20 ], [ %28, %24 ]
%34 = phi ptr [ %22, %20 ], [ %65, %24 ]
%35 = load i32, ptr @WBSD_FIFO_EMPTY, align 4, !tbaa !21
%36 = and i32 %35, %33
%37 = icmp eq i32 %36, 0
%38 = load i32, ptr @WBSD_FIFO_EMTHRE, align 4
%39 = and i32 %38, %33
%40 = icmp eq i32 %39, 0
%41 = select i1 %40, i32 15, i32 8
%42 = select i1 %37, i32 %41, i32 0
br label %43
43: ; preds = %32, %64
%44 = phi ptr [ %34, %32 ], [ %65, %64 ]
%45 = phi i32 [ 16, %32 ], [ %66, %64 ]
%46 = load i8, ptr %44, align 1, !tbaa !24
%47 = load i64, ptr %12, align 8, !tbaa !19
%48 = load i64, ptr @WBSD_DFR, align 8, !tbaa !20
%49 = add nsw i64 %48, %47
%50 = tail call i32 @outb(i8 noundef signext %46, i64 noundef %49) #2
%51 = getelementptr inbounds i8, ptr %44, i64 1
%52 = load i32, ptr %10, align 8, !tbaa !18
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 8, !tbaa !18
%54 = load i64, ptr %23, align 8, !tbaa !25
%55 = add nsw i64 %54, -1
store i64 %55, ptr %23, align 8, !tbaa !25
%56 = load i32, ptr %5, align 4, !tbaa !26
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4, !tbaa !26
%58 = icmp eq i64 %55, 0
br i1 %58, label %59, label %64
59: ; preds = %43
%60 = tail call i32 @wbsd_next_sg(ptr noundef nonnull %0) #2
%61 = icmp eq i32 %60, 0
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = tail call ptr @wbsd_sg_to_buffer(ptr noundef nonnull %0) #2
br label %64
64: ; preds = %43, %62
%65 = phi ptr [ %63, %62 ], [ %51, %43 ]
%66 = add nsw i32 %45, -1
%67 = icmp ugt i32 %66, %42
br i1 %67, label %43, label %24, !llvm.loop !28
68: ; preds = %24, %8
%69 = getelementptr inbounds i8, ptr %0, i64 24
%70 = tail call i32 @tasklet_schedule(ptr noundef nonnull %69) #2
br label %71
71: ; preds = %59, %1, %68
ret void
}
declare ptr @wbsd_sg_to_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @outb(i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i32 @wbsd_next_sg(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 40}
!7 = !{!"wbsd_host", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32, !12, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_4__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_3__", !12, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !8, i64 32}
!20 = !{!8, !8, i64 0}
!21 = !{!11, !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!9, !9, i64 0}
!25 = !{!7, !8, i64 16}
!26 = !{!27, !11, i64 0}
!27 = !{!"mmc_data", !11, i64 0}
!28 = distinct !{!28, !23}
| fastsocket_kernel_drivers_mmc_host_extr_wbsd.c_wbsd_fill_fifo |
; ModuleID = 'AnghaBench/libgit2/src/extr_branch.c_git_branch_iterator_new.c'
source_filename = "AnghaBench/libgit2/src/extr_branch.c_git_branch_iterator_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @git_branch_iterator_new(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 8) #2
%5 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %4) #2
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
store i32 %2, ptr %6, align 4, !tbaa !5
%7 = tail call i64 @git_reference_iterator_new(ptr noundef %4, ptr noundef %1) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = tail call i32 @git__free(ptr noundef nonnull %4) #2
br label %12
11: ; preds = %3
store ptr %4, ptr %0, align 8, !tbaa !10
br label %12
12: ; preds = %11, %9
%13 = phi i32 [ -1, %9 ], [ 0, %11 ]
ret i32 %13
}
declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i64 @git_reference_iterator_new(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @git__free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!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}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_branch.c_git_branch_iterator_new.c'
source_filename = "AnghaBench/libgit2/src/extr_branch.c_git_branch_iterator_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @git_branch_iterator_new(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 8) #2
%5 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %4) #2
%6 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %2, ptr %6, align 4, !tbaa !6
%7 = tail call i64 @git_reference_iterator_new(ptr noundef %4, ptr noundef %1) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = tail call i32 @git__free(ptr noundef nonnull %4) #2
br label %12
11: ; preds = %3
store ptr %4, ptr %0, align 8, !tbaa !11
br label %12
12: ; preds = %11, %9
%13 = phi i32 [ -1, %9 ], [ 0, %11 ]
ret i32 %13
}
declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i64 @git_reference_iterator_new(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @git__free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
| libgit2_src_extr_branch.c_git_branch_iterator_new |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_mv88e1xxx.c_mv88e1xxx_get_link_status.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_mv88e1xxx.c_mv88e1xxx_get_link_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MV88E1XXX_SPECIFIC_STATUS_REGISTER = dso_local local_unnamed_addr global i32 0, align 4
@V_PSSR_STATUS_RESOLVED = dso_local local_unnamed_addr global i32 0, align 4
@V_PSSR_RX_PAUSE = dso_local local_unnamed_addr global i32 0, align 4
@PAUSE_RX = dso_local local_unnamed_addr global i32 0, align 4
@V_PSSR_TX_PAUSE = dso_local local_unnamed_addr global i32 0, align 4
@PAUSE_TX = dso_local local_unnamed_addr global i32 0, align 4
@V_PSSR_DUPLEX = dso_local local_unnamed_addr global i32 0, align 4
@DUPLEX_FULL = dso_local local_unnamed_addr global i32 0, align 4
@DUPLEX_HALF = dso_local local_unnamed_addr global i32 0, align 4
@SPEED_10 = dso_local local_unnamed_addr global i32 0, align 4
@SPEED_100 = dso_local local_unnamed_addr global i32 0, align 4
@SPEED_1000 = dso_local local_unnamed_addr global i32 0, align 4
@V_PSSR_LINK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mv88e1xxx_get_link_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mv88e1xxx_get_link_status(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr @MV88E1XXX_SPECIFIC_STATUS_REGISTER, align 4, !tbaa !5
%8 = call i32 @simple_mdio_read(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %6) #3
%9 = load i32, ptr %6, align 4, !tbaa !5
%10 = load i32, ptr @V_PSSR_STATUS_RESOLVED, align 4, !tbaa !5
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %38, label %13
13: ; preds = %5
%14 = load i32, ptr @V_PSSR_RX_PAUSE, align 4, !tbaa !5
%15 = and i32 %14, %9
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @PAUSE_RX, align 4
%18 = select i1 %16, i32 0, i32 %17
%19 = load i32, ptr @V_PSSR_TX_PAUSE, align 4, !tbaa !5
%20 = and i32 %19, %9
%21 = icmp eq i32 %20, 0
%22 = load i32, ptr @PAUSE_TX, align 4
%23 = select i1 %21, i32 0, i32 %22
%24 = or i32 %23, %18
%25 = load i32, ptr @V_PSSR_DUPLEX, align 4, !tbaa !5
%26 = and i32 %25, %9
%27 = icmp eq i32 %26, 0
%28 = load i32, ptr @DUPLEX_FULL, align 4
%29 = load i32, ptr @DUPLEX_HALF, align 4
%30 = select i1 %27, i32 %29, i32 %28
%31 = call i32 @G_PSSR_SPEED(i32 noundef %9) #3
switch i32 %31, label %36 [
i32 0, label %32
i32 1, label %34
]
32: ; preds = %13
%33 = load i32, ptr @SPEED_10, align 4, !tbaa !5
br label %38
34: ; preds = %13
%35 = load i32, ptr @SPEED_100, align 4, !tbaa !5
br label %38
36: ; preds = %13
%37 = load i32, ptr @SPEED_1000, align 4, !tbaa !5
br label %38
38: ; preds = %32, %36, %34, %5
%39 = phi i32 [ %33, %32 ], [ %35, %34 ], [ %37, %36 ], [ -1, %5 ]
%40 = phi i32 [ %30, %32 ], [ %30, %34 ], [ %30, %36 ], [ -1, %5 ]
%41 = phi i32 [ %24, %32 ], [ %24, %34 ], [ %24, %36 ], [ 0, %5 ]
%42 = icmp eq ptr %1, null
br i1 %42, label %49, label %43
43: ; preds = %38
%44 = load i32, ptr %6, align 4, !tbaa !5
%45 = load i32, ptr @V_PSSR_LINK, align 4, !tbaa !5
%46 = and i32 %45, %44
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i32
store i32 %48, ptr %1, align 4, !tbaa !5
br label %49
49: ; preds = %43, %38
%50 = icmp eq ptr %2, null
br i1 %50, label %52, label %51
51: ; preds = %49
store i32 %39, ptr %2, align 4, !tbaa !5
br label %52
52: ; preds = %51, %49
%53 = icmp eq ptr %3, null
br i1 %53, label %55, label %54
54: ; preds = %52
store i32 %40, ptr %3, align 4, !tbaa !5
br label %55
55: ; preds = %54, %52
%56 = icmp eq ptr %4, null
br i1 %56, label %58, label %57
57: ; preds = %55
store i32 %41, ptr %4, align 4, !tbaa !5
br label %58
58: ; preds = %57, %55
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @simple_mdio_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @G_PSSR_SPEED(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_mv88e1xxx.c_mv88e1xxx_get_link_status.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_mv88e1xxx.c_mv88e1xxx_get_link_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MV88E1XXX_SPECIFIC_STATUS_REGISTER = common local_unnamed_addr global i32 0, align 4
@V_PSSR_STATUS_RESOLVED = common local_unnamed_addr global i32 0, align 4
@V_PSSR_RX_PAUSE = common local_unnamed_addr global i32 0, align 4
@PAUSE_RX = common local_unnamed_addr global i32 0, align 4
@V_PSSR_TX_PAUSE = common local_unnamed_addr global i32 0, align 4
@PAUSE_TX = common local_unnamed_addr global i32 0, align 4
@V_PSSR_DUPLEX = common local_unnamed_addr global i32 0, align 4
@DUPLEX_FULL = common local_unnamed_addr global i32 0, align 4
@DUPLEX_HALF = common local_unnamed_addr global i32 0, align 4
@SPEED_10 = common local_unnamed_addr global i32 0, align 4
@SPEED_100 = common local_unnamed_addr global i32 0, align 4
@SPEED_1000 = common local_unnamed_addr global i32 0, align 4
@V_PSSR_LINK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mv88e1xxx_get_link_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mv88e1xxx_get_link_status(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr @MV88E1XXX_SPECIFIC_STATUS_REGISTER, align 4, !tbaa !6
%8 = call i32 @simple_mdio_read(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %6) #3
%9 = load i32, ptr %6, align 4, !tbaa !6
%10 = load i32, ptr @V_PSSR_STATUS_RESOLVED, align 4, !tbaa !6
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %38, label %13
13: ; preds = %5
%14 = load i32, ptr @V_PSSR_RX_PAUSE, align 4, !tbaa !6
%15 = and i32 %14, %9
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @PAUSE_RX, align 4
%18 = select i1 %16, i32 0, i32 %17
%19 = load i32, ptr @V_PSSR_TX_PAUSE, align 4, !tbaa !6
%20 = and i32 %19, %9
%21 = icmp eq i32 %20, 0
%22 = load i32, ptr @PAUSE_TX, align 4
%23 = select i1 %21, i32 0, i32 %22
%24 = or i32 %23, %18
%25 = load i32, ptr @V_PSSR_DUPLEX, align 4, !tbaa !6
%26 = and i32 %25, %9
%27 = icmp eq i32 %26, 0
%28 = load i32, ptr @DUPLEX_FULL, align 4
%29 = load i32, ptr @DUPLEX_HALF, align 4
%30 = select i1 %27, i32 %29, i32 %28
%31 = call i32 @G_PSSR_SPEED(i32 noundef %9) #3
switch i32 %31, label %36 [
i32 0, label %32
i32 1, label %34
]
32: ; preds = %13
%33 = load i32, ptr @SPEED_10, align 4, !tbaa !6
br label %38
34: ; preds = %13
%35 = load i32, ptr @SPEED_100, align 4, !tbaa !6
br label %38
36: ; preds = %13
%37 = load i32, ptr @SPEED_1000, align 4, !tbaa !6
br label %38
38: ; preds = %32, %36, %34, %5
%39 = phi i32 [ %33, %32 ], [ %35, %34 ], [ %37, %36 ], [ -1, %5 ]
%40 = phi i32 [ %30, %32 ], [ %30, %34 ], [ %30, %36 ], [ -1, %5 ]
%41 = phi i32 [ %24, %32 ], [ %24, %34 ], [ %24, %36 ], [ 0, %5 ]
%42 = icmp eq ptr %1, null
br i1 %42, label %49, label %43
43: ; preds = %38
%44 = load i32, ptr %6, align 4, !tbaa !6
%45 = load i32, ptr @V_PSSR_LINK, align 4, !tbaa !6
%46 = and i32 %45, %44
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i32
store i32 %48, ptr %1, align 4, !tbaa !6
br label %49
49: ; preds = %43, %38
%50 = icmp eq ptr %2, null
br i1 %50, label %52, label %51
51: ; preds = %49
store i32 %39, ptr %2, align 4, !tbaa !6
br label %52
52: ; preds = %51, %49
%53 = icmp eq ptr %3, null
br i1 %53, label %55, label %54
54: ; preds = %52
store i32 %40, ptr %3, align 4, !tbaa !6
br label %55
55: ; preds = %54, %52
%56 = icmp eq ptr %4, null
br i1 %56, label %58, label %57
57: ; preds = %55
store i32 %41, ptr %4, align 4, !tbaa !6
br label %58
58: ; preds = %57, %55
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @simple_mdio_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @G_PSSR_SPEED(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_chelsio_cxgb_extr_mv88e1xxx.c_mv88e1xxx_get_link_status |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_set_vf_multicasts.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_set_vf_multicasts.c"
target datalayout = "e-m:e-p270:32:32-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.igb_adapter = type { i32, ptr }
%struct.vf_data_storage = type { i32, ptr }
@E1000_VT_MSGINFO_MASK = dso_local local_unnamed_addr global i64 0, align 8
@E1000_VT_MSGINFO_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @igb_set_vf_multicasts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @igb_set_vf_multicasts(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = ptrtoint ptr %1 to i64
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = load i64, ptr @E1000_VT_MSGINFO_MASK, align 8, !tbaa !5
%7 = and i64 %6, %5
%8 = load i64, ptr @E1000_VT_MSGINFO_SHIFT, align 8, !tbaa !5
%9 = lshr i64 %7, %8
%10 = trunc i64 %9 to i32
%11 = getelementptr i64, ptr %1, i64 1
%12 = getelementptr inbounds %struct.igb_adapter, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !9
%14 = getelementptr inbounds %struct.vf_data_storage, ptr %13, i64 %2
store i32 %10, ptr %14, align 8, !tbaa !13
%15 = icmp sgt i32 %10, 0
br i1 %15, label %16, label %77
16: ; preds = %3
%17 = tail call i32 @llvm.smin.i32(i32 %10, i32 30)
%18 = getelementptr inbounds %struct.vf_data_storage, ptr %13, i64 %2, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = zext nneg i32 %17 to i64
%21 = icmp slt i32 %10, 8
br i1 %21, label %41, label %22
22: ; preds = %16
%23 = ptrtoint ptr %19 to i64
%24 = add i64 %23, -8
%25 = sub i64 %24, %4
%26 = icmp ult i64 %25, 32
br i1 %26, label %41, label %27
27: ; preds = %22
%28 = and i64 %20, 24
br label %29
29: ; preds = %29, %27
%30 = phi i64 [ 0, %27 ], [ %37, %29 ]
%31 = getelementptr inbounds i32, ptr %11, i64 %30
%32 = getelementptr inbounds i32, ptr %31, i64 4
%33 = load <4 x i32>, ptr %31, align 4, !tbaa !16
%34 = load <4 x i32>, ptr %32, align 4, !tbaa !16
%35 = getelementptr inbounds i32, ptr %19, i64 %30
%36 = getelementptr inbounds i32, ptr %35, i64 4
store <4 x i32> %33, ptr %35, align 4, !tbaa !16
store <4 x i32> %34, ptr %36, align 4, !tbaa !16
%37 = add nuw i64 %30, 8
%38 = icmp eq i64 %37, %28
br i1 %38, label %39, label %29, !llvm.loop !17
39: ; preds = %29
%40 = icmp eq i64 %28, %20
br i1 %40, label %77, label %41
41: ; preds = %22, %16, %39
%42 = phi i64 [ 0, %22 ], [ 0, %16 ], [ %28, %39 ]
%43 = and i64 %20, 3
%44 = icmp eq i64 %43, 0
br i1 %44, label %54, label %45
45: ; preds = %41, %45
%46 = phi i64 [ %51, %45 ], [ %42, %41 ]
%47 = phi i64 [ %52, %45 ], [ 0, %41 ]
%48 = getelementptr inbounds i32, ptr %11, i64 %46
%49 = load i32, ptr %48, align 4, !tbaa !16
%50 = getelementptr inbounds i32, ptr %19, i64 %46
store i32 %49, ptr %50, align 4, !tbaa !16
%51 = add nuw nsw i64 %46, 1
%52 = add i64 %47, 1
%53 = icmp eq i64 %52, %43
br i1 %53, label %54, label %45, !llvm.loop !21
54: ; preds = %45, %41
%55 = phi i64 [ %42, %41 ], [ %51, %45 ]
%56 = sub nsw i64 %42, %20
%57 = icmp ugt i64 %56, -4
br i1 %57, label %77, label %58
58: ; preds = %54, %58
%59 = phi i64 [ %75, %58 ], [ %55, %54 ]
%60 = getelementptr inbounds i32, ptr %11, i64 %59
%61 = load i32, ptr %60, align 4, !tbaa !16
%62 = getelementptr inbounds i32, ptr %19, i64 %59
store i32 %61, ptr %62, align 4, !tbaa !16
%63 = add nuw nsw i64 %59, 1
%64 = getelementptr inbounds i32, ptr %11, i64 %63
%65 = load i32, ptr %64, align 4, !tbaa !16
%66 = getelementptr inbounds i32, ptr %19, i64 %63
store i32 %65, ptr %66, align 4, !tbaa !16
%67 = add nuw nsw i64 %59, 2
%68 = getelementptr inbounds i32, ptr %11, i64 %67
%69 = load i32, ptr %68, align 4, !tbaa !16
%70 = getelementptr inbounds i32, ptr %19, i64 %67
store i32 %69, ptr %70, align 4, !tbaa !16
%71 = add nuw nsw i64 %59, 3
%72 = getelementptr inbounds i32, ptr %11, i64 %71
%73 = load i32, ptr %72, align 4, !tbaa !16
%74 = getelementptr inbounds i32, ptr %19, i64 %71
store i32 %73, ptr %74, align 4, !tbaa !16
%75 = add nuw nsw i64 %59, 4
%76 = icmp eq i64 %75, %20
br i1 %76, label %77, label %58, !llvm.loop !23
77: ; preds = %54, %58, %39, %3
%78 = load i32, ptr %0, align 8, !tbaa !24
%79 = tail call i32 @igb_set_rx_mode(i32 noundef %78) #3
ret i32 0
}
declare i32 @igb_set_rx_mode(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"igb_adapter", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"vf_data_storage", !11, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 8}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !18, !19}
!24 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_set_vf_multicasts.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_set_vf_multicasts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.vf_data_storage = type { i32, ptr }
@E1000_VT_MSGINFO_MASK = common local_unnamed_addr global i64 0, align 8
@E1000_VT_MSGINFO_SHIFT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @igb_set_vf_multicasts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @igb_set_vf_multicasts(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = ptrtoint ptr %1 to i64
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = load i64, ptr @E1000_VT_MSGINFO_MASK, align 8, !tbaa !6
%7 = and i64 %6, %5
%8 = load i64, ptr @E1000_VT_MSGINFO_SHIFT, align 8, !tbaa !6
%9 = lshr i64 %7, %8
%10 = trunc i64 %9 to i32
%11 = getelementptr i8, ptr %1, i64 8
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = getelementptr inbounds %struct.vf_data_storage, ptr %13, i64 %2
store i32 %10, ptr %14, align 8, !tbaa !14
%15 = icmp sgt i32 %10, 0
br i1 %15, label %16, label %56
16: ; preds = %3
%17 = tail call i32 @llvm.umin.i32(i32 %10, i32 30)
%18 = getelementptr inbounds i8, ptr %14, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !16
%20 = zext nneg i32 %17 to i64
%21 = icmp ult i32 %10, 16
br i1 %21, label %47, label %22
22: ; preds = %16
%23 = ptrtoint ptr %19 to i64
%24 = add i64 %23, -8
%25 = sub i64 %24, %4
%26 = icmp ult i64 %25, 64
br i1 %26, label %47, label %27
27: ; preds = %22
%28 = and i64 %20, 16
br label %29
29: ; preds = %29, %27
%30 = phi i64 [ 0, %27 ], [ %43, %29 ]
%31 = getelementptr inbounds i32, ptr %11, i64 %30
%32 = getelementptr inbounds i8, ptr %31, i64 16
%33 = getelementptr inbounds i8, ptr %31, i64 32
%34 = getelementptr inbounds i8, ptr %31, i64 48
%35 = load <4 x i32>, ptr %31, align 4, !tbaa !17
%36 = load <4 x i32>, ptr %32, align 4, !tbaa !17
%37 = load <4 x i32>, ptr %33, align 4, !tbaa !17
%38 = load <4 x i32>, ptr %34, align 4, !tbaa !17
%39 = getelementptr inbounds i32, ptr %19, i64 %30
%40 = getelementptr inbounds i8, ptr %39, i64 16
%41 = getelementptr inbounds i8, ptr %39, i64 32
%42 = getelementptr inbounds i8, ptr %39, i64 48
store <4 x i32> %35, ptr %39, align 4, !tbaa !17
store <4 x i32> %36, ptr %40, align 4, !tbaa !17
store <4 x i32> %37, ptr %41, align 4, !tbaa !17
store <4 x i32> %38, ptr %42, align 4, !tbaa !17
%43 = add nuw i64 %30, 16
%44 = icmp eq i64 %43, %28
br i1 %44, label %45, label %29, !llvm.loop !18
45: ; preds = %29
%46 = icmp eq i64 %28, %20
br i1 %46, label %56, label %47
47: ; preds = %45, %22, %16
%48 = phi i64 [ 0, %22 ], [ 0, %16 ], [ %28, %45 ]
br label %49
49: ; preds = %47, %49
%50 = phi i64 [ %54, %49 ], [ %48, %47 ]
%51 = getelementptr inbounds i32, ptr %11, i64 %50
%52 = load i32, ptr %51, align 4, !tbaa !17
%53 = getelementptr inbounds i32, ptr %19, i64 %50
store i32 %52, ptr %53, align 4, !tbaa !17
%54 = add nuw nsw i64 %50, 1
%55 = icmp eq i64 %54, %20
br i1 %55, label %56, label %49, !llvm.loop !22
56: ; preds = %49, %45, %3
%57 = load i32, ptr %0, align 8, !tbaa !23
%58 = tail call i32 @igb_set_rx_mode(i32 noundef %57) #3
ret i32 0
}
declare i32 @igb_set_rx_mode(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"igb_adapter", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"vf_data_storage", !12, i64 0, !13, i64 8}
!16 = !{!15, !13, i64 8}
!17 = !{!12, !12, i64 0}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !19, !20}
!23 = !{!11, !12, i64 0}
| fastsocket_kernel_drivers_net_igb_extr_igb_main.c_igb_set_vf_multicasts |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_sync.c_ieee80211_mesh_sync_ops_get.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_sync.c_ieee80211_mesh_sync_ops_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.TYPE_3__ = type { i64, %struct.ieee80211_mesh_sync_ops }
%struct.ieee80211_mesh_sync_ops = type { i32 }
@sync_methods = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @ieee80211_mesh_sync_ops_get(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @sync_methods, align 8, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp sgt i32 %3, 0
br i1 %4, label %10, label %18
5: ; preds = %10
%6 = add nuw nsw i64 %11, 1
%7 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #2
%8 = sext i32 %7 to i64
%9 = icmp slt i64 %6, %8
br i1 %9, label %10, label %18, !llvm.loop !9
10: ; preds = %1, %5
%11 = phi i64 [ %6, %5 ], [ 0, %1 ]
%12 = load ptr, ptr @sync_methods, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %11
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = icmp eq i64 %14, %0
br i1 %15, label %16, label %5
16: ; preds = %10
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %11, i32 1
br label %18
18: ; preds = %5, %1, %16
%19 = phi ptr [ %17, %16 ], [ null, %1 ], [ null, %5 ]
ret ptr %19
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !14, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!"ieee80211_mesh_sync_ops", !15, i64 0}
!15 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_sync.c_ieee80211_mesh_sync_ops_get.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_sync.c_ieee80211_mesh_sync_ops_get.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 { i64, %struct.ieee80211_mesh_sync_ops }
%struct.ieee80211_mesh_sync_ops = type { i32 }
@sync_methods = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ieee80211_mesh_sync_ops_get(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @sync_methods, align 8, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = icmp sgt i32 %3, 0
br i1 %4, label %10, label %18
5: ; preds = %10
%6 = add nuw nsw i64 %11, 1
%7 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %12) #2
%8 = sext i32 %7 to i64
%9 = icmp slt i64 %6, %8
br i1 %9, label %10, label %18, !llvm.loop !10
10: ; preds = %1, %5
%11 = phi i64 [ %6, %5 ], [ 0, %1 ]
%12 = load ptr, ptr @sync_methods, align 8, !tbaa !6
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %11
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = icmp eq i64 %14, %0
br i1 %15, label %16, label %5
16: ; preds = %10
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %11, i32 1
br label %18
18: ; preds = %5, %1, %16
%19 = phi ptr [ %17, %16 ], [ null, %1 ], [ null, %5 ]
ret ptr %19
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0, !15, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!"ieee80211_mesh_sync_ops", !16, i64 0}
!16 = !{!"int", !8, i64 0}
| fastsocket_kernel_net_mac80211_extr_mesh_sync.c_ieee80211_mesh_sync_ops_get |
; ModuleID = 'AnghaBench/linux/drivers/usb/serial/extr_cp210x.c_cp210x_gpio_init.c'
source_filename = "AnghaBench/linux/drivers/usb/serial/extr_cp210x.c_cp210x_gpio_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 @cp210x_gpio_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @cp210x_gpio_init(ptr nocapture readnone %0) #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/linux/drivers/usb/serial/extr_cp210x.c_cp210x_gpio_init.c'
source_filename = "AnghaBench/linux/drivers/usb/serial/extr_cp210x.c_cp210x_gpio_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 @cp210x_gpio_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @cp210x_gpio_init(ptr nocapture readnone %0) #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)"}
| linux_drivers_usb_serial_extr_cp210x.c_cp210x_gpio_init |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/default/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"
; 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/dztech/dz60rgb_wkl/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/default/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"
; 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_dztech_dz60rgb_wkl_keymaps_default_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_vnic_dev.c_vnic_dev_intr_coal_timer_info_default.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_vnic_dev.c_vnic_dev_intr_coal_timer_info_default.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @vnic_dev_intr_coal_timer_info_default(ptr noundef %0) local_unnamed_addr #0 {
store i32 2, ptr %0, align 4, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i32 3, ptr %2, align 4, !tbaa !11
%3 = tail call i32 @vnic_dev_intr_coal_timer_hw_to_usec(ptr noundef nonnull %0, i32 noundef 65535) #2
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store i32 %3, ptr %4, align 4, !tbaa !12
ret void
}
declare i32 @vnic_dev_intr_coal_timer_hw_to_usec(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"vnic_dev", !7, i64 0}
!7 = !{!"TYPE_2__", !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 = !{!6, !8, i64 4}
!12 = !{!6, !8, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_vnic_dev.c_vnic_dev_intr_coal_timer_info_default.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cisco/enic/extr_vnic_dev.c_vnic_dev_intr_coal_timer_info_default.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 @vnic_dev_intr_coal_timer_info_default(ptr noundef %0) local_unnamed_addr #0 {
store <2 x i32> <i32 2, i32 3>, ptr %0, align 4, !tbaa !6
%2 = tail call i32 @vnic_dev_intr_coal_timer_hw_to_usec(ptr noundef nonnull %0, i32 noundef 65535) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %2, ptr %3, align 4, !tbaa !10
ret void
}
declare i32 @vnic_dev_intr_coal_timer_hw_to_usec(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"vnic_dev", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8}
| linux_drivers_net_ethernet_cisco_enic_extr_vnic_dev.c_vnic_dev_intr_coal_timer_info_default |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_walk_callback.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_walk_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"
%struct.acpi_device_info = type { i32, i32 }
@.str = private unnamed_addr constant [30 x i8] c"method: name: %4.4s, args %X\0A\00", align 1
@AE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sony_walk_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sony_walk_callback(i32 noundef %0, i32 %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @acpi_get_object_info(i32 noundef %0, ptr noundef nonnull %5) #3
%7 = call i64 @ACPI_SUCCESS(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %4
%10 = load ptr, ptr %5, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.acpi_device_info, ptr %10, i64 0, i32 1
%12 = load i32, ptr %10, align 4, !tbaa !9
%13 = call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %11, i32 noundef %12) #3
%14 = load ptr, ptr %5, align 8, !tbaa !5
%15 = call i32 @kfree(ptr noundef %14) #3
br label %16
16: ; preds = %9, %4
%17 = load i32, ptr @AE_OK, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ACPI_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @acpi_get_object_info(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_warn(ptr noundef, ptr noundef, i32 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"acpi_device_info", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_walk_callback.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_walk_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 [30 x i8] c"method: name: %4.4s, args %X\0A\00", align 1
@AE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sony_walk_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sony_walk_callback(i32 noundef %0, i32 %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @acpi_get_object_info(i32 noundef %0, ptr noundef nonnull %5) #3
%7 = call i64 @ACPI_SUCCESS(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %4
%10 = load ptr, ptr %5, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 4
%12 = load i32, ptr %10, align 4, !tbaa !10
%13 = call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %11, i32 noundef %12) #3
%14 = load ptr, ptr %5, align 8, !tbaa !6
%15 = call i32 @kfree(ptr noundef %14) #3
br label %16
16: ; preds = %9, %4
%17 = load i32, ptr @AE_OK, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ACPI_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @acpi_get_object_info(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_warn(ptr noundef, ptr noundef, i32 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"acpi_device_info", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| linux_drivers_platform_x86_extr_sony-laptop.c_sony_walk_callback |
; ModuleID = 'AnghaBench/linux/sound/isa/extr_sc6000.c_snd_sc6000_mixer.c'
source_filename = "AnghaBench/linux/sound/isa/extr_sc6000.c_snd_sc6000_mixer.c"
target datalayout = "e-m:e-p270:32:32-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_ctl_elem_id = type { i32, i32, ptr }
@SNDRV_CTL_ELEM_IFACE_MIXER = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [20 x i8] c"Aux Playback Switch\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"FM Playback Switch\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Aux Playback Volume\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"FM Playback Volume\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"CD Playback Switch\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"CD Playback Volume\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_sc6000_mixer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_sc6000_mixer(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.snd_ctl_elem_id, align 8
%3 = alloca %struct.snd_ctl_elem_id, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
%5 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #4
%6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #4
%7 = load ptr, ptr @SNDRV_CTL_ELEM_IFACE_MIXER, align 8, !tbaa !10
%8 = getelementptr inbounds %struct.snd_ctl_elem_id, ptr %2, i64 0, i32 2
store ptr %7, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.snd_ctl_elem_id, ptr %3, i64 0, i32 2
store ptr %7, ptr %9, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.snd_ctl_elem_id, ptr %2, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = call i32 @strcpy(i32 noundef %11, ptr noundef nonnull @.str) #4
%13 = getelementptr inbounds %struct.snd_ctl_elem_id, ptr %3, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = call i32 @strcpy(i32 noundef %14, ptr noundef nonnull @.str.1) #4
%16 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%17 = icmp slt i32 %16, 0
br i1 %17, label %39, label %18
18: ; preds = %1
%19 = load i32, ptr %10, align 4, !tbaa !14
%20 = call i32 @strcpy(i32 noundef %19, ptr noundef nonnull @.str.2) #4
%21 = load i32, ptr %13, align 4, !tbaa !14
%22 = call i32 @strcpy(i32 noundef %21, ptr noundef nonnull @.str.3) #4
%23 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%24 = icmp slt i32 %23, 0
br i1 %24, label %39, label %25
25: ; preds = %18
%26 = load i32, ptr %10, align 4, !tbaa !14
%27 = call i32 @strcpy(i32 noundef %26, ptr noundef nonnull @.str) #4
store i32 1, ptr %2, align 8, !tbaa !15
%28 = load i32, ptr %13, align 4, !tbaa !14
%29 = call i32 @strcpy(i32 noundef %28, ptr noundef nonnull @.str.4) #4
%30 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%31 = icmp slt i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %25
%33 = load i32, ptr %10, align 4, !tbaa !14
%34 = call i32 @strcpy(i32 noundef %33, ptr noundef nonnull @.str.2) #4
%35 = load i32, ptr %13, align 4, !tbaa !14
%36 = call i32 @strcpy(i32 noundef %35, ptr noundef nonnull @.str.5) #4
%37 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%38 = call i32 @llvm.smin.i32(i32 %37, i32 0)
br label %39
39: ; preds = %32, %25, %18, %1
%40 = phi i32 [ %16, %1 ], [ %23, %18 ], [ %30, %25 ], [ %38, %32 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ctl_rename_id(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_wss", !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 = !{!12, !7, i64 8}
!12 = !{!"snd_ctl_elem_id", !13, i64 0, !13, i64 4, !7, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/isa/extr_sc6000.c_snd_sc6000_mixer.c'
source_filename = "AnghaBench/linux/sound/isa/extr_sc6000.c_snd_sc6000_mixer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.snd_ctl_elem_id = type { i32, i32, ptr }
@SNDRV_CTL_ELEM_IFACE_MIXER = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [20 x i8] c"Aux Playback Switch\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"FM Playback Switch\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Aux Playback Volume\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"FM Playback Volume\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"CD Playback Switch\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"CD Playback Volume\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @snd_sc6000_mixer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @snd_sc6000_mixer(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.snd_ctl_elem_id, align 8
%3 = alloca %struct.snd_ctl_elem_id, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
%5 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #4
%6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #4
%7 = load ptr, ptr @SNDRV_CTL_ELEM_IFACE_MIXER, align 8, !tbaa !11
%8 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %7, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %7, ptr %9, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %2, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = call i32 @strcpy(i32 noundef %11, ptr noundef nonnull @.str) #4
%13 = getelementptr inbounds i8, ptr %3, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = call i32 @strcpy(i32 noundef %14, ptr noundef nonnull @.str.1) #4
%16 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%17 = icmp slt i32 %16, 0
br i1 %17, label %39, label %18
18: ; preds = %1
%19 = load i32, ptr %10, align 4, !tbaa !15
%20 = call i32 @strcpy(i32 noundef %19, ptr noundef nonnull @.str.2) #4
%21 = load i32, ptr %13, align 4, !tbaa !15
%22 = call i32 @strcpy(i32 noundef %21, ptr noundef nonnull @.str.3) #4
%23 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%24 = icmp slt i32 %23, 0
br i1 %24, label %39, label %25
25: ; preds = %18
%26 = load i32, ptr %10, align 4, !tbaa !15
%27 = call i32 @strcpy(i32 noundef %26, ptr noundef nonnull @.str) #4
store i32 1, ptr %2, align 8, !tbaa !16
%28 = load i32, ptr %13, align 4, !tbaa !15
%29 = call i32 @strcpy(i32 noundef %28, ptr noundef nonnull @.str.4) #4
%30 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%31 = icmp slt i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %25
%33 = load i32, ptr %10, align 4, !tbaa !15
%34 = call i32 @strcpy(i32 noundef %33, ptr noundef nonnull @.str.2) #4
%35 = load i32, ptr %13, align 4, !tbaa !15
%36 = call i32 @strcpy(i32 noundef %35, ptr noundef nonnull @.str.5) #4
%37 = call i32 @snd_ctl_rename_id(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %3) #4
%38 = call i32 @llvm.smin.i32(i32 %37, i32 0)
br label %39
39: ; preds = %32, %25, %18, %1
%40 = phi i32 [ %16, %1 ], [ %23, %18 ], [ %30, %25 ], [ %38, %32 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ctl_rename_id(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_wss", !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 = !{!13, !8, i64 8}
!13 = !{!"snd_ctl_elem_id", !14, i64 0, !14, i64 4, !8, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{!13, !14, i64 0}
| linux_sound_isa_extr_sc6000.c_snd_sc6000_mixer |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_sab.c_query_formats.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_sab.c_query_formats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@query_formats.pix_fmts = internal constant [6 x i32] [i32 130, i32 132, i32 128, i32 129, i32 131, i32 133], align 16
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @query_formats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @query_formats(ptr noundef %0) #0 {
%2 = tail call ptr @ff_make_format_list(ptr noundef nonnull @query_formats.pix_fmts) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%6 = tail call i32 @AVERROR(i32 noundef %5) #2
br label %9
7: ; preds = %1
%8 = tail call i32 @ff_set_common_formats(ptr noundef %0, ptr noundef nonnull %2) #2
br label %9
9: ; preds = %7, %4
%10 = phi i32 [ %8, %7 ], [ %6, %4 ]
ret i32 %10
}
declare ptr @ff_make_format_list(ptr noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @ff_set_common_formats(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/FFmpeg/libavfilter/extr_vf_sab.c_query_formats.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_sab.c_query_formats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@query_formats.pix_fmts = internal constant [6 x i32] [i32 130, i32 132, i32 128, i32 129, i32 131, i32 133], align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @query_formats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @query_formats(ptr noundef %0) #0 {
%2 = tail call ptr @ff_make_format_list(ptr noundef nonnull @query_formats.pix_fmts) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%6 = tail call i32 @AVERROR(i32 noundef %5) #2
br label %9
7: ; preds = %1
%8 = tail call i32 @ff_set_common_formats(ptr noundef %0, ptr noundef nonnull %2) #2
br label %9
9: ; preds = %7, %4
%10 = phi i32 [ %8, %7 ], [ %6, %4 ]
ret i32 %10
}
declare ptr @ff_make_format_list(ptr noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @ff_set_common_formats(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"}
| FFmpeg_libavfilter_extr_vf_sab.c_query_formats |
; ModuleID = 'AnghaBench/linux/arch/x86/net/extr_bpf_jit_comp.c_jit_fill_hole.c'
source_filename = "AnghaBench/linux/arch/x86/net/extr_bpf_jit_comp.c_jit_fill_hole.c"
target datalayout = "e-m:e-p270:32:32-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 @jit_fill_hole], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @jit_fill_hole(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 204, i32 noundef %1) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/net/extr_bpf_jit_comp.c_jit_fill_hole.c'
source_filename = "AnghaBench/linux/arch/x86/net/extr_bpf_jit_comp.c_jit_fill_hole.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 @jit_fill_hole], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @jit_fill_hole(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 204, i32 noundef %1) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_net_extr_bpf_jit_comp.c_jit_fill_hole |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/extr_dml_inline_defs.h_dml_log.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/extr_dml_inline_defs.h_dml_log.c"
target datalayout = "e-m:e-p270:32:32-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 @dml_log], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal double @dml_log(double noundef %0, double noundef %1) #0 {
%3 = tail call i64 @dcn_bw_log(double noundef %0, double noundef %1) #2
%4 = sitofp i64 %3 to double
ret double %4
}
declare i64 @dcn_bw_log(double noundef, double noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/extr_dml_inline_defs.h_dml_log.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/extr_dml_inline_defs.h_dml_log.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 @dml_log], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal double @dml_log(double noundef %0, double noundef %1) #0 {
%3 = tail call i64 @dcn_bw_log(double noundef %0, double noundef %1) #2
%4 = sitofp i64 %3 to double
ret double %4
}
declare i64 @dcn_bw_log(double noundef, double noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_amd_display_dc_dml_extr_dml_inline_defs.h_dml_log |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_fdb_dump.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_fdb_dump.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ocelot_dump_ctx = type { i32, ptr, ptr, ptr }
%struct.ocelot_mact_entry = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocelot_fdb_dump], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ocelot_fdb_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture noundef %4) #0 {
%6 = alloca %struct.ocelot_dump_ctx, align 8
%7 = alloca %struct.ocelot_mact_entry, align 4
%8 = tail call ptr @netdev_priv(ptr noundef %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
%9 = load i32, ptr %4, align 4, !tbaa !5
store i32 %9, ptr %6, align 8, !tbaa !9
%10 = getelementptr inbounds %struct.ocelot_dump_ctx, ptr %6, i64 0, i32 1
store ptr %1, ptr %10, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.ocelot_dump_ctx, ptr %6, i64 0, i32 2
store ptr %0, ptr %11, align 8, !tbaa !13
%12 = getelementptr inbounds %struct.ocelot_dump_ctx, ptr %6, i64 0, i32 3
store ptr %2, ptr %12, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
br label %13
13: ; preds = %5, %54
%14 = phi i32 [ 0, %5 ], [ %55, %54 ]
%15 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %7) #3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
%18 = icmp eq i32 %15, %17
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = icmp eq i32 %15, 0
br i1 %20, label %21, label %57
21: ; preds = %19
%22 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %57
24: ; preds = %21, %13
%25 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 1, ptr noundef nonnull %7) #3
%26 = load i32, ptr @EINVAL, align 4, !tbaa !5
%27 = sub nsw i32 0, %26
%28 = icmp eq i32 %25, %27
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = icmp eq i32 %25, 0
br i1 %30, label %31, label %57
31: ; preds = %29
%32 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %57
34: ; preds = %31, %24
%35 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 2, ptr noundef nonnull %7) #3
%36 = load i32, ptr @EINVAL, align 4, !tbaa !5
%37 = sub nsw i32 0, %36
%38 = icmp eq i32 %35, %37
br i1 %38, label %44, label %39
39: ; preds = %34
%40 = icmp eq i32 %35, 0
br i1 %40, label %41, label %57
41: ; preds = %39
%42 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %41, %34
%45 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 3, ptr noundef nonnull %7) #3
%46 = load i32, ptr @EINVAL, align 4, !tbaa !5
%47 = sub nsw i32 0, %46
%48 = icmp eq i32 %45, %47
br i1 %48, label %54, label %49
49: ; preds = %44
%50 = icmp eq i32 %45, 0
br i1 %50, label %51, label %57
51: ; preds = %49
%52 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51, %44
%55 = add nuw nsw i32 %14, 1
%56 = icmp eq i32 %55, 1024
br i1 %56, label %57, label %13, !llvm.loop !15
57: ; preds = %54, %21, %19, %29, %31, %39, %41, %49, %51
%58 = phi i32 [ %15, %19 ], [ %22, %21 ], [ %25, %29 ], [ %32, %31 ], [ %35, %39 ], [ %42, %41 ], [ %45, %49 ], [ %52, %51 ], [ %45, %54 ]
%59 = load i32, ptr %6, align 8, !tbaa !9
store i32 %59, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @ocelot_mact_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocelot_fdb_do_dump(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, !6, i64 0}
!10 = !{!"ocelot_dump_ctx", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 16}
!14 = !{!10, !11, i64 24}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_fdb_dump.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mscc/extr_ocelot.c_ocelot_fdb_dump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ocelot_dump_ctx = type { i32, ptr, ptr, ptr }
%struct.ocelot_mact_entry = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ocelot_fdb_dump], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ocelot_fdb_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture noundef %4) #0 {
%6 = alloca %struct.ocelot_dump_ctx, align 8
%7 = alloca %struct.ocelot_mact_entry, align 4
%8 = tail call ptr @netdev_priv(ptr noundef %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
%9 = load i32, ptr %4, align 4, !tbaa !6
store i32 %9, ptr %6, align 8, !tbaa !10
%10 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %1, ptr %10, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %0, ptr %11, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %6, i64 24
store ptr %2, ptr %12, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
br label %13
13: ; preds = %5, %54
%14 = phi i32 [ 0, %5 ], [ %55, %54 ]
%15 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %7) #3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
%18 = icmp eq i32 %15, %17
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = icmp eq i32 %15, 0
br i1 %20, label %21, label %57
21: ; preds = %19
%22 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %57
24: ; preds = %21, %13
%25 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 1, ptr noundef nonnull %7) #3
%26 = load i32, ptr @EINVAL, align 4, !tbaa !6
%27 = sub nsw i32 0, %26
%28 = icmp eq i32 %25, %27
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = icmp eq i32 %25, 0
br i1 %30, label %31, label %57
31: ; preds = %29
%32 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %57
34: ; preds = %31, %24
%35 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 2, ptr noundef nonnull %7) #3
%36 = load i32, ptr @EINVAL, align 4, !tbaa !6
%37 = sub nsw i32 0, %36
%38 = icmp eq i32 %35, %37
br i1 %38, label %44, label %39
39: ; preds = %34
%40 = icmp eq i32 %35, 0
br i1 %40, label %41, label %57
41: ; preds = %39
%42 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %41, %34
%45 = call i32 @ocelot_mact_read(ptr noundef %8, i32 noundef %14, i32 noundef 3, ptr noundef nonnull %7) #3
%46 = load i32, ptr @EINVAL, align 4, !tbaa !6
%47 = sub nsw i32 0, %46
%48 = icmp eq i32 %45, %47
br i1 %48, label %54, label %49
49: ; preds = %44
%50 = icmp eq i32 %45, 0
br i1 %50, label %51, label %57
51: ; preds = %49
%52 = call i32 @ocelot_fdb_do_dump(ptr noundef nonnull %7, ptr noundef nonnull %6) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51, %44
%55 = add nuw nsw i32 %14, 1
%56 = icmp eq i32 %55, 1024
br i1 %56, label %57, label %13, !llvm.loop !16
57: ; preds = %54, %21, %19, %29, %31, %39, %41, %49, %51
%58 = phi i32 [ %15, %19 ], [ %22, %21 ], [ %25, %29 ], [ %32, %31 ], [ %35, %39 ], [ %42, %41 ], [ %45, %49 ], [ %52, %51 ], [ %45, %54 ]
%59 = load i32, ptr %6, align 8, !tbaa !10
store i32 %59, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @ocelot_mact_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ocelot_fdb_do_dump(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, !7, i64 0}
!11 = !{!"ocelot_dump_ctx", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !12, i64 16}
!15 = !{!11, !12, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_mscc_extr_ocelot.c_ocelot_fdb_dump |
; ModuleID = 'AnghaBench/linux/mm/extr_slub.c_kmem_cache_alloc_bulk.c'
source_filename = "AnghaBench/linux/mm/extr_slub.c_kmem_cache_alloc_bulk.c"
target datalayout = "e-m:e-p270:32:32-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.kmem_cache = type { i32, i32 }
%struct.kmem_cache_cpu = type { i32, ptr }
@NUMA_NO_NODE = dso_local local_unnamed_addr global i32 0, align 4
@_RET_IP_ = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @kmem_cache_alloc_bulk(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @slab_pre_alloc_hook(ptr noundef %0, i32 noundef %1) #2
%6 = icmp eq ptr %5, null
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %78
10: ; preds = %4
%11 = tail call i32 (...) @local_irq_disable() #2
%12 = getelementptr inbounds %struct.kmem_cache, ptr %5, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = tail call ptr @this_cpu_ptr(i32 noundef %13) #2
%15 = icmp eq i64 %2, 0
br i1 %15, label %49, label %16
16: ; preds = %10, %41
%17 = phi i64 [ %45, %41 ], [ 0, %10 ]
%18 = phi ptr [ %43, %41 ], [ %14, %10 ]
%19 = getelementptr inbounds %struct.kmem_cache_cpu, ptr %18, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !10
%21 = icmp eq ptr %20, null
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %38, label %25
25: ; preds = %16
%26 = load i32, ptr @NUMA_NO_NODE, align 4, !tbaa !13
%27 = load i32, ptr @_RET_IP_, align 4, !tbaa !13
%28 = tail call ptr @___slab_alloc(ptr noundef %5, i32 noundef %1, i32 noundef %26, i32 noundef %27, ptr noundef nonnull %18) #2
%29 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %28, ptr %29, align 8, !tbaa !14
%30 = icmp eq ptr %28, null
%31 = zext i1 %30 to i32
%32 = tail call i64 @unlikely(i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %73
34: ; preds = %25
%35 = load i32, ptr %12, align 4, !tbaa !5
%36 = tail call ptr @this_cpu_ptr(i32 noundef %35) #2
%37 = load ptr, ptr %29, align 8, !tbaa !14
br label %41
38: ; preds = %16
%39 = tail call ptr @get_freepointer(ptr noundef %5, ptr noundef %20) #2
store ptr %39, ptr %19, align 8, !tbaa !10
%40 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %20, ptr %40, align 8, !tbaa !14
br label %41
41: ; preds = %34, %38
%42 = phi ptr [ %37, %34 ], [ %20, %38 ]
%43 = phi ptr [ %36, %34 ], [ %18, %38 ]
%44 = tail call i32 @maybe_wipe_obj_freeptr(ptr noundef %5, ptr noundef %42) #2
%45 = add nuw i64 %17, 1
%46 = icmp eq i64 %45, %2
br i1 %46, label %47, label %16, !llvm.loop !15
47: ; preds = %41
%48 = trunc i64 %2 to i32
br label %49
49: ; preds = %47, %10
%50 = phi ptr [ %14, %10 ], [ %43, %47 ]
%51 = phi i32 [ 0, %10 ], [ %48, %47 ]
%52 = load i32, ptr %50, align 8, !tbaa !17
%53 = tail call i32 @next_tid(i32 noundef %52) #2
store i32 %53, ptr %50, align 8, !tbaa !17
%54 = tail call i32 (...) @local_irq_enable() #2
%55 = tail call i32 @slab_want_init_on_alloc(i32 noundef %1, ptr noundef %5) #2
%56 = tail call i64 @unlikely(i32 noundef %55) #2
%57 = icmp ne i64 %56, 0
%58 = icmp ne i32 %51, 0
%59 = and i1 %57, %58
br i1 %59, label %60, label %70
60: ; preds = %49
%61 = zext i32 %51 to i64
br label %62
62: ; preds = %60, %62
%63 = phi i64 [ 0, %60 ], [ %68, %62 ]
%64 = getelementptr inbounds ptr, ptr %3, i64 %63
%65 = load ptr, ptr %64, align 8, !tbaa !14
%66 = load i32, ptr %5, align 4, !tbaa !18
%67 = tail call i32 @memset(ptr noundef %65, i32 noundef 0, i32 noundef %66) #2
%68 = add nuw nsw i64 %63, 1
%69 = icmp eq i64 %68, %61
br i1 %69, label %70, label %62, !llvm.loop !19
70: ; preds = %62, %49
%71 = trunc i64 %2 to i32
%72 = tail call i32 @slab_post_alloc_hook(ptr noundef %5, i32 noundef %1, i32 noundef %71, ptr noundef %3) #2
br label %78
73: ; preds = %25
%74 = trunc i64 %17 to i32
%75 = tail call i32 (...) @local_irq_enable() #2
%76 = tail call i32 @slab_post_alloc_hook(ptr noundef %5, i32 noundef %1, i32 noundef %74, ptr noundef nonnull %3) #2
%77 = tail call i32 @__kmem_cache_free_bulk(ptr noundef %5, i32 noundef %74, ptr noundef nonnull %3) #2
br label %78
78: ; preds = %4, %73, %70
%79 = phi i32 [ 0, %73 ], [ %51, %70 ], [ 0, %4 ]
ret i32 %79
}
declare ptr @slab_pre_alloc_hook(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_disable(...) local_unnamed_addr #1
declare ptr @this_cpu_ptr(i32 noundef) local_unnamed_addr #1
declare ptr @___slab_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @maybe_wipe_obj_freeptr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @get_freepointer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @next_tid(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i32 @slab_want_init_on_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @slab_post_alloc_hook(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__kmem_cache_free_bulk(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 4}
!6 = !{!"kmem_cache", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"kmem_cache_cpu", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!11, !7, i64 0}
!18 = !{!6, !7, i64 0}
!19 = distinct !{!19, !16}
| ; ModuleID = 'AnghaBench/linux/mm/extr_slub.c_kmem_cache_alloc_bulk.c'
source_filename = "AnghaBench/linux/mm/extr_slub.c_kmem_cache_alloc_bulk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NUMA_NO_NODE = common local_unnamed_addr global i32 0, align 4
@_RET_IP_ = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kmem_cache_alloc_bulk(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @slab_pre_alloc_hook(ptr noundef %0, i32 noundef %1) #2
%6 = icmp eq ptr %5, null
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %78
10: ; preds = %4
%11 = tail call i32 @local_irq_disable() #2
%12 = getelementptr inbounds i8, ptr %5, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = tail call ptr @this_cpu_ptr(i32 noundef %13) #2
%15 = icmp eq i64 %2, 0
br i1 %15, label %49, label %16
16: ; preds = %10, %41
%17 = phi i64 [ %45, %41 ], [ 0, %10 ]
%18 = phi ptr [ %43, %41 ], [ %14, %10 ]
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !11
%21 = icmp eq ptr %20, null
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %38, label %25
25: ; preds = %16
%26 = load i32, ptr @NUMA_NO_NODE, align 4, !tbaa !14
%27 = load i32, ptr @_RET_IP_, align 4, !tbaa !14
%28 = tail call ptr @___slab_alloc(ptr noundef %5, i32 noundef %1, i32 noundef %26, i32 noundef %27, ptr noundef nonnull %18) #2
%29 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %28, ptr %29, align 8, !tbaa !15
%30 = icmp eq ptr %28, null
%31 = zext i1 %30 to i32
%32 = tail call i64 @unlikely(i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %73
34: ; preds = %25
%35 = load i32, ptr %12, align 4, !tbaa !6
%36 = tail call ptr @this_cpu_ptr(i32 noundef %35) #2
%37 = load ptr, ptr %29, align 8, !tbaa !15
br label %41
38: ; preds = %16
%39 = tail call ptr @get_freepointer(ptr noundef %5, ptr noundef %20) #2
store ptr %39, ptr %19, align 8, !tbaa !11
%40 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %20, ptr %40, align 8, !tbaa !15
br label %41
41: ; preds = %34, %38
%42 = phi ptr [ %37, %34 ], [ %20, %38 ]
%43 = phi ptr [ %36, %34 ], [ %18, %38 ]
%44 = tail call i32 @maybe_wipe_obj_freeptr(ptr noundef %5, ptr noundef %42) #2
%45 = add nuw i64 %17, 1
%46 = icmp eq i64 %45, %2
br i1 %46, label %47, label %16, !llvm.loop !16
47: ; preds = %41
%48 = trunc nuw i64 %2 to i32
br label %49
49: ; preds = %47, %10
%50 = phi ptr [ %14, %10 ], [ %43, %47 ]
%51 = phi i32 [ 0, %10 ], [ %48, %47 ]
%52 = load i32, ptr %50, align 8, !tbaa !18
%53 = tail call i32 @next_tid(i32 noundef %52) #2
store i32 %53, ptr %50, align 8, !tbaa !18
%54 = tail call i32 @local_irq_enable() #2
%55 = tail call i32 @slab_want_init_on_alloc(i32 noundef %1, ptr noundef %5) #2
%56 = tail call i64 @unlikely(i32 noundef %55) #2
%57 = icmp ne i64 %56, 0
%58 = icmp ne i32 %51, 0
%59 = and i1 %57, %58
br i1 %59, label %60, label %70
60: ; preds = %49
%61 = zext i32 %51 to i64
br label %62
62: ; preds = %60, %62
%63 = phi i64 [ 0, %60 ], [ %68, %62 ]
%64 = getelementptr inbounds ptr, ptr %3, i64 %63
%65 = load ptr, ptr %64, align 8, !tbaa !15
%66 = load i32, ptr %5, align 4, !tbaa !19
%67 = tail call i32 @memset(ptr noundef %65, i32 noundef 0, i32 noundef %66) #2
%68 = add nuw nsw i64 %63, 1
%69 = icmp eq i64 %68, %61
br i1 %69, label %70, label %62, !llvm.loop !20
70: ; preds = %62, %49
%71 = trunc i64 %2 to i32
%72 = tail call i32 @slab_post_alloc_hook(ptr noundef %5, i32 noundef %1, i32 noundef %71, ptr noundef %3) #2
br label %78
73: ; preds = %25
%74 = trunc nuw nsw i64 %17 to i32
%75 = tail call i32 @local_irq_enable() #2
%76 = tail call i32 @slab_post_alloc_hook(ptr noundef %5, i32 noundef %1, i32 noundef %74, ptr noundef nonnull %3) #2
%77 = tail call i32 @__kmem_cache_free_bulk(ptr noundef %5, i32 noundef %74, ptr noundef nonnull %3) #2
br label %78
78: ; preds = %4, %73, %70
%79 = phi i32 [ 0, %73 ], [ %51, %70 ], [ 0, %4 ]
ret i32 %79
}
declare ptr @slab_pre_alloc_hook(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_disable(...) local_unnamed_addr #1
declare ptr @this_cpu_ptr(i32 noundef) local_unnamed_addr #1
declare ptr @___slab_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @maybe_wipe_obj_freeptr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @get_freepointer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @next_tid(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i32 @slab_want_init_on_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @slab_post_alloc_hook(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__kmem_cache_free_bulk(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 4}
!7 = !{!"kmem_cache", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"kmem_cache_cpu", !8, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!12, !8, i64 0}
!19 = !{!7, !8, i64 0}
!20 = distinct !{!20, !17}
| linux_mm_extr_slub.c_kmem_cache_alloc_bulk |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_acpi.c_ml_recent_wake.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_acpi.c_ml_recent_wake.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@acpi_wake_postrebase_abstime = dso_local local_unnamed_addr global i64 0, align 8
@NSEC_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ml_recent_wake() local_unnamed_addr #0 {
%1 = tail call i64 (...) @mach_absolute_time() #2
%2 = load i64, ptr @acpi_wake_postrebase_abstime, align 8, !tbaa !5
%3 = icmp sgt i64 %1, %2
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i64, ptr @acpi_wake_postrebase_abstime, align 8, !tbaa !5
%7 = sub nsw i64 %1, %6
%8 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !9
%9 = mul nsw i32 %8, 5
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %7, %10
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @mach_absolute_time(...) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_acpi.c_ml_recent_wake.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_acpi.c_ml_recent_wake.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@acpi_wake_postrebase_abstime = common local_unnamed_addr global i64 0, align 8
@NSEC_PER_SEC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @ml_recent_wake() local_unnamed_addr #0 {
%1 = tail call i64 @mach_absolute_time() #2
%2 = load i64, ptr @acpi_wake_postrebase_abstime, align 8, !tbaa !6
%3 = icmp sgt i64 %1, %2
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i64, ptr @acpi_wake_postrebase_abstime, align 8, !tbaa !6
%7 = sub nsw i64 %1, %6
%8 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !10
%9 = mul nsw i32 %8, 5
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %7, %10
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @mach_absolute_time(...) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| darwin-xnu_osfmk_i386_extr_acpi.c_ml_recent_wake |
; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm.c_snd_pcm_detach_substream.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm.c_snd_pcm_detach_substream.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, ptr }
%struct.snd_pcm_runtime = type { %struct.TYPE_4__, i32, i32, ptr }
%struct.TYPE_4__ = type { ptr }
; Function Attrs: nounwind uwtable
define dso_local void @snd_pcm_detach_substream(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %41
4: ; preds = %1
%5 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %6, i64 0, i32 3
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = tail call i32 %8(ptr noundef nonnull %6) #2
br label %12
12: ; preds = %10, %4
%13 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %6, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
%16 = tail call i32 @free_pages_exact(i32 noundef %14, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %6, i64 0, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !15
%19 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
%20 = tail call i32 @free_pages_exact(i32 noundef %18, i32 noundef %19) #2
%21 = load ptr, ptr %6, align 8, !tbaa !16
%22 = tail call i32 @kfree(ptr noundef %21) #2
%23 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !17
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %12
store ptr null, ptr %5, align 8, !tbaa !5
br label %33
27: ; preds = %12
%28 = tail call i32 @spin_lock_irq(ptr noundef nonnull %24) #2
%29 = load ptr, ptr %23, align 8, !tbaa !17
store ptr null, ptr %5, align 8, !tbaa !5
%30 = icmp eq ptr %29, null
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %29) #2
br label %33
33: ; preds = %26, %31, %27
%34 = tail call i32 @kfree(ptr noundef nonnull %6) #2
%35 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1
%36 = load ptr, ptr %35, align 8, !tbaa !18
%37 = tail call i32 @put_pid(ptr noundef %36) #2
store ptr null, ptr %35, align 8, !tbaa !18
%38 = load ptr, ptr %0, align 8, !tbaa !19
%39 = load i32, ptr %38, align 4, !tbaa !20
%40 = add nsw i32 %39, -1
store i32 %40, ptr %38, align 4, !tbaa !20
br label %41
41: ; preds = %1, %33
ret void
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i32 @free_pages_exact(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @put_pid(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"snd_pcm_substream", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"snd_pcm_runtime", !12, i64 0, !13, i64 8, !13, i64 12, !7, i64 16}
!12 = !{!"TYPE_4__", !7, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 12}
!15 = !{!11, !13, i64 8}
!16 = !{!11, !7, i64 0}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !7, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_6__", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm.c_snd_pcm_detach_substream.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm.c_snd_pcm_detach_substream.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 @snd_pcm_detach_substream(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %41
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = tail call i32 %8(ptr noundef nonnull %6) #2
br label %12
12: ; preds = %10, %4
%13 = getelementptr inbounds i8, ptr %6, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
%16 = tail call i32 @free_pages_exact(i32 noundef %14, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %6, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !16
%19 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
%20 = tail call i32 @free_pages_exact(i32 noundef %18, i32 noundef %19) #2
%21 = load ptr, ptr %6, align 8, !tbaa !17
%22 = tail call i32 @kfree(ptr noundef %21) #2
%23 = getelementptr inbounds i8, ptr %0, i64 16
%24 = load ptr, ptr %23, align 8, !tbaa !18
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %12
store ptr null, ptr %5, align 8, !tbaa !6
br label %33
27: ; preds = %12
%28 = tail call i32 @spin_lock_irq(ptr noundef nonnull %24) #2
%29 = load ptr, ptr %23, align 8, !tbaa !18
store ptr null, ptr %5, align 8, !tbaa !6
%30 = icmp eq ptr %29, null
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %29) #2
br label %33
33: ; preds = %26, %31, %27
%34 = tail call i32 @kfree(ptr noundef nonnull %6) #2
%35 = getelementptr inbounds i8, ptr %0, i64 8
%36 = load ptr, ptr %35, align 8, !tbaa !19
%37 = tail call i32 @put_pid(ptr noundef %36) #2
store ptr null, ptr %35, align 8, !tbaa !19
%38 = load ptr, ptr %0, align 8, !tbaa !20
%39 = load i32, ptr %38, align 4, !tbaa !21
%40 = add nsw i32 %39, -1
store i32 %40, ptr %38, align 4, !tbaa !21
br label %41
41: ; preds = %1, %33
ret void
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i32 @free_pages_exact(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @put_pid(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"snd_pcm_substream", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"snd_pcm_runtime", !13, i64 0, !14, i64 8, !14, i64 12, !8, i64 16}
!13 = !{!"TYPE_4__", !8, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !14, i64 12}
!16 = !{!12, !14, i64 8}
!17 = !{!12, !8, i64 0}
!18 = !{!7, !8, i64 16}
!19 = !{!7, !8, i64 8}
!20 = !{!7, !8, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"TYPE_6__", !14, i64 0}
| linux_sound_core_extr_pcm.c_snd_pcm_detach_substream |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparcnbsd-tdep.c_sparc32nbsd_supply_fpregset.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparcnbsd-tdep.c_sparc32nbsd_supply_fpregset.c"
target datalayout = "e-m:e-p270:32:32-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 @sparc32nbsd_supply_fpregset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sparc32nbsd_supply_fpregset(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 %4) #0 {
%6 = tail call i32 @sparc32_supply_fpregset(ptr noundef %1, i32 noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @sparc32_supply_fpregset(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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_sparcnbsd-tdep.c_sparc32nbsd_supply_fpregset.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_sparcnbsd-tdep.c_sparc32nbsd_supply_fpregset.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 @sparc32nbsd_supply_fpregset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sparc32nbsd_supply_fpregset(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 %4) #0 {
%6 = tail call i32 @sparc32_supply_fpregset(ptr noundef %1, i32 noundef %2, ptr noundef %3) #2
ret void
}
declare i32 @sparc32_supply_fpregset(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)"}
| freebsd_contrib_gdb_gdb_extr_sparcnbsd-tdep.c_sparc32nbsd_supply_fpregset |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_crtc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_crtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OTG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@OTG_DISABLE_POINT_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@OTG_MASTER_EN = dso_local local_unnamed_addr global i32 0, align 4
@CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@VTG0_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@OTG_CLOCK_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@OTG_BUSY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @optc1_disable_crtc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @DCN10TG_FROM_TG(ptr noundef %0) #2
%3 = load i32, ptr @OTG_CONTROL, align 4, !tbaa !5
%4 = load i32, ptr @OTG_DISABLE_POINT_CNTL, align 4, !tbaa !5
%5 = load i32, ptr @OTG_MASTER_EN, align 4, !tbaa !5
%6 = tail call i32 @REG_UPDATE_2(i32 noundef %3, i32 noundef %4, i32 noundef 3, i32 noundef %5, i32 noundef 0) #2
%7 = load i32, ptr @CONTROL, align 4, !tbaa !5
%8 = load i32, ptr @VTG0_ENABLE, align 4, !tbaa !5
%9 = tail call i32 @REG_UPDATE(i32 noundef %7, i32 noundef %8, i32 noundef 0) #2
%10 = load i32, ptr @OTG_CLOCK_CONTROL, align 4, !tbaa !5
%11 = load i32, ptr @OTG_BUSY, align 4, !tbaa !5
%12 = tail call i32 @REG_WAIT(i32 noundef %10, i32 noundef %11, i32 noundef 0, i32 noundef 1, i32 noundef 100000) #2
ret i32 1
}
declare ptr @DCN10TG_FROM_TG(ptr noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_WAIT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_crtc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_crtc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OTG_CONTROL = common local_unnamed_addr global i32 0, align 4
@OTG_DISABLE_POINT_CNTL = common local_unnamed_addr global i32 0, align 4
@OTG_MASTER_EN = common local_unnamed_addr global i32 0, align 4
@CONTROL = common local_unnamed_addr global i32 0, align 4
@VTG0_ENABLE = common local_unnamed_addr global i32 0, align 4
@OTG_CLOCK_CONTROL = common local_unnamed_addr global i32 0, align 4
@OTG_BUSY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @optc1_disable_crtc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @DCN10TG_FROM_TG(ptr noundef %0) #2
%3 = load i32, ptr @OTG_CONTROL, align 4, !tbaa !6
%4 = load i32, ptr @OTG_DISABLE_POINT_CNTL, align 4, !tbaa !6
%5 = load i32, ptr @OTG_MASTER_EN, align 4, !tbaa !6
%6 = tail call i32 @REG_UPDATE_2(i32 noundef %3, i32 noundef %4, i32 noundef 3, i32 noundef %5, i32 noundef 0) #2
%7 = load i32, ptr @CONTROL, align 4, !tbaa !6
%8 = load i32, ptr @VTG0_ENABLE, align 4, !tbaa !6
%9 = tail call i32 @REG_UPDATE(i32 noundef %7, i32 noundef %8, i32 noundef 0) #2
%10 = load i32, ptr @OTG_CLOCK_CONTROL, align 4, !tbaa !6
%11 = load i32, ptr @OTG_BUSY, align 4, !tbaa !6
%12 = tail call i32 @REG_WAIT(i32 noundef %10, i32 noundef %11, i32 noundef 0, i32 noundef 1, i32 noundef 100000) #2
ret i32 1
}
declare ptr @DCN10TG_FROM_TG(ptr noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_WAIT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_amd_display_dc_dcn10_extr_dcn10_optc.c_optc1_disable_crtc |
; ModuleID = 'AnghaBench/libevent/test/extr_regress_zlib.c_zlib_input_filter.c'
source_filename = "AnghaBench/libevent/test/extr_regress_zlib.c_zlib_input_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.evbuffer_iovec = type { i32, i64 }
%struct.TYPE_3__ = type { i32, ptr, ptr, i32 }
@Z_BUF_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@BEV_NEED_MORE = dso_local local_unnamed_addr global i32 0, align 4
@Z_OK = dso_local local_unnamed_addr global i32 0, align 4
@Z_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4
@infilter_calls = dso_local local_unnamed_addr global i32 0, align 4
@BEV_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @zlib_input_filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @zlib_input_filter(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca [1 x %struct.evbuffer_iovec], align 16
%7 = alloca [1 x %struct.evbuffer_iovec], align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%8 = getelementptr inbounds %struct.evbuffer_iovec, ptr %6, i64 0, i32 1
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
%10 = getelementptr inbounds %struct.evbuffer_iovec, ptr %7, i64 0, i32 1
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 2
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 3
br label %13
13: ; preds = %49, %5
%14 = call i32 @evbuffer_peek(ptr noundef %0, i32 noundef -1, ptr noundef null, ptr noundef nonnull %6, i32 noundef 1) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %13
%17 = load i32, ptr %6, align 16, !tbaa !5
store i32 %17, ptr %4, align 8, !tbaa !11
%18 = load i64, ptr %8, align 8, !tbaa !14
%19 = inttoptr i64 %18 to ptr
br label %21
20: ; preds = %13
store i32 0, ptr %4, align 8, !tbaa !11
br label %21
21: ; preds = %20, %16
%22 = phi ptr [ %19, %16 ], [ null, %20 ]
store ptr %22, ptr %9, align 8, !tbaa !15
%23 = call i32 @evbuffer_reserve_space(ptr noundef %1, i32 noundef 4096, ptr noundef nonnull %7, i32 noundef 1) #3
%24 = load i64, ptr %10, align 8, !tbaa !14
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %11, align 8, !tbaa !16
%26 = load i32, ptr %7, align 16, !tbaa !5
store i32 %26, ptr %12, align 8, !tbaa !17
%27 = call i32 @getstate(i32 noundef %3) #3
%28 = call i32 @inflate(ptr noundef nonnull %4, i32 noundef %27) #3
%29 = load i32, ptr %6, align 16, !tbaa !5
%30 = load i32, ptr %4, align 8, !tbaa !11
%31 = sub nsw i32 %29, %30
%32 = load i32, ptr %7, align 16, !tbaa !5
%33 = load i32, ptr %12, align 8, !tbaa !17
%34 = sub nsw i32 %32, %33
%35 = call i32 @evbuffer_drain(ptr noundef %0, i32 noundef %31) #3
store i32 %34, ptr %7, align 16, !tbaa !5
%36 = call i32 @evbuffer_commit_space(ptr noundef %1, ptr noundef nonnull %7, i32 noundef 1) #3
%37 = load i32, ptr @Z_BUF_ERROR, align 4, !tbaa !18
%38 = icmp eq i32 %28, %37
br i1 %38, label %39, label %41
39: ; preds = %21
%40 = icmp eq i32 %32, %33
br i1 %40, label %55, label %49
41: ; preds = %21
%42 = load i32, ptr @Z_OK, align 4, !tbaa !18
%43 = icmp eq i32 %28, %42
%44 = load i32, ptr @Z_STREAM_END, align 4
%45 = icmp eq i32 %28, %44
%46 = select i1 %43, i1 true, i1 %45
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47) #3
br label %49
49: ; preds = %41, %39
%50 = call i64 @evbuffer_get_length(ptr noundef %0) #3
%51 = icmp sgt i64 %50, 0
br i1 %51, label %13, label %52, !llvm.loop !19
52: ; preds = %49
%53 = load i32, ptr @infilter_calls, align 4, !tbaa !18
%54 = add nsw i32 %53, 1
store i32 %54, ptr @infilter_calls, align 4, !tbaa !18
br label %55
55: ; preds = %39, %52
%56 = phi ptr [ @BEV_OK, %52 ], [ @BEV_NEED_MORE, %39 ]
%57 = load i32, ptr %56, align 4, !tbaa !18
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @evbuffer_peek(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_reserve_space(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @inflate(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getstate(i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_drain(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_commit_space(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i64 @evbuffer_get_length(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 = !{!"evbuffer_iovec", !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 0}
!12 = !{!"TYPE_3__", !7, i64 0, !13, i64 8, !13, i64 16, !7, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 16}
!17 = !{!12, !7, i64 24}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/libevent/test/extr_regress_zlib.c_zlib_input_filter.c'
source_filename = "AnghaBench/libevent/test/extr_regress_zlib.c_zlib_input_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.evbuffer_iovec = type { i32, i64 }
@Z_BUF_ERROR = common local_unnamed_addr global i32 0, align 4
@BEV_NEED_MORE = common local_unnamed_addr global i32 0, align 4
@Z_OK = common local_unnamed_addr global i32 0, align 4
@Z_STREAM_END = common local_unnamed_addr global i32 0, align 4
@infilter_calls = common local_unnamed_addr global i32 0, align 4
@BEV_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @zlib_input_filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @zlib_input_filter(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca [1 x %struct.evbuffer_iovec], align 8
%7 = alloca [1 x %struct.evbuffer_iovec], align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
%8 = getelementptr inbounds i8, ptr %6, i64 8
%9 = getelementptr inbounds i8, ptr %4, i64 8
%10 = getelementptr inbounds i8, ptr %7, i64 8
%11 = getelementptr inbounds i8, ptr %4, i64 16
%12 = getelementptr inbounds i8, ptr %4, i64 24
br label %13
13: ; preds = %49, %5
%14 = call i32 @evbuffer_peek(ptr noundef %0, i32 noundef -1, ptr noundef null, ptr noundef nonnull %6, i32 noundef 1) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %13
%17 = load i32, ptr %6, align 8, !tbaa !6
store i32 %17, ptr %4, align 8, !tbaa !12
%18 = load i64, ptr %8, align 8, !tbaa !15
%19 = inttoptr i64 %18 to ptr
br label %21
20: ; preds = %13
store i32 0, ptr %4, align 8, !tbaa !12
br label %21
21: ; preds = %20, %16
%22 = phi ptr [ %19, %16 ], [ null, %20 ]
store ptr %22, ptr %9, align 8, !tbaa !16
%23 = call i32 @evbuffer_reserve_space(ptr noundef %1, i32 noundef 4096, ptr noundef nonnull %7, i32 noundef 1) #3
%24 = load i64, ptr %10, align 8, !tbaa !15
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %11, align 8, !tbaa !17
%26 = load i32, ptr %7, align 8, !tbaa !6
store i32 %26, ptr %12, align 8, !tbaa !18
%27 = call i32 @getstate(i32 noundef %3) #3
%28 = call i32 @inflate(ptr noundef nonnull %4, i32 noundef %27) #3
%29 = load i32, ptr %6, align 8, !tbaa !6
%30 = load i32, ptr %4, align 8, !tbaa !12
%31 = sub nsw i32 %29, %30
%32 = load i32, ptr %7, align 8, !tbaa !6
%33 = load i32, ptr %12, align 8, !tbaa !18
%34 = sub nsw i32 %32, %33
%35 = call i32 @evbuffer_drain(ptr noundef %0, i32 noundef %31) #3
store i32 %34, ptr %7, align 8, !tbaa !6
%36 = call i32 @evbuffer_commit_space(ptr noundef %1, ptr noundef nonnull %7, i32 noundef 1) #3
%37 = load i32, ptr @Z_BUF_ERROR, align 4, !tbaa !19
%38 = icmp eq i32 %28, %37
br i1 %38, label %39, label %41
39: ; preds = %21
%40 = icmp eq i32 %32, %33
br i1 %40, label %55, label %49
41: ; preds = %21
%42 = load i32, ptr @Z_OK, align 4, !tbaa !19
%43 = icmp eq i32 %28, %42
%44 = load i32, ptr @Z_STREAM_END, align 4
%45 = icmp eq i32 %28, %44
%46 = select i1 %43, i1 true, i1 %45
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 noundef %47) #3
br label %49
49: ; preds = %41, %39
%50 = call i64 @evbuffer_get_length(ptr noundef %0) #3
%51 = icmp sgt i64 %50, 0
br i1 %51, label %13, label %52, !llvm.loop !20
52: ; preds = %49
%53 = load i32, ptr @infilter_calls, align 4, !tbaa !19
%54 = add nsw i32 %53, 1
store i32 %54, ptr @infilter_calls, align 4, !tbaa !19
br label %55
55: ; preds = %39, %52
%56 = phi ptr [ @BEV_OK, %52 ], [ @BEV_NEED_MORE, %39 ]
%57 = load i32, ptr %56, align 4, !tbaa !19
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @evbuffer_peek(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_reserve_space(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @inflate(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getstate(i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_drain(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @evbuffer_commit_space(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i64 @evbuffer_get_length(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 = !{!"evbuffer_iovec", !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 0}
!13 = !{!"TYPE_3__", !8, i64 0, !14, i64 8, !14, i64 16, !8, i64 24}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!13, !14, i64 8}
!17 = !{!13, !14, i64 16}
!18 = !{!13, !8, i64 24}
!19 = !{!8, !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| libevent_test_extr_regress_zlib.c_zlib_input_filter |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/decnet/extr_sysctl_net_decnet.c_dn_unregister_sysctl.c'
source_filename = "AnghaBench/fastsocket/kernel/net/decnet/extr_sysctl_net_decnet.c_dn_unregister_sysctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @dn_unregister_sysctl() 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/fastsocket/kernel/net/decnet/extr_sysctl_net_decnet.c_dn_unregister_sysctl.c'
source_filename = "AnghaBench/fastsocket/kernel/net/decnet/extr_sysctl_net_decnet.c_dn_unregister_sysctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @dn_unregister_sysctl() 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)"}
| fastsocket_kernel_net_decnet_extr_sysctl_net_decnet.c_dn_unregister_sysctl |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_rateest.c_xt_rateest_mt_checkentry.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_rateest.c_xt_rateest_mt_checkentry.c"
target datalayout = "e-m:e-p270:32:32-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.xt_rateest_match_info = type { i32, i32, ptr, ptr, i32, i32 }
@XT_RATEEST_MATCH_ABS = dso_local local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_REL = dso_local local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_BPS = dso_local local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_PPS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xt_rateest_mt_checkentry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @xt_rateest_mt_checkentry(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 8, !tbaa !10
%4 = load i32, ptr @XT_RATEEST_MATCH_ABS, align 4, !tbaa !13
%5 = load i32, ptr @XT_RATEEST_MATCH_REL, align 4, !tbaa !13
%6 = or i32 %5, %4
%7 = and i32 %6, %3
%8 = tail call i32 @hweight32(i32 noundef %7) #2
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %43
10: ; preds = %1
%11 = load i32, ptr %2, align 8, !tbaa !10
%12 = load i32, ptr @XT_RATEEST_MATCH_BPS, align 4, !tbaa !13
%13 = load i32, ptr @XT_RATEEST_MATCH_PPS, align 4, !tbaa !13
%14 = or i32 %13, %12
%15 = and i32 %14, %11
%16 = icmp eq i32 %15, 0
br i1 %16, label %43, label %17
17: ; preds = %10
%18 = getelementptr inbounds %struct.xt_rateest_match_info, ptr %2, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = add i32 %19, -128
%21 = icmp ult i32 %20, 3
br i1 %21, label %22, label %43
22: ; preds = %17
%23 = getelementptr inbounds %struct.xt_rateest_match_info, ptr %2, i64 0, i32 5
%24 = load i32, ptr %23, align 4, !tbaa !15
%25 = tail call ptr @xt_rateest_lookup(i32 noundef %24) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %43, label %27
27: ; preds = %22
%28 = load i32, ptr %2, align 8, !tbaa !10
%29 = load i32, ptr @XT_RATEEST_MATCH_REL, align 4, !tbaa !13
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = getelementptr inbounds %struct.xt_rateest_match_info, ptr %2, i64 0, i32 4
%34 = load i32, ptr %33, align 8, !tbaa !16
%35 = tail call ptr @xt_rateest_lookup(i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %41, label %37
37: ; preds = %27, %32
%38 = phi ptr [ %35, %32 ], [ null, %27 ]
%39 = getelementptr inbounds %struct.xt_rateest_match_info, ptr %2, i64 0, i32 3
store ptr %25, ptr %39, align 8, !tbaa !17
%40 = getelementptr inbounds %struct.xt_rateest_match_info, ptr %2, i64 0, i32 2
store ptr %38, ptr %40, align 8, !tbaa !18
br label %43
41: ; preds = %32
%42 = tail call i32 @xt_rateest_put(ptr noundef nonnull %25) #2
br label %43
43: ; preds = %41, %1, %10, %22, %17, %37
%44 = phi i32 [ 1, %37 ], [ 0, %17 ], [ 0, %22 ], [ 0, %10 ], [ 0, %1 ], [ 0, %41 ]
ret i32 %44
}
declare i32 @hweight32(i32 noundef) local_unnamed_addr #1
declare ptr @xt_rateest_lookup(i32 noundef) local_unnamed_addr #1
declare i32 @xt_rateest_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"xt_mtchk_param", !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 = !{!"xt_rateest_match_info", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 16, !12, i64 24, !12, i64 28}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 4}
!15 = !{!11, !12, i64 28}
!16 = !{!11, !12, i64 24}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_rateest.c_xt_rateest_mt_checkentry.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_xt_rateest.c_xt_rateest_mt_checkentry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XT_RATEEST_MATCH_ABS = common local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_REL = common local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_BPS = common local_unnamed_addr global i32 0, align 4
@XT_RATEEST_MATCH_PPS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xt_rateest_mt_checkentry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @xt_rateest_mt_checkentry(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr @XT_RATEEST_MATCH_ABS, align 4, !tbaa !14
%5 = load i32, ptr @XT_RATEEST_MATCH_REL, align 4, !tbaa !14
%6 = or i32 %5, %4
%7 = and i32 %6, %3
%8 = tail call i32 @hweight32(i32 noundef %7) #2
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %43
10: ; preds = %1
%11 = load i32, ptr %2, align 8, !tbaa !11
%12 = load i32, ptr @XT_RATEEST_MATCH_BPS, align 4, !tbaa !14
%13 = load i32, ptr @XT_RATEEST_MATCH_PPS, align 4, !tbaa !14
%14 = or i32 %13, %12
%15 = and i32 %14, %11
%16 = icmp eq i32 %15, 0
br i1 %16, label %43, label %17
17: ; preds = %10
%18 = getelementptr inbounds i8, ptr %2, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = add i32 %19, -128
%21 = icmp ult i32 %20, 3
br i1 %21, label %22, label %43
22: ; preds = %17
%23 = getelementptr inbounds i8, ptr %2, i64 28
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = tail call ptr @xt_rateest_lookup(i32 noundef %24) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %43, label %27
27: ; preds = %22
%28 = load i32, ptr %2, align 8, !tbaa !11
%29 = load i32, ptr @XT_RATEEST_MATCH_REL, align 4, !tbaa !14
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = getelementptr inbounds i8, ptr %2, i64 24
%34 = load i32, ptr %33, align 8, !tbaa !17
%35 = tail call ptr @xt_rateest_lookup(i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %41, label %37
37: ; preds = %27, %32
%38 = phi ptr [ %35, %32 ], [ null, %27 ]
%39 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %25, ptr %39, align 8, !tbaa !18
%40 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %38, ptr %40, align 8, !tbaa !19
br label %43
41: ; preds = %32
%42 = tail call i32 @xt_rateest_put(ptr noundef nonnull %25) #2
br label %43
43: ; preds = %41, %1, %10, %22, %17, %37
%44 = phi i32 [ 1, %37 ], [ 0, %17 ], [ 0, %22 ], [ 0, %10 ], [ 0, %1 ], [ 0, %41 ]
ret i32 %44
}
declare i32 @hweight32(i32 noundef) local_unnamed_addr #1
declare ptr @xt_rateest_lookup(i32 noundef) local_unnamed_addr #1
declare i32 @xt_rateest_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"xt_mtchk_param", !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 = !{!"xt_rateest_match_info", !13, i64 0, !13, i64 4, !8, i64 8, !8, i64 16, !13, i64 24, !13, i64 28}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!12, !13, i64 28}
!17 = !{!12, !13, i64 24}
!18 = !{!12, !8, i64 16}
!19 = !{!12, !8, i64 8}
| fastsocket_kernel_net_netfilter_extr_xt_rateest.c_xt_rateest_mt_checkentry |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_asic3.c_asic3_leds_enable.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_asic3.c_asic3_leds_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@clock_ledn = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @asic3_leds_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @asic3_leds_enable(ptr noundef %0) #0 {
%2 = tail call ptr @mfd_get_cell(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @dev_get_drvdata(i32 noundef %3) #2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr @clock_ledn, align 8, !tbaa !14
%7 = load i64, ptr %2, align 8, !tbaa !15
%8 = getelementptr inbounds i64, ptr %6, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !18
%10 = getelementptr inbounds i32, ptr %5, i64 %9
%11 = tail call i32 @asic3_clk_enable(ptr noundef nonnull %4, ptr noundef %10) #2
ret i32 0
}
declare ptr @mfd_get_cell(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @asic3_clk_enable(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, !8, i64 0}
!6 = !{!"platform_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"asic3", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"mfd_cell", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!17, !17, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_asic3.c_asic3_leds_enable.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_asic3.c_asic3_leds_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@clock_ledn = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @asic3_leds_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @asic3_leds_enable(ptr noundef %0) #0 {
%2 = tail call ptr @mfd_get_cell(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @dev_get_drvdata(i32 noundef %3) #2
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load ptr, ptr @clock_ledn, align 8, !tbaa !15
%7 = load i64, ptr %2, align 8, !tbaa !16
%8 = getelementptr inbounds i64, ptr %6, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !19
%10 = getelementptr inbounds i32, ptr %5, i64 %9
%11 = tail call i32 @asic3_clk_enable(ptr noundef nonnull %4, ptr noundef %10) #2
ret i32 0
}
declare ptr @mfd_get_cell(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @asic3_clk_enable(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, !9, i64 0}
!7 = !{!"platform_device", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"asic3", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"mfd_cell", !18, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!18, !18, i64 0}
| linux_drivers_mfd_extr_asic3.c_asic3_leds_enable |
; ModuleID = 'AnghaBench/netdata/libnetdata/url/extr_..inlined.h_simple_hash_strcmp.c'
source_filename = "AnghaBench/netdata/libnetdata/url/extr_..inlined.h_simple_hash_strcmp.c"
target datalayout = "e-m:e-p270:32:32-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 @simple_hash_strcmp], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @simple_hash_strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %27, label %6
6: ; preds = %3, %19
%7 = phi i8 [ %25, %19 ], [ %4, %3 ]
%8 = phi i32 [ %21, %19 ], [ 0, %3 ]
%9 = phi i32 [ %24, %19 ], [ -2128831035, %3 ]
%10 = phi ptr [ %23, %19 ], [ %0, %3 ]
%11 = phi ptr [ %20, %19 ], [ %1, %3 ]
%12 = icmp eq i32 %8, 0
%13 = zext i8 %7 to i32
br i1 %12, label %14, label %19
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %11, i64 1
%16 = load i8, ptr %11, align 1, !tbaa !5
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %13, %17
br label %19
19: ; preds = %6, %14
%20 = phi ptr [ %15, %14 ], [ %11, %6 ]
%21 = phi i32 [ %18, %14 ], [ %8, %6 ]
%22 = mul nsw i32 %9, 16777619
%23 = getelementptr inbounds i8, ptr %10, i64 1
%24 = xor i32 %22, %13
%25 = load i8, ptr %23, align 1, !tbaa !5
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %6, !llvm.loop !8
27: ; preds = %19, %3
%28 = phi i32 [ -2128831035, %3 ], [ %24, %19 ]
%29 = phi i32 [ 0, %3 ], [ %21, %19 ]
store i32 %28, ptr %2, align 4, !tbaa !10
ret i32 %29
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/netdata/libnetdata/url/extr_..inlined.h_simple_hash_strcmp.c'
source_filename = "AnghaBench/netdata/libnetdata/url/extr_..inlined.h_simple_hash_strcmp.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 @simple_hash_strcmp], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -126, 384) i32 @simple_hash_strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %27, label %6
6: ; preds = %3, %19
%7 = phi i8 [ %25, %19 ], [ %4, %3 ]
%8 = phi i32 [ %21, %19 ], [ 0, %3 ]
%9 = phi i32 [ %24, %19 ], [ -2128831035, %3 ]
%10 = phi ptr [ %23, %19 ], [ %0, %3 ]
%11 = phi ptr [ %20, %19 ], [ %1, %3 ]
%12 = icmp eq i32 %8, 0
%13 = zext i8 %7 to i32
br i1 %12, label %14, label %19
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %11, i64 1
%16 = load i8, ptr %11, align 1, !tbaa !6
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %13, %17
br label %19
19: ; preds = %6, %14
%20 = phi ptr [ %15, %14 ], [ %11, %6 ]
%21 = phi i32 [ %18, %14 ], [ %8, %6 ]
%22 = mul nsw i32 %9, 16777619
%23 = getelementptr inbounds i8, ptr %10, i64 1
%24 = xor i32 %22, %13
%25 = load i8, ptr %23, align 1, !tbaa !6
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %6, !llvm.loop !9
27: ; preds = %19, %3
%28 = phi i32 [ -2128831035, %3 ], [ %24, %19 ]
%29 = phi i32 [ 0, %3 ], [ %21, %19 ]
store i32 %28, ptr %2, align 4, !tbaa !11
ret i32 %29
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| netdata_libnetdata_url_extr_..inlined.h_simple_hash_strcmp |
; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_cell_release.c'
source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_cell_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 @devm_nvmem_cell_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @devm_nvmem_cell_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = tail call i32 @nvmem_cell_put(ptr noundef %3) #2
ret void
}
declare i32 @nvmem_cell_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_cell_release.c'
source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_cell_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 @devm_nvmem_cell_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @devm_nvmem_cell_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = tail call i32 @nvmem_cell_put(ptr noundef %3) #2
ret void
}
declare i32 @nvmem_cell_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_nvmem_extr_core.c_devm_nvmem_cell_release |
; ModuleID = 'AnghaBench/systemd/src/run/extr_run.c_transient_scope_set_properties.c'
source_filename = "AnghaBench/systemd/src/run/extr_run.c_transient_scope_set_properties.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UNIT_SCOPE = dso_local local_unnamed_addr global i32 0, align 4
@arg_property = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"(sv)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"PIDs\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"au\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @transient_scope_set_properties], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @transient_scope_set_properties(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i32, ptr @UNIT_SCOPE, align 4, !tbaa !5
%4 = load i32, ptr @arg_property, align 4, !tbaa !5
%5 = tail call i32 @transient_unit_set_properties(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %20, label %7
7: ; preds = %1
%8 = tail call i32 @transient_kill_set_properties(ptr noundef %0) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %7
%11 = tail call i32 @transient_cgroup_set_properties(ptr noundef %0) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %10
%14 = tail call i64 (...) @getpid_cached() #2
%15 = trunc i64 %14 to i32
%16 = tail call i32 @sd_bus_message_append(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 1, i32 noundef %15) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @bus_log_create_error(i32 noundef %16) #2
br label %20
20: ; preds = %13, %10, %7, %1, %18
%21 = phi i32 [ %19, %18 ], [ %5, %1 ], [ %8, %7 ], [ %11, %10 ], [ 0, %13 ]
ret i32 %21
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @transient_unit_set_properties(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transient_kill_set_properties(ptr noundef) local_unnamed_addr #1
declare i32 @transient_cgroup_set_properties(ptr noundef) local_unnamed_addr #1
declare i32 @sd_bus_message_append(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @getpid_cached(...) local_unnamed_addr #1
declare i32 @bus_log_create_error(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/systemd/src/run/extr_run.c_transient_scope_set_properties.c'
source_filename = "AnghaBench/systemd/src/run/extr_run.c_transient_scope_set_properties.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNIT_SCOPE = common local_unnamed_addr global i32 0, align 4
@arg_property = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"(sv)\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"PIDs\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"au\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @transient_scope_set_properties], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @transient_scope_set_properties(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i32, ptr @UNIT_SCOPE, align 4, !tbaa !6
%4 = load i32, ptr @arg_property, align 4, !tbaa !6
%5 = tail call i32 @transient_unit_set_properties(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %20, label %7
7: ; preds = %1
%8 = tail call i32 @transient_kill_set_properties(ptr noundef %0) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %7
%11 = tail call i32 @transient_cgroup_set_properties(ptr noundef %0) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %10
%14 = tail call i64 @getpid_cached() #2
%15 = trunc i64 %14 to i32
%16 = tail call i32 @sd_bus_message_append(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 1, i32 noundef %15) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @bus_log_create_error(i32 noundef %16) #2
br label %20
20: ; preds = %13, %10, %7, %1, %18
%21 = phi i32 [ %19, %18 ], [ %5, %1 ], [ %8, %7 ], [ %11, %10 ], [ 0, %13 ]
ret i32 %21
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @transient_unit_set_properties(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @transient_kill_set_properties(ptr noundef) local_unnamed_addr #1
declare i32 @transient_cgroup_set_properties(ptr noundef) local_unnamed_addr #1
declare i32 @sd_bus_message_append(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @getpid_cached(...) local_unnamed_addr #1
declare i32 @bus_log_create_error(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"}
| systemd_src_run_extr_run.c_transient_scope_set_properties |
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_finalizeDictionary.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_finalizeDictionary.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32 }
@g_compressionLevel_default = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"ZDICT_finalizeDictionary\00", align 1
@dstSize_tooSmall = dso_local local_unnamed_addr global i32 0, align 4
@ZDICT_CONTENTSIZE_MIN = dso_local local_unnamed_addr global i64 0, align 8
@srcSize_wrong = dso_local local_unnamed_addr global i32 0, align 4
@ZDICT_DICTSIZE_MIN = dso_local local_unnamed_addr global i64 0, align 8
@ZSTD_MAGIC_DICTIONARY = dso_local local_unnamed_addr constant i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"\0D%70s\0D\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"statistics ... \0A\00", align 1
@HBUFFSIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @ZDICT_finalizeDictionary(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr nocapture noundef readonly byval(%struct.TYPE_3__) align 8 %7) local_unnamed_addr #0 {
%9 = alloca [256 x i32], align 16
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #3
%10 = load i32, ptr %7, align 8
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr @g_compressionLevel_default, align 4
%13 = select i1 %11, i32 %12, i32 %10
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = tail call i32 @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str) #3
%17 = icmp ult i64 %1, %3
br i1 %17, label %18, label %21
18: ; preds = %8
%19 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !10
%20 = tail call i64 @ERROR(i32 noundef %19) #3
br label %60
21: ; preds = %8
%22 = load i64, ptr @ZDICT_CONTENTSIZE_MIN, align 8, !tbaa !11
%23 = icmp ugt i64 %22, %3
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr @srcSize_wrong, align 4, !tbaa !10
%26 = tail call i64 @ERROR(i32 noundef %25) #3
br label %60
27: ; preds = %21
%28 = load i64, ptr @ZDICT_DICTSIZE_MIN, align 8, !tbaa !11
%29 = icmp ugt i64 %28, %1
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !10
%32 = tail call i64 @ERROR(i32 noundef %31) #3
br label %60
33: ; preds = %27
%34 = call i32 @MEM_writeLE32(ptr noundef nonnull %9, i32 noundef 0) #3
%35 = call i32 @XXH64(ptr noundef %2, i64 noundef %3, i32 noundef 0) #3
%36 = urem i32 %35, 2147450880
%37 = add nuw nsw i32 %36, 32768
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 2
%39 = load i32, ptr %38, align 8
%40 = icmp eq i32 %39, 0
%41 = select i1 %40, i32 %37, i32 %39
%42 = getelementptr inbounds i32, ptr %9, i64 4
%43 = call i32 @MEM_writeLE32(ptr noundef nonnull %42, i32 noundef %41) #3
%44 = call i32 (i32, ptr, ...) @DISPLAYLEVEL(i32 noundef 2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3
%45 = call i32 (i32, ptr, ...) @DISPLAYLEVEL(i32 noundef 2, ptr noundef nonnull @.str.3) #3
%46 = getelementptr inbounds i32, ptr %9, i64 8
%47 = call i64 @ZDICT_analyzeEntropy(ptr noundef nonnull %46, i32 noundef 248, i32 noundef %13, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %2, i64 noundef %3, i32 noundef %15) #3
%48 = call i64 @ZDICT_isError(i64 noundef %47) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %33
%51 = add i64 %47, 8
%52 = add i64 %51, %3
%53 = icmp ugt i64 %52, %1
%54 = sub i64 %1, %51
%55 = select i1 %53, i64 %54, i64 %3
%56 = add i64 %55, %51
%57 = getelementptr inbounds i8, ptr %0, i64 %51
%58 = call i32 @memmove(ptr noundef %57, ptr noundef %2, i64 noundef %55) #3
%59 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %9, i64 noundef %51) #3
br label %60
60: ; preds = %33, %50, %30, %24, %18
%61 = phi i64 [ %20, %18 ], [ %26, %24 ], [ %32, %30 ], [ %56, %50 ], [ %47, %33 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #3
ret i64 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DEBUGLOG(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @MEM_writeLE32(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @XXH64(ptr noundef, i64 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
declare i32 @DISPLAYLEVEL(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @ZDICT_analyzeEntropy(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZDICT_isError(i64 noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_finalizeDictionary.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_finalizeDictionary.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_compressionLevel_default = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"ZDICT_finalizeDictionary\00", align 1
@dstSize_tooSmall = common local_unnamed_addr global i32 0, align 4
@ZDICT_CONTENTSIZE_MIN = common local_unnamed_addr global i64 0, align 8
@srcSize_wrong = common local_unnamed_addr global i32 0, align 4
@ZDICT_DICTSIZE_MIN = common local_unnamed_addr global i64 0, align 8
@ZSTD_MAGIC_DICTIONARY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"\0D%70s\0D\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"statistics ... \0A\00", align 1
@HBUFFSIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ZDICT_finalizeDictionary(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, [2 x i64] %7) local_unnamed_addr #0 {
%9 = alloca [256 x i32], align 4
%10 = extractvalue [2 x i64] %7, 0
%11 = extractvalue [2 x i64] %7, 1
%12 = trunc i64 %10 to i32
%13 = lshr i64 %10, 32
%14 = trunc nuw i64 %13 to i32
%15 = trunc i64 %11 to i32
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #3
%16 = icmp eq i32 %12, 0
%17 = load i32, ptr @g_compressionLevel_default, align 4
%18 = select i1 %16, i32 %17, i32 %12
%19 = tail call i32 @DEBUGLOG(i32 noundef 4, ptr noundef nonnull @.str) #3
%20 = icmp ult i64 %1, %3
br i1 %20, label %21, label %24
21: ; preds = %8
%22 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%23 = tail call i64 @ERROR(i32 noundef %22) #3
br label %62
24: ; preds = %8
%25 = load i64, ptr @ZDICT_CONTENTSIZE_MIN, align 8, !tbaa !10
%26 = icmp ugt i64 %25, %3
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr @srcSize_wrong, align 4, !tbaa !6
%29 = tail call i64 @ERROR(i32 noundef %28) #3
br label %62
30: ; preds = %24
%31 = load i64, ptr @ZDICT_DICTSIZE_MIN, align 8, !tbaa !10
%32 = icmp ugt i64 %31, %1
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%35 = tail call i64 @ERROR(i32 noundef %34) #3
br label %62
36: ; preds = %30
%37 = load i32, ptr @ZSTD_MAGIC_DICTIONARY, align 4, !tbaa !6
%38 = call i32 @MEM_writeLE32(ptr noundef nonnull %9, i32 noundef %37) #3
%39 = call i32 @XXH64(ptr noundef %2, i64 noundef %3, i32 noundef 0) #3
%40 = urem i32 %39, 2147450880
%41 = add nuw nsw i32 %40, 32768
%42 = icmp eq i32 %15, 0
%43 = select i1 %42, i32 %41, i32 %15
%44 = getelementptr inbounds i8, ptr %9, i64 16
%45 = call i32 @MEM_writeLE32(ptr noundef nonnull %44, i32 noundef %43) #3
%46 = call i32 (i32, ptr, ...) @DISPLAYLEVEL(i32 noundef 2, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3
%47 = call i32 (i32, ptr, ...) @DISPLAYLEVEL(i32 noundef 2, ptr noundef nonnull @.str.3) #3
%48 = getelementptr inbounds i8, ptr %9, i64 32
%49 = call i64 @ZDICT_analyzeEntropy(ptr noundef nonnull %48, i32 noundef 248, i32 noundef %18, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %2, i64 noundef %3, i32 noundef %14) #3
%50 = call i64 @ZDICT_isError(i64 noundef %49) #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %62
52: ; preds = %36
%53 = add i64 %49, 8
%54 = add i64 %53, %3
%55 = icmp ugt i64 %54, %1
%56 = sub i64 %1, %53
%57 = select i1 %55, i64 %56, i64 %3
%58 = add i64 %57, %53
%59 = getelementptr inbounds i8, ptr %0, i64 %53
%60 = call i32 @memmove(ptr noundef %59, ptr noundef %2, i64 noundef %57) #3
%61 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %9, i64 noundef %53) #3
br label %62
62: ; preds = %36, %52, %33, %27, %21
%63 = phi i64 [ %23, %21 ], [ %29, %27 ], [ %35, %33 ], [ %58, %52 ], [ %49, %36 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #3
ret i64 %63
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DEBUGLOG(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @MEM_writeLE32(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @XXH64(ptr noundef, i64 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
declare i32 @DISPLAYLEVEL(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @ZDICT_analyzeEntropy(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ZDICT_isError(i64 noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| borg_src_borg_algorithms_zstd_lib_dictBuilder_extr_zdict.c_ZDICT_finalizeDictionary |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ipfilter/netinet/extr_ip_pptp_pxy.c_ipf_p_pptp_main_unload.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ipfilter/netinet/extr_ip_pptp_pxy.c_ipf_p_pptp_main_unload.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@pptp_proxy_init = dso_local local_unnamed_addr global i32 0, align 4
@pptpfr = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ipf_p_pptp_main_unload() local_unnamed_addr #0 {
%1 = load i32, ptr @pptp_proxy_init, align 4, !tbaa !5
%2 = icmp eq i32 %1, 1
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @MUTEX_DESTROY(ptr noundef nonnull @pptpfr) #2
store i32 0, ptr @pptp_proxy_init, align 4, !tbaa !5
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @MUTEX_DESTROY(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/freebsd/sys/contrib/ipfilter/netinet/extr_ip_pptp_pxy.c_ipf_p_pptp_main_unload.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ipfilter/netinet/extr_ip_pptp_pxy.c_ipf_p_pptp_main_unload.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 }
@pptp_proxy_init = common local_unnamed_addr global i32 0, align 4
@pptpfr = common global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ipf_p_pptp_main_unload() local_unnamed_addr #0 {
%1 = load i32, ptr @pptp_proxy_init, align 4, !tbaa !6
%2 = icmp eq i32 %1, 1
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @MUTEX_DESTROY(ptr noundef nonnull @pptpfr) #2
store i32 0, ptr @pptp_proxy_init, align 4, !tbaa !6
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @MUTEX_DESTROY(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"}
| freebsd_sys_contrib_ipfilter_netinet_extr_ip_pptp_pxy.c_ipf_p_pptp_main_unload |
; ModuleID = 'AnghaBench/git/t/t4256/1/extr_mailinfo.c_read_one_header_line.c'
source_filename = "AnghaBench/git/t/t4256/1/extr_mailinfo.c_read_one_header_line.c"
target datalayout = "e-m:e-p270:32:32-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.strbuf = type { ptr, i32 }
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@EOF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_one_header_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @read_one_header_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.strbuf, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !5
%4 = tail call i64 @strbuf_getline_lf(ptr noundef %0, ptr noundef %1) #5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %35
6: ; preds = %2
%7 = tail call i32 @strbuf_rtrim(ptr noundef %0) #5
%8 = getelementptr inbounds %struct.strbuf, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %18, label %11
11: ; preds = %6
%12 = tail call i32 @is_rfc2822_header(ptr noundef nonnull %0) #5
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = tail call i32 @fgetc(ptr noundef %1)
%16 = load i32, ptr @EOF, align 4, !tbaa !10
%17 = icmp eq i32 %15, %16
br i1 %17, label %33, label %20
18: ; preds = %11, %6
%19 = tail call i32 @strbuf_addch(ptr noundef nonnull %0, i8 noundef signext 10) #5
br label %35
20: ; preds = %14, %26
%21 = phi i32 [ %30, %26 ], [ %15, %14 ]
%22 = call i32 @ungetc(i32 noundef %21, ptr noundef %1)
switch i32 %21, label %33 [
i32 32, label %23
i32 9, label %23
]
23: ; preds = %20, %20
%24 = call i64 @strbuf_getline_lf(ptr noundef nonnull %3, ptr noundef %1) #5
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %33
26: ; preds = %23
%27 = load ptr, ptr %3, align 8, !tbaa !14
store i8 32, ptr %27, align 1, !tbaa !15
%28 = call i32 @strbuf_rtrim(ptr noundef nonnull %3) #5
%29 = call i32 @strbuf_addbuf(ptr noundef %0, ptr noundef nonnull %3) #5
%30 = call i32 @fgetc(ptr noundef %1)
%31 = load i32, ptr @EOF, align 4, !tbaa !10
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %20
33: ; preds = %23, %20, %26, %14
%34 = call i32 @strbuf_release(ptr noundef nonnull %3) #5
br label %35
35: ; preds = %2, %33, %18
%36 = phi i32 [ 1, %33 ], [ 0, %18 ], [ 0, %2 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; 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 i64 @strbuf_getline_lf(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_rtrim(ptr noundef) local_unnamed_addr #3
declare i32 @is_rfc2822_header(ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_addch(ptr noundef, i8 noundef signext) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #4
declare i32 @strbuf_addbuf(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 0, i64 8, !6, i64 8, i64 4, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"strbuf", !7, i64 0, !11, i64 8}
!14 = !{!13, !7, i64 0}
!15 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/git/t/t4256/1/extr_mailinfo.c_read_one_header_line.c'
source_filename = "AnghaBench/git/t/t4256/1/extr_mailinfo.c_read_one_header_line.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strbuf = type { ptr, i32 }
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@EOF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_one_header_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @read_one_header_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.strbuf, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !6
%4 = tail call i64 @strbuf_getline_lf(ptr noundef %0, ptr noundef %1) #5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %35
6: ; preds = %2
%7 = tail call i32 @strbuf_rtrim(ptr noundef %0) #5
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = icmp eq i32 %9, 0
br i1 %10, label %18, label %11
11: ; preds = %6
%12 = tail call i32 @is_rfc2822_header(ptr noundef nonnull %0) #5
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = tail call i32 @fgetc(ptr noundef %1)
%16 = load i32, ptr @EOF, align 4, !tbaa !11
%17 = icmp eq i32 %15, %16
br i1 %17, label %33, label %20
18: ; preds = %11, %6
%19 = tail call i32 @strbuf_addch(ptr noundef nonnull %0, i8 noundef signext 10) #5
br label %35
20: ; preds = %14, %26
%21 = phi i32 [ %30, %26 ], [ %15, %14 ]
%22 = call i32 @ungetc(i32 noundef %21, ptr noundef %1)
switch i32 %21, label %33 [
i32 32, label %23
i32 9, label %23
]
23: ; preds = %20, %20
%24 = call i64 @strbuf_getline_lf(ptr noundef nonnull %3, ptr noundef %1) #5
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %33
26: ; preds = %23
%27 = load ptr, ptr %3, align 8, !tbaa !15
store i8 32, ptr %27, align 1, !tbaa !16
%28 = call i32 @strbuf_rtrim(ptr noundef nonnull %3) #5
%29 = call i32 @strbuf_addbuf(ptr noundef %0, ptr noundef nonnull %3) #5
%30 = call i32 @fgetc(ptr noundef %1)
%31 = load i32, ptr @EOF, align 4, !tbaa !11
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %20
33: ; preds = %23, %20, %26, %14
%34 = call i32 @strbuf_release(ptr noundef nonnull %3) #5
br label %35
35: ; preds = %2, %33, %18
%36 = phi i32 [ 1, %33 ], [ 0, %18 ], [ 0, %2 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; 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 i64 @strbuf_getline_lf(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_rtrim(ptr noundef) local_unnamed_addr #3
declare i32 @is_rfc2822_header(ptr noundef) local_unnamed_addr #3
declare i32 @strbuf_addch(ptr noundef, i8 noundef signext) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #4
declare i32 @strbuf_addbuf(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{i64 0, i64 8, !7, i64 8, i64 4, !11}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"strbuf", !8, i64 0, !12, i64 8}
!15 = !{!14, !8, i64 0}
!16 = !{!9, !9, i64 0}
| git_t_t4256_1_extr_mailinfo.c_read_one_header_line |
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/admin/extr_purge.c_delete_list.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/admin/extr_purge.c_delete_list.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e = type { i32, ptr }
@context = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @delete_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @delete_list(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %12, label %3
3: ; preds = %1, %3
%4 = phi ptr [ %6, %3 ], [ %0, %1 ]
%5 = getelementptr inbounds %struct.e, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @context, align 4, !tbaa !11
%8 = load i32, ptr %4, align 8, !tbaa !12
%9 = tail call i32 @krb5_free_principal(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @free(ptr noundef nonnull %4) #2
%11 = icmp eq ptr %6, null
br i1 %11, label %12, label %3, !llvm.loop !13
12: ; preds = %3, %1
ret void
}
declare i32 @krb5_free_principal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"e", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/admin/extr_purge.c_delete_list.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/admin/extr_purge.c_delete_list.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@context = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @delete_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @delete_list(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %12, label %3
3: ; preds = %1, %3
%4 = phi ptr [ %6, %3 ], [ %0, %1 ]
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr @context, align 4, !tbaa !12
%8 = load i32, ptr %4, align 8, !tbaa !13
%9 = tail call i32 @krb5_free_principal(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @free(ptr noundef nonnull %4) #2
%11 = icmp eq ptr %6, null
br i1 %11, label %12, label %3, !llvm.loop !14
12: ; preds = %3, %1
ret void
}
declare i32 @krb5_free_principal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"e", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_crypto_heimdal_admin_extr_purge.c_delete_list |
; ModuleID = 'AnghaBench/freebsd/sys/geom/raid/extr_g_raid.c_g_raid_create_disk.c'
source_filename = "AnghaBench/freebsd/sys/geom/raid/extr_g_raid.c_g_raid_create_disk.c"
target datalayout = "e-m:e-p270:32:32-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.g_raid_disk = type { i32, i32, ptr }
@.str = private unnamed_addr constant [15 x i8] c"Creating disk.\00", align 1
@M_RAID = dso_local local_unnamed_addr global i32 0, align 4
@M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4
@M_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@G_RAID_DISK_S_NONE = dso_local local_unnamed_addr global i32 0, align 4
@d_next = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @g_raid_create_disk(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @G_RAID_DEBUG1(i32 noundef 1, ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr @M_RAID, align 4, !tbaa !5
%4 = load i32, ptr @M_WAITOK, align 4, !tbaa !5
%5 = load i32, ptr @M_ZERO, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = tail call ptr @malloc(i32 noundef 16, i32 noundef %3, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.g_raid_disk, ptr %7, i64 0, i32 2
store ptr %0, ptr %8, align 8, !tbaa !9
%9 = load i32, ptr @G_RAID_DISK_S_NONE, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.g_raid_disk, ptr %7, i64 0, i32 1
store i32 %9, ptr %10, align 4, !tbaa !12
%11 = tail call i32 @TAILQ_INIT(ptr noundef %7) #2
%12 = load i32, ptr @d_next, align 4, !tbaa !5
%13 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef %0, ptr noundef %7, i32 noundef %12) #2
ret ptr %7
}
declare i32 @G_RAID_DEBUG1(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"g_raid_disk", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/geom/raid/extr_g_raid.c_g_raid_create_disk.c'
source_filename = "AnghaBench/freebsd/sys/geom/raid/extr_g_raid.c_g_raid_create_disk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [15 x i8] c"Creating disk.\00", align 1
@M_RAID = common local_unnamed_addr global i32 0, align 4
@M_WAITOK = common local_unnamed_addr global i32 0, align 4
@M_ZERO = common local_unnamed_addr global i32 0, align 4
@G_RAID_DISK_S_NONE = common local_unnamed_addr global i32 0, align 4
@d_next = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @g_raid_create_disk(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @G_RAID_DEBUG1(i32 noundef 1, ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr @M_RAID, align 4, !tbaa !6
%4 = load i32, ptr @M_WAITOK, align 4, !tbaa !6
%5 = load i32, ptr @M_ZERO, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = tail call ptr @malloc(i32 noundef 16, i32 noundef %3, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %0, ptr %8, align 8, !tbaa !10
%9 = load i32, ptr @G_RAID_DISK_S_NONE, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %7, i64 4
store i32 %9, ptr %10, align 4, !tbaa !13
%11 = tail call i32 @TAILQ_INIT(ptr noundef %7) #2
%12 = load i32, ptr @d_next, align 4, !tbaa !6
%13 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef %0, ptr noundef %7, i32 noundef %12) #2
ret ptr %7
}
declare i32 @G_RAID_DEBUG1(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"g_raid_disk", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 4}
| freebsd_sys_geom_raid_extr_g_raid.c_g_raid_create_disk |
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power5+-pmu.c_power5p_get_constraint.c'
source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power5+-pmu.c_power5p_get_constraint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PM_PMC_SH = dso_local local_unnamed_addr global i32 0, align 4
@PM_PMC_MSK = dso_local local_unnamed_addr global i32 0, align 4
@PM_BUSEVENT_MSK = dso_local local_unnamed_addr global i32 0, align 4
@PM_UNIT_SH = dso_local local_unnamed_addr global i32 0, align 4
@PM_UNIT_MSK = dso_local local_unnamed_addr global i32 0, align 4
@PM_LASTUNIT = dso_local local_unnamed_addr global i32 0, align 4
@PM_ISU0_ALT = dso_local local_unnamed_addr global i32 0, align 4
@PM_ISU0 = dso_local local_unnamed_addr global i32 0, align 4
@unit_cons = dso_local local_unnamed_addr global ptr null, align 8
@PM_BYTE_SH = dso_local local_unnamed_addr global i32 0, align 4
@PM_BYTE_MSK = dso_local local_unnamed_addr global i32 0, align 4
@PM_LSU1 = dso_local local_unnamed_addr global i32 0, align 4
@PM_GRS = dso_local local_unnamed_addr global i32 0, align 4
@grsel_shift = dso_local local_unnamed_addr global ptr null, align 8
@PM_GRS_SH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @power5p_get_constraint], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @power5p_get_constraint(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr @PM_PMC_SH, align 4, !tbaa !5
%5 = ashr i32 %0, %4
%6 = load i32, ptr @PM_PMC_MSK, align 4, !tbaa !5
%7 = and i32 %5, %6
%8 = freeze i32 %7
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %3
%11 = icmp sgt i32 %8, 6
br i1 %11, label %101, label %12
12: ; preds = %10
%13 = shl i32 %8, 1
%14 = add i32 %13, -2
%15 = shl i32 2, %14
%16 = sext i32 %15 to i64
%17 = shl nuw i32 1, %14
%18 = icmp slt i32 %8, 5
br i1 %18, label %20, label %19
19: ; preds = %12
switch i32 %0, label %101 [
i32 6291461, label %20
i32 5242889, label %20
]
20: ; preds = %19, %19, %12, %3
%21 = phi i64 [ %16, %19 ], [ 0, %3 ], [ %16, %12 ], [ %16, %19 ]
%22 = phi i32 [ %17, %19 ], [ 0, %3 ], [ %17, %12 ], [ %17, %19 ]
%23 = zext i32 %22 to i64
%24 = load i32, ptr @PM_BUSEVENT_MSK, align 4, !tbaa !5
%25 = and i32 %24, %0
%26 = icmp eq i32 %25, 0
br i1 %26, label %93, label %27
27: ; preds = %20
%28 = load i32, ptr @PM_UNIT_SH, align 4, !tbaa !5
%29 = ashr i32 %0, %28
%30 = load i32, ptr @PM_UNIT_MSK, align 4, !tbaa !5
%31 = and i32 %29, %30
%32 = load i32, ptr @PM_LASTUNIT, align 4, !tbaa !5
%33 = icmp sgt i32 %31, %32
br i1 %33, label %101, label %34
34: ; preds = %27
%35 = load i32, ptr @PM_ISU0_ALT, align 4, !tbaa !5
%36 = icmp eq i32 %31, %35
%37 = load i32, ptr @PM_ISU0, align 4
%38 = select i1 %36, i32 %37, i32 %31
%39 = load ptr, ptr @unit_cons, align 8, !tbaa !9
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds ptr, ptr %39, i64 %40
%42 = load ptr, ptr %41, align 8, !tbaa !9
%43 = load i64, ptr %42, align 8, !tbaa !11
%44 = or i64 %43, %21
%45 = getelementptr inbounds i64, ptr %42, i64 1
%46 = load i64, ptr %45, align 8, !tbaa !11
%47 = or i64 %46, %23
%48 = load i32, ptr @PM_BYTE_SH, align 4, !tbaa !5
%49 = ashr i32 %0, %48
%50 = load i32, ptr @PM_BYTE_MSK, align 4, !tbaa !5
%51 = and i32 %49, %50
%52 = icmp sgt i32 %51, 3
br i1 %52, label %53, label %59
53: ; preds = %34
%54 = load i32, ptr @PM_LSU1, align 4, !tbaa !5
%55 = icmp eq i32 %38, %54
br i1 %55, label %56, label %101
56: ; preds = %53
%57 = add nsw i32 %38, 1
%58 = and i32 %51, 3
br label %59
59: ; preds = %56, %34
%60 = phi i32 [ %57, %56 ], [ %38, %34 ]
%61 = phi i32 [ %58, %56 ], [ %51, %34 ]
%62 = load i32, ptr @PM_GRS, align 4, !tbaa !5
%63 = icmp eq i32 %60, %62
br i1 %63, label %64, label %82
64: ; preds = %59
%65 = and i32 %0, 7
%66 = icmp eq i32 %65, 6
%67 = select i1 %66, i32 7, i32 3
%68 = load ptr, ptr @grsel_shift, align 8, !tbaa !9
%69 = zext nneg i32 %65 to i64
%70 = getelementptr inbounds i32, ptr %68, i64 %69
%71 = load i32, ptr %70, align 4, !tbaa !5
%72 = zext nneg i32 %67 to i64
%73 = zext i32 %71 to i64
%74 = shl i64 %72, %73
%75 = or i64 %74, %44
%76 = load i32, ptr @PM_GRS_SH, align 4, !tbaa !5
%77 = ashr i32 %0, %76
%78 = and i32 %77, %67
%79 = zext nneg i32 %78 to i64
%80 = shl i64 %79, %73
%81 = or i64 %80, %47
br label %82
82: ; preds = %64, %59
%83 = phi i64 [ %75, %64 ], [ %44, %59 ]
%84 = phi i64 [ %81, %64 ], [ %47, %59 ]
%85 = shl nsw i32 %61, 2
%86 = sub nsw i32 24, %85
%87 = zext i32 %86 to i64
%88 = shl i64 15, %87
%89 = or i64 %83, %88
%90 = sext i32 %60 to i64
%91 = shl i64 %90, %87
%92 = or i64 %84, %91
br label %93
93: ; preds = %82, %20
%94 = phi i64 [ %89, %82 ], [ %21, %20 ]
%95 = phi i64 [ %92, %82 ], [ %23, %20 ]
%96 = icmp slt i32 %8, 5
%97 = or i64 %94, 2251799813685248
%98 = or i64 %95, 281474976710656
%99 = select i1 %96, i64 %97, i64 %94
%100 = select i1 %96, i64 %98, i64 %95
store i64 %99, ptr %1, align 8, !tbaa !11
store i64 %100, ptr %2, align 8, !tbaa !11
br label %101
101: ; preds = %53, %27, %19, %10, %93
%102 = phi i32 [ 0, %93 ], [ -1, %10 ], [ -1, %19 ], [ -1, %27 ], [ -1, %53 ]
ret i32 %102
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power5+-pmu.c_power5p_get_constraint.c'
source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power5+-pmu.c_power5p_get_constraint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PM_PMC_SH = common local_unnamed_addr global i32 0, align 4
@PM_PMC_MSK = common local_unnamed_addr global i32 0, align 4
@PM_BUSEVENT_MSK = common local_unnamed_addr global i32 0, align 4
@PM_UNIT_SH = common local_unnamed_addr global i32 0, align 4
@PM_UNIT_MSK = common local_unnamed_addr global i32 0, align 4
@PM_LASTUNIT = common local_unnamed_addr global i32 0, align 4
@PM_ISU0_ALT = common local_unnamed_addr global i32 0, align 4
@PM_ISU0 = common local_unnamed_addr global i32 0, align 4
@unit_cons = common local_unnamed_addr global ptr null, align 8
@PM_BYTE_SH = common local_unnamed_addr global i32 0, align 4
@PM_BYTE_MSK = common local_unnamed_addr global i32 0, align 4
@PM_LSU1 = common local_unnamed_addr global i32 0, align 4
@PM_GRS = common local_unnamed_addr global i32 0, align 4
@grsel_shift = common local_unnamed_addr global ptr null, align 8
@PM_GRS_SH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @power5p_get_constraint], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -1, 1) i32 @power5p_get_constraint(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr @PM_PMC_SH, align 4, !tbaa !6
%5 = ashr i32 %0, %4
%6 = load i32, ptr @PM_PMC_MSK, align 4, !tbaa !6
%7 = and i32 %5, %6
%8 = freeze i32 %7
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %3
%11 = icmp sgt i32 %8, 6
br i1 %11, label %101, label %12
12: ; preds = %10
%13 = shl i32 %8, 1
%14 = add i32 %13, -2
%15 = shl i32 2, %14
%16 = sext i32 %15 to i64
%17 = shl nuw i32 1, %14
%18 = icmp slt i32 %8, 5
br i1 %18, label %20, label %19
19: ; preds = %12
switch i32 %0, label %101 [
i32 6291461, label %20
i32 5242889, label %20
]
20: ; preds = %19, %19, %12, %3
%21 = phi i64 [ %16, %19 ], [ 0, %3 ], [ %16, %12 ], [ %16, %19 ]
%22 = phi i32 [ %17, %19 ], [ 0, %3 ], [ %17, %12 ], [ %17, %19 ]
%23 = zext i32 %22 to i64
%24 = load i32, ptr @PM_BUSEVENT_MSK, align 4, !tbaa !6
%25 = and i32 %24, %0
%26 = icmp eq i32 %25, 0
br i1 %26, label %93, label %27
27: ; preds = %20
%28 = load i32, ptr @PM_UNIT_SH, align 4, !tbaa !6
%29 = ashr i32 %0, %28
%30 = load i32, ptr @PM_UNIT_MSK, align 4, !tbaa !6
%31 = and i32 %29, %30
%32 = load i32, ptr @PM_LASTUNIT, align 4, !tbaa !6
%33 = icmp sgt i32 %31, %32
br i1 %33, label %101, label %34
34: ; preds = %27
%35 = load i32, ptr @PM_ISU0_ALT, align 4, !tbaa !6
%36 = icmp eq i32 %31, %35
%37 = load i32, ptr @PM_ISU0, align 4
%38 = select i1 %36, i32 %37, i32 %31
%39 = load ptr, ptr @unit_cons, align 8, !tbaa !10
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds ptr, ptr %39, i64 %40
%42 = load ptr, ptr %41, align 8, !tbaa !10
%43 = load i64, ptr %42, align 8, !tbaa !12
%44 = or i64 %43, %21
%45 = getelementptr inbounds i8, ptr %42, i64 8
%46 = load i64, ptr %45, align 8, !tbaa !12
%47 = or i64 %46, %23
%48 = load i32, ptr @PM_BYTE_SH, align 4, !tbaa !6
%49 = ashr i32 %0, %48
%50 = load i32, ptr @PM_BYTE_MSK, align 4, !tbaa !6
%51 = and i32 %49, %50
%52 = icmp sgt i32 %51, 3
br i1 %52, label %53, label %59
53: ; preds = %34
%54 = load i32, ptr @PM_LSU1, align 4, !tbaa !6
%55 = icmp eq i32 %38, %54
br i1 %55, label %56, label %101
56: ; preds = %53
%57 = add nsw i32 %38, 1
%58 = and i32 %51, 3
br label %59
59: ; preds = %56, %34
%60 = phi i32 [ %57, %56 ], [ %38, %34 ]
%61 = phi i32 [ %58, %56 ], [ %51, %34 ]
%62 = load i32, ptr @PM_GRS, align 4, !tbaa !6
%63 = icmp eq i32 %60, %62
br i1 %63, label %64, label %82
64: ; preds = %59
%65 = and i32 %0, 7
%66 = icmp eq i32 %65, 6
%67 = select i1 %66, i32 7, i32 3
%68 = load ptr, ptr @grsel_shift, align 8, !tbaa !10
%69 = zext nneg i32 %65 to i64
%70 = getelementptr inbounds i32, ptr %68, i64 %69
%71 = load i32, ptr %70, align 4, !tbaa !6
%72 = zext nneg i32 %67 to i64
%73 = zext i32 %71 to i64
%74 = shl i64 %72, %73
%75 = or i64 %74, %44
%76 = load i32, ptr @PM_GRS_SH, align 4, !tbaa !6
%77 = ashr i32 %0, %76
%78 = and i32 %77, %67
%79 = zext nneg i32 %78 to i64
%80 = shl i64 %79, %73
%81 = or i64 %80, %47
br label %82
82: ; preds = %64, %59
%83 = phi i64 [ %75, %64 ], [ %44, %59 ]
%84 = phi i64 [ %81, %64 ], [ %47, %59 ]
%85 = shl nsw i32 %61, 2
%86 = sub nsw i32 24, %85
%87 = zext nneg i32 %86 to i64
%88 = shl i64 15, %87
%89 = or i64 %83, %88
%90 = sext i32 %60 to i64
%91 = shl i64 %90, %87
%92 = or i64 %84, %91
br label %93
93: ; preds = %82, %20
%94 = phi i64 [ %89, %82 ], [ %21, %20 ]
%95 = phi i64 [ %92, %82 ], [ %23, %20 ]
%96 = icmp slt i32 %8, 5
%97 = or i64 %94, 2251799813685248
%98 = or i64 %95, 281474976710656
%99 = select i1 %96, i64 %97, i64 %94
%100 = select i1 %96, i64 %98, i64 %95
store i64 %99, ptr %1, align 8, !tbaa !12
store i64 %100, ptr %2, align 8, !tbaa !12
br label %101
101: ; preds = %53, %27, %19, %10, %93
%102 = phi i32 [ 0, %93 ], [ -1, %10 ], [ -1, %19 ], [ -1, %27 ], [ -1, %53 ]
ret i32 %102
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| linux_arch_powerpc_perf_extr_power5+-pmu.c_power5p_get_constraint |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.