IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-gpio.c_i2c_gpio_get_desc.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-gpio.c_i2c_gpio_get_desc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"got GPIO from name %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"got GPIO from index %u\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EPROBE_DEFER = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"error trying to get descriptor: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @i2c_gpio_get_desc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @i2c_gpio_get_desc(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @devm_gpiod_get(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %6 = tail call i32 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 br label %41 10: ; preds = %4 %11 = tail call ptr @devm_gpiod_get_index(ptr noundef %0, ptr noundef null, i32 noundef %2, i32 noundef %3) #2 %12 = tail call i32 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %41 16: ; preds = %10 %17 = tail call i32 @PTR_ERR(ptr noundef %11) #2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !5 %23 = sub nsw i32 0, %22 %24 = tail call ptr @ERR_PTR(i32 noundef %23) #2 br label %25 25: ; preds = %21, %16 %26 = phi ptr [ %24, %21 ], [ %11, %16 ] %27 = load i32, ptr @ENOENT, align 4, !tbaa !5 %28 = sub nsw i32 0, %27 %29 = icmp eq i32 %17, %28 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !5 %32 = sub nsw i32 0, %31 %33 = tail call ptr @ERR_PTR(i32 noundef %32) #2 br label %34 34: ; preds = %30, %25 %35 = phi ptr [ %33, %30 ], [ %26, %25 ] %36 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !5 %37 = sub nsw i32 0, %36 %38 = icmp eq i32 %17, %37 br i1 %38, label %41, label %39 39: ; preds = %34 %40 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %17) #2 br label %41 41: ; preds = %34, %39, %14, %8 %42 = phi ptr [ %11, %14 ], [ %5, %8 ], [ %35, %39 ], [ %35, %34 ] ret ptr %42 } declare ptr @devm_gpiod_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_gpiod_get_index(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-gpio.c_i2c_gpio_get_desc.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-gpio.c_i2c_gpio_get_desc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [23 x i8] c"got GPIO from name %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"got GPIO from index %u\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @EPROBE_DEFER = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"error trying to get descriptor: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @i2c_gpio_get_desc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @i2c_gpio_get_desc(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @devm_gpiod_get(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %6 = tail call i32 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 br label %41 10: ; preds = %4 %11 = tail call ptr @devm_gpiod_get_index(ptr noundef %0, ptr noundef null, i32 noundef %2, i32 noundef %3) #2 %12 = tail call i32 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %41 16: ; preds = %10 %17 = tail call i32 @PTR_ERR(ptr noundef %11) #2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !6 %23 = sub nsw i32 0, %22 %24 = tail call ptr @ERR_PTR(i32 noundef %23) #2 br label %25 25: ; preds = %21, %16 %26 = phi ptr [ %24, %21 ], [ %11, %16 ] %27 = load i32, ptr @ENOENT, align 4, !tbaa !6 %28 = sub nsw i32 0, %27 %29 = icmp eq i32 %17, %28 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !6 %32 = sub nsw i32 0, %31 %33 = tail call ptr @ERR_PTR(i32 noundef %32) #2 br label %34 34: ; preds = %30, %25 %35 = phi ptr [ %33, %30 ], [ %26, %25 ] %36 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !6 %37 = sub nsw i32 0, %36 %38 = icmp eq i32 %17, %37 br i1 %38, label %41, label %39 39: ; preds = %34 %40 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %17) #2 br label %41 41: ; preds = %34, %39, %14, %8 %42 = phi ptr [ %11, %14 ], [ %5, %8 ], [ %35, %39 ], [ %35, %34 ] ret ptr %42 } declare ptr @devm_gpiod_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_gpiod_get_index(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_i2c_busses_extr_i2c-gpio.c_i2c_gpio_get_desc
; ModuleID = 'AnghaBench/linux/sound/pci/extr_es1968.c_apu_index_set.c' source_filename = "AnghaBench/linux/sound/pci/extr_es1968.c_apu_index_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IDR1_CRAM_POINTER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"APU register select failed. (Timeout)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @apu_index_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @apu_index_set(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @IDR1_CRAM_POINTER, align 4, !tbaa !5 %4 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef %3, i64 noundef %1) #2 br label %8 5: ; preds = %8 %6 = add nuw nsw i32 %9, 1 %7 = icmp eq i32 %6, 1000 br i1 %7, label %13, label %8, !llvm.loop !9 8: ; preds = %2, %5 %9 = phi i32 [ 0, %2 ], [ %6, %5 ] %10 = load i32, ptr @IDR1_CRAM_POINTER, align 4, !tbaa !5 %11 = tail call i64 @__maestro_read(ptr noundef %0, i32 noundef %10) #2 %12 = icmp eq i64 %11, %1 br i1 %12, label %17, label %5 13: ; preds = %5 %14 = load ptr, ptr %0, align 8, !tbaa !11 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = tail call i32 @dev_dbg(i32 noundef %15, ptr noundef nonnull @.str) #2 br label %17 17: ; preds = %8, %13 ret void } declare i32 @__maestro_write(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @__maestro_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !13, i64 0} !12 = !{!"es1968", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_es1968.c_apu_index_set.c' source_filename = "AnghaBench/linux/sound/pci/extr_es1968.c_apu_index_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IDR1_CRAM_POINTER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"APU register select failed. (Timeout)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @apu_index_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @apu_index_set(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @IDR1_CRAM_POINTER, align 4, !tbaa !6 %4 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef %3, i64 noundef %1) #2 br label %8 5: ; preds = %8 %6 = add nuw nsw i32 %9, 1 %7 = icmp eq i32 %6, 1000 br i1 %7, label %13, label %8, !llvm.loop !10 8: ; preds = %2, %5 %9 = phi i32 [ 0, %2 ], [ %6, %5 ] %10 = load i32, ptr @IDR1_CRAM_POINTER, align 4, !tbaa !6 %11 = tail call i64 @__maestro_read(ptr noundef %0, i32 noundef %10) #2 %12 = icmp eq i64 %11, %1 br i1 %12, label %17, label %5 13: ; preds = %5 %14 = load ptr, ptr %0, align 8, !tbaa !12 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 @dev_dbg(i32 noundef %15, ptr noundef nonnull @.str) #2 br label %17 17: ; preds = %8, %13 ret void } declare i32 @__maestro_write(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @__maestro_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !14, i64 0} !13 = !{!"es1968", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0}
linux_sound_pci_extr_es1968.c_apu_index_set
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_IsAesNiSupported.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_IsAesNiSupported.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @IsAesNiSupported() local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_IsAesNiSupported.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_IsAesNiSupported.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @IsAesNiSupported() local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
SoftEtherVPN_src_Mayaqua_extr_Encrypt.c_IsAesNiSupported
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_strtab.c_dt_strtab_size.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_strtab.c_dt_strtab_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i64 @dt_strtab_size(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 ret i64 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_strtab.c_dt_strtab_size.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_strtab.c_dt_strtab_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i64 @dt_strtab_size(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 ret i64 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_strtab.c_dt_strtab_size
; ModuleID = 'AnghaBench/freebsd/sys/dev/cx/extr_csigma.c_cx_setup_chan.c' source_filename = "AnghaBench/freebsd/sys/dev/cx/extr_csigma.c_cx_setup_chan.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32, i64, i64, i32, ptr } @CCR_CLRCH = dso_local local_unnamed_addr global i32 0, align 4 @M_ASYNC = dso_local local_unnamed_addr global i64 0, align 8 @MSV_TXCOUT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @cx_setup_chan(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 8 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @CAR(i32 noundef %3) #3 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = and i32 %5, 3 %7 = tail call i32 @outb(i32 noundef %4, i32 noundef %6) #3 %8 = load i32, ptr %2, align 8, !tbaa !5 %9 = load i32, ptr @CCR_CLRCH, align 4, !tbaa !13 %10 = tail call i32 @cx_cmd(i32 noundef %8, i32 noundef %9) #3 %11 = load i32, ptr %2, align 8, !tbaa !5 %12 = tail call i32 @LIVR(i32 noundef %11) #3 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 9 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = shl i32 %15, 6 %17 = load i32, ptr %0, align 8, !tbaa !12 %18 = shl i32 %17, 2 %19 = or i32 %18, %16 %20 = tail call i32 @outb(i32 noundef %12, i32 noundef %19) #3 %21 = load i32, ptr %2, align 8, !tbaa !5 %22 = tail call i32 @MSVR_RTS(i32 noundef %21) #3 %23 = tail call i32 @outb(i32 noundef %22, i32 noundef 0) #3 %24 = load i32, ptr %2, align 8, !tbaa !5 %25 = tail call i32 @MSVR_DTR(i32 noundef %24) #3 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !17 %28 = load i64, ptr @M_ASYNC, align 8, !tbaa !18 %29 = icmp eq i64 %27, %28 %30 = load i32, ptr @MSV_TXCOUT, align 4 %31 = select i1 %29, i32 0, i32 %30 %32 = tail call i32 @outb(i32 noundef %25, i32 noundef %31) #3 %33 = load i32, ptr %2, align 8, !tbaa !5 %34 = tail call i32 @ARBADRU(i32 noundef %33) #3 %35 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !19 %37 = lshr i32 %36, 16 %38 = trunc i32 %37 to i16 %39 = tail call i32 @outw(i32 noundef %34, i16 noundef zeroext %38) #3 %40 = load i32, ptr %2, align 8, !tbaa !5 %41 = tail call i32 @ARBADRL(i32 noundef %40) #3 %42 = load i32, ptr %35, align 8, !tbaa !19 %43 = trunc i32 %42 to i16 %44 = tail call i32 @outw(i32 noundef %41, i16 noundef zeroext %43) #3 %45 = load i32, ptr %2, align 8, !tbaa !5 %46 = tail call i32 @BRBADRU(i32 noundef %45) #3 %47 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %48 = load i32, ptr %47, align 4, !tbaa !20 %49 = lshr i32 %48, 16 %50 = trunc i32 %49 to i16 %51 = tail call i32 @outw(i32 noundef %46, i16 noundef zeroext %50) #3 %52 = load i32, ptr %2, align 8, !tbaa !5 %53 = tail call i32 @BRBADRL(i32 noundef %52) #3 %54 = load i32, ptr %47, align 4, !tbaa !20 %55 = trunc i32 %54 to i16 %56 = tail call i32 @outw(i32 noundef %53, i16 noundef zeroext %55) #3 %57 = load i32, ptr %2, align 8, !tbaa !5 %58 = tail call i32 @ATBADRU(i32 noundef %57) #3 %59 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 %60 = load i32, ptr %59, align 8, !tbaa !21 %61 = lshr i32 %60, 16 %62 = trunc i32 %61 to i16 %63 = tail call i32 @outw(i32 noundef %58, i16 noundef zeroext %62) #3 %64 = load i32, ptr %2, align 8, !tbaa !5 %65 = tail call i32 @ATBADRL(i32 noundef %64) #3 %66 = load i32, ptr %59, align 8, !tbaa !21 %67 = trunc i32 %66 to i16 %68 = tail call i32 @outw(i32 noundef %65, i16 noundef zeroext %67) #3 %69 = load i32, ptr %2, align 8, !tbaa !5 %70 = tail call i32 @BTBADRU(i32 noundef %69) #3 %71 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5 %72 = load i32, ptr %71, align 4, !tbaa !22 %73 = lshr i32 %72, 16 %74 = trunc i32 %73 to i16 %75 = tail call i32 @outw(i32 noundef %70, i16 noundef zeroext %74) #3 %76 = load i32, ptr %2, align 8, !tbaa !5 %77 = tail call i32 @BTBADRL(i32 noundef %76) #3 %78 = load i32, ptr %71, align 4, !tbaa !22 %79 = trunc i32 %78 to i16 %80 = tail call i32 @outw(i32 noundef %77, i16 noundef zeroext %79) #3 %81 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %81, i8 0, i64 16, i1 false) %82 = tail call i32 @cx_update_chan(ptr noundef nonnull %0) #3 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CAR(i32 noundef) local_unnamed_addr #1 declare i32 @cx_cmd(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LIVR(i32 noundef) local_unnamed_addr #1 declare i32 @MSVR_RTS(i32 noundef) local_unnamed_addr #1 declare i32 @MSVR_DTR(i32 noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 declare i32 @ARBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @ARBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @BRBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @BRBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @ATBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @ATBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @BTBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @BTBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @cx_update_chan(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 48} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !7, i64 48, !11, i64 56} !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 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !11, i64 56} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_5__", !7, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!10, !10, i64 0} !19 = !{!6, !7, i64 16} !20 = !{!6, !7, i64 20} !21 = !{!6, !7, i64 24} !22 = !{!6, !7, i64 28}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cx/extr_csigma.c_cx_setup_chan.c' source_filename = "AnghaBench/freebsd/sys/dev/cx/extr_csigma.c_cx_setup_chan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CCR_CLRCH = common local_unnamed_addr global i32 0, align 4 @M_ASYNC = common local_unnamed_addr global i64 0, align 8 @MSV_TXCOUT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @cx_setup_chan(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @CAR(i32 noundef %3) #3 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = and i32 %5, 3 %7 = tail call i32 @outb(i32 noundef %4, i32 noundef %6) #3 %8 = load i32, ptr %2, align 8, !tbaa !6 %9 = load i32, ptr @CCR_CLRCH, align 4, !tbaa !14 %10 = tail call i32 @cx_cmd(i32 noundef %8, i32 noundef %9) #3 %11 = load i32, ptr %2, align 8, !tbaa !6 %12 = tail call i32 @LIVR(i32 noundef %11) #3 %13 = getelementptr inbounds i8, ptr %0, i64 56 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = shl i32 %15, 6 %17 = load i32, ptr %0, align 8, !tbaa !13 %18 = shl i32 %17, 2 %19 = or i32 %18, %16 %20 = tail call i32 @outb(i32 noundef %12, i32 noundef %19) #3 %21 = load i32, ptr %2, align 8, !tbaa !6 %22 = tail call i32 @MSVR_RTS(i32 noundef %21) #3 %23 = tail call i32 @outb(i32 noundef %22, i32 noundef 0) #3 %24 = load i32, ptr %2, align 8, !tbaa !6 %25 = tail call i32 @MSVR_DTR(i32 noundef %24) #3 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = load i64, ptr @M_ASYNC, align 8, !tbaa !19 %29 = icmp eq i64 %27, %28 %30 = load i32, ptr @MSV_TXCOUT, align 4 %31 = select i1 %29, i32 0, i32 %30 %32 = tail call i32 @outb(i32 noundef %25, i32 noundef %31) #3 %33 = load i32, ptr %2, align 8, !tbaa !6 %34 = tail call i32 @ARBADRU(i32 noundef %33) #3 %35 = getelementptr inbounds i8, ptr %0, i64 16 %36 = load i32, ptr %35, align 8, !tbaa !20 %37 = lshr i32 %36, 16 %38 = trunc nuw i32 %37 to i16 %39 = tail call i32 @outw(i32 noundef %34, i16 noundef zeroext %38) #3 %40 = load i32, ptr %2, align 8, !tbaa !6 %41 = tail call i32 @ARBADRL(i32 noundef %40) #3 %42 = load i32, ptr %35, align 8, !tbaa !20 %43 = trunc i32 %42 to i16 %44 = tail call i32 @outw(i32 noundef %41, i16 noundef zeroext %43) #3 %45 = load i32, ptr %2, align 8, !tbaa !6 %46 = tail call i32 @BRBADRU(i32 noundef %45) #3 %47 = getelementptr inbounds i8, ptr %0, i64 20 %48 = load i32, ptr %47, align 4, !tbaa !21 %49 = lshr i32 %48, 16 %50 = trunc nuw i32 %49 to i16 %51 = tail call i32 @outw(i32 noundef %46, i16 noundef zeroext %50) #3 %52 = load i32, ptr %2, align 8, !tbaa !6 %53 = tail call i32 @BRBADRL(i32 noundef %52) #3 %54 = load i32, ptr %47, align 4, !tbaa !21 %55 = trunc i32 %54 to i16 %56 = tail call i32 @outw(i32 noundef %53, i16 noundef zeroext %55) #3 %57 = load i32, ptr %2, align 8, !tbaa !6 %58 = tail call i32 @ATBADRU(i32 noundef %57) #3 %59 = getelementptr inbounds i8, ptr %0, i64 24 %60 = load i32, ptr %59, align 8, !tbaa !22 %61 = lshr i32 %60, 16 %62 = trunc nuw i32 %61 to i16 %63 = tail call i32 @outw(i32 noundef %58, i16 noundef zeroext %62) #3 %64 = load i32, ptr %2, align 8, !tbaa !6 %65 = tail call i32 @ATBADRL(i32 noundef %64) #3 %66 = load i32, ptr %59, align 8, !tbaa !22 %67 = trunc i32 %66 to i16 %68 = tail call i32 @outw(i32 noundef %65, i16 noundef zeroext %67) #3 %69 = load i32, ptr %2, align 8, !tbaa !6 %70 = tail call i32 @BTBADRU(i32 noundef %69) #3 %71 = getelementptr inbounds i8, ptr %0, i64 28 %72 = load i32, ptr %71, align 4, !tbaa !23 %73 = lshr i32 %72, 16 %74 = trunc nuw i32 %73 to i16 %75 = tail call i32 @outw(i32 noundef %70, i16 noundef zeroext %74) #3 %76 = load i32, ptr %2, align 8, !tbaa !6 %77 = tail call i32 @BTBADRL(i32 noundef %76) #3 %78 = load i32, ptr %71, align 4, !tbaa !23 %79 = trunc i32 %78 to i16 %80 = tail call i32 @outw(i32 noundef %77, i16 noundef zeroext %79) #3 %81 = getelementptr inbounds i8, ptr %0, i64 32 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %81, i8 0, i64 16, i1 false) %82 = tail call i32 @cx_update_chan(ptr noundef nonnull %0) #3 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CAR(i32 noundef) local_unnamed_addr #1 declare i32 @cx_cmd(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LIVR(i32 noundef) local_unnamed_addr #1 declare i32 @MSVR_RTS(i32 noundef) local_unnamed_addr #1 declare i32 @MSVR_DTR(i32 noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 declare i32 @ARBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @ARBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @BRBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @BRBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @ATBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @ATBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @BTBADRU(i32 noundef) local_unnamed_addr #1 declare i32 @BTBADRL(i32 noundef) local_unnamed_addr #1 declare i32 @cx_update_chan(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 48} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !11, i64 32, !11, i64 40, !8, i64 48, !12, i64 56} !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 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !12, i64 56} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_5__", !8, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!11, !11, i64 0} !20 = !{!7, !8, i64 16} !21 = !{!7, !8, i64 20} !22 = !{!7, !8, i64 24} !23 = !{!7, !8, i64 28}
freebsd_sys_dev_cx_extr_csigma.c_cx_setup_chan
; ModuleID = 'AnghaBench/postgres/src/backend/storage/large_object/extr_inv_api.c_getdatafield.c' source_filename = "AnghaBench/postgres/src/backend/storage/large_object/extr_inv_api.c_getdatafield.c" target datalayout = "e-m:e-p270:32:32-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 } @VARHDRSZ = dso_local local_unnamed_addr global i32 0, align 4 @LOBLKSIZE = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_DATA_CORRUPTED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [72 x i8] c"pg_largeobject entry for OID %u, page %d has invalid data field size %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @getdatafield], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @getdatafield(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %6 = tail call i64 @VARATT_IS_EXTENDED(ptr noundef nonnull %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = tail call i64 @detoast_attr(ptr noundef nonnull %5) #2 %10 = inttoptr i64 %9 to ptr br label %11 11: ; preds = %8, %4 %12 = phi ptr [ %10, %8 ], [ %5, %4 ] %13 = phi i32 [ 1, %8 ], [ 0, %4 ] %14 = tail call i32 @VARSIZE(ptr noundef %12) #2 %15 = load i32, ptr @VARHDRSZ, align 4, !tbaa !5 %16 = sub nsw i32 %14, %15 %17 = icmp slt i32 %16, 0 %18 = load i32, ptr @LOBLKSIZE, align 4 %19 = icmp sgt i32 %16, %18 %20 = select i1 %17, i1 true, i1 %19 br i1 %20, label %21, label %30 21: ; preds = %11 %22 = load i32, ptr @ERROR, align 4, !tbaa !5 %23 = load i32, ptr @ERRCODE_DATA_CORRUPTED, align 4, !tbaa !5 %24 = tail call i32 @errcode(i32 noundef %23) #2 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !9 %27 = load i32, ptr %0, align 4, !tbaa !11 %28 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %26, i32 noundef %27, i32 noundef %16) #2 %29 = tail call i32 @ereport(i32 noundef %22, i32 noundef %28) #2 br label %30 30: ; preds = %11, %21 store ptr %12, ptr %1, align 8, !tbaa !12 store i32 %16, ptr %2, align 4, !tbaa !5 store i32 %13, ptr %3, align 4, !tbaa !5 ret void } declare i64 @VARATT_IS_EXTENDED(ptr noundef) local_unnamed_addr #1 declare i64 @detoast_attr(ptr noundef) local_unnamed_addr #1 declare i32 @VARSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef, 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 4} !10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/storage/large_object/extr_inv_api.c_getdatafield.c' source_filename = "AnghaBench/postgres/src/backend/storage/large_object/extr_inv_api.c_getdatafield.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VARHDRSZ = common local_unnamed_addr global i32 0, align 4 @LOBLKSIZE = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_DATA_CORRUPTED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [72 x i8] c"pg_largeobject entry for OID %u, page %d has invalid data field size %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @getdatafield], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @getdatafield(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = tail call i64 @VARATT_IS_EXTENDED(ptr noundef nonnull %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = tail call i64 @detoast_attr(ptr noundef nonnull %5) #2 %10 = inttoptr i64 %9 to ptr br label %11 11: ; preds = %8, %4 %12 = phi ptr [ %10, %8 ], [ %5, %4 ] %13 = phi i32 [ 1, %8 ], [ 0, %4 ] %14 = tail call i32 @VARSIZE(ptr noundef %12) #2 %15 = load i32, ptr @VARHDRSZ, align 4, !tbaa !6 %16 = sub nsw i32 %14, %15 %17 = icmp slt i32 %16, 0 %18 = load i32, ptr @LOBLKSIZE, align 4 %19 = icmp sgt i32 %16, %18 %20 = select i1 %17, i1 true, i1 %19 br i1 %20, label %21, label %30 21: ; preds = %11 %22 = load i32, ptr @ERROR, align 4, !tbaa !6 %23 = load i32, ptr @ERRCODE_DATA_CORRUPTED, align 4, !tbaa !6 %24 = tail call i32 @errcode(i32 noundef %23) #2 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !10 %27 = load i32, ptr %0, align 4, !tbaa !12 %28 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %26, i32 noundef %27, i32 noundef %16) #2 %29 = tail call i32 @ereport(i32 noundef %22, i32 noundef %28) #2 br label %30 30: ; preds = %11, %21 store ptr %12, ptr %1, align 8, !tbaa !13 store i32 %16, ptr %2, align 4, !tbaa !6 store i32 %13, ptr %3, align 4, !tbaa !6 ret void } declare i64 @VARATT_IS_EXTENDED(ptr noundef) local_unnamed_addr #1 declare i64 @detoast_attr(ptr noundef) local_unnamed_addr #1 declare i32 @VARSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef, 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 4} !11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
postgres_src_backend_storage_large_object_extr_inv_api.c_getdatafield
; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-fsl-usb.c_b_srp_end.c' source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-fsl-usb.c_b_srp_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" %struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ } %struct.TYPE_7__ = type { i32, i64 } %struct.TYPE_6__ = type { ptr } @srp_wait_done = dso_local local_unnamed_addr global i32 0, align 4 @fsl_otg_dev = dso_local local_unnamed_addr global ptr null, align 8 @OTG_STATE_B_SRP_INIT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @b_srp_end(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @fsl_otg_dischrg_vbus(i32 noundef 0) #2 store i32 1, ptr @srp_wait_done, align 4, !tbaa !5 %3 = load ptr, ptr @fsl_otg_dev, align 8, !tbaa !9 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i64, ptr %5, align 8, !tbaa !16 %7 = load i64, ptr @OTG_STATE_B_SRP_INIT, align 8, !tbaa !18 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !19 %12 = icmp eq i64 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9 store i32 1, ptr %3, align 8, !tbaa !20 br label %14 14: ; preds = %13, %9, %1 ret void } declare i32 @fsl_otg_dischrg_vbus(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 16} !12 = !{!"TYPE_8__", !13, i64 0, !15, i64 16} !13 = !{!"TYPE_7__", !6, i64 0, !14, i64 8} !14 = !{!"long", !7, i64 0} !15 = !{!"TYPE_6__", !10, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_5__", !14, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!12, !14, i64 8} !20 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-fsl-usb.c_b_srp_end.c' source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-fsl-usb.c_b_srp_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @srp_wait_done = common local_unnamed_addr global i32 0, align 4 @fsl_otg_dev = common local_unnamed_addr global ptr null, align 8 @OTG_STATE_B_SRP_INIT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @b_srp_end(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @fsl_otg_dischrg_vbus(i32 noundef 0) #2 store i32 1, ptr @srp_wait_done, align 4, !tbaa !6 %3 = load ptr, ptr @fsl_otg_dev, align 8, !tbaa !10 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr %5, align 8, !tbaa !17 %7 = load i64, ptr @OTG_STATE_B_SRP_INIT, align 8, !tbaa !19 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %3, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !20 %12 = icmp eq i64 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9 store i32 1, ptr %3, align 8, !tbaa !21 br label %14 14: ; preds = %13, %9, %1 ret void } declare i32 @fsl_otg_dischrg_vbus(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 16} !13 = !{!"TYPE_8__", !14, i64 0, !16, i64 16} !14 = !{!"TYPE_7__", !7, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!"TYPE_6__", !11, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"TYPE_5__", !15, i64 0} !19 = !{!15, !15, i64 0} !20 = !{!13, !15, i64 8} !21 = !{!13, !7, i64 0}
linux_drivers_usb_phy_extr_phy-fsl-usb.c_b_srp_end
; ModuleID = 'AnghaBench/RetroArch/gfx/extr_video_filter.c_rarch_softfilter_process.c' source_filename = "AnghaBench/RetroArch/gfx/extr_video_filter.c_rarch_softfilter_process.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, ptr, i32, ptr, ptr } %struct.TYPE_9__ = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @rarch_softfilter_process(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6) local_unnamed_addr #0 { %8 = icmp eq ptr %0, null br i1 %8, label %41, label %9 9: ; preds = %7 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 4 %11 = load ptr, ptr %10, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %22, label %13 13: ; preds = %9 %14 = load ptr, ptr %11, align 8, !tbaa !11 %15 = icmp eq ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %13 %17 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = tail call i32 %14(i32 noundef %18, ptr noundef %20, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6) #1 br label %22 22: ; preds = %16, %13, %9 %23 = load i32, ptr %0, align 8, !tbaa !15 %24 = icmp eq i32 %23, 0 br i1 %24, label %41, label %25 25: ; preds = %22 %26 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %27 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 br label %28 28: ; preds = %25, %28 %29 = phi i64 [ 0, %25 ], [ %37, %28 ] %30 = load ptr, ptr %26, align 8, !tbaa !14 %31 = getelementptr inbounds %struct.TYPE_9__, ptr %30, i64 %29 %32 = getelementptr inbounds %struct.TYPE_9__, ptr %30, i64 %29, i32 1 %33 = load ptr, ptr %32, align 8, !tbaa !16 %34 = load i32, ptr %27, align 8, !tbaa !13 %35 = load i32, ptr %31, align 8, !tbaa !18 %36 = tail call i32 %33(i32 noundef %34, i32 noundef %35) #1 %37 = add nuw nsw i64 %29, 1 %38 = load i32, ptr %0, align 8, !tbaa !15 %39 = zext i32 %38 to i64 %40 = icmp ult i64 %37, %39 br i1 %40, label %28, label %41, !llvm.loop !19 41: ; preds = %28, %22, %7 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, !10, i64 32} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_6__", !10, i64 0} !13 = !{!6, !7, i64 16} !14 = !{!6, !10, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!17, !10, i64 8} !17 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !18 = !{!17, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/gfx/extr_video_filter.c_rarch_softfilter_process.c' source_filename = "AnghaBench/RetroArch/gfx/extr_video_filter.c_rarch_softfilter_process.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32, ptr } ; Function Attrs: nounwind ssp uwtable(sync) define void @rarch_softfilter_process(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6) local_unnamed_addr #0 { %8 = icmp eq ptr %0, null br i1 %8, label %41, label %9 9: ; preds = %7 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %22, label %13 13: ; preds = %9 %14 = load ptr, ptr %11, align 8, !tbaa !12 %15 = icmp eq ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %13 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i32, ptr %17, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = tail call i32 %14(i32 noundef %18, ptr noundef %20, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6) #1 br label %22 22: ; preds = %16, %13, %9 %23 = load i32, ptr %0, align 8, !tbaa !16 %24 = icmp eq i32 %23, 0 br i1 %24, label %41, label %25 25: ; preds = %22 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = getelementptr inbounds i8, ptr %0, i64 16 br label %28 28: ; preds = %25, %28 %29 = phi i64 [ 0, %25 ], [ %37, %28 ] %30 = load ptr, ptr %26, align 8, !tbaa !15 %31 = getelementptr inbounds %struct.TYPE_9__, ptr %30, i64 %29 %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = load ptr, ptr %32, align 8, !tbaa !17 %34 = load i32, ptr %27, align 8, !tbaa !14 %35 = load i32, ptr %31, align 8, !tbaa !19 %36 = tail call i32 %33(i32 noundef %34, i32 noundef %35) #1 %37 = add nuw nsw i64 %29, 1 %38 = load i32, ptr %0, align 8, !tbaa !16 %39 = zext i32 %38 to i64 %40 = icmp ult i64 %37, %39 br i1 %40, label %28, label %41, !llvm.loop !20 41: ; preds = %28, %22, %7 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, !11, i64 32} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0} !14 = !{!7, !8, i64 16} !15 = !{!7, !11, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!18, !11, i64 8} !18 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !19 = !{!18, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
RetroArch_gfx_extr_video_filter.c_rarch_softfilter_process
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_proc.c_dt_proc_rdevent.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_proc.c_dt_proc_rdevent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i32 } %struct.TYPE_16__ = type { i32, i32, i64, i32 } @RD_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"pid %d: failed to get %s event message: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"pid %d: rtld event %s type=%d state %d\0A\00", align 1 @RD_CONSISTENT = dso_local local_unnamed_addr global i32 0, align 4 @DT_PROC_STOP_PREINIT = dso_local local_unnamed_addr global i32 0, align 4 @DT_PROC_STOP_POSTINIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dt_proc_rdevent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dt_proc_rdevent(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_14__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 3 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = call i32 @rd_event_getmsg(i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr @RD_OK, align 4, !tbaa !11 %9 = icmp eq i32 %7, %8 %10 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 2 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = trunc i64 %11 to i32 br i1 %9, label %16, label %13 13: ; preds = %3 %14 = call i32 @rd_errstr(i32 noundef %7) #3 %15 = call i32 (ptr, i32, ptr, i32, ...) @dt_dprintf(ptr noundef nonnull @.str, i32 noundef %12, ptr noundef %2, i32 noundef %14) #3 br label %46 16: ; preds = %3 %17 = load i32, ptr %4, align 4, !tbaa !13 %18 = getelementptr inbounds %struct.TYPE_14__, ptr %4, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = call i32 (ptr, i32, ptr, i32, ...) @dt_dprintf(ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef %2, i32 noundef %17, i32 noundef %19) #3 %21 = load i32, ptr %4, align 4, !tbaa !13 switch i32 %21, label %46 [ i32 130, label %22 i32 128, label %36 i32 129, label %41 ] 22: ; preds = %16 %23 = load i32, ptr %18, align 4, !tbaa !16 %24 = load i32, ptr @RD_CONSISTENT, align 4, !tbaa !11 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %46 26: ; preds = %22 %27 = load i32, ptr %1, align 8, !tbaa !17 %28 = call i32 @Pupdate_syms(i32 noundef %27) #3 %29 = call i32 @dt_pid_create_probes_module(ptr noundef %0, ptr noundef nonnull %1) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %46, label %31 31: ; preds = %26 %32 = load i32, ptr %0, align 4, !tbaa !18 %33 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !20 %35 = call i32 @dt_proc_notify(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull %1, i32 noundef %34) #3 br label %46 36: ; preds = %16 %37 = load i32, ptr %1, align 8, !tbaa !17 %38 = call i32 @Pupdate_syms(i32 noundef %37) #3 %39 = load i32, ptr @DT_PROC_STOP_PREINIT, align 4, !tbaa !11 %40 = call i32 @dt_proc_stop(ptr noundef nonnull %1, i32 noundef %39) #3 br label %46 41: ; preds = %16 %42 = load i32, ptr %1, align 8, !tbaa !17 %43 = call i32 @Pupdate_syms(i32 noundef %42) #3 %44 = load i32, ptr @DT_PROC_STOP_POSTINIT, align 4, !tbaa !11 %45 = call i32 @dt_proc_stop(ptr noundef nonnull %1, i32 noundef %44) #3 br label %46 46: ; preds = %36, %41, %16, %22, %31, %26, %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rd_event_getmsg(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dt_dprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @rd_errstr(i32 noundef) local_unnamed_addr #2 declare i32 @Pupdate_syms(i32 noundef) local_unnamed_addr #2 declare i32 @dt_pid_create_probes_module(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dt_proc_notify(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dt_proc_stop(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_16__", !7, i64 0, !7, i64 4, !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_14__", !7, i64 0, !15, i64 4} !15 = !{!"TYPE_13__", !7, i64 0} !16 = !{!14, !7, i64 4} !17 = !{!6, !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_15__", !7, i64 0} !20 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_proc.c_dt_proc_rdevent.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_proc.c_dt_proc_rdevent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { i32, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i32 } @RD_OK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"pid %d: failed to get %s event message: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"pid %d: rtld event %s type=%d state %d\0A\00", align 1 @RD_CONSISTENT = common local_unnamed_addr global i32 0, align 4 @DT_PROC_STOP_PREINIT = common local_unnamed_addr global i32 0, align 4 @DT_PROC_STOP_POSTINIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dt_proc_rdevent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dt_proc_rdevent(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_14__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = call i32 @rd_event_getmsg(i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr @RD_OK, align 4, !tbaa !12 %9 = icmp eq i32 %7, %8 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = trunc i64 %11 to i32 br i1 %9, label %16, label %13 13: ; preds = %3 %14 = call i32 @rd_errstr(i32 noundef %7) #3 %15 = call i32 (ptr, i32, ptr, i32, ...) @dt_dprintf(ptr noundef nonnull @.str, i32 noundef %12, ptr noundef %2, i32 noundef %14) #3 br label %46 16: ; preds = %3 %17 = load i32, ptr %4, align 4, !tbaa !14 %18 = getelementptr inbounds i8, ptr %4, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = call i32 (ptr, i32, ptr, i32, ...) @dt_dprintf(ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef %2, i32 noundef %17, i32 noundef %19) #3 %21 = load i32, ptr %4, align 4, !tbaa !14 switch i32 %21, label %46 [ i32 130, label %22 i32 128, label %36 i32 129, label %41 ] 22: ; preds = %16 %23 = load i32, ptr %18, align 4, !tbaa !17 %24 = load i32, ptr @RD_CONSISTENT, align 4, !tbaa !12 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %46 26: ; preds = %22 %27 = load i32, ptr %1, align 8, !tbaa !18 %28 = call i32 @Pupdate_syms(i32 noundef %27) #3 %29 = call i32 @dt_pid_create_probes_module(ptr noundef %0, ptr noundef nonnull %1) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %46, label %31 31: ; preds = %26 %32 = load i32, ptr %0, align 4, !tbaa !19 %33 = getelementptr inbounds i8, ptr %1, i64 4 %34 = load i32, ptr %33, align 4, !tbaa !21 %35 = call i32 @dt_proc_notify(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull %1, i32 noundef %34) #3 br label %46 36: ; preds = %16 %37 = load i32, ptr %1, align 8, !tbaa !18 %38 = call i32 @Pupdate_syms(i32 noundef %37) #3 %39 = load i32, ptr @DT_PROC_STOP_PREINIT, align 4, !tbaa !12 %40 = call i32 @dt_proc_stop(ptr noundef nonnull %1, i32 noundef %39) #3 br label %46 41: ; preds = %16 %42 = load i32, ptr %1, align 8, !tbaa !18 %43 = call i32 @Pupdate_syms(i32 noundef %42) #3 %44 = load i32, ptr @DT_PROC_STOP_POSTINIT, align 4, !tbaa !12 %45 = call i32 @dt_proc_stop(ptr noundef nonnull %1, i32 noundef %44) #3 br label %46 46: ; preds = %36, %41, %16, %22, %31, %26, %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rd_event_getmsg(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dt_dprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @rd_errstr(i32 noundef) local_unnamed_addr #2 declare i32 @Pupdate_syms(i32 noundef) local_unnamed_addr #2 declare i32 @dt_pid_create_probes_module(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dt_proc_notify(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dt_proc_stop(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_16__", !8, i64 0, !8, i64 4, !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_14__", !8, i64 0, !16, i64 4} !16 = !{!"TYPE_13__", !8, i64 0} !17 = !{!15, !8, i64 4} !18 = !{!7, !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_15__", !8, i64 0} !21 = !{!7, !8, i64 4}
freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_proc.c_dt_proc_rdevent
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r100.c_r100_pci_gart_fini.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r100.c_r100_pci_gart_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" ; Function Attrs: nounwind uwtable define dso_local void @r100_pci_gart_fini(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @radeon_gart_fini(ptr noundef %0) #2 %3 = tail call i32 @r100_pci_gart_disable(ptr noundef %0) #2 %4 = tail call i32 @radeon_gart_table_ram_free(ptr noundef %0) #2 ret void } declare i32 @radeon_gart_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r100_pci_gart_disable(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_gart_table_ram_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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r100.c_r100_pci_gart_fini.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r100.c_r100_pci_gart_fini.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 @r100_pci_gart_fini(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @radeon_gart_fini(ptr noundef %0) #2 %3 = tail call i32 @r100_pci_gart_disable(ptr noundef %0) #2 %4 = tail call i32 @radeon_gart_table_ram_free(ptr noundef %0) #2 ret void } declare i32 @radeon_gart_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r100_pci_gart_disable(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_gart_table_ram_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)"}
fastsocket_kernel_drivers_gpu_drm_radeon_extr_r100.c_r100_pci_gart_fini
; ModuleID = 'AnghaBench/libui/_wip/examples_opentype/extr_main.c_shouldQuit.c' source_filename = "AnghaBench/libui/_wip/examples_opentype/extr_main.c_shouldQuit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mainwin = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @shouldQuit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @shouldQuit(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @mainwin, align 4, !tbaa !5 %3 = tail call i32 @uiControl(i32 noundef %2) #2 %4 = tail call i32 @uiControlDestroy(i32 noundef %3) #2 ret i32 1 } declare i32 @uiControlDestroy(i32 noundef) local_unnamed_addr #1 declare i32 @uiControl(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/libui/_wip/examples_opentype/extr_main.c_shouldQuit.c' source_filename = "AnghaBench/libui/_wip/examples_opentype/extr_main.c_shouldQuit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mainwin = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @shouldQuit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @shouldQuit(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @mainwin, align 4, !tbaa !6 %3 = tail call i32 @uiControl(i32 noundef %2) #2 %4 = tail call i32 @uiControlDestroy(i32 noundef %3) #2 ret i32 1 } declare i32 @uiControlDestroy(i32 noundef) local_unnamed_addr #1 declare i32 @uiControl(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"}
libui__wip_examples_opentype_extr_main.c_shouldQuit
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_isp_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_isp_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" @QLA82XX_CRB_DEV_STATE = dso_local local_unnamed_addr global i32 0, align 4 @QLA8XXX_DEV_READY = dso_local local_unnamed_addr global i64 0, align 8 @KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"HW State: NEED RESET\0A\00", align 1 @QLA8XXX_DEV_NEED_RESET = dso_local local_unnamed_addr global i32 0, align 4 @AF_8XXX_RST_OWNER = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"HW State: DEVICE INITIALIZING\0A\00", align 1 @QLA_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"Clearing AF_RECOVERY in qla4_82xx_isp_reset\0A\00", align 1 @AF_FW_RECOVERY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @qla4_82xx_isp_reset(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @qla4_82xx_idc_lock(ptr noundef %0) #2 %3 = load i32, ptr @QLA82XX_CRB_DEV_STATE, align 4, !tbaa !5 %4 = tail call i64 @qla4_82xx_rd_32(ptr noundef %0, i32 noundef %3) #2 %5 = load i64, ptr @QLA8XXX_DEV_READY, align 8, !tbaa !9 %6 = icmp eq i64 %4, %5 %7 = load i32, ptr @KERN_INFO, align 4, !tbaa !5 br i1 %6, label %8, label %15 8: ; preds = %1 %9 = tail call i32 @ql4_printk(i32 noundef %7, ptr noundef %0, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @QLA82XX_CRB_DEV_STATE, align 4, !tbaa !5 %11 = load i32, ptr @QLA8XXX_DEV_NEED_RESET, align 4, !tbaa !5 %12 = tail call i32 @qla4_82xx_wr_32(ptr noundef %0, i32 noundef %10, i32 noundef %11) #2 %13 = load i32, ptr @AF_8XXX_RST_OWNER, align 4, !tbaa !5 %14 = tail call i32 @set_bit(i32 noundef %13, ptr noundef %0) #2 br label %17 15: ; preds = %1 %16 = tail call i32 @ql4_printk(i32 noundef %7, ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %17 17: ; preds = %15, %8 %18 = tail call i32 @qla4_82xx_idc_unlock(ptr noundef %0) #2 %19 = tail call i32 @qla4_8xxx_device_state_handler(ptr noundef %0) #2 %20 = tail call i32 @qla4_82xx_idc_lock(ptr noundef %0) #2 %21 = tail call i32 @qla4_8xxx_clear_rst_ready(ptr noundef %0) #2 %22 = tail call i32 @qla4_82xx_idc_unlock(ptr noundef %0) #2 %23 = load i32, ptr @QLA_SUCCESS, align 4, !tbaa !5 %24 = icmp eq i32 %19, %23 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = load i32, ptr @KERN_INFO, align 4, !tbaa !5 %27 = tail call i32 @ql4_printk(i32 noundef %26, ptr noundef %0, ptr noundef nonnull @.str.2) #2 %28 = load i32, ptr @AF_FW_RECOVERY, align 4, !tbaa !5 %29 = tail call i32 @clear_bit(i32 noundef %28, ptr noundef %0) #2 br label %30 30: ; preds = %25, %17 ret i32 %19 } declare i32 @qla4_82xx_idc_lock(ptr noundef) local_unnamed_addr #1 declare i64 @qla4_82xx_rd_32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ql4_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4_82xx_wr_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4_82xx_idc_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @qla4_8xxx_device_state_handler(ptr noundef) local_unnamed_addr #1 declare i32 @qla4_8xxx_clear_rst_ready(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_isp_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_82xx_isp_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QLA82XX_CRB_DEV_STATE = common local_unnamed_addr global i32 0, align 4 @QLA8XXX_DEV_READY = common local_unnamed_addr global i64 0, align 8 @KERN_INFO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"HW State: NEED RESET\0A\00", align 1 @QLA8XXX_DEV_NEED_RESET = common local_unnamed_addr global i32 0, align 4 @AF_8XXX_RST_OWNER = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"HW State: DEVICE INITIALIZING\0A\00", align 1 @QLA_SUCCESS = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"Clearing AF_RECOVERY in qla4_82xx_isp_reset\0A\00", align 1 @AF_FW_RECOVERY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @qla4_82xx_isp_reset(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @qla4_82xx_idc_lock(ptr noundef %0) #2 %3 = load i32, ptr @QLA82XX_CRB_DEV_STATE, align 4, !tbaa !6 %4 = tail call i64 @qla4_82xx_rd_32(ptr noundef %0, i32 noundef %3) #2 %5 = load i64, ptr @QLA8XXX_DEV_READY, align 8, !tbaa !10 %6 = icmp eq i64 %4, %5 %7 = load i32, ptr @KERN_INFO, align 4, !tbaa !6 br i1 %6, label %8, label %15 8: ; preds = %1 %9 = tail call i32 @ql4_printk(i32 noundef %7, ptr noundef %0, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @QLA82XX_CRB_DEV_STATE, align 4, !tbaa !6 %11 = load i32, ptr @QLA8XXX_DEV_NEED_RESET, align 4, !tbaa !6 %12 = tail call i32 @qla4_82xx_wr_32(ptr noundef %0, i32 noundef %10, i32 noundef %11) #2 %13 = load i32, ptr @AF_8XXX_RST_OWNER, align 4, !tbaa !6 %14 = tail call i32 @set_bit(i32 noundef %13, ptr noundef %0) #2 br label %17 15: ; preds = %1 %16 = tail call i32 @ql4_printk(i32 noundef %7, ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %17 17: ; preds = %15, %8 %18 = tail call i32 @qla4_82xx_idc_unlock(ptr noundef %0) #2 %19 = tail call i32 @qla4_8xxx_device_state_handler(ptr noundef %0) #2 %20 = tail call i32 @qla4_82xx_idc_lock(ptr noundef %0) #2 %21 = tail call i32 @qla4_8xxx_clear_rst_ready(ptr noundef %0) #2 %22 = tail call i32 @qla4_82xx_idc_unlock(ptr noundef %0) #2 %23 = load i32, ptr @QLA_SUCCESS, align 4, !tbaa !6 %24 = icmp eq i32 %19, %23 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = load i32, ptr @KERN_INFO, align 4, !tbaa !6 %27 = tail call i32 @ql4_printk(i32 noundef %26, ptr noundef %0, ptr noundef nonnull @.str.2) #2 %28 = load i32, ptr @AF_FW_RECOVERY, align 4, !tbaa !6 %29 = tail call i32 @clear_bit(i32 noundef %28, ptr noundef %0) #2 br label %30 30: ; preds = %25, %17 ret i32 %19 } declare i32 @qla4_82xx_idc_lock(ptr noundef) local_unnamed_addr #1 declare i64 @qla4_82xx_rd_32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ql4_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4_82xx_wr_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4_82xx_idc_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @qla4_8xxx_device_state_handler(ptr noundef) local_unnamed_addr #1 declare i32 @qla4_8xxx_clear_rst_ready(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
fastsocket_kernel_drivers_scsi_qla4xxx_extr_ql4_nx.c_qla4_82xx_isp_reset
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/40percentclub/6lit/extr_6lit.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/40percentclub/6lit/extr_6lit.c_matrix_scan_kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 (...) @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/40percentclub/6lit/extr_6lit.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/40percentclub/6lit/extr_6lit.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_40percentclub_6lit_extr_6lit.c_matrix_scan_kb
; ModuleID = 'AnghaBench/git/builtin/extr_blame.c_nth_line_cb.c' source_filename = "AnghaBench/git/builtin/extr_blame.c_nth_line_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @nth_line_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @nth_line_cb(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @blame_nth_line(ptr noundef %0, i64 noundef %1) #2 ret ptr %3 } declare ptr @blame_nth_line(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/builtin/extr_blame.c_nth_line_cb.c' source_filename = "AnghaBench/git/builtin/extr_blame.c_nth_line_cb.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 @nth_line_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nth_line_cb(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @blame_nth_line(ptr noundef %0, i64 noundef %1) #2 ret ptr %3 } declare ptr @blame_nth_line(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)"}
git_builtin_extr_blame.c_nth_line_cb
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_count_multiio_pins.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_count_multiio_pins.c" target datalayout = "e-m:e-p270:32:32-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.auto_pin_cfg = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @AUTO_PIN_LINE_IN = dso_local local_unnamed_addr global i32 0, align 4 @AUTO_PIN_MIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @count_multiio_pins], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @count_multiio_pins(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @snd_hda_codec_get_pincfg(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = tail call i32 @get_defcfg_location(i32 noundef %4) #2 %6 = load i32, ptr @AUTO_PIN_LINE_IN, align 4, !tbaa !10 %7 = load i32, ptr @AUTO_PIN_MIC, align 4, !tbaa !10 %8 = icmp slt i32 %6, %7 br i1 %8, label %50, label %9 9: ; preds = %2 %10 = getelementptr inbounds %struct.auto_pin_cfg, ptr %3, i64 0, i32 1 %11 = load i32, ptr %3, align 8, !tbaa !12 br label %12 12: ; preds = %9, %43 %13 = phi i32 [ %7, %9 ], [ %44, %43 ] %14 = phi i32 [ %11, %9 ], [ %45, %43 ] %15 = phi i32 [ %11, %9 ], [ %46, %43 ] %16 = phi i32 [ 0, %9 ], [ %47, %43 ] %17 = phi i32 [ %6, %9 ], [ %48, %43 ] %18 = icmp sgt i32 %15, 0 br i1 %18, label %19, label %43 19: ; preds = %12, %35 %20 = phi i32 [ %36, %35 ], [ %14, %12 ] %21 = phi i64 [ %38, %35 ], [ 0, %12 ] %22 = phi i32 [ %37, %35 ], [ %16, %12 ] %23 = load ptr, ptr %10, align 8, !tbaa !14 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %21 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = icmp eq i32 %25, %17 br i1 %26, label %27, label %35 27: ; preds = %19 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %21, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = tail call i64 @can_be_multiio_pin(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %29) #2 %31 = icmp ne i64 %30, 0 %32 = zext i1 %31 to i32 %33 = add nsw i32 %22, %32 %34 = load i32, ptr %3, align 8, !tbaa !12 br label %35 35: ; preds = %27, %19 %36 = phi i32 [ %20, %19 ], [ %34, %27 ] %37 = phi i32 [ %22, %19 ], [ %33, %27 ] %38 = add nuw nsw i64 %21, 1 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %38, %39 br i1 %40, label %19, label %41, !llvm.loop !18 41: ; preds = %35 %42 = load i32, ptr @AUTO_PIN_MIC, align 4, !tbaa !10 br label %43 43: ; preds = %41, %12 %44 = phi i32 [ %13, %12 ], [ %42, %41 ] %45 = phi i32 [ %14, %12 ], [ %36, %41 ] %46 = phi i32 [ %15, %12 ], [ %36, %41 ] %47 = phi i32 [ %16, %12 ], [ %37, %41 ] %48 = add nsw i32 %17, -1 %49 = icmp sgt i32 %17, %44 br i1 %49, label %12, label %50, !llvm.loop !20 50: ; preds = %43, %2 %51 = phi i32 [ 0, %2 ], [ %47, %43 ] ret i32 %51 } declare i32 @snd_hda_codec_get_pincfg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_defcfg_location(i32 noundef) local_unnamed_addr #1 declare i64 @can_be_multiio_pin(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hda_codec", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"auto_pin_cfg", !11, i64 0, !7, i64 8} !14 = !{!13, !7, i64 8} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !17 = !{!16, !11, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_count_multiio_pins.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_count_multiio_pins.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, i32 } @AUTO_PIN_LINE_IN = common local_unnamed_addr global i32 0, align 4 @AUTO_PIN_MIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @count_multiio_pins], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @count_multiio_pins(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @snd_hda_codec_get_pincfg(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = tail call i32 @get_defcfg_location(i32 noundef %4) #2 %6 = load i32, ptr @AUTO_PIN_LINE_IN, align 4, !tbaa !11 %7 = load i32, ptr @AUTO_PIN_MIC, align 4, !tbaa !11 %8 = icmp slt i32 %6, %7 br i1 %8, label %50, label %9 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %3, i64 8 %11 = load i32, ptr %3, align 8, !tbaa !13 br label %12 12: ; preds = %9, %43 %13 = phi i32 [ %7, %9 ], [ %44, %43 ] %14 = phi i32 [ %11, %9 ], [ %45, %43 ] %15 = phi i32 [ %11, %9 ], [ %46, %43 ] %16 = phi i32 [ 0, %9 ], [ %47, %43 ] %17 = phi i32 [ %6, %9 ], [ %48, %43 ] %18 = icmp sgt i32 %15, 0 br i1 %18, label %19, label %43 19: ; preds = %12, %35 %20 = phi i32 [ %36, %35 ], [ %14, %12 ] %21 = phi i64 [ %38, %35 ], [ 0, %12 ] %22 = phi i32 [ %37, %35 ], [ %16, %12 ] %23 = load ptr, ptr %10, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %21 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = icmp eq i32 %25, %17 br i1 %26, label %27, label %35 27: ; preds = %19 %28 = getelementptr inbounds i8, ptr %24, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !18 %30 = tail call i64 @can_be_multiio_pin(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %29) #2 %31 = icmp ne i64 %30, 0 %32 = zext i1 %31 to i32 %33 = add nsw i32 %22, %32 %34 = load i32, ptr %3, align 8, !tbaa !13 br label %35 35: ; preds = %27, %19 %36 = phi i32 [ %20, %19 ], [ %34, %27 ] %37 = phi i32 [ %22, %19 ], [ %33, %27 ] %38 = add nuw nsw i64 %21, 1 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %38, %39 br i1 %40, label %19, label %41, !llvm.loop !19 41: ; preds = %35 %42 = load i32, ptr @AUTO_PIN_MIC, align 4, !tbaa !11 br label %43 43: ; preds = %41, %12 %44 = phi i32 [ %13, %12 ], [ %42, %41 ] %45 = phi i32 [ %14, %12 ], [ %36, %41 ] %46 = phi i32 [ %15, %12 ], [ %36, %41 ] %47 = phi i32 [ %16, %12 ], [ %37, %41 ] %48 = add nsw i32 %17, -1 %49 = icmp sgt i32 %17, %44 br i1 %49, label %12, label %50, !llvm.loop !21 50: ; preds = %43, %2 %51 = phi i32 [ 0, %2 ], [ %47, %43 ] ret i32 %51 } declare i32 @snd_hda_codec_get_pincfg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_defcfg_location(i32 noundef) local_unnamed_addr #1 declare i64 @can_be_multiio_pin(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hda_codec", !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 0} !14 = !{!"auto_pin_cfg", !12, i64 0, !8, i64 8} !15 = !{!14, !8, i64 8} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !18 = !{!17, !12, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20}
linux_sound_pci_hda_extr_hda_generic.c_count_multiio_pins
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgCreateFontMem.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgCreateFontMem.c" target datalayout = "e-m:e-p270:32:32-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 @nvgCreateFontMem(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @fonsAddFontMem(i32 noundef %6, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %7 } declare i32 @fonsAddFontMem(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgCreateFontMem.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgCreateFontMem.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 @nvgCreateFontMem(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @fonsAddFontMem(i32 noundef %6, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %7 } declare i32 @fonsAddFontMem(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openpilot_phonelibs_nanovg_extr_nanovg.c_nvgCreateFontMem
; ModuleID = 'AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_free_tx_cmd_list.c' source_filename = "AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_free_tx_cmd_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.otus_softc = type { i32, i32, i32, i32, i32 } @OTUS_CMD_LIST_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @otus_free_tx_cmd_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @otus_free_tx_cmd_list(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.otus_softc, ptr %0, i64 0, i32 4 %3 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds %struct.otus_softc, ptr %0, i64 0, i32 3 %5 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds %struct.otus_softc, ptr %0, i64 0, i32 2 %7 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %6) #2 %8 = getelementptr inbounds %struct.otus_softc, ptr %0, i64 0, i32 1 %9 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr @OTUS_CMD_LIST_COUNT, align 4, !tbaa !10 %12 = tail call i32 @otus_free_cmd_list(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %11) #2 ret void } declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @otus_free_cmd_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"otus_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_free_tx_cmd_list.c' source_filename = "AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_free_tx_cmd_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OTUS_CMD_LIST_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @otus_free_tx_cmd_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @otus_free_tx_cmd_list(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 12 %5 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %8) #2 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr @OTUS_CMD_LIST_COUNT, align 4, !tbaa !11 %12 = tail call i32 @otus_free_cmd_list(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %11) #2 ret void } declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @otus_free_cmd_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"otus_softc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_otus_extr_if_otus.c_otus_free_tx_cmd_list
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-core.c_cx231xx_send_vendor_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-core.c_cx231xx_send_vendor_cmd.c" target datalayout = "e-m:e-p270:32:32-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.VENDOR_REQUEST_IN = type { i32, i32, i32, i32, ptr, i32 } %struct.cx231xx = type { i32, i32 } @DEV_DISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @URB_MAX_CTRL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @USB_TYPE_VENDOR = dso_local local_unnamed_addr global i32 0, align 4 @USB_RECIP_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @HZ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @cx231xx_send_vendor_cmd(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ENODEV, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %105 10: ; preds = %2 %11 = load i32, ptr %1, align 8, !tbaa !11 %12 = load i32, ptr @URB_MAX_CTRL_SIZE, align 4, !tbaa !10 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !10 %16 = sub nsw i32 0, %15 br label %105 17: ; preds = %10 %18 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = icmp eq i32 %19, 0 %21 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !15 br i1 %20, label %25, label %23 23: ; preds = %17 %24 = tail call i32 @usb_rcvctrlpipe(i32 noundef %22, i32 noundef 0) #2 br label %27 25: ; preds = %17 %26 = tail call i32 @usb_sndctrlpipe(i32 noundef %22, i32 noundef 0) #2 br label %27 27: ; preds = %25, %23 %28 = phi i32 [ %24, %23 ], [ %26, %25 ] %29 = load i32, ptr %1, align 8, !tbaa !11 %30 = icmp sgt i32 %29, 4 %31 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 2 %32 = load i32, ptr %31, align 8, !tbaa !16 %33 = add i32 %32, -4 %34 = icmp ult i32 %33, 3 %35 = select i1 %30, i1 %34, i1 false br i1 %35, label %36, label %91 36: ; preds = %27 %37 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 4 %38 = load ptr, ptr %37, align 8, !tbaa !17 %39 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 3 %40 = load i32, ptr %39, align 4, !tbaa !18 %41 = and i32 %40, 65465 %42 = or disjoint i32 %41, 2 store i32 %42, ptr %39, align 4, !tbaa !18 %43 = load i32, ptr %18, align 4, !tbaa !14 %44 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !10 %45 = or i32 %44, %43 %46 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !10 %47 = or i32 %45, %46 %48 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 5 %49 = load i32, ptr %48, align 8, !tbaa !19 %50 = load i32, ptr @HZ, align 4, !tbaa !10 %51 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %32, i32 noundef %47, i32 noundef %42, i32 noundef %49, ptr noundef %38, i32 noundef 4, i32 noundef %50) #2 %52 = load i32, ptr %39, align 4, !tbaa !18 %53 = and i32 %52, 65469 %54 = or disjoint i32 %53, 66 store i32 %54, ptr %39, align 4, !tbaa !18 %55 = add nsw i32 %29, -4 %56 = icmp ugt i32 %29, 8 br i1 %56, label %57, label %76 57: ; preds = %36, %57 %58 = phi i32 [ %71, %57 ], [ %55, %36 ] %59 = phi ptr [ %60, %57 ], [ %38, %36 ] %60 = getelementptr inbounds i32, ptr %59, i64 4 %61 = load i32, ptr %31, align 8, !tbaa !16 %62 = load i32, ptr %18, align 4, !tbaa !14 %63 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !10 %64 = or i32 %63, %62 %65 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !10 %66 = or i32 %64, %65 %67 = load i32, ptr %39, align 4, !tbaa !18 %68 = load i32, ptr %48, align 8, !tbaa !19 %69 = load i32, ptr @HZ, align 4, !tbaa !10 %70 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %61, i32 noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef nonnull %60, i32 noundef 4, i32 noundef %69) #2 %71 = add nsw i32 %58, -4 %72 = icmp ugt i32 %58, 8 br i1 %72, label %57, label %73, !llvm.loop !20 73: ; preds = %57 %74 = load i32, ptr %39, align 4, !tbaa !18 %75 = and i32 %74, 65469 br label %76 76: ; preds = %73, %36 %77 = phi i32 [ %53, %36 ], [ %75, %73 ] %78 = phi ptr [ %38, %36 ], [ %60, %73 ] %79 = phi i32 [ %55, %36 ], [ %71, %73 ] %80 = or disjoint i32 %77, 64 store i32 %80, ptr %39, align 4, !tbaa !18 %81 = getelementptr inbounds i32, ptr %78, i64 4 %82 = load i32, ptr %31, align 8, !tbaa !16 %83 = load i32, ptr %18, align 4, !tbaa !14 %84 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !10 %85 = or i32 %84, %83 %86 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !10 %87 = or i32 %85, %86 %88 = load i32, ptr %48, align 8, !tbaa !19 %89 = load i32, ptr @HZ, align 4, !tbaa !10 %90 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %82, i32 noundef %87, i32 noundef %80, i32 noundef %88, ptr noundef nonnull %81, i32 noundef %79, i32 noundef %89) #2 br label %105 91: ; preds = %27 %92 = load i32, ptr %18, align 4, !tbaa !14 %93 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !10 %94 = or i32 %93, %92 %95 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !10 %96 = or i32 %94, %95 %97 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 3 %98 = load i32, ptr %97, align 4, !tbaa !18 %99 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 5 %100 = load i32, ptr %99, align 8, !tbaa !19 %101 = getelementptr inbounds %struct.VENDOR_REQUEST_IN, ptr %1, i64 0, i32 4 %102 = load ptr, ptr %101, align 8, !tbaa !17 %103 = load i32, ptr @HZ, align 4, !tbaa !10 %104 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %32, i32 noundef %96, i32 noundef %98, i32 noundef %100, ptr noundef %102, i32 noundef %29, i32 noundef %103) #2 br label %105 105: ; preds = %76, %91, %14, %7 %106 = phi i32 [ %9, %7 ], [ %16, %14 ], [ %90, %76 ], [ %104, %91 ] ret i32 %106 } declare i32 @usb_rcvctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cx231xx", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"VENDOR_REQUEST_IN", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !13, i64 16, !7, i64 24} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !7, i64 4} !15 = !{!6, !7, i64 4} !16 = !{!12, !7, i64 8} !17 = !{!12, !13, i64 16} !18 = !{!12, !7, i64 12} !19 = !{!12, !7, i64 24} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-core.c_cx231xx_send_vendor_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-core.c_cx231xx_send_vendor_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEV_DISCONNECTED = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @URB_MAX_CTRL_SIZE = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @USB_TYPE_VENDOR = common local_unnamed_addr global i32 0, align 4 @USB_RECIP_DEVICE = common local_unnamed_addr global i32 0, align 4 @HZ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @cx231xx_send_vendor_cmd(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @DEV_DISCONNECTED, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ENODEV, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %105 10: ; preds = %2 %11 = load i32, ptr %1, align 8, !tbaa !12 %12 = load i32, ptr @URB_MAX_CTRL_SIZE, align 4, !tbaa !11 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !11 %16 = sub nsw i32 0, %15 br label %105 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %1, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = icmp eq i32 %19, 0 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !16 br i1 %20, label %25, label %23 23: ; preds = %17 %24 = tail call i32 @usb_rcvctrlpipe(i32 noundef %22, i32 noundef 0) #2 br label %27 25: ; preds = %17 %26 = tail call i32 @usb_sndctrlpipe(i32 noundef %22, i32 noundef 0) #2 br label %27 27: ; preds = %25, %23 %28 = phi i32 [ %24, %23 ], [ %26, %25 ] %29 = load i32, ptr %1, align 8, !tbaa !12 %30 = icmp sgt i32 %29, 4 %31 = getelementptr inbounds i8, ptr %1, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !17 %33 = add i32 %32, -4 %34 = icmp ult i32 %33, 3 %35 = select i1 %30, i1 %34, i1 false br i1 %35, label %36, label %91 36: ; preds = %27 %37 = getelementptr inbounds i8, ptr %1, i64 16 %38 = load ptr, ptr %37, align 8, !tbaa !18 %39 = getelementptr inbounds i8, ptr %1, i64 12 %40 = load i32, ptr %39, align 4, !tbaa !19 %41 = and i32 %40, 65465 %42 = or disjoint i32 %41, 2 store i32 %42, ptr %39, align 4, !tbaa !19 %43 = load i32, ptr %18, align 4, !tbaa !15 %44 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !11 %45 = or i32 %44, %43 %46 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !11 %47 = or i32 %45, %46 %48 = getelementptr inbounds i8, ptr %1, i64 24 %49 = load i32, ptr %48, align 8, !tbaa !20 %50 = load i32, ptr @HZ, align 4, !tbaa !11 %51 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %32, i32 noundef %47, i32 noundef %42, i32 noundef %49, ptr noundef %38, i32 noundef 4, i32 noundef %50) #2 %52 = load i32, ptr %39, align 4, !tbaa !19 %53 = and i32 %52, 65469 %54 = or disjoint i32 %53, 66 store i32 %54, ptr %39, align 4, !tbaa !19 %55 = add nsw i32 %29, -4 %56 = icmp ugt i32 %29, 8 br i1 %56, label %57, label %76 57: ; preds = %36, %57 %58 = phi i32 [ %71, %57 ], [ %55, %36 ] %59 = phi ptr [ %60, %57 ], [ %38, %36 ] %60 = getelementptr inbounds i8, ptr %59, i64 16 %61 = load i32, ptr %31, align 8, !tbaa !17 %62 = load i32, ptr %18, align 4, !tbaa !15 %63 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !11 %64 = or i32 %63, %62 %65 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !11 %66 = or i32 %64, %65 %67 = load i32, ptr %39, align 4, !tbaa !19 %68 = load i32, ptr %48, align 8, !tbaa !20 %69 = load i32, ptr @HZ, align 4, !tbaa !11 %70 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %61, i32 noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef nonnull %60, i32 noundef 4, i32 noundef %69) #2 %71 = add nsw i32 %58, -4 %72 = icmp ugt i32 %58, 8 br i1 %72, label %57, label %73, !llvm.loop !21 73: ; preds = %57 %74 = load i32, ptr %39, align 4, !tbaa !19 %75 = and i32 %74, 65469 br label %76 76: ; preds = %73, %36 %77 = phi i32 [ %53, %36 ], [ %75, %73 ] %78 = phi ptr [ %38, %36 ], [ %60, %73 ] %79 = phi i32 [ %55, %36 ], [ %71, %73 ] %80 = or disjoint i32 %77, 64 store i32 %80, ptr %39, align 4, !tbaa !19 %81 = getelementptr inbounds i8, ptr %78, i64 16 %82 = load i32, ptr %31, align 8, !tbaa !17 %83 = load i32, ptr %18, align 4, !tbaa !15 %84 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !11 %85 = or i32 %84, %83 %86 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !11 %87 = or i32 %85, %86 %88 = load i32, ptr %48, align 8, !tbaa !20 %89 = load i32, ptr @HZ, align 4, !tbaa !11 %90 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %82, i32 noundef %87, i32 noundef %80, i32 noundef %88, ptr noundef nonnull %81, i32 noundef %79, i32 noundef %89) #2 br label %105 91: ; preds = %27 %92 = load i32, ptr %18, align 4, !tbaa !15 %93 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !11 %94 = or i32 %93, %92 %95 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !11 %96 = or i32 %94, %95 %97 = getelementptr inbounds i8, ptr %1, i64 12 %98 = load i32, ptr %97, align 4, !tbaa !19 %99 = getelementptr inbounds i8, ptr %1, i64 24 %100 = load i32, ptr %99, align 8, !tbaa !20 %101 = getelementptr inbounds i8, ptr %1, i64 16 %102 = load ptr, ptr %101, align 8, !tbaa !18 %103 = load i32, ptr @HZ, align 4, !tbaa !11 %104 = tail call i32 @__usb_control_msg(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %32, i32 noundef %96, i32 noundef %98, i32 noundef %100, ptr noundef %102, i32 noundef %29, i32 noundef %103) #2 br label %105 105: ; preds = %76, %91, %14, %7 %106 = phi i32 [ %9, %7 ], [ %16, %14 ], [ %90, %76 ], [ %104, %91 ] ret i32 %106 } declare i32 @usb_rcvctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cx231xx", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"VENDOR_REQUEST_IN", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !14, i64 16, !8, i64 24} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !8, i64 4} !16 = !{!7, !8, i64 4} !17 = !{!13, !8, i64 8} !18 = !{!13, !14, i64 16} !19 = !{!13, !8, i64 12} !20 = !{!13, !8, i64 24} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_media_video_cx231xx_extr_cx231xx-core.c_cx231xx_send_vendor_cmd
; ModuleID = 'AnghaBench/git/builtin/extr_diff-tree.c_stdin_diff_trees.c' source_filename = "AnghaBench/git/builtin/extr_diff-tree.c_stdin_diff_trees.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.object_id = type { i32 } @.str = private unnamed_addr constant [45 x i8] c"Need exactly two trees, separated by a space\00", align 1 @the_repository = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @log_tree_opt = dso_local global %struct.TYPE_5__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @stdin_diff_trees], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stdin_diff_trees(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca %struct.object_id, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = getelementptr inbounds i8, ptr %1, i64 1 store ptr %5, ptr %3, align 8, !tbaa !5 %6 = load i8, ptr %1, align 1, !tbaa !9 %7 = sext i8 %6 to i32 %8 = tail call i32 @isspace(i32 noundef %7) #5 %9 = icmp eq i32 %8, 0 br i1 %9, label %17, label %10 10: ; preds = %2 %11 = call i64 @parse_oid_hex(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %3) #4 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load ptr, ptr %3, align 8, !tbaa !5 %15 = load i8, ptr %14, align 1, !tbaa !9 %16 = icmp eq i8 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13, %10, %2 %18 = call i32 @error(ptr noundef nonnull @.str) #4 br label %32 19: ; preds = %13 %20 = load i32, ptr @the_repository, align 4, !tbaa !10 %21 = call ptr @lookup_tree(i32 noundef %20, ptr noundef nonnull %4) #4 %22 = icmp eq ptr %21, null br i1 %22, label %32, label %23 23: ; preds = %19 %24 = call i64 @parse_tree(ptr noundef nonnull %21) #4 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %32 26: ; preds = %23 %27 = call ptr @oid_to_hex(ptr noundef %0) #4 %28 = call ptr @oid_to_hex(ptr noundef nonnull %21) #4 %29 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %27, ptr noundef %28) #4 %30 = call i32 @diff_tree_oid(ptr noundef %0, ptr noundef nonnull %21, ptr noundef nonnull @.str.2, ptr noundef nonnull @log_tree_opt) #4 %31 = call i32 @log_tree_diff_flush(ptr noundef nonnull @log_tree_opt) #4 br label %32 32: ; preds = %19, %23, %26, %17 %33 = phi i32 [ %18, %17 ], [ 0, %26 ], [ -1, %23 ], [ -1, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) local_unnamed_addr #2 declare i64 @parse_oid_hex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @error(ptr noundef) local_unnamed_addr #3 declare ptr @lookup_tree(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @parse_tree(ptr noundef) local_unnamed_addr #3 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @oid_to_hex(ptr noundef) local_unnamed_addr #3 declare i32 @diff_tree_oid(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @log_tree_diff_flush(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } attributes #5 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/git/builtin/extr_diff-tree.c_stdin_diff_trees.c' source_filename = "AnghaBench/git/builtin/extr_diff-tree.c_stdin_diff_trees.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } %struct.object_id = type { i32 } @.str = private unnamed_addr constant [45 x i8] c"Need exactly two trees, separated by a space\00", align 1 @the_repository = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @log_tree_opt = common global %struct.TYPE_5__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @stdin_diff_trees], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @stdin_diff_trees(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca %struct.object_id, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = getelementptr inbounds i8, ptr %1, i64 1 store ptr %5, ptr %3, align 8, !tbaa !6 %6 = load i8, ptr %1, align 1, !tbaa !10 %7 = sext i8 %6 to i32 %8 = tail call i32 @isspace(i32 noundef %7) #5 %9 = icmp eq i32 %8, 0 br i1 %9, label %17, label %10 10: ; preds = %2 %11 = call i64 @parse_oid_hex(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %3) #4 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = load i8, ptr %14, align 1, !tbaa !10 %16 = icmp eq i8 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13, %10, %2 %18 = call i32 @error(ptr noundef nonnull @.str) #4 br label %32 19: ; preds = %13 %20 = load i32, ptr @the_repository, align 4, !tbaa !11 %21 = call ptr @lookup_tree(i32 noundef %20, ptr noundef nonnull %4) #4 %22 = icmp eq ptr %21, null br i1 %22, label %32, label %23 23: ; preds = %19 %24 = call i64 @parse_tree(ptr noundef nonnull %21) #4 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %32 26: ; preds = %23 %27 = call ptr @oid_to_hex(ptr noundef %0) #4 %28 = call ptr @oid_to_hex(ptr noundef nonnull %21) #4 %29 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %27, ptr noundef %28) #4 %30 = call i32 @diff_tree_oid(ptr noundef %0, ptr noundef nonnull %21, ptr noundef nonnull @.str.2, ptr noundef nonnull @log_tree_opt) #4 %31 = call i32 @log_tree_diff_flush(ptr noundef nonnull @log_tree_opt) #4 br label %32 32: ; preds = %19, %23, %26, %17 %33 = phi i32 [ %18, %17 ], [ 0, %26 ], [ -1, %23 ], [ -1, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) local_unnamed_addr #2 declare i64 @parse_oid_hex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @error(ptr noundef) local_unnamed_addr #3 declare ptr @lookup_tree(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @parse_tree(ptr noundef) local_unnamed_addr #3 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @oid_to_hex(ptr noundef) local_unnamed_addr #3 declare i32 @diff_tree_oid(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @log_tree_diff_flush(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } attributes #5 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
git_builtin_extr_diff-tree.c_stdin_diff_trees
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_info.c_test_query_process_basic.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_info.c_test_query_process_basic.c" target datalayout = "e-m:e-p270:32:32-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._PROCESS_BASIC_INFORMATION_PRIVATE = type { i32, i32, i32, i32, i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"Check nonexistent info class\0A\00", align 1 @STATUS_INVALID_INFO_CLASS = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_NOT_IMPLEMENTED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [72 x i8] c"Expected STATUS_INVALID_INFO_CLASS or STATUS_NOT_IMPLEMENTED, got %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"Check NULL handle and buffer and zero-length buffersize\0A\00", align 1 @ProcessBasicInformation = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_INFO_LENGTH_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"Expected STATUS_INFO_LENGTH_MISMATCH, got %08x\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Check NULL handle and buffer\0A\00", align 1 @STATUS_ACCESS_VIOLATION = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [75 x i8] c"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_HANDLE(W2K3), got %08x\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Check NULL handle\0A\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"Expected STATUS_INVALID_HANDLE, got %08x\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Check NULL handle and too large buffersize\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"Check NULL ReturnLength\0A\00", align 1 @STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [35 x i8] c"Expected STATUS_SUCCESS, got %08x\0A\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Check with correct parameters\0A\00", align 1 @.str.12 = private unnamed_addr constant [24 x i8] c"Inconsistent length %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"Too large buffersize\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"ProcessID : %lx\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Expected a ProcessID > 0, got 0\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_query_process_basic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_query_process_basic() #0 { %1 = alloca i32, align 4 %2 = alloca %struct._PROCESS_BASIC_INFORMATION_PRIVATE, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %3 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str) #3 %4 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef -1, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %5 = load i32, ptr @STATUS_INVALID_INFO_CLASS, align 4, !tbaa !5 %6 = icmp eq i32 %4, %5 %7 = load i32, ptr @STATUS_NOT_IMPLEMENTED, align 4 %8 = icmp eq i32 %4, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = zext i1 %9 to i32 %11 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef %4) #3 %12 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.2) #3 %13 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %14 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %13, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %15 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !5 %16 = icmp eq i32 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.3, i32 noundef %14) #3 %19 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.4) #3 %20 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %21 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %20, ptr noundef null, i32 noundef 32, ptr noundef null) #3 %22 = load i32, ptr @STATUS_ACCESS_VIOLATION, align 4, !tbaa !5 %23 = icmp eq i32 %21, %22 %24 = load i32, ptr @STATUS_INVALID_HANDLE, align 4 %25 = icmp eq i32 %21, %24 %26 = select i1 %23, i1 true, i1 %25 %27 = zext i1 %26 to i32 %28 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %27, ptr noundef nonnull @.str.5, i32 noundef %21) #3 %29 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.6) #3 %30 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %31 = call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %30, ptr noundef nonnull %2, i32 noundef 32, ptr noundef null) #3 %32 = load i32, ptr @STATUS_INVALID_HANDLE, align 4, !tbaa !5 %33 = icmp eq i32 %31, %32 %34 = zext i1 %33 to i32 %35 = call i32 (i32, ptr, ...) @ok(i32 noundef %34, ptr noundef nonnull @.str.7, i32 noundef %31) #3 %36 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.8) #3 %37 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %38 = call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %37, ptr noundef nonnull %2, i32 noundef 64, ptr noundef null) #3 %39 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !5 %40 = icmp eq i32 %38, %39 %41 = zext i1 %40 to i32 %42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.3, i32 noundef %38) #3 %43 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.9) #3 %44 = call ptr (...) @GetCurrentProcess() #3 %45 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %46 = call i32 @pNtQueryInformationProcess(ptr noundef %44, i32 noundef %45, ptr noundef nonnull %2, i32 noundef 32, ptr noundef null) #3 %47 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 %48 = icmp eq i32 %46, %47 %49 = zext i1 %48 to i32 %50 = call i32 (i32, ptr, ...) @ok(i32 noundef %49, ptr noundef nonnull @.str.10, i32 noundef %46) #3 %51 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.11) #3 %52 = call ptr (...) @GetCurrentProcess() #3 %53 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %54 = call i32 @pNtQueryInformationProcess(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %2, i32 noundef 32, ptr noundef nonnull %1) #3 %55 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 %56 = icmp eq i32 %54, %55 %57 = zext i1 %56 to i32 %58 = call i32 (i32, ptr, ...) @ok(i32 noundef %57, ptr noundef nonnull @.str.10, i32 noundef %54) #3 %59 = load i32, ptr %1, align 4, !tbaa !5 %60 = icmp eq i32 %59, 32 %61 = zext i1 %60 to i32 %62 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.12, i32 noundef %59) #3 %63 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.13) #3 %64 = call ptr (...) @GetCurrentProcess() #3 %65 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !5 %66 = call i32 @pNtQueryInformationProcess(ptr noundef %64, i32 noundef %65, ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull %1) #3 %67 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !5 %68 = icmp eq i32 %66, %67 %69 = zext i1 %68 to i32 %70 = call i32 (i32, ptr, ...) @ok(i32 noundef %69, ptr noundef nonnull @.str.3, i32 noundef %66) #3 %71 = load i32, ptr %1, align 4, !tbaa !5 %72 = icmp eq i32 %71, 32 %73 = zext i1 %72 to i32 %74 = call i32 (i32, ptr, ...) @ok(i32 noundef %73, ptr noundef nonnull @.str.12, i32 noundef %71) #3 %75 = getelementptr inbounds %struct._PROCESS_BASIC_INFORMATION_PRIVATE, ptr %2, i64 0, i32 4 %76 = load i64, ptr %75, align 8, !tbaa !9 %77 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.14, i64 noundef %76) #3 %78 = load i64, ptr %75, align 8, !tbaa !9 %79 = icmp sgt i64 %78, 0 %80 = zext i1 %79 to i32 %81 = call i32 (i32, ptr, ...) @ok(i32 noundef %80, ptr noundef nonnull @.str.15) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace(ptr noundef, ...) local_unnamed_addr #2 declare i32 @pNtQueryInformationProcess(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @GetCurrentProcess(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"_PROCESS_BASIC_INFORMATION_PRIVATE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_info.c_test_query_process_basic.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_info.c_test_query_process_basic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct._PROCESS_BASIC_INFORMATION_PRIVATE = type { i32, i32, i32, i32, i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"Check nonexistent info class\0A\00", align 1 @STATUS_INVALID_INFO_CLASS = common local_unnamed_addr global i32 0, align 4 @STATUS_NOT_IMPLEMENTED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [72 x i8] c"Expected STATUS_INVALID_INFO_CLASS or STATUS_NOT_IMPLEMENTED, got %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"Check NULL handle and buffer and zero-length buffersize\0A\00", align 1 @ProcessBasicInformation = common local_unnamed_addr global i32 0, align 4 @STATUS_INFO_LENGTH_MISMATCH = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"Expected STATUS_INFO_LENGTH_MISMATCH, got %08x\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Check NULL handle and buffer\0A\00", align 1 @STATUS_ACCESS_VIOLATION = common local_unnamed_addr global i32 0, align 4 @STATUS_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [75 x i8] c"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_HANDLE(W2K3), got %08x\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Check NULL handle\0A\00", align 1 @.str.7 = private unnamed_addr constant [42 x i8] c"Expected STATUS_INVALID_HANDLE, got %08x\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Check NULL handle and too large buffersize\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"Check NULL ReturnLength\0A\00", align 1 @STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [35 x i8] c"Expected STATUS_SUCCESS, got %08x\0A\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Check with correct parameters\0A\00", align 1 @.str.12 = private unnamed_addr constant [24 x i8] c"Inconsistent length %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"Too large buffersize\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"ProcessID : %lx\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Expected a ProcessID > 0, got 0\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_query_process_basic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_query_process_basic() #0 { %1 = alloca i32, align 4 %2 = alloca %struct._PROCESS_BASIC_INFORMATION_PRIVATE, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %3 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str) #3 %4 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef -1, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %5 = load i32, ptr @STATUS_INVALID_INFO_CLASS, align 4, !tbaa !6 %6 = icmp eq i32 %4, %5 %7 = load i32, ptr @STATUS_NOT_IMPLEMENTED, align 4 %8 = icmp eq i32 %4, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = zext i1 %9 to i32 %11 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef %4) #3 %12 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.2) #3 %13 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %14 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %13, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %15 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !6 %16 = icmp eq i32 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.3, i32 noundef %14) #3 %19 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.4) #3 %20 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %21 = tail call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %20, ptr noundef null, i32 noundef 32, ptr noundef null) #3 %22 = load i32, ptr @STATUS_ACCESS_VIOLATION, align 4, !tbaa !6 %23 = icmp eq i32 %21, %22 %24 = load i32, ptr @STATUS_INVALID_HANDLE, align 4 %25 = icmp eq i32 %21, %24 %26 = select i1 %23, i1 true, i1 %25 %27 = zext i1 %26 to i32 %28 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %27, ptr noundef nonnull @.str.5, i32 noundef %21) #3 %29 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.6) #3 %30 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %31 = call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %30, ptr noundef nonnull %2, i32 noundef 32, ptr noundef null) #3 %32 = load i32, ptr @STATUS_INVALID_HANDLE, align 4, !tbaa !6 %33 = icmp eq i32 %31, %32 %34 = zext i1 %33 to i32 %35 = call i32 (i32, ptr, ...) @ok(i32 noundef %34, ptr noundef nonnull @.str.7, i32 noundef %31) #3 %36 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.8) #3 %37 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %38 = call i32 @pNtQueryInformationProcess(ptr noundef null, i32 noundef %37, ptr noundef nonnull %2, i32 noundef 64, ptr noundef null) #3 %39 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !6 %40 = icmp eq i32 %38, %39 %41 = zext i1 %40 to i32 %42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.3, i32 noundef %38) #3 %43 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.9) #3 %44 = call ptr @GetCurrentProcess() #3 %45 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %46 = call i32 @pNtQueryInformationProcess(ptr noundef %44, i32 noundef %45, ptr noundef nonnull %2, i32 noundef 32, ptr noundef null) #3 %47 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 %48 = icmp eq i32 %46, %47 %49 = zext i1 %48 to i32 %50 = call i32 (i32, ptr, ...) @ok(i32 noundef %49, ptr noundef nonnull @.str.10, i32 noundef %46) #3 %51 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.11) #3 %52 = call ptr @GetCurrentProcess() #3 %53 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %54 = call i32 @pNtQueryInformationProcess(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %2, i32 noundef 32, ptr noundef nonnull %1) #3 %55 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 %56 = icmp eq i32 %54, %55 %57 = zext i1 %56 to i32 %58 = call i32 (i32, ptr, ...) @ok(i32 noundef %57, ptr noundef nonnull @.str.10, i32 noundef %54) #3 %59 = load i32, ptr %1, align 4, !tbaa !6 %60 = icmp eq i32 %59, 32 %61 = zext i1 %60 to i32 %62 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.12, i32 noundef %59) #3 %63 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.13) #3 %64 = call ptr @GetCurrentProcess() #3 %65 = load i32, ptr @ProcessBasicInformation, align 4, !tbaa !6 %66 = call i32 @pNtQueryInformationProcess(ptr noundef %64, i32 noundef %65, ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull %1) #3 %67 = load i32, ptr @STATUS_INFO_LENGTH_MISMATCH, align 4, !tbaa !6 %68 = icmp eq i32 %66, %67 %69 = zext i1 %68 to i32 %70 = call i32 (i32, ptr, ...) @ok(i32 noundef %69, ptr noundef nonnull @.str.3, i32 noundef %66) #3 %71 = load i32, ptr %1, align 4, !tbaa !6 %72 = icmp eq i32 %71, 32 %73 = zext i1 %72 to i32 %74 = call i32 (i32, ptr, ...) @ok(i32 noundef %73, ptr noundef nonnull @.str.12, i32 noundef %71) #3 %75 = getelementptr inbounds i8, ptr %2, i64 16 %76 = load i64, ptr %75, align 8, !tbaa !10 %77 = call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.14, i64 noundef %76) #3 %78 = load i64, ptr %75, align 8, !tbaa !10 %79 = icmp sgt i64 %78, 0 %80 = zext i1 %79 to i32 %81 = call i32 (i32, ptr, ...) @ok(i32 noundef %80, ptr noundef nonnull @.str.15) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace(ptr noundef, ...) local_unnamed_addr #2 declare i32 @pNtQueryInformationProcess(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @GetCurrentProcess(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"_PROCESS_BASIC_INFORMATION_PRIVATE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24} !12 = !{!"long", !8, i64 0}
reactos_modules_rostests_winetests_ntdll_extr_info.c_test_query_process_basic
; ModuleID = 'AnghaBench/linux/arch/csky/kernel/extr_perf_event.c_csky_pmu_read_l2rac.c' source_filename = "AnghaBench/linux/arch/csky/kernel/extr_perf_event.c_csky_pmu_read_l2rac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"<0, 0x31>\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"<0, 0x30>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @csky_pmu_read_l2rac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @csky_pmu_read_l2rac() #0 { br label %1 1: ; preds = %1, %0 %2 = tail call i64 @cprgr(ptr noundef nonnull @.str) #2 %3 = tail call i64 @cprgr(ptr noundef nonnull @.str.1) #2 %4 = tail call i64 @cprgr(ptr noundef nonnull @.str) #2 %5 = icmp eq i64 %4, %2 br i1 %5, label %6, label %1, !llvm.loop !5 6: ; preds = %1 ret i32 poison } declare i64 @cprgr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/csky/kernel/extr_perf_event.c_csky_pmu_read_l2rac.c' source_filename = "AnghaBench/linux/arch/csky/kernel/extr_perf_event.c_csky_pmu_read_l2rac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"<0, 0x31>\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"<0, 0x30>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @csky_pmu_read_l2rac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @csky_pmu_read_l2rac() #0 { br label %1 1: ; preds = %1, %0 %2 = tail call i64 @cprgr(ptr noundef nonnull @.str) #2 %3 = tail call i64 @cprgr(ptr noundef nonnull @.str.1) #2 %4 = tail call i64 @cprgr(ptr noundef nonnull @.str) #2 %5 = icmp eq i64 %4, %2 br i1 %5, label %6, label %1, !llvm.loop !6 6: ; preds = %1 ret i32 poison } declare i64 @cprgr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
linux_arch_csky_kernel_extr_perf_event.c_csky_pmu_read_l2rac
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_full_fsync.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_full_fsync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OS_VXWORKS = dso_local local_unnamed_addr global i64 0, align 8 @ENOTSUP = dso_local local_unnamed_addr global i64 0, align 8 @F_FULLFSYNC = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @sqlite3_fullsync_count = dso_local local_unnamed_addr global i32 0, align 4 @sqlite3_sync_count = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @full_fsync], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @full_fsync(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2 %5 = tail call i32 @UNUSED_PARAMETER(i32 noundef %2) #2 %6 = tail call i32 @fdatasync(i32 noundef %0) #2 %7 = load i64, ptr @OS_VXWORKS, align 8, !tbaa !5 %8 = icmp ne i64 %7, 0 %9 = icmp ne i32 %6, -1 %10 = select i1 %8, i1 %9, i1 false %11 = select i1 %10, i32 0, i32 %6 ret i32 %11 } declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1 declare i32 @fdatasync(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"}
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_full_fsync.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_full_fsync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OS_VXWORKS = common local_unnamed_addr global i64 0, align 8 @ENOTSUP = common local_unnamed_addr global i64 0, align 8 @F_FULLFSYNC = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @sqlite3_fullsync_count = common local_unnamed_addr global i32 0, align 4 @sqlite3_sync_count = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @full_fsync], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @full_fsync(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2 %5 = tail call i32 @UNUSED_PARAMETER(i32 noundef %2) #2 %6 = tail call i32 @fsync(i32 noundef %0) #2 %7 = load i64, ptr @OS_VXWORKS, align 8, !tbaa !6 %8 = icmp ne i64 %7, 0 %9 = icmp ne i32 %6, -1 %10 = select i1 %8, i1 %9, i1 false %11 = select i1 %10, i32 0, i32 %6 ret i32 %11 } declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1 declare i32 @fsync(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"}
mongoose_examples_api_server_extr_sqlite3.c_full_fsync
; ModuleID = 'AnghaBench/RetroArch/extr_retroarch.c_libretro_get_shared_context.c' source_filename = "AnghaBench/RetroArch/extr_retroarch.c_libretro_get_shared_context.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @core_set_shared_context = 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 @libretro_get_shared_context() local_unnamed_addr #0 { %1 = load i32, ptr @core_set_shared_context, 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/RetroArch/extr_retroarch.c_libretro_get_shared_context.c' source_filename = "AnghaBench/RetroArch/extr_retroarch.c_libretro_get_shared_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @core_set_shared_context = 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 @libretro_get_shared_context() local_unnamed_addr #0 { %1 = load i32, ptr @core_set_shared_context, 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"}
RetroArch_extr_retroarch.c_libretro_get_shared_context
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.c_complete_cmd.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.c_complete_cmd.c" target datalayout = "e-m:e-p270:32:32-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.scsi_cmnd = type { ptr, i32 } %struct.NCR5380_hostdata = type { ptr, i32 } @NDEBUG_QUEUES = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"complete_cmd: cmd %p\0A\00", align 1 @GOOD = dso_local local_unnamed_addr global i64 0, align 8 @DRIVER_SENSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @complete_cmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @complete_cmd(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @shost_priv(ptr noundef %0) #2 %4 = load i32, ptr @NDEBUG_QUEUES, align 4, !tbaa !5 %5 = tail call i32 @dsprintk(i32 noundef %4, ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 %6 = load ptr, ptr %3, align 8, !tbaa !9 %7 = icmp eq ptr %6, %1 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = getelementptr inbounds %struct.scsi_cmnd, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i64 @status_byte(i32 noundef %10) #2 %12 = load i64, ptr @GOOD, align 8, !tbaa !14 %13 = icmp eq i64 %11, %12 %14 = getelementptr inbounds %struct.NCR5380_hostdata, ptr %3, i64 0, i32 1 %15 = tail call i32 @scsi_eh_restore_cmnd(ptr noundef nonnull %1, ptr noundef nonnull %14) #2 br i1 %13, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @DRIVER_SENSE, align 4, !tbaa !5 %18 = tail call i32 @set_driver_byte(ptr noundef nonnull %1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %16 store ptr null, ptr %3, align 8, !tbaa !9 br label %20 20: ; preds = %19, %2 %21 = load ptr, ptr %1, align 8, !tbaa !16 %22 = tail call i32 %21(ptr noundef nonnull %1) #2 ret void } declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dsprintk(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @status_byte(i32 noundef) local_unnamed_addr #1 declare i32 @scsi_eh_restore_cmnd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_driver_byte(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 0} !10 = !{!"NCR5380_hostdata", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 8} !13 = !{!"scsi_cmnd", !11, i64 0, !6, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!13, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.c_complete_cmd.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.c_complete_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NDEBUG_QUEUES = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"complete_cmd: cmd %p\0A\00", align 1 @GOOD = common local_unnamed_addr global i64 0, align 8 @DRIVER_SENSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @complete_cmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @complete_cmd(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @shost_priv(ptr noundef %0) #2 %4 = load i32, ptr @NDEBUG_QUEUES, align 4, !tbaa !6 %5 = tail call i32 @dsprintk(i32 noundef %4, ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #2 %6 = load ptr, ptr %3, align 8, !tbaa !10 %7 = icmp eq ptr %6, %1 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = tail call i64 @status_byte(i32 noundef %10) #2 %12 = load i64, ptr @GOOD, align 8, !tbaa !15 %13 = icmp eq i64 %11, %12 %14 = getelementptr inbounds i8, ptr %3, i64 8 %15 = tail call i32 @scsi_eh_restore_cmnd(ptr noundef nonnull %1, ptr noundef nonnull %14) #2 br i1 %13, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @DRIVER_SENSE, align 4, !tbaa !6 %18 = tail call i32 @set_driver_byte(ptr noundef nonnull %1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %16 store ptr null, ptr %3, align 8, !tbaa !10 br label %20 20: ; preds = %19, %2 %21 = load ptr, ptr %1, align 8, !tbaa !17 %22 = tail call i32 %21(ptr noundef nonnull %1) #2 ret void } declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dsprintk(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @status_byte(i32 noundef) local_unnamed_addr #1 declare i32 @scsi_eh_restore_cmnd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_driver_byte(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 0} !11 = !{!"NCR5380_hostdata", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"scsi_cmnd", !12, i64 0, !7, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!14, !12, i64 0}
linux_drivers_scsi_arm_extr_..NCR5380.c_complete_cmd
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cse.c_remove_pseudo_from_table.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cse.c_remove_pseudo_from_table.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VOIDmode = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @remove_pseudo_from_table], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @remove_pseudo_from_table(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @VOIDmode, align 4, !tbaa !5 %4 = tail call ptr @lookup_for_remove(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %2, %6 %7 = phi ptr [ %10, %6 ], [ %4, %2 ] %8 = tail call i32 @remove_from_table(ptr noundef nonnull %7, i32 noundef %1) #2 %9 = load i32, ptr @VOIDmode, align 4, !tbaa !5 %10 = tail call ptr @lookup_for_remove(i32 noundef %0, i32 noundef %1, i32 noundef %9) #2 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %6, !llvm.loop !9 12: ; preds = %6, %2 ret void } declare ptr @lookup_for_remove(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @remove_from_table(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cse.c_remove_pseudo_from_table.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cse.c_remove_pseudo_from_table.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VOIDmode = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @remove_pseudo_from_table], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @remove_pseudo_from_table(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @VOIDmode, align 4, !tbaa !6 %4 = tail call ptr @lookup_for_remove(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %2, %6 %7 = phi ptr [ %10, %6 ], [ %4, %2 ] %8 = tail call i32 @remove_from_table(ptr noundef nonnull %7, i32 noundef %1) #2 %9 = load i32, ptr @VOIDmode, align 4, !tbaa !6 %10 = tail call ptr @lookup_for_remove(i32 noundef %0, i32 noundef %1, i32 noundef %9) #2 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %6, !llvm.loop !10 12: ; preds = %6, %2 ret void } declare ptr @lookup_for_remove(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @remove_from_table(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_cse.c_remove_pseudo_from_table
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.parse.c_syn1b.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.parse.c_syn1b.c" target datalayout = "e-m:e-p270:32:32-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.command = type { i32, ptr, ptr, i32 } %struct.wordent = type { ptr, ptr } @NODE_AND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @syn1b], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @syn1b(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, %1 br i1 %4, label %37, label %5 5: ; preds = %3, %32 %6 = phi i32 [ %33, %32 ], [ 0, %3 ] %7 = phi ptr [ %35, %32 ], [ %0, %3 ] %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !10 switch i32 %9, label %32 [ i32 40, label %10 i32 41, label %12 i32 38, label %14 ] 10: ; preds = %5 %11 = add nsw i32 %6, 1 br label %32 12: ; preds = %5 %13 = add nsw i32 %6, -1 br label %32 14: ; preds = %5 %15 = getelementptr inbounds i32, ptr %8, i64 1 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = icmp eq i32 %16, 38 %18 = icmp eq i32 %6, 0 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %22, label %32 20: ; preds = %22, %37 %21 = phi ptr [ %38, %37 ], [ %23, %22 ] ret ptr %21 22: ; preds = %14 %23 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 32) #2 %24 = load i32, ptr @NODE_AND, align 4, !tbaa !10 %25 = getelementptr inbounds %struct.command, ptr %23, i64 0, i32 3 store i32 %24, ptr %25, align 8, !tbaa !12 %26 = tail call ptr @syn2(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2) #2 %27 = getelementptr inbounds %struct.command, ptr %23, i64 0, i32 2 store ptr %26, ptr %27, align 8, !tbaa !14 %28 = getelementptr inbounds %struct.wordent, ptr %7, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = tail call ptr @syn1b(ptr noundef %29, ptr noundef %1, i32 noundef %2) %31 = getelementptr inbounds %struct.command, ptr %23, i64 0, i32 1 store ptr %30, ptr %31, align 8, !tbaa !16 store i32 0, ptr %23, align 8, !tbaa !17 br label %20 32: ; preds = %5, %14, %12, %10 %33 = phi i32 [ %6, %5 ], [ %6, %14 ], [ %13, %12 ], [ %11, %10 ] %34 = getelementptr inbounds %struct.wordent, ptr %7, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !15 %36 = icmp eq ptr %35, %1 br i1 %36, label %37, label %5, !llvm.loop !18 37: ; preds = %32, %3 %38 = tail call ptr @syn2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 br label %20 } declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @syn2(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, !7, i64 0} !6 = !{!"wordent", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 24} !13 = !{!"command", !11, i64 0, !7, i64 8, !7, i64 16, !11, i64 24} !14 = !{!13, !7, i64 16} !15 = !{!6, !7, i64 8} !16 = !{!13, !7, i64 8} !17 = !{!13, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.parse.c_syn1b.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.parse.c_syn1b.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NODE_AND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @syn1b], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @syn1b(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, %1 br i1 %4, label %37, label %5 5: ; preds = %3, %32 %6 = phi i32 [ %33, %32 ], [ 0, %3 ] %7 = phi ptr [ %35, %32 ], [ %0, %3 ] %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !11 switch i32 %9, label %32 [ i32 40, label %10 i32 41, label %12 i32 38, label %14 ] 10: ; preds = %5 %11 = add nsw i32 %6, 1 br label %32 12: ; preds = %5 %13 = add nsw i32 %6, -1 br label %32 14: ; preds = %5 %15 = getelementptr inbounds i8, ptr %8, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = icmp eq i32 %16, 38 %18 = icmp eq i32 %6, 0 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %22, label %32 20: ; preds = %22, %37 %21 = phi ptr [ %38, %37 ], [ %23, %22 ] ret ptr %21 22: ; preds = %14 %23 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 32) #2 %24 = load i32, ptr @NODE_AND, align 4, !tbaa !11 %25 = getelementptr inbounds i8, ptr %23, i64 24 store i32 %24, ptr %25, align 8, !tbaa !13 %26 = tail call ptr @syn2(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2) #2 %27 = getelementptr inbounds i8, ptr %23, i64 16 store ptr %26, ptr %27, align 8, !tbaa !15 %28 = getelementptr inbounds i8, ptr %7, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = tail call ptr @syn1b(ptr noundef %29, ptr noundef %1, i32 noundef %2) %31 = getelementptr inbounds i8, ptr %23, i64 8 store ptr %30, ptr %31, align 8, !tbaa !17 store i32 0, ptr %23, align 8, !tbaa !18 br label %20 32: ; preds = %5, %14, %12, %10 %33 = phi i32 [ %6, %5 ], [ %6, %14 ], [ %13, %12 ], [ %11, %10 ] %34 = getelementptr inbounds i8, ptr %7, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !16 %36 = icmp eq ptr %35, %1 br i1 %36, label %37, label %5, !llvm.loop !19 37: ; preds = %32, %3 %38 = tail call ptr @syn2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 br label %20 } declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @syn2(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, !8, i64 0} !7 = !{!"wordent", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"command", !12, i64 0, !8, i64 8, !8, i64 16, !12, i64 24} !15 = !{!14, !8, i64 16} !16 = !{!7, !8, i64 8} !17 = !{!14, !8, i64 8} !18 = !{!14, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_tcsh_extr_sh.parse.c_syn1b
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_mbx.c_igb_read_posted_mbx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_mbx.c_igb_read_posted_mbx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @E1000_ERR_MBX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @igb_read_posted_mbx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @igb_read_posted_mbx(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr @E1000_ERR_MBX, align 8, !tbaa !5 %6 = sub nsw i64 0, %5 %7 = load ptr, ptr %0, align 8, !tbaa !9 %8 = icmp eq ptr %7, null br i1 %8, label %15, label %9 9: ; preds = %4 %10 = tail call i64 @igb_poll_for_msg(ptr noundef nonnull %0, i32 noundef %3) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !9 %14 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #2 br label %15 15: ; preds = %9, %12, %4 %16 = phi i64 [ %10, %9 ], [ %14, %12 ], [ %6, %4 ] ret i64 %16 } declare i64 @igb_poll_for_msg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"e1000_mbx_info", !11, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_mbx.c_igb_read_posted_mbx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_mbx.c_igb_read_posted_mbx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E1000_ERR_MBX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @igb_read_posted_mbx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @igb_read_posted_mbx(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr @E1000_ERR_MBX, align 8, !tbaa !6 %6 = sub nsw i64 0, %5 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %15, label %9 9: ; preds = %4 %10 = tail call i64 @igb_poll_for_msg(ptr noundef nonnull %0, i32 noundef %3) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !10 %14 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #2 br label %15 15: ; preds = %9, %12, %4 %16 = phi i64 [ %10, %9 ], [ %14, %12 ], [ %6, %4 ] ret i64 %16 } declare i64 @igb_poll_for_msg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"e1000_mbx_info", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_net_igb_extr_e1000_mbx.c_igb_read_posted_mbx
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_l_cmd.c_QCopyFile.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_l_cmd.c_QCopyFile.c" target datalayout = "e-m:e-p270:32:32-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 @QCopyFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @LoadFile(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0, i32 noundef 0) #3 %5 = call i32 @CreatePath(ptr noundef %1) #3 %6 = load ptr, ptr %3, align 8, !tbaa !5 %7 = call i32 @SaveFile(ptr noundef %1, ptr noundef %6, i32 noundef %4) #3 %8 = load ptr, ptr %3, align 8, !tbaa !5 %9 = call i32 @FreeMemory(ptr noundef %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @LoadFile(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CreatePath(ptr noundef) local_unnamed_addr #2 declare i32 @SaveFile(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FreeMemory(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"}
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_l_cmd.c_QCopyFile.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_l_cmd.c_QCopyFile.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 @QCopyFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @LoadFile(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0, i32 noundef 0) #3 %5 = call i32 @CreatePath(ptr noundef %1) #3 %6 = load ptr, ptr %3, align 8, !tbaa !6 %7 = call i32 @SaveFile(ptr noundef %1, ptr noundef %6, i32 noundef %4) #3 %8 = load ptr, ptr %3, align 8, !tbaa !6 %9 = call i32 @FreeMemory(ptr noundef %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @LoadFile(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CreatePath(ptr noundef) local_unnamed_addr #2 declare i32 @SaveFile(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FreeMemory(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"}
lab_engine_code_bspc_extr_l_cmd.c_QCopyFile
; ModuleID = 'AnghaBench/freebsd/tools/tools/net80211/wesside/wesside/extr_wesside.c_discover_prga.c' source_filename = "AnghaBench/freebsd/tools/tools/net80211/wesside/wesside/extr_wesside.c_discover_prga.c" target datalayout = "e-m:e-p270:32:32-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, i32 } %struct.TYPE_7__ = type { i32 } @fragstate = dso_local global %struct.TYPE_6__ zeroinitializer, align 8 @prgainfo = dso_local global %struct.TYPE_7__ zeroinitializer, align 4 @.str = private unnamed_addr constant [15 x i8] c"gettimeofday()\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @discover_prga(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @fragstate, i64 0, i32 2), align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = load i32, ptr @prgainfo, align 4, !tbaa !11 %6 = icmp sgt i32 %5, 19 %7 = mul nsw i32 %5, 3 %8 = select i1 %6, i32 %7, i32 0 %9 = tail call i32 @prepare_fragstate(ptr noundef nonnull @fragstate, i32 noundef %8) #3 br label %10 10: ; preds = %4, %1 %11 = load i64, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @fragstate, i64 0, i32 1), align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = tail call i32 @send_fragment(i32 noundef %0, ptr noundef nonnull @fragstate, ptr noundef nonnull @prgainfo) #3 %15 = load i64, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @fragstate, i64 0, i32 1), align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = tail call i32 @gettimeofday(ptr noundef nonnull @fragstate, ptr noundef null) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %22 22: ; preds = %13, %20, %17, %10 ret void } declare i32 @prepare_fragstate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @send_fragment(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_6__", !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 = !{!12, !7, i64 0} !12 = !{!"TYPE_7__", !7, i64 0} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/tools/tools/net80211/wesside/wesside/extr_wesside.c_discover_prga.c' source_filename = "AnghaBench/freebsd/tools/tools/net80211/wesside/wesside/extr_wesside.c_discover_prga.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32, i64, i32 } %struct.TYPE_7__ = type { i32 } @fragstate = common global %struct.TYPE_6__ zeroinitializer, align 8 @prgainfo = common global %struct.TYPE_7__ zeroinitializer, align 4 @.str = private unnamed_addr constant [15 x i8] c"gettimeofday()\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @discover_prga(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr getelementptr inbounds (i8, ptr @fragstate, i64 16), align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = load i32, ptr @prgainfo, align 4, !tbaa !12 %6 = icmp sgt i32 %5, 19 %7 = mul nuw nsw i32 %5, 3 %8 = select i1 %6, i32 %7, i32 0 %9 = tail call i32 @prepare_fragstate(ptr noundef nonnull @fragstate, i32 noundef %8) #3 br label %10 10: ; preds = %4, %1 %11 = load i64, ptr getelementptr inbounds (i8, ptr @fragstate, i64 8), align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = tail call i32 @send_fragment(i32 noundef %0, ptr noundef nonnull @fragstate, ptr noundef nonnull @prgainfo) #3 %15 = load i64, ptr getelementptr inbounds (i8, ptr @fragstate, i64 8), align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = tail call i32 @gettimeofday(ptr noundef nonnull @fragstate, ptr noundef null) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %22 22: ; preds = %13, %20, %17, %10 ret void } declare i32 @prepare_fragstate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @send_fragment(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_6__", !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 = !{!13, !8, i64 0} !13 = !{!"TYPE_7__", !8, i64 0} !14 = !{!7, !11, i64 8}
freebsd_tools_tools_net80211_wesside_wesside_extr_wesside.c_discover_prga
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_tb.h_tb_port_write.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_tb.h_tb_port_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.tb_port = type { i32, ptr } %struct.TYPE_4__ = type { ptr, i64 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tb_port_write], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @tb_port_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.tb_port, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %5 %12 = load i32, ptr @ENODEV, align 4, !tbaa !14 %13 = sub nsw i32 0, %12 br label %20 14: ; preds = %5 %15 = load ptr, ptr %7, align 8, !tbaa !15 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = tail call i32 @tb_route(ptr noundef nonnull %7) #2 %18 = load i32, ptr %0, align 8, !tbaa !18 %19 = tail call i32 @tb_cfg_write(i32 noundef %16, ptr noundef %1, i32 noundef %17, i32 noundef %18, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 br label %20 20: ; preds = %14, %11 %21 = phi i32 [ %13, %11 ], [ %19, %14 ] ret i32 %21 } declare i32 @tb_cfg_write(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tb_route(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"tb_port", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_4__", !10, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!12, !10, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_3__", !7, i64 0} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_tb.h_tb_port_write.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_tb.h_tb_port_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tb_port_write], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @tb_port_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %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 !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %5 %12 = load i32, ptr @ENODEV, align 4, !tbaa !15 %13 = sub nsw i32 0, %12 br label %20 14: ; preds = %5 %15 = load ptr, ptr %7, align 8, !tbaa !16 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = tail call i32 @tb_route(ptr noundef nonnull %7) #2 %18 = load i32, ptr %0, align 8, !tbaa !19 %19 = tail call i32 @tb_cfg_write(i32 noundef %16, ptr noundef %1, i32 noundef %17, i32 noundef %18, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 br label %20 20: ; preds = %14, %11 %21 = phi i32 [ %13, %11 ], [ %19, %14 ] ret i32 %21 } declare i32 @tb_cfg_write(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tb_route(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"tb_port", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_4__", !11, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!13, !11, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_3__", !8, i64 0} !19 = !{!7, !8, i64 0}
linux_drivers_thunderbolt_extr_tb.h_tb_port_write
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..retroarch.c_recording_deinit.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_recording_deinit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, ptr } @recording_data = dso_local local_unnamed_addr global ptr null, align 8 @recording_driver = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @recording_deinit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @recording_deinit() #0 { %1 = load ptr, ptr @recording_data, align 8, !tbaa !5 %2 = icmp ne ptr %1, null %3 = load ptr, ptr @recording_driver, align 8 %4 = icmp ne ptr %3, null %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %22 6: ; preds = %0 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !9 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %6 %11 = tail call i32 %8(ptr noundef nonnull %1) #2 %12 = load ptr, ptr @recording_driver, align 8, !tbaa !5 br label %13 13: ; preds = %10, %6 %14 = phi ptr [ %12, %10 ], [ %3, %6 ] %15 = load ptr, ptr %14, align 8, !tbaa !11 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %13 %18 = load ptr, ptr @recording_data, align 8, !tbaa !5 %19 = tail call i32 %15(ptr noundef %18) #2 br label %20 20: ; preds = %17, %13 store ptr null, ptr @recording_data, align 8, !tbaa !5 store ptr null, ptr @recording_driver, align 8, !tbaa !5 %21 = tail call i32 (...) @video_driver_gpu_record_deinit() #2 br label %22 22: ; preds = %0, %20 %23 = phi i32 [ 1, %20 ], [ 0, %0 ] ret i32 %23 } declare i32 @video_driver_gpu_record_deinit(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_2__", !6, i64 0, !6, i64 8} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..retroarch.c_recording_deinit.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_recording_deinit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @recording_data = common local_unnamed_addr global ptr null, align 8 @recording_driver = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @recording_deinit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @recording_deinit() #0 { %1 = load ptr, ptr @recording_data, align 8, !tbaa !6 %2 = icmp ne ptr %1, null %3 = load ptr, ptr @recording_driver, align 8 %4 = icmp ne ptr %3, null %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %22 6: ; preds = %0 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %6 %11 = tail call i32 %8(ptr noundef nonnull %1) #2 %12 = load ptr, ptr @recording_driver, align 8, !tbaa !6 br label %13 13: ; preds = %10, %6 %14 = phi ptr [ %12, %10 ], [ %3, %6 ] %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %13 %18 = load ptr, ptr @recording_data, align 8, !tbaa !6 %19 = tail call i32 %15(ptr noundef %18) #2 br label %20 20: ; preds = %17, %13 store ptr null, ptr @recording_data, align 8, !tbaa !6 store ptr null, ptr @recording_driver, align 8, !tbaa !6 %21 = tail call i32 @video_driver_gpu_record_deinit() #2 br label %22 22: ; preds = %0, %20 %23 = phi i32 [ 1, %20 ], [ 0, %0 ] ret i32 %23 } declare i32 @video_driver_gpu_record_deinit(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !12 = !{!11, !7, i64 0}
RetroArch_griffin_extr_..retroarch.c_recording_deinit
; ModuleID = 'AnghaBench/git/extr_compatbswap.h_default_swab32.c' source_filename = "AnghaBench/git/extr_compatbswap.h_default_swab32.c" target datalayout = "e-m:e-p270:32:32-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 @default_swab32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @default_swab32(i32 noundef %0) #0 { %2 = tail call i32 @llvm.bswap.i32(i32 %0) ret i32 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.bswap.i32(i32) #1 attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/extr_compatbswap.h_default_swab32.c' source_filename = "AnghaBench/git/extr_compatbswap.h_default_swab32.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 @default_swab32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @default_swab32(i32 noundef %0) #0 { %2 = tail call i32 @llvm.bswap.i32(i32 %0) ret i32 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.bswap.i32(i32) #1 attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_extr_compatbswap.h_default_swab32
; ModuleID = 'AnghaBench/openssl/crypto/conf/extr_conf_mod.c_module_find.c' source_filename = "AnghaBench/openssl/crypto/conf/extr_conf_mod.c_module_find.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @supported_modules = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @module_find], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @module_find(ptr noundef %0) #0 { %2 = tail call ptr @strrchr(ptr noundef %0, i8 noundef signext 46) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %0 to i64 %7 = sub i64 %5, %6 %8 = trunc i64 %7 to i32 br label %11 9: ; preds = %1 %10 = tail call i32 @strlen(ptr noundef %0) #2 br label %11 11: ; preds = %9, %4 %12 = phi i32 [ %8, %4 ], [ %10, %9 ] %13 = load i32, ptr @supported_modules, align 4, !tbaa !5 %14 = tail call i32 @sk_CONF_MODULE_num(i32 noundef %13) #2 %15 = icmp sgt i32 %14, 0 br i1 %15, label %21, label %28 16: ; preds = %21 %17 = add nuw nsw i32 %22, 1 %18 = load i32, ptr @supported_modules, align 4, !tbaa !5 %19 = tail call i32 @sk_CONF_MODULE_num(i32 noundef %18) #2 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %28, !llvm.loop !9 21: ; preds = %11, %16 %22 = phi i32 [ %17, %16 ], [ 0, %11 ] %23 = load i32, ptr @supported_modules, align 4, !tbaa !5 %24 = tail call ptr @sk_CONF_MODULE_value(i32 noundef %23, i32 noundef %22) #2 %25 = load i32, ptr %24, align 4, !tbaa !11 %26 = tail call i64 @strncmp(i32 noundef %25, ptr noundef %0, i32 noundef %12) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %16 28: ; preds = %21, %16, %11 %29 = phi ptr [ null, %11 ], [ null, %16 ], [ %24, %21 ] ret ptr %29 } declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @sk_CONF_MODULE_num(i32 noundef) local_unnamed_addr #1 declare ptr @sk_CONF_MODULE_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/conf/extr_conf_mod.c_module_find.c' source_filename = "AnghaBench/openssl/crypto/conf/extr_conf_mod.c_module_find.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @supported_modules = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @module_find], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @module_find(ptr noundef %0) #0 { %2 = tail call ptr @strrchr(ptr noundef %0, i8 noundef signext 46) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %0 to i64 %7 = sub i64 %5, %6 %8 = trunc i64 %7 to i32 br label %11 9: ; preds = %1 %10 = tail call i32 @strlen(ptr noundef %0) #2 br label %11 11: ; preds = %9, %4 %12 = phi i32 [ %8, %4 ], [ %10, %9 ] %13 = load i32, ptr @supported_modules, align 4, !tbaa !6 %14 = tail call i32 @sk_CONF_MODULE_num(i32 noundef %13) #2 %15 = icmp sgt i32 %14, 0 br i1 %15, label %21, label %28 16: ; preds = %21 %17 = add nuw nsw i32 %22, 1 %18 = load i32, ptr @supported_modules, align 4, !tbaa !6 %19 = tail call i32 @sk_CONF_MODULE_num(i32 noundef %18) #2 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %28, !llvm.loop !10 21: ; preds = %11, %16 %22 = phi i32 [ %17, %16 ], [ 0, %11 ] %23 = load i32, ptr @supported_modules, align 4, !tbaa !6 %24 = tail call ptr @sk_CONF_MODULE_value(i32 noundef %23, i32 noundef %22) #2 %25 = load i32, ptr %24, align 4, !tbaa !12 %26 = tail call i64 @strncmp(i32 noundef %25, ptr noundef %0, i32 noundef %12) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %16 28: ; preds = %21, %16, %11 %29 = phi ptr [ null, %11 ], [ null, %16 ], [ %24, %21 ] ret ptr %29 } declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @sk_CONF_MODULE_num(i32 noundef) local_unnamed_addr #1 declare ptr @sk_CONF_MODULE_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
openssl_crypto_conf_extr_conf_mod.c_module_find
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/sbus/char/extr_jsflash.c_jsf_lseek.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/sbus/char/extr_jsflash.c_jsf_lseek.c" target datalayout = "e-m:e-p270:32:32-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 @jsf_lseek], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @jsf_lseek(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 (...) @lock_kernel() #2 switch i32 %2, label %9 [ i32 0, label %5 i32 1, label %6 ] 5: ; preds = %3 store i32 %1, ptr %0, align 4, !tbaa !5 br label %12 6: ; preds = %3 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = add nsw i32 %7, %1 store i32 %8, ptr %0, align 4, !tbaa !5 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !10 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %6, %5 %13 = phi i32 [ %11, %9 ], [ %8, %6 ], [ %1, %5 ] %14 = tail call i32 (...) @unlock_kernel() #2 ret i32 %13 } declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @unlock_kernel(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"file", !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/fastsocket/kernel/drivers/sbus/char/extr_jsflash.c_jsf_lseek.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/sbus/char/extr_jsflash.c_jsf_lseek.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 @jsf_lseek], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @jsf_lseek(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @lock_kernel() #2 switch i32 %2, label %9 [ i32 0, label %5 i32 1, label %6 ] 5: ; preds = %3 store i32 %1, ptr %0, align 4, !tbaa !6 br label %12 6: ; preds = %3 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = add nsw i32 %7, %1 store i32 %8, ptr %0, align 4, !tbaa !6 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %6, %5 %13 = phi i32 [ %11, %9 ], [ %8, %6 ], [ %1, %5 ] %14 = tail call i32 @unlock_kernel() #2 ret i32 %13 } declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @unlock_kernel(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"file", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_sbus_char_extr_jsflash.c_jsf_lseek
; ModuleID = 'AnghaBench/linux/arch/m68k/kernel/extr_signal.c_push_cache.c' source_filename = "AnghaBench/linux/arch/m68k/kernel/extr_signal.c_push_cache.c" target datalayout = "e-m:e-p270:32:32-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 @push_cache], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @push_cache(i64 %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/m68k/kernel/extr_signal.c_push_cache.c' source_filename = "AnghaBench/linux/arch/m68k/kernel/extr_signal.c_push_cache.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 @push_cache], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @push_cache(i64 %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_m68k_kernel_extr_signal.c_push_cache
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_state.c__conn_rq_cond.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_state.c__conn_rq_cond.c" target datalayout = "e-m:e-p270:32:32-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.drbd_connection = type { i64, i32 } @SS_UNKNOWN_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @CONN_WD_ST_CHG_OKAY = dso_local local_unnamed_addr global i32 0, align 4 @SS_CW_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @CONN_WD_ST_CHG_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @SS_CW_FAILED_BY_PEER = dso_local local_unnamed_addr global i32 0, align 4 @SS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @C_WF_REPORT_PARAMS = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_conn_rq_cond], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_conn_rq_cond(ptr noundef %0, i32 %1, i32 %2) #0 { %4 = load i32, ptr @SS_UNKNOWN_ERROR, align 4, !tbaa !5 %5 = load i32, ptr @CONN_WD_ST_CHG_OKAY, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.drbd_connection, ptr %0, i64 0, i32 1 %7 = tail call i64 @test_and_clear_bit(i32 noundef %5, ptr noundef nonnull %6) #2 %8 = load i32, ptr @SS_CW_SUCCESS, align 4 %9 = load i32, ptr @CONN_WD_ST_CHG_FAIL, align 4, !tbaa !5 %10 = tail call i64 @test_and_clear_bit(i32 noundef %9, ptr noundef nonnull %6) #2 %11 = load i32, ptr @SS_CW_FAILED_BY_PEER, align 4 %12 = tail call i32 @conn_is_valid_transition(ptr noundef %0, i32 %1, i32 %2, i32 noundef 0) #2 %13 = load i32, ptr @SS_SUCCESS, align 4, !tbaa !5 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %3 %16 = icmp eq i64 %10, 0 %17 = icmp eq i64 %7, 0 %18 = select i1 %17, i32 %4, i32 %8 %19 = select i1 %16, i32 %18, i32 %11 %20 = load i64, ptr %0, align 8, !tbaa !9 %21 = load i64, ptr @C_WF_REPORT_PARAMS, align 8, !tbaa !12 %22 = icmp eq i64 %20, %21 br i1 %22, label %24, label %23 23: ; preds = %15, %3 br label %24 24: ; preds = %15, %23 %25 = phi i32 [ %12, %23 ], [ %19, %15 ] ret i32 %25 } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @conn_is_valid_transition(ptr noundef, i32, i32, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"drbd_connection", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_state.c__conn_rq_cond.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_state.c__conn_rq_cond.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SS_UNKNOWN_ERROR = common local_unnamed_addr global i32 0, align 4 @CONN_WD_ST_CHG_OKAY = common local_unnamed_addr global i32 0, align 4 @SS_CW_SUCCESS = common local_unnamed_addr global i32 0, align 4 @CONN_WD_ST_CHG_FAIL = common local_unnamed_addr global i32 0, align 4 @SS_CW_FAILED_BY_PEER = common local_unnamed_addr global i32 0, align 4 @SS_SUCCESS = common local_unnamed_addr global i32 0, align 4 @C_WF_REPORT_PARAMS = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_conn_rq_cond], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_conn_rq_cond(ptr noundef %0, i64 %1, i64 %2) #0 { %4 = load i32, ptr @SS_UNKNOWN_ERROR, align 4, !tbaa !6 %5 = load i32, ptr @CONN_WD_ST_CHG_OKAY, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = tail call i64 @test_and_clear_bit(i32 noundef %5, ptr noundef nonnull %6) #2 %8 = load i32, ptr @SS_CW_SUCCESS, align 4 %9 = load i32, ptr @CONN_WD_ST_CHG_FAIL, align 4, !tbaa !6 %10 = tail call i64 @test_and_clear_bit(i32 noundef %9, ptr noundef nonnull %6) #2 %11 = load i32, ptr @SS_CW_FAILED_BY_PEER, align 4 %12 = and i64 %1, 4294967295 %13 = and i64 %2, 4294967295 %14 = tail call i32 @conn_is_valid_transition(ptr noundef %0, i64 %12, i64 %13, i32 noundef 0) #2 %15 = load i32, ptr @SS_SUCCESS, align 4, !tbaa !6 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %3 %18 = icmp eq i64 %10, 0 %19 = icmp eq i64 %7, 0 %20 = select i1 %19, i32 %4, i32 %8 %21 = select i1 %18, i32 %20, i32 %11 %22 = load i64, ptr %0, align 8, !tbaa !10 %23 = load i64, ptr @C_WF_REPORT_PARAMS, align 8, !tbaa !13 %24 = icmp eq i64 %22, %23 br i1 %24, label %26, label %25 25: ; preds = %17, %3 br label %26 26: ; preds = %17, %25 %27 = phi i32 [ %14, %25 ], [ %21, %17 ] ret i32 %27 } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @conn_is_valid_transition(ptr noundef, i64, i64, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"drbd_connection", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_drivers_block_drbd_extr_drbd_state.c__conn_rq_cond
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_diskspace.c_test_SetupCreateDiskSpaceListW.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_diskspace.c_test_SetupCreateDiskSpaceListW.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERROR_CALL_NOT_IMPLEMENTED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"SetupCreateDiskSpaceListW is not implemented\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"Expected SetupCreateDiskSpaceListW to return a valid handle, got NULL\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Expected SetupDestroyDiskSpaceList to succeed\0A\00", align 1 @SPDSL_IGNORE_DISK = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [59 x i8] c"Expected SetupCreateDiskSpaceListW to return NULL, got %p\0A\00", align 1 @ERROR_INVALID_PARAMETER = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [67 x i8] c"Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_SetupCreateDiskSpaceListW], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_SetupCreateDiskSpaceListW() #0 { %1 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef 0) #2 %2 = icmp ne ptr %1, null br i1 %2, label %9, label %3 3: ; preds = %0 %4 = tail call i32 (...) @GetLastError() #2 %5 = load i32, ptr @ERROR_CALL_NOT_IMPLEMENTED, align 4, !tbaa !5 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @win_skip(ptr noundef nonnull @.str) #2 br label %97 9: ; preds = %3, %0 %10 = zext i1 %2 to i32 %11 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %10, ptr noundef nonnull @.str.1) #2 %12 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef %1) #2 %13 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %12, ptr noundef nonnull @.str.2) #2 %14 = load i32, ptr @SPDSL_IGNORE_DISK, align 4, !tbaa !5 %15 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef %14) #2 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.1) #2 %19 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef %15) #2 %20 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.2) #2 %21 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %22 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef -1) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %32 24: ; preds = %9 %25 = tail call i32 (i32, ptr, ...) @ok(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef null) #2 %26 = tail call i32 (...) @GetLastError() #2 %27 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !5 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 %30 = tail call i32 (...) @GetLastError() #2 %31 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.4, i32 noundef %30) #2 br label %39 32: ; preds = %9 %33 = tail call i64 @broken(i32 noundef 1) #2 %34 = icmp ne i64 %33, 0 %35 = zext i1 %34 to i32 %36 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.3, ptr noundef nonnull %22) #2 %37 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef nonnull %22) #2 %38 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.2) #2 br label %39 39: ; preds = %32, %24 %40 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %41 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef -559038737, i32 noundef 0) #2 %42 = icmp eq ptr %41, null %43 = zext i1 %42 to i32 %44 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %43, ptr noundef nonnull @.str.3, ptr noundef %41) #2 %45 = tail call i32 (...) @GetLastError() #2 %46 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !5 %47 = icmp eq i32 %45, %46 br i1 %47, label %55, label %48 48: ; preds = %39 %49 = tail call i32 (...) @GetLastError() #2 %50 = icmp eq i32 %49, -559038737 %51 = zext i1 %50 to i32 %52 = tail call i64 @broken(i32 noundef %51) #2 %53 = icmp ne i64 %52, 0 %54 = zext i1 %53 to i32 br label %55 55: ; preds = %48, %39 %56 = phi i32 [ 1, %39 ], [ %54, %48 ] %57 = tail call i32 (...) @GetLastError() #2 %58 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.4, i32 noundef %57) #2 %59 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %60 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef nonnull inttoptr (i64 3735928559 to ptr), i32 noundef 0, i32 noundef 0) #2 %61 = icmp eq ptr %60, null %62 = zext i1 %61 to i32 %63 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %62, ptr noundef nonnull @.str.3, ptr noundef %60) #2 %64 = tail call i32 (...) @GetLastError() #2 %65 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !5 %66 = icmp eq i32 %64, %65 br i1 %66, label %74, label %67 67: ; preds = %55 %68 = tail call i32 (...) @GetLastError() #2 %69 = icmp eq i32 %68, -559038737 %70 = zext i1 %69 to i32 %71 = tail call i64 @broken(i32 noundef %70) #2 %72 = icmp ne i64 %71, 0 %73 = zext i1 %72 to i32 br label %74 74: ; preds = %67, %55 %75 = phi i32 [ 1, %55 ], [ %73, %67 ] %76 = tail call i32 (...) @GetLastError() #2 %77 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %75, ptr noundef nonnull @.str.4, i32 noundef %76) #2 %78 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %79 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef nonnull inttoptr (i64 3735928559 to ptr), i32 noundef -559038737, i32 noundef 0) #2 %80 = icmp eq ptr %79, null %81 = zext i1 %80 to i32 %82 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %81, ptr noundef nonnull @.str.3, ptr noundef %79) #2 %83 = tail call i32 (...) @GetLastError() #2 %84 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !5 %85 = icmp eq i32 %83, %84 br i1 %85, label %93, label %86 86: ; preds = %74 %87 = tail call i32 (...) @GetLastError() #2 %88 = icmp eq i32 %87, -559038737 %89 = zext i1 %88 to i32 %90 = tail call i64 @broken(i32 noundef %89) #2 %91 = icmp ne i64 %90, 0 %92 = zext i1 %91 to i32 br label %93 93: ; preds = %86, %74 %94 = phi i32 [ 1, %74 ], [ %92, %86 ] %95 = tail call i32 (...) @GetLastError() #2 %96 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %94, ptr noundef nonnull @.str.4, i32 noundef %95) #2 br label %97 97: ; preds = %93, %7 ret void } declare ptr @SetupCreateDiskSpaceListW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetLastError(...) local_unnamed_addr #1 declare i32 @win_skip(ptr noundef) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @SetupDestroyDiskSpaceList(ptr noundef) local_unnamed_addr #1 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1 declare i64 @broken(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/reactos/modules/rostests/winetests/setupapi/extr_diskspace.c_test_SetupCreateDiskSpaceListW.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_diskspace.c_test_SetupCreateDiskSpaceListW.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR_CALL_NOT_IMPLEMENTED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"SetupCreateDiskSpaceListW is not implemented\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"Expected SetupCreateDiskSpaceListW to return a valid handle, got NULL\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Expected SetupDestroyDiskSpaceList to succeed\0A\00", align 1 @SPDSL_IGNORE_DISK = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [59 x i8] c"Expected SetupCreateDiskSpaceListW to return NULL, got %p\0A\00", align 1 @ERROR_INVALID_PARAMETER = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [67 x i8] c"Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_SetupCreateDiskSpaceListW], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_SetupCreateDiskSpaceListW() #0 { %1 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef 0) #2 %2 = icmp ne ptr %1, null br i1 %2, label %9, label %3 3: ; preds = %0 %4 = tail call i32 @GetLastError() #2 %5 = load i32, ptr @ERROR_CALL_NOT_IMPLEMENTED, align 4, !tbaa !6 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @win_skip(ptr noundef nonnull @.str) #2 br label %97 9: ; preds = %3, %0 %10 = zext i1 %2 to i32 %11 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %10, ptr noundef nonnull @.str.1) #2 %12 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef %1) #2 %13 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %12, ptr noundef nonnull @.str.2) #2 %14 = load i32, ptr @SPDSL_IGNORE_DISK, align 4, !tbaa !6 %15 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef %14) #2 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.1) #2 %19 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef %15) #2 %20 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.2) #2 %21 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %22 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef 0, i32 noundef -1) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %32 24: ; preds = %9 %25 = tail call i32 (i32, ptr, ...) @ok(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef null) #2 %26 = tail call i32 @GetLastError() #2 %27 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !6 %28 = icmp eq i32 %26, %27 %29 = zext i1 %28 to i32 %30 = tail call i32 @GetLastError() #2 %31 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.4, i32 noundef %30) #2 br label %39 32: ; preds = %9 %33 = tail call i64 @broken(i32 noundef 1) #2 %34 = icmp ne i64 %33, 0 %35 = zext i1 %34 to i32 %36 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.3, ptr noundef nonnull %22) #2 %37 = tail call i32 @SetupDestroyDiskSpaceList(ptr noundef nonnull %22) #2 %38 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.2) #2 br label %39 39: ; preds = %32, %24 %40 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %41 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef null, i32 noundef -559038737, i32 noundef 0) #2 %42 = icmp eq ptr %41, null %43 = zext i1 %42 to i32 %44 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %43, ptr noundef nonnull @.str.3, ptr noundef %41) #2 %45 = tail call i32 @GetLastError() #2 %46 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !6 %47 = icmp eq i32 %45, %46 br i1 %47, label %55, label %48 48: ; preds = %39 %49 = tail call i32 @GetLastError() #2 %50 = icmp eq i32 %49, -559038737 %51 = zext i1 %50 to i32 %52 = tail call i64 @broken(i32 noundef %51) #2 %53 = icmp ne i64 %52, 0 %54 = zext i1 %53 to i32 br label %55 55: ; preds = %48, %39 %56 = phi i32 [ 1, %39 ], [ %54, %48 ] %57 = tail call i32 @GetLastError() #2 %58 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.4, i32 noundef %57) #2 %59 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %60 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef nonnull inttoptr (i64 3735928559 to ptr), i32 noundef 0, i32 noundef 0) #2 %61 = icmp eq ptr %60, null %62 = zext i1 %61 to i32 %63 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %62, ptr noundef nonnull @.str.3, ptr noundef %60) #2 %64 = tail call i32 @GetLastError() #2 %65 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !6 %66 = icmp eq i32 %64, %65 br i1 %66, label %74, label %67 67: ; preds = %55 %68 = tail call i32 @GetLastError() #2 %69 = icmp eq i32 %68, -559038737 %70 = zext i1 %69 to i32 %71 = tail call i64 @broken(i32 noundef %70) #2 %72 = icmp ne i64 %71, 0 %73 = zext i1 %72 to i32 br label %74 74: ; preds = %67, %55 %75 = phi i32 [ 1, %55 ], [ %73, %67 ] %76 = tail call i32 @GetLastError() #2 %77 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %75, ptr noundef nonnull @.str.4, i32 noundef %76) #2 %78 = tail call i32 @SetLastError(i32 noundef -559038737) #2 %79 = tail call ptr @SetupCreateDiskSpaceListW(ptr noundef nonnull inttoptr (i64 3735928559 to ptr), i32 noundef -559038737, i32 noundef 0) #2 %80 = icmp eq ptr %79, null %81 = zext i1 %80 to i32 %82 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %81, ptr noundef nonnull @.str.3, ptr noundef %79) #2 %83 = tail call i32 @GetLastError() #2 %84 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !6 %85 = icmp eq i32 %83, %84 br i1 %85, label %93, label %86 86: ; preds = %74 %87 = tail call i32 @GetLastError() #2 %88 = icmp eq i32 %87, -559038737 %89 = zext i1 %88 to i32 %90 = tail call i64 @broken(i32 noundef %89) #2 %91 = icmp ne i64 %90, 0 %92 = zext i1 %91 to i32 br label %93 93: ; preds = %86, %74 %94 = phi i32 [ 1, %74 ], [ %92, %86 ] %95 = tail call i32 @GetLastError() #2 %96 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %94, ptr noundef nonnull @.str.4, i32 noundef %95) #2 br label %97 97: ; preds = %93, %7 ret void } declare ptr @SetupCreateDiskSpaceListW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetLastError(...) local_unnamed_addr #1 declare i32 @win_skip(ptr noundef) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @SetupDestroyDiskSpaceList(ptr noundef) local_unnamed_addr #1 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1 declare i64 @broken(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"}
reactos_modules_rostests_winetests_setupapi_extr_diskspace.c_test_SetupCreateDiskSpaceListW
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pearl_pcie.c_qtnf_pcie_data_tx_timeout.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pearl_pcie.c_qtnf_pcie_data_tx_timeout.c" target datalayout = "e-m:e-p270:32:32-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 @qtnf_pcie_data_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qtnf_pcie_data_tx_timeout(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @get_bus_priv(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @tasklet_hi_schedule(ptr noundef %4) #2 ret void } declare i64 @get_bus_priv(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_hi_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)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pearl_pcie.c_qtnf_pcie_data_tx_timeout.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pearl_pcie.c_qtnf_pcie_data_tx_timeout.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 @qtnf_pcie_data_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qtnf_pcie_data_tx_timeout(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @get_bus_priv(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @tasklet_hi_schedule(ptr noundef %4) #2 ret void } declare i64 @get_bus_priv(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_hi_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)"}
linux_drivers_net_wireless_quantenna_qtnfmac_pcie_extr_pearl_pcie.c_qtnf_pcie_data_tx_timeout
; ModuleID = 'AnghaBench/freebsd/sys/dev/random/extr_unit_test.c_block_deflate.c' source_filename = "AnghaBench/freebsd/sys/dev/random/extr_unit_test.c_block_deflate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64, i64, i64, ptr, ptr, ptr, i32, i32 } @myalloc = dso_local local_unnamed_addr global i32 0, align 4 @myfree = dso_local local_unnamed_addr global i32 0, align 4 @Z_DEFAULT_COMPRESSION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"deflateInit\00", align 1 @Z_NO_FLUSH = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"deflate(..., Z_NO_FLUSH)\00", align 1 @Z_FINISH = dso_local local_unnamed_addr global i32 0, align 4 @Z_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"deflate(..., Z_STREAM_END)\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"deflateEnd\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @block_deflate(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3 %5 = icmp eq i64 %2, 0 br i1 %5, label %52, label %6 6: ; preds = %3 %7 = load i32, ptr @myalloc, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 8 store i32 %7, ptr %8, align 4, !tbaa !9 %9 = load i32, ptr @myfree, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 7 store i32 %9, ptr %10, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 6 store ptr null, ptr %11, align 8, !tbaa !14 %12 = load i32, ptr @Z_DEFAULT_COMPRESSION, align 4, !tbaa !5 %13 = call i32 @deflateInit(ptr noundef nonnull %4, i32 noundef %12) #3 %14 = call i32 @check_err(i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 5 store ptr %0, ptr %15, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 4 store ptr %1, ptr %16, align 8, !tbaa !16 store i64 %2, ptr %4, align 8, !tbaa !17 %17 = shl i64 %2, 1 %18 = add i64 %17, 512 %19 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 store i64 %18, ptr %19, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3 %22 = load i64, ptr %20, align 8, !tbaa !19 %23 = icmp ne i64 %22, %2 %24 = load i64, ptr %21, align 8 %25 = icmp ult i64 %24, %18 %26 = select i1 %23, i1 %25, i1 false br i1 %26, label %32, label %27 27: ; preds = %32, %6 %28 = load i32, ptr @Z_FINISH, align 4, !tbaa !5 %29 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %28) #3 %30 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !5 %31 = icmp eq i32 %29, %30 br i1 %31, label %48, label %41 32: ; preds = %6, %32 %33 = load i32, ptr @Z_NO_FLUSH, align 4, !tbaa !5 %34 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %33) #3 %35 = call i32 @check_err(i32 noundef %34, ptr noundef nonnull @.str.1) #3 %36 = load i64, ptr %20, align 8, !tbaa !19 %37 = icmp ne i64 %36, %2 %38 = load i64, ptr %21, align 8 %39 = icmp ult i64 %38, %18 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %32, label %27, !llvm.loop !20 41: ; preds = %27, %41 %42 = phi i32 [ %45, %41 ], [ %29, %27 ] %43 = call i32 @check_err(i32 noundef %42, ptr noundef nonnull @.str.2) #3 %44 = load i32, ptr @Z_FINISH, align 4, !tbaa !5 %45 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %44) #3 %46 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !5 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %41 48: ; preds = %41, %27 %49 = call i32 @deflateEnd(ptr noundef nonnull %4) #3 %50 = call i32 @check_err(i32 noundef %49, ptr noundef nonnull @.str.3) #3 %51 = load i64, ptr %21, align 8, !tbaa !22 br label %52 52: ; preds = %3, %48 %53 = phi i64 [ %51, %48 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3 ret i64 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @deflateInit(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @check_err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @deflate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @deflateEnd(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 60} !10 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !6, i64 56, !6, i64 60} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 56} !14 = !{!10, !12, i64 48} !15 = !{!10, !12, i64 40} !16 = !{!10, !12, i64 32} !17 = !{!10, !11, i64 0} !18 = !{!10, !11, i64 8} !19 = !{!10, !11, i64 16} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!10, !11, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/dev/random/extr_unit_test.c_block_deflate.c' source_filename = "AnghaBench/freebsd/sys/dev/random/extr_unit_test.c_block_deflate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64, i64, i64, i64, ptr, ptr, ptr, i32, i32 } @myalloc = common local_unnamed_addr global i32 0, align 4 @myfree = common local_unnamed_addr global i32 0, align 4 @Z_DEFAULT_COMPRESSION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"deflateInit\00", align 1 @Z_NO_FLUSH = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"deflate(..., Z_NO_FLUSH)\00", align 1 @Z_FINISH = common local_unnamed_addr global i32 0, align 4 @Z_STREAM_END = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"deflate(..., Z_STREAM_END)\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"deflateEnd\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @block_deflate(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3 %5 = icmp eq i64 %2, 0 br i1 %5, label %52, label %6 6: ; preds = %3 %7 = load i32, ptr @myalloc, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 60 store i32 %7, ptr %8, align 4, !tbaa !10 %9 = load i32, ptr @myfree, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %4, i64 56 store i32 %9, ptr %10, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %4, i64 48 store ptr null, ptr %11, align 8, !tbaa !15 %12 = load i32, ptr @Z_DEFAULT_COMPRESSION, align 4, !tbaa !6 %13 = call i32 @deflateInit(ptr noundef nonnull %4, i32 noundef %12) #3 %14 = call i32 @check_err(i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = getelementptr inbounds i8, ptr %4, i64 40 store ptr %0, ptr %15, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %4, i64 32 store ptr %1, ptr %16, align 8, !tbaa !17 store i64 %2, ptr %4, align 8, !tbaa !18 %17 = shl i64 %2, 1 %18 = add i64 %17, 512 %19 = getelementptr inbounds i8, ptr %4, i64 8 store i64 %18, ptr %19, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %4, i64 16 %21 = getelementptr inbounds i8, ptr %4, i64 24 %22 = load i64, ptr %20, align 8, !tbaa !20 %23 = icmp ne i64 %22, %2 %24 = load i64, ptr %21, align 8 %25 = icmp ult i64 %24, %18 %26 = select i1 %23, i1 %25, i1 false br i1 %26, label %32, label %27 27: ; preds = %32, %6 %28 = load i32, ptr @Z_FINISH, align 4, !tbaa !6 %29 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %28) #3 %30 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !6 %31 = icmp eq i32 %29, %30 br i1 %31, label %48, label %41 32: ; preds = %6, %32 %33 = load i32, ptr @Z_NO_FLUSH, align 4, !tbaa !6 %34 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %33) #3 %35 = call i32 @check_err(i32 noundef %34, ptr noundef nonnull @.str.1) #3 %36 = load i64, ptr %20, align 8, !tbaa !20 %37 = icmp ne i64 %36, %2 %38 = load i64, ptr %21, align 8 %39 = icmp ult i64 %38, %18 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %32, label %27, !llvm.loop !21 41: ; preds = %27, %41 %42 = phi i32 [ %45, %41 ], [ %29, %27 ] %43 = call i32 @check_err(i32 noundef %42, ptr noundef nonnull @.str.2) #3 %44 = load i32, ptr @Z_FINISH, align 4, !tbaa !6 %45 = call i32 @deflate(ptr noundef nonnull %4, i32 noundef %44) #3 %46 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !6 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %41 48: ; preds = %41, %27 %49 = call i32 @deflateEnd(ptr noundef nonnull %4) #3 %50 = call i32 @check_err(i32 noundef %49, ptr noundef nonnull @.str.3) #3 %51 = load i64, ptr %21, align 8, !tbaa !23 br label %52 52: ; preds = %3, %48 %53 = phi i64 [ %51, %48 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3 ret i64 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @deflateInit(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @check_err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @deflate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @deflateEnd(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 60} !11 = !{!"TYPE_5__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !7, i64 56, !7, i64 60} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 56} !15 = !{!11, !13, i64 48} !16 = !{!11, !13, i64 40} !17 = !{!11, !13, i64 32} !18 = !{!11, !12, i64 0} !19 = !{!11, !12, i64 8} !20 = !{!11, !12, i64 16} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!11, !12, i64 24}
freebsd_sys_dev_random_extr_unit_test.c_block_deflate
; ModuleID = 'AnghaBench/freebsd/sys/cam/ata/extr_ata_xpt.c_ata_action.c' source_filename = "AnghaBench/freebsd/sys/cam/ata/extr_ata_xpt.c_ata_action.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_11__ = type { ptr, i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @PROTO_SCSI = dso_local local_unnamed_addr global i32 0, align 4 @CAM_DEV_IDENTIFY_DATA_VALID = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PROTO_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PROTO_CFA = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PROTO_ATAPI_16 = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PROTO_ATAPI_12 = dso_local local_unnamed_addr global i32 0, align 4 @CAM_REQ_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ata_action], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ata_action(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 switch i32 %2, label %28 [ i32 128, label %3 i32 132, label %8 i32 130, label %8 i32 131, label %14 i32 133, label %20 i32 129, label %22 i32 134, label %26 ] 3: ; preds = %1 %4 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @FALSE, align 4, !tbaa !8 %7 = tail call i32 @ata_set_transfer_settings(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %6) #2 br label %30 8: ; preds = %1, %1 %9 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !10 %13 = tail call i32 @ata_scan_bus(i32 noundef %12, ptr noundef nonnull %0) #2 br label %30 14: ; preds = %1 %15 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.TYPE_11__, ptr %16, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !10 %19 = tail call i32 @ata_scan_lun(i32 noundef %18, ptr noundef %16, i32 noundef 131, ptr noundef nonnull %0) #2 br label %30 20: ; preds = %1 %21 = tail call i32 @ata_get_transfer_settings(ptr noundef nonnull %0) #2 br label %30 22: ; preds = %1 %23 = load i32, ptr @CAM_REQ_INVALID, align 4, !tbaa !8 %24 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 store i32 %23, ptr %24, align 4, !tbaa !5 %25 = tail call i32 @xpt_done(ptr noundef nonnull %0) #2 br label %30 26: ; preds = %1 %27 = tail call i32 @ata_dev_advinfo(ptr noundef nonnull %0) #2 br label %30 28: ; preds = %1 %29 = tail call i32 @xpt_action_default(ptr noundef nonnull %0) #2 br label %30 30: ; preds = %22, %28, %26, %20, %14, %8, %3 ret void } declare i32 @ata_set_transfer_settings(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ata_scan_bus(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_scan_lun(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_get_transfer_settings(ptr noundef) local_unnamed_addr #1 declare i32 @xpt_done(ptr noundef) local_unnamed_addr #1 declare i32 @xpt_action_default(ptr noundef) local_unnamed_addr #1 declare i32 @ata_dev_advinfo(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !9, i64 8} !11 = !{!"TYPE_11__", !12, i64 0, !9, i64 8} !12 = !{!"any pointer", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cam/ata/extr_ata_xpt.c_ata_action.c' source_filename = "AnghaBench/freebsd/sys/cam/ata/extr_ata_xpt.c_ata_action.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @PROTO_SCSI = common local_unnamed_addr global i32 0, align 4 @CAM_DEV_IDENTIFY_DATA_VALID = common local_unnamed_addr global i32 0, align 4 @ATA_PROTO_MASK = common local_unnamed_addr global i32 0, align 4 @ATA_PROTO_CFA = common local_unnamed_addr global i32 0, align 4 @ATA_PROTO_ATAPI_16 = common local_unnamed_addr global i32 0, align 4 @ATA_PROTO_ATAPI_12 = common local_unnamed_addr global i32 0, align 4 @CAM_REQ_INVALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ata_action], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ata_action(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 switch i32 %2, label %28 [ i32 128, label %3 i32 132, label %8 i32 130, label %8 i32 131, label %14 i32 133, label %20 i32 129, label %22 i32 134, label %26 ] 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @FALSE, align 4, !tbaa !9 %7 = tail call i32 @ata_set_transfer_settings(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %6) #2 br label %30 8: ; preds = %1, %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !11 %13 = tail call i32 @ata_scan_bus(i32 noundef %12, ptr noundef nonnull %0) #2 br label %30 14: ; preds = %1 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !6 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !11 %19 = tail call i32 @ata_scan_lun(i32 noundef %18, ptr noundef %16, i32 noundef 131, ptr noundef nonnull %0) #2 br label %30 20: ; preds = %1 %21 = tail call i32 @ata_get_transfer_settings(ptr noundef nonnull %0) #2 br label %30 22: ; preds = %1 %23 = load i32, ptr @CAM_REQ_INVALID, align 4, !tbaa !9 %24 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %23, ptr %24, align 4, !tbaa !6 %25 = tail call i32 @xpt_done(ptr noundef nonnull %0) #2 br label %30 26: ; preds = %1 %27 = tail call i32 @ata_dev_advinfo(ptr noundef nonnull %0) #2 br label %30 28: ; preds = %1 %29 = tail call i32 @xpt_action_default(ptr noundef nonnull %0) #2 br label %30 30: ; preds = %22, %28, %26, %20, %14, %8, %3 ret void } declare i32 @ata_set_transfer_settings(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ata_scan_bus(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_scan_lun(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_get_transfer_settings(ptr noundef) local_unnamed_addr #1 declare i32 @xpt_done(ptr noundef) local_unnamed_addr #1 declare i32 @xpt_action_default(ptr noundef) local_unnamed_addr #1 declare i32 @ata_dev_advinfo(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_11__", !13, i64 0, !10, i64 8} !13 = !{!"any pointer", !7, i64 0}
freebsd_sys_cam_ata_extr_ata_xpt.c_ata_action
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_RB_MRT_BUF_INFO_COLOR_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" @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT(i32 noundef %0) #0 { %2 = load i32, ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__SHIFT = common local_unnamed_addr global i32 0, align 4 @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT(i32 noundef %0) #0 { %2 = load i32, ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_pnfs.c_pnfs_init_lseg.c' source_filename = "AnghaBench/linux/fs/nfs/extr_pnfs.c_pnfs_init_lseg.c" target datalayout = "e-m:e-p270:32:32-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.pnfs_layout_segment = type { i32, %struct.pnfs_layout_range, ptr, i32, i32, i32, i32 } %struct.pnfs_layout_range = type { i32 } @NFS_LSEG_VALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pnfs_init_lseg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pnfs_init_lseg(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 6 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 5 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 4 %10 = tail call i32 @refcount_set(ptr noundef nonnull %9, i32 noundef 1) #2 %11 = load i32, ptr @NFS_LSEG_VALID, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 3 %13 = tail call i32 @set_bit(i32 noundef %11, ptr noundef nonnull %12) #2 %14 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 2 store ptr %0, ptr %14, align 8, !tbaa !9 %15 = getelementptr inbounds %struct.pnfs_layout_segment, ptr %1, i64 0, i32 1 %16 = load i32, ptr %2, align 4, !tbaa !5 store i32 %16, ptr %15, align 4, !tbaa !5 %17 = load i32, ptr %3, align 4, !tbaa !13 %18 = tail call i32 @be32_to_cpu(i32 noundef %17) #2 store i32 %18, ptr %1, align 8, !tbaa !15 ret void } declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(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, !12, i64 8} !10 = !{!"pnfs_layout_segment", !6, i64 0, !11, i64 4, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28} !11 = !{!"pnfs_layout_range", !6, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_3__", !6, i64 0} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_pnfs.c_pnfs_init_lseg.c' source_filename = "AnghaBench/linux/fs/nfs/extr_pnfs.c_pnfs_init_lseg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFS_LSEG_VALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pnfs_init_lseg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pnfs_init_lseg(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 28 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %1, i64 24 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %1, i64 20 %10 = tail call i32 @refcount_set(ptr noundef nonnull %9, i32 noundef 1) #2 %11 = load i32, ptr @NFS_LSEG_VALID, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %1, i64 16 %13 = tail call i32 @set_bit(i32 noundef %11, ptr noundef nonnull %12) #2 %14 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %0, ptr %14, align 8, !tbaa !10 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %2, align 4, !tbaa !6 store i32 %16, ptr %15, align 4, !tbaa !6 %17 = load i32, ptr %3, align 4, !tbaa !14 %18 = tail call i32 @be32_to_cpu(i32 noundef %17) #2 store i32 %18, ptr %1, align 8, !tbaa !16 ret void } declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(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, !13, i64 8} !11 = !{!"pnfs_layout_segment", !7, i64 0, !12, i64 4, !13, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !12 = !{!"pnfs_layout_range", !7, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!11, !7, i64 0}
linux_fs_nfs_extr_pnfs.c_pnfs_init_lseg
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_NewSockEvent.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_NewSockEvent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @NewSockEvent() local_unnamed_addr #0 { %1 = tail call ptr (...) @UnixNewSockEvent() #2 ret ptr %1 } declare ptr @UnixNewSockEvent(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/SoftEtherVPN/src/Mayaqua/extr_Network.c_NewSockEvent.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_NewSockEvent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @NewSockEvent() local_unnamed_addr #0 { %1 = tail call ptr @UnixNewSockEvent() #2 ret ptr %1 } declare ptr @UnixNewSockEvent(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
SoftEtherVPN_src_Mayaqua_extr_Network.c_NewSockEvent
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_pcy_node.c_policy_node_free.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_pcy_node.c_policy_node_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" ; Function Attrs: nounwind uwtable define dso_local void @policy_node_free(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @OPENSSL_free(ptr noundef %0) #2 ret void } declare i32 @OPENSSL_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)"}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_pcy_node.c_policy_node_free.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_pcy_node.c_policy_node_free.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 @policy_node_free(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @OPENSSL_free(ptr noundef %0) #2 ret void } declare i32 @OPENSSL_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)"}
openssl_crypto_x509_extr_pcy_node.c_policy_node_free
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_depth.c_gl_clear_depth_buffer.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_depth.c_gl_clear_depth_buffer.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, %struct.TYPE_10__, ptr, %struct.TYPE_8__ } %struct.TYPE_10__ = type { i64 } %struct.TYPE_8__ = type { i32 } %struct.TYPE_11__ = type { ptr, i64, i64, i64, i64, i64, i64 } @DEPTH_SCALE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @gl_clear_depth_buffer(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @DEPTH_SCALE, align 4, !tbaa !14 %5 = mul nsw i32 %4, %3 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = load i64, ptr %9, align 8, !tbaa !16 %11 = icmp eq i64 %10, 0 br i1 %11, label %132, label %12 12: ; preds = %1 %13 = load ptr, ptr %0, align 8, !tbaa !18 %14 = load ptr, ptr %13, align 8, !tbaa !19 %15 = icmp eq ptr %14, null br i1 %15, label %132, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !21 %19 = icmp eq i64 %18, 0 br i1 %19, label %72, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !22 %23 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 0, i32 2 %24 = load i64, ptr %23, align 8, !tbaa !23 %25 = icmp sgt i64 %22, %24 br i1 %25, label %132, label %26 26: ; preds = %20 %27 = insertelement <2 x ptr> poison, ptr %7, i64 0 %28 = shufflevector <2 x ptr> %27, <2 x ptr> poison, <2 x i32> zeroinitializer br label %29 29: ; preds = %26, %66 %30 = phi ptr [ %68, %66 ], [ %13, %26 ] %31 = phi i64 [ %67, %66 ], [ %22, %26 ] %32 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 0, i32 3 %33 = load i64, ptr %32, align 8, !tbaa !24 %34 = tail call ptr @Z_ADDRESS(ptr noundef nonnull %0, i64 noundef %33, i64 noundef %31) #2 %35 = load ptr, ptr %0, align 8, !tbaa !18 %36 = getelementptr inbounds %struct.TYPE_11__, ptr %35, i64 0, i32 4 %37 = load i64, ptr %36, align 8, !tbaa !25 %38 = getelementptr inbounds %struct.TYPE_11__, ptr %35, i64 0, i32 3 %39 = load i64, ptr %38, align 8, !tbaa !24 %40 = add i64 %37, 1 %41 = sub i64 %40, %39 %42 = icmp ult i64 %41, 4 br i1 %42, label %57, label %43 43: ; preds = %29 %44 = and i64 %41, -4 %45 = shl i64 %44, 3 %46 = getelementptr i8, ptr %34, i64 %45 %47 = and i64 %41, 3 br label %48 48: ; preds = %48, %43 %49 = phi i64 [ 0, %43 ], [ %53, %48 ] %50 = shl i64 %49, 3 %51 = getelementptr i8, ptr %34, i64 %50 %52 = getelementptr ptr, ptr %51, i64 2 store <2 x ptr> %28, ptr %51, align 8, !tbaa !26 store <2 x ptr> %28, ptr %52, align 8, !tbaa !26 %53 = add nuw i64 %49, 4 %54 = icmp eq i64 %53, %44 br i1 %54, label %55, label %48, !llvm.loop !27 55: ; preds = %48 %56 = icmp eq i64 %41, %44 br i1 %56, label %66, label %57 57: ; preds = %29, %55 %58 = phi ptr [ %34, %29 ], [ %46, %55 ] %59 = phi i64 [ %41, %29 ], [ %47, %55 ] br label %60 60: ; preds = %57, %60 %61 = phi ptr [ %63, %60 ], [ %58, %57 ] %62 = phi i64 [ %64, %60 ], [ %59, %57 ] %63 = getelementptr inbounds ptr, ptr %61, i64 1 store ptr %7, ptr %61, align 8, !tbaa !26 %64 = add nsw i64 %62, -1 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %60, !llvm.loop !31 66: ; preds = %60, %55 %67 = add nsw i64 %31, 1 %68 = load ptr, ptr %0, align 8, !tbaa !18 %69 = getelementptr inbounds %struct.TYPE_11__, ptr %68, i64 0, i32 2 %70 = load i64, ptr %69, align 8, !tbaa !23 %71 = icmp slt i64 %31, %70 br i1 %71, label %29, label %132, !llvm.loop !32 72: ; preds = %16 %73 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 0, i32 5 %74 = load i64, ptr %73, align 8, !tbaa !33 %75 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 0, i32 6 %76 = load i64, ptr %75, align 8, !tbaa !34 %77 = mul nsw i64 %76, %74 %78 = icmp sgt i64 %77, 15 br i1 %78, label %101, label %79 79: ; preds = %101, %72 %80 = phi ptr [ %14, %72 ], [ %119, %101 ] %81 = phi i64 [ %77, %72 ], [ %120, %101 ] %82 = icmp sgt i64 %81, 0 br i1 %82, label %83, label %132 83: ; preds = %79 %84 = icmp ult i64 %81, 4 br i1 %84, label %122, label %85 85: ; preds = %83 %86 = and i64 %81, 9223372036854775804 %87 = and i64 %81, 3 %88 = shl i64 %86, 3 %89 = getelementptr i8, ptr %80, i64 %88 %90 = insertelement <2 x ptr> poison, ptr %7, i64 0 %91 = shufflevector <2 x ptr> %90, <2 x ptr> poison, <2 x i32> zeroinitializer br label %92 92: ; preds = %92, %85 %93 = phi i64 [ 0, %85 ], [ %97, %92 ] %94 = shl i64 %93, 3 %95 = getelementptr i8, ptr %80, i64 %94 %96 = getelementptr ptr, ptr %95, i64 2 store <2 x ptr> %91, ptr %95, align 8, !tbaa !26 store <2 x ptr> %91, ptr %96, align 8, !tbaa !26 %97 = add nuw i64 %93, 4 %98 = icmp eq i64 %97, %86 br i1 %98, label %99, label %92, !llvm.loop !35 99: ; preds = %92 %100 = icmp eq i64 %81, %86 br i1 %100, label %132, label %122 101: ; preds = %72, %101 %102 = phi i64 [ %120, %101 ], [ %77, %72 ] %103 = phi ptr [ %119, %101 ], [ %14, %72 ] store ptr %7, ptr %103, align 8, !tbaa !26 %104 = getelementptr inbounds ptr, ptr %103, i64 1 store ptr %7, ptr %104, align 8, !tbaa !26 %105 = getelementptr inbounds ptr, ptr %103, i64 2 store ptr %7, ptr %105, align 8, !tbaa !26 %106 = getelementptr inbounds ptr, ptr %103, i64 3 store ptr %7, ptr %106, align 8, !tbaa !26 %107 = getelementptr inbounds ptr, ptr %103, i64 4 store ptr %7, ptr %107, align 8, !tbaa !26 %108 = getelementptr inbounds ptr, ptr %103, i64 5 store ptr %7, ptr %108, align 8, !tbaa !26 %109 = getelementptr inbounds ptr, ptr %103, i64 6 store ptr %7, ptr %109, align 8, !tbaa !26 %110 = getelementptr inbounds ptr, ptr %103, i64 7 store ptr %7, ptr %110, align 8, !tbaa !26 %111 = getelementptr inbounds ptr, ptr %103, i64 8 store ptr %7, ptr %111, align 8, !tbaa !26 %112 = getelementptr inbounds ptr, ptr %103, i64 9 store ptr %7, ptr %112, align 8, !tbaa !26 %113 = getelementptr inbounds ptr, ptr %103, i64 10 store ptr %7, ptr %113, align 8, !tbaa !26 %114 = getelementptr inbounds ptr, ptr %103, i64 11 store ptr %7, ptr %114, align 8, !tbaa !26 %115 = getelementptr inbounds ptr, ptr %103, i64 12 store ptr %7, ptr %115, align 8, !tbaa !26 %116 = getelementptr inbounds ptr, ptr %103, i64 13 store ptr %7, ptr %116, align 8, !tbaa !26 %117 = getelementptr inbounds ptr, ptr %103, i64 14 store ptr %7, ptr %117, align 8, !tbaa !26 %118 = getelementptr inbounds ptr, ptr %103, i64 15 store ptr %7, ptr %118, align 8, !tbaa !26 %119 = getelementptr inbounds ptr, ptr %103, i64 16 %120 = add nsw i64 %102, -16 %121 = icmp ugt i64 %102, 31 br i1 %121, label %101, label %79, !llvm.loop !36 122: ; preds = %99, %83 %123 = phi i64 [ %81, %83 ], [ %87, %99 ] %124 = phi ptr [ %80, %83 ], [ %89, %99 ] store ptr %7, ptr %124, align 8, !tbaa !26 %125 = icmp ugt i64 %123, 1 br i1 %125, label %126, label %132, !llvm.loop !37 126: ; preds = %122 %127 = getelementptr inbounds ptr, ptr %124, i64 1 store ptr %7, ptr %127, align 8, !tbaa !26 %128 = add nsw i64 %123, -3 %129 = icmp ult i64 %128, -2 br i1 %129, label %130, label %132, !llvm.loop !37 130: ; preds = %126 %131 = getelementptr inbounds ptr, ptr %124, i64 2 store ptr %7, ptr %131, align 8, !tbaa !26 br label %132 132: ; preds = %66, %122, %126, %130, %99, %20, %79, %1, %12 ret void } declare ptr @Z_ADDRESS(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !13, i64 24} !6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !7, i64 16, !12, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_9__", !11, i64 0} !18 = !{!6, !7, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_11__", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48} !21 = !{!6, !11, i64 8} !22 = !{!20, !11, i64 8} !23 = !{!20, !11, i64 16} !24 = !{!20, !11, i64 24} !25 = !{!20, !11, i64 32} !26 = !{!7, !7, i64 0} !27 = distinct !{!27, !28, !29, !30} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!"llvm.loop.isvectorized", i32 1} !30 = !{!"llvm.loop.unroll.runtime.disable"} !31 = distinct !{!31, !28, !30, !29} !32 = distinct !{!32, !28} !33 = !{!20, !11, i64 40} !34 = !{!20, !11, i64 48} !35 = distinct !{!35, !28, !29, !30} !36 = distinct !{!36, !28} !37 = distinct !{!37, !28, !30, !29}
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_depth.c_gl_clear_depth_buffer.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_depth.c_gl_clear_depth_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEPTH_SCALE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @gl_clear_depth_buffer(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @DEPTH_SCALE, align 4, !tbaa !15 %5 = mul nsw i32 %4, %3 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !16 %10 = load i64, ptr %9, align 8, !tbaa !17 %11 = icmp eq i64 %10, 0 br i1 %11, label %152, label %12 12: ; preds = %1 %13 = load ptr, ptr %0, align 8, !tbaa !19 %14 = load ptr, ptr %13, align 8, !tbaa !20 %15 = icmp eq ptr %14, null br i1 %15, label %152, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !22 %19 = icmp eq i64 %18, 0 br i1 %19, label %74, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %13, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !23 %23 = getelementptr inbounds i8, ptr %13, i64 16 %24 = load i64, ptr %23, align 8, !tbaa !24 %25 = icmp sgt i64 %22, %24 br i1 %25, label %152, label %26 26: ; preds = %20 %27 = insertelement <2 x ptr> poison, ptr %7, i64 0 %28 = shufflevector <2 x ptr> %27, <2 x ptr> poison, <2 x i32> zeroinitializer br label %29 29: ; preds = %26, %68 %30 = phi ptr [ %70, %68 ], [ %13, %26 ] %31 = phi i64 [ %69, %68 ], [ %22, %26 ] %32 = getelementptr inbounds i8, ptr %30, i64 24 %33 = load i64, ptr %32, align 8, !tbaa !25 %34 = tail call ptr @Z_ADDRESS(ptr noundef nonnull %0, i64 noundef %33, i64 noundef %31) #2 %35 = load ptr, ptr %0, align 8, !tbaa !19 %36 = getelementptr inbounds i8, ptr %35, i64 32 %37 = load i64, ptr %36, align 8, !tbaa !26 %38 = getelementptr inbounds i8, ptr %35, i64 24 %39 = load i64, ptr %38, align 8, !tbaa !25 %40 = add i64 %37, 1 %41 = sub i64 %40, %39 %42 = icmp ult i64 %41, 8 br i1 %42, label %59, label %43 43: ; preds = %29 %44 = and i64 %41, -8 %45 = shl i64 %44, 3 %46 = getelementptr i8, ptr %34, i64 %45 %47 = and i64 %41, 7 br label %48 48: ; preds = %48, %43 %49 = phi i64 [ 0, %43 ], [ %55, %48 ] %50 = shl i64 %49, 3 %51 = getelementptr i8, ptr %34, i64 %50 %52 = getelementptr i8, ptr %51, i64 16 %53 = getelementptr i8, ptr %51, i64 32 %54 = getelementptr i8, ptr %51, i64 48 store <2 x ptr> %28, ptr %51, align 8, !tbaa !27 store <2 x ptr> %28, ptr %52, align 8, !tbaa !27 store <2 x ptr> %28, ptr %53, align 8, !tbaa !27 store <2 x ptr> %28, ptr %54, align 8, !tbaa !27 %55 = add nuw i64 %49, 8 %56 = icmp eq i64 %55, %44 br i1 %56, label %57, label %48, !llvm.loop !28 57: ; preds = %48 %58 = icmp eq i64 %41, %44 br i1 %58, label %68, label %59 59: ; preds = %57, %29 %60 = phi ptr [ %34, %29 ], [ %46, %57 ] %61 = phi i64 [ %41, %29 ], [ %47, %57 ] br label %62 62: ; preds = %59, %62 %63 = phi ptr [ %65, %62 ], [ %60, %59 ] %64 = phi i64 [ %66, %62 ], [ %61, %59 ] %65 = getelementptr inbounds i8, ptr %63, i64 8 store ptr %7, ptr %63, align 8, !tbaa !27 %66 = add nsw i64 %64, -1 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %62, !llvm.loop !32 68: ; preds = %62, %57 %69 = add nsw i64 %31, 1 %70 = load ptr, ptr %0, align 8, !tbaa !19 %71 = getelementptr inbounds i8, ptr %70, i64 16 %72 = load i64, ptr %71, align 8, !tbaa !24 %73 = icmp slt i64 %31, %72 br i1 %73, label %29, label %152, !llvm.loop !33 74: ; preds = %16 %75 = getelementptr inbounds i8, ptr %13, i64 40 %76 = load i64, ptr %75, align 8, !tbaa !34 %77 = getelementptr inbounds i8, ptr %13, i64 48 %78 = load i64, ptr %77, align 8, !tbaa !35 %79 = mul nsw i64 %78, %76 %80 = icmp sgt i64 %79, 15 br i1 %80, label %105, label %81 81: ; preds = %105, %74 %82 = phi ptr [ %14, %74 ], [ %123, %105 ] %83 = phi i64 [ %79, %74 ], [ %124, %105 ] %84 = icmp sgt i64 %83, 0 br i1 %84, label %85, label %152 85: ; preds = %81 %86 = icmp ult i64 %83, 8 br i1 %86, label %126, label %87 87: ; preds = %85 %88 = and i64 %83, 9223372036854775800 %89 = and i64 %83, 7 %90 = shl i64 %88, 3 %91 = getelementptr i8, ptr %82, i64 %90 %92 = insertelement <2 x ptr> poison, ptr %7, i64 0 %93 = shufflevector <2 x ptr> %92, <2 x ptr> poison, <2 x i32> zeroinitializer br label %94 94: ; preds = %94, %87 %95 = phi i64 [ 0, %87 ], [ %101, %94 ] %96 = shl i64 %95, 3 %97 = getelementptr i8, ptr %82, i64 %96 %98 = getelementptr i8, ptr %97, i64 16 %99 = getelementptr i8, ptr %97, i64 32 %100 = getelementptr i8, ptr %97, i64 48 store <2 x ptr> %93, ptr %97, align 8, !tbaa !27 store <2 x ptr> %93, ptr %98, align 8, !tbaa !27 store <2 x ptr> %93, ptr %99, align 8, !tbaa !27 store <2 x ptr> %93, ptr %100, align 8, !tbaa !27 %101 = add nuw i64 %95, 8 %102 = icmp eq i64 %101, %88 br i1 %102, label %103, label %94, !llvm.loop !36 103: ; preds = %94 %104 = icmp eq i64 %83, %88 br i1 %104, label %152, label %126 105: ; preds = %74, %105 %106 = phi i64 [ %124, %105 ], [ %79, %74 ] %107 = phi ptr [ %123, %105 ], [ %14, %74 ] store ptr %7, ptr %107, align 8, !tbaa !27 %108 = getelementptr inbounds i8, ptr %107, i64 8 store ptr %7, ptr %108, align 8, !tbaa !27 %109 = getelementptr inbounds i8, ptr %107, i64 16 store ptr %7, ptr %109, align 8, !tbaa !27 %110 = getelementptr inbounds i8, ptr %107, i64 24 store ptr %7, ptr %110, align 8, !tbaa !27 %111 = getelementptr inbounds i8, ptr %107, i64 32 store ptr %7, ptr %111, align 8, !tbaa !27 %112 = getelementptr inbounds i8, ptr %107, i64 40 store ptr %7, ptr %112, align 8, !tbaa !27 %113 = getelementptr inbounds i8, ptr %107, i64 48 store ptr %7, ptr %113, align 8, !tbaa !27 %114 = getelementptr inbounds i8, ptr %107, i64 56 store ptr %7, ptr %114, align 8, !tbaa !27 %115 = getelementptr inbounds i8, ptr %107, i64 64 store ptr %7, ptr %115, align 8, !tbaa !27 %116 = getelementptr inbounds i8, ptr %107, i64 72 store ptr %7, ptr %116, align 8, !tbaa !27 %117 = getelementptr inbounds i8, ptr %107, i64 80 store ptr %7, ptr %117, align 8, !tbaa !27 %118 = getelementptr inbounds i8, ptr %107, i64 88 store ptr %7, ptr %118, align 8, !tbaa !27 %119 = getelementptr inbounds i8, ptr %107, i64 96 store ptr %7, ptr %119, align 8, !tbaa !27 %120 = getelementptr inbounds i8, ptr %107, i64 104 store ptr %7, ptr %120, align 8, !tbaa !27 %121 = getelementptr inbounds i8, ptr %107, i64 112 store ptr %7, ptr %121, align 8, !tbaa !27 %122 = getelementptr inbounds i8, ptr %107, i64 120 store ptr %7, ptr %122, align 8, !tbaa !27 %123 = getelementptr inbounds i8, ptr %107, i64 128 %124 = add nsw i64 %106, -16 %125 = icmp ugt i64 %106, 31 br i1 %125, label %105, label %81, !llvm.loop !37 126: ; preds = %85, %103 %127 = phi i64 [ %83, %85 ], [ %89, %103 ] %128 = phi ptr [ %82, %85 ], [ %91, %103 ] store ptr %7, ptr %128, align 8, !tbaa !27 %129 = icmp ugt i64 %127, 1 br i1 %129, label %130, label %152, !llvm.loop !38 130: ; preds = %126 %131 = getelementptr inbounds i8, ptr %128, i64 8 store ptr %7, ptr %131, align 8, !tbaa !27 %132 = add nsw i64 %127, -3 %133 = icmp ult i64 %132, -2 br i1 %133, label %134, label %152, !llvm.loop !38 134: ; preds = %130 %135 = getelementptr inbounds i8, ptr %128, i64 16 store ptr %7, ptr %135, align 8, !tbaa !27 %136 = and i64 %127, 6 %137 = icmp eq i64 %136, 2 br i1 %137, label %152, label %138, !llvm.loop !38 138: ; preds = %134 %139 = getelementptr inbounds i8, ptr %128, i64 24 store ptr %7, ptr %139, align 8, !tbaa !27 %140 = add nsw i64 %127, -5 %141 = icmp ult i64 %140, -2 br i1 %141, label %142, label %152, !llvm.loop !38 142: ; preds = %138 %143 = getelementptr inbounds i8, ptr %128, i64 32 store ptr %7, ptr %143, align 8, !tbaa !27 %144 = and i64 %127, 6 %145 = icmp eq i64 %144, 4 br i1 %145, label %152, label %146, !llvm.loop !38 146: ; preds = %142 %147 = getelementptr inbounds i8, ptr %128, i64 40 store ptr %7, ptr %147, align 8, !tbaa !27 %148 = add nsw i64 %127, -7 %149 = icmp ult i64 %148, -2 br i1 %149, label %150, label %152, !llvm.loop !38 150: ; preds = %146 %151 = getelementptr inbounds i8, ptr %128, i64 48 store ptr %7, ptr %151, align 8, !tbaa !27 br label %152 152: ; preds = %68, %126, %130, %134, %138, %142, %146, %150, %103, %20, %81, %1, %12 ret void } declare ptr @Z_ADDRESS(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !14, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !8, i64 16, !13, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_9__", !12, i64 0} !19 = !{!7, !8, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_11__", !8, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48} !22 = !{!7, !12, i64 8} !23 = !{!21, !12, i64 8} !24 = !{!21, !12, i64 16} !25 = !{!21, !12, i64 24} !26 = !{!21, !12, i64 32} !27 = !{!8, !8, i64 0} !28 = distinct !{!28, !29, !30, !31} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!"llvm.loop.isvectorized", i32 1} !31 = !{!"llvm.loop.unroll.runtime.disable"} !32 = distinct !{!32, !29, !31, !30} !33 = distinct !{!33, !29} !34 = !{!21, !12, i64 40} !35 = !{!21, !12, i64 48} !36 = distinct !{!36, !29, !30, !31} !37 = distinct !{!37, !29} !38 = distinct !{!38, !29, !31, !30}
reactos_dll_opengl_mesa_extr_depth.c_gl_clear_depth_buffer
; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_cmac.c_cf_cmac_stream_init.c' source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_cmac.c_cf_cmac_stream_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" ; Function Attrs: nounwind uwtable define dso_local void @cf_cmac_stream_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @cf_cmac_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %5 = tail call i32 @cf_cmac_stream_reset(ptr noundef %0) #2 ret void } declare i32 @cf_cmac_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cf_cmac_stream_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_cmac.c_cf_cmac_stream_init.c' source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/extr_cmac.c_cf_cmac_stream_init.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 @cf_cmac_stream_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @cf_cmac_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %5 = tail call i32 @cf_cmac_stream_reset(ptr noundef %0) #2 ret void } declare i32 @cf_cmac_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cf_cmac_stream_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
h2o_deps_picotls_deps_cifra_src_extr_cmac.c_cf_cmac_stream_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp.c_sclp_state_change_cb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp.c_sclp_state_change_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sclp_statechangebuf = type { i32, i32, i64, i32, i64, i32, i64 } @sclp_lock = dso_local global i32 0, align 4 @sclp_receive_mask = dso_local local_unnamed_addr global i32 0, align 4 @sclp_send_mask = dso_local local_unnamed_addr global i32 0, align 4 @sclp_facilities = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sclp_state_change_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sclp_state_change_cb(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 4 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @sclp_lock, i64 noundef undef) #2 %6 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 6 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 5 %11 = load i32, ptr %10, align 8, !tbaa !12 store i32 %11, ptr @sclp_receive_mask, align 4, !tbaa !13 br label %12 12: ; preds = %9, %4 %13 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 4 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 3 %18 = load i32, ptr %17, align 8, !tbaa !15 store i32 %18, ptr @sclp_send_mask, align 4, !tbaa !13 br label %19 19: ; preds = %16, %12 %20 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @sclp_lock, i64 noundef undef) #2 %21 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %19 %25 = getelementptr inbounds %struct.sclp_statechangebuf, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !17 store i32 %26, ptr @sclp_facilities, align 4, !tbaa !13 br label %27 27: ; preds = %24, %19 %28 = tail call i32 (...) @sclp_dispatch_state_change() #2 br label %29 29: ; preds = %1, %27 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sclp_dispatch_state_change(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"sclp_statechangebuf", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40} !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 40} !12 = !{!6, !7, i64 32} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 24} !15 = !{!6, !7, i64 16} !16 = !{!6, !10, i64 8} !17 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp.c_sclp_state_change_cb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp.c_sclp_state_change_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sclp_lock = common global i32 0, align 4 @sclp_receive_mask = common local_unnamed_addr global i32 0, align 4 @sclp_send_mask = common local_unnamed_addr global i32 0, align 4 @sclp_facilities = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sclp_state_change_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sclp_state_change_cb(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 4 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @sclp_lock, i64 noundef undef) #2 %6 = getelementptr inbounds i8, ptr %0, i64 40 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load i32, ptr %10, align 8, !tbaa !13 store i32 %11, ptr @sclp_receive_mask, align 4, !tbaa !14 br label %12 12: ; preds = %9, %4 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i32, ptr %17, align 8, !tbaa !16 store i32 %18, ptr @sclp_send_mask, align 4, !tbaa !14 br label %19 19: ; preds = %16, %12 %20 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @sclp_lock, i64 noundef undef) #2 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %19 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !18 store i32 %26, ptr @sclp_facilities, align 4, !tbaa !14 br label %27 27: ; preds = %24, %19 %28 = tail call i32 @sclp_dispatch_state_change() #2 br label %29 29: ; preds = %1, %27 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sclp_dispatch_state_change(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"sclp_statechangebuf", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32, !11, i64 40} !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 40} !13 = !{!7, !8, i64 32} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 24} !16 = !{!7, !8, i64 16} !17 = !{!7, !11, i64 8} !18 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_s390_char_extr_sclp.c_sclp_state_change_cb
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_directx.c_wined3d_guess_card_vendor.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_directx.c_wined3d_guess_card_vendor.c" target datalayout = "e-m:e-p270:32:32-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"NVIDIA\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Nouveau\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"nouveau\00", align 1 @HW_VENDOR_NVIDIA = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"ATI\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Advanced Micro Devices, Inc.\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"X.Org R300 Project\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"FirePro\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Radeon\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"R100\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"R200\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"R300\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"R600\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"R700\00", align 1 @HW_VENDOR_AMD = dso_local local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [9 x i8] c"Intel(R)\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"Intel\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"i915\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"Intel Inc.\00", align 1 @HW_VENDOR_INTEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [7 x i8] c"SVGA3D\00", align 1 @HW_VENDOR_VMWARE = dso_local local_unnamed_addr global i32 0, align 4 @.str.19 = private unnamed_addr constant [5 x i8] c"Mesa\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"Brian Paul\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Tungsten Graphics, Inc\00", align 1 @.str.22 = private unnamed_addr constant [13 x i8] c"VMware, Inc.\00", align 1 @HW_VENDOR_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @.str.23 = private unnamed_addr constant [65 x i8] c"Received unrecognized GL_VENDOR %s. Returning HW_VENDOR_NVIDIA.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @wined3d_guess_card_vendor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wined3d_guess_card_vendor(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %74 5: ; preds = %2 %6 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %74 8: ; preds = %5 %9 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %74 11: ; preds = %8 %12 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %74 14: ; preds = %11 %15 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %74 17: ; preds = %14 %18 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %74 20: ; preds = %17 %21 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.6) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %74 23: ; preds = %20 %24 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.7) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %74 26: ; preds = %23 %27 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.8) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %74 29: ; preds = %26 %30 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.9) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %74 32: ; preds = %29 %33 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.10) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %74 35: ; preds = %32 %36 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %74 38: ; preds = %35 %39 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.12) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %74 41: ; preds = %38 %42 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.13) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %74 44: ; preds = %41 %45 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.14) #2 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %74 47: ; preds = %44 %48 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.15) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %74 50: ; preds = %47 %51 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.16) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %74 53: ; preds = %50 %54 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.17) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %74 56: ; preds = %53 %57 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.18) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %74 59: ; preds = %56 %60 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.19) #2 %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %74 62: ; preds = %59 %63 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.20) #2 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %74 65: ; preds = %62 %66 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.21) #2 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %65 %69 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.22) #2 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = tail call i32 @debugstr_a(ptr noundef %0) #2 %73 = tail call i32 @FIXME(ptr noundef nonnull @.str.23, i32 noundef %72) #2 br label %74 74: ; preds = %59, %62, %65, %68, %56, %44, %47, %50, %53, %11, %14, %17, %20, %23, %26, %29, %32, %35, %38, %41, %2, %5, %8, %71 %75 = phi ptr [ @HW_VENDOR_NVIDIA, %71 ], [ @HW_VENDOR_NVIDIA, %8 ], [ @HW_VENDOR_NVIDIA, %5 ], [ @HW_VENDOR_NVIDIA, %2 ], [ @HW_VENDOR_AMD, %41 ], [ @HW_VENDOR_AMD, %38 ], [ @HW_VENDOR_AMD, %35 ], [ @HW_VENDOR_AMD, %32 ], [ @HW_VENDOR_AMD, %29 ], [ @HW_VENDOR_AMD, %26 ], [ @HW_VENDOR_AMD, %23 ], [ @HW_VENDOR_AMD, %20 ], [ @HW_VENDOR_AMD, %17 ], [ @HW_VENDOR_AMD, %14 ], [ @HW_VENDOR_AMD, %11 ], [ @HW_VENDOR_INTEL, %53 ], [ @HW_VENDOR_INTEL, %50 ], [ @HW_VENDOR_INTEL, %47 ], [ @HW_VENDOR_INTEL, %44 ], [ @HW_VENDOR_VMWARE, %56 ], [ @HW_VENDOR_SOFTWARE, %68 ], [ @HW_VENDOR_SOFTWARE, %65 ], [ @HW_VENDOR_SOFTWARE, %62 ], [ @HW_VENDOR_SOFTWARE, %59 ] %76 = load i32, ptr %75, align 4, !tbaa !5 ret i32 %76 } declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @debugstr_a(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_directx.c_wined3d_guess_card_vendor.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_directx.c_wined3d_guess_card_vendor.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"NVIDIA\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Nouveau\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"nouveau\00", align 1 @HW_VENDOR_NVIDIA = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"ATI\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Advanced Micro Devices, Inc.\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"X.Org R300 Project\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"FirePro\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Radeon\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"R100\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"R200\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"R300\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"R600\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"R700\00", align 1 @HW_VENDOR_AMD = common local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [9 x i8] c"Intel(R)\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"Intel\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"i915\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"Intel Inc.\00", align 1 @HW_VENDOR_INTEL = common local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [7 x i8] c"SVGA3D\00", align 1 @HW_VENDOR_VMWARE = common local_unnamed_addr global i32 0, align 4 @.str.19 = private unnamed_addr constant [5 x i8] c"Mesa\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"Brian Paul\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Tungsten Graphics, Inc\00", align 1 @.str.22 = private unnamed_addr constant [13 x i8] c"VMware, Inc.\00", align 1 @HW_VENDOR_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @.str.23 = private unnamed_addr constant [65 x i8] c"Received unrecognized GL_VENDOR %s. Returning HW_VENDOR_NVIDIA.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @wined3d_guess_card_vendor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wined3d_guess_card_vendor(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %74 5: ; preds = %2 %6 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %74 8: ; preds = %5 %9 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %74 11: ; preds = %8 %12 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %74 14: ; preds = %11 %15 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %74 17: ; preds = %14 %18 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %74 20: ; preds = %17 %21 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.6) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %74 23: ; preds = %20 %24 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.7) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %74 26: ; preds = %23 %27 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.8) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %74 29: ; preds = %26 %30 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.9) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %74 32: ; preds = %29 %33 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.10) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %74 35: ; preds = %32 %36 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %74 38: ; preds = %35 %39 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.12) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %74 41: ; preds = %38 %42 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.13) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %74 44: ; preds = %41 %45 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.14) #2 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %74 47: ; preds = %44 %48 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.15) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %74 50: ; preds = %47 %51 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.16) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %74 53: ; preds = %50 %54 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.17) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %74 56: ; preds = %53 %57 = tail call i64 @strstr(ptr noundef %1, ptr noundef nonnull @.str.18) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %74 59: ; preds = %56 %60 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.19) #2 %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %74 62: ; preds = %59 %63 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.20) #2 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %74 65: ; preds = %62 %66 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.21) #2 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %65 %69 = tail call i64 @strstr(ptr noundef %0, ptr noundef nonnull @.str.22) #2 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = tail call i32 @debugstr_a(ptr noundef %0) #2 %73 = tail call i32 @FIXME(ptr noundef nonnull @.str.23, i32 noundef %72) #2 br label %74 74: ; preds = %59, %62, %65, %68, %56, %44, %47, %50, %53, %11, %14, %17, %20, %23, %26, %29, %32, %35, %38, %41, %2, %5, %8, %71 %75 = phi ptr [ @HW_VENDOR_NVIDIA, %71 ], [ @HW_VENDOR_NVIDIA, %8 ], [ @HW_VENDOR_NVIDIA, %5 ], [ @HW_VENDOR_NVIDIA, %2 ], [ @HW_VENDOR_AMD, %41 ], [ @HW_VENDOR_AMD, %38 ], [ @HW_VENDOR_AMD, %35 ], [ @HW_VENDOR_AMD, %32 ], [ @HW_VENDOR_AMD, %29 ], [ @HW_VENDOR_AMD, %26 ], [ @HW_VENDOR_AMD, %23 ], [ @HW_VENDOR_AMD, %20 ], [ @HW_VENDOR_AMD, %17 ], [ @HW_VENDOR_AMD, %14 ], [ @HW_VENDOR_AMD, %11 ], [ @HW_VENDOR_INTEL, %53 ], [ @HW_VENDOR_INTEL, %50 ], [ @HW_VENDOR_INTEL, %47 ], [ @HW_VENDOR_INTEL, %44 ], [ @HW_VENDOR_VMWARE, %56 ], [ @HW_VENDOR_SOFTWARE, %68 ], [ @HW_VENDOR_SOFTWARE, %65 ], [ @HW_VENDOR_SOFTWARE, %62 ], [ @HW_VENDOR_SOFTWARE, %59 ] %76 = load i32, ptr %75, align 4, !tbaa !6 ret i32 %76 } declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @debugstr_a(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_dll_directx_wine_wined3d_extr_directx.c_wined3d_guess_card_vendor
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_construct.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_construct.c" target datalayout = "e-m:e-p270:32:32-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.dc_plane_state = type { ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_6__ = type { ptr, ptr } @TF_TYPE_BYPASS = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @construct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @construct(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.dc_plane_state, ptr %1, i64 0, i32 5 store ptr %0, ptr %3, align 8, !tbaa !5 %4 = tail call ptr (...) @dc_create_gamma() #2 %5 = getelementptr inbounds %struct.dc_plane_state, ptr %1, i64 0, i32 4 store ptr %4, ptr %5, align 8, !tbaa !10 %6 = icmp eq ptr %4, null br i1 %6, label %8, label %7 7: ; preds = %2 store i32 1, ptr %4, align 4, !tbaa !11 br label %8 8: ; preds = %7, %2 %9 = tail call ptr (...) @dc_create_transfer_func() #2 %10 = getelementptr inbounds %struct.dc_plane_state, ptr %1, i64 0, i32 3 store ptr %9, ptr %10, align 8, !tbaa !14 %11 = icmp eq ptr %9, null br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load ptr, ptr @TF_TYPE_BYPASS, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 0, i32 1 store ptr %13, ptr %14, align 8, !tbaa !16 store ptr %0, ptr %9, align 8, !tbaa !18 br label %15 15: ; preds = %12, %8 ret void } declare ptr @dc_create_gamma(...) local_unnamed_addr #1 declare ptr @dc_create_transfer_func(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 40} !6 = !{!"dc_plane_state", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 32} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 24} !15 = !{!7, !7, i64 0} !16 = !{!17, !7, i64 8} !17 = !{!"TYPE_6__", !7, i64 0, !7, i64 8} !18 = !{!17, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_construct.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_construct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TF_TYPE_BYPASS = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @construct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @construct(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 40 store ptr %0, ptr %3, align 8, !tbaa !6 %4 = tail call ptr @dc_create_gamma() #2 %5 = getelementptr inbounds i8, ptr %1, i64 32 store ptr %4, ptr %5, align 8, !tbaa !11 %6 = icmp eq ptr %4, null br i1 %6, label %8, label %7 7: ; preds = %2 store i32 1, ptr %4, align 4, !tbaa !12 br label %8 8: ; preds = %7, %2 %9 = tail call ptr @dc_create_transfer_func() #2 %10 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %9, ptr %10, align 8, !tbaa !15 %11 = icmp eq ptr %9, null br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load ptr, ptr @TF_TYPE_BYPASS, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %9, i64 8 store ptr %13, ptr %14, align 8, !tbaa !17 store ptr %0, ptr %9, align 8, !tbaa !19 br label %15 15: ; preds = %12, %8 ret void } declare ptr @dc_create_gamma(...) local_unnamed_addr #1 declare ptr @dc_create_transfer_func(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 40} !7 = !{!"dc_plane_state", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 32} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_9__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 24} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"TYPE_6__", !8, i64 0, !8, i64 8} !19 = !{!18, !8, i64 0}
linux_drivers_gpu_drm_amd_display_dc_core_extr_dc_surface.c_construct
; ModuleID = 'AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_mediastatus.c' source_filename = "AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_mediastatus.c" target datalayout = "e-m:e-p270:32:32-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.ifnet = type { i32, ptr } @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ale_mediastatus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ale_mediastatus(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @ALE_LOCK(ptr noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !12 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = tail call i32 @ALE_UNLOCK(ptr noundef %4) #2 br label %18 12: ; preds = %2 %13 = load i32, ptr %4, align 4, !tbaa !13 %14 = tail call ptr @device_get_softc(i32 noundef %13) #2 %15 = tail call i32 @mii_pollstat(ptr noundef %14) #2 %16 = load <2 x i32>, ptr %14, align 4, !tbaa !12 store <2 x i32> %16, ptr %1, align 4, !tbaa !12 %17 = tail call i32 @ALE_UNLOCK(ptr noundef nonnull %4) #2 br label %18 18: ; preds = %12, %10 ret void } declare i32 @ALE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ALE_UNLOCK(ptr noundef) local_unnamed_addr #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @mii_pollstat(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 = !{!"ifnet", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"ale_softc", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_mediastatus.c' source_filename = "AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_mediastatus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_UP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ale_mediastatus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ale_mediastatus(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @ALE_LOCK(ptr noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !13 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = tail call i32 @ALE_UNLOCK(ptr noundef %4) #2 br label %18 12: ; preds = %2 %13 = load i32, ptr %4, align 4, !tbaa !14 %14 = tail call ptr @device_get_softc(i32 noundef %13) #2 %15 = tail call i32 @mii_pollstat(ptr noundef %14) #2 %16 = load <2 x i32>, ptr %14, align 4, !tbaa !13 store <2 x i32> %16, ptr %1, align 4, !tbaa !13 %17 = tail call i32 @ALE_UNLOCK(ptr noundef nonnull %4) #2 br label %18 18: ; preds = %12, %10 ret void } declare i32 @ALE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ALE_UNLOCK(ptr noundef) local_unnamed_addr #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @mii_pollstat(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 = !{!"ifnet", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"ale_softc", !8, i64 0}
freebsd_sys_dev_ale_extr_if_ale.c_ale_mediastatus
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_me4000.c_me4000_xilinx_download.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_me4000.c_me4000_xilinx_download.c" target datalayout = "e-m:e-p270:32:32-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.comedi_device = type { i32, ptr } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR_LI2POL = dso_local local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR = dso_local local_unnamed_addr global i64 0, align 8 @PLX9052_CNTRL = dso_local local_unnamed_addr global i64 0, align 8 @PLX9052_CNTRL_UIO2_DATA = dso_local local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR_LI2STAT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Can't init Xilinx\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @PLX9052_CNTRL_UIO1_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Xilinx is still busy (i = %d)\0A\00", align 1 @PLX9052_CNTRL_UIO0_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"DONE flag is not set\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Download not successful\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @me4000_xilinx_download], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @me4000_xilinx_download(ptr noundef %0, ptr nocapture noundef readonly %1, i64 %2, i64 %3) #0 { %5 = tail call ptr @comedi_to_pci_dev(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = tail call i64 @pci_resource_start(ptr noundef %5, i32 noundef 5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ENODEV, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 br label %133 13: ; preds = %4 %14 = load i32, ptr @PLX9052_INTCSR_LI2POL, align 4, !tbaa !11 %15 = load i64, ptr %7, align 8, !tbaa !12 %16 = load i64, ptr @PLX9052_INTCSR, align 8, !tbaa !15 %17 = add nsw i64 %16, %15 %18 = tail call i32 @outl(i32 noundef %14, i64 noundef %17) #2 %19 = load i64, ptr %7, align 8, !tbaa !12 %20 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %21 = add nsw i64 %20, %19 %22 = tail call i32 @inl(i64 noundef %21) #2 %23 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !11 %24 = or i32 %23, %22 %25 = load i64, ptr %7, align 8, !tbaa !12 %26 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %27 = add nsw i64 %26, %25 %28 = tail call i32 @outl(i32 noundef %24, i64 noundef %27) #2 %29 = add i64 %8, 200 %30 = tail call i32 @inb(i64 noundef %29) #2 %31 = tail call i32 @usleep_range(i32 noundef 20, i32 noundef 1000) #2 %32 = load i64, ptr %7, align 8, !tbaa !12 %33 = load i64, ptr @PLX9052_INTCSR, align 8, !tbaa !15 %34 = add nsw i64 %33, %32 %35 = tail call i32 @inl(i64 noundef %34) #2 %36 = load i32, ptr @PLX9052_INTCSR_LI2STAT, align 4, !tbaa !11 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %13 %40 = load i32, ptr %0, align 8, !tbaa !16 %41 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @EIO, align 4, !tbaa !11 %43 = sub nsw i32 0, %42 br label %133 44: ; preds = %13 %45 = load i64, ptr %7, align 8, !tbaa !12 %46 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %47 = add nsw i64 %46, %45 %48 = tail call i32 @inl(i64 noundef %47) #2 %49 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !11 %50 = xor i32 %49, -1 %51 = and i32 %48, %50 %52 = load i64, ptr %7, align 8, !tbaa !12 %53 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %54 = add nsw i64 %53, %52 %55 = tail call i32 @outl(i32 noundef %51, i64 noundef %54) #2 %56 = load i64, ptr %1, align 8, !tbaa !15 %57 = trunc i64 %56 to i32 %58 = shl i32 %57, 24 %59 = getelementptr inbounds i64, ptr %1, i64 1 %60 = load i64, ptr %59, align 8, !tbaa !15 %61 = trunc i64 %60 to i32 %62 = shl i32 %61, 16 %63 = and i32 %62, 16711680 %64 = or disjoint i32 %63, %58 %65 = getelementptr inbounds i64, ptr %1, i64 2 %66 = load i64, ptr %65, align 8, !tbaa !15 %67 = trunc i64 %66 to i32 %68 = shl i32 %67, 8 %69 = and i32 %68, 65280 %70 = or disjoint i32 %64, %69 %71 = getelementptr inbounds i64, ptr %1, i64 3 %72 = load i64, ptr %71, align 8, !tbaa !15 %73 = trunc i64 %72 to i32 %74 = and i32 %73, 255 %75 = or disjoint i32 %70, %74 %76 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 1000) #2 %77 = icmp eq i32 %75, 0 br i1 %77, label %107, label %78 78: ; preds = %44 %79 = or disjoint i32 %58, %63 %80 = or disjoint i32 %79, %69 %81 = or disjoint i32 %80, %74 %82 = zext i32 %81 to i64 br label %83 83: ; preds = %78, %104 %84 = phi i64 [ 0, %78 ], [ %105, %104 ] %85 = add nuw i64 %84, 16 %86 = and i64 %85, 4294967295 %87 = getelementptr inbounds i64, ptr %1, i64 %86 %88 = load i64, ptr %87, align 8, !tbaa !15 %89 = tail call i32 @outb(i64 noundef %88, i64 noundef %8) #2 %90 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 1000) #2 %91 = load i64, ptr %7, align 8, !tbaa !12 %92 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %93 = add nsw i64 %92, %91 %94 = tail call i32 @inl(i64 noundef %93) #2 %95 = load i32, ptr @PLX9052_CNTRL_UIO1_DATA, align 4, !tbaa !11 %96 = and i32 %95, %94 %97 = icmp eq i32 %96, 0 br i1 %97, label %104, label %98 98: ; preds = %83 %99 = trunc i64 %84 to i32 %100 = load i32, ptr %0, align 8, !tbaa !16 %101 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %100, ptr noundef nonnull @.str.1, i32 noundef %99) #2 %102 = load i32, ptr @EIO, align 4, !tbaa !11 %103 = sub nsw i32 0, %102 br label %133 104: ; preds = %83 %105 = add nuw nsw i64 %84, 1 %106 = icmp eq i64 %105, %82 br i1 %106, label %107, label %83, !llvm.loop !17 107: ; preds = %104, %44 %108 = load i64, ptr %7, align 8, !tbaa !12 %109 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %110 = add nsw i64 %109, %108 %111 = tail call i32 @inl(i64 noundef %110) #2 %112 = load i32, ptr @PLX9052_CNTRL_UIO0_DATA, align 4, !tbaa !11 %113 = and i32 %112, %111 %114 = icmp eq i32 %113, 0 br i1 %114, label %115, label %122 115: ; preds = %107 %116 = load i32, ptr %0, align 8, !tbaa !16 %117 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %116, ptr noundef nonnull @.str.2) #2 %118 = load i32, ptr %0, align 8, !tbaa !16 %119 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %118, ptr noundef nonnull @.str.3) #2 %120 = load i32, ptr @EIO, align 4, !tbaa !11 %121 = sub nsw i32 0, %120 br label %133 122: ; preds = %107 %123 = load i64, ptr %7, align 8, !tbaa !12 %124 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %125 = add nsw i64 %124, %123 %126 = tail call i32 @inl(i64 noundef %125) #2 %127 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !11 %128 = or i32 %127, %126 %129 = load i64, ptr %7, align 8, !tbaa !12 %130 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !15 %131 = add nsw i64 %130, %129 %132 = tail call i32 @outl(i32 noundef %128, i64 noundef %131) #2 br label %133 133: ; preds = %122, %115, %98, %39, %10 %134 = phi i32 [ %103, %98 ], [ 0, %122 ], [ %121, %115 ], [ %43, %39 ], [ %12, %10 ] ret i32 %134 } declare ptr @comedi_to_pci_dev(ptr noundef) local_unnamed_addr #1 declare i64 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @inl(i64 noundef) local_unnamed_addr #1 declare i32 @inb(i64 noundef) local_unnamed_addr #1 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @outb(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"comedi_device", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"me4000_private", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!6, !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_me4000.c_me4000_xilinx_download.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_me4000.c_me4000_xilinx_download.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR_LI2POL = common local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR = common local_unnamed_addr global i64 0, align 8 @PLX9052_CNTRL = common local_unnamed_addr global i64 0, align 8 @PLX9052_CNTRL_UIO2_DATA = common local_unnamed_addr global i32 0, align 4 @PLX9052_INTCSR_LI2STAT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Can't init Xilinx\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @PLX9052_CNTRL_UIO1_DATA = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Xilinx is still busy (i = %d)\0A\00", align 1 @PLX9052_CNTRL_UIO0_DATA = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"DONE flag is not set\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Download not successful\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @me4000_xilinx_download], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @me4000_xilinx_download(ptr noundef %0, ptr nocapture noundef readonly %1, i64 %2, i64 %3) #0 { %5 = tail call ptr @comedi_to_pci_dev(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = tail call i64 @pci_resource_start(ptr noundef %5, i32 noundef 5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ENODEV, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %130 13: ; preds = %4 %14 = load i32, ptr @PLX9052_INTCSR_LI2POL, align 4, !tbaa !12 %15 = load i64, ptr %7, align 8, !tbaa !13 %16 = load i64, ptr @PLX9052_INTCSR, align 8, !tbaa !16 %17 = add nsw i64 %16, %15 %18 = tail call i32 @outl(i32 noundef %14, i64 noundef %17) #2 %19 = load i64, ptr %7, align 8, !tbaa !13 %20 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %21 = add nsw i64 %20, %19 %22 = tail call i32 @inl(i64 noundef %21) #2 %23 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !12 %24 = or i32 %23, %22 %25 = load i64, ptr %7, align 8, !tbaa !13 %26 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %27 = add nsw i64 %26, %25 %28 = tail call i32 @outl(i32 noundef %24, i64 noundef %27) #2 %29 = add i64 %8, 200 %30 = tail call i32 @inb(i64 noundef %29) #2 %31 = tail call i32 @usleep_range(i32 noundef 20, i32 noundef 1000) #2 %32 = load i64, ptr %7, align 8, !tbaa !13 %33 = load i64, ptr @PLX9052_INTCSR, align 8, !tbaa !16 %34 = add nsw i64 %33, %32 %35 = tail call i32 @inl(i64 noundef %34) #2 %36 = load i32, ptr @PLX9052_INTCSR_LI2STAT, align 4, !tbaa !12 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %13 %40 = load i32, ptr %0, align 8, !tbaa !17 %41 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @EIO, align 4, !tbaa !12 %43 = sub nsw i32 0, %42 br label %130 44: ; preds = %13 %45 = load i64, ptr %7, align 8, !tbaa !13 %46 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %47 = add nsw i64 %46, %45 %48 = tail call i32 @inl(i64 noundef %47) #2 %49 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !12 %50 = xor i32 %49, -1 %51 = and i32 %48, %50 %52 = load i64, ptr %7, align 8, !tbaa !13 %53 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %54 = add nsw i64 %53, %52 %55 = tail call i32 @outl(i32 noundef %51, i64 noundef %54) #2 %56 = load i64, ptr %1, align 8, !tbaa !16 %57 = trunc i64 %56 to i32 %58 = shl i32 %57, 24 %59 = getelementptr inbounds i8, ptr %1, i64 8 %60 = load i64, ptr %59, align 8, !tbaa !16 %61 = trunc i64 %60 to i32 %62 = shl i32 %61, 16 %63 = and i32 %62, 16711680 %64 = or disjoint i32 %63, %58 %65 = getelementptr inbounds i8, ptr %1, i64 16 %66 = load i64, ptr %65, align 8, !tbaa !16 %67 = trunc i64 %66 to i32 %68 = shl i32 %67, 8 %69 = and i32 %68, 65280 %70 = or disjoint i32 %64, %69 %71 = getelementptr inbounds i8, ptr %1, i64 24 %72 = load i64, ptr %71, align 8, !tbaa !16 %73 = trunc i64 %72 to i32 %74 = and i32 %73, 255 %75 = or disjoint i32 %70, %74 %76 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 1000) #2 %77 = icmp eq i32 %75, 0 br i1 %77, label %104, label %78 78: ; preds = %44 %79 = zext i32 %75 to i64 br label %80 80: ; preds = %78, %101 %81 = phi i64 [ 0, %78 ], [ %102, %101 ] %82 = add nuw i64 %81, 16 %83 = and i64 %82, 4294967295 %84 = getelementptr inbounds i64, ptr %1, i64 %83 %85 = load i64, ptr %84, align 8, !tbaa !16 %86 = tail call i32 @outb(i64 noundef %85, i64 noundef %8) #2 %87 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 1000) #2 %88 = load i64, ptr %7, align 8, !tbaa !13 %89 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %90 = add nsw i64 %89, %88 %91 = tail call i32 @inl(i64 noundef %90) #2 %92 = load i32, ptr @PLX9052_CNTRL_UIO1_DATA, align 4, !tbaa !12 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 br i1 %94, label %101, label %95 95: ; preds = %80 %96 = trunc nuw i64 %81 to i32 %97 = load i32, ptr %0, align 8, !tbaa !17 %98 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %97, ptr noundef nonnull @.str.1, i32 noundef %96) #2 %99 = load i32, ptr @EIO, align 4, !tbaa !12 %100 = sub nsw i32 0, %99 br label %130 101: ; preds = %80 %102 = add nuw nsw i64 %81, 1 %103 = icmp eq i64 %102, %79 br i1 %103, label %104, label %80, !llvm.loop !18 104: ; preds = %101, %44 %105 = load i64, ptr %7, align 8, !tbaa !13 %106 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %107 = add nsw i64 %106, %105 %108 = tail call i32 @inl(i64 noundef %107) #2 %109 = load i32, ptr @PLX9052_CNTRL_UIO0_DATA, align 4, !tbaa !12 %110 = and i32 %109, %108 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %104 %113 = load i32, ptr %0, align 8, !tbaa !17 %114 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %113, ptr noundef nonnull @.str.2) #2 %115 = load i32, ptr %0, align 8, !tbaa !17 %116 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %115, ptr noundef nonnull @.str.3) #2 %117 = load i32, ptr @EIO, align 4, !tbaa !12 %118 = sub nsw i32 0, %117 br label %130 119: ; preds = %104 %120 = load i64, ptr %7, align 8, !tbaa !13 %121 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %122 = add nsw i64 %121, %120 %123 = tail call i32 @inl(i64 noundef %122) #2 %124 = load i32, ptr @PLX9052_CNTRL_UIO2_DATA, align 4, !tbaa !12 %125 = or i32 %124, %123 %126 = load i64, ptr %7, align 8, !tbaa !13 %127 = load i64, ptr @PLX9052_CNTRL, align 8, !tbaa !16 %128 = add nsw i64 %127, %126 %129 = tail call i32 @outl(i32 noundef %125, i64 noundef %128) #2 br label %130 130: ; preds = %119, %112, %95, %39, %10 %131 = phi i32 [ %100, %95 ], [ 0, %119 ], [ %118, %112 ], [ %43, %39 ], [ %12, %10 ] ret i32 %131 } declare ptr @comedi_to_pci_dev(ptr noundef) local_unnamed_addr #1 declare i64 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @inl(i64 noundef) local_unnamed_addr #1 declare i32 @inb(i64 noundef) local_unnamed_addr #1 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @outb(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"comedi_device", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"me4000_private", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!7, !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_comedi_drivers_extr_me4000.c_me4000_xilinx_download
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_menu_cbs_init_bind_ok_compare_type.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_menu_cbs_init_bind_ok_compare_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" @MENU_SET_CDROM_LIST = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_dump_cdrom = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SET_CDROM_INFO = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_cdrom_info_list = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SET_LOAD_CDROM_LIST = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_load_cdrom = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_CUSTOM_BIND_KEYBOARD = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CUSTOM_BIND = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_lookup_setting = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_SHADER_PARAMETER_0 = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PARAMETER_LAST = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PRESET_PARAMETER_0 = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEAT_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEAT_END = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_cheat = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_CORE_OPTION_START = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEEVOS_START = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_core_option_dropdown_list = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_core_options_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_string_options_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_int_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_float_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_uint_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_core_options_item_special = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_string_options_item_special = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_int_item_special = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_float_item_special = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_uint_item_special = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_resolution = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_default_core = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_label_display_mode = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_right_thumbnail_mode = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_left_thumbnail_mode = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_default = dso_local local_unnamed_addr global ptr null, align 8 @MENU_LABEL_PLAYLISTS_TAB = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_playlist_entry_collection = dso_local local_unnamed_addr global ptr null, align 8 @MENU_LABEL_RDB_ENTRY_START_CONTENT = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_playlist_entry_start_content = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_playlist_entry = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_rpl_entry = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_playlist_collection = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_generic_list = dso_local local_unnamed_addr global ptr null, align 8 @MENU_LABEL_CHEAT_FILE_LOAD_APPEND = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_cheat_file_load_append = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_cheat_file_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_record_configfile_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_stream_configfile_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_rgui_menu_theme_preset_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_remap_file_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_menu_wallpaper_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_path_use_directory = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_config_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_parent_directory_push = dso_local local_unnamed_addr global ptr null, align 8 @MENU_LABEL_VIDEO_FONT_PATH = dso_local local_unnamed_addr global i32 0, align 4 @MENU_LABEL_XMB_FONT = dso_local local_unnamed_addr global i32 0, align 4 @MENU_LABEL_AUDIO_DSP_PLUGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_LABEL_VIDEO_FILTER = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_directory_push = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_push_random_dir = dso_local local_unnamed_addr global ptr null, align 8 @FILEBROWSER_SCAN_FILE = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_compressed_archive_push_detect_core = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_compressed_archive_push = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_deferred_list_stub = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_load_core_deferred = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_core_deferred_set = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_load_core = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_sideload_core = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_core_content_download = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_core_content_thumbnails = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_pl_content_thumbnails = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_core_updater_download = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_download_url = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_thumbnails_updater_download = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_lakka_download = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_database_manager_list = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_rdb_entry = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_wifi = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_netplay_lan_scan = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_cursor_manager_list = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_path_videofilter = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_path = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_path_overlay = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_path_audiofilter = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_file_load_with_detect_core = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_disk_image_append = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_subsystem_add = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_file_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_file_load_music = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_file_load_imageviewer = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_disk_cycle_tray_status = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_option_create = dso_local local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_END = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_LOOPED_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_LOOPED_END = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_SEQUENTIAL_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_SEQUENTIAL_END = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_REMOVE_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_REMOVE_END = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_STOP_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_STOP_END = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4 @action_ok_file_load_ffmpeg = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_file_load_with_detect_core_carchive = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play_looped = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play_sequential = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_remove = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_stop = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_actions = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_path_scan_directory = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_scan_file = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_path_video_layout = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_backlight = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_cpu_profile = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_gpu_profile = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_shader_pass_load = dso_local local_unnamed_addr global ptr null, align 8 @action_ok_shader_preset_load = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @menu_cbs_init_bind_ok_compare_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @menu_cbs_init_bind_ok_compare_type(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @MENU_SET_CDROM_LIST, align 4, !tbaa !5 %6 = icmp eq i32 %5, %3 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load ptr, ptr @action_ok_dump_cdrom, align 8, !tbaa !9 %9 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %8) #2 br label %332 10: ; preds = %4 %11 = load i32, ptr @MENU_SET_CDROM_INFO, align 4, !tbaa !5 %12 = icmp eq i32 %11, %3 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load ptr, ptr @action_ok_cdrom_info_list, align 8, !tbaa !9 %15 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %14) #2 br label %332 16: ; preds = %10 %17 = load i32, ptr @MENU_SET_LOAD_CDROM_LIST, align 4, !tbaa !5 %18 = icmp eq i32 %17, %3 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr @action_ok_load_cdrom, align 8, !tbaa !9 %21 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %20) #2 br label %332 22: ; preds = %16 %23 = load i32, ptr @MENU_SETTINGS_CUSTOM_BIND_KEYBOARD, align 4, !tbaa !5 %24 = icmp eq i32 %23, %3 %25 = load i32, ptr @MENU_SETTINGS_CUSTOM_BIND, align 4 %26 = icmp eq i32 %25, %3 %27 = select i1 %24, i1 true, i1 %26 br i1 %27, label %28, label %31 28: ; preds = %22 %29 = load ptr, ptr @action_ok_lookup_setting, align 8, !tbaa !9 %30 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %29) #2 br label %332 31: ; preds = %22 %32 = load i32, ptr @MENU_SETTINGS_SHADER_PARAMETER_0, align 4, !tbaa !5 %33 = icmp ugt i32 %32, %3 %34 = load i32, ptr @MENU_SETTINGS_SHADER_PARAMETER_LAST, align 4 %35 = icmp ult i32 %34, %3 %36 = select i1 %33, i1 true, i1 %35 br i1 %36, label %39, label %37 37: ; preds = %31 %38 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef null) #2 br label %332 39: ; preds = %31 %40 = load i32, ptr @MENU_SETTINGS_SHADER_PRESET_PARAMETER_0, align 4, !tbaa !5 %41 = icmp ugt i32 %40, %3 %42 = load i32, ptr @MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST, align 4 %43 = icmp ult i32 %42, %3 %44 = select i1 %41, i1 true, i1 %43 br i1 %44, label %47, label %45 45: ; preds = %39 %46 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef null) #2 br label %332 47: ; preds = %39 %48 = load i32, ptr @MENU_SETTINGS_CHEAT_BEGIN, align 4, !tbaa !5 %49 = icmp ugt i32 %48, %3 %50 = load i32, ptr @MENU_SETTINGS_CHEAT_END, align 4 %51 = icmp ult i32 %50, %3 %52 = select i1 %49, i1 true, i1 %51 br i1 %52, label %56, label %53 53: ; preds = %47 %54 = load ptr, ptr @action_ok_cheat, align 8, !tbaa !9 %55 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %54) #2 br label %332 56: ; preds = %47 %57 = load i32, ptr @MENU_SETTINGS_CORE_OPTION_START, align 4, !tbaa !5 %58 = icmp ule i32 %57, %3 %59 = load i32, ptr @MENU_SETTINGS_CHEEVOS_START, align 4 %60 = icmp ugt i32 %59, %3 %61 = select i1 %58, i1 %60, i1 false br i1 %61, label %62, label %65 62: ; preds = %56 %63 = load ptr, ptr @action_ok_core_option_dropdown_list, align 8, !tbaa !9 %64 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %63) #2 br label %332 65: ; preds = %56 switch i32 %3, label %333 [ i32 145, label %66 i32 139, label %69 i32 141, label %72 i32 143, label %75 i32 137, label %78 i32 144, label %81 i32 138, label %84 i32 140, label %87 i32 142, label %90 i32 136, label %93 i32 151, label %96 i32 146, label %99 i32 150, label %102 i32 149, label %105 i32 147, label %108 i32 148, label %111 i32 152, label %114 i32 188, label %117 i32 182, label %132 i32 189, label %135 i32 211, label %138 i32 213, label %141 i32 185, label %150 i32 178, label %153 i32 183, label %156 i32 184, label %159 i32 179, label %332 i32 180, label %332 i32 197, label %162 i32 177, label %165 i32 212, label %168 i32 191, label %171 i32 208, label %174 i32 214, label %197 i32 210, label %209 i32 205, label %227 i32 200, label %230 i32 202, label %233 i32 206, label %236 i32 199, label %239 i32 201, label %242 i32 203, label %245 i32 204, label %332 i32 187, label %248 i32 186, label %255 i32 129, label %258 i32 156, label %261 i32 209, label %264 i32 176, label %271 i32 198, label %274 i32 192, label %277 i32 215, label %280 i32 195, label %283 i32 190, label %283 i32 194, label %332 i32 193, label %314 i32 196, label %317 i32 207, label %320 i32 155, label %323 i32 135, label %323 i32 134, label %323 i32 154, label %326 i32 153, label %329 ] 66: ; preds = %65 %67 = load ptr, ptr @action_ok_push_dropdown_setting_core_options_item, align 8, !tbaa !9 %68 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %67) #2 br label %332 69: ; preds = %65 %70 = load ptr, ptr @action_ok_push_dropdown_setting_string_options_item, align 8, !tbaa !9 %71 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %70) #2 br label %332 72: ; preds = %65 %73 = load ptr, ptr @action_ok_push_dropdown_setting_int_item, align 8, !tbaa !9 %74 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %73) #2 br label %332 75: ; preds = %65 %76 = load ptr, ptr @action_ok_push_dropdown_setting_float_item, align 8, !tbaa !9 %77 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %76) #2 br label %332 78: ; preds = %65 %79 = load ptr, ptr @action_ok_push_dropdown_setting_uint_item, align 8, !tbaa !9 %80 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %79) #2 br label %332 81: ; preds = %65 %82 = load ptr, ptr @action_ok_push_dropdown_setting_core_options_item_special, align 8, !tbaa !9 %83 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %82) #2 br label %332 84: ; preds = %65 %85 = load ptr, ptr @action_ok_push_dropdown_setting_string_options_item_special, align 8, !tbaa !9 %86 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %85) #2 br label %332 87: ; preds = %65 %88 = load ptr, ptr @action_ok_push_dropdown_setting_int_item_special, align 8, !tbaa !9 %89 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %88) #2 br label %332 90: ; preds = %65 %91 = load ptr, ptr @action_ok_push_dropdown_setting_float_item_special, align 8, !tbaa !9 %92 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %91) #2 br label %332 93: ; preds = %65 %94 = load ptr, ptr @action_ok_push_dropdown_setting_uint_item_special, align 8, !tbaa !9 %95 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %94) #2 br label %332 96: ; preds = %65 %97 = load ptr, ptr @action_ok_push_dropdown_item, align 8, !tbaa !9 %98 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %97) #2 br label %332 99: ; preds = %65 %100 = load ptr, ptr @action_ok_push_dropdown_item_resolution, align 8, !tbaa !9 %101 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %100) #2 br label %332 102: ; preds = %65 %103 = load ptr, ptr @action_ok_push_dropdown_item_playlist_default_core, align 8, !tbaa !9 %104 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %103) #2 br label %332 105: ; preds = %65 %106 = load ptr, ptr @action_ok_push_dropdown_item_playlist_label_display_mode, align 8, !tbaa !9 %107 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %106) #2 br label %332 108: ; preds = %65 %109 = load ptr, ptr @action_ok_push_dropdown_item_playlist_right_thumbnail_mode, align 8, !tbaa !9 %110 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %109) #2 br label %332 111: ; preds = %65 %112 = load ptr, ptr @action_ok_push_dropdown_item_playlist_left_thumbnail_mode, align 8, !tbaa !9 %113 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %112) #2 br label %332 114: ; preds = %65 %115 = load ptr, ptr @action_ok_push_default, align 8, !tbaa !9 %116 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %115) #2 br label %332 117: ; preds = %65 %118 = load i32, ptr @MENU_LABEL_PLAYLISTS_TAB, align 4, !tbaa !5 %119 = icmp eq i32 %118, %1 br i1 %119, label %120, label %123 120: ; preds = %117 %121 = load ptr, ptr @action_ok_playlist_entry_collection, align 8, !tbaa !9 %122 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %121) #2 br label %332 123: ; preds = %117 %124 = load i32, ptr @MENU_LABEL_RDB_ENTRY_START_CONTENT, align 4, !tbaa !5 %125 = icmp eq i32 %124, %1 br i1 %125, label %126, label %129 126: ; preds = %123 %127 = load ptr, ptr @action_ok_playlist_entry_start_content, align 8, !tbaa !9 %128 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %127) #2 br label %332 129: ; preds = %123 %130 = load ptr, ptr @action_ok_playlist_entry, align 8, !tbaa !9 %131 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %130) #2 br label %332 132: ; preds = %65 %133 = load ptr, ptr @action_ok_rpl_entry, align 8, !tbaa !9 %134 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %133) #2 br label %332 135: ; preds = %65 %136 = load ptr, ptr @action_ok_playlist_collection, align 8, !tbaa !9 %137 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %136) #2 br label %332 138: ; preds = %65 %139 = load ptr, ptr @action_ok_push_generic_list, align 8, !tbaa !9 %140 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %139) #2 br label %332 141: ; preds = %65 %142 = load i32, ptr @MENU_LABEL_CHEAT_FILE_LOAD_APPEND, align 4, !tbaa !5 %143 = icmp eq i32 %142, %2 br i1 %143, label %144, label %147 144: ; preds = %141 %145 = load ptr, ptr @action_ok_cheat_file_load_append, align 8, !tbaa !9 %146 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %145) #2 br label %332 147: ; preds = %141 %148 = load ptr, ptr @action_ok_cheat_file_load, align 8, !tbaa !9 %149 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %148) #2 br label %332 150: ; preds = %65 %151 = load ptr, ptr @action_ok_record_configfile_load, align 8, !tbaa !9 %152 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %151) #2 br label %332 153: ; preds = %65 %154 = load ptr, ptr @action_ok_stream_configfile_load, align 8, !tbaa !9 %155 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %154) #2 br label %332 156: ; preds = %65 %157 = load ptr, ptr @action_ok_rgui_menu_theme_preset_load, align 8, !tbaa !9 %158 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %157) #2 br label %332 159: ; preds = %65 %160 = load ptr, ptr @action_ok_remap_file_load, align 8, !tbaa !9 %161 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %160) #2 br label %332 162: ; preds = %65 %163 = load ptr, ptr @action_ok_menu_wallpaper_load, align 8, !tbaa !9 %164 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %163) #2 br label %332 165: ; preds = %65 %166 = load ptr, ptr @action_ok_path_use_directory, align 8, !tbaa !9 %167 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %166) #2 br label %332 168: ; preds = %65 %169 = load ptr, ptr @action_ok_config_load, align 8, !tbaa !9 %170 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %169) #2 br label %332 171: ; preds = %65 %172 = load ptr, ptr @action_ok_parent_directory_push, align 8, !tbaa !9 %173 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %172) #2 br label %332 174: ; preds = %65 %175 = load i32, ptr %0, align 4, !tbaa !11 %176 = freeze i32 %175 %177 = icmp eq i32 %176, 128 br i1 %177, label %178, label %191 178: ; preds = %174 switch i32 %2, label %179 [ i32 161, label %191 i32 157, label %191 ] 179: ; preds = %178 %180 = load i32, ptr @MENU_LABEL_VIDEO_FONT_PATH, align 4, !tbaa !5 %181 = icmp eq i32 %180, %2 %182 = load i32, ptr @MENU_LABEL_XMB_FONT, align 4 %183 = icmp eq i32 %182, %2 %184 = select i1 %181, i1 true, i1 %183 %185 = load i32, ptr @MENU_LABEL_AUDIO_DSP_PLUGIN, align 4 %186 = icmp eq i32 %185, %2 %187 = select i1 %184, i1 true, i1 %186 %188 = load i32, ptr @MENU_LABEL_VIDEO_FILTER, align 4 %189 = icmp eq i32 %188, %2 %190 = select i1 %187, i1 true, i1 %189 br i1 %190, label %191, label %194 191: ; preds = %178, %178, %174, %179 %192 = load ptr, ptr @action_ok_directory_push, align 8, !tbaa !9 %193 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %192) #2 br label %332 194: ; preds = %179 %195 = load ptr, ptr @action_ok_push_random_dir, align 8, !tbaa !9 %196 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %195) #2 br label %332 197: ; preds = %65 %198 = tail call i32 (...) @filebrowser_get_type() #2 %199 = load i32, ptr @FILEBROWSER_SCAN_FILE, align 4, !tbaa !5 %200 = icmp eq i32 %198, %199 br i1 %200, label %332, label %201 201: ; preds = %197 %202 = icmp eq i32 %2, 159 br i1 %202, label %203, label %206 203: ; preds = %201 %204 = load ptr, ptr @action_ok_compressed_archive_push_detect_core, align 8, !tbaa !9 %205 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %204) #2 br label %332 206: ; preds = %201 %207 = load ptr, ptr @action_ok_compressed_archive_push, align 8, !tbaa !9 %208 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %207) #2 br label %332 209: ; preds = %65 %210 = load i32, ptr %0, align 4, !tbaa !11 switch i32 %210, label %332 [ i32 128, label %214 i32 174, label %211 ] 211: ; preds = %209 %212 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !9 %213 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %212) #2 br label %332 214: ; preds = %209 switch i32 %2, label %332 [ i32 164, label %215 i32 163, label %218 i32 168, label %221 i32 158, label %224 ] 215: ; preds = %214 %216 = load ptr, ptr @action_ok_load_core_deferred, align 8, !tbaa !9 %217 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %216) #2 br label %332 218: ; preds = %214 %219 = load ptr, ptr @action_ok_core_deferred_set, align 8, !tbaa !9 %220 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %219) #2 br label %332 221: ; preds = %214 %222 = load ptr, ptr @action_ok_load_core, align 8, !tbaa !9 %223 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %222) #2 br label %332 224: ; preds = %214 %225 = load ptr, ptr @action_ok_sideload_core, align 8, !tbaa !9 %226 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %225) #2 br label %332 227: ; preds = %65 %228 = load ptr, ptr @action_ok_core_content_download, align 8, !tbaa !9 %229 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %228) #2 br label %332 230: ; preds = %65 %231 = load ptr, ptr @action_ok_core_content_thumbnails, align 8, !tbaa !9 %232 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %231) #2 br label %332 233: ; preds = %65 %234 = load ptr, ptr @action_ok_pl_content_thumbnails, align 8, !tbaa !9 %235 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %234) #2 br label %332 236: ; preds = %65 %237 = load ptr, ptr @action_ok_core_updater_download, align 8, !tbaa !9 %238 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %237) #2 br label %332 239: ; preds = %65 %240 = load ptr, ptr @action_ok_download_url, align 8, !tbaa !9 %241 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %240) #2 br label %332 242: ; preds = %65 %243 = load ptr, ptr @action_ok_thumbnails_updater_download, align 8, !tbaa !9 %244 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %243) #2 br label %332 245: ; preds = %65 %246 = load ptr, ptr @action_ok_lakka_download, align 8, !tbaa !9 %247 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %246) #2 br label %332 248: ; preds = %65 switch i32 %2, label %332 [ i32 162, label %249 i32 166, label %252 i32 130, label %252 ] 249: ; preds = %248 %250 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !9 %251 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %250) #2 br label %332 252: ; preds = %248, %248 %253 = load ptr, ptr @action_ok_database_manager_list, align 8, !tbaa !9 %254 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %253) #2 br label %332 255: ; preds = %65 %256 = load ptr, ptr @action_ok_rdb_entry, align 8, !tbaa !9 %257 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %256) #2 br label %332 258: ; preds = %65 %259 = load ptr, ptr @action_ok_wifi, align 8, !tbaa !9 %260 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %259) #2 br label %332 261: ; preds = %65 %262 = load ptr, ptr @action_ok_netplay_lan_scan, align 8, !tbaa !9 %263 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %262) #2 br label %332 264: ; preds = %65 switch i32 %2, label %332 [ i32 162, label %265 i32 167, label %268 ] 265: ; preds = %264 %266 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !9 %267 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %266) #2 br label %332 268: ; preds = %264 %269 = load ptr, ptr @action_ok_cursor_manager_list, align 8, !tbaa !9 %270 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %269) #2 br label %332 271: ; preds = %65 %272 = load ptr, ptr @action_ok_set_path_videofilter, align 8, !tbaa !9 %273 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %272) #2 br label %332 274: ; preds = %65 %275 = load ptr, ptr @action_ok_set_path, align 8, !tbaa !9 %276 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %275) #2 br label %332 277: ; preds = %65 %278 = load ptr, ptr @action_ok_set_path_overlay, align 8, !tbaa !9 %279 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %278) #2 br label %332 280: ; preds = %65 %281 = load ptr, ptr @action_ok_set_path_audiofilter, align 8, !tbaa !9 %282 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %281) #2 br label %332 283: ; preds = %65, %65 %284 = tail call i32 (...) @filebrowser_get_type() #2 %285 = load i32, ptr @FILEBROWSER_SCAN_FILE, align 4, !tbaa !5 %286 = icmp eq i32 %284, %285 br i1 %286, label %332, label %287 287: ; preds = %283 %288 = load i32, ptr %0, align 4, !tbaa !11 switch i32 %288, label %298 [ i32 128, label %301 i32 171, label %289 i32 170, label %289 i32 173, label %289 i32 172, label %292 i32 169, label %295 ] 289: ; preds = %287, %287, %287 %290 = load ptr, ptr @action_ok_file_load_with_detect_core, align 8, !tbaa !9 %291 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %290) #2 br label %332 292: ; preds = %287 %293 = load ptr, ptr @action_ok_disk_image_append, align 8, !tbaa !9 %294 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %293) #2 br label %332 295: ; preds = %287 %296 = load ptr, ptr @action_ok_subsystem_add, align 8, !tbaa !9 %297 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %296) #2 br label %332 298: ; preds = %287 %299 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !9 %300 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %299) #2 br label %332 301: ; preds = %287 switch i32 %2, label %311 [ i32 160, label %302 i32 159, label %302 i32 165, label %302 i32 161, label %305 i32 157, label %308 ] 302: ; preds = %301, %301, %301 %303 = load ptr, ptr @action_ok_file_load_with_detect_core, align 8, !tbaa !9 %304 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %303) #2 br label %332 305: ; preds = %301 %306 = load ptr, ptr @action_ok_disk_image_append, align 8, !tbaa !9 %307 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %306) #2 br label %332 308: ; preds = %301 %309 = load ptr, ptr @action_ok_subsystem_add, align 8, !tbaa !9 %310 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %309) #2 br label %332 311: ; preds = %301 %312 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !9 %313 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %312) #2 br label %332 314: ; preds = %65 %315 = load ptr, ptr @action_ok_file_load_music, align 8, !tbaa !9 %316 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %315) #2 br label %332 317: ; preds = %65 %318 = load ptr, ptr @action_ok_file_load_imageviewer, align 8, !tbaa !9 %319 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %318) #2 br label %332 320: ; preds = %65 %321 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !9 %322 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %321) #2 br label %332 323: ; preds = %65, %65, %65 %324 = load ptr, ptr @action_ok_push_default, align 8, !tbaa !9 %325 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %324) #2 br label %332 326: ; preds = %65 %327 = load ptr, ptr @action_ok_disk_cycle_tray_status, align 8, !tbaa !9 %328 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %327) #2 br label %332 329: ; preds = %65 %330 = load ptr, ptr @action_ok_option_create, align 8, !tbaa !9 %331 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %330) #2 br label %332 332: ; preds = %209, %13, %28, %45, %62, %283, %302, %305, %308, %311, %289, %292, %295, %298, %265, %268, %264, %249, %252, %248, %211, %214, %224, %221, %218, %215, %197, %206, %203, %191, %194, %144, %147, %120, %129, %126, %329, %326, %323, %320, %317, %314, %65, %280, %277, %274, %271, %261, %258, %255, %65, %245, %242, %239, %236, %233, %230, %227, %65, %65, %171, %168, %165, %162, %159, %156, %153, %150, %138, %135, %132, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %53, %37, %19, %7 br label %333 333: ; preds = %65, %332 %334 = phi i32 [ 0, %332 ], [ -1, %65 ] ret i32 %334 } declare i32 @BIND_ACTION_OK(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @filebrowser_get_type(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_menu_cbs_init_bind_ok_compare_type.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_ok.c_menu_cbs_init_bind_ok_compare_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MENU_SET_CDROM_LIST = common local_unnamed_addr global i32 0, align 4 @action_ok_dump_cdrom = common local_unnamed_addr global ptr null, align 8 @MENU_SET_CDROM_INFO = common local_unnamed_addr global i32 0, align 4 @action_ok_cdrom_info_list = common local_unnamed_addr global ptr null, align 8 @MENU_SET_LOAD_CDROM_LIST = common local_unnamed_addr global i32 0, align 4 @action_ok_load_cdrom = common local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_CUSTOM_BIND_KEYBOARD = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CUSTOM_BIND = common local_unnamed_addr global i32 0, align 4 @action_ok_lookup_setting = common local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_SHADER_PARAMETER_0 = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PARAMETER_LAST = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PRESET_PARAMETER_0 = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEAT_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEAT_END = common local_unnamed_addr global i32 0, align 4 @action_ok_cheat = common local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_CORE_OPTION_START = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_CHEEVOS_START = common local_unnamed_addr global i32 0, align 4 @action_ok_core_option_dropdown_list = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_core_options_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_string_options_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_int_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_float_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_uint_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_core_options_item_special = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_string_options_item_special = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_int_item_special = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_float_item_special = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_setting_uint_item_special = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_resolution = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_default_core = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_label_display_mode = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_right_thumbnail_mode = common local_unnamed_addr global ptr null, align 8 @action_ok_push_dropdown_item_playlist_left_thumbnail_mode = common local_unnamed_addr global ptr null, align 8 @action_ok_push_default = common local_unnamed_addr global ptr null, align 8 @MENU_LABEL_PLAYLISTS_TAB = common local_unnamed_addr global i32 0, align 4 @action_ok_playlist_entry_collection = common local_unnamed_addr global ptr null, align 8 @MENU_LABEL_RDB_ENTRY_START_CONTENT = common local_unnamed_addr global i32 0, align 4 @action_ok_playlist_entry_start_content = common local_unnamed_addr global ptr null, align 8 @action_ok_playlist_entry = common local_unnamed_addr global ptr null, align 8 @action_ok_rpl_entry = common local_unnamed_addr global ptr null, align 8 @action_ok_playlist_collection = common local_unnamed_addr global ptr null, align 8 @action_ok_push_generic_list = common local_unnamed_addr global ptr null, align 8 @MENU_LABEL_CHEAT_FILE_LOAD_APPEND = common local_unnamed_addr global i32 0, align 4 @action_ok_cheat_file_load_append = common local_unnamed_addr global ptr null, align 8 @action_ok_cheat_file_load = common local_unnamed_addr global ptr null, align 8 @action_ok_record_configfile_load = common local_unnamed_addr global ptr null, align 8 @action_ok_stream_configfile_load = common local_unnamed_addr global ptr null, align 8 @action_ok_rgui_menu_theme_preset_load = common local_unnamed_addr global ptr null, align 8 @action_ok_remap_file_load = common local_unnamed_addr global ptr null, align 8 @action_ok_menu_wallpaper_load = common local_unnamed_addr global ptr null, align 8 @action_ok_path_use_directory = common local_unnamed_addr global ptr null, align 8 @action_ok_config_load = common local_unnamed_addr global ptr null, align 8 @action_ok_parent_directory_push = common local_unnamed_addr global ptr null, align 8 @MENU_LABEL_VIDEO_FONT_PATH = common local_unnamed_addr global i32 0, align 4 @MENU_LABEL_XMB_FONT = common local_unnamed_addr global i32 0, align 4 @MENU_LABEL_AUDIO_DSP_PLUGIN = common local_unnamed_addr global i32 0, align 4 @MENU_LABEL_VIDEO_FILTER = common local_unnamed_addr global i32 0, align 4 @action_ok_directory_push = common local_unnamed_addr global ptr null, align 8 @action_ok_push_random_dir = common local_unnamed_addr global ptr null, align 8 @FILEBROWSER_SCAN_FILE = common local_unnamed_addr global i32 0, align 4 @action_ok_compressed_archive_push_detect_core = common local_unnamed_addr global ptr null, align 8 @action_ok_compressed_archive_push = common local_unnamed_addr global ptr null, align 8 @action_ok_deferred_list_stub = common local_unnamed_addr global ptr null, align 8 @action_ok_load_core_deferred = common local_unnamed_addr global ptr null, align 8 @action_ok_core_deferred_set = common local_unnamed_addr global ptr null, align 8 @action_ok_load_core = common local_unnamed_addr global ptr null, align 8 @action_ok_sideload_core = common local_unnamed_addr global ptr null, align 8 @action_ok_core_content_download = common local_unnamed_addr global ptr null, align 8 @action_ok_core_content_thumbnails = common local_unnamed_addr global ptr null, align 8 @action_ok_pl_content_thumbnails = common local_unnamed_addr global ptr null, align 8 @action_ok_core_updater_download = common local_unnamed_addr global ptr null, align 8 @action_ok_download_url = common local_unnamed_addr global ptr null, align 8 @action_ok_thumbnails_updater_download = common local_unnamed_addr global ptr null, align 8 @action_ok_lakka_download = common local_unnamed_addr global ptr null, align 8 @action_ok_database_manager_list = common local_unnamed_addr global ptr null, align 8 @action_ok_rdb_entry = common local_unnamed_addr global ptr null, align 8 @action_ok_wifi = common local_unnamed_addr global ptr null, align 8 @action_ok_netplay_lan_scan = common local_unnamed_addr global ptr null, align 8 @action_ok_cursor_manager_list = common local_unnamed_addr global ptr null, align 8 @action_ok_set_path_videofilter = common local_unnamed_addr global ptr null, align 8 @action_ok_set_path = common local_unnamed_addr global ptr null, align 8 @action_ok_set_path_overlay = common local_unnamed_addr global ptr null, align 8 @action_ok_set_path_audiofilter = common local_unnamed_addr global ptr null, align 8 @action_ok_file_load_with_detect_core = common local_unnamed_addr global ptr null, align 8 @action_ok_disk_image_append = common local_unnamed_addr global ptr null, align 8 @action_ok_subsystem_add = common local_unnamed_addr global ptr null, align 8 @action_ok_file_load = common local_unnamed_addr global ptr null, align 8 @action_ok_file_load_music = common local_unnamed_addr global ptr null, align 8 @action_ok_file_load_imageviewer = common local_unnamed_addr global ptr null, align 8 @action_ok_disk_cycle_tray_status = common local_unnamed_addr global ptr null, align 8 @action_ok_option_create = common local_unnamed_addr global ptr null, align 8 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_END = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_LOOPED_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_LOOPED_END = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_SEQUENTIAL_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_PLAY_SEQUENTIAL_END = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_REMOVE_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_REMOVE_END = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_STOP_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_ACTIONS_STOP_END = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_BEGIN = common local_unnamed_addr global i32 0, align 4 @MENU_SETTINGS_AUDIO_MIXER_STREAM_END = common local_unnamed_addr global i32 0, align 4 @action_ok_file_load_ffmpeg = common local_unnamed_addr global ptr null, align 8 @action_ok_file_load_with_detect_core_carchive = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play_looped = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_play_sequential = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_remove = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_action_stop = common local_unnamed_addr global ptr null, align 8 @action_ok_mixer_stream_actions = common local_unnamed_addr global ptr null, align 8 @action_ok_path_scan_directory = common local_unnamed_addr global ptr null, align 8 @action_ok_scan_file = common local_unnamed_addr global ptr null, align 8 @action_ok_set_path_video_layout = common local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_backlight = common local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_cpu_profile = common local_unnamed_addr global ptr null, align 8 @action_ok_set_switch_gpu_profile = common local_unnamed_addr global ptr null, align 8 @action_ok_shader_pass_load = common local_unnamed_addr global ptr null, align 8 @action_ok_shader_preset_load = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @menu_cbs_init_bind_ok_compare_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @menu_cbs_init_bind_ok_compare_type(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @MENU_SET_CDROM_LIST, align 4, !tbaa !6 %6 = icmp eq i32 %5, %3 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load ptr, ptr @action_ok_dump_cdrom, align 8, !tbaa !10 %9 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %8) #2 br label %332 10: ; preds = %4 %11 = load i32, ptr @MENU_SET_CDROM_INFO, align 4, !tbaa !6 %12 = icmp eq i32 %11, %3 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load ptr, ptr @action_ok_cdrom_info_list, align 8, !tbaa !10 %15 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %14) #2 br label %332 16: ; preds = %10 %17 = load i32, ptr @MENU_SET_LOAD_CDROM_LIST, align 4, !tbaa !6 %18 = icmp eq i32 %17, %3 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr @action_ok_load_cdrom, align 8, !tbaa !10 %21 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %20) #2 br label %332 22: ; preds = %16 %23 = load i32, ptr @MENU_SETTINGS_CUSTOM_BIND_KEYBOARD, align 4, !tbaa !6 %24 = icmp eq i32 %23, %3 %25 = load i32, ptr @MENU_SETTINGS_CUSTOM_BIND, align 4 %26 = icmp eq i32 %25, %3 %27 = select i1 %24, i1 true, i1 %26 br i1 %27, label %28, label %31 28: ; preds = %22 %29 = load ptr, ptr @action_ok_lookup_setting, align 8, !tbaa !10 %30 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %29) #2 br label %332 31: ; preds = %22 %32 = load i32, ptr @MENU_SETTINGS_SHADER_PARAMETER_0, align 4, !tbaa !6 %33 = icmp ugt i32 %32, %3 %34 = load i32, ptr @MENU_SETTINGS_SHADER_PARAMETER_LAST, align 4 %35 = icmp ult i32 %34, %3 %36 = select i1 %33, i1 true, i1 %35 br i1 %36, label %39, label %37 37: ; preds = %31 %38 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef null) #2 br label %332 39: ; preds = %31 %40 = load i32, ptr @MENU_SETTINGS_SHADER_PRESET_PARAMETER_0, align 4, !tbaa !6 %41 = icmp ugt i32 %40, %3 %42 = load i32, ptr @MENU_SETTINGS_SHADER_PRESET_PARAMETER_LAST, align 4 %43 = icmp ult i32 %42, %3 %44 = select i1 %41, i1 true, i1 %43 br i1 %44, label %47, label %45 45: ; preds = %39 %46 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef null) #2 br label %332 47: ; preds = %39 %48 = load i32, ptr @MENU_SETTINGS_CHEAT_BEGIN, align 4, !tbaa !6 %49 = icmp ugt i32 %48, %3 %50 = load i32, ptr @MENU_SETTINGS_CHEAT_END, align 4 %51 = icmp ult i32 %50, %3 %52 = select i1 %49, i1 true, i1 %51 br i1 %52, label %56, label %53 53: ; preds = %47 %54 = load ptr, ptr @action_ok_cheat, align 8, !tbaa !10 %55 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %54) #2 br label %332 56: ; preds = %47 %57 = load i32, ptr @MENU_SETTINGS_CORE_OPTION_START, align 4, !tbaa !6 %58 = icmp ule i32 %57, %3 %59 = load i32, ptr @MENU_SETTINGS_CHEEVOS_START, align 4 %60 = icmp ugt i32 %59, %3 %61 = select i1 %58, i1 %60, i1 false br i1 %61, label %62, label %65 62: ; preds = %56 %63 = load ptr, ptr @action_ok_core_option_dropdown_list, align 8, !tbaa !10 %64 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %63) #2 br label %332 65: ; preds = %56 switch i32 %3, label %333 [ i32 145, label %66 i32 139, label %69 i32 141, label %72 i32 143, label %75 i32 137, label %78 i32 144, label %81 i32 138, label %84 i32 140, label %87 i32 142, label %90 i32 136, label %93 i32 151, label %96 i32 146, label %99 i32 150, label %102 i32 149, label %105 i32 147, label %108 i32 148, label %111 i32 152, label %114 i32 188, label %117 i32 182, label %132 i32 189, label %135 i32 211, label %138 i32 213, label %141 i32 185, label %150 i32 178, label %153 i32 183, label %156 i32 184, label %159 i32 179, label %332 i32 180, label %332 i32 197, label %162 i32 177, label %165 i32 212, label %168 i32 191, label %171 i32 208, label %174 i32 214, label %197 i32 210, label %209 i32 205, label %227 i32 200, label %230 i32 202, label %233 i32 206, label %236 i32 199, label %239 i32 201, label %242 i32 203, label %245 i32 204, label %332 i32 187, label %248 i32 186, label %255 i32 129, label %258 i32 156, label %261 i32 209, label %264 i32 176, label %271 i32 198, label %274 i32 192, label %277 i32 215, label %280 i32 195, label %283 i32 190, label %283 i32 194, label %332 i32 193, label %314 i32 196, label %317 i32 207, label %320 i32 155, label %323 i32 135, label %323 i32 134, label %323 i32 154, label %326 i32 153, label %329 ] 66: ; preds = %65 %67 = load ptr, ptr @action_ok_push_dropdown_setting_core_options_item, align 8, !tbaa !10 %68 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %67) #2 br label %332 69: ; preds = %65 %70 = load ptr, ptr @action_ok_push_dropdown_setting_string_options_item, align 8, !tbaa !10 %71 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %70) #2 br label %332 72: ; preds = %65 %73 = load ptr, ptr @action_ok_push_dropdown_setting_int_item, align 8, !tbaa !10 %74 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %73) #2 br label %332 75: ; preds = %65 %76 = load ptr, ptr @action_ok_push_dropdown_setting_float_item, align 8, !tbaa !10 %77 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %76) #2 br label %332 78: ; preds = %65 %79 = load ptr, ptr @action_ok_push_dropdown_setting_uint_item, align 8, !tbaa !10 %80 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %79) #2 br label %332 81: ; preds = %65 %82 = load ptr, ptr @action_ok_push_dropdown_setting_core_options_item_special, align 8, !tbaa !10 %83 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %82) #2 br label %332 84: ; preds = %65 %85 = load ptr, ptr @action_ok_push_dropdown_setting_string_options_item_special, align 8, !tbaa !10 %86 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %85) #2 br label %332 87: ; preds = %65 %88 = load ptr, ptr @action_ok_push_dropdown_setting_int_item_special, align 8, !tbaa !10 %89 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %88) #2 br label %332 90: ; preds = %65 %91 = load ptr, ptr @action_ok_push_dropdown_setting_float_item_special, align 8, !tbaa !10 %92 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %91) #2 br label %332 93: ; preds = %65 %94 = load ptr, ptr @action_ok_push_dropdown_setting_uint_item_special, align 8, !tbaa !10 %95 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %94) #2 br label %332 96: ; preds = %65 %97 = load ptr, ptr @action_ok_push_dropdown_item, align 8, !tbaa !10 %98 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %97) #2 br label %332 99: ; preds = %65 %100 = load ptr, ptr @action_ok_push_dropdown_item_resolution, align 8, !tbaa !10 %101 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %100) #2 br label %332 102: ; preds = %65 %103 = load ptr, ptr @action_ok_push_dropdown_item_playlist_default_core, align 8, !tbaa !10 %104 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %103) #2 br label %332 105: ; preds = %65 %106 = load ptr, ptr @action_ok_push_dropdown_item_playlist_label_display_mode, align 8, !tbaa !10 %107 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %106) #2 br label %332 108: ; preds = %65 %109 = load ptr, ptr @action_ok_push_dropdown_item_playlist_right_thumbnail_mode, align 8, !tbaa !10 %110 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %109) #2 br label %332 111: ; preds = %65 %112 = load ptr, ptr @action_ok_push_dropdown_item_playlist_left_thumbnail_mode, align 8, !tbaa !10 %113 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %112) #2 br label %332 114: ; preds = %65 %115 = load ptr, ptr @action_ok_push_default, align 8, !tbaa !10 %116 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %115) #2 br label %332 117: ; preds = %65 %118 = load i32, ptr @MENU_LABEL_PLAYLISTS_TAB, align 4, !tbaa !6 %119 = icmp eq i32 %118, %1 br i1 %119, label %120, label %123 120: ; preds = %117 %121 = load ptr, ptr @action_ok_playlist_entry_collection, align 8, !tbaa !10 %122 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %121) #2 br label %332 123: ; preds = %117 %124 = load i32, ptr @MENU_LABEL_RDB_ENTRY_START_CONTENT, align 4, !tbaa !6 %125 = icmp eq i32 %124, %1 br i1 %125, label %126, label %129 126: ; preds = %123 %127 = load ptr, ptr @action_ok_playlist_entry_start_content, align 8, !tbaa !10 %128 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %127) #2 br label %332 129: ; preds = %123 %130 = load ptr, ptr @action_ok_playlist_entry, align 8, !tbaa !10 %131 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %130) #2 br label %332 132: ; preds = %65 %133 = load ptr, ptr @action_ok_rpl_entry, align 8, !tbaa !10 %134 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %133) #2 br label %332 135: ; preds = %65 %136 = load ptr, ptr @action_ok_playlist_collection, align 8, !tbaa !10 %137 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %136) #2 br label %332 138: ; preds = %65 %139 = load ptr, ptr @action_ok_push_generic_list, align 8, !tbaa !10 %140 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %139) #2 br label %332 141: ; preds = %65 %142 = load i32, ptr @MENU_LABEL_CHEAT_FILE_LOAD_APPEND, align 4, !tbaa !6 %143 = icmp eq i32 %142, %2 br i1 %143, label %144, label %147 144: ; preds = %141 %145 = load ptr, ptr @action_ok_cheat_file_load_append, align 8, !tbaa !10 %146 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %145) #2 br label %332 147: ; preds = %141 %148 = load ptr, ptr @action_ok_cheat_file_load, align 8, !tbaa !10 %149 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %148) #2 br label %332 150: ; preds = %65 %151 = load ptr, ptr @action_ok_record_configfile_load, align 8, !tbaa !10 %152 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %151) #2 br label %332 153: ; preds = %65 %154 = load ptr, ptr @action_ok_stream_configfile_load, align 8, !tbaa !10 %155 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %154) #2 br label %332 156: ; preds = %65 %157 = load ptr, ptr @action_ok_rgui_menu_theme_preset_load, align 8, !tbaa !10 %158 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %157) #2 br label %332 159: ; preds = %65 %160 = load ptr, ptr @action_ok_remap_file_load, align 8, !tbaa !10 %161 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %160) #2 br label %332 162: ; preds = %65 %163 = load ptr, ptr @action_ok_menu_wallpaper_load, align 8, !tbaa !10 %164 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %163) #2 br label %332 165: ; preds = %65 %166 = load ptr, ptr @action_ok_path_use_directory, align 8, !tbaa !10 %167 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %166) #2 br label %332 168: ; preds = %65 %169 = load ptr, ptr @action_ok_config_load, align 8, !tbaa !10 %170 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %169) #2 br label %332 171: ; preds = %65 %172 = load ptr, ptr @action_ok_parent_directory_push, align 8, !tbaa !10 %173 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %172) #2 br label %332 174: ; preds = %65 %175 = load i32, ptr %0, align 4, !tbaa !12 %176 = freeze i32 %175 %177 = icmp eq i32 %176, 128 br i1 %177, label %178, label %191 178: ; preds = %174 switch i32 %2, label %179 [ i32 161, label %191 i32 157, label %191 ] 179: ; preds = %178 %180 = load i32, ptr @MENU_LABEL_VIDEO_FONT_PATH, align 4, !tbaa !6 %181 = icmp eq i32 %180, %2 %182 = load i32, ptr @MENU_LABEL_XMB_FONT, align 4 %183 = icmp eq i32 %182, %2 %184 = select i1 %181, i1 true, i1 %183 %185 = load i32, ptr @MENU_LABEL_AUDIO_DSP_PLUGIN, align 4 %186 = icmp eq i32 %185, %2 %187 = select i1 %184, i1 true, i1 %186 %188 = load i32, ptr @MENU_LABEL_VIDEO_FILTER, align 4 %189 = icmp eq i32 %188, %2 %190 = select i1 %187, i1 true, i1 %189 br i1 %190, label %191, label %194 191: ; preds = %178, %178, %174, %179 %192 = load ptr, ptr @action_ok_directory_push, align 8, !tbaa !10 %193 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %192) #2 br label %332 194: ; preds = %179 %195 = load ptr, ptr @action_ok_push_random_dir, align 8, !tbaa !10 %196 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %195) #2 br label %332 197: ; preds = %65 %198 = tail call i32 @filebrowser_get_type() #2 %199 = load i32, ptr @FILEBROWSER_SCAN_FILE, align 4, !tbaa !6 %200 = icmp eq i32 %198, %199 br i1 %200, label %332, label %201 201: ; preds = %197 %202 = icmp eq i32 %2, 159 br i1 %202, label %203, label %206 203: ; preds = %201 %204 = load ptr, ptr @action_ok_compressed_archive_push_detect_core, align 8, !tbaa !10 %205 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %204) #2 br label %332 206: ; preds = %201 %207 = load ptr, ptr @action_ok_compressed_archive_push, align 8, !tbaa !10 %208 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %207) #2 br label %332 209: ; preds = %65 %210 = load i32, ptr %0, align 4, !tbaa !12 switch i32 %210, label %332 [ i32 128, label %214 i32 174, label %211 ] 211: ; preds = %209 %212 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !10 %213 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %212) #2 br label %332 214: ; preds = %209 switch i32 %2, label %332 [ i32 164, label %215 i32 163, label %218 i32 168, label %221 i32 158, label %224 ] 215: ; preds = %214 %216 = load ptr, ptr @action_ok_load_core_deferred, align 8, !tbaa !10 %217 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %216) #2 br label %332 218: ; preds = %214 %219 = load ptr, ptr @action_ok_core_deferred_set, align 8, !tbaa !10 %220 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %219) #2 br label %332 221: ; preds = %214 %222 = load ptr, ptr @action_ok_load_core, align 8, !tbaa !10 %223 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %222) #2 br label %332 224: ; preds = %214 %225 = load ptr, ptr @action_ok_sideload_core, align 8, !tbaa !10 %226 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %225) #2 br label %332 227: ; preds = %65 %228 = load ptr, ptr @action_ok_core_content_download, align 8, !tbaa !10 %229 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %228) #2 br label %332 230: ; preds = %65 %231 = load ptr, ptr @action_ok_core_content_thumbnails, align 8, !tbaa !10 %232 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %231) #2 br label %332 233: ; preds = %65 %234 = load ptr, ptr @action_ok_pl_content_thumbnails, align 8, !tbaa !10 %235 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %234) #2 br label %332 236: ; preds = %65 %237 = load ptr, ptr @action_ok_core_updater_download, align 8, !tbaa !10 %238 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %237) #2 br label %332 239: ; preds = %65 %240 = load ptr, ptr @action_ok_download_url, align 8, !tbaa !10 %241 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %240) #2 br label %332 242: ; preds = %65 %243 = load ptr, ptr @action_ok_thumbnails_updater_download, align 8, !tbaa !10 %244 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %243) #2 br label %332 245: ; preds = %65 %246 = load ptr, ptr @action_ok_lakka_download, align 8, !tbaa !10 %247 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %246) #2 br label %332 248: ; preds = %65 switch i32 %2, label %332 [ i32 162, label %249 i32 166, label %252 i32 130, label %252 ] 249: ; preds = %248 %250 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !10 %251 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %250) #2 br label %332 252: ; preds = %248, %248 %253 = load ptr, ptr @action_ok_database_manager_list, align 8, !tbaa !10 %254 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %253) #2 br label %332 255: ; preds = %65 %256 = load ptr, ptr @action_ok_rdb_entry, align 8, !tbaa !10 %257 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %256) #2 br label %332 258: ; preds = %65 %259 = load ptr, ptr @action_ok_wifi, align 8, !tbaa !10 %260 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %259) #2 br label %332 261: ; preds = %65 %262 = load ptr, ptr @action_ok_netplay_lan_scan, align 8, !tbaa !10 %263 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %262) #2 br label %332 264: ; preds = %65 switch i32 %2, label %332 [ i32 162, label %265 i32 167, label %268 ] 265: ; preds = %264 %266 = load ptr, ptr @action_ok_deferred_list_stub, align 8, !tbaa !10 %267 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %266) #2 br label %332 268: ; preds = %264 %269 = load ptr, ptr @action_ok_cursor_manager_list, align 8, !tbaa !10 %270 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %269) #2 br label %332 271: ; preds = %65 %272 = load ptr, ptr @action_ok_set_path_videofilter, align 8, !tbaa !10 %273 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %272) #2 br label %332 274: ; preds = %65 %275 = load ptr, ptr @action_ok_set_path, align 8, !tbaa !10 %276 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %275) #2 br label %332 277: ; preds = %65 %278 = load ptr, ptr @action_ok_set_path_overlay, align 8, !tbaa !10 %279 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %278) #2 br label %332 280: ; preds = %65 %281 = load ptr, ptr @action_ok_set_path_audiofilter, align 8, !tbaa !10 %282 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %281) #2 br label %332 283: ; preds = %65, %65 %284 = tail call i32 @filebrowser_get_type() #2 %285 = load i32, ptr @FILEBROWSER_SCAN_FILE, align 4, !tbaa !6 %286 = icmp eq i32 %284, %285 br i1 %286, label %332, label %287 287: ; preds = %283 %288 = load i32, ptr %0, align 4, !tbaa !12 switch i32 %288, label %298 [ i32 128, label %301 i32 171, label %289 i32 170, label %289 i32 173, label %289 i32 172, label %292 i32 169, label %295 ] 289: ; preds = %287, %287, %287 %290 = load ptr, ptr @action_ok_file_load_with_detect_core, align 8, !tbaa !10 %291 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %290) #2 br label %332 292: ; preds = %287 %293 = load ptr, ptr @action_ok_disk_image_append, align 8, !tbaa !10 %294 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %293) #2 br label %332 295: ; preds = %287 %296 = load ptr, ptr @action_ok_subsystem_add, align 8, !tbaa !10 %297 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %296) #2 br label %332 298: ; preds = %287 %299 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !10 %300 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %299) #2 br label %332 301: ; preds = %287 switch i32 %2, label %311 [ i32 160, label %302 i32 159, label %302 i32 165, label %302 i32 161, label %305 i32 157, label %308 ] 302: ; preds = %301, %301, %301 %303 = load ptr, ptr @action_ok_file_load_with_detect_core, align 8, !tbaa !10 %304 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %303) #2 br label %332 305: ; preds = %301 %306 = load ptr, ptr @action_ok_disk_image_append, align 8, !tbaa !10 %307 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %306) #2 br label %332 308: ; preds = %301 %309 = load ptr, ptr @action_ok_subsystem_add, align 8, !tbaa !10 %310 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %309) #2 br label %332 311: ; preds = %301 %312 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !10 %313 = tail call i32 @BIND_ACTION_OK(ptr noundef nonnull %0, ptr noundef %312) #2 br label %332 314: ; preds = %65 %315 = load ptr, ptr @action_ok_file_load_music, align 8, !tbaa !10 %316 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %315) #2 br label %332 317: ; preds = %65 %318 = load ptr, ptr @action_ok_file_load_imageviewer, align 8, !tbaa !10 %319 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %318) #2 br label %332 320: ; preds = %65 %321 = load ptr, ptr @action_ok_file_load, align 8, !tbaa !10 %322 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %321) #2 br label %332 323: ; preds = %65, %65, %65 %324 = load ptr, ptr @action_ok_push_default, align 8, !tbaa !10 %325 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %324) #2 br label %332 326: ; preds = %65 %327 = load ptr, ptr @action_ok_disk_cycle_tray_status, align 8, !tbaa !10 %328 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %327) #2 br label %332 329: ; preds = %65 %330 = load ptr, ptr @action_ok_option_create, align 8, !tbaa !10 %331 = tail call i32 @BIND_ACTION_OK(ptr noundef %0, ptr noundef %330) #2 br label %332 332: ; preds = %209, %13, %28, %45, %62, %283, %302, %305, %308, %311, %289, %292, %295, %298, %265, %268, %264, %249, %252, %248, %211, %214, %224, %221, %218, %215, %197, %206, %203, %191, %194, %144, %147, %120, %129, %126, %329, %326, %323, %320, %317, %314, %65, %280, %277, %274, %271, %261, %258, %255, %65, %245, %242, %239, %236, %233, %230, %227, %65, %65, %171, %168, %165, %162, %159, %156, %153, %150, %138, %135, %132, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %53, %37, %19, %7 br label %333 333: ; preds = %65, %332 %334 = phi i32 [ 0, %332 ], [ -1, %65 ] ret i32 %334 } declare i32 @BIND_ACTION_OK(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @filebrowser_get_type(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
RetroArch_menu_cbs_extr_menu_cbs_ok.c_menu_cbs_init_bind_ok_compare_type
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ortho_4x12/crs/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ortho_4x12/crs/extr_keymap.c_matrix_init_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_init_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/layouts/community/ortho_4x12/crs/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ortho_4x12/crs/extr_keymap.c_matrix_init_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_init_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_layouts_community_ortho_4x12_crs_extr_keymap.c_matrix_init_user
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_set_cookie_common.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_set_cookie_common.c" target datalayout = "e-m:e-p270:32:32-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.tcp_cache = type { i64, i32 } @TFO_COOKIE_LEN_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_cache_set_cookie_common], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tcp_cache_set_cookie_common(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %5 = call ptr @tcp_getcache_with_lock(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %4) #4 %6 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %3 %8 = load i64, ptr @TFO_COOKIE_LEN_MAX, align 8 %9 = call i64 @llvm.smin.i64(i64 %8, i64 %2) store i64 %9, ptr %5, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.tcp_cache, ptr %5, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = call i32 @memcpy(i32 noundef %11, ptr noundef %1, i64 noundef %9) #4 %13 = load ptr, ptr %4, align 8, !tbaa !12 %14 = call i32 @tcp_cache_unlock(ptr noundef %13) #4 br label %15 15: ; preds = %3, %7 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tcp_getcache_with_lock(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @tcp_cache_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #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 = !{!"tcp_cache", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_set_cookie_common.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_set_cookie_common.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TFO_COOKIE_LEN_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @tcp_cache_set_cookie_common], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tcp_cache_set_cookie_common(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %5 = call ptr @tcp_getcache_with_lock(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %4) #4 %6 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %3 %8 = load i64, ptr @TFO_COOKIE_LEN_MAX, align 8 %9 = call i64 @llvm.smin.i64(i64 %8, i64 %2) store i64 %9, ptr %5, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = call i32 @memcpy(i32 noundef %11, ptr noundef %1, i64 noundef %9) #4 %13 = load ptr, ptr %4, align 8, !tbaa !13 %14 = call i32 @tcp_cache_unlock(ptr noundef %13) #4 br label %15 15: ; preds = %3, %7 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tcp_getcache_with_lock(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @tcp_cache_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #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 = !{!"tcp_cache", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0}
darwin-xnu_bsd_netinet_extr_tcp_cache.c_tcp_cache_set_cookie_common
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_vop_unbind.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_vop_unbind.c" target datalayout = "e-m:e-p270:32:32-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.vop = type { i32, i32, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @vop_unbind], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vop_unbind(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.vop, ptr %4, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @rockchip_rgb_fini(i64 noundef %6) #2 br label %10 10: ; preds = %8, %3 %11 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2 %12 = tail call i32 @vop_destroy_crtc(ptr noundef nonnull %4) #2 %13 = getelementptr inbounds %struct.vop, ptr %4, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !11 %15 = tail call i32 @clk_unprepare(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.vop, ptr %4, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @clk_unprepare(i32 noundef %17) #2 %19 = load i32, ptr %4, align 8, !tbaa !13 %20 = tail call i32 @clk_unprepare(i32 noundef %19) #2 ret void } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rockchip_rgb_fini(i64 noundef) local_unnamed_addr #1 declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1 declare i32 @vop_destroy_crtc(ptr noundef) local_unnamed_addr #1 declare i32 @clk_unprepare(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"vop", !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 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_vop_unbind.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_vop_unbind.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 @vop_unbind], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vop_unbind(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @rockchip_rgb_fini(i64 noundef %6) #2 br label %10 10: ; preds = %8, %3 %11 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2 %12 = tail call i32 @vop_destroy_crtc(ptr noundef nonnull %4) #2 %13 = getelementptr inbounds i8, ptr %4, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !12 %15 = tail call i32 @clk_unprepare(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %4, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = tail call i32 @clk_unprepare(i32 noundef %17) #2 %19 = load i32, ptr %4, align 8, !tbaa !14 %20 = tail call i32 @clk_unprepare(i32 noundef %19) #2 ret void } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rockchip_rgb_fini(i64 noundef) local_unnamed_addr #1 declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1 declare i32 @vop_destroy_crtc(ptr noundef) local_unnamed_addr #1 declare i32 @clk_unprepare(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"vop", !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 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_rockchip_extr_rockchip_drm_vop.c_vop_unbind
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_snesusb.c_hidpad_snesusb_get_axis.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_snesusb.c_hidpad_snesusb_get_axis.c" target datalayout = "e-m:e-p270:32:32-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 @hidpad_snesusb_get_axis], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @hidpad_snesusb_get_axis(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null %4 = icmp ugt i32 %1, 1 %5 = or i1 %3, %4 br i1 %5, label %17, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = zext nneg i32 %1 to i64 %9 = getelementptr i32, ptr %7, i64 %8 %10 = getelementptr i32, ptr %9, i64 1 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = shl i32 %11, 8 %13 = add nsw i32 %12, -32768 %14 = tail call i32 @llvm.abs.i32(i32 %13, i1 true) %15 = icmp ugt i32 %14, 4096 %16 = select i1 %15, i32 %13, i32 0 br label %17 17: ; preds = %2, %6 %18 = phi i32 [ %16, %6 ], [ 0, %2 ] ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #1 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hidpad_snesusb_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_snesusb.c_hidpad_snesusb_get_axis.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_snesusb.c_hidpad_snesusb_get_axis.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 @hidpad_snesusb_get_axis], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483648, 2147450880) i32 @hidpad_snesusb_get_axis(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null %4 = icmp ugt i32 %1, 1 %5 = or i1 %3, %4 br i1 %5, label %17, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = zext nneg i32 %1 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = getelementptr inbounds i8, ptr %9, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = shl i32 %11, 8 %13 = add nsw i32 %12, -32768 %14 = tail call i32 @llvm.abs.i32(i32 %13, i1 true) %15 = icmp ugt i32 %14, 4096 %16 = select i1 %15, i32 %13, i32 0 br label %17 17: ; preds = %2, %6 %18 = phi i32 [ %16, %6 ], [ 0, %2 ] ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #1 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hidpad_snesusb_data", !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}
RetroArch_input_connect_extr_connect_snesusb.c_hidpad_snesusb_get_axis
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_base507c.c_base507c_ntfy_reset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_base507c.c_base507c_ntfy_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" ; Function Attrs: nounwind uwtable define dso_local void @base507c_ntfy_reset(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = sdiv i32 %1, 4 %4 = tail call i32 @nouveau_bo_wr32(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret void } declare i32 @nouveau_bo_wr32(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/drivers/gpu/drm/nouveau/dispnv50/extr_base507c.c_base507c_ntfy_reset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_base507c.c_base507c_ntfy_reset.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 @base507c_ntfy_reset(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = sdiv i32 %1, 4 %4 = tail call i32 @nouveau_bo_wr32(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret void } declare i32 @nouveau_bo_wr32(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_drivers_gpu_drm_nouveau_dispnv50_extr_base507c.c_base507c_ntfy_reset
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsfgetln.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsfgetln.c" target datalayout = "e-m:e-p270:32:32-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.reader_buffer = type { i32, ptr } @MB_CUR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @EOF = dso_local local_unnamed_addr global i32 0, align 4 @WEOF = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @bwsfgetln(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %8, label %6 6: ; preds = %4 %7 = tail call i32 @btowc(i8 noundef signext 0) #3 br label %57 8: ; preds = %4 %9 = tail call i32 @btowc(i8 noundef signext 10) #3 %10 = load i32, ptr @MB_CUR_MAX, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %34 12: ; preds = %8 %13 = tail call ptr @fgetwln(ptr noundef %0, ptr noundef %1) #3 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %12 %16 = tail call i64 @feof(ptr noundef %0) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %148 18: ; preds = %15 %19 = tail call i32 @err(i32 noundef 2, ptr noundef null) #3 br label %148 20: ; preds = %12 %21 = load i64, ptr %1, align 8, !tbaa !5 %22 = icmp eq i64 %21, 0 br i1 %22, label %31, label %23 23: ; preds = %20 %24 = getelementptr i64, ptr %13, i64 %21 %25 = getelementptr i64, ptr %24, i64 -1 %26 = load i64, ptr %25, align 8, !tbaa !5 %27 = sext i32 %9 to i64 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %23 %30 = add i64 %21, -1 store i64 %30, ptr %1, align 8, !tbaa !5 br label %31 31: ; preds = %23, %29, %20 %32 = phi i64 [ %21, %23 ], [ %30, %29 ], [ 0, %20 ] %33 = tail call ptr @bwssbdup(ptr noundef nonnull %13, i64 noundef %32) #3 br label %148 34: ; preds = %8 %35 = icmp eq i32 %10, 1 br i1 %35, label %36, label %57 36: ; preds = %34 %37 = tail call ptr @fgetln(ptr noundef %0, ptr noundef %1) #3 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %44 39: ; preds = %36 %40 = tail call i64 @feof(ptr noundef %0) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %148 42: ; preds = %39 %43 = tail call i32 @err(i32 noundef 2, ptr noundef null) #3 br label %148 44: ; preds = %36 %45 = load i64, ptr %1, align 8, !tbaa !5 %46 = icmp eq i64 %45, 0 br i1 %46, label %54, label %47 47: ; preds = %44 %48 = getelementptr i8, ptr %37, i64 %45 %49 = getelementptr i8, ptr %48, i64 -1 %50 = load i8, ptr %49, align 1, !tbaa !9 %51 = icmp eq i8 %50, 10 br i1 %51, label %52, label %54 52: ; preds = %47 %53 = add i64 %45, -1 store i64 %53, ptr %1, align 8, !tbaa !5 br label %54 54: ; preds = %47, %52, %44 %55 = phi i64 [ %45, %47 ], [ %53, %52 ], [ 0, %44 ] %56 = tail call ptr @bwscsbdup(ptr noundef nonnull %37, i64 noundef %55) #3 br label %148 57: ; preds = %6, %34 %58 = phi i32 [ %7, %6 ], [ %9, %34 ] store i64 0, ptr %1, align 8, !tbaa !5 %59 = tail call i64 @feof(ptr noundef %0) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %148 61: ; preds = %57 %62 = load i32, ptr %3, align 8, !tbaa !10 %63 = icmp slt i32 %62, 3 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = getelementptr inbounds %struct.reader_buffer, ptr %3, i64 0, i32 1 %66 = load ptr, ptr %65, align 8, !tbaa !14 br label %73 67: ; preds = %61 %68 = add nsw i32 %62, 256 store i32 %68, ptr %3, align 8, !tbaa !10 %69 = getelementptr inbounds %struct.reader_buffer, ptr %3, i64 0, i32 1 %70 = load ptr, ptr %69, align 8, !tbaa !14 %71 = shl i32 %68, 3 %72 = tail call ptr @sort_realloc(ptr noundef %70, i32 noundef %71) #3 store ptr %72, ptr %69, align 8, !tbaa !14 br label %73 73: ; preds = %64, %67 %74 = phi ptr [ %66, %64 ], [ %72, %67 ] %75 = getelementptr inbounds %struct.reader_buffer, ptr %3, i64 0, i32 1 %76 = load i64, ptr %1, align 8, !tbaa !5 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 0, ptr %77, align 4, !tbaa !15 %78 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !15 %79 = icmp eq i32 %78, 1 %80 = tail call i64 @feof(ptr noundef %0) #3 %81 = icmp eq i64 %80, 0 br i1 %79, label %83, label %82 82: ; preds = %73 br i1 %81, label %114, label %144 83: ; preds = %73 br i1 %81, label %84, label %144 84: ; preds = %83, %106 %85 = tail call i32 @fgetc(ptr noundef %0) %86 = load i32, ptr @EOF, align 4, !tbaa !15 %87 = icmp eq i32 %85, %86 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = load i64, ptr %1, align 8, !tbaa !5 %90 = icmp eq i64 %89, 0 br i1 %90, label %148, label %144 91: ; preds = %84 %92 = icmp eq i32 %85, %58 br i1 %92, label %144, label %93 93: ; preds = %91 %94 = load i64, ptr %1, align 8, !tbaa !5 %95 = add i64 %94, 1 %96 = load i32, ptr %3, align 8, !tbaa !10 %97 = sext i32 %96 to i64 %98 = icmp ult i64 %95, %97 %99 = load ptr, ptr %75, align 8, !tbaa !14 br i1 %98, label %106, label %100 100: ; preds = %93 %101 = add nsw i32 %96, 256 store i32 %101, ptr %3, align 8, !tbaa !10 %102 = tail call i32 @SIZEOF_WCHAR_STRING(i32 noundef %101) #3 %103 = tail call ptr @sort_realloc(ptr noundef %99, i32 noundef %102) #3 store ptr %103, ptr %75, align 8, !tbaa !14 %104 = load i64, ptr %1, align 8, !tbaa !5 %105 = add i64 %104, 1 br label %106 106: ; preds = %93, %100 %107 = phi i64 [ %95, %93 ], [ %105, %100 ] %108 = phi i64 [ %94, %93 ], [ %104, %100 ] %109 = phi ptr [ %99, %93 ], [ %103, %100 ] %110 = getelementptr inbounds i32, ptr %109, i64 %108 store i32 %85, ptr %110, align 4, !tbaa !15 store i64 %107, ptr %1, align 8, !tbaa !5 %111 = getelementptr inbounds i32, ptr %109, i64 %107 store i32 0, ptr %111, align 4, !tbaa !15 %112 = tail call i64 @feof(ptr noundef %0) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %84, label %144 114: ; preds = %82, %136 %115 = tail call i32 @fgetwc(ptr noundef %0) #3 %116 = load i32, ptr @WEOF, align 4, !tbaa !15 %117 = icmp eq i32 %115, %116 br i1 %117, label %118, label %121 118: ; preds = %114 %119 = load i64, ptr %1, align 8, !tbaa !5 %120 = icmp eq i64 %119, 0 br i1 %120, label %148, label %144 121: ; preds = %114 %122 = icmp eq i32 %115, %58 br i1 %122, label %144, label %123 123: ; preds = %121 %124 = load i64, ptr %1, align 8, !tbaa !5 %125 = add i64 %124, 1 %126 = load i32, ptr %3, align 8, !tbaa !10 %127 = sext i32 %126 to i64 %128 = icmp ult i64 %125, %127 %129 = load ptr, ptr %75, align 8, !tbaa !14 br i1 %128, label %136, label %130 130: ; preds = %123 %131 = add nsw i32 %126, 256 store i32 %131, ptr %3, align 8, !tbaa !10 %132 = tail call i32 @SIZEOF_WCHAR_STRING(i32 noundef %131) #3 %133 = tail call ptr @sort_realloc(ptr noundef %129, i32 noundef %132) #3 store ptr %133, ptr %75, align 8, !tbaa !14 %134 = load i64, ptr %1, align 8, !tbaa !5 %135 = add i64 %134, 1 br label %136 136: ; preds = %123, %130 %137 = phi i64 [ %125, %123 ], [ %135, %130 ] %138 = phi i64 [ %124, %123 ], [ %134, %130 ] %139 = phi ptr [ %129, %123 ], [ %133, %130 ] %140 = getelementptr inbounds i32, ptr %139, i64 %138 store i32 %115, ptr %140, align 4, !tbaa !15 store i64 %137, ptr %1, align 8, !tbaa !5 %141 = getelementptr inbounds i32, ptr %139, i64 %137 store i32 0, ptr %141, align 4, !tbaa !15 %142 = tail call i64 @feof(ptr noundef %0) #3 %143 = icmp eq i64 %142, 0 br i1 %143, label %114, label %144 144: ; preds = %136, %121, %106, %91, %82, %83, %118, %88 %145 = load ptr, ptr %75, align 8, !tbaa !14 %146 = load i64, ptr %1, align 8, !tbaa !5 %147 = tail call ptr @bwssbdup(ptr noundef %145, i64 noundef %146) #3 br label %148 148: ; preds = %118, %88, %57, %54, %42, %39, %31, %18, %15, %144 %149 = phi ptr [ %147, %144 ], [ %33, %31 ], [ null, %18 ], [ null, %15 ], [ %56, %54 ], [ null, %42 ], [ null, %39 ], [ null, %57 ], [ null, %88 ], [ null, %118 ] ret ptr %149 } declare i32 @btowc(i8 noundef signext) local_unnamed_addr #1 declare ptr @fgetwln(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @feof(ptr noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @bwssbdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @fgetln(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @bwscsbdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @sort_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @SIZEOF_WCHAR_STRING(i32 noundef) local_unnamed_addr #1 declare i32 @fgetwc(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 = { 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 #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 = !{!7, !7, i64 0} !10 = !{!11, !12, i64 0} !11 = !{!"reader_buffer", !12, i64 0, !13, i64 8} !12 = !{!"int", !7, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsfgetln.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsfgetln.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MB_CUR_MAX = common local_unnamed_addr global i32 0, align 4 @EOF = common local_unnamed_addr global i32 0, align 4 @WEOF = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @bwsfgetln(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %8, label %6 6: ; preds = %4 %7 = tail call i32 @btowc(i8 noundef signext 0) #3 br label %57 8: ; preds = %4 %9 = tail call i32 @btowc(i8 noundef signext 10) #3 %10 = load i32, ptr @MB_CUR_MAX, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %34 12: ; preds = %8 %13 = tail call ptr @fgetwln(ptr noundef %0, ptr noundef %1) #3 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %12 %16 = tail call i64 @feof(ptr noundef %0) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %148 18: ; preds = %15 %19 = tail call i32 @err(i32 noundef 2, ptr noundef null) #3 br label %148 20: ; preds = %12 %21 = load i64, ptr %1, align 8, !tbaa !6 %22 = icmp eq i64 %21, 0 br i1 %22, label %31, label %23 23: ; preds = %20 %24 = getelementptr i64, ptr %13, i64 %21 %25 = getelementptr i8, ptr %24, i64 -8 %26 = load i64, ptr %25, align 8, !tbaa !6 %27 = sext i32 %9 to i64 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %23 %30 = add i64 %21, -1 store i64 %30, ptr %1, align 8, !tbaa !6 br label %31 31: ; preds = %23, %29, %20 %32 = phi i64 [ %21, %23 ], [ %30, %29 ], [ 0, %20 ] %33 = tail call ptr @bwssbdup(ptr noundef nonnull %13, i64 noundef %32) #3 br label %148 34: ; preds = %8 %35 = icmp eq i32 %10, 1 br i1 %35, label %36, label %57 36: ; preds = %34 %37 = tail call ptr @fgetln(ptr noundef %0, ptr noundef %1) #3 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %44 39: ; preds = %36 %40 = tail call i64 @feof(ptr noundef %0) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %148 42: ; preds = %39 %43 = tail call i32 @err(i32 noundef 2, ptr noundef null) #3 br label %148 44: ; preds = %36 %45 = load i64, ptr %1, align 8, !tbaa !6 %46 = icmp eq i64 %45, 0 br i1 %46, label %54, label %47 47: ; preds = %44 %48 = getelementptr i8, ptr %37, i64 %45 %49 = getelementptr i8, ptr %48, i64 -1 %50 = load i8, ptr %49, align 1, !tbaa !10 %51 = icmp eq i8 %50, 10 br i1 %51, label %52, label %54 52: ; preds = %47 %53 = add i64 %45, -1 store i64 %53, ptr %1, align 8, !tbaa !6 br label %54 54: ; preds = %47, %52, %44 %55 = phi i64 [ %45, %47 ], [ %53, %52 ], [ 0, %44 ] %56 = tail call ptr @bwscsbdup(ptr noundef nonnull %37, i64 noundef %55) #3 br label %148 57: ; preds = %6, %34 %58 = phi i32 [ %7, %6 ], [ %9, %34 ] store i64 0, ptr %1, align 8, !tbaa !6 %59 = tail call i64 @feof(ptr noundef %0) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %148 61: ; preds = %57 %62 = load i32, ptr %3, align 8, !tbaa !11 %63 = icmp slt i32 %62, 3 br i1 %63, label %67, label %64 64: ; preds = %61 %65 = getelementptr inbounds i8, ptr %3, i64 8 %66 = load ptr, ptr %65, align 8, !tbaa !15 br label %73 67: ; preds = %61 %68 = add nsw i32 %62, 256 store i32 %68, ptr %3, align 8, !tbaa !11 %69 = getelementptr inbounds i8, ptr %3, i64 8 %70 = load ptr, ptr %69, align 8, !tbaa !15 %71 = shl i32 %68, 3 %72 = tail call ptr @sort_realloc(ptr noundef %70, i32 noundef %71) #3 store ptr %72, ptr %69, align 8, !tbaa !15 br label %73 73: ; preds = %64, %67 %74 = phi ptr [ %66, %64 ], [ %72, %67 ] %75 = getelementptr inbounds i8, ptr %3, i64 8 %76 = load i64, ptr %1, align 8, !tbaa !6 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 0, ptr %77, align 4, !tbaa !16 %78 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !16 %79 = icmp eq i32 %78, 1 %80 = tail call i64 @feof(ptr noundef %0) #3 %81 = icmp eq i64 %80, 0 br i1 %79, label %83, label %82 82: ; preds = %73 br i1 %81, label %114, label %144 83: ; preds = %73 br i1 %81, label %84, label %144 84: ; preds = %83, %106 %85 = tail call i32 @fgetc(ptr noundef %0) %86 = load i32, ptr @EOF, align 4, !tbaa !16 %87 = icmp eq i32 %85, %86 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = load i64, ptr %1, align 8, !tbaa !6 %90 = icmp eq i64 %89, 0 br i1 %90, label %148, label %144 91: ; preds = %84 %92 = icmp eq i32 %85, %58 br i1 %92, label %144, label %93 93: ; preds = %91 %94 = load i64, ptr %1, align 8, !tbaa !6 %95 = add i64 %94, 1 %96 = load i32, ptr %3, align 8, !tbaa !11 %97 = sext i32 %96 to i64 %98 = icmp ult i64 %95, %97 %99 = load ptr, ptr %75, align 8, !tbaa !15 br i1 %98, label %106, label %100 100: ; preds = %93 %101 = add nsw i32 %96, 256 store i32 %101, ptr %3, align 8, !tbaa !11 %102 = tail call i32 @SIZEOF_WCHAR_STRING(i32 noundef %101) #3 %103 = tail call ptr @sort_realloc(ptr noundef %99, i32 noundef %102) #3 store ptr %103, ptr %75, align 8, !tbaa !15 %104 = load i64, ptr %1, align 8, !tbaa !6 %105 = add i64 %104, 1 br label %106 106: ; preds = %93, %100 %107 = phi i64 [ %95, %93 ], [ %105, %100 ] %108 = phi i64 [ %94, %93 ], [ %104, %100 ] %109 = phi ptr [ %99, %93 ], [ %103, %100 ] %110 = getelementptr inbounds i32, ptr %109, i64 %108 store i32 %85, ptr %110, align 4, !tbaa !16 store i64 %107, ptr %1, align 8, !tbaa !6 %111 = getelementptr inbounds i32, ptr %109, i64 %107 store i32 0, ptr %111, align 4, !tbaa !16 %112 = tail call i64 @feof(ptr noundef %0) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %84, label %144 114: ; preds = %82, %136 %115 = tail call i32 @fgetwc(ptr noundef %0) #3 %116 = load i32, ptr @WEOF, align 4, !tbaa !16 %117 = icmp eq i32 %115, %116 br i1 %117, label %118, label %121 118: ; preds = %114 %119 = load i64, ptr %1, align 8, !tbaa !6 %120 = icmp eq i64 %119, 0 br i1 %120, label %148, label %144 121: ; preds = %114 %122 = icmp eq i32 %115, %58 br i1 %122, label %144, label %123 123: ; preds = %121 %124 = load i64, ptr %1, align 8, !tbaa !6 %125 = add i64 %124, 1 %126 = load i32, ptr %3, align 8, !tbaa !11 %127 = sext i32 %126 to i64 %128 = icmp ult i64 %125, %127 %129 = load ptr, ptr %75, align 8, !tbaa !15 br i1 %128, label %136, label %130 130: ; preds = %123 %131 = add nsw i32 %126, 256 store i32 %131, ptr %3, align 8, !tbaa !11 %132 = tail call i32 @SIZEOF_WCHAR_STRING(i32 noundef %131) #3 %133 = tail call ptr @sort_realloc(ptr noundef %129, i32 noundef %132) #3 store ptr %133, ptr %75, align 8, !tbaa !15 %134 = load i64, ptr %1, align 8, !tbaa !6 %135 = add i64 %134, 1 br label %136 136: ; preds = %123, %130 %137 = phi i64 [ %125, %123 ], [ %135, %130 ] %138 = phi i64 [ %124, %123 ], [ %134, %130 ] %139 = phi ptr [ %129, %123 ], [ %133, %130 ] %140 = getelementptr inbounds i32, ptr %139, i64 %138 store i32 %115, ptr %140, align 4, !tbaa !16 store i64 %137, ptr %1, align 8, !tbaa !6 %141 = getelementptr inbounds i32, ptr %139, i64 %137 store i32 0, ptr %141, align 4, !tbaa !16 %142 = tail call i64 @feof(ptr noundef %0) #3 %143 = icmp eq i64 %142, 0 br i1 %143, label %114, label %144 144: ; preds = %136, %121, %106, %91, %82, %83, %118, %88 %145 = load ptr, ptr %75, align 8, !tbaa !15 %146 = load i64, ptr %1, align 8, !tbaa !6 %147 = tail call ptr @bwssbdup(ptr noundef %145, i64 noundef %146) #3 br label %148 148: ; preds = %118, %88, %57, %54, %42, %39, %31, %18, %15, %144 %149 = phi ptr [ %147, %144 ], [ %33, %31 ], [ null, %18 ], [ null, %15 ], [ %56, %54 ], [ null, %42 ], [ null, %39 ], [ null, %57 ], [ null, %88 ], [ null, %118 ] ret ptr %149 } declare i32 @btowc(i8 noundef signext) local_unnamed_addr #1 declare ptr @fgetwln(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @feof(ptr noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @bwssbdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @fgetln(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @bwscsbdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @sort_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @SIZEOF_WCHAR_STRING(i32 noundef) local_unnamed_addr #1 declare i32 @fgetwc(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 = { 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 #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 = !{!8, !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"reader_buffer", !13, i64 0, !14, i64 8} !13 = !{!"int", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!12, !14, i64 8} !16 = !{!13, !13, i64 0}
freebsd_usr.bin_sort_extr_bwstring.c_bwsfgetln
; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_test_failed.c' source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_test_failed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"FAILED TO START: '%s'\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_failed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @test_failed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @string_list_append(ptr noundef %1, ptr noundef %2) #2 %5 = tail call i32 @strbuf_addf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2) #2 ret i32 0 } declare i32 @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_test_failed.c' source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_test_failed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [23 x i8] c"FAILED TO START: '%s'\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_failed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @test_failed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @string_list_append(ptr noundef %1, ptr noundef %2) #2 %5 = tail call i32 @strbuf_addf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2) #2 ret i32 0 } declare i32 @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_t_helper_extr_test-run-command.c_test_failed
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c_tcp_twsk_unique.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c_tcp_twsk_unique.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tcp_timewait_sock = type { i32, i32, i32 } %struct.tcp_sock = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @sysctl_tcp_tw_reuse = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tcp_twsk_unique(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2) local_unnamed_addr #0 { %4 = tail call ptr @tcp_twsk(ptr noundef %1) #3 %5 = tail call ptr @tcp_sk(ptr noundef %0) #3 %6 = load i32, ptr %4, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %29, label %8 8: ; preds = %3 %9 = icmp eq ptr %2, null br i1 %9, label %18, label %10 10: ; preds = %8 %11 = load i64, ptr @sysctl_tcp_tw_reuse, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 %14 = tail call i32 (...) @get_seconds() #3 %15 = load i32, ptr %4, align 4, !tbaa !5 %16 = sub nsw i32 %14, %15 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %29 18: ; preds = %13, %8 %19 = phi i32 [ %15, %13 ], [ %6, %8 ] %20 = getelementptr inbounds %struct.tcp_timewait_sock, ptr %4, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = add nsw i32 %21, 65537 %23 = tail call i32 @llvm.umax.i32(i32 %22, i32 1) store i32 %23, ptr %5, align 4, !tbaa !13 %24 = getelementptr inbounds %struct.tcp_timewait_sock, ptr %4, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = getelementptr inbounds %struct.tcp_sock, ptr %5, i64 0, i32 1 %27 = getelementptr inbounds %struct.tcp_sock, ptr %5, i64 0, i32 1, i32 1 store i32 %25, ptr %27, align 4, !tbaa !17 store i32 %19, ptr %26, align 4, !tbaa !18 %28 = tail call i32 @sock_hold(ptr noundef %1) #3 br label %29 29: ; preds = %3, %10, %13, %18 %30 = phi i32 [ 1, %18 ], [ 0, %13 ], [ 0, %10 ], [ 0, %3 ] ret i32 %30 } declare ptr @tcp_twsk(ptr noundef) local_unnamed_addr #1 declare ptr @tcp_sk(ptr noundef) local_unnamed_addr #1 declare i32 @get_seconds(...) local_unnamed_addr #1 declare i32 @sock_hold(ptr 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, !7, i64 0} !6 = !{!"tcp_timewait_sock", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!14, !7, i64 0} !14 = !{!"tcp_sock", !7, i64 0, !15, i64 4} !15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !16 = !{!6, !7, i64 8} !17 = !{!14, !7, i64 8} !18 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c_tcp_twsk_unique.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c_tcp_twsk_unique.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sysctl_tcp_tw_reuse = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @tcp_twsk_unique(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2) local_unnamed_addr #0 { %4 = tail call ptr @tcp_twsk(ptr noundef %1) #3 %5 = tail call ptr @tcp_sk(ptr noundef %0) #3 %6 = load i32, ptr %4, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %29, label %8 8: ; preds = %3 %9 = icmp eq ptr %2, null br i1 %9, label %18, label %10 10: ; preds = %8 %11 = load i64, ptr @sysctl_tcp_tw_reuse, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 %14 = tail call i32 @get_seconds() #3 %15 = load i32, ptr %4, align 4, !tbaa !6 %16 = sub nsw i32 %14, %15 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %29 18: ; preds = %13, %8 %19 = phi i32 [ %15, %13 ], [ %6, %8 ] %20 = getelementptr inbounds i8, ptr %4, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = add nsw i32 %21, 65537 %23 = tail call i32 @llvm.umax.i32(i32 %22, i32 1) store i32 %23, ptr %5, align 4, !tbaa !14 %24 = getelementptr inbounds i8, ptr %4, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !17 %26 = getelementptr inbounds i8, ptr %5, i64 4 %27 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %25, ptr %27, align 4, !tbaa !18 store i32 %19, ptr %26, align 4, !tbaa !19 %28 = tail call i32 @sock_hold(ptr noundef %1) #3 br label %29 29: ; preds = %3, %10, %13, %18 %30 = phi i32 [ 1, %18 ], [ 0, %13 ], [ 0, %10 ], [ 0, %3 ] ret i32 %30 } declare ptr @tcp_twsk(ptr noundef) local_unnamed_addr #1 declare ptr @tcp_sk(ptr noundef) local_unnamed_addr #1 declare i32 @get_seconds(...) local_unnamed_addr #1 declare i32 @sock_hold(ptr 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, !8, i64 0} !7 = !{!"tcp_timewait_sock", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!15, !8, i64 0} !15 = !{!"tcp_sock", !8, i64 0, !16, i64 4} !16 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !17 = !{!7, !8, i64 8} !18 = !{!15, !8, i64 8} !19 = !{!15, !8, i64 4}
fastsocket_kernel_net_ipv4_extr_tcp_ipv4.c_tcp_twsk_unique
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_cpi_sys.c_system_name_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_cpi_sys.c_system_name_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" @sclp_cpi_mutex = dso_local global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @system_name = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @system_name_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @system_name_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @mutex_lock(ptr noundef nonnull @sclp_cpi_mutex) #2 %5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %6 = load ptr, ptr @system_name, align 8, !tbaa !9 %7 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %5, ptr noundef nonnull @.str, ptr noundef %6) #2 %8 = tail call i32 @mutex_unlock(ptr noundef nonnull @sclp_cpi_mutex) #2 ret i32 %7 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_cpi_sys.c_system_name_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_sclp_cpi_sys.c_system_name_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sclp_cpi_mutex = common global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @system_name = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @system_name_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @system_name_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @mutex_lock(ptr noundef nonnull @sclp_cpi_mutex) #2 %5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %6 = load ptr, ptr @system_name, align 8, !tbaa !10 %7 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %5, ptr noundef nonnull @.str, ptr noundef %6) #2 %8 = tail call i32 @mutex_unlock(ptr noundef nonnull @sclp_cpi_mutex) #2 ret i32 %7 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_s390_char_extr_sclp_cpi_sys.c_system_name_show
; ModuleID = 'AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_sig_handler.c' source_filename = "AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_sig_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" %struct.TYPE_2__ = type { i64 } %struct.sigaction = type { i64, i32, i32 } @SIG_DFL = dso_local local_unnamed_addr global i32 0, align 4 @rto_opts = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @gdb = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sig_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sig_handler(i32 noundef %0) #0 { %2 = alloca %struct.sigaction, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = load i32, ptr @SIG_DFL, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.sigaction, ptr %2, i64 0, i32 2 store i32 %3, ptr %4, align 4, !tbaa !9 %5 = getelementptr inbounds %struct.sigaction, ptr %2, i64 0, i32 1 %6 = call i32 @sigemptyset(ptr noundef nonnull %5) #3 store i64 0, ptr %2, align 8, !tbaa !12 %7 = call i32 @sigaction(i32 noundef %0, ptr noundef nonnull %2, ptr noundef null) #3 %8 = load i64, ptr @rto_opts, align 8, !tbaa !13 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr @gdb, align 4, !tbaa !5 %12 = call i64 @system(i32 noundef %11) #3 br label %13 13: ; preds = %10, %1 %14 = call i32 @raise(i32 noundef %0) #3 call void @llvm.lifetime.end.p0(i64 16, 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 @sigemptyset(ptr noundef) local_unnamed_addr #2 declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @system(i32 noundef) local_unnamed_addr #2 declare i32 @raise(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"sigaction", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_sig_handler.c' source_filename = "AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_sig_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64 } %struct.sigaction = type { i64, i32, i32 } @SIG_DFL = common local_unnamed_addr global i32 0, align 4 @rto_opts = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @gdb = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sig_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sig_handler(i32 noundef %0) #0 { %2 = alloca %struct.sigaction, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = load i32, ptr @SIG_DFL, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = call i32 @sigemptyset(ptr noundef nonnull %5) #3 store i64 0, ptr %2, align 8, !tbaa !13 %7 = call i32 @sigaction(i32 noundef %0, ptr noundef nonnull %2, ptr noundef null) #3 %8 = load i64, ptr @rto_opts, align 8, !tbaa !14 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr @gdb, align 4, !tbaa !6 %12 = call i64 @system(i32 noundef %11) #3 br label %13 13: ; preds = %10, %1 %14 = call i32 @raise(i32 noundef %0) #3 call void @llvm.lifetime.end.p0(i64 16, 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 @sigemptyset(ptr noundef) local_unnamed_addr #2 declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @system(i32 noundef) local_unnamed_addr #2 declare i32 @raise(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"sigaction", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_2__", !12, i64 0}
zfs_cmd_raidz_test_extr_raidz_test.c_sig_handler
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_node.c_hci_read_node_list.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_node.c_hci_read_node_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.ng_btsocket_hci_raw_node_list_names = type { i32, ptr } %struct.nodeinfo = type { ptr, i32, i32 } @MAX_NODE_NUM = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SIOC_HCI_RAW_NODE_LIST_NAMES = dso_local local_unnamed_addr global i32 0, align 4 @stdout = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Name ID Num hooks\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%-15s %08x %9d\0A\00", align 1 @OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @hci_read_node_list(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 { %4 = alloca %struct.ng_btsocket_hci_raw_node_list_names, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = load i32, ptr @MAX_NODE_NUM, align 4, !tbaa !5 store i32 %5, ptr %4, align 8, !tbaa !9 %6 = tail call i64 @calloc(i32 noundef %5, i32 noundef 16) #3 %7 = inttoptr i64 %6 to ptr %8 = getelementptr inbounds %struct.ng_btsocket_hci_raw_node_list_names, ptr %4, i64 0, i32 1 store ptr %7, ptr %8, align 8, !tbaa !12 %9 = icmp eq i64 %6, 0 br i1 %9, label %38, label %10 10: ; preds = %3 %11 = load i32, ptr @SIOC_HCI_RAW_NODE_LIST_NAMES, align 4, !tbaa !5 %12 = call i64 @ioctl(i32 noundef %0, i32 noundef %11, ptr noundef nonnull %4, i32 noundef 16) #3 %13 = icmp slt i64 %12, 0 br i1 %13, label %34, label %14 14: ; preds = %10 %15 = load i32, ptr @stdout, align 4, !tbaa !5 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str) #3 %17 = load i32, ptr %4, align 8, !tbaa !9 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %34 19: ; preds = %14, %19 %20 = phi i64 [ %30, %19 ], [ 0, %14 ] %21 = load i32, ptr @stdout, align 4, !tbaa !5 %22 = load ptr, ptr %8, align 8, !tbaa !12 %23 = getelementptr inbounds %struct.nodeinfo, ptr %22, i64 %20 %24 = load ptr, ptr %23, align 8, !tbaa !13 %25 = getelementptr inbounds %struct.nodeinfo, ptr %22, i64 %20, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !15 %27 = getelementptr inbounds %struct.nodeinfo, ptr %22, i64 %20, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.1, ptr noundef %24, i32 noundef %26, i32 noundef %28) #3 %30 = add nuw nsw i64 %20, 1 %31 = load i32, ptr %4, align 8, !tbaa !9 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %19, label %34, !llvm.loop !17 34: ; preds = %19, %14, %10 %35 = phi ptr [ @ERROR, %10 ], [ @OK, %14 ], [ @OK, %19 ] %36 = load ptr, ptr %8, align 8, !tbaa !12 %37 = call i32 @free(ptr noundef %36) #3 br label %38 38: ; preds = %34, %3 %39 = phi ptr [ @ERROR, %3 ], [ %35, %34 ] %40 = load i32, ptr %39, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ng_btsocket_hci_raw_node_list_names", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"nodeinfo", !11, i64 0, !6, i64 8, !6, i64 12} !15 = !{!14, !6, i64 8} !16 = !{!14, !6, i64 12} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_node.c_hci_read_node_list.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_node.c_hci_read_node_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ng_btsocket_hci_raw_node_list_names = type { i32, ptr } %struct.nodeinfo = type { ptr, i32, i32 } @MAX_NODE_NUM = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @SIOC_HCI_RAW_NODE_LIST_NAMES = common local_unnamed_addr global i32 0, align 4 @stdout = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Name ID Num hooks\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%-15s %08x %9d\0A\00", align 1 @OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hci_read_node_list(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 { %4 = alloca %struct.ng_btsocket_hci_raw_node_list_names, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = load i32, ptr @MAX_NODE_NUM, align 4, !tbaa !6 store i32 %5, ptr %4, align 8, !tbaa !10 %6 = tail call i64 @calloc(i32 noundef %5, i32 noundef 16) #3 %7 = inttoptr i64 %6 to ptr %8 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %7, ptr %8, align 8, !tbaa !13 %9 = icmp eq i64 %6, 0 br i1 %9, label %38, label %10 10: ; preds = %3 %11 = load i32, ptr @SIOC_HCI_RAW_NODE_LIST_NAMES, align 4, !tbaa !6 %12 = call i64 @ioctl(i32 noundef %0, i32 noundef %11, ptr noundef nonnull %4, i32 noundef 16) #3 %13 = icmp slt i64 %12, 0 br i1 %13, label %34, label %14 14: ; preds = %10 %15 = load i32, ptr @stdout, align 4, !tbaa !6 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str) #3 %17 = load i32, ptr %4, align 8, !tbaa !10 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %34 19: ; preds = %14, %19 %20 = phi i64 [ %30, %19 ], [ 0, %14 ] %21 = load i32, ptr @stdout, align 4, !tbaa !6 %22 = load ptr, ptr %8, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.nodeinfo, ptr %22, i64 %20 %24 = load ptr, ptr %23, align 8, !tbaa !14 %25 = getelementptr inbounds i8, ptr %23, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !16 %27 = getelementptr inbounds i8, ptr %23, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.1, ptr noundef %24, i32 noundef %26, i32 noundef %28) #3 %30 = add nuw nsw i64 %20, 1 %31 = load i32, ptr %4, align 8, !tbaa !10 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %19, label %34, !llvm.loop !18 34: ; preds = %19, %14, %10 %35 = phi ptr [ @ERROR, %10 ], [ @OK, %14 ], [ @OK, %19 ] %36 = load ptr, ptr %8, align 8, !tbaa !13 %37 = call i32 @free(ptr noundef %36) #3 br label %38 38: ; preds = %34, %3 %39 = phi ptr [ @ERROR, %3 ], [ %35, %34 ] %40 = load i32, ptr %39, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ng_btsocket_hci_raw_node_list_names", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"nodeinfo", !12, i64 0, !7, i64 8, !7, i64 12} !16 = !{!15, !7, i64 8} !17 = !{!15, !7, i64 12} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_usr.sbin_bluetooth_hccontrol_extr_node.c_hci_read_node_list
; ModuleID = 'AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_shutdown.c' source_filename = "AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_shutdown.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @I2C_HID_PWR_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i2c_hid_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @i2c_hid_shutdown(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load i32, ptr @I2C_HID_PWR_SLEEP, align 4, !tbaa !5 %4 = tail call i32 @i2c_hid_set_power(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = tail call i32 @free_irq(i32 noundef %5, ptr noundef %2) #2 ret void } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_hid_set_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"i2c_client", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_shutdown.c' source_filename = "AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_shutdown.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I2C_HID_PWR_SLEEP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i2c_hid_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @i2c_hid_shutdown(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load i32, ptr @I2C_HID_PWR_SLEEP, align 4, !tbaa !6 %4 = tail call i32 @i2c_hid_set_power(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = tail call i32 @free_irq(i32 noundef %5, ptr noundef %2) #2 ret void } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_hid_set_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"i2c_client", !7, i64 0}
linux_drivers_hid_i2c-hid_extr_i2c-hid-core.c_i2c_hid_shutdown
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_j2k.c_opj_j2k_allocate_tile_element_cstr_index.c' source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_j2k.c_opj_j2k_allocate_tile_element_cstr_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_7__ = type { i32, ptr } %struct.TYPE_8__ = type { i32, ptr, i64 } @OPJ_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @OPJ_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @opj_j2k_allocate_tile_element_cstr_index], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @opj_j2k_allocate_tile_element_cstr_index(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = mul nsw i32 %5, %3 %7 = load ptr, ptr %0, align 8, !tbaa !13 store i32 %6, ptr %7, align 8, !tbaa !14 %8 = tail call i64 @opj_calloc(i32 noundef %6, i32 noundef 24) #2 %9 = inttoptr i64 %8 to ptr %10 = load ptr, ptr %0, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i64 0, i32 1 store ptr %9, ptr %11, align 8, !tbaa !16 %12 = icmp eq i64 %8, 0 br i1 %12, label %33, label %13 13: ; preds = %1 %14 = load i32, ptr %10, align 8, !tbaa !14 %15 = icmp eq i32 %14, 0 br i1 %15, label %33, label %21 16: ; preds = %21 %17 = add nuw i64 %23, 1 %18 = load i32, ptr %28, align 8, !tbaa !14 %19 = sext i32 %18 to i64 %20 = icmp ult i64 %17, %19 br i1 %20, label %21, label %33, !llvm.loop !17 21: ; preds = %13, %16 %22 = phi ptr [ %30, %16 ], [ %9, %13 ] %23 = phi i64 [ %17, %16 ], [ 0, %13 ] %24 = getelementptr inbounds %struct.TYPE_8__, ptr %22, i64 %23 store i32 100, ptr %24, align 8, !tbaa !19 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %22, i64 %23, i32 2 store i64 0, ptr %25, align 8, !tbaa !22 %26 = tail call i64 @opj_calloc(i32 noundef 100, i32 noundef 4) #2 %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %0, align 8, !tbaa !13 %29 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i64 0, i32 1 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %23, i32 1 store ptr %27, ptr %31, align 8, !tbaa !23 %32 = icmp eq i64 %26, 0 br i1 %32, label %33, label %16 33: ; preds = %21, %16, %13, %1 %34 = phi ptr [ @OPJ_FALSE, %1 ], [ @OPJ_TRUE, %13 ], [ @OPJ_FALSE, %21 ], [ @OPJ_TRUE, %16 ] %35 = load i32, ptr %34, align 4, !tbaa !24 ret i32 %35 } declare i64 @opj_calloc(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 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 12} !13 = !{!6, !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_7__", !11, i64 0, !7, i64 8} !16 = !{!15, !7, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_8__", !11, i64 0, !7, i64 8, !21, i64 16} !21 = !{!"long", !8, i64 0} !22 = !{!20, !21, i64 16} !23 = !{!20, !7, i64 8} !24 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_j2k.c_opj_j2k_allocate_tile_element_cstr_index.c' source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_j2k.c_opj_j2k_allocate_tile_element_cstr_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, ptr, i64 } @OPJ_FALSE = common local_unnamed_addr global i32 0, align 4 @OPJ_TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @opj_j2k_allocate_tile_element_cstr_index], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @opj_j2k_allocate_tile_element_cstr_index(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 12 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = mul nsw i32 %5, %3 %7 = load ptr, ptr %0, align 8, !tbaa !14 store i32 %6, ptr %7, align 8, !tbaa !15 %8 = tail call i64 @opj_calloc(i32 noundef %6, i32 noundef 24) #2 %9 = inttoptr i64 %8 to ptr %10 = load ptr, ptr %0, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %9, ptr %11, align 8, !tbaa !17 %12 = icmp eq i64 %8, 0 br i1 %12, label %33, label %13 13: ; preds = %1 %14 = load i32, ptr %10, align 8, !tbaa !15 %15 = icmp eq i32 %14, 0 br i1 %15, label %33, label %21 16: ; preds = %21 %17 = add nuw i64 %23, 1 %18 = load i32, ptr %28, align 8, !tbaa !15 %19 = sext i32 %18 to i64 %20 = icmp ult i64 %17, %19 br i1 %20, label %21, label %33, !llvm.loop !18 21: ; preds = %13, %16 %22 = phi ptr [ %30, %16 ], [ %9, %13 ] %23 = phi i64 [ %17, %16 ], [ 0, %13 ] %24 = getelementptr inbounds %struct.TYPE_8__, ptr %22, i64 %23 store i32 100, ptr %24, align 8, !tbaa !20 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %22, i64 %23, i32 2 store i64 0, ptr %25, align 8, !tbaa !23 %26 = tail call i64 @opj_calloc(i32 noundef 100, i32 noundef 4) #2 %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %0, align 8, !tbaa !14 %29 = getelementptr inbounds i8, ptr %28, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !17 %31 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %23, i32 1 store ptr %27, ptr %31, align 8, !tbaa !24 %32 = icmp eq i64 %26, 0 br i1 %32, label %33, label %16 33: ; preds = %21, %16, %13, %1 %34 = phi ptr [ @OPJ_FALSE, %1 ], [ @OPJ_TRUE, %13 ], [ @OPJ_FALSE, %21 ], [ @OPJ_TRUE, %16 ] %35 = load i32, ptr %34, align 4, !tbaa !25 ret i32 %35 } declare i64 @opj_calloc(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 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 12} !14 = !{!7, !8, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_7__", !12, i64 0, !8, i64 8} !17 = !{!16, !8, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_8__", !12, i64 0, !8, i64 8, !22, i64 16} !22 = !{!"long", !9, i64 0} !23 = !{!21, !22, i64 16} !24 = !{!21, !8, i64 8} !25 = !{!12, !12, i64 0}
sumatrapdf_ext_openjpeg_src_lib_openjp2_extr_j2k.c_opj_j2k_allocate_tile_element_cstr_index
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/base/extr_heimbase.c_heim_abortv.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/base/extr_heimbase.c_heim_abortv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @heim_abortv.str = internal global [1024 x i8] zeroinitializer, align 16 @LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"heim_abort: %s\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @heim_abortv(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @vsnprintf(ptr noundef nonnull @heim_abortv.str, i32 noundef 1024, ptr noundef %0, i32 noundef %1) #3 %4 = load i32, ptr @LOG_ERR, align 4, !tbaa !5 %5 = tail call i32 @syslog(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef nonnull @heim_abortv.str) #3 %6 = tail call i32 (...) @abort() #4 unreachable } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/base/extr_heimbase.c_heim_abortv.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/base/extr_heimbase.c_heim_abortv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @heim_abortv.str = internal global [1024 x i8] zeroinitializer, align 1 @LOG_ERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"heim_abort: %s\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @heim_abortv(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @vsnprintf(ptr noundef nonnull @heim_abortv.str, i32 noundef 1024, ptr noundef %0, i32 noundef %1) #3 %4 = load i32, ptr @LOG_ERR, align 4, !tbaa !6 %5 = tail call i32 @syslog(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef nonnull @heim_abortv.str) #3 %6 = tail call i32 @abort() #4 unreachable } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_heimdal_base_extr_heimbase.c_heim_abortv
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_if_iavf.c_iavf_if_multi_set.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_if_iavf.c_iavf_if_multi_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"iavf_if_multi_set: begin\00", align 1 @MAX_MULTICAST_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @FLAG_VF_MULTICAST_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @IAVF_FLAG_AQ_CONFIGURE_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @iavf_mc_filter_apply = dso_local local_unnamed_addr global i32 0, align 4 @IAVF_FLAG_AQ_ADD_MAC_FILTER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iavf_if_multi_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iavf_if_multi_set(i32 noundef %0) #0 { %2 = tail call ptr @iflib_get_softc(i32 noundef %0) #2 %3 = tail call i32 @IOCTL_DEBUGOUT(ptr noundef nonnull @.str) #2 %4 = tail call i32 @iflib_get_ifp(i32 noundef %0) #2 %5 = tail call i64 @if_llmaddr_count(i32 noundef %4) #2 %6 = load i64, ptr @MAX_MULTICAST_ADDR, align 8, !tbaa !5 %7 = icmp sge i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i64 @__predict_false(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 %11 = tail call i32 @iavf_init_multi(ptr noundef %2) #2 br i1 %10, label %18, label %12 12: ; preds = %1 %13 = load i32, ptr @FLAG_VF_MULTICAST_PROMISC, align 4, !tbaa !9 %14 = load i32, ptr %2, align 4, !tbaa !11 %15 = or i32 %14, %13 store i32 %15, ptr %2, align 4, !tbaa !11 %16 = load i32, ptr @IAVF_FLAG_AQ_CONFIGURE_PROMISC, align 4, !tbaa !9 %17 = tail call i32 @iavf_send_vc_msg(ptr noundef nonnull %2, i32 noundef %16) #2 br label %26 18: ; preds = %1 %19 = tail call i32 @iflib_get_ifp(i32 noundef %0) #2 %20 = load i32, ptr @iavf_mc_filter_apply, align 4, !tbaa !9 %21 = tail call i64 @if_foreach_llmaddr(i32 noundef %19, i32 noundef %20, ptr noundef %2) #2 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load i32, ptr @IAVF_FLAG_AQ_ADD_MAC_FILTER, align 4, !tbaa !9 %25 = tail call i32 @iavf_send_vc_msg(ptr noundef %2, i32 noundef %24) #2 br label %26 26: ; preds = %18, %23, %12 ret void } declare ptr @iflib_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @IOCTL_DEBUGOUT(ptr noundef) local_unnamed_addr #1 declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1 declare i64 @if_llmaddr_count(i32 noundef) local_unnamed_addr #1 declare i32 @iflib_get_ifp(i32 noundef) local_unnamed_addr #1 declare i32 @iavf_init_multi(ptr noundef) local_unnamed_addr #1 declare i32 @iavf_send_vc_msg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @if_foreach_llmaddr(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"iavf_sc", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_if_iavf.c_iavf_if_multi_set.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_if_iavf.c_iavf_if_multi_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [25 x i8] c"iavf_if_multi_set: begin\00", align 1 @MAX_MULTICAST_ADDR = common local_unnamed_addr global i64 0, align 8 @FLAG_VF_MULTICAST_PROMISC = common local_unnamed_addr global i32 0, align 4 @IAVF_FLAG_AQ_CONFIGURE_PROMISC = common local_unnamed_addr global i32 0, align 4 @iavf_mc_filter_apply = common local_unnamed_addr global i32 0, align 4 @IAVF_FLAG_AQ_ADD_MAC_FILTER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iavf_if_multi_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iavf_if_multi_set(i32 noundef %0) #0 { %2 = tail call ptr @iflib_get_softc(i32 noundef %0) #2 %3 = tail call i32 @IOCTL_DEBUGOUT(ptr noundef nonnull @.str) #2 %4 = tail call i32 @iflib_get_ifp(i32 noundef %0) #2 %5 = tail call i64 @if_llmaddr_count(i32 noundef %4) #2 %6 = load i64, ptr @MAX_MULTICAST_ADDR, align 8, !tbaa !6 %7 = icmp sge i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i64 @__predict_false(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 %11 = tail call i32 @iavf_init_multi(ptr noundef %2) #2 br i1 %10, label %18, label %12 12: ; preds = %1 %13 = load i32, ptr @FLAG_VF_MULTICAST_PROMISC, align 4, !tbaa !10 %14 = load i32, ptr %2, align 4, !tbaa !12 %15 = or i32 %14, %13 store i32 %15, ptr %2, align 4, !tbaa !12 %16 = load i32, ptr @IAVF_FLAG_AQ_CONFIGURE_PROMISC, align 4, !tbaa !10 %17 = tail call i32 @iavf_send_vc_msg(ptr noundef nonnull %2, i32 noundef %16) #2 br label %26 18: ; preds = %1 %19 = tail call i32 @iflib_get_ifp(i32 noundef %0) #2 %20 = load i32, ptr @iavf_mc_filter_apply, align 4, !tbaa !10 %21 = tail call i64 @if_foreach_llmaddr(i32 noundef %19, i32 noundef %20, ptr noundef %2) #2 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load i32, ptr @IAVF_FLAG_AQ_ADD_MAC_FILTER, align 4, !tbaa !10 %25 = tail call i32 @iavf_send_vc_msg(ptr noundef %2, i32 noundef %24) #2 br label %26 26: ; preds = %18, %23, %12 ret void } declare ptr @iflib_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @IOCTL_DEBUGOUT(ptr noundef) local_unnamed_addr #1 declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1 declare i64 @if_llmaddr_count(i32 noundef) local_unnamed_addr #1 declare i32 @iflib_get_ifp(i32 noundef) local_unnamed_addr #1 declare i32 @iavf_init_multi(ptr noundef) local_unnamed_addr #1 declare i32 @iavf_send_vc_msg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @if_foreach_llmaddr(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"iavf_sc", !11, i64 0}
freebsd_sys_dev_ixl_extr_if_iavf.c_iavf_if_multi_set
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_read_flash_data_ich8lan.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_read_flash_data_ich8lan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @E1000_ERR_NVM = dso_local local_unnamed_addr global i64 0, align 8 @ICH_FLASH_LINEAR_ADDR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_HSFCTL = dso_local local_unnamed_addr global i32 0, align 4 @ICH_CYCLE_READ = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_FADDR = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_READ_COMMAND_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_FDATA0 = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_HSFSTS = dso_local local_unnamed_addr global i32 0, align 4 @ICH_FLASH_CYCLE_REPEAT_COUNT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_read_flash_data_ich8lan], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @e1000_read_flash_data_ich8lan(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = add i32 %2, -3 %6 = icmp ult i32 %5, -2 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @ICH_FLASH_LINEAR_ADDR_MASK, align 4, !tbaa !5 %9 = icmp slt i32 %8, %1 br i1 %9, label %10, label %13 10: ; preds = %7, %4 %11 = load i64, ptr @E1000_ERR_NVM, align 8, !tbaa !9 %12 = sub nsw i64 0, %11 br label %53 13: ; preds = %7 %14 = and i32 %8, %1 %15 = load i32, ptr %0, align 4, !tbaa !11 %16 = add nsw i32 %15, %14 %17 = add nsw i32 %2, -1 %18 = zext nneg i32 %17 to i64 br label %19 19: ; preds = %47, %13 %20 = phi i64 [ %50, %47 ], [ 0, %13 ] %21 = tail call i32 @udelay(i32 noundef 1) #2 %22 = tail call i64 @e1000_flash_cycle_init_ich8lan(ptr noundef nonnull %0) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %53 24: ; preds = %19 %25 = load i32, ptr @ICH_FLASH_HSFCTL, align 4, !tbaa !5 %26 = tail call ptr @er16flash(i32 noundef %25) #2 %27 = load i32, ptr @ICH_CYCLE_READ, align 4, !tbaa !5 %28 = zext i32 %27 to i64 %29 = shl nuw i64 %28, 32 %30 = or disjoint i64 %29, %18 %31 = inttoptr i64 %30 to ptr %32 = load i32, ptr @ICH_FLASH_HSFCTL, align 4, !tbaa !5 %33 = tail call i32 @ew16flash(i32 noundef %32, ptr noundef %31) #2 %34 = load i32, ptr @ICH_FLASH_FADDR, align 4, !tbaa !5 %35 = tail call i32 @ew32flash(i32 noundef %34, i32 noundef %16) #2 %36 = load i32, ptr @ICH_FLASH_READ_COMMAND_TIMEOUT, align 4, !tbaa !5 %37 = tail call i64 @e1000_flash_cycle_ich8lan(ptr noundef nonnull %0, i32 noundef %36) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %24 %40 = load i32, ptr @ICH_FLASH_FDATA0, align 4, !tbaa !5 %41 = tail call i32 @er32flash(i32 noundef %40) #2 %42 = icmp eq i32 %2, 1 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = and i32 %41, 255 store i32 %44, ptr %3, align 4, !tbaa !5 br label %53 45: ; preds = %39 %46 = and i32 %41, 65535 store i32 %46, ptr %3, align 4, !tbaa !5 br label %53 47: ; preds = %24 %48 = load i32, ptr @ICH_FLASH_HSFSTS, align 4, !tbaa !5 %49 = tail call ptr @er16flash(i32 noundef %48) #2 %50 = add nuw i64 %20, 1 %51 = load i64, ptr @ICH_FLASH_CYCLE_REPEAT_COUNT, align 8, !tbaa !9 %52 = icmp sgt i64 %51, %20 br i1 %52, label %19, label %53, !llvm.loop !14 53: ; preds = %47, %19, %45, %43, %10 %54 = phi i64 [ %12, %10 ], [ 0, %43 ], [ 0, %45 ], [ %37, %47 ], [ %22, %19 ] ret i64 %54 } declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i64 @e1000_flash_cycle_init_ich8lan(ptr noundef) local_unnamed_addr #1 declare ptr @er16flash(i32 noundef) local_unnamed_addr #1 declare i32 @ew16flash(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ew32flash(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @e1000_flash_cycle_ich8lan(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @er32flash(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"e1000_hw", !13, i64 0} !13 = !{!"TYPE_4__", !6, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_read_flash_data_ich8lan.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_read_flash_data_ich8lan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E1000_ERR_NVM = common local_unnamed_addr global i64 0, align 8 @ICH_FLASH_LINEAR_ADDR_MASK = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_HSFCTL = common local_unnamed_addr global i32 0, align 4 @ICH_CYCLE_READ = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_FADDR = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_READ_COMMAND_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_FDATA0 = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_HSFSTS = common local_unnamed_addr global i32 0, align 4 @ICH_FLASH_CYCLE_REPEAT_COUNT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @e1000_read_flash_data_ich8lan], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @e1000_read_flash_data_ich8lan(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = add i32 %2, -3 %6 = icmp ult i32 %5, -2 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @ICH_FLASH_LINEAR_ADDR_MASK, align 4, !tbaa !6 %9 = icmp slt i32 %8, %1 br i1 %9, label %10, label %13 10: ; preds = %7, %4 %11 = load i64, ptr @E1000_ERR_NVM, align 8, !tbaa !10 %12 = sub nsw i64 0, %11 br label %53 13: ; preds = %7 %14 = and i32 %8, %1 %15 = load i32, ptr %0, align 4, !tbaa !12 %16 = add nsw i32 %15, %14 %17 = add nsw i32 %2, -1 %18 = zext nneg i32 %17 to i64 br label %19 19: ; preds = %47, %13 %20 = phi i64 [ %50, %47 ], [ 0, %13 ] %21 = tail call i32 @udelay(i32 noundef 1) #2 %22 = tail call i64 @e1000_flash_cycle_init_ich8lan(ptr noundef nonnull %0) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %53 24: ; preds = %19 %25 = load i32, ptr @ICH_FLASH_HSFCTL, align 4, !tbaa !6 %26 = tail call ptr @er16flash(i32 noundef %25) #2 %27 = load i32, ptr @ICH_CYCLE_READ, align 4, !tbaa !6 %28 = zext i32 %27 to i64 %29 = shl nuw i64 %28, 32 %30 = or disjoint i64 %29, %18 %31 = inttoptr i64 %30 to ptr %32 = load i32, ptr @ICH_FLASH_HSFCTL, align 4, !tbaa !6 %33 = tail call i32 @ew16flash(i32 noundef %32, ptr noundef %31) #2 %34 = load i32, ptr @ICH_FLASH_FADDR, align 4, !tbaa !6 %35 = tail call i32 @ew32flash(i32 noundef %34, i32 noundef %16) #2 %36 = load i32, ptr @ICH_FLASH_READ_COMMAND_TIMEOUT, align 4, !tbaa !6 %37 = tail call i64 @e1000_flash_cycle_ich8lan(ptr noundef nonnull %0, i32 noundef %36) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %24 %40 = load i32, ptr @ICH_FLASH_FDATA0, align 4, !tbaa !6 %41 = tail call i32 @er32flash(i32 noundef %40) #2 %42 = icmp eq i32 %2, 1 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = and i32 %41, 255 store i32 %44, ptr %3, align 4, !tbaa !6 br label %53 45: ; preds = %39 %46 = and i32 %41, 65535 store i32 %46, ptr %3, align 4, !tbaa !6 br label %53 47: ; preds = %24 %48 = load i32, ptr @ICH_FLASH_HSFSTS, align 4, !tbaa !6 %49 = tail call ptr @er16flash(i32 noundef %48) #2 %50 = add nuw nsw i64 %20, 1 %51 = load i64, ptr @ICH_FLASH_CYCLE_REPEAT_COUNT, align 8, !tbaa !10 %52 = icmp sgt i64 %51, %20 br i1 %52, label %19, label %53, !llvm.loop !15 53: ; preds = %47, %19, %45, %43, %10 %54 = phi i64 [ %12, %10 ], [ 0, %43 ], [ 0, %45 ], [ %37, %47 ], [ %22, %19 ] ret i64 %54 } declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i64 @e1000_flash_cycle_init_ich8lan(ptr noundef) local_unnamed_addr #1 declare ptr @er16flash(i32 noundef) local_unnamed_addr #1 declare i32 @ew16flash(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ew32flash(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @e1000_flash_cycle_ich8lan(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @er32flash(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"e1000_hw", !14, i64 0} !14 = !{!"TYPE_4__", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_e1000e_extr_ich8lan.c_e1000_read_flash_data_ich8lan
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_intr_remapping.c_map_dev_to_ir.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_intr_remapping.c_map_dev_to_ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @map_dev_to_ir(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @dmar_find_matched_drhd_unit(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !5 br label %6 6: ; preds = %1, %4 %7 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %7 } declare ptr @dmar_find_matched_drhd_unit(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 = !{!"dmar_drhd_unit", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_intr_remapping.c_map_dev_to_ir.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_intr_remapping.c_map_dev_to_ir.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @map_dev_to_ir(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @dmar_find_matched_drhd_unit(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !6 br label %6 6: ; preds = %1, %4 %7 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %7 } declare ptr @dmar_find_matched_drhd_unit(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 = !{!"dmar_drhd_unit", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_pci_extr_intr_remapping.c_map_dev_to_ir
; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisConnectNonBlock.c' source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisConnectNonBlock.c" target datalayout = "e-m:e-p270:32:32-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 } @REDIS_OPT_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @redisConnectNonBlock(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %4 = call i32 @REDIS_OPTIONS_SET_TCP(ptr noundef nonnull %3, ptr noundef %0, i32 noundef %1) #3 %5 = load i32, ptr @REDIS_OPT_NONBLOCK, align 4, !tbaa !5 %6 = load i32, ptr %3, align 8, !tbaa !9 %7 = or i32 %6, %5 store i32 %7, ptr %3, align 8, !tbaa !9 %8 = call ptr @redisConnectWithOptions(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @REDIS_OPTIONS_SET_TCP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @redisConnectWithOptions(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 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisConnectNonBlock.c' source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisConnectNonBlock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } @REDIS_OPT_NONBLOCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @redisConnectNonBlock(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %4 = call i32 @REDIS_OPTIONS_SET_TCP(ptr noundef nonnull %3, ptr noundef %0, i32 noundef %1) #3 %5 = load i32, ptr @REDIS_OPT_NONBLOCK, align 4, !tbaa !6 %6 = load i32, ptr %3, align 8, !tbaa !10 %7 = or i32 %6, %5 store i32 %7, ptr %3, align 8, !tbaa !10 %8 = call ptr @redisConnectWithOptions(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @REDIS_OPTIONS_SET_TCP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @redisConnectWithOptions(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 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
hiredis_extr_hiredis.c_redisConnectNonBlock
; ModuleID = 'AnghaBench/linux/net/core/extr_neighbour.c_pneigh_nlmsg_size.c' source_filename = "AnghaBench/linux/net/core/extr_neighbour.c_pneigh_nlmsg_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX_ADDR_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pneigh_nlmsg_size], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @pneigh_nlmsg_size() #0 { %1 = tail call i64 @NLMSG_ALIGN(i32 noundef 4) #2 %2 = load i32, ptr @MAX_ADDR_LEN, align 4, !tbaa !5 %3 = tail call i64 @nla_total_size(i32 noundef %2) #2 %4 = add i64 %3, %1 %5 = tail call i64 @nla_total_size(i32 noundef 1) #2 %6 = add i64 %4, %5 ret i64 %6 } declare i64 @NLMSG_ALIGN(i32 noundef) local_unnamed_addr #1 declare i64 @nla_total_size(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/core/extr_neighbour.c_pneigh_nlmsg_size.c' source_filename = "AnghaBench/linux/net/core/extr_neighbour.c_pneigh_nlmsg_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_ADDR_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pneigh_nlmsg_size], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @pneigh_nlmsg_size() #0 { %1 = tail call i64 @NLMSG_ALIGN(i32 noundef 4) #2 %2 = load i32, ptr @MAX_ADDR_LEN, align 4, !tbaa !6 %3 = tail call i64 @nla_total_size(i32 noundef %2) #2 %4 = add i64 %3, %1 %5 = tail call i64 @nla_total_size(i32 noundef 1) #2 %6 = add i64 %4, %5 ret i64 %6 } declare i64 @NLMSG_ALIGN(i32 noundef) local_unnamed_addr #1 declare i64 @nla_total_size(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_core_extr_neighbour.c_pneigh_nlmsg_size
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/extr_secretstream_xchacha20poly1305.c_crypto_secretstream_xchacha20poly1305_keybytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/extr_secretstream_xchacha20poly1305.c_crypto_secretstream_xchacha20poly1305_keybytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_secretstream_xchacha20poly1305_KEYBYTES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @crypto_secretstream_xchacha20poly1305_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_secretstream_xchacha20poly1305_KEYBYTES, align 8, !tbaa !5 ret i64 %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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/extr_secretstream_xchacha20poly1305.c_crypto_secretstream_xchacha20poly1305_keybytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/extr_secretstream_xchacha20poly1305.c_crypto_secretstream_xchacha20poly1305_keybytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_secretstream_xchacha20poly1305_KEYBYTES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @crypto_secretstream_xchacha20poly1305_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_secretstream_xchacha20poly1305_KEYBYTES, align 8, !tbaa !6 ret i64 %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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_contrib_libsodium_src_libsodium_crypto_secretstream_xchacha20poly1305_extr_secretstream_xchacha20poly1305.c_crypto_secretstream_xchacha20poly1305_keybytes
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_vga.c_nvkm_lockvgac.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_vga.c_nvkm_lockvgac.c" target datalayout = "e-m:e-p270:32:32-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.nvkm_device = type { i64, i32 } @NV_50 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @nvkm_lockvgac(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @nvkm_rdvgac(ptr noundef %0, i32 noundef 0, i32 noundef 31) #2 %4 = icmp eq i32 %1, 0 %5 = select i1 %4, i32 87, i32 153 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = load i64, ptr @NV_50, align 8, !tbaa !11 %8 = icmp slt i64 %6, %7 %9 = select i1 %8, i32 31, i32 63 %10 = tail call i32 @nvkm_wrvgac(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %9, i32 noundef %5) #2 %11 = getelementptr inbounds %struct.nvkm_device, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = icmp eq i32 %12, 17 br i1 %13, label %14, label %20 14: ; preds = %2 %15 = tail call i32 @nvkm_rd32(ptr noundef nonnull %0, i32 noundef 4228) #2 %16 = and i32 %15, 268435456 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = tail call i32 @nvkm_wrvgac(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 31, i32 noundef %5) #2 br label %20 20: ; preds = %14, %18, %2 %21 = icmp eq i32 %3, 0 %22 = zext i1 %21 to i32 ret i32 %22 } declare i32 @nvkm_rdvgac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_wrvgac(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nvkm_device", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_vga.c_nvkm_lockvgac.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_vga.c_nvkm_lockvgac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV_50 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @nvkm_lockvgac(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @nvkm_rdvgac(ptr noundef %0, i32 noundef 0, i32 noundef 31) #2 %4 = icmp eq i32 %1, 0 %5 = select i1 %4, i32 87, i32 153 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = load i64, ptr @NV_50, align 8, !tbaa !12 %8 = icmp slt i64 %6, %7 %9 = select i1 %8, i32 31, i32 63 %10 = tail call i32 @nvkm_wrvgac(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %9, i32 noundef %5) #2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = icmp eq i32 %12, 17 br i1 %13, label %14, label %20 14: ; preds = %2 %15 = tail call i32 @nvkm_rd32(ptr noundef nonnull %0, i32 noundef 4228) #2 %16 = and i32 %15, 268435456 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = tail call i32 @nvkm_wrvgac(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 31, i32 noundef %5) #2 br label %20 20: ; preds = %14, %18, %2 %21 = icmp eq i32 %3, 0 %22 = zext i1 %21 to i32 ret i32 %22 } declare i32 @nvkm_rdvgac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_wrvgac(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nvkm_device", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8}
linux_drivers_gpu_drm_nouveau_nvkm_engine_disp_extr_vga.c_nvkm_lockvgac
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_SP_FS_CTRL_REG1_CONSTLENGTH.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_SP_FS_CTRL_REG1_CONSTLENGTH.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH(i32 noundef %0) #0 { %2 = load i32, ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_SP_FS_CTRL_REG1_CONSTLENGTH.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_SP_FS_CTRL_REG1_CONSTLENGTH.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__SHIFT = common local_unnamed_addr global i32 0, align 4 @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH(i32 noundef %0) #0 { %2 = load i32, ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A4XX_SP_FS_CTRL_REG1_CONSTLENGTH__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a4xx.xml.h_A4XX_SP_FS_CTRL_REG1_CONSTLENGTH
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_resolved.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_resolved.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @svn_wc_conflict_choose_merged = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_client_resolved(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @SVN_DEPTH_INFINITY_OR_EMPTY(i32 noundef %1) #2 %6 = load i32, ptr @svn_wc_conflict_choose_merged, align 4, !tbaa !5 %7 = tail call ptr @svn_client_resolve(ptr noundef %0, i32 noundef %5, i32 noundef %6, ptr noundef %2, ptr noundef %3) #2 ret ptr %7 } declare i32 @SVN_DEPTH_INFINITY_OR_EMPTY(i32 noundef) local_unnamed_addr #1 declare ptr @svn_client_resolve(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_resolved.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_resolved.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @svn_wc_conflict_choose_merged = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_client_resolved(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @SVN_DEPTH_INFINITY_OR_EMPTY(i32 noundef %1) #2 %6 = load i32, ptr @svn_wc_conflict_choose_merged, align 4, !tbaa !6 %7 = tail call ptr @svn_client_resolve(ptr noundef %0, i32 noundef %5, i32 noundef %6, ptr noundef %2, ptr noundef %3) #2 ret ptr %7 } declare i32 @SVN_DEPTH_INFINITY_OR_EMPTY(i32 noundef) local_unnamed_addr #1 declare ptr @svn_client_resolve(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_client_extr_deprecated.c_svn_client_resolved
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_imm7hi_Slot_inst16b_set.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_imm7hi_Slot_inst16b_set.c" target datalayout = "e-m:e-p270:32:32-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 @Field_imm7hi_Slot_inst16b_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @Field_imm7hi_Slot_inst16b_set(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = shl i32 %1, 29 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = and i32 %4, -113 %6 = ashr exact i32 %3, 25 %7 = or i32 %5, %6 store i32 %7, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_imm7hi_Slot_inst16b_set.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_imm7hi_Slot_inst16b_set.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 @Field_imm7hi_Slot_inst16b_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @Field_imm7hi_Slot_inst16b_set(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = shl i32 %1, 29 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = and i32 %4, -113 %6 = ashr exact i32 %3, 25 %7 = or i32 %5, %6 store i32 %7, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Field_imm7hi_Slot_inst16b_set
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/oprofile/extr_op_model_amd.c_op_amd_randomize_ibs_op.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/oprofile/extr_op_model_amd.c_op_amd_randomize_ibs_op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ibs_caps = dso_local local_unnamed_addr global i32 0, align 4 @IBS_CAPS_RDWROPCNT = dso_local local_unnamed_addr global i32 0, align 4 @IBS_RANDOM_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @op_amd_randomize_ibs_op], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @op_amd_randomize_ibs_op(i32 noundef %0) #0 { %2 = tail call i32 (...) @lfsr_random() #2 %3 = lshr i32 %2, 4 %4 = add i32 %3, %0 ret i32 %4 } declare i32 @lfsr_random(...) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/oprofile/extr_op_model_amd.c_op_amd_randomize_ibs_op.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/oprofile/extr_op_model_amd.c_op_amd_randomize_ibs_op.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ibs_caps = common local_unnamed_addr global i32 0, align 4 @IBS_CAPS_RDWROPCNT = common local_unnamed_addr global i32 0, align 4 @IBS_RANDOM_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @op_amd_randomize_ibs_op], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @op_amd_randomize_ibs_op(i32 noundef %0) #0 { %2 = tail call i32 @lfsr_random() #2 %3 = lshr i32 %2, 4 %4 = add i32 %3, %0 ret i32 %4 } declare i32 @lfsr_random(...) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_x86_oprofile_extr_op_model_amd.c_op_amd_randomize_ibs_op
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_global_record_fileinfo.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_global_record_fileinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @svn_depth_empty = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_wc__db_global_record_fileinfo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @svn_dirent_is_absolute(ptr noundef %1) #3 %9 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %8) #3 %10 = call i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %0, ptr noundef %1, ptr noundef %4, ptr noundef %4) #3 %11 = call i32 @SVN_ERR(i32 noundef %10) #3 %12 = load ptr, ptr %6, align 8, !tbaa !5 %13 = call i32 @VERIFY_USABLE_WCROOT(ptr noundef %12) #3 %14 = load ptr, ptr %6, align 8, !tbaa !5 %15 = load ptr, ptr %7, align 8, !tbaa !5 %16 = call i32 @db_record_fileinfo(ptr noundef %14, ptr noundef %15, i32 noundef %2, i32 noundef %3, ptr noundef %4) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = load ptr, ptr %6, align 8, !tbaa !5 %19 = load i32, ptr @svn_depth_empty, align 4, !tbaa !9 %20 = call i32 @flush_entries(ptr noundef %18, ptr noundef %1, i32 noundef %19, ptr noundef %4) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY_USABLE_WCROOT(ptr noundef) local_unnamed_addr #2 declare i32 @db_record_fileinfo(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @flush_entries(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_global_record_fileinfo.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_global_record_fileinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @svn_depth_empty = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_wc__db_global_record_fileinfo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @svn_dirent_is_absolute(ptr noundef %1) #3 %9 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %8) #3 %10 = call i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %0, ptr noundef %1, ptr noundef %4, ptr noundef %4) #3 %11 = call i32 @SVN_ERR(i32 noundef %10) #3 %12 = load ptr, ptr %6, align 8, !tbaa !6 %13 = call i32 @VERIFY_USABLE_WCROOT(ptr noundef %12) #3 %14 = load ptr, ptr %6, align 8, !tbaa !6 %15 = load ptr, ptr %7, align 8, !tbaa !6 %16 = call i32 @db_record_fileinfo(ptr noundef %14, ptr noundef %15, i32 noundef %2, i32 noundef %3, ptr noundef %4) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = load ptr, ptr %6, align 8, !tbaa !6 %19 = load i32, ptr @svn_depth_empty, align 4, !tbaa !10 %20 = call i32 @flush_entries(ptr noundef %18, ptr noundef %1, i32 noundef %19, ptr noundef %4) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY_USABLE_WCROOT(ptr noundef) local_unnamed_addr #2 declare i32 @db_record_fileinfo(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @flush_entries(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
freebsd_contrib_subversion_subversion_libsvn_wc_extr_wc_db.c_svn_wc__db_global_record_fileinfo
; ModuleID = 'AnghaBench/openwrt/package/utils/fbtest/src/extr_fbtest.c_drawrect.c' source_filename = "AnghaBench/openwrt/package/utils/fbtest/src/extr_fbtest.c_drawrect.c" target datalayout = "e-m:e-p270:32:32-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.pixel = type { ptr } %struct.pixelformat = type { i32, i32 } %struct.rect = type { i32, i32, i32, i32, ptr } @.str = private unnamed_addr constant [42 x i8] c"drawrect: unknown pixelformat(%d) bpp:%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @drawrect(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = alloca %struct.pixel, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = load i32, ptr %2, align 4, !tbaa !11 switch i32 %7, label %9 [ i32 132, label %8 i32 128, label %14 i32 131, label %14 ] 8: ; preds = %4 br label %14 9: ; preds = %4 %10 = getelementptr inbounds %struct.pixelformat, ptr %2, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %11) #4 %13 = tail call i32 @exit(i32 noundef 1) #5 unreachable 14: ; preds = %4, %4, %8 %15 = phi i32 [ 32, %8 ], [ 16, %4 ], [ 16, %4 ] %16 = phi i32 [ 4, %8 ], [ 2, %4 ], [ 2, %4 ] %17 = getelementptr inbounds %struct.rect, ptr %1, i64 0, i32 4 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = call i32 @col2pixel(ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef %18) #4 %20 = getelementptr inbounds %struct.rect, ptr %1, i64 0, i32 3 %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %63 23: ; preds = %14 %24 = load i32, ptr %3, align 4, !tbaa !16 %25 = getelementptr inbounds %struct.rect, ptr %1, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !18 %27 = mul nsw i32 %24, %26 %28 = getelementptr inbounds %struct.rect, ptr %1, i64 0, i32 2 %29 = load i32, ptr %28, align 8, !tbaa !19 %30 = add nsw i32 %27, %29 %31 = mul nsw i32 %30, %15 %32 = ashr exact i32 %31, 3 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %0, i64 %33 %35 = icmp sgt i32 %6, 0 %36 = zext nneg i32 %16 to i64 br label %37 37: ; preds = %23, %54 %38 = phi i32 [ %21, %23 ], [ %55, %54 ] %39 = phi i32 [ %24, %23 ], [ %56, %54 ] %40 = phi ptr [ %34, %23 ], [ %60, %54 ] %41 = phi i32 [ 0, %23 ], [ %61, %54 ] br i1 %35, label %42, label %54 42: ; preds = %37, %42 %43 = phi i64 [ %48, %42 ], [ 0, %37 ] %44 = phi i32 [ %49, %42 ], [ 0, %37 ] %45 = getelementptr inbounds i8, ptr %40, i64 %43 %46 = load ptr, ptr %5, align 8, !tbaa !20 %47 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %16) #4 %48 = add nuw nsw i64 %43, %36 %49 = add nuw nsw i32 %44, 1 %50 = icmp eq i32 %49, %6 br i1 %50, label %51, label %42, !llvm.loop !22 51: ; preds = %42 %52 = load i32, ptr %3, align 4, !tbaa !16 %53 = load i32, ptr %20, align 4, !tbaa !15 br label %54 54: ; preds = %51, %37 %55 = phi i32 [ %53, %51 ], [ %38, %37 ] %56 = phi i32 [ %52, %51 ], [ %39, %37 ] %57 = mul nsw i32 %56, %15 %58 = ashr exact i32 %57, 3 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %40, i64 %59 %61 = add nuw nsw i32 %41, 1 %62 = icmp slt i32 %61, %55 br i1 %62, label %37, label %63, !llvm.loop !24 63: ; preds = %54, %14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i32 @col2pixel(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } attributes #5 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rect", !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, !7, i64 0} !12 = !{!"pixelformat", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 4} !14 = !{!6, !10, i64 16} !15 = !{!6, !7, i64 12} !16 = !{!17, !7, i64 0} !17 = !{!"vidsize", !7, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!6, !7, i64 8} !20 = !{!21, !10, i64 0} !21 = !{!"pixel", !10, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !23}
; ModuleID = 'AnghaBench/openwrt/package/utils/fbtest/src/extr_fbtest.c_drawrect.c' source_filename = "AnghaBench/openwrt/package/utils/fbtest/src/extr_fbtest.c_drawrect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pixel = type { ptr } @.str = private unnamed_addr constant [42 x i8] c"drawrect: unknown pixelformat(%d) bpp:%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @drawrect(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = alloca %struct.pixel, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = load i32, ptr %2, align 4, !tbaa !12 switch i32 %7, label %9 [ i32 132, label %8 i32 128, label %14 i32 131, label %14 ] 8: ; preds = %4 br label %14 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %2, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %11) #4 %13 = tail call i32 @exit(i32 noundef 1) #5 unreachable 14: ; preds = %4, %4, %8 %15 = phi i32 [ 32, %8 ], [ 16, %4 ], [ 16, %4 ] %16 = phi i32 [ 4, %8 ], [ 2, %4 ], [ 2, %4 ] %17 = getelementptr inbounds i8, ptr %1, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = call i32 @col2pixel(ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef %18) #4 %20 = getelementptr inbounds i8, ptr %1, i64 12 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %63 23: ; preds = %14 %24 = load i32, ptr %3, align 4, !tbaa !17 %25 = getelementptr inbounds i8, ptr %1, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !19 %27 = mul nsw i32 %24, %26 %28 = getelementptr inbounds i8, ptr %1, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !20 %30 = add nsw i32 %27, %29 %31 = mul nsw i32 %30, %15 %32 = ashr exact i32 %31, 3 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %0, i64 %33 %35 = icmp sgt i32 %6, 0 %36 = zext nneg i32 %16 to i64 br label %37 37: ; preds = %23, %54 %38 = phi i32 [ %21, %23 ], [ %55, %54 ] %39 = phi i32 [ %24, %23 ], [ %56, %54 ] %40 = phi ptr [ %34, %23 ], [ %60, %54 ] %41 = phi i32 [ 0, %23 ], [ %61, %54 ] br i1 %35, label %42, label %54 42: ; preds = %37, %42 %43 = phi i64 [ %48, %42 ], [ 0, %37 ] %44 = phi i32 [ %49, %42 ], [ 0, %37 ] %45 = getelementptr inbounds i8, ptr %40, i64 %43 %46 = load ptr, ptr %5, align 8, !tbaa !21 %47 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %16) #4 %48 = add nuw nsw i64 %43, %36 %49 = add nuw nsw i32 %44, 1 %50 = icmp eq i32 %49, %6 br i1 %50, label %51, label %42, !llvm.loop !23 51: ; preds = %42 %52 = load i32, ptr %3, align 4, !tbaa !17 %53 = load i32, ptr %20, align 4, !tbaa !16 br label %54 54: ; preds = %51, %37 %55 = phi i32 [ %53, %51 ], [ %38, %37 ] %56 = phi i32 [ %52, %51 ], [ %39, %37 ] %57 = mul nsw i32 %56, %15 %58 = ashr exact i32 %57, 3 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %40, i64 %59 %61 = add nuw nsw i32 %41, 1 %62 = icmp slt i32 %61, %55 br i1 %62, label %37, label %63, !llvm.loop !25 63: ; preds = %54, %14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i32 @col2pixel(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } attributes #5 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rect", !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, !8, i64 0} !13 = !{!"pixelformat", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 4} !15 = !{!7, !11, i64 16} !16 = !{!7, !8, i64 12} !17 = !{!18, !8, i64 0} !18 = !{!"vidsize", !8, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!7, !8, i64 8} !21 = !{!22, !11, i64 0} !22 = !{!"pixel", !11, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = distinct !{!25, !24}
openwrt_package_utils_fbtest_src_extr_fbtest.c_drawrect
; ModuleID = 'AnghaBench/tengine/src/event/modules/extr_ngx_eventport_module.c_ngx_eventport_done.c' source_filename = "AnghaBench/tengine/src/event/modules/extr_ngx_eventport_module.c_ngx_eventport_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @event_timer = dso_local local_unnamed_addr global i64 0, align 8 @NGX_LOG_ALERT = dso_local local_unnamed_addr global i32 0, align 4 @ngx_errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"timer_delete() failed\00", align 1 @ep = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"close() event port failed\00", align 1 @event_list = dso_local local_unnamed_addr global ptr null, align 8 @nevents = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_eventport_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ngx_eventport_done(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @event_timer, align 8, !tbaa !5 %3 = icmp eq i64 %2, -1 br i1 %3, label %13, label %4 4: ; preds = %1 %5 = tail call i32 @timer_delete(i64 noundef %2) #2 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !9 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = load i32, ptr @ngx_errno, align 4, !tbaa !9 %11 = tail call i32 @ngx_log_error(i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str) #2 br label %12 12: ; preds = %7, %4 store i64 -1, ptr @event_timer, align 8, !tbaa !5 br label %13 13: ; preds = %12, %1 %14 = load i32, ptr @ep, align 4, !tbaa !9 %15 = tail call i32 @close(i32 noundef %14) #2 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !9 %19 = load i32, ptr %0, align 4, !tbaa !11 %20 = load i32, ptr @ngx_errno, align 4, !tbaa !9 %21 = tail call i32 @ngx_log_error(i32 noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef nonnull @.str.1) #2 br label %22 22: ; preds = %17, %13 store i32 -1, ptr @ep, align 4, !tbaa !9 %23 = load ptr, ptr @event_list, align 8, !tbaa !13 %24 = tail call i32 @ngx_free(ptr noundef %23) #2 store ptr null, ptr @event_list, align 8, !tbaa !13 store i64 0, ptr @nevents, align 8, !tbaa !5 ret void } declare i32 @timer_delete(i64 noundef) local_unnamed_addr #1 declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @ngx_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 = !{!"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} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/tengine/src/event/modules/extr_ngx_eventport_module.c_ngx_eventport_done.c' source_filename = "AnghaBench/tengine/src/event/modules/extr_ngx_eventport_module.c_ngx_eventport_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @event_timer = common local_unnamed_addr global i64 0, align 8 @NGX_LOG_ALERT = common local_unnamed_addr global i32 0, align 4 @ngx_errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"timer_delete() failed\00", align 1 @ep = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"close() event port failed\00", align 1 @event_list = common local_unnamed_addr global ptr null, align 8 @nevents = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ngx_eventport_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ngx_eventport_done(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @event_timer, align 8, !tbaa !6 %3 = icmp eq i64 %2, -1 br i1 %3, label %13, label %4 4: ; preds = %1 %5 = tail call i32 @timer_delete(i64 noundef %2) #2 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !10 %9 = load i32, ptr %0, align 4, !tbaa !12 %10 = load i32, ptr @ngx_errno, align 4, !tbaa !10 %11 = tail call i32 @ngx_log_error(i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str) #2 br label %12 12: ; preds = %7, %4 store i64 -1, ptr @event_timer, align 8, !tbaa !6 br label %13 13: ; preds = %12, %1 %14 = load i32, ptr @ep, align 4, !tbaa !10 %15 = tail call i32 @close(i32 noundef %14) #2 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr @NGX_LOG_ALERT, align 4, !tbaa !10 %19 = load i32, ptr %0, align 4, !tbaa !12 %20 = load i32, ptr @ngx_errno, align 4, !tbaa !10 %21 = tail call i32 @ngx_log_error(i32 noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef nonnull @.str.1) #2 br label %22 22: ; preds = %17, %13 store i32 -1, ptr @ep, align 4, !tbaa !10 %23 = load ptr, ptr @event_list, align 8, !tbaa !14 %24 = tail call i32 @ngx_free(ptr noundef %23) #2 store ptr null, ptr @event_list, align 8, !tbaa !14 store i64 0, ptr @nevents, align 8, !tbaa !6 ret void } declare i32 @timer_delete(i64 noundef) local_unnamed_addr #1 declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @ngx_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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0}
tengine_src_event_modules_extr_ngx_eventport_module.c_ngx_eventport_done
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfxhub_v1_0.c_gfxhub_v1_0_get_mc_fb_offset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfxhub_v1_0.c_gfxhub_v1_0_get_mc_fb_offset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GC = dso_local local_unnamed_addr global i32 0, align 4 @mmMC_VM_FB_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @gfxhub_v1_0_get_mc_fb_offset(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @GC, align 4, !tbaa !5 %3 = load i32, ptr @mmMC_VM_FB_OFFSET, align 4, !tbaa !5 %4 = tail call i64 @RREG32_SOC15(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = trunc i64 %4 to i32 %6 = shl i32 %5, 24 ret i32 %6 } declare i64 @RREG32_SOC15(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/amdgpu/extr_gfxhub_v1_0.c_gfxhub_v1_0_get_mc_fb_offset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfxhub_v1_0.c_gfxhub_v1_0_get_mc_fb_offset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GC = common local_unnamed_addr global i32 0, align 4 @mmMC_VM_FB_OFFSET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, -16777215) i32 @gfxhub_v1_0_get_mc_fb_offset(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @GC, align 4, !tbaa !6 %3 = load i32, ptr @mmMC_VM_FB_OFFSET, align 4, !tbaa !6 %4 = tail call i64 @RREG32_SOC15(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = trunc i64 %4 to i32 %6 = shl i32 %5, 24 ret i32 %6 } declare i64 @RREG32_SOC15(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_amdgpu_extr_gfxhub_v1_0.c_gfxhub_v1_0_get_mc_fb_offset
; ModuleID = 'AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetWindowPos.c' source_filename = "AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetWindowPos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32 } @_glfw = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @_glfwPlatformGetWindowPos(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = load i32, ptr getelementptr inbounds (%struct.TYPE_9__, ptr @_glfw, i64 0, i32 0, i32 1), align 4, !tbaa !5 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = load i32, ptr @_glfw, align 4, !tbaa !14 %10 = call i32 @XTranslateCoordinates(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4) #3 %11 = icmp eq ptr %1, null br i1 %11, label %14, label %12 12: ; preds = %3 %13 = load i32, ptr %5, align 4, !tbaa !15 store i32 %13, ptr %1, align 4, !tbaa !15 br label %14 14: ; preds = %12, %3 %15 = icmp eq ptr %2, null br i1 %15, label %18, label %16 16: ; preds = %14 %17 = load i32, ptr %6, align 4, !tbaa !15 store i32 %17, ptr %2, align 4, !tbaa !15 br label %18 18: ; preds = %16, %14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 @XTranslateCoordinates(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 4} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!6, !8, i64 0} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetWindowPos.c' source_filename = "AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformGetWindowPos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32 } @_glfw = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @_glfwPlatformGetWindowPos(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = load i32, ptr getelementptr inbounds (i8, ptr @_glfw, i64 4), align 4, !tbaa !6 %8 = load i32, ptr %0, align 4, !tbaa !12 %9 = load i32, ptr @_glfw, align 4, !tbaa !15 %10 = call i32 @XTranslateCoordinates(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4) #3 %11 = icmp eq ptr %1, null br i1 %11, label %14, label %12 12: ; preds = %3 %13 = load i32, ptr %5, align 4, !tbaa !16 store i32 %13, ptr %1, align 4, !tbaa !16 br label %14 14: ; preds = %12, %3 %15 = icmp eq ptr %2, null br i1 %15, label %18, label %16 16: ; preds = %14 %17 = load i32, ptr %6, align 4, !tbaa !16 store i32 %17, ptr %2, align 4, !tbaa !16 br label %18 18: ; preds = %16, %14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 @XTranslateCoordinates(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 4} !7 = !{!"TYPE_9__", !8, i64 0} !8 = !{!"TYPE_7__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_6__", !9, i64 0} !15 = !{!7, !9, i64 0} !16 = !{!9, !9, i64 0}
glfw_src_extr_x11_window.c__glfwPlatformGetWindowPos
; ModuleID = 'AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r.h_esas2r_rq_free_sg_lists.c' source_filename = "AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r.h_esas2r_rq_free_sg_lists.c" target datalayout = "e-m:e-p270:32:32-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.esas2r_adapter = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @esas2r_rq_free_sg_lists], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @esas2r_rq_free_sg_lists(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @list_empty(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i32 @spin_lock_irqsave(ptr noundef %1, i64 noundef undef) #2 %7 = getelementptr inbounds %struct.esas2r_adapter, ptr %1, i64 0, i32 1 %8 = tail call i32 @list_splice_tail_init(ptr noundef %0, ptr noundef nonnull %7) #2 %9 = tail call i32 @spin_unlock_irqrestore(ptr noundef %1, i64 noundef undef) #2 br label %10 10: ; preds = %2, %5 ret void } declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_splice_tail_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r.h_esas2r_rq_free_sg_lists.c' source_filename = "AnghaBench/linux/drivers/scsi/esas2r/extr_esas2r.h_esas2r_rq_free_sg_lists.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 @esas2r_rq_free_sg_lists], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @esas2r_rq_free_sg_lists(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @list_empty(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i32 @spin_lock_irqsave(ptr noundef %1, i64 noundef undef) #2 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = tail call i32 @list_splice_tail_init(ptr noundef %0, ptr noundef nonnull %7) #2 %9 = tail call i32 @spin_unlock_irqrestore(ptr noundef %1, i64 noundef undef) #2 br label %10 10: ; preds = %2, %5 ret void } declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_splice_tail_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_scsi_esas2r_extr_esas2r.h_esas2r_rq_free_sg_lists
; ModuleID = 'AnghaBench/linux/net/atm/extr_mpc.c_clean_up.c' source_filename = "AnghaBench/linux/net/atm/extr_mpc.c_clean_up.c" target datalayout = "e-m:e-p270:32:32-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.mpoa_client = type { i32, ptr } %struct.k_message = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } %struct.TYPE_6__ = type { ptr, %struct.TYPE_5__ } @SND_EGRESS_PURGE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"cache_id %u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @clean_up], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @clean_up(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @SND_EGRESS_PURGE, align 4, !tbaa !5 store i32 %4, ptr %0, align 4, !tbaa !9 %5 = tail call i32 @read_lock_irq(ptr noundef %1) #2 %6 = getelementptr inbounds %struct.mpoa_client, ptr %1, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %3 %10 = getelementptr inbounds %struct.k_message, ptr %0, i64 0, i32 1 br label %11 11: ; preds = %9, %11 %12 = phi ptr [ %7, %9 ], [ %17, %11 ] %13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 1 %14 = load i32, ptr %13, align 8, !tbaa !5 store i32 %14, ptr %10, align 4, !tbaa !5 %15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = tail call i32 @msg_to_mpoad(ptr noundef nonnull %0, ptr noundef %1) #2 %17 = load ptr, ptr %12, align 8, !tbaa !13 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %11, !llvm.loop !15 19: ; preds = %11, %3 %20 = tail call i32 @read_unlock_irq(ptr noundef %1) #2 store i32 %2, ptr %0, align 4, !tbaa !9 %21 = tail call i32 @msg_to_mpoad(ptr noundef nonnull %0, ptr noundef %1) #2 ret void } declare i32 @read_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msg_to_mpoad(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"k_message", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_5__", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/net/atm/extr_mpc.c_clean_up.c' source_filename = "AnghaBench/linux/net/atm/extr_mpc.c_clean_up.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SND_EGRESS_PURGE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"cache_id %u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @clean_up], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @clean_up(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @SND_EGRESS_PURGE, align 4, !tbaa !6 store i32 %4, ptr %0, align 4, !tbaa !10 %5 = tail call i32 @read_lock_irq(ptr noundef %1) #2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 4 br label %11 11: ; preds = %9, %11 %12 = phi ptr [ %7, %9 ], [ %17, %11 ] %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !6 store i32 %14, ptr %10, align 4, !tbaa !6 %15 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = tail call i32 @msg_to_mpoad(ptr noundef nonnull %0, ptr noundef %1) #2 %17 = load ptr, ptr %12, align 8, !tbaa !14 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %11, !llvm.loop !16 19: ; preds = %11, %3 %20 = tail call i32 @read_unlock_irq(ptr noundef %1) #2 store i32 %2, ptr %0, align 4, !tbaa !10 %21 = tail call i32 @msg_to_mpoad(ptr noundef nonnull %0, ptr noundef %1) #2 ret void } declare i32 @read_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msg_to_mpoad(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"k_message", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_5__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_net_atm_extr_mpc.c_clean_up
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/HC/extr_hc.c_FmHcSetFramesDataMemory.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/HC/extr_hc.c_FmHcSetFramesDataMemory.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i32 } @E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @HC_CMD_POOL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @FmHcSetFramesDataMemory(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 store i32 %1, ptr %6, align 8, !tbaa !9 %7 = load i32, ptr @HC_CMD_POOL_SIZE, align 4, !tbaa !5 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %2, %19 %10 = phi i32 [ %20, %19 ], [ %7, %2 ] %11 = phi i64 [ %21, %19 ], [ 0, %2 ] %12 = load ptr, ptr %3, align 8, !tbaa !12 %13 = getelementptr inbounds i64, ptr %12, i64 %11 %14 = load i64, ptr %13, align 8, !tbaa !13 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %9 %17 = tail call i32 @XX_FreeSmart(i64 noundef %14) #2 %18 = load i32, ptr @HC_CMD_POOL_SIZE, align 4, !tbaa !5 br label %19 19: ; preds = %9, %16 %20 = phi i32 [ %10, %9 ], [ %18, %16 ] %21 = add nuw nsw i64 %11, 1 %22 = sext i32 %20 to i64 %23 = icmp slt i64 %21, %22 br i1 %23, label %9, label %24, !llvm.loop !15 24: ; preds = %19, %2 %25 = tail call i32 @FillBufPool(ptr noundef nonnull %3) #2 ret i32 %25 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XX_FreeSmart(i64 noundef) local_unnamed_addr #1 declare i32 @FillBufPool(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/HC/extr_hc.c_FmHcSetFramesDataMemory.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/HC/extr_hc.c_FmHcSetFramesDataMemory.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @HC_CMD_POOL_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @FmHcSetFramesDataMemory(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %1, ptr %6, align 8, !tbaa !10 %7 = load i32, ptr @HC_CMD_POOL_SIZE, align 4, !tbaa !6 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %2, %19 %10 = phi i32 [ %20, %19 ], [ %7, %2 ] %11 = phi i64 [ %21, %19 ], [ 0, %2 ] %12 = load ptr, ptr %3, align 8, !tbaa !13 %13 = getelementptr inbounds i64, ptr %12, i64 %11 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %9 %17 = tail call i32 @XX_FreeSmart(i64 noundef %14) #2 %18 = load i32, ptr @HC_CMD_POOL_SIZE, align 4, !tbaa !6 br label %19 19: ; preds = %9, %16 %20 = phi i32 [ %10, %9 ], [ %18, %16 ] %21 = add nuw nsw i64 %11, 1 %22 = sext i32 %20 to i64 %23 = icmp slt i64 %21, %22 br i1 %23, label %9, label %24, !llvm.loop !16 24: ; preds = %19, %2 %25 = tail call i32 @FillBufPool(ptr noundef nonnull %3) #2 ret i32 %25 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XX_FreeSmart(i64 noundef) local_unnamed_addr #1 declare i32 @FillBufPool(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_ncsw_Peripherals_FM_HC_extr_hc.c_FmHcSetFramesDataMemory
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_com.c_ena_com_set_dev_mtu.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_com.c_ena_com_set_dev_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" %struct.ena_admin_set_feat_cmd = type { %struct.TYPE_8__, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i64, i32 } %struct.ena_admin_set_feat_resp = type { i32 } @ENA_ADMIN_MTU = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Feature %d isn't supported\0A\00", align 1 @ENA_COM_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @ENA_ADMIN_SET_FEATURE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Failed to set mtu %d. error: %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ena_com_set_dev_mtu(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.ena_admin_set_feat_cmd, align 8 %4 = alloca %struct.ena_admin_set_feat_resp, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !5 %6 = tail call i32 @ena_com_check_supported_feature_id(ptr noundef %0, i32 noundef %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !5 %10 = tail call i32 @ena_trc_dbg(ptr noundef nonnull @.str, i32 noundef %9) #3 %11 = load i32, ptr @ENA_COM_UNSUPPORTED, align 4, !tbaa !5 br label %24 12: ; preds = %2 %13 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 24) #3 %14 = load i32, ptr @ENA_ADMIN_SET_FEATURE, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.ena_admin_set_feat_cmd, ptr %3, i64 0, i32 2 %16 = getelementptr inbounds %struct.ena_admin_set_feat_cmd, ptr %3, i64 0, i32 2, i32 1 store i32 %14, ptr %16, align 8, !tbaa !9 store i64 0, ptr %15, align 8, !tbaa !16 %17 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.ena_admin_set_feat_cmd, ptr %3, i64 0, i32 1 store i32 %17, ptr %18, align 4, !tbaa !17 store i32 %1, ptr %3, align 8, !tbaa !18 %19 = call i32 @ena_com_execute_admin_command(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 24, ptr noundef nonnull %4, i32 noundef 4) #3 %20 = call i64 @unlikely(i32 noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %12 %23 = call i32 @ena_trc_err(ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %19) #3 br label %24 24: ; preds = %12, %22, %8 %25 = phi i32 [ %11, %8 ], [ %19, %22 ], [ %19, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ena_com_check_supported_feature_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ena_trc_dbg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ena_com_execute_admin_command(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ena_trc_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"ena_admin_set_feat_cmd", !11, i64 0, !13, i64 4, !14, i64 8} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"TYPE_7__", !6, i64 0} !13 = !{!"TYPE_6__", !6, i64 0} !14 = !{!"TYPE_5__", !15, i64 0, !6, i64 8} !15 = !{!"long", !7, i64 0} !16 = !{!10, !15, i64 8} !17 = !{!10, !6, i64 4} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_com.c_ena_com_set_dev_mtu.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_com.c_ena_com_set_dev_mtu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ena_admin_set_feat_cmd = type { %struct.TYPE_8__, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i64, i32 } %struct.ena_admin_set_feat_resp = type { i32 } @ENA_ADMIN_MTU = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Feature %d isn't supported\0A\00", align 1 @ENA_COM_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4 @ENA_ADMIN_SET_FEATURE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Failed to set mtu %d. error: %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ena_com_set_dev_mtu(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.ena_admin_set_feat_cmd, align 8 %4 = alloca %struct.ena_admin_set_feat_resp, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !6 %6 = tail call i32 @ena_com_check_supported_feature_id(ptr noundef %0, i32 noundef %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !6 %10 = tail call i32 @ena_trc_dbg(ptr noundef nonnull @.str, i32 noundef %9) #3 %11 = load i32, ptr @ENA_COM_UNSUPPORTED, align 4, !tbaa !6 br label %24 12: ; preds = %2 %13 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 24) #3 %14 = load i32, ptr @ENA_ADMIN_SET_FEATURE, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %3, i64 8 %16 = getelementptr inbounds i8, ptr %3, i64 16 store i32 %14, ptr %16, align 8, !tbaa !10 store i64 0, ptr %15, align 8, !tbaa !17 %17 = load i32, ptr @ENA_ADMIN_MTU, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %17, ptr %18, align 4, !tbaa !18 store i32 %1, ptr %3, align 8, !tbaa !19 %19 = call i32 @ena_com_execute_admin_command(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 24, ptr noundef nonnull %4, i32 noundef 4) #3 %20 = call i64 @unlikely(i32 noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %12 %23 = call i32 @ena_trc_err(ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %19) #3 br label %24 24: ; preds = %12, %22, %8 %25 = phi i32 [ %11, %8 ], [ %19, %22 ], [ %19, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ena_com_check_supported_feature_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ena_trc_dbg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ena_com_execute_admin_command(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ena_trc_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"ena_admin_set_feat_cmd", !12, i64 0, !14, i64 4, !15, i64 8} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !7, i64 0} !14 = !{!"TYPE_6__", !7, i64 0} !15 = !{!"TYPE_5__", !16, i64 0, !7, i64 8} !16 = !{!"long", !8, i64 0} !17 = !{!11, !16, i64 8} !18 = !{!11, !7, i64 4} !19 = !{!11, !7, i64 0}
freebsd_sys_contrib_ena-com_extr_ena_com.c_ena_com_set_dev_mtu
; ModuleID = 'AnghaBench/php-src/main/streams/extr_memory.c_php_stream_temp_cast.c' source_filename = "AnghaBench/php-src/main/streams/extr_memory.c_php_stream_temp_cast.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @PHP_STREAM_IS_STDIO = dso_local local_unnamed_addr global i32 0, align 4 @PHP_STREAM_AS_STDIO = dso_local local_unnamed_addr global i32 0, align 4 @SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @E_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Unable to create temporary file.\00", align 1 @PHP_STREAM_FREE_CLOSE = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @php_stream_temp_cast], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @php_stream_temp_cast(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %7 = icmp ne i64 %5, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load ptr, ptr %6, align 8, !tbaa !10 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @FAILURE, align 4, !tbaa !13 br label %54 14: ; preds = %3 %15 = load i32, ptr @PHP_STREAM_IS_STDIO, align 4, !tbaa !13 %16 = tail call i64 @php_stream_is(ptr noundef nonnull %10, i32 noundef %15) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load ptr, ptr %6, align 8, !tbaa !10 %20 = tail call i32 @php_stream_cast(ptr noundef %19, i32 noundef %1, ptr noundef %2, i32 noundef 0) #3 br label %54 21: ; preds = %14 %22 = icmp eq ptr %2, null %23 = load i32, ptr @PHP_STREAM_AS_STDIO, align 4 %24 = icmp eq i32 %23, %1 %25 = select i1 %22, i1 %24, i1 false br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr @SUCCESS, align 4, !tbaa !13 br label %54 28: ; preds = %21 br i1 %22, label %29, label %31 29: ; preds = %28 %30 = load i32, ptr @FAILURE, align 4, !tbaa !13 br label %54 31: ; preds = %28 %32 = tail call ptr (...) @php_stream_fopen_tmpfile() #3 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %38 34: ; preds = %31 %35 = load i32, ptr @E_WARNING, align 4, !tbaa !13 %36 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %35, ptr noundef nonnull @.str) #3 %37 = load i32, ptr @FAILURE, align 4, !tbaa !13 br label %54 38: ; preds = %31 %39 = load ptr, ptr %6, align 8, !tbaa !10 %40 = call ptr @php_stream_memory_get_buffer(ptr noundef %39, ptr noundef nonnull %4) #3 %41 = load i64, ptr %4, align 8, !tbaa !15 %42 = call i32 @php_stream_write(ptr noundef nonnull %32, ptr noundef %40, i64 noundef %41) #3 %43 = load ptr, ptr %6, align 8, !tbaa !10 %44 = call i32 @php_stream_tell(ptr noundef %43) #3 %45 = load ptr, ptr %6, align 8, !tbaa !10 %46 = load i32, ptr @PHP_STREAM_FREE_CLOSE, align 4, !tbaa !13 %47 = call i32 @php_stream_free_enclosed(ptr noundef %45, i32 noundef %46) #3 store ptr %32, ptr %6, align 8, !tbaa !10 %48 = call i32 @php_stream_encloses(ptr noundef nonnull %0, ptr noundef nonnull %32) #3 %49 = load ptr, ptr %6, align 8, !tbaa !10 %50 = load i32, ptr @SEEK_SET, align 4, !tbaa !13 %51 = call i32 @php_stream_seek(ptr noundef %49, i32 noundef %44, i32 noundef %50) #3 %52 = load ptr, ptr %6, align 8, !tbaa !10 %53 = call i32 @php_stream_cast(ptr noundef %52, i32 noundef %1, ptr noundef nonnull %2, i32 noundef 1) #3 br label %54 54: ; preds = %38, %34, %29, %26, %18, %12 %55 = phi i32 [ %20, %18 ], [ %27, %26 ], [ %30, %29 ], [ %37, %34 ], [ %53, %38 ], [ %13, %12 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %55 } ; 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 i64 @php_stream_is(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @php_stream_cast(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @php_stream_fopen_tmpfile(...) local_unnamed_addr #2 declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @php_stream_memory_get_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @php_stream_tell(ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_free_enclosed(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @php_stream_encloses(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_15__", !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_14__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/php-src/main/streams/extr_memory.c_php_stream_temp_cast.c' source_filename = "AnghaBench/php-src/main/streams/extr_memory.c_php_stream_temp_cast.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FAILURE = common local_unnamed_addr global i32 0, align 4 @PHP_STREAM_IS_STDIO = common local_unnamed_addr global i32 0, align 4 @PHP_STREAM_AS_STDIO = common local_unnamed_addr global i32 0, align 4 @SUCCESS = common local_unnamed_addr global i32 0, align 4 @E_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Unable to create temporary file.\00", align 1 @PHP_STREAM_FREE_CLOSE = common local_unnamed_addr global i32 0, align 4 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @php_stream_temp_cast], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @php_stream_temp_cast(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %7 = icmp ne i64 %5, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load ptr, ptr %6, align 8, !tbaa !11 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @FAILURE, align 4, !tbaa !14 br label %54 14: ; preds = %3 %15 = load i32, ptr @PHP_STREAM_IS_STDIO, align 4, !tbaa !14 %16 = tail call i64 @php_stream_is(ptr noundef nonnull %10, i32 noundef %15) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load ptr, ptr %6, align 8, !tbaa !11 %20 = tail call i32 @php_stream_cast(ptr noundef %19, i32 noundef %1, ptr noundef %2, i32 noundef 0) #3 br label %54 21: ; preds = %14 %22 = icmp eq ptr %2, null %23 = load i32, ptr @PHP_STREAM_AS_STDIO, align 4 %24 = icmp eq i32 %23, %1 %25 = select i1 %22, i1 %24, i1 false br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr @SUCCESS, align 4, !tbaa !14 br label %54 28: ; preds = %21 br i1 %22, label %29, label %31 29: ; preds = %28 %30 = load i32, ptr @FAILURE, align 4, !tbaa !14 br label %54 31: ; preds = %28 %32 = tail call ptr @php_stream_fopen_tmpfile() #3 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %38 34: ; preds = %31 %35 = load i32, ptr @E_WARNING, align 4, !tbaa !14 %36 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %35, ptr noundef nonnull @.str) #3 %37 = load i32, ptr @FAILURE, align 4, !tbaa !14 br label %54 38: ; preds = %31 %39 = load ptr, ptr %6, align 8, !tbaa !11 %40 = call ptr @php_stream_memory_get_buffer(ptr noundef %39, ptr noundef nonnull %4) #3 %41 = load i64, ptr %4, align 8, !tbaa !16 %42 = call i32 @php_stream_write(ptr noundef nonnull %32, ptr noundef %40, i64 noundef %41) #3 %43 = load ptr, ptr %6, align 8, !tbaa !11 %44 = call i32 @php_stream_tell(ptr noundef %43) #3 %45 = load ptr, ptr %6, align 8, !tbaa !11 %46 = load i32, ptr @PHP_STREAM_FREE_CLOSE, align 4, !tbaa !14 %47 = call i32 @php_stream_free_enclosed(ptr noundef %45, i32 noundef %46) #3 store ptr %32, ptr %6, align 8, !tbaa !11 %48 = call i32 @php_stream_encloses(ptr noundef nonnull %0, ptr noundef nonnull %32) #3 %49 = load ptr, ptr %6, align 8, !tbaa !11 %50 = load i32, ptr @SEEK_SET, align 4, !tbaa !14 %51 = call i32 @php_stream_seek(ptr noundef %49, i32 noundef %44, i32 noundef %50) #3 %52 = load ptr, ptr %6, align 8, !tbaa !11 %53 = call i32 @php_stream_cast(ptr noundef %52, i32 noundef %1, ptr noundef nonnull %2, i32 noundef 1) #3 br label %54 54: ; preds = %38, %34, %29, %26, %18, %12 %55 = phi i32 [ %20, %18 ], [ %27, %26 ], [ %30, %29 ], [ %37, %34 ], [ %53, %38 ], [ %13, %12 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %55 } ; 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 i64 @php_stream_is(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @php_stream_cast(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @php_stream_fopen_tmpfile(...) local_unnamed_addr #2 declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @php_stream_memory_get_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @php_stream_tell(ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_free_enclosed(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @php_stream_encloses(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @php_stream_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_15__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_14__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!8, !8, i64 0}
php-src_main_streams_extr_memory.c_php_stream_temp_cast
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_splice_viable.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_splice_viable.c" target datalayout = "e-m:e-p270:32:32-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.z_candidate = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @splice_viable], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal ptr @splice_viable(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) store ptr null, ptr %5, align 8, !tbaa !5 store i32 0, ptr %2, align 4, !tbaa !9 %6 = icmp eq ptr %0, null br i1 %6, label %31, label %7 7: ; preds = %3 %8 = icmp eq i32 %1, 0 br label %9 9: ; preds = %7, %23 %10 = phi ptr [ %5, %7 ], [ %25, %23 ] %11 = phi ptr [ %4, %7 ], [ %24, %23 ] %12 = phi ptr [ %0, %7 ], [ %26, %23 ] %13 = load i32, ptr %12, align 8, !tbaa !11 br i1 %8, label %16, label %14 14: ; preds = %9 %15 = icmp eq i32 %13, 1 br i1 %15, label %18, label %21 16: ; preds = %9 %17 = icmp eq i32 %13, 0 br i1 %17, label %21, label %18 18: ; preds = %16, %14 store ptr %12, ptr %10, align 8, !tbaa !5 %19 = getelementptr inbounds %struct.z_candidate, ptr %12, i64 0, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !13 store ptr %20, ptr %11, align 8, !tbaa !5 store ptr null, ptr %19, align 8, !tbaa !13 store i32 1, ptr %2, align 4, !tbaa !9 br label %23 21: ; preds = %16, %14 %22 = getelementptr inbounds %struct.z_candidate, ptr %12, i64 0, i32 1 br label %23 23: ; preds = %21, %18 %24 = phi ptr [ %11, %18 ], [ %22, %21 ] %25 = phi ptr [ %19, %18 ], [ %10, %21 ] %26 = load ptr, ptr %24, align 8, !tbaa !5 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %9, !llvm.loop !14 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 br label %31 31: ; preds = %28, %3 %32 = phi ptr [ %30, %28 ], [ null, %3 ] %33 = phi ptr [ %29, %28 ], [ null, %3 ] %34 = icmp eq ptr %33, null %35 = select i1 %34, ptr %32, ptr %33 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) ret ptr %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"z_candidate", !10, i64 0, !6, i64 8} !13 = !{!12, !6, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_splice_viable.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_splice_viable.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 @splice_viable], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal ptr @splice_viable(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) store ptr null, ptr %5, align 8, !tbaa !6 store i32 0, ptr %2, align 4, !tbaa !10 %6 = icmp eq ptr %0, null br i1 %6, label %31, label %7 7: ; preds = %3 %8 = icmp eq i32 %1, 0 br label %9 9: ; preds = %7, %23 %10 = phi ptr [ %5, %7 ], [ %25, %23 ] %11 = phi ptr [ %4, %7 ], [ %24, %23 ] %12 = phi ptr [ %0, %7 ], [ %26, %23 ] %13 = load i32, ptr %12, align 8, !tbaa !12 br i1 %8, label %16, label %14 14: ; preds = %9 %15 = icmp eq i32 %13, 1 br i1 %15, label %18, label %21 16: ; preds = %9 %17 = icmp eq i32 %13, 0 br i1 %17, label %21, label %18 18: ; preds = %16, %14 store ptr %12, ptr %10, align 8, !tbaa !6 %19 = getelementptr inbounds i8, ptr %12, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !14 store ptr %20, ptr %11, align 8, !tbaa !6 store ptr null, ptr %19, align 8, !tbaa !14 store i32 1, ptr %2, align 4, !tbaa !10 br label %23 21: ; preds = %16, %14 %22 = getelementptr inbounds i8, ptr %12, i64 8 br label %23 23: ; preds = %21, %18 %24 = phi ptr [ %11, %18 ], [ %22, %21 ] %25 = phi ptr [ %19, %18 ], [ %10, %21 ] %26 = load ptr, ptr %24, align 8, !tbaa !6 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %9, !llvm.loop !15 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 br label %31 31: ; preds = %28, %3 %32 = phi ptr [ %30, %28 ], [ null, %3 ] %33 = phi ptr [ %29, %28 ], [ null, %3 ] %34 = icmp eq ptr %33, null %35 = select i1 %34, ptr %32, ptr %33 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) ret ptr %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"z_candidate", !11, i64 0, !7, i64 8} !14 = !{!13, !7, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_cp_extr_call.c_splice_viable
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_abd.c_abd_iter_init.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_abd.c_abd_iter_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.abd_iter = type { i64, ptr, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @abd_iter_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @abd_iter_init(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @abd_verify(ptr noundef %1) #3 %4 = getelementptr inbounds %struct.abd_iter, ptr %0, i64 0, i32 3 store ptr %1, ptr %4, align 8, !tbaa !5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false) ret void } declare i32 @abd_verify(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"abd_iter", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_abd.c_abd_iter_init.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_abd.c_abd_iter_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 @abd_iter_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @abd_iter_init(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @abd_verify(ptr noundef %1) #3 %4 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %1, ptr %4, align 8, !tbaa !6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false) ret void } declare i32 @abd_verify(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"abd_iter", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_abd.c_abd_iter_init
; ModuleID = 'AnghaBench/linux/drivers/firmware/extr_ti_sci.c_ti_sci_cmd_core_reboot.c' source_filename = "AnghaBench/linux/drivers/firmware/extr_ti_sci.c_ti_sci_cmd_core_reboot.c" target datalayout = "e-m:e-p270:32:32-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.ti_sci_info = type { i32, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @TI_SCI_MSG_SYS_RESET = dso_local local_unnamed_addr global i32 0, align 4 @TI_SCI_FLAG_REQ_ACK_ON_PROCESSED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Message alloc failed(%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Mbox send fail %d\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ti_sci_cmd_core_reboot], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ti_sci_cmd_core_reboot(ptr noundef %0) #0 { %2 = tail call i64 @IS_ERR(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @PTR_ERR(ptr noundef %0) #2 br label %39 6: ; preds = %1 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %11 8: ; preds = %6 %9 = load i32, ptr @EINVAL, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %39 11: ; preds = %6 %12 = tail call ptr @handle_to_ti_sci_info(ptr noundef nonnull %0) #2 %13 = getelementptr inbounds %struct.ti_sci_info, ptr %12, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = load i32, ptr @TI_SCI_MSG_SYS_RESET, align 4, !tbaa !5 %16 = load i32, ptr @TI_SCI_FLAG_REQ_ACK_ON_PROCESSED, align 4, !tbaa !5 %17 = tail call ptr @ti_sci_get_one_xfer(ptr noundef %12, i32 noundef %15, i32 noundef %16, i32 noundef 4, i32 noundef 4) #2 %18 = tail call i64 @IS_ERR(ptr noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %11 %21 = tail call i32 @PTR_ERR(ptr noundef %17) #2 %22 = tail call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str, i32 noundef %21) #2 br label %39 23: ; preds = %11 %24 = tail call i32 @ti_sci_do_xfer(ptr noundef nonnull %12, ptr noundef %17) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %23 %27 = tail call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str.1, i32 noundef %24) #2 br label %36 28: ; preds = %23 %29 = load i64, ptr %17, align 8, !tbaa !12 %30 = inttoptr i64 %29 to ptr %31 = tail call i32 @ti_sci_is_response_ack(ptr noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load i32, ptr @ENODEV, align 4, !tbaa !5 %35 = sub nsw i32 0, %34 br label %36 36: ; preds = %28, %33, %26 %37 = phi i32 [ %24, %26 ], [ %35, %33 ], [ 0, %28 ] %38 = tail call i32 @ti_sci_put_one_xfer(ptr noundef nonnull %12, ptr noundef %17) #2 br label %39 39: ; preds = %36, %20, %8, %4 %40 = phi i32 [ %5, %4 ], [ %21, %20 ], [ %37, %36 ], [ %10, %8 ] ret i32 %40 } declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @handle_to_ti_sci_info(ptr noundef) local_unnamed_addr #1 declare ptr @ti_sci_get_one_xfer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ti_sci_do_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ti_sci_is_response_ack(ptr noundef) local_unnamed_addr #1 declare i32 @ti_sci_put_one_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"ti_sci_info", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"ti_sci_xfer", !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/firmware/extr_ti_sci.c_ti_sci_cmd_core_reboot.c' source_filename = "AnghaBench/linux/drivers/firmware/extr_ti_sci.c_ti_sci_cmd_core_reboot.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 @TI_SCI_MSG_SYS_RESET = common local_unnamed_addr global i32 0, align 4 @TI_SCI_FLAG_REQ_ACK_ON_PROCESSED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Message alloc failed(%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Mbox send fail %d\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ti_sci_cmd_core_reboot], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ti_sci_cmd_core_reboot(ptr noundef %0) #0 { %2 = tail call i64 @IS_ERR(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @PTR_ERR(ptr noundef %0) #2 br label %39 6: ; preds = %1 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %11 8: ; preds = %6 %9 = load i32, ptr @EINVAL, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %39 11: ; preds = %6 %12 = tail call ptr @handle_to_ti_sci_info(ptr noundef nonnull %0) #2 %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = load i32, ptr @TI_SCI_MSG_SYS_RESET, align 4, !tbaa !6 %16 = load i32, ptr @TI_SCI_FLAG_REQ_ACK_ON_PROCESSED, align 4, !tbaa !6 %17 = tail call ptr @ti_sci_get_one_xfer(ptr noundef %12, i32 noundef %15, i32 noundef %16, i32 noundef 4, i32 noundef 4) #2 %18 = tail call i64 @IS_ERR(ptr noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %11 %21 = tail call i32 @PTR_ERR(ptr noundef %17) #2 %22 = tail call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str, i32 noundef %21) #2 br label %39 23: ; preds = %11 %24 = tail call i32 @ti_sci_do_xfer(ptr noundef nonnull %12, ptr noundef %17) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %23 %27 = tail call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str.1, i32 noundef %24) #2 br label %36 28: ; preds = %23 %29 = load i64, ptr %17, align 8, !tbaa !13 %30 = inttoptr i64 %29 to ptr %31 = tail call i32 @ti_sci_is_response_ack(ptr noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load i32, ptr @ENODEV, align 4, !tbaa !6 %35 = sub nsw i32 0, %34 br label %36 36: ; preds = %28, %33, %26 %37 = phi i32 [ %24, %26 ], [ %35, %33 ], [ 0, %28 ] %38 = tail call i32 @ti_sci_put_one_xfer(ptr noundef nonnull %12, ptr noundef %17) #2 br label %39 39: ; preds = %36, %20, %8, %4 %40 = phi i32 [ %5, %4 ], [ %21, %20 ], [ %37, %36 ], [ %10, %8 ] ret i32 %40 } declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @handle_to_ti_sci_info(ptr noundef) local_unnamed_addr #1 declare ptr @ti_sci_get_one_xfer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ti_sci_do_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ti_sci_is_response_ack(ptr noundef) local_unnamed_addr #1 declare i32 @ti_sci_put_one_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"ti_sci_info", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"ti_sci_xfer", !15, i64 0} !15 = !{!"long", !8, i64 0}
linux_drivers_firmware_extr_ti_sci.c_ti_sci_cmd_core_reboot
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_dm.c_SetAntenna8185.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_dm.c_SetAntenna8185.c" target datalayout = "e-m:e-p270:32:32-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.r8180_priv = type { i32, i32 } @ANTSEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"SetAntenna8185: unkown RFChipID(%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"SetAntenna8185: unkown u1bAntennaIndex(%d)\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @SetAntenna8185(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ieee80211_priv(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr switch i32 %1, label %17 [ i32 0, label %5 i32 1, label %11 ] 5: ; preds = %2 %6 = load i32, ptr %4, align 4, !tbaa !5 %7 = and i32 %6, -2 %8 = icmp eq i32 %7, 128 br i1 %8, label %19, label %9 9: ; preds = %5 %10 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %6) #2 br label %28 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !5 %13 = and i32 %12, -2 %14 = icmp eq i32 %13, 128 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %12) #2 br label %28 17: ; preds = %2 %18 = tail call i32 @printk(ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %28 19: ; preds = %11, %5 %20 = phi i32 [ 3, %5 ], [ 0, %11 ] %21 = phi i32 [ 155, %5 ], [ 187, %11 ] %22 = phi i32 [ 92, %5 ], [ 84, %11 ] %23 = load i32, ptr @ANTSEL, align 4, !tbaa !10 %24 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %23, i32 noundef %20) #2 %25 = tail call i32 @write_phy_cck(ptr noundef %0, i32 noundef 17, i32 noundef %21) #2 %26 = tail call i32 @write_phy_ofdm(ptr noundef %0, i32 noundef 13, i32 noundef %22) #2 %27 = getelementptr inbounds %struct.r8180_priv, ptr %4, i64 0, i32 1 store i32 %1, ptr %27, align 4, !tbaa !11 br label %28 28: ; preds = %9, %15, %17, %19 %29 = phi i32 [ 1, %19 ], [ 0, %17 ], [ 0, %15 ], [ 0, %9 ] ret i32 %29 } declare i64 @ieee80211_priv(ptr noundef) local_unnamed_addr #1 declare i32 @write_nic_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_cck(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_ofdm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @printk(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 = !{!"r8180_priv", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_dm.c_SetAntenna8185.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_dm.c_SetAntenna8185.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ANTSEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"SetAntenna8185: unkown RFChipID(%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"SetAntenna8185: unkown u1bAntennaIndex(%d)\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @SetAntenna8185(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ieee80211_priv(ptr noundef %0) #2 %4 = inttoptr i64 %3 to ptr switch i32 %1, label %17 [ i32 0, label %5 i32 1, label %11 ] 5: ; preds = %2 %6 = load i32, ptr %4, align 4, !tbaa !6 %7 = and i32 %6, -2 %8 = icmp eq i32 %7, 128 br i1 %8, label %19, label %9 9: ; preds = %5 %10 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %6) #2 br label %28 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !6 %13 = and i32 %12, -2 %14 = icmp eq i32 %13, 128 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %12) #2 br label %28 17: ; preds = %2 %18 = tail call i32 @printk(ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %28 19: ; preds = %11, %5 %20 = phi i32 [ 3, %5 ], [ 0, %11 ] %21 = phi i32 [ 155, %5 ], [ 187, %11 ] %22 = phi i32 [ 92, %5 ], [ 84, %11 ] %23 = load i32, ptr @ANTSEL, align 4, !tbaa !11 %24 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %23, i32 noundef %20) #2 %25 = tail call i32 @write_phy_cck(ptr noundef %0, i32 noundef 17, i32 noundef %21) #2 %26 = tail call i32 @write_phy_ofdm(ptr noundef %0, i32 noundef 13, i32 noundef %22) #2 %27 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %1, ptr %27, align 4, !tbaa !12 br label %28 28: ; preds = %9, %15, %17, %19 %29 = phi i32 [ 1, %19 ], [ 0, %17 ], [ 0, %15 ], [ 0, %9 ] ret i32 %29 } declare i64 @ieee80211_priv(ptr noundef) local_unnamed_addr #1 declare i32 @write_nic_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_cck(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_ofdm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @printk(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 = !{!"r8180_priv", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_staging_rtl8187se_extr_r8180_dm.c_SetAntenna8185
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_unwind_decoder.c_unw_decode_r2.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_unwind_decoder.c_unw_decode_r2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @R2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @unw_decode_r2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @unw_decode_r2(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 1 store ptr %5, ptr %4, align 8, !tbaa !5 %6 = load i8, ptr %0, align 1, !tbaa !9 %7 = shl i8 %1, 1 %8 = and i8 %7, 14 %9 = lshr i8 %6, 7 %10 = or disjoint i8 %9, %8 %11 = and i8 %6, 127 %12 = call i32 @unw_decode_uleb128(ptr noundef nonnull %4) #2 %13 = load i32, ptr @R2, align 4, !tbaa !10 %14 = call i32 @UNW_DEC_PROLOGUE_GR(i32 noundef %13, i32 noundef %12, i8 noundef zeroext %10, i8 noundef zeroext %11, ptr noundef %2) #2 %15 = load ptr, ptr %4, align 8, !tbaa !5 ret ptr %15 } declare i32 @unw_decode_uleb128(ptr noundef) local_unnamed_addr #1 declare i32 @UNW_DEC_PROLOGUE_GR(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_unwind_decoder.c_unw_decode_r2.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_unwind_decoder.c_unw_decode_r2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @unw_decode_r2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @unw_decode_r2(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 1 store ptr %5, ptr %4, align 8, !tbaa !6 %6 = load i8, ptr %0, align 1, !tbaa !10 %7 = shl i8 %1, 1 %8 = and i8 %7, 14 %9 = lshr i8 %6, 7 %10 = or disjoint i8 %9, %8 %11 = and i8 %6, 127 %12 = call i32 @unw_decode_uleb128(ptr noundef nonnull %4) #2 %13 = load i32, ptr @R2, align 4, !tbaa !11 %14 = call i32 @UNW_DEC_PROLOGUE_GR(i32 noundef %13, i32 noundef %12, i8 noundef zeroext %10, i8 noundef zeroext %11, ptr noundef %2) #2 %15 = load ptr, ptr %4, align 8, !tbaa !6 ret ptr %15 } declare i32 @unw_decode_uleb128(ptr noundef) local_unnamed_addr #1 declare i32 @UNW_DEC_PROLOGUE_GR(i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
fastsocket_kernel_arch_ia64_kernel_extr_unwind_decoder.c_unw_decode_r2
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execReplication.c_tuples_equal.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_execReplication.c_tuples_equal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { ptr, ptr, ptr } %struct.TYPE_14__ = type { i32, i32 } @TYPECACHE_EQ_OPR_FINFO = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_FUNCTION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"could not identify an equality operator for type %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tuples_equal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tuples_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = icmp eq i32 %5, %8 %10 = zext i1 %9 to i32 %11 = tail call i32 @Assert(i32 noundef %10) #2 %12 = tail call i32 @slot_getallattrs(ptr noundef %0) #2 %13 = tail call i32 @slot_getallattrs(ptr noundef %1) #2 %14 = load ptr, ptr %3, align 8, !tbaa !5 %15 = load i32, ptr %14, align 4, !tbaa !10 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %71 17: ; preds = %2 %18 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 br label %20 20: ; preds = %17, %65 %21 = phi i32 [ %15, %17 ], [ %66, %65 ] %22 = phi ptr [ %14, %17 ], [ %67, %65 ] %23 = phi i64 [ 0, %17 ], [ %68, %65 ] %24 = load ptr, ptr %0, align 8, !tbaa !13 %25 = getelementptr inbounds i64, ptr %24, i64 %23 %26 = load i64, ptr %25, align 8, !tbaa !14 %27 = load ptr, ptr %1, align 8, !tbaa !13 %28 = getelementptr inbounds i64, ptr %27, i64 %23 %29 = load i64, ptr %28, align 8, !tbaa !14 %30 = icmp eq i64 %26, %29 br i1 %30, label %31, label %71 31: ; preds = %20 %32 = icmp eq i64 %26, 0 br i1 %32, label %33, label %65 33: ; preds = %31 %34 = trunc i64 %23 to i32 %35 = tail call ptr @TupleDescAttr(ptr noundef nonnull %22, i32 noundef %34) #2 %36 = getelementptr inbounds %struct.TYPE_14__, ptr %35, i64 0, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = load i32, ptr @TYPECACHE_EQ_OPR_FINFO, align 4, !tbaa !18 %39 = tail call ptr @lookup_type_cache(i32 noundef %37, i32 noundef %38) #2 %40 = load i32, ptr %39, align 4, !tbaa !19 %41 = tail call i32 @OidIsValid(i32 noundef %40) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %33 %44 = load i32, ptr @ERROR, align 4, !tbaa !18 %45 = load i32, ptr @ERRCODE_UNDEFINED_FUNCTION, align 4, !tbaa !18 %46 = tail call i32 @errcode(i32 noundef %45) #2 %47 = load i32, ptr %36, align 4, !tbaa !16 %48 = tail call i32 @format_type_be(i32 noundef %47) #2 %49 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %48) #2 %50 = tail call i32 @ereport(i32 noundef %44, i32 noundef %49) #2 br label %51 51: ; preds = %43, %33 %52 = load i32, ptr %35, align 4, !tbaa !22 %53 = load ptr, ptr %18, align 8, !tbaa !23 %54 = getelementptr inbounds i32, ptr %53, i64 %23 %55 = load i32, ptr %54, align 4, !tbaa !18 %56 = load ptr, ptr %19, align 8, !tbaa !23 %57 = getelementptr inbounds i32, ptr %56, i64 %23 %58 = load i32, ptr %57, align 4, !tbaa !18 %59 = tail call i32 @FunctionCall2Coll(ptr noundef nonnull %39, i32 noundef %52, i32 noundef %55, i32 noundef %58) #2 %60 = tail call i32 @DatumGetBool(i32 noundef %59) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %71, label %62 62: ; preds = %51 %63 = load ptr, ptr %3, align 8, !tbaa !5 %64 = load i32, ptr %63, align 4, !tbaa !10 br label %65 65: ; preds = %62, %31 %66 = phi i32 [ %64, %62 ], [ %21, %31 ] %67 = phi ptr [ %63, %62 ], [ %22, %31 ] %68 = add nuw nsw i64 %23, 1 %69 = sext i32 %66 to i64 %70 = icmp slt i64 %68, %69 br i1 %70, label %20, label %71, !llvm.loop !24 71: ; preds = %65, %20, %51, %2 %72 = phi i32 [ 1, %2 ], [ 0, %51 ], [ 0, %20 ], [ 1, %65 ] ret i32 %72 } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @slot_getallattrs(ptr noundef) local_unnamed_addr #1 declare ptr @TupleDescAttr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lookup_type_cache(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @format_type_be(i32 noundef) local_unnamed_addr #1 declare i32 @DatumGetBool(i32 noundef) local_unnamed_addr #1 declare i32 @FunctionCall2Coll(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_13__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_15__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !12, i64 4} !17 = !{!"TYPE_14__", !12, i64 0, !12, i64 4} !18 = !{!12, !12, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_12__", !21, i64 0} !21 = !{!"TYPE_11__", !12, i64 0} !22 = !{!17, !12, i64 0} !23 = !{!6, !7, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execReplication.c_tuples_equal.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_execReplication.c_tuples_equal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TYPECACHE_EQ_OPR_FINFO = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_FUNCTION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"could not identify an equality operator for type %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tuples_equal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @tuples_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = icmp eq i32 %5, %8 %10 = zext i1 %9 to i32 %11 = tail call i32 @Assert(i32 noundef %10) #2 %12 = tail call i32 @slot_getallattrs(ptr noundef %0) #2 %13 = tail call i32 @slot_getallattrs(ptr noundef %1) #2 %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = load i32, ptr %14, align 4, !tbaa !11 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %71 17: ; preds = %2 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = getelementptr inbounds i8, ptr %1, i64 8 br label %20 20: ; preds = %17, %65 %21 = phi i32 [ %15, %17 ], [ %66, %65 ] %22 = phi ptr [ %14, %17 ], [ %67, %65 ] %23 = phi i64 [ 0, %17 ], [ %68, %65 ] %24 = load ptr, ptr %0, align 8, !tbaa !14 %25 = getelementptr inbounds i64, ptr %24, i64 %23 %26 = load i64, ptr %25, align 8, !tbaa !15 %27 = load ptr, ptr %1, align 8, !tbaa !14 %28 = getelementptr inbounds i64, ptr %27, i64 %23 %29 = load i64, ptr %28, align 8, !tbaa !15 %30 = icmp eq i64 %26, %29 br i1 %30, label %31, label %71 31: ; preds = %20 %32 = icmp eq i64 %26, 0 br i1 %32, label %33, label %65 33: ; preds = %31 %34 = trunc nuw nsw i64 %23 to i32 %35 = tail call ptr @TupleDescAttr(ptr noundef nonnull %22, i32 noundef %34) #2 %36 = getelementptr inbounds i8, ptr %35, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !17 %38 = load i32, ptr @TYPECACHE_EQ_OPR_FINFO, align 4, !tbaa !19 %39 = tail call ptr @lookup_type_cache(i32 noundef %37, i32 noundef %38) #2 %40 = load i32, ptr %39, align 4, !tbaa !20 %41 = tail call i32 @OidIsValid(i32 noundef %40) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %33 %44 = load i32, ptr @ERROR, align 4, !tbaa !19 %45 = load i32, ptr @ERRCODE_UNDEFINED_FUNCTION, align 4, !tbaa !19 %46 = tail call i32 @errcode(i32 noundef %45) #2 %47 = load i32, ptr %36, align 4, !tbaa !17 %48 = tail call i32 @format_type_be(i32 noundef %47) #2 %49 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %48) #2 %50 = tail call i32 @ereport(i32 noundef %44, i32 noundef %49) #2 br label %51 51: ; preds = %43, %33 %52 = load i32, ptr %35, align 4, !tbaa !23 %53 = load ptr, ptr %18, align 8, !tbaa !24 %54 = getelementptr inbounds i32, ptr %53, i64 %23 %55 = load i32, ptr %54, align 4, !tbaa !19 %56 = load ptr, ptr %19, align 8, !tbaa !24 %57 = getelementptr inbounds i32, ptr %56, i64 %23 %58 = load i32, ptr %57, align 4, !tbaa !19 %59 = tail call i32 @FunctionCall2Coll(ptr noundef nonnull %39, i32 noundef %52, i32 noundef %55, i32 noundef %58) #2 %60 = tail call i32 @DatumGetBool(i32 noundef %59) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %71, label %62 62: ; preds = %51 %63 = load ptr, ptr %3, align 8, !tbaa !6 %64 = load i32, ptr %63, align 4, !tbaa !11 br label %65 65: ; preds = %62, %31 %66 = phi i32 [ %64, %62 ], [ %21, %31 ] %67 = phi ptr [ %63, %62 ], [ %22, %31 ] %68 = add nuw nsw i64 %23, 1 %69 = sext i32 %66 to i64 %70 = icmp slt i64 %68, %69 br i1 %70, label %20, label %71, !llvm.loop !25 71: ; preds = %65, %20, %51, %2 %72 = phi i32 [ 1, %2 ], [ 0, %51 ], [ 0, %20 ], [ 1, %65 ] ret i32 %72 } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @slot_getallattrs(ptr noundef) local_unnamed_addr #1 declare ptr @TupleDescAttr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lookup_type_cache(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @format_type_be(i32 noundef) local_unnamed_addr #1 declare i32 @DatumGetBool(i32 noundef) local_unnamed_addr #1 declare i32 @FunctionCall2Coll(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_13__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_15__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !13, i64 4} !18 = !{!"TYPE_14__", !13, i64 0, !13, i64 4} !19 = !{!13, !13, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_12__", !22, i64 0} !22 = !{!"TYPE_11__", !13, i64 0} !23 = !{!18, !13, i64 0} !24 = !{!7, !8, i64 8} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_executor_extr_execReplication.c_tuples_equal
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_set_writeb_func.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_set_writeb_func.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @q68_set_writeb_func(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_set_writeb_func.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_set_writeb_func.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @q68_set_writeb_func(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Yabause_yabause_src_q68_extr_q68.c_q68_set_writeb_func
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_mips_ecoff_swap_filehdr_in.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_mips_ecoff_swap_filehdr_in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.internal_filehdr = type { ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @coff_swap_filehdr_in], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @coff_swap_filehdr_in(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 7 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %5) #2 %7 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 7 store ptr %6, ptr %7, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 6 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %9) #2 %11 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 6 store ptr %10, ptr %11, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 5 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = tail call ptr @H_GET_32(ptr noundef %0, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 5 store ptr %14, ptr %15, align 8, !tbaa !16 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 4 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = tail call i32 @GET_FILEHDR_SYMPTR(ptr noundef %0, i32 noundef %17) #2 %19 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 4 store i32 %18, ptr %19, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 3 %21 = load i32, ptr %20, align 4, !tbaa !19 %22 = tail call ptr @H_GET_32(ptr noundef %0, i32 noundef %21) #2 %23 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 3 store ptr %22, ptr %23, align 8, !tbaa !20 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !21 %26 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %25) #2 %27 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 2 store ptr %26, ptr %27, align 8, !tbaa !22 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !23 %30 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %29) #2 %31 = getelementptr inbounds %struct.internal_filehdr, ptr %2, i64 0, i32 1 store ptr %30, ptr %31, align 8, !tbaa !24 ret void } declare ptr @H_GET_16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @H_GET_32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_FILEHDR_SYMPTR(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 28} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 56} !11 = !{!"internal_filehdr", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 48, !12, i64 56} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 24} !14 = !{!11, !12, i64 48} !15 = !{!6, !7, i64 20} !16 = !{!11, !12, i64 40} !17 = !{!6, !7, i64 16} !18 = !{!11, !7, i64 32} !19 = !{!6, !7, i64 12} !20 = !{!11, !12, i64 24} !21 = !{!6, !7, i64 8} !22 = !{!11, !12, i64 16} !23 = !{!6, !7, i64 4} !24 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_mips_ecoff_swap_filehdr_in.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_coffswap.h_mips_ecoff_swap_filehdr_in.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @coff_swap_filehdr_in], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @coff_swap_filehdr_in(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 28 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %2, i64 56 store ptr %6, ptr %7, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %1, i64 24 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %2, i64 48 store ptr %10, ptr %11, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %1, i64 20 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = tail call ptr @H_GET_32(ptr noundef %0, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %14, ptr %15, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %1, i64 16 %17 = load i32, ptr %16, align 4, !tbaa !18 %18 = tail call i32 @GET_FILEHDR_SYMPTR(ptr noundef %0, i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %2, i64 32 store i32 %18, ptr %19, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %1, i64 12 %21 = load i32, ptr %20, align 4, !tbaa !20 %22 = tail call ptr @H_GET_32(ptr noundef %0, i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %22, ptr %23, align 8, !tbaa !21 %24 = getelementptr inbounds i8, ptr %1, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !22 %26 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %26, ptr %27, align 8, !tbaa !23 %28 = getelementptr inbounds i8, ptr %1, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !24 %30 = tail call ptr @H_GET_16(ptr noundef %0, i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %30, ptr %31, align 8, !tbaa !25 ret void } declare ptr @H_GET_16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @H_GET_32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_FILEHDR_SYMPTR(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 28} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 56} !12 = !{!"internal_filehdr", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !8, i64 32, !13, i64 40, !13, i64 48, !13, i64 56} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 24} !15 = !{!12, !13, i64 48} !16 = !{!7, !8, i64 20} !17 = !{!12, !13, i64 40} !18 = !{!7, !8, i64 16} !19 = !{!12, !8, i64 32} !20 = !{!7, !8, i64 12} !21 = !{!12, !13, i64 24} !22 = !{!7, !8, i64 8} !23 = !{!12, !13, i64 16} !24 = !{!7, !8, i64 4} !25 = !{!12, !13, i64 8}
freebsd_contrib_binutils_bfd_extr_coffswap.h_mips_ecoff_swap_filehdr_in
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_file.c_openfile.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_file.c_openfile.c" target datalayout = "e-m:e-p270:32:32-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 [2 x i8] c"-\00", align 1 @stdin = dso_local local_unnamed_addr global ptr null, align 8 @stdout = dso_local local_unnamed_addr global ptr null, align 8 @S_IWGRP = dso_local local_unnamed_addr global i32 0, align 4 @S_IWOTH = dso_local local_unnamed_addr global i32 0, align 4 @S_IRGRP = dso_local local_unnamed_addr global i32 0, align 4 @S_IROTH = dso_local local_unnamed_addr global i32 0, align 4 @compress_program = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"cat %s | %s -d\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s > %s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @openfile(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %2 %6 = icmp eq ptr %1, null br i1 %6, label %10, label %7 7: ; preds = %5 %8 = load i8, ptr %1, align 1, !tbaa !5 %9 = icmp eq i8 %8, 114 br i1 %9, label %11, label %10 10: ; preds = %7, %5 br label %11 11: ; preds = %7, %10 %12 = phi ptr [ @stdout, %10 ], [ @stdin, %7 ] %13 = load ptr, ptr %12, align 8, !tbaa !8 br label %73 14: ; preds = %2 %15 = tail call i32 @file_is_tmp(ptr noundef %0) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %59, label %17 17: ; preds = %14 %18 = load i8, ptr %1, align 1, !tbaa !5 %19 = icmp eq i8 %18, 119 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load i32, ptr @S_IWGRP, align 4, !tbaa !10 %22 = load i32, ptr @S_IWOTH, align 4, !tbaa !10 %23 = or i32 %22, %21 %24 = load i32, ptr @S_IRGRP, align 4, !tbaa !10 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IROTH, align 4, !tbaa !10 %27 = or i32 %25, %26 %28 = tail call i32 @umask(i32 noundef %27) #3 br label %29 29: ; preds = %20, %17 %30 = phi i32 [ %28, %20 ], [ 0, %17 ] %31 = load ptr, ptr @compress_program, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %59, label %33 33: ; preds = %29 %34 = tail call i32 @strlen(ptr noundef %0) #3 %35 = add nsw i32 %34, 128 %36 = sext i32 %35 to i64 %37 = tail call ptr @sort_malloc(i64 noundef %36) #3 %38 = load ptr, ptr @stdout, align 8, !tbaa !8 %39 = tail call i32 @fflush(ptr noundef %38) %40 = load i8, ptr %1, align 1, !tbaa !5 switch i8 %40, label %49 [ i8 114, label %41 i8 119, label %45 ] 41: ; preds = %33 %42 = add nsw i64 %36, -1 %43 = load ptr, ptr @compress_program, align 8, !tbaa !8 %44 = tail call i32 @snprintf(ptr noundef %37, i64 noundef %42, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef %43) #3 br label %52 45: ; preds = %33 %46 = add nsw i64 %36, -1 %47 = load ptr, ptr @compress_program, align 8, !tbaa !8 %48 = tail call i32 @snprintf(ptr noundef %37, i64 noundef %46, ptr noundef nonnull @.str.2, ptr noundef %47, ptr noundef %0) #3 br label %52 49: ; preds = %33 %50 = tail call i32 @getstr(i32 noundef 7) #3 %51 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef %50) #3 br label %52 52: ; preds = %45, %49, %41 %53 = tail call ptr @popen(ptr noundef %37, ptr noundef nonnull %1) %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %52 %56 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef null) #3 br label %57 57: ; preds = %52, %55 %58 = tail call i32 @sort_free(ptr noundef %37) #3 br label %66 59: ; preds = %14, %29 %60 = phi i32 [ %30, %29 ], [ 0, %14 ] %61 = tail call ptr @fopen(ptr noundef %0, ptr noundef %1) %62 = icmp eq ptr %61, null br i1 %62, label %63, label %65 63: ; preds = %59 %64 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef null) #3 br label %65 65: ; preds = %59, %63 br i1 %16, label %73, label %66 66: ; preds = %57, %65 %67 = phi ptr [ %53, %57 ], [ %61, %65 ] %68 = phi i32 [ %30, %57 ], [ %60, %65 ] %69 = load i8, ptr %1, align 1, !tbaa !5 %70 = icmp eq i8 %69, 119 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = tail call i32 @umask(i32 noundef %68) #3 br label %73 73: ; preds = %65, %66, %71, %11 %74 = phi ptr [ %13, %11 ], [ %67, %71 ], [ %67, %66 ], [ %61, %65 ] ret ptr %74 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @file_is_tmp(ptr noundef) local_unnamed_addr #1 declare i32 @umask(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @sort_malloc(i64 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @getstr(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @popen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @sort_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_file.c_openfile.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_file.c_openfile.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 [2 x i8] c"-\00", align 1 @stdin = common local_unnamed_addr global ptr null, align 8 @stdout = common local_unnamed_addr global ptr null, align 8 @S_IWGRP = common local_unnamed_addr global i32 0, align 4 @S_IWOTH = common local_unnamed_addr global i32 0, align 4 @S_IRGRP = common local_unnamed_addr global i32 0, align 4 @S_IROTH = common local_unnamed_addr global i32 0, align 4 @compress_program = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"cat %s | %s -d\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s > %s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @openfile(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %2 %6 = icmp eq ptr %1, null br i1 %6, label %10, label %7 7: ; preds = %5 %8 = load i8, ptr %1, align 1, !tbaa !6 %9 = icmp eq i8 %8, 114 br i1 %9, label %11, label %10 10: ; preds = %7, %5 br label %11 11: ; preds = %7, %10 %12 = phi ptr [ @stdout, %10 ], [ @stdin, %7 ] %13 = load ptr, ptr %12, align 8, !tbaa !9 br label %73 14: ; preds = %2 %15 = tail call i32 @file_is_tmp(ptr noundef %0) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %59, label %17 17: ; preds = %14 %18 = load i8, ptr %1, align 1, !tbaa !6 %19 = icmp eq i8 %18, 119 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load i32, ptr @S_IWGRP, align 4, !tbaa !11 %22 = load i32, ptr @S_IWOTH, align 4, !tbaa !11 %23 = or i32 %22, %21 %24 = load i32, ptr @S_IRGRP, align 4, !tbaa !11 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IROTH, align 4, !tbaa !11 %27 = or i32 %25, %26 %28 = tail call i32 @umask(i32 noundef %27) #3 br label %29 29: ; preds = %20, %17 %30 = phi i32 [ %28, %20 ], [ 0, %17 ] %31 = load ptr, ptr @compress_program, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %59, label %33 33: ; preds = %29 %34 = tail call i32 @strlen(ptr noundef %0) #3 %35 = add nsw i32 %34, 128 %36 = sext i32 %35 to i64 %37 = tail call ptr @sort_malloc(i64 noundef %36) #3 %38 = load ptr, ptr @stdout, align 8, !tbaa !9 %39 = tail call i32 @fflush(ptr noundef %38) %40 = load i8, ptr %1, align 1, !tbaa !6 switch i8 %40, label %49 [ i8 114, label %41 i8 119, label %45 ] 41: ; preds = %33 %42 = add nsw i64 %36, -1 %43 = load ptr, ptr @compress_program, align 8, !tbaa !9 %44 = tail call i32 @snprintf(ptr noundef %37, i64 noundef %42, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef %43) #3 br label %52 45: ; preds = %33 %46 = add nsw i64 %36, -1 %47 = load ptr, ptr @compress_program, align 8, !tbaa !9 %48 = tail call i32 @snprintf(ptr noundef %37, i64 noundef %46, ptr noundef nonnull @.str.2, ptr noundef %47, ptr noundef %0) #3 br label %52 49: ; preds = %33 %50 = tail call i32 @getstr(i32 noundef 7) #3 %51 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef %50) #3 br label %52 52: ; preds = %45, %49, %41 %53 = tail call ptr @popen(ptr noundef %37, ptr noundef nonnull %1) %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %52 %56 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef null) #3 br label %57 57: ; preds = %52, %55 %58 = tail call i32 @sort_free(ptr noundef %37) #3 br label %66 59: ; preds = %14, %29 %60 = phi i32 [ %30, %29 ], [ 0, %14 ] %61 = tail call ptr @fopen(ptr noundef %0, ptr noundef %1) %62 = icmp eq ptr %61, null br i1 %62, label %63, label %65 63: ; preds = %59 %64 = tail call i32 (i32, ptr, ...) @err(i32 noundef 2, ptr noundef null) #3 br label %65 65: ; preds = %59, %63 br i1 %16, label %73, label %66 66: ; preds = %57, %65 %67 = phi ptr [ %53, %57 ], [ %61, %65 ] %68 = phi i32 [ %30, %57 ], [ %60, %65 ] %69 = load i8, ptr %1, align 1, !tbaa !6 %70 = icmp eq i8 %69, 119 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = tail call i32 @umask(i32 noundef %68) #3 br label %73 73: ; preds = %65, %66, %71, %11 %74 = phi ptr [ %13, %11 ], [ %67, %71 ], [ %67, %66 ], [ %61, %65 ] ret ptr %74 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @file_is_tmp(ptr noundef) local_unnamed_addr #1 declare i32 @umask(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @sort_malloc(i64 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @getstr(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @popen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @sort_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
freebsd_usr.bin_sort_extr_file.c_openfile
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_core.c_sn9c102_set_scale.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_core.c_sn9c102_set_scale.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Scaling factor: %u\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sn9c102_set_scale], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sn9c102_set_scale(ptr noundef %0, i32 noundef %1) #0 { switch i32 %1, label %19 [ i32 1, label %3 i32 2, label %8 i32 4, label %14 ] 3: ; preds = %2 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds i32, ptr %4, i64 24 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = and i32 %6, 207 br label %19 8: ; preds = %2 %9 = load ptr, ptr %0, align 8, !tbaa !5 %10 = getelementptr inbounds i32, ptr %9, i64 24 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = and i32 %11, 207 %13 = or disjoint i32 %12, 16 br label %19 14: ; preds = %2 %15 = load ptr, ptr %0, align 8, !tbaa !5 %16 = getelementptr inbounds i32, ptr %15, i64 24 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = or i32 %17, 32 br label %19 19: ; preds = %2, %8, %14, %3 %20 = phi i32 [ %7, %3 ], [ %13, %8 ], [ %18, %14 ], [ 0, %2 ] %21 = tail call i64 @sn9c102_write_reg(ptr noundef %0, i32 noundef %20, i32 noundef 24) #2 %22 = and i64 %21, 4294967295 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %19 %25 = load i32, ptr @EIO, align 4, !tbaa !10 %26 = sub nsw i32 0, %25 br label %29 27: ; preds = %19 %28 = tail call i32 @PDBGG(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %29 29: ; preds = %27, %24 %30 = phi i32 [ %26, %24 ], [ 0, %27 ] ret i32 %30 } declare i64 @sn9c102_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDBGG(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 = !{!"sn9c102_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_core.c_sn9c102_set_scale.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_core.c_sn9c102_set_scale.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Scaling factor: %u\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sn9c102_set_scale], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @sn9c102_set_scale(ptr noundef %0, i32 noundef %1) #0 { switch i32 %1, label %19 [ i32 1, label %3 i32 2, label %8 i32 4, label %14 ] 3: ; preds = %2 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 96 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = and i32 %6, 207 br label %19 8: ; preds = %2 %9 = load ptr, ptr %0, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %9, i64 96 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = and i32 %11, 207 %13 = or disjoint i32 %12, 16 br label %19 14: ; preds = %2 %15 = load ptr, ptr %0, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %15, i64 96 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = or i32 %17, 32 br label %19 19: ; preds = %2, %8, %14, %3 %20 = phi i32 [ %7, %3 ], [ %13, %8 ], [ %18, %14 ], [ 0, %2 ] %21 = tail call i64 @sn9c102_write_reg(ptr noundef %0, i32 noundef %20, i32 noundef 24) #2 %22 = and i64 %21, 4294967295 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %19 %25 = load i32, ptr @EIO, align 4, !tbaa !11 %26 = sub nsw i32 0, %25 br label %29 27: ; preds = %19 %28 = tail call i32 @PDBGG(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %29 29: ; preds = %27, %24 %30 = phi i32 [ %26, %24 ], [ 0, %27 ] ret i32 %30 } declare i64 @sn9c102_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDBGG(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 = !{!"sn9c102_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_media_video_sn9c102_extr_sn9c102_core.c_sn9c102_set_scale
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_locksetup_user_restore.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_locksetup_user_restore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"tasks\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"cpus\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"cpus_list\00", align 1 @rdt_mon_capable = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [11 x i8] c"mon_groups\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rdtgroup_locksetup_user_restore], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rdtgroup_locksetup_user_restore(ptr noundef %0) #0 { %2 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 511) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %24 4: ; preds = %1 %5 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 511) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 511) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i64, ptr @rdt_mon_capable, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %10 %14 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 511) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %13 %17 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %18 18: ; preds = %7, %16 %19 = phi i32 [ %8, %7 ], [ %14, %16 ] %20 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %4, %18 %22 = phi i32 [ %5, %4 ], [ %19, %18 ] %23 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %24 24: ; preds = %21, %13, %10, %1 %25 = phi i32 [ %2, %1 ], [ %22, %21 ], [ 0, %13 ], [ 0, %10 ] ret i32 %25 } declare i32 @rdtgroup_kn_mode_restore(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rdtgroup_kn_mode_restrict(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_locksetup_user_restore.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_locksetup_user_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"tasks\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"cpus\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"cpus_list\00", align 1 @rdt_mon_capable = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [11 x i8] c"mon_groups\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rdtgroup_locksetup_user_restore], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rdtgroup_locksetup_user_restore(ptr noundef %0) #0 { %2 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 511) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %24 4: ; preds = %1 %5 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 511) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 511) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i64, ptr @rdt_mon_capable, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %10 %14 = tail call i32 @rdtgroup_kn_mode_restore(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 511) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %13 %17 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %18 18: ; preds = %7, %16 %19 = phi i32 [ %8, %7 ], [ %14, %16 ] %20 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %4, %18 %22 = phi i32 [ %5, %4 ], [ %19, %18 ] %23 = tail call i32 @rdtgroup_kn_mode_restrict(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %24 24: ; preds = %21, %13, %10, %1 %25 = phi i32 [ %2, %1 ], [ %22, %21 ], [ 0, %13 ], [ 0, %10 ] ret i32 %25 } declare i32 @rdtgroup_kn_mode_restore(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rdtgroup_kn_mode_restrict(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_x86_kernel_cpu_resctrl_extr_pseudo_lock.c_rdtgroup_locksetup_user_restore
; ModuleID = 'AnghaBench/nanomsg/src/utils/extr_sem.c_nn_sem_term.c' source_filename = "AnghaBench/nanomsg/src/utils/extr_sem.c_nn_sem_term.c" target datalayout = "e-m:e-p270:32:32-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.nn_sem = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @nn_sem_term(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.nn_sem, ptr %0, i64 0, i32 1 %3 = tail call i32 @pthread_cond_destroy(ptr noundef nonnull %2) #2 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @errnum_assert(i32 noundef %5, i32 noundef %3) #2 %7 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @errnum_assert(i32 noundef %9, i32 noundef %7) #2 ret void } declare i32 @pthread_cond_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @errnum_assert(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pthread_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)"}
; ModuleID = 'AnghaBench/nanomsg/src/utils/extr_sem.c_nn_sem_term.c' source_filename = "AnghaBench/nanomsg/src/utils/extr_sem.c_nn_sem_term.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 @nn_sem_term(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @pthread_cond_destroy(ptr noundef nonnull %2) #2 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @errnum_assert(i32 noundef %5, i32 noundef %3) #2 %7 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @errnum_assert(i32 noundef %9, i32 noundef %7) #2 ret void } declare i32 @pthread_cond_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @errnum_assert(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pthread_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)"}
nanomsg_src_utils_extr_sem.c_nn_sem_term
; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gistxlog.c_gistRedoClearFollowRight.c' source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gistxlog.c_gistRedoClearFollowRight.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BLK_NEEDS_REDO = dso_local local_unnamed_addr global i64 0, align 8 @BLK_RESTORED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gistRedoClearFollowRight], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gistRedoClearFollowRight(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load i32, ptr %0, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = call i64 @XLogReadBufferForRedo(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %3) #3 %6 = load i64, ptr @BLK_NEEDS_REDO, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr @BLK_RESTORED, align 8 %9 = icmp eq i64 %5, %8 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr %3, align 4, !tbaa !12 %13 = call i32 @BufferGetPage(i32 noundef %12) #3 %14 = call i32 @GistPageSetNSN(i32 noundef %13, i32 noundef %4) #3 %15 = call i32 @GistClearFollowRight(i32 noundef %13) #3 %16 = call i32 @PageSetLSN(i32 noundef %13, i32 noundef %4) #3 %17 = load i32, ptr %3, align 4, !tbaa !12 %18 = call i32 @MarkBufferDirty(i32 noundef %17) #3 br label %19 19: ; preds = %2, %11 %20 = load i32, ptr %3, align 4, !tbaa !12 %21 = call i64 @BufferIsValid(i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4, !tbaa !12 %25 = call i32 @UnlockReleaseBuffer(i32 noundef %24) #3 br label %26 26: ; preds = %23, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @XLogReadBufferForRedo(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BufferGetPage(i32 noundef) local_unnamed_addr #2 declare i32 @GistPageSetNSN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GistClearFollowRight(i32 noundef) local_unnamed_addr #2 declare i32 @PageSetLSN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MarkBufferDirty(i32 noundef) local_unnamed_addr #2 declare i64 @BufferIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @UnlockReleaseBuffer(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gistxlog.c_gistRedoClearFollowRight.c' source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gistxlog.c_gistRedoClearFollowRight.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLK_NEEDS_REDO = common local_unnamed_addr global i64 0, align 8 @BLK_RESTORED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @gistRedoClearFollowRight], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gistRedoClearFollowRight(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load i32, ptr %0, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = call i64 @XLogReadBufferForRedo(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %3) #3 %6 = load i64, ptr @BLK_NEEDS_REDO, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr @BLK_RESTORED, align 8 %9 = icmp eq i64 %5, %8 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr %3, align 4, !tbaa !13 %13 = call i32 @BufferGetPage(i32 noundef %12) #3 %14 = call i32 @GistPageSetNSN(i32 noundef %13, i32 noundef %4) #3 %15 = call i32 @GistClearFollowRight(i32 noundef %13) #3 %16 = call i32 @PageSetLSN(i32 noundef %13, i32 noundef %4) #3 %17 = load i32, ptr %3, align 4, !tbaa !13 %18 = call i32 @MarkBufferDirty(i32 noundef %17) #3 br label %19 19: ; preds = %2, %11 %20 = load i32, ptr %3, align 4, !tbaa !13 %21 = call i64 @BufferIsValid(i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4, !tbaa !13 %25 = call i32 @UnlockReleaseBuffer(i32 noundef %24) #3 br label %26 26: ; preds = %23, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @XLogReadBufferForRedo(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BufferGetPage(i32 noundef) local_unnamed_addr #2 declare i32 @GistPageSetNSN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GistClearFollowRight(i32 noundef) local_unnamed_addr #2 declare i32 @PageSetLSN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MarkBufferDirty(i32 noundef) local_unnamed_addr #2 declare i64 @BufferIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @UnlockReleaseBuffer(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0}
postgres_src_backend_access_gist_extr_gistxlog.c_gistRedoClearFollowRight