IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/esp-idf/components/driver/esp32s2beta/extr_rtc_touchpad.c_touch_pad_get_fsm_mode.c' source_filename = "AnghaBench/esp-idf/components/driver/esp32s2beta/extr_rtc_touchpad.c_touch_pad_get_fsm_mode.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @RTCCNTL = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @touch_pad_get_fsm_mode(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @assert(i32 noundef %3) #2 %5 = load i32, ptr @RTCCNTL, align 4, !tbaa !5 store i32 %5, ptr %0, align 4, !tbaa !11 %6 = load i32, ptr @ESP_OK, align 4, !tbaa !11 ret i32 %6 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/driver/esp32s2beta/extr_rtc_touchpad.c_touch_pad_get_fsm_mode.c' source_filename = "AnghaBench/esp-idf/components/driver/esp32s2beta/extr_rtc_touchpad.c_touch_pad_get_fsm_mode.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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @RTCCNTL = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ESP_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @touch_pad_get_fsm_mode(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @assert(i32 noundef %3) #2 %5 = load i32, ptr @RTCCNTL, align 4, !tbaa !6 store i32 %5, ptr %0, align 4, !tbaa !12 %6 = load i32, ptr @ESP_OK, align 4, !tbaa !12 ret i32 %6 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
esp-idf_components_driver_esp32s2beta_extr_rtc_touchpad.c_touch_pad_get_fsm_mode
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_link_encoder.c_get_frontend_source.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_link_encoder.c_get_frontend_source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DCN10_DIG_FE_SOURCE_SELECT_DIGA = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGB = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGC = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGD = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGE = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGF = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGG = dso_local local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_frontend_source], section "llvm.metadata" @switch.table.get_frontend_source = private unnamed_addr constant [7 x ptr] [ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGG, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGF, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGE, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGD, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGC, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGB, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGA], align 8 ; Function Attrs: nounwind uwtable define internal i32 @get_frontend_source(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 7 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ASSERT_CRITICAL(i32 noundef 0) #2 br label %10 6: ; preds = %1 %7 = zext nneg i32 %2 to i64 %8 = getelementptr inbounds [7 x ptr], ptr @switch.table.get_frontend_source, i64 0, i64 %7 %9 = load ptr, ptr %8, align 8 br label %10 10: ; preds = %6, %4 %11 = phi ptr [ @DCN10_DIG_FE_SOURCE_SELECT_INVALID, %4 ], [ %9, %6 ] %12 = load i32, ptr %11, align 4, !tbaa !5 ret i32 %12 } declare i32 @ASSERT_CRITICAL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_link_encoder.c_get_frontend_source.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_link_encoder.c_get_frontend_source.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DCN10_DIG_FE_SOURCE_SELECT_DIGA = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGB = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGC = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGD = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGE = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGF = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_DIGG = common local_unnamed_addr global i32 0, align 4 @DCN10_DIG_FE_SOURCE_SELECT_INVALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_frontend_source], section "llvm.metadata" @switch.table.get_frontend_source = private unnamed_addr constant [7 x ptr] [ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGG, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGF, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGE, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGD, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGC, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGB, ptr @DCN10_DIG_FE_SOURCE_SELECT_DIGA], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_frontend_source(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 7 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ASSERT_CRITICAL(i32 noundef 0) #2 br label %10 6: ; preds = %1 %7 = zext nneg i32 %2 to i64 %8 = getelementptr inbounds [7 x ptr], ptr @switch.table.get_frontend_source, i64 0, i64 %7 %9 = load ptr, ptr %8, align 8 br label %10 10: ; preds = %6, %4 %11 = phi ptr [ @DCN10_DIG_FE_SOURCE_SELECT_INVALID, %4 ], [ %9, %6 ] %12 = load i32, ptr %11, align 4, !tbaa !6 ret i32 %12 } declare i32 @ASSERT_CRITICAL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_display_dc_dcn10_extr_dcn10_link_encoder.c_get_frontend_source
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ypldap/extr_log.c_fatal.c' source_filename = "AnghaBench/freebsd/usr.sbin/ypldap/extr_log.c_fatal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LOG_CRIT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"fatal: %s\00", align 1 @errno = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"fatal: %s: %s\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @fatal(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %3, label %8 3: ; preds = %1 %4 = load i32, ptr @LOG_CRIT, align 4, !tbaa !5 %5 = load i64, ptr @errno, align 8, !tbaa !9 %6 = tail call ptr @strerror(i64 noundef %5) #3 %7 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %6) #3 br label %17 8: ; preds = %1 %9 = load i64, ptr @errno, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @LOG_CRIT, align 4, !tbaa !5 br i1 %10, label %15, label %12 12: ; preds = %8 %13 = tail call ptr @strerror(i64 noundef %9) #3 %14 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %13) #3 br label %17 15: ; preds = %8 %16 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %0) #3 br label %17 17: ; preds = %12, %15, %3 %18 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @logit(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @strerror(i64 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) 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"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ypldap/extr_log.c_fatal.c' source_filename = "AnghaBench/freebsd/usr.sbin/ypldap/extr_log.c_fatal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOG_CRIT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"fatal: %s\00", align 1 @errno = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"fatal: %s: %s\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @fatal(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %3, label %8 3: ; preds = %1 %4 = load i32, ptr @LOG_CRIT, align 4, !tbaa !6 %5 = load i64, ptr @errno, align 8, !tbaa !10 %6 = tail call ptr @strerror(i64 noundef %5) #3 %7 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %6) #3 br label %17 8: ; preds = %1 %9 = load i64, ptr @errno, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @LOG_CRIT, align 4, !tbaa !6 br i1 %10, label %15, label %12 12: ; preds = %8 %13 = tail call ptr @strerror(i64 noundef %9) #3 %14 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %13) #3 br label %17 15: ; preds = %8 %16 = tail call i32 (i32, ptr, ptr, ...) @logit(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %0) #3 br label %17 17: ; preds = %12, %15, %3 %18 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @logit(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @strerror(i64 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) 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"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_usr.sbin_ypldap_extr_log.c_fatal
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_get_sub_source.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_get_sub_source.c" target datalayout = "e-m:e-p270:32:32-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"Import\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Format\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"SSA\00", align 1 @IMPORTSSA = dso_local local_unnamed_addr global i32 0, align 4 @IMPORTSRT = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"title\00", align 1 @VOBSUB = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"Track\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_sub_source], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_sub_source(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @ghb_dict_get(ptr noundef %1, ptr noundef nonnull @.str) #3 %4 = icmp eq ptr %3, null br i1 %4, label %12, label %5 5: ; preds = %2 %6 = tail call ptr @ghb_dict_get_string(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #3 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %5 %9 = tail call i32 @strcasecmp(ptr noundef nonnull %6, ptr noundef nonnull @.str.2) %10 = icmp eq i32 %9, 0 br i1 %10, label %25, label %11 11: ; preds = %8, %5 br label %25 12: ; preds = %2 %13 = tail call i32 @ghb_dict_get_int(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %14 = tail call ptr @ghb_lookup_title(i32 noundef %13, ptr noundef null) #3 %15 = icmp eq ptr %14, null br i1 %15, label %25, label %16 16: ; preds = %12 %17 = tail call ptr @ghb_dict_get(ptr noundef %1, ptr noundef nonnull @.str.4) #3 %18 = icmp eq ptr %17, null br i1 %18, label %25, label %19 19: ; preds = %16 %20 = tail call i32 @ghb_dict_get_int(ptr noundef %1, ptr noundef nonnull @.str.4) #3 %21 = load i32, ptr %14, align 4, !tbaa !5 %22 = tail call ptr @hb_list_item(i32 noundef %21, i32 noundef %20) #3 %23 = icmp eq ptr %22, null %24 = select i1 %23, ptr @VOBSUB, ptr %22 br label %25 25: ; preds = %12, %16, %19, %11, %8 %26 = phi ptr [ @IMPORTSRT, %11 ], [ @IMPORTSSA, %8 ], [ @VOBSUB, %12 ], [ %24, %19 ], [ @VOBSUB, %16 ] %27 = load i32, ptr %26, align 4, !tbaa !10 ret i32 %27 } declare ptr @ghb_dict_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ghb_dict_get_string(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @ghb_dict_get_int(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ghb_lookup_title(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @hb_list_item(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 = { 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_get_sub_source.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_subtitlehandler.c_get_sub_source.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"Import\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Format\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"SSA\00", align 1 @IMPORTSSA = common local_unnamed_addr global i32 0, align 4 @IMPORTSRT = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"title\00", align 1 @VOBSUB = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"Track\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_sub_source], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_sub_source(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @ghb_dict_get(ptr noundef %1, ptr noundef nonnull @.str) #3 %4 = icmp eq ptr %3, null br i1 %4, label %12, label %5 5: ; preds = %2 %6 = tail call ptr @ghb_dict_get_string(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #3 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %5 %9 = tail call i32 @strcasecmp(ptr noundef nonnull %6, ptr noundef nonnull @.str.2) %10 = icmp eq i32 %9, 0 br i1 %10, label %25, label %11 11: ; preds = %8, %5 br label %25 12: ; preds = %2 %13 = tail call i32 @ghb_dict_get_int(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %14 = tail call ptr @ghb_lookup_title(i32 noundef %13, ptr noundef null) #3 %15 = icmp eq ptr %14, null br i1 %15, label %25, label %16 16: ; preds = %12 %17 = tail call ptr @ghb_dict_get(ptr noundef %1, ptr noundef nonnull @.str.4) #3 %18 = icmp eq ptr %17, null br i1 %18, label %25, label %19 19: ; preds = %16 %20 = tail call i32 @ghb_dict_get_int(ptr noundef %1, ptr noundef nonnull @.str.4) #3 %21 = load i32, ptr %14, align 4, !tbaa !6 %22 = tail call ptr @hb_list_item(i32 noundef %21, i32 noundef %20) #3 %23 = icmp eq ptr %22, null %24 = select i1 %23, ptr @VOBSUB, ptr %22 br label %25 25: ; preds = %12, %16, %19, %11, %8 %26 = phi ptr [ @IMPORTSRT, %11 ], [ @IMPORTSSA, %8 ], [ @VOBSUB, %12 ], [ %24, %19 ], [ @VOBSUB, %16 ] %27 = load i32, ptr %26, align 4, !tbaa !11 ret i32 %27 } declare ptr @ghb_dict_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ghb_dict_get_string(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @ghb_dict_get_int(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ghb_lookup_title(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @hb_list_item(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 = { 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
HandBrake_gtk_src_extr_subtitlehandler.c_get_sub_source
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vorbisdec.c_vorbis_parse_setup_hdr_tdtransforms.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vorbisdec.c_vorbis_parse_setup_hdr_tdtransforms.c" target datalayout = "e-m:e-p270:32:32-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 } @.str = private unnamed_addr constant [38 x i8] c" Vorbis time domain transform %u: %u\0A\00", align 1 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [45 x i8] c"Vorbis time domain transform data nonzero. \0A\00", align 1 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vorbis_parse_setup_hdr_tdtransforms], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vorbis_parse_setup_hdr_tdtransforms(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = tail call i32 @get_bits(ptr noundef nonnull %2, i32 noundef 6) #2 %4 = add nsw i32 %3, 1 %5 = icmp eq i32 %4, 0 br i1 %5, label %19, label %9 6: ; preds = %9 %7 = add nuw i32 %10, 1 %8 = icmp eq i32 %10, %3 br i1 %8, label %19, label %9, !llvm.loop !5 9: ; preds = %1, %6 %10 = phi i32 [ %7, %6 ], [ 0, %1 ] %11 = tail call i32 @get_bits(ptr noundef nonnull %2, i32 noundef 16) #2 %12 = tail call i32 @ff_dlog(ptr noundef null, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %11) #2 %13 = icmp eq i32 %11, 0 br i1 %13, label %6, label %14 14: ; preds = %9 %15 = load i32, ptr %0, align 4, !tbaa !7 %16 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %17 = tail call i32 @av_log(i32 noundef %15, i32 noundef %16, ptr noundef nonnull @.str.1) #2 %18 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %19 19: ; preds = %6, %1, %14 %20 = phi i32 [ %18, %14 ], [ 0, %1 ], [ 0, %6 ] ret i32 %20 } declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_dlog(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !9, i64 0} !8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vorbisdec.c_vorbis_parse_setup_hdr_tdtransforms.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vorbisdec.c_vorbis_parse_setup_hdr_tdtransforms.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 [38 x i8] c" Vorbis time domain transform %u: %u\0A\00", align 1 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [45 x i8] c"Vorbis time domain transform data nonzero. \0A\00", align 1 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vorbis_parse_setup_hdr_tdtransforms], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vorbis_parse_setup_hdr_tdtransforms(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @get_bits(ptr noundef nonnull %2, i32 noundef 6) #2 %4 = add nsw i32 %3, 1 %5 = icmp eq i32 %4, 0 br i1 %5, label %19, label %9 6: ; preds = %9 %7 = add nuw i32 %10, 1 %8 = icmp eq i32 %10, %3 br i1 %8, label %19, label %9, !llvm.loop !6 9: ; preds = %1, %6 %10 = phi i32 [ %7, %6 ], [ 0, %1 ] %11 = tail call i32 @get_bits(ptr noundef nonnull %2, i32 noundef 16) #2 %12 = tail call i32 @ff_dlog(ptr noundef null, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %11) #2 %13 = icmp eq i32 %11, 0 br i1 %13, label %6, label %14 14: ; preds = %9 %15 = load i32, ptr %0, align 4, !tbaa !8 %16 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %17 = tail call i32 @av_log(i32 noundef %15, i32 noundef %16, ptr noundef nonnull @.str.1) #2 %18 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %19 19: ; preds = %6, %1, %14 %20 = phi i32 [ %18, %14 ], [ 0, %1 ], [ 0, %6 ] ret i32 %20 } declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_dlog(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !10, i64 0} !9 = !{!"TYPE_3__", !10, i64 0, !10, i64 4} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!10, !10, i64 0}
FFmpeg_libavcodec_extr_vorbisdec.c_vorbis_parse_setup_hdr_tdtransforms
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_isl6423.c_isl6423_set_current.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_isl6423.c_isl6423_set_current.c" target datalayout = "e-m:e-p270:32:32-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.isl6423_dev = type { i32, ptr } %struct.isl6423_config = type { i32, i32 } @FE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"I/O error <%d>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @isl6423_set_current], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @isl6423_set_current(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.isl6423_dev, ptr %3, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load i32, ptr %6, align 4, !tbaa !15 switch i32 %7, label %18 [ i32 133, label %8 i32 132, label %10 i32 131, label %13 i32 130, label %16 ] 8: ; preds = %1 %9 = and i32 %4, -4 br label %18 10: ; preds = %1 %11 = and i32 %4, -4 %12 = or disjoint i32 %11, 1 br label %18 13: ; preds = %1 %14 = and i32 %4, -4 %15 = or disjoint i32 %14, 2 br label %18 16: ; preds = %1 %17 = or i32 %4, 3 br label %18 18: ; preds = %1, %16, %13, %10, %8 %19 = phi i32 [ %4, %1 ], [ %17, %16 ], [ %15, %13 ], [ %12, %10 ], [ %9, %8 ] %20 = tail call i32 @isl6423_write(ptr noundef nonnull %3, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %34, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.isl6423_config, ptr %6, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !17 switch i32 %24, label %29 [ i32 128, label %25 i32 129, label %27 ] 25: ; preds = %22 %26 = and i32 %19, -17 br label %29 27: ; preds = %22 %28 = or i32 %19, 16 br label %29 29: ; preds = %22, %27, %25 %30 = phi i32 [ %19, %22 ], [ %28, %27 ], [ %26, %25 ] %31 = tail call i32 @isl6423_write(ptr noundef nonnull %3, i32 noundef %30) #2 %32 = icmp slt i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %29 store i32 %30, ptr %3, align 8, !tbaa !10 br label %38 34: ; preds = %29, %18 %35 = phi i32 [ %20, %18 ], [ %31, %29 ] %36 = load i32, ptr @FE_ERROR, align 4, !tbaa !18 %37 = tail call i32 @dprintk(i32 noundef %36, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %35) #2 br label %38 38: ; preds = %34, %33 %39 = phi i32 [ %35, %34 ], [ 0, %33 ] ret i32 %39 } declare i32 @isl6423_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_frontend", !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 = !{!"isl6423_dev", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!16, !12, i64 0} !16 = !{!"isl6423_config", !12, i64 0, !12, i64 4} !17 = !{!16, !12, i64 4} !18 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_isl6423.c_isl6423_set_current.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_isl6423.c_isl6423_set_current.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FE_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"I/O error <%d>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @isl6423_set_current], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @isl6423_set_current(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !15 %7 = load i32, ptr %6, align 4, !tbaa !16 switch i32 %7, label %18 [ i32 133, label %8 i32 132, label %10 i32 131, label %13 i32 130, label %16 ] 8: ; preds = %1 %9 = and i32 %4, -4 br label %18 10: ; preds = %1 %11 = and i32 %4, -4 %12 = or disjoint i32 %11, 1 br label %18 13: ; preds = %1 %14 = and i32 %4, -4 %15 = or disjoint i32 %14, 2 br label %18 16: ; preds = %1 %17 = or i32 %4, 3 br label %18 18: ; preds = %1, %16, %13, %10, %8 %19 = phi i32 [ %4, %1 ], [ %17, %16 ], [ %15, %13 ], [ %12, %10 ], [ %9, %8 ] %20 = tail call i32 @isl6423_write(ptr noundef nonnull %3, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %34, label %22 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %6, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !18 switch i32 %24, label %29 [ i32 128, label %25 i32 129, label %27 ] 25: ; preds = %22 %26 = and i32 %19, -17 br label %29 27: ; preds = %22 %28 = or i32 %19, 16 br label %29 29: ; preds = %22, %27, %25 %30 = phi i32 [ %19, %22 ], [ %28, %27 ], [ %26, %25 ] %31 = tail call i32 @isl6423_write(ptr noundef nonnull %3, i32 noundef %30) #2 %32 = icmp slt i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %29 store i32 %30, ptr %3, align 8, !tbaa !11 br label %38 34: ; preds = %29, %18 %35 = phi i32 [ %20, %18 ], [ %31, %29 ] %36 = load i32, ptr @FE_ERROR, align 4, !tbaa !19 %37 = tail call i32 @dprintk(i32 noundef %36, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %35) #2 br label %38 38: ; preds = %34, %33 %39 = phi i32 [ %35, %34 ], [ 0, %33 ] ret i32 %39 } declare i32 @isl6423_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_frontend", !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 = !{!"isl6423_dev", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!12, !14, i64 8} !16 = !{!17, !13, i64 0} !17 = !{!"isl6423_config", !13, i64 0, !13, i64 4} !18 = !{!17, !13, i64 4} !19 = !{!13, !13, i64 0}
linux_drivers_media_dvb-frontends_extr_isl6423.c_isl6423_set_current
; ModuleID = 'AnghaBench/linux/sound/soc/tegra/extr_tegra20_ac97.c_tegra20_ac97_stop_playback.c' source_filename = "AnghaBench/linux/sound/soc/tegra/extr_tegra20_ac97.c_tegra20_ac97_stop_playback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TEGRA20_AC97_FIFO1_SCR = dso_local local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_FIFO_SCR_PB_QRT_MT_EN = dso_local local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_CTRL_PCM_DAC_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tegra20_ac97_stop_playback], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @tegra20_ac97_stop_playback(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @TEGRA20_AC97_FIFO1_SCR, align 4, !tbaa !10 %4 = load i32, ptr @TEGRA20_AC97_FIFO_SCR_PB_QRT_MT_EN, align 4, !tbaa !10 %5 = tail call i32 @regmap_update_bits(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @TEGRA20_AC97_CTRL, align 4, !tbaa !10 %8 = load i32, ptr @TEGRA20_AC97_CTRL_PCM_DAC_EN, align 4, !tbaa !10 %9 = tail call i32 @regmap_update_bits(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0) #2 ret void } declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tegra20_ac97", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/tegra/extr_tegra20_ac97.c_tegra20_ac97_stop_playback.c' source_filename = "AnghaBench/linux/sound/soc/tegra/extr_tegra20_ac97.c_tegra20_ac97_stop_playback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TEGRA20_AC97_FIFO1_SCR = common local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_FIFO_SCR_PB_QRT_MT_EN = common local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_CTRL = common local_unnamed_addr global i32 0, align 4 @TEGRA20_AC97_CTRL_PCM_DAC_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tegra20_ac97_stop_playback], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @tegra20_ac97_stop_playback(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @TEGRA20_AC97_FIFO1_SCR, align 4, !tbaa !11 %4 = load i32, ptr @TEGRA20_AC97_FIFO_SCR_PB_QRT_MT_EN, align 4, !tbaa !11 %5 = tail call i32 @regmap_update_bits(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @TEGRA20_AC97_CTRL, align 4, !tbaa !11 %8 = load i32, ptr @TEGRA20_AC97_CTRL_PCM_DAC_EN, align 4, !tbaa !11 %9 = tail call i32 @regmap_update_bits(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0) #2 ret void } declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tegra20_ac97", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_sound_soc_tegra_extr_tegra20_ac97.c_tegra20_ac97_stop_playback
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_netx-serial.c_netx_startup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_netx-serial.c_netx_startup.c" target datalayout = "e-m:e-p270:32:32-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.uart_port = type { i64, i32, i32 } @netx_int = dso_local local_unnamed_addr global i32 0, align 4 @DRIVER_NAME = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unable to grab irq%d\0A\00", align 1 @UART_LINE_CR = dso_local local_unnamed_addr global i64 0, align 8 @LINE_CR_FEN = dso_local local_unnamed_addr global i32 0, align 4 @CR_MSIE = dso_local local_unnamed_addr global i32 0, align 4 @CR_RIE = dso_local local_unnamed_addr global i32 0, align 4 @CR_TIE = dso_local local_unnamed_addr global i32 0, align 4 @CR_RTIE = dso_local local_unnamed_addr global i32 0, align 4 @CR_UART_EN = dso_local local_unnamed_addr global i32 0, align 4 @UART_CR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @netx_startup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @netx_startup(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @netx_int, align 4, !tbaa !11 %5 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !11 %6 = tail call i32 @request_irq(i32 noundef %3, i32 noundef %4, i32 noundef 0, i32 noundef %5, ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = load i32, ptr %2, align 8, !tbaa !5 %12 = tail call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11) #2 br label %37 13: ; preds = %1 %14 = load i64, ptr %0, align 8, !tbaa !13 %15 = load i64, ptr @UART_LINE_CR, align 8, !tbaa !14 %16 = add nsw i64 %15, %14 %17 = tail call i32 @readl(i64 noundef %16) #2 %18 = load i32, ptr @LINE_CR_FEN, align 4, !tbaa !11 %19 = or i32 %18, %17 %20 = load i64, ptr %0, align 8, !tbaa !13 %21 = load i64, ptr @UART_LINE_CR, align 8, !tbaa !14 %22 = add nsw i64 %21, %20 %23 = tail call i32 @writel(i32 noundef %19, i64 noundef %22) #2 %24 = load i32, ptr @CR_MSIE, align 4, !tbaa !11 %25 = load i32, ptr @CR_RIE, align 4, !tbaa !11 %26 = or i32 %25, %24 %27 = load i32, ptr @CR_TIE, align 4, !tbaa !11 %28 = or i32 %26, %27 %29 = load i32, ptr @CR_RTIE, align 4, !tbaa !11 %30 = or i32 %28, %29 %31 = load i32, ptr @CR_UART_EN, align 4, !tbaa !11 %32 = or i32 %30, %31 %33 = load i64, ptr %0, align 8, !tbaa !13 %34 = load i64, ptr @UART_CR, align 8, !tbaa !14 %35 = add nsw i64 %34, %33 %36 = tail call i32 @writel(i32 noundef %32, i64 noundef %35) #2 br label %37 37: ; preds = %13, %8 ret i32 %6 } declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"uart_port", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 12} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_netx-serial.c_netx_startup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_netx-serial.c_netx_startup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @netx_int = common local_unnamed_addr global i32 0, align 4 @DRIVER_NAME = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unable to grab irq%d\0A\00", align 1 @UART_LINE_CR = common local_unnamed_addr global i64 0, align 8 @LINE_CR_FEN = common local_unnamed_addr global i32 0, align 4 @CR_MSIE = common local_unnamed_addr global i32 0, align 4 @CR_RIE = common local_unnamed_addr global i32 0, align 4 @CR_TIE = common local_unnamed_addr global i32 0, align 4 @CR_RTIE = common local_unnamed_addr global i32 0, align 4 @CR_UART_EN = common local_unnamed_addr global i32 0, align 4 @UART_CR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @netx_startup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @netx_startup(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @netx_int, align 4, !tbaa !12 %5 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !12 %6 = tail call i32 @request_irq(i32 noundef %3, i32 noundef %4, i32 noundef 0, i32 noundef %5, ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = load i32, ptr %2, align 8, !tbaa !6 %12 = tail call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11) #2 br label %37 13: ; preds = %1 %14 = load i64, ptr %0, align 8, !tbaa !14 %15 = load i64, ptr @UART_LINE_CR, align 8, !tbaa !15 %16 = add nsw i64 %15, %14 %17 = tail call i32 @readl(i64 noundef %16) #2 %18 = load i32, ptr @LINE_CR_FEN, align 4, !tbaa !12 %19 = or i32 %18, %17 %20 = load i64, ptr %0, align 8, !tbaa !14 %21 = load i64, ptr @UART_LINE_CR, align 8, !tbaa !15 %22 = add nsw i64 %21, %20 %23 = tail call i32 @writel(i32 noundef %19, i64 noundef %22) #2 %24 = load i32, ptr @CR_MSIE, align 4, !tbaa !12 %25 = load i32, ptr @CR_RIE, align 4, !tbaa !12 %26 = or i32 %25, %24 %27 = load i32, ptr @CR_TIE, align 4, !tbaa !12 %28 = or i32 %26, %27 %29 = load i32, ptr @CR_RTIE, align 4, !tbaa !12 %30 = or i32 %28, %29 %31 = load i32, ptr @CR_UART_EN, align 4, !tbaa !12 %32 = or i32 %30, %31 %33 = load i64, ptr %0, align 8, !tbaa !14 %34 = load i64, ptr @UART_CR, align 8, !tbaa !15 %35 = add nsw i64 %34, %33 %36 = tail call i32 @writel(i32 noundef %32, i64 noundef %35) #2 br label %37 37: ; preds = %13, %8 ret i32 %6 } declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"uart_port", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 12} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_serial_extr_netx-serial.c_netx_startup
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_uri.c_h16tous.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_uri.c_h16tous.c" target datalayout = "e-m:e-p270:32:32-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 @h16tous], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @h16tous(i64 %0, ptr nocapture readonly %1) #0 { %3 = icmp eq i64 %0, 0 br i1 %3, label %15, label %4 4: ; preds = %2, %4 %5 = phi i32 [ %12, %4 ], [ 0, %2 ] %6 = phi i64 [ %13, %4 ], [ 0, %2 ] %7 = shl i32 %5, 4 %8 = getelementptr inbounds i32, ptr %1, i64 %6 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = tail call i64 @hex_to_int(i32 noundef %9) #2 %11 = trunc i64 %10 to i32 %12 = add i32 %7, %11 %13 = add nuw i64 %6, 1 %14 = icmp eq i64 %13, %0 br i1 %14, label %15, label %4, !llvm.loop !9 15: ; preds = %4, %2 %16 = phi i32 [ 0, %2 ], [ %12, %4 ] ret i32 %16 } declare i64 @hex_to_int(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/reactos/dll/win32/urlmon/extr_uri.c_h16tous.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_uri.c_h16tous.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 @h16tous], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @h16tous([2 x i64] %0) #0 { %2 = extractvalue [2 x i64] %0, 0 %3 = extractvalue [2 x i64] %0, 1 %4 = inttoptr i64 %3 to ptr %5 = icmp eq i64 %2, 0 br i1 %5, label %17, label %6 6: ; preds = %1, %6 %7 = phi i32 [ %14, %6 ], [ 0, %1 ] %8 = phi i64 [ %15, %6 ], [ 0, %1 ] %9 = shl i32 %7, 4 %10 = getelementptr inbounds i32, ptr %4, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = tail call i64 @hex_to_int(i32 noundef %11) #2 %13 = trunc i64 %12 to i32 %14 = add i32 %9, %13 %15 = add nuw i64 %8, 1 %16 = icmp eq i64 %15, %2 br i1 %16, label %17, label %6, !llvm.loop !10 17: ; preds = %6, %1 %18 = phi i32 [ 0, %1 ], [ %14, %6 ] ret i32 %18 } declare i64 @hex_to_int(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"}
reactos_dll_win32_urlmon_extr_uri.c_h16tous
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82541.c_e1000_power_down_phy_copper_82541.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82541.c_e1000_power_down_phy_copper_82541.c" target datalayout = "e-m:e-p270:32:32-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_MANC = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MANC_SMBUS_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_power_down_phy_copper_82541], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @e1000_power_down_phy_copper_82541(ptr noundef %0) #0 { %2 = load i32, ptr @E1000_MANC, align 4, !tbaa !5 %3 = tail call i32 @E1000_READ_REG(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @E1000_MANC_SMBUS_EN, align 4, !tbaa !5 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @e1000_power_down_phy_copper(ptr noundef %0) #2 br label %9 9: ; preds = %7, %1 ret void } declare i32 @E1000_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @e1000_power_down_phy_copper(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82541.c_e1000_power_down_phy_copper_82541.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82541.c_e1000_power_down_phy_copper_82541.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E1000_MANC = common local_unnamed_addr global i32 0, align 4 @E1000_MANC_SMBUS_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e1000_power_down_phy_copper_82541], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @e1000_power_down_phy_copper_82541(ptr noundef %0) #0 { %2 = load i32, ptr @E1000_MANC, align 4, !tbaa !6 %3 = tail call i32 @E1000_READ_REG(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @E1000_MANC_SMBUS_EN, align 4, !tbaa !6 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @e1000_power_down_phy_copper(ptr noundef %0) #2 br label %9 9: ; preds = %7, %1 ret void } declare i32 @E1000_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @e1000_power_down_phy_copper(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_e1000_extr_e1000_82541.c_e1000_power_down_phy_copper_82541
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/bestcomm/extr_fec.c_self_modified_drd.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/bestcomm/extr_fec.c_self_modified_drd.c" target datalayout = "e-m:e-p270:32:32-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 @self_modified_drd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal nonnull ptr @self_modified_drd(i32 noundef %0) #0 { %2 = tail call i32 @bcom_task_num_descs(i32 noundef %0) #2 %3 = tail call ptr @bcom_task_desc(i32 noundef %0) #2 %4 = sext i32 %2 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = getelementptr inbounds i32, ptr %5, i64 -1 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %23 8: ; preds = %1, %18 %9 = phi ptr [ %21, %18 ], [ %6, %1 ] %10 = phi i32 [ %20, %18 ], [ 0, %1 ] %11 = phi i32 [ %19, %18 ], [ 0, %1 ] %12 = load i32, ptr %9, align 4, !tbaa !5 %13 = tail call i64 @bcom_desc_is_drd(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %8 %16 = add nsw i32 %11, 1 %17 = icmp eq i32 %16, 3 br i1 %17, label %23, label %18 18: ; preds = %8, %15 %19 = phi i32 [ %16, %15 ], [ %11, %8 ] %20 = add nuw nsw i32 %10, 1 %21 = getelementptr inbounds i32, ptr %9, i64 -1 %22 = icmp eq i32 %20, %2 br i1 %22, label %23, label %8, !llvm.loop !9 23: ; preds = %18, %15, %1 %24 = phi ptr [ %6, %1 ], [ %9, %15 ], [ %21, %18 ] ret ptr %24 } declare i32 @bcom_task_num_descs(i32 noundef) local_unnamed_addr #1 declare ptr @bcom_task_desc(i32 noundef) local_unnamed_addr #1 declare i64 @bcom_desc_is_drd(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/fastsocket/kernel/arch/powerpc/sysdev/bestcomm/extr_fec.c_self_modified_drd.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/bestcomm/extr_fec.c_self_modified_drd.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 @self_modified_drd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal nonnull ptr @self_modified_drd(i32 noundef %0) #0 { %2 = tail call i32 @bcom_task_num_descs(i32 noundef %0) #2 %3 = tail call ptr @bcom_task_desc(i32 noundef %0) #2 %4 = sext i32 %2 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = getelementptr inbounds i8, ptr %5, i64 -4 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %23 8: ; preds = %1, %18 %9 = phi ptr [ %21, %18 ], [ %6, %1 ] %10 = phi i32 [ %20, %18 ], [ 0, %1 ] %11 = phi i32 [ %19, %18 ], [ 0, %1 ] %12 = load i32, ptr %9, align 4, !tbaa !6 %13 = tail call i64 @bcom_desc_is_drd(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %8 %16 = add nsw i32 %11, 1 %17 = icmp eq i32 %16, 3 br i1 %17, label %23, label %18 18: ; preds = %8, %15 %19 = phi i32 [ %16, %15 ], [ %11, %8 ] %20 = add nuw nsw i32 %10, 1 %21 = getelementptr inbounds i8, ptr %9, i64 -4 %22 = icmp eq i32 %20, %2 br i1 %22, label %23, label %8, !llvm.loop !10 23: ; preds = %18, %15, %1 %24 = phi ptr [ %6, %1 ], [ %9, %15 ], [ %21, %18 ] ret ptr %24 } declare i32 @bcom_task_num_descs(i32 noundef) local_unnamed_addr #1 declare ptr @bcom_task_desc(i32 noundef) local_unnamed_addr #1 declare i64 @bcom_desc_is_drd(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"}
fastsocket_kernel_arch_powerpc_sysdev_bestcomm_extr_fec.c_self_modified_drd
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc.h_lpfc_worker_wake_up.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc.h_lpfc_worker_wake_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.lpfc_hba = type { i32, i32 } @LPFC_DATA_READY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_worker_wake_up], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @lpfc_worker_wake_up(ptr noundef %0) #0 { %2 = load i32, ptr @LPFC_DATA_READY, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 %4 = tail call i32 @set_bit(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = tail call i32 @wake_up(ptr noundef %0) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc.h_lpfc_worker_wake_up.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc.h_lpfc_worker_wake_up.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPFC_DATA_READY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpfc_worker_wake_up], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @lpfc_worker_wake_up(ptr noundef %0) #0 { %2 = load i32, ptr @LPFC_DATA_READY, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @set_bit(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = tail call i32 @wake_up(ptr noundef %0) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_lpfc_extr_lpfc.h_lpfc_worker_wake_up
; ModuleID = 'AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outNextValueExpr.c' source_filename = "AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outNextValueExpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"NEXTVALUEEXPR\00", align 1 @seqid = dso_local local_unnamed_addr global i32 0, align 4 @typeId = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_outNextValueExpr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_outNextValueExpr(i32 %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @WRITE_NODE_TYPE(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @seqid, align 4, !tbaa !5 %5 = tail call i32 @WRITE_OID_FIELD(i32 noundef %4) #2 %6 = load i32, ptr @typeId, align 4, !tbaa !5 %7 = tail call i32 @WRITE_OID_FIELD(i32 noundef %6) #2 ret void } declare i32 @WRITE_NODE_TYPE(ptr noundef) local_unnamed_addr #1 declare i32 @WRITE_OID_FIELD(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/postgres/src/backend/nodes/extr_outfuncs.c__outNextValueExpr.c' source_filename = "AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outNextValueExpr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [14 x i8] c"NEXTVALUEEXPR\00", align 1 @seqid = common local_unnamed_addr global i32 0, align 4 @typeId = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_outNextValueExpr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_outNextValueExpr(i32 %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @WRITE_NODE_TYPE(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @seqid, align 4, !tbaa !6 %5 = tail call i32 @WRITE_OID_FIELD(i32 noundef %4) #2 %6 = load i32, ptr @typeId, align 4, !tbaa !6 %7 = tail call i32 @WRITE_OID_FIELD(i32 noundef %6) #2 ret void } declare i32 @WRITE_NODE_TYPE(ptr noundef) local_unnamed_addr #1 declare i32 @WRITE_OID_FIELD(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"}
postgres_src_backend_nodes_extr_outfuncs.c__outNextValueExpr
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_ltable.c_findindex.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_ltable.c_findindex.c" target datalayout = "e-m:e-p270:32:32-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 [22 x i8] c"invalid key to 'next'\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @findindex], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @findindex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @ttisnil(i32 noundef %2) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %53 6: ; preds = %3 %7 = tail call i32 @arrayindex(i32 noundef %2) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4, !tbaa !5 %11 = icmp ugt i32 %7, %10 br i1 %11, label %12, label %53 12: ; preds = %9, %6 %13 = tail call ptr @mainposition(ptr noundef %1, i32 noundef %2) #2 %14 = tail call i32 @gkey(ptr noundef %13) #2 %15 = tail call i64 @luaV_rawequalobj(i32 noundef %14, i32 noundef %2) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %30 17: ; preds = %12, %48 %18 = phi ptr [ %49, %48 ], [ %13, %12 ] %19 = tail call i32 @gkey(ptr noundef %18) #2 %20 = tail call i64 @ttisdeadkey(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %40, label %22 22: ; preds = %17 %23 = tail call i64 @iscollectable(i32 noundef %2) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %40, label %25 25: ; preds = %22 %26 = tail call i32 @gkey(ptr noundef %18) #2 %27 = tail call i64 @deadvalue(i32 noundef %26) #2 %28 = tail call i64 @gcvalue(i32 noundef %2) #2 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %40 30: ; preds = %48, %25, %12 %31 = phi ptr [ %13, %12 ], [ %18, %25 ], [ %49, %48 ] %32 = tail call i32 @gnode(ptr noundef %1, i32 noundef 0) #2 %33 = sext i32 %32 to i64 %34 = sub nsw i64 0, %33 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = tail call i32 @cast_int(ptr noundef %35) #2 %37 = add i32 %36, 1 %38 = load i32, ptr %1, align 4, !tbaa !5 %39 = add i32 %37, %38 br label %53 40: ; preds = %25, %22, %17 %41 = tail call i32 @gnext(ptr noundef %18) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = tail call i32 @luaG_runerror(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %48 45: ; preds = %40 %46 = sext i32 %41 to i64 %47 = getelementptr inbounds i32, ptr %18, i64 %46 br label %48 48: ; preds = %45, %43 %49 = phi ptr [ %18, %43 ], [ %47, %45 ] %50 = tail call i32 @gkey(ptr noundef %49) #2 %51 = tail call i64 @luaV_rawequalobj(i32 noundef %50, i32 noundef %2) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %17, label %30 53: ; preds = %9, %3, %30 %54 = phi i32 [ %39, %30 ], [ 0, %3 ], [ %7, %9 ] ret i32 %54 } declare i64 @ttisnil(i32 noundef) local_unnamed_addr #1 declare i32 @arrayindex(i32 noundef) local_unnamed_addr #1 declare ptr @mainposition(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @luaV_rawequalobj(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gkey(ptr noundef) local_unnamed_addr #1 declare i64 @ttisdeadkey(i32 noundef) local_unnamed_addr #1 declare i64 @iscollectable(i32 noundef) local_unnamed_addr #1 declare i64 @deadvalue(i32 noundef) local_unnamed_addr #1 declare i64 @gcvalue(i32 noundef) local_unnamed_addr #1 declare i32 @cast_int(ptr noundef) local_unnamed_addr #1 declare i32 @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gnext(ptr noundef) local_unnamed_addr #1 declare i32 @luaG_runerror(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_ltable.c_findindex.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_ltable.c_findindex.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 [22 x i8] c"invalid key to 'next'\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @findindex], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @findindex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @ttisnil(i32 noundef %2) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %53 6: ; preds = %3 %7 = tail call i32 @arrayindex(i32 noundef %2) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4, !tbaa !6 %11 = icmp ugt i32 %7, %10 br i1 %11, label %12, label %53 12: ; preds = %9, %6 %13 = tail call ptr @mainposition(ptr noundef %1, i32 noundef %2) #2 %14 = tail call i32 @gkey(ptr noundef %13) #2 %15 = tail call i64 @luaV_rawequalobj(i32 noundef %14, i32 noundef %2) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %30 17: ; preds = %12, %48 %18 = phi ptr [ %49, %48 ], [ %13, %12 ] %19 = tail call i32 @gkey(ptr noundef %18) #2 %20 = tail call i64 @ttisdeadkey(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %40, label %22 22: ; preds = %17 %23 = tail call i64 @iscollectable(i32 noundef %2) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %40, label %25 25: ; preds = %22 %26 = tail call i32 @gkey(ptr noundef %18) #2 %27 = tail call i64 @deadvalue(i32 noundef %26) #2 %28 = tail call i64 @gcvalue(i32 noundef %2) #2 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %40 30: ; preds = %48, %25, %12 %31 = phi ptr [ %13, %12 ], [ %18, %25 ], [ %49, %48 ] %32 = tail call i32 @gnode(ptr noundef %1, i32 noundef 0) #2 %33 = sext i32 %32 to i64 %34 = sub nsw i64 0, %33 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = tail call i32 @cast_int(ptr noundef %35) #2 %37 = add i32 %36, 1 %38 = load i32, ptr %1, align 4, !tbaa !6 %39 = add i32 %37, %38 br label %53 40: ; preds = %25, %22, %17 %41 = tail call i32 @gnext(ptr noundef %18) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = tail call i32 @luaG_runerror(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %48 45: ; preds = %40 %46 = sext i32 %41 to i64 %47 = getelementptr inbounds i32, ptr %18, i64 %46 br label %48 48: ; preds = %45, %43 %49 = phi ptr [ %18, %43 ], [ %47, %45 ] %50 = tail call i32 @gkey(ptr noundef %49) #2 %51 = tail call i64 @luaV_rawequalobj(i32 noundef %50, i32 noundef %2) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %17, label %30 53: ; preds = %9, %3, %30 %54 = phi i32 [ %39, %30 ], [ 0, %3 ], [ %7, %9 ] ret i32 %54 } declare i64 @ttisnil(i32 noundef) local_unnamed_addr #1 declare i32 @arrayindex(i32 noundef) local_unnamed_addr #1 declare ptr @mainposition(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @luaV_rawequalobj(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gkey(ptr noundef) local_unnamed_addr #1 declare i64 @ttisdeadkey(i32 noundef) local_unnamed_addr #1 declare i64 @iscollectable(i32 noundef) local_unnamed_addr #1 declare i64 @deadvalue(i32 noundef) local_unnamed_addr #1 declare i64 @gcvalue(i32 noundef) local_unnamed_addr #1 declare i32 @cast_int(ptr noundef) local_unnamed_addr #1 declare i32 @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gnext(ptr noundef) local_unnamed_addr #1 declare i32 @luaG_runerror(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xLua_build_lua-5.3.5_src_extr_ltable.c_findindex
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc269vb_toggle_power_output.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc269vb_toggle_power_output.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @alc269vb_toggle_power_output], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @alc269vb_toggle_power_output(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = select i1 %3, i32 0, i32 2048 %5 = tail call i32 @alc_update_coef_idx(ptr noundef %0, i32 noundef 4, i32 noundef 2048, i32 noundef %4) #2 ret void } declare i32 @alc_update_coef_idx(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc269vb_toggle_power_output.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc269vb_toggle_power_output.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 @alc269vb_toggle_power_output], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @alc269vb_toggle_power_output(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = select i1 %3, i32 0, i32 2048 %5 = tail call i32 @alc_update_coef_idx(ptr noundef %0, i32 noundef 4, i32 noundef 2048, i32 noundef %4) #2 ret void } declare i32 @alc_update_coef_idx(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_pci_hda_extr_patch_realtek.c_alc269vb_toggle_power_output
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_hplance.c_hplance_remove_one.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_hplance.c_hplance_remove_one.c" target datalayout = "e-m:e-p270:32:32-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 @hplance_remove_one], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hplance_remove_one(ptr noundef %0) #0 { %2 = tail call ptr @dio_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @unregister_netdev(ptr noundef %2) #2 %4 = tail call i32 @dio_resource_start(ptr noundef %0) #2 %5 = tail call i32 @dio_resource_len(ptr noundef %0) #2 %6 = tail call i32 @release_mem_region(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @free_netdev(ptr noundef %2) #2 ret void } declare ptr @dio_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dio_resource_start(ptr noundef) local_unnamed_addr #1 declare i32 @dio_resource_len(ptr noundef) local_unnamed_addr #1 declare i32 @free_netdev(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/ethernet/amd/extr_hplance.c_hplance_remove_one.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_hplance.c_hplance_remove_one.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 @hplance_remove_one], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hplance_remove_one(ptr noundef %0) #0 { %2 = tail call ptr @dio_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @unregister_netdev(ptr noundef %2) #2 %4 = tail call i32 @dio_resource_start(ptr noundef %0) #2 %5 = tail call i32 @dio_resource_len(ptr noundef %0) #2 %6 = tail call i32 @release_mem_region(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @free_netdev(ptr noundef %2) #2 ret void } declare ptr @dio_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dio_resource_start(ptr noundef) local_unnamed_addr #1 declare i32 @dio_resource_len(ptr noundef) local_unnamed_addr #1 declare i32 @free_netdev(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_ethernet_amd_extr_hplance.c_hplance_remove_one
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_get_edid.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_get_edid.c" target datalayout = "e-m:e-p270:32:32-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 @intel_sdvo_get_edid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @intel_sdvo_get_edid(ptr noundef %0) #0 { %2 = tail call ptr @intel_attached_sdvo(ptr noundef %0) #2 %3 = tail call ptr @drm_get_edid(ptr noundef %0, ptr noundef %2) #2 ret ptr %3 } declare ptr @intel_attached_sdvo(ptr noundef) local_unnamed_addr #1 declare ptr @drm_get_edid(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_get_edid.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_get_edid.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 @intel_sdvo_get_edid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @intel_sdvo_get_edid(ptr noundef %0) #0 { %2 = tail call ptr @intel_attached_sdvo(ptr noundef %0) #2 %3 = tail call ptr @drm_get_edid(ptr noundef %0, ptr noundef %2) #2 ret ptr %3 } declare ptr @intel_attached_sdvo(ptr noundef) local_unnamed_addr #1 declare ptr @drm_get_edid(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_i915_display_extr_intel_sdvo.c_intel_sdvo_get_edid
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_find_victim_chain.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_find_victim_chain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ocfs2_chain_list = type { i32, ptr } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_find_victim_chain], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @ocfs2_find_victim_chain(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !5 %7 = tail call i64 @le16_to_cpu(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %28, label %9 9: ; preds = %1 %10 = getelementptr inbounds %struct.ocfs2_chain_list, ptr %0, i64 0, i32 1 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %23, %11 ] %13 = phi i64 [ 0, %9 ], [ %24, %11 ] %14 = load ptr, ptr %10, align 8, !tbaa !11 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = tail call i64 @le32_to_cpu(i32 noundef %16) #2 %18 = load ptr, ptr %10, align 8, !tbaa !11 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %12 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = tail call i64 @le32_to_cpu(i32 noundef %20) #2 %22 = icmp sgt i64 %17, %21 %23 = select i1 %22, i64 %13, i64 %12 %24 = add nuw i64 %13, 1 %25 = load i32, ptr %0, align 8, !tbaa !5 %26 = tail call i64 @le16_to_cpu(i32 noundef %25) #2 %27 = icmp ult i64 %24, %26 br i1 %27, label %11, label %28, !llvm.loop !14 28: ; preds = %11, %1 %29 = phi i64 [ 0, %1 ], [ %23, %11 ] %30 = load i32, ptr %0, align 8, !tbaa !5 %31 = tail call i64 @le16_to_cpu(i32 noundef %30) #2 %32 = icmp uge i64 %29, %31 %33 = zext i1 %32 to i32 %34 = tail call i32 @BUG_ON(i32 noundef %33) #2 ret i64 %29 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ocfs2_chain_list", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_find_victim_chain.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_find_victim_chain.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 } @llvm.used = appending global [1 x ptr] [ptr @ocfs2_find_victim_chain], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @ocfs2_find_victim_chain(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !6 %7 = tail call i64 @le16_to_cpu(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %28, label %9 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 8 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %23, %11 ] %13 = phi i64 [ 0, %9 ], [ %24, %11 ] %14 = load ptr, ptr %10, align 8, !tbaa !12 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = tail call i64 @le32_to_cpu(i32 noundef %16) #2 %18 = load ptr, ptr %10, align 8, !tbaa !12 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %12 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i64 @le32_to_cpu(i32 noundef %20) #2 %22 = icmp sgt i64 %17, %21 %23 = select i1 %22, i64 %13, i64 %12 %24 = add nuw i64 %13, 1 %25 = load i32, ptr %0, align 8, !tbaa !6 %26 = tail call i64 @le16_to_cpu(i32 noundef %25) #2 %27 = icmp ult i64 %24, %26 br i1 %27, label %11, label %28, !llvm.loop !15 28: ; preds = %11, %1 %29 = phi i64 [ 0, %1 ], [ %23, %11 ] %30 = load i32, ptr %0, align 8, !tbaa !6 %31 = tail call i64 @le16_to_cpu(i32 noundef %30) #2 %32 = icmp uge i64 %29, %31 %33 = zext i1 %32 to i32 %34 = tail call i32 @BUG_ON(i32 noundef %33) #2 ret i64 %29 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ocfs2_chain_list", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_fs_ocfs2_extr_suballoc.c_ocfs2_find_victim_chain
; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_pf.c_do_pf_read_start.c' source_filename = "AnghaBench/linux/drivers/block/paride/extr_pf.c_do_pf_read_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pf_busy = dso_local local_unnamed_addr global i32 0, align 4 @pf_current = dso_local local_unnamed_addr global ptr null, align 8 @ATAPI_READ_10 = dso_local local_unnamed_addr global i32 0, align 4 @pf_block = dso_local local_unnamed_addr global i32 0, align 4 @pf_run = dso_local local_unnamed_addr global i32 0, align 4 @pf_retries = dso_local local_unnamed_addr global i64 0, align 8 @PF_MAX_RETRIES = dso_local local_unnamed_addr global i64 0, align 8 @BLK_STS_IOERR = dso_local local_unnamed_addr global i32 0, align 4 @STAT_DRQ = dso_local local_unnamed_addr global i32 0, align 4 @pf_mask = dso_local local_unnamed_addr global i32 0, align 4 @do_pf_read_drq = dso_local local_unnamed_addr global i32 0, align 4 @pf_ready = dso_local local_unnamed_addr global i32 0, align 4 @PF_TMO = dso_local local_unnamed_addr global i32 0, align 4 @nice = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_pf_read_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_pf_read_start() #0 { store i32 1, ptr @pf_busy, align 4, !tbaa !5 %1 = load ptr, ptr @pf_current, align 8, !tbaa !9 %2 = load i32, ptr @ATAPI_READ_10, align 4, !tbaa !5 %3 = load i32, ptr @pf_block, align 4, !tbaa !5 %4 = load i32, ptr @pf_run, align 4, !tbaa !5 %5 = tail call i64 @pf_start(ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %22, label %7 7: ; preds = %0 %8 = load ptr, ptr @pf_current, align 8, !tbaa !9 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @pi_disconnect(i32 noundef %9) #2 %11 = load i64, ptr @pf_retries, align 8, !tbaa !13 %12 = load i64, ptr @PF_MAX_RETRIES, align 8, !tbaa !13 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %19 14: ; preds = %7 %15 = add nsw i64 %11, 1 store i64 %15, ptr @pf_retries, align 8, !tbaa !13 %16 = load ptr, ptr @pf_current, align 8, !tbaa !9 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = tail call i32 @pi_do_claimed(i32 noundef %17, ptr noundef nonnull @do_pf_read_start) #2 br label %29 19: ; preds = %7 %20 = load i32, ptr @BLK_STS_IOERR, align 4, !tbaa !5 %21 = tail call i32 @next_request(i32 noundef %20) #2 br label %29 22: ; preds = %0 %23 = load i32, ptr @STAT_DRQ, align 4, !tbaa !5 store i32 %23, ptr @pf_mask, align 4, !tbaa !5 %24 = load i32, ptr @do_pf_read_drq, align 4, !tbaa !5 %25 = load i32, ptr @pf_ready, align 4, !tbaa !5 %26 = load i32, ptr @PF_TMO, align 4, !tbaa !5 %27 = load i32, ptr @nice, align 4, !tbaa !5 %28 = tail call i32 @ps_set_intr(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 br label %29 29: ; preds = %22, %19, %14 ret void } declare i64 @pf_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pi_disconnect(i32 noundef) local_unnamed_addr #1 declare i32 @pi_do_claimed(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @next_request(i32 noundef) local_unnamed_addr #1 declare i32 @ps_set_intr(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_pf.c_do_pf_read_start.c' source_filename = "AnghaBench/linux/drivers/block/paride/extr_pf.c_do_pf_read_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pf_busy = common local_unnamed_addr global i32 0, align 4 @pf_current = common local_unnamed_addr global ptr null, align 8 @ATAPI_READ_10 = common local_unnamed_addr global i32 0, align 4 @pf_block = common local_unnamed_addr global i32 0, align 4 @pf_run = common local_unnamed_addr global i32 0, align 4 @pf_retries = common local_unnamed_addr global i64 0, align 8 @PF_MAX_RETRIES = common local_unnamed_addr global i64 0, align 8 @BLK_STS_IOERR = common local_unnamed_addr global i32 0, align 4 @STAT_DRQ = common local_unnamed_addr global i32 0, align 4 @pf_mask = common local_unnamed_addr global i32 0, align 4 @do_pf_read_drq = common local_unnamed_addr global i32 0, align 4 @pf_ready = common local_unnamed_addr global i32 0, align 4 @PF_TMO = common local_unnamed_addr global i32 0, align 4 @nice = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_pf_read_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_pf_read_start() #0 { store i32 1, ptr @pf_busy, align 4, !tbaa !6 %1 = load ptr, ptr @pf_current, align 8, !tbaa !10 %2 = load i32, ptr @ATAPI_READ_10, align 4, !tbaa !6 %3 = load i32, ptr @pf_block, align 4, !tbaa !6 %4 = load i32, ptr @pf_run, align 4, !tbaa !6 %5 = tail call i64 @pf_start(ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %22, label %7 7: ; preds = %0 %8 = load ptr, ptr @pf_current, align 8, !tbaa !10 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @pi_disconnect(i32 noundef %9) #2 %11 = load i64, ptr @pf_retries, align 8, !tbaa !14 %12 = load i64, ptr @PF_MAX_RETRIES, align 8, !tbaa !14 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %19 14: ; preds = %7 %15 = add nsw i64 %11, 1 store i64 %15, ptr @pf_retries, align 8, !tbaa !14 %16 = load ptr, ptr @pf_current, align 8, !tbaa !10 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @pi_do_claimed(i32 noundef %17, ptr noundef nonnull @do_pf_read_start) #2 br label %29 19: ; preds = %7 %20 = load i32, ptr @BLK_STS_IOERR, align 4, !tbaa !6 %21 = tail call i32 @next_request(i32 noundef %20) #2 br label %29 22: ; preds = %0 %23 = load i32, ptr @STAT_DRQ, align 4, !tbaa !6 store i32 %23, ptr @pf_mask, align 4, !tbaa !6 %24 = load i32, ptr @do_pf_read_drq, align 4, !tbaa !6 %25 = load i32, ptr @pf_ready, align 4, !tbaa !6 %26 = load i32, ptr @PF_TMO, align 4, !tbaa !6 %27 = load i32, ptr @nice, align 4, !tbaa !6 %28 = tail call i32 @ps_set_intr(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 br label %29 29: ; preds = %22, %19, %14 ret void } declare i64 @pf_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pi_disconnect(i32 noundef) local_unnamed_addr #1 declare i32 @pi_do_claimed(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @next_request(i32 noundef) local_unnamed_addr #1 declare i32 @ps_set_intr(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0}
linux_drivers_block_paride_extr_pf.c_do_pf_read_start
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_MiiWriteReg.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_MiiWriteReg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TLAN_NET_SIO = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_DIO_ADR = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_DIO_DATA = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_MINTEN = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_MCLK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TLan_MiiWriteReg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @TLan_MiiWriteReg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = load i32, ptr @TLAN_NET_SIO, align 4, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = load i32, ptr @TLAN_DIO_ADR, align 4, !tbaa !5 %9 = add nsw i32 %8, %7 %10 = tail call i32 @outw(i32 noundef %6, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !9 %12 = load i32, ptr @TLAN_DIO_DATA, align 4, !tbaa !5 %13 = add nsw i32 %12, %11 %14 = load i32, ptr @TLAN_NET_SIO, align 4, !tbaa !5 %15 = add nsw i32 %13, %14 %16 = tail call i32 (...) @in_irq() #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = tail call i32 @spin_lock_irqsave(ptr noundef %5, i64 noundef 0) #2 br label %20 20: ; preds = %18, %4 %21 = load i32, ptr %0, align 4, !tbaa !9 %22 = tail call i32 @TLan_MiiSync(i32 noundef %21) #2 %23 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !5 %24 = tail call i32 @TLan_GetBit(i32 noundef %23, i32 noundef %15) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %20 %27 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !5 %28 = tail call i32 @TLan_ClearBit(i32 noundef %27, i32 noundef %15) #2 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %0, align 4, !tbaa !9 %31 = tail call i32 @TLan_MiiSendData(i32 noundef %30, i32 noundef 1, i32 noundef 2) #2 %32 = load i32, ptr %0, align 4, !tbaa !9 %33 = tail call i32 @TLan_MiiSendData(i32 noundef %32, i32 noundef 1, i32 noundef 2) #2 %34 = load i32, ptr %0, align 4, !tbaa !9 %35 = tail call i32 @TLan_MiiSendData(i32 noundef %34, i32 noundef %1, i32 noundef 5) #2 %36 = load i32, ptr %0, align 4, !tbaa !9 %37 = tail call i32 @TLan_MiiSendData(i32 noundef %36, i32 noundef %2, i32 noundef 5) #2 %38 = load i32, ptr %0, align 4, !tbaa !9 %39 = tail call i32 @TLan_MiiSendData(i32 noundef %38, i32 noundef 2, i32 noundef 2) #2 %40 = load i32, ptr %0, align 4, !tbaa !9 %41 = tail call i32 @TLan_MiiSendData(i32 noundef %40, i32 noundef %3, i32 noundef 16) #2 %42 = load i32, ptr @TLAN_NET_SIO_MCLK, align 4, !tbaa !5 %43 = tail call i32 @TLan_ClearBit(i32 noundef %42, i32 noundef %15) #2 %44 = load i32, ptr @TLAN_NET_SIO_MCLK, align 4, !tbaa !5 %45 = tail call i32 @TLan_SetBit(i32 noundef %44, i32 noundef %15) #2 br i1 %25, label %49, label %46 46: ; preds = %29 %47 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !5 %48 = tail call i32 @TLan_SetBit(i32 noundef %47, i32 noundef %15) #2 br label %49 49: ; preds = %46, %29 %50 = tail call i32 (...) @in_irq() #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = tail call i32 @spin_unlock_irqrestore(ptr noundef %5, i64 noundef 0) #2 br label %54 54: ; preds = %52, %49 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @in_irq(...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_MiiSync(i32 noundef) local_unnamed_addr #1 declare i32 @TLan_GetBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_ClearBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_MiiSendData(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_SetBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"net_device", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_MiiWriteReg.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_MiiWriteReg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TLAN_NET_SIO = common local_unnamed_addr global i32 0, align 4 @TLAN_DIO_ADR = common local_unnamed_addr global i32 0, align 4 @TLAN_DIO_DATA = common local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_MINTEN = common local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_MCLK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TLan_MiiWriteReg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @TLan_MiiWriteReg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = load i32, ptr @TLAN_NET_SIO, align 4, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = load i32, ptr @TLAN_DIO_ADR, align 4, !tbaa !6 %9 = add nsw i32 %8, %7 %10 = tail call i32 @outw(i32 noundef %6, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = load i32, ptr @TLAN_DIO_DATA, align 4, !tbaa !6 %13 = add nsw i32 %12, %11 %14 = load i32, ptr @TLAN_NET_SIO, align 4, !tbaa !6 %15 = add nsw i32 %13, %14 %16 = tail call i32 @in_irq() #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = tail call i32 @spin_lock_irqsave(ptr noundef %5, i64 noundef 0) #2 br label %20 20: ; preds = %18, %4 %21 = load i32, ptr %0, align 4, !tbaa !10 %22 = tail call i32 @TLan_MiiSync(i32 noundef %21) #2 %23 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !6 %24 = tail call i32 @TLan_GetBit(i32 noundef %23, i32 noundef %15) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %20 %27 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !6 %28 = tail call i32 @TLan_ClearBit(i32 noundef %27, i32 noundef %15) #2 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %0, align 4, !tbaa !10 %31 = tail call i32 @TLan_MiiSendData(i32 noundef %30, i32 noundef 1, i32 noundef 2) #2 %32 = load i32, ptr %0, align 4, !tbaa !10 %33 = tail call i32 @TLan_MiiSendData(i32 noundef %32, i32 noundef 1, i32 noundef 2) #2 %34 = load i32, ptr %0, align 4, !tbaa !10 %35 = tail call i32 @TLan_MiiSendData(i32 noundef %34, i32 noundef %1, i32 noundef 5) #2 %36 = load i32, ptr %0, align 4, !tbaa !10 %37 = tail call i32 @TLan_MiiSendData(i32 noundef %36, i32 noundef %2, i32 noundef 5) #2 %38 = load i32, ptr %0, align 4, !tbaa !10 %39 = tail call i32 @TLan_MiiSendData(i32 noundef %38, i32 noundef 2, i32 noundef 2) #2 %40 = load i32, ptr %0, align 4, !tbaa !10 %41 = tail call i32 @TLan_MiiSendData(i32 noundef %40, i32 noundef %3, i32 noundef 16) #2 %42 = load i32, ptr @TLAN_NET_SIO_MCLK, align 4, !tbaa !6 %43 = tail call i32 @TLan_ClearBit(i32 noundef %42, i32 noundef %15) #2 %44 = load i32, ptr @TLAN_NET_SIO_MCLK, align 4, !tbaa !6 %45 = tail call i32 @TLan_SetBit(i32 noundef %44, i32 noundef %15) #2 br i1 %25, label %49, label %46 46: ; preds = %29 %47 = load i32, ptr @TLAN_NET_SIO_MINTEN, align 4, !tbaa !6 %48 = tail call i32 @TLan_SetBit(i32 noundef %47, i32 noundef %15) #2 br label %49 49: ; preds = %46, %29 %50 = tail call i32 @in_irq() #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = tail call i32 @spin_unlock_irqrestore(ptr noundef %5, i64 noundef 0) #2 br label %54 54: ; preds = %52, %49 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @in_irq(...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_MiiSync(i32 noundef) local_unnamed_addr #1 declare i32 @TLan_GetBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_ClearBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_MiiSendData(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TLan_SetBit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"net_device", !7, i64 0}
fastsocket_kernel_drivers_net_extr_tlan.c_TLan_MiiWriteReg
; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_stp_bpdu.c_br_send_bpdu_finish.c' source_filename = "AnghaBench/linux/net/bridge/extr_br_stp_bpdu.c_br_send_bpdu_finish.c" target datalayout = "e-m:e-p270:32:32-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 @br_send_bpdu_finish], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @br_send_bpdu_finish(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @dev_queue_xmit(ptr noundef %2) #2 ret i32 %4 } declare i32 @dev_queue_xmit(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/net/bridge/extr_br_stp_bpdu.c_br_send_bpdu_finish.c' source_filename = "AnghaBench/linux/net/bridge/extr_br_stp_bpdu.c_br_send_bpdu_finish.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 @br_send_bpdu_finish], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @br_send_bpdu_finish(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @dev_queue_xmit(ptr noundef %2) #2 ret i32 %4 } declare i32 @dev_queue_xmit(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_net_bridge_extr_br_stp_bpdu.c_br_send_bpdu_finish
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_irq_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_irq_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.igc_adapter = type { i32, i32, ptr, ptr, %struct.igc_hw } %struct.igc_hw = type { i32 } %struct.TYPE_3__ = type { i32 } @IGC_EIAM = dso_local local_unnamed_addr global i32 0, align 4 @IGC_EIMC = dso_local local_unnamed_addr global i32 0, align 4 @IGC_EIAC = dso_local local_unnamed_addr global i32 0, align 4 @IGC_IAM = dso_local local_unnamed_addr global i32 0, align 4 @IGC_IMC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @igc_irq_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @igc_irq_disable(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.igc_adapter, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %23, label %5 5: ; preds = %1 %6 = load i32, ptr @IGC_EIAM, align 4, !tbaa !12 %7 = tail call i32 @rd32(i32 noundef %6) #2 %8 = load i32, ptr @IGC_EIAM, align 4, !tbaa !12 %9 = load i32, ptr %0, align 8, !tbaa !13 %10 = xor i32 %9, -1 %11 = and i32 %7, %10 %12 = tail call i32 @wr32(i32 noundef %8, i32 noundef %11) #2 %13 = load i32, ptr @IGC_EIMC, align 4, !tbaa !12 %14 = load i32, ptr %0, align 8, !tbaa !13 %15 = tail call i32 @wr32(i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @IGC_EIAC, align 4, !tbaa !12 %17 = tail call i32 @rd32(i32 noundef %16) #2 %18 = load i32, ptr @IGC_EIAC, align 4, !tbaa !12 %19 = load i32, ptr %0, align 8, !tbaa !13 %20 = xor i32 %19, -1 %21 = and i32 %17, %20 %22 = tail call i32 @wr32(i32 noundef %18, i32 noundef %21) #2 br label %23 23: ; preds = %5, %1 %24 = load i32, ptr @IGC_IAM, align 4, !tbaa !12 %25 = tail call i32 @wr32(i32 noundef %24, i32 noundef 0) #2 %26 = load i32, ptr @IGC_IMC, align 4, !tbaa !12 %27 = tail call i32 @wr32(i32 noundef %26, i32 noundef -1) #2 %28 = tail call i32 (...) @wrfl() #2 %29 = load ptr, ptr %2, align 8, !tbaa !5 %30 = icmp eq ptr %29, null br i1 %30, label %48, label %31 31: ; preds = %23 %32 = load i32, ptr %29, align 4, !tbaa !14 %33 = tail call i32 @synchronize_irq(i32 noundef %32) #2 %34 = getelementptr inbounds %struct.igc_adapter, ptr %0, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %53 37: ; preds = %31, %37 %38 = phi i64 [ %41, %37 ], [ 1, %31 ] %39 = phi i32 [ %45, %37 ], [ 0, %31 ] %40 = load ptr, ptr %2, align 8, !tbaa !5 %41 = add nuw nsw i64 %38, 1 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %40, i64 %38 %43 = load i32, ptr %42, align 4, !tbaa !14 %44 = tail call i32 @synchronize_irq(i32 noundef %43) #2 %45 = add nuw nsw i32 %39, 1 %46 = load i32, ptr %34, align 4, !tbaa !16 %47 = icmp slt i32 %45, %46 br i1 %47, label %37, label %53, !llvm.loop !17 48: ; preds = %23 %49 = getelementptr inbounds %struct.igc_adapter, ptr %0, i64 0, i32 2 %50 = load ptr, ptr %49, align 8, !tbaa !19 %51 = load i32, ptr %50, align 4, !tbaa !20 %52 = tail call i32 @synchronize_irq(i32 noundef %51) #2 br label %53 53: ; preds = %37, %31, %48 ret void } declare i32 @rd32(i32 noundef) local_unnamed_addr #1 declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wrfl(...) local_unnamed_addr #1 declare i32 @synchronize_irq(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 = !{!"igc_adapter", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"igc_hw", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!6, !7, i64 4} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !10, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_irq_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_irq_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } @IGC_EIAM = common local_unnamed_addr global i32 0, align 4 @IGC_EIMC = common local_unnamed_addr global i32 0, align 4 @IGC_EIAC = common local_unnamed_addr global i32 0, align 4 @IGC_IAM = common local_unnamed_addr global i32 0, align 4 @IGC_IMC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @igc_irq_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @igc_irq_disable(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %23, label %5 5: ; preds = %1 %6 = load i32, ptr @IGC_EIAM, align 4, !tbaa !13 %7 = tail call i32 @rd32(i32 noundef %6) #2 %8 = load i32, ptr @IGC_EIAM, align 4, !tbaa !13 %9 = load i32, ptr %0, align 8, !tbaa !14 %10 = xor i32 %9, -1 %11 = and i32 %7, %10 %12 = tail call i32 @wr32(i32 noundef %8, i32 noundef %11) #2 %13 = load i32, ptr @IGC_EIMC, align 4, !tbaa !13 %14 = load i32, ptr %0, align 8, !tbaa !14 %15 = tail call i32 @wr32(i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @IGC_EIAC, align 4, !tbaa !13 %17 = tail call i32 @rd32(i32 noundef %16) #2 %18 = load i32, ptr @IGC_EIAC, align 4, !tbaa !13 %19 = load i32, ptr %0, align 8, !tbaa !14 %20 = xor i32 %19, -1 %21 = and i32 %17, %20 %22 = tail call i32 @wr32(i32 noundef %18, i32 noundef %21) #2 br label %23 23: ; preds = %5, %1 %24 = load i32, ptr @IGC_IAM, align 4, !tbaa !13 %25 = tail call i32 @wr32(i32 noundef %24, i32 noundef 0) #2 %26 = load i32, ptr @IGC_IMC, align 4, !tbaa !13 %27 = tail call i32 @wr32(i32 noundef %26, i32 noundef -1) #2 %28 = tail call i32 @wrfl() #2 %29 = load ptr, ptr %2, align 8, !tbaa !6 %30 = icmp eq ptr %29, null br i1 %30, label %48, label %31 31: ; preds = %23 %32 = load i32, ptr %29, align 4, !tbaa !15 %33 = tail call i32 @synchronize_irq(i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %0, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %53 37: ; preds = %31, %37 %38 = phi i64 [ %41, %37 ], [ 1, %31 ] %39 = phi i32 [ %45, %37 ], [ 0, %31 ] %40 = load ptr, ptr %2, align 8, !tbaa !6 %41 = add nuw nsw i64 %38, 1 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %40, i64 %38 %43 = load i32, ptr %42, align 4, !tbaa !15 %44 = tail call i32 @synchronize_irq(i32 noundef %43) #2 %45 = add nuw nsw i32 %39, 1 %46 = load i32, ptr %34, align 4, !tbaa !17 %47 = icmp slt i32 %45, %46 br i1 %47, label %37, label %53, !llvm.loop !18 48: ; preds = %23 %49 = getelementptr inbounds i8, ptr %0, i64 8 %50 = load ptr, ptr %49, align 8, !tbaa !20 %51 = load i32, ptr %50, align 4, !tbaa !21 %52 = tail call i32 @synchronize_irq(i32 noundef %51) #2 br label %53 53: ; preds = %37, %31, %48 ret void } declare i32 @rd32(i32 noundef) local_unnamed_addr #1 declare i32 @wr32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wrfl(...) local_unnamed_addr #1 declare i32 @synchronize_irq(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 = !{!"igc_adapter", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"igc_hw", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_3__", !8, i64 0} !17 = !{!7, !8, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !11, i64 8} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_4__", !8, i64 0}
linux_drivers_net_ethernet_intel_igc_extr_igc_main.c_igc_irq_disable
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar.c_copy_from_lzss_window.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar.c_copy_from_lzss_window.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.archive_read = type { i32, ptr } %struct.rar = type { ptr, i32, i64, %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Unable to allocate memory for uncompressed data.\00", align 1 @ARCHIVE_FATAL = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_ERRNO_FILE_FORMAT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Bad RAR file data\00", align 1 @ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @copy_from_lzss_window], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @copy_from_lzss_window(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds %struct.archive_read, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = inttoptr i64 %7 to ptr %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %19 11: ; preds = %4 %12 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !17 %14 = tail call ptr @malloc(i32 noundef %13) #2 store ptr %14, ptr %8, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !18 %18 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %17, ptr noundef nonnull @.str) #2 br label %81 19: ; preds = %11, %4 %20 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 3 %21 = tail call i32 @lzss_offset_for_position(ptr noundef nonnull %20, i32 noundef %2) #2 %22 = add nsw i32 %21, %3 %23 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %24 = icmp sgt i32 %22, %23 br i1 %24, label %34, label %25 25: ; preds = %19 %26 = load ptr, ptr %8, align 8, !tbaa !14 %27 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 2 %28 = load i64, ptr %27, align 8, !tbaa !19 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %20, align 8, !tbaa !20 %31 = sext i32 %21 to i64 %32 = getelementptr inbounds i32, ptr %30, i64 %31 %33 = tail call i32 @memcpy(ptr noundef %29, ptr noundef %32, i32 noundef %3) #2 br label %68 34: ; preds = %19 %35 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %36 = icmp slt i32 %35, %3 br i1 %36, label %65, label %37 37: ; preds = %34 %38 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %39 = sub nsw i32 %38, %21 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !18 %43 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %42, ptr noundef nonnull @.str.1) #2 br label %81 44: ; preds = %37 %45 = icmp slt i32 %39, %3 %46 = load ptr, ptr %8, align 8, !tbaa !14 %47 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 2 %48 = load i64, ptr %47, align 8, !tbaa !19 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load ptr, ptr %20, align 8, !tbaa !20 %51 = sext i32 %21 to i64 %52 = getelementptr inbounds i32, ptr %50, i64 %51 br i1 %45, label %53, label %63 53: ; preds = %44 %54 = tail call i32 @memcpy(ptr noundef %49, ptr noundef %52, i32 noundef %39) #2 %55 = load ptr, ptr %8, align 8, !tbaa !14 %56 = load i64, ptr %47, align 8, !tbaa !19 %57 = zext nneg i32 %39 to i64 %58 = getelementptr i8, ptr %55, i64 %56 %59 = getelementptr i8, ptr %58, i64 %57 %60 = load ptr, ptr %20, align 8, !tbaa !20 %61 = sub nsw i32 %3, %39 %62 = tail call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef %61) #2 br label %68 63: ; preds = %44 %64 = tail call i32 @memcpy(ptr noundef %49, ptr noundef %52, i32 noundef %3) #2 br label %68 65: ; preds = %34 %66 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !18 %67 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %66, ptr noundef nonnull @.str.1) #2 br label %81 68: ; preds = %63, %53, %25 %69 = sext i32 %3 to i64 %70 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 2 %71 = load i64, ptr %70, align 8, !tbaa !19 %72 = add i64 %71, %69 store i64 %72, ptr %70, align 8, !tbaa !19 %73 = getelementptr inbounds %struct.rar, ptr %8, i64 0, i32 1 %74 = load i32, ptr %73, align 8, !tbaa !17 %75 = sext i32 %74 to i64 %76 = icmp ult i64 %72, %75 br i1 %76, label %79, label %77 77: ; preds = %68 %78 = load ptr, ptr %8, align 8, !tbaa !14 br label %79 79: ; preds = %68, %77 %80 = phi ptr [ %78, %77 ], [ null, %68 ] store ptr %80, ptr %1, align 8, !tbaa !21 br label %81 81: ; preds = %79, %65, %41, %16 %82 = phi ptr [ @ARCHIVE_OK, %79 ], [ @ARCHIVE_FATAL, %41 ], [ @ARCHIVE_FATAL, %65 ], [ @ARCHIVE_FATAL, %16 ] %83 = load i32, ptr %82, align 4, !tbaa !18 ret i32 %83 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lzss_offset_for_position(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lzss_size(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"archive_read", !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 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"rar", !10, i64 0, !7, i64 8, !13, i64 16, !16, i64 24} !16 = !{!"TYPE_5__", !10, i64 0} !17 = !{!15, !7, i64 8} !18 = !{!7, !7, i64 0} !19 = !{!15, !13, i64 16} !20 = !{!15, !10, i64 24} !21 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar.c_copy_from_lzss_window.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar.c_copy_from_lzss_window.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Unable to allocate memory for uncompressed data.\00", align 1 @ARCHIVE_FATAL = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_ERRNO_FILE_FORMAT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"Bad RAR file data\00", align 1 @ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @copy_from_lzss_window], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @copy_from_lzss_window(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = inttoptr i64 %7 to ptr %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %19 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %8, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !18 %14 = tail call ptr @malloc(i32 noundef %13) #2 store ptr %14, ptr %8, align 8, !tbaa !15 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !19 %18 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %17, ptr noundef nonnull @.str) #2 br label %81 19: ; preds = %11, %4 %20 = getelementptr inbounds i8, ptr %8, i64 24 %21 = tail call i32 @lzss_offset_for_position(ptr noundef nonnull %20, i32 noundef %2) #2 %22 = add nsw i32 %21, %3 %23 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %24 = icmp sgt i32 %22, %23 br i1 %24, label %34, label %25 25: ; preds = %19 %26 = load ptr, ptr %8, align 8, !tbaa !15 %27 = getelementptr inbounds i8, ptr %8, i64 16 %28 = load i64, ptr %27, align 8, !tbaa !20 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %20, align 8, !tbaa !21 %31 = sext i32 %21 to i64 %32 = getelementptr inbounds i32, ptr %30, i64 %31 %33 = tail call i32 @memcpy(ptr noundef %29, ptr noundef %32, i32 noundef %3) #2 br label %68 34: ; preds = %19 %35 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %36 = icmp slt i32 %35, %3 br i1 %36, label %65, label %37 37: ; preds = %34 %38 = tail call i32 @lzss_size(ptr noundef nonnull %20) #2 %39 = sub nsw i32 %38, %21 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !19 %43 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %42, ptr noundef nonnull @.str.1) #2 br label %81 44: ; preds = %37 %45 = icmp slt i32 %39, %3 %46 = load ptr, ptr %8, align 8, !tbaa !15 %47 = getelementptr inbounds i8, ptr %8, i64 16 %48 = load i64, ptr %47, align 8, !tbaa !20 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load ptr, ptr %20, align 8, !tbaa !21 %51 = sext i32 %21 to i64 %52 = getelementptr inbounds i32, ptr %50, i64 %51 br i1 %45, label %53, label %63 53: ; preds = %44 %54 = tail call i32 @memcpy(ptr noundef %49, ptr noundef %52, i32 noundef %39) #2 %55 = load ptr, ptr %8, align 8, !tbaa !15 %56 = load i64, ptr %47, align 8, !tbaa !20 %57 = zext nneg i32 %39 to i64 %58 = getelementptr i8, ptr %55, i64 %56 %59 = getelementptr i8, ptr %58, i64 %57 %60 = load ptr, ptr %20, align 8, !tbaa !21 %61 = sub nsw i32 %3, %39 %62 = tail call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef %61) #2 br label %68 63: ; preds = %44 %64 = tail call i32 @memcpy(ptr noundef %49, ptr noundef %52, i32 noundef %3) #2 br label %68 65: ; preds = %34 %66 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !19 %67 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %66, ptr noundef nonnull @.str.1) #2 br label %81 68: ; preds = %63, %53, %25 %69 = sext i32 %3 to i64 %70 = getelementptr inbounds i8, ptr %8, i64 16 %71 = load i64, ptr %70, align 8, !tbaa !20 %72 = add i64 %71, %69 store i64 %72, ptr %70, align 8, !tbaa !20 %73 = getelementptr inbounds i8, ptr %8, i64 8 %74 = load i32, ptr %73, align 8, !tbaa !18 %75 = sext i32 %74 to i64 %76 = icmp ult i64 %72, %75 br i1 %76, label %79, label %77 77: ; preds = %68 %78 = load ptr, ptr %8, align 8, !tbaa !15 br label %79 79: ; preds = %68, %77 %80 = phi ptr [ %78, %77 ], [ null, %68 ] store ptr %80, ptr %1, align 8, !tbaa !22 br label %81 81: ; preds = %79, %65, %41, %16 %82 = phi ptr [ @ARCHIVE_OK, %79 ], [ @ARCHIVE_FATAL, %41 ], [ @ARCHIVE_FATAL, %65 ], [ @ARCHIVE_FATAL, %16 ] %83 = load i32, ptr %82, align 4, !tbaa !19 ret i32 %83 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lzss_offset_for_position(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lzss_size(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"archive_read", !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 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"rar", !11, i64 0, !8, i64 8, !14, i64 16, !17, i64 24} !17 = !{!"TYPE_5__", !11, i64 0} !18 = !{!16, !8, i64 8} !19 = !{!8, !8, i64 0} !20 = !{!16, !14, i64 16} !21 = !{!16, !11, i64 24} !22 = !{!11, !11, i64 0}
freebsd_contrib_libarchive_libarchive_extr_archive_read_support_format_rar.c_copy_from_lzss_window
; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_logmgr.c_lbmLogInit.c' source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_logmgr.c_lbmLogInit.c" target datalayout = "e-m:e-p270:32:32-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.jfs_log = type { ptr, i32, ptr, ptr } %struct.lbuf = type { ptr, ptr, i32, ptr, ptr, i64 } @.str = private unnamed_addr constant [21 x i8] c"lbmLogInit: log:0x%p\00", align 1 @LOGPAGES = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @__GFP_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @LOGPSIZE = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lbmLogInit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lbmLogInit(ptr noundef %0) #0 { %2 = tail call i32 @jfs_info(ptr noundef nonnull @.str, ptr noundef %0) #3 %3 = getelementptr inbounds %struct.jfs_log, ptr %0, i64 0, i32 2 %4 = getelementptr inbounds %struct.jfs_log, ptr %0, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false) %5 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %4) #3 store ptr null, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @LOGPAGES, align 4, !tbaa !11 %7 = icmp sgt i32 %6, 0 br i1 %7, label %12, label %54 8: ; preds = %36, %19 %9 = phi i32 [ %13, %19 ], [ %45, %36 ] %10 = load i32, ptr @LOGPAGES, align 4, !tbaa !11 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %54 12: ; preds = %1, %8 %13 = phi i32 [ %9, %8 ], [ 0, %1 ] %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %15 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !11 %16 = or i32 %15, %14 %17 = tail call ptr @alloc_page(i32 noundef %16) #3 %18 = icmp eq ptr %17, null br i1 %18, label %50, label %19 19: ; preds = %12 %20 = tail call ptr @page_address(ptr noundef nonnull %17) #3 %21 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !12 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %8 23: ; preds = %19, %36 %24 = phi i64 [ %47, %36 ], [ 0, %19 ] %25 = phi i32 [ %45, %36 ], [ %13, %19 ] %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %27 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %26) #3 %28 = icmp eq ptr %27, null %29 = icmp eq i64 %24, 0 br i1 %28, label %30, label %33 30: ; preds = %23 br i1 %29, label %31, label %50 31: ; preds = %30 %32 = tail call i32 @__free_page(ptr noundef nonnull %17) #3 br label %50 33: ; preds = %23 br i1 %29, label %36, label %34 34: ; preds = %33 %35 = tail call i32 @get_page(ptr noundef nonnull %17) #3 br label %36 36: ; preds = %34, %33 %37 = getelementptr inbounds %struct.lbuf, ptr %27, i64 0, i32 5 store i64 %24, ptr %37, align 8, !tbaa !14 %38 = getelementptr inbounds i8, ptr %20, i64 %24 store ptr %38, ptr %27, align 8, !tbaa !16 %39 = getelementptr inbounds %struct.lbuf, ptr %27, i64 0, i32 4 store ptr %17, ptr %39, align 8, !tbaa !17 %40 = getelementptr inbounds %struct.lbuf, ptr %27, i64 0, i32 3 store ptr %0, ptr %40, align 8, !tbaa !18 %41 = getelementptr inbounds %struct.lbuf, ptr %27, i64 0, i32 2 %42 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %41) #3 %43 = load ptr, ptr %0, align 8, !tbaa !5 %44 = getelementptr inbounds %struct.lbuf, ptr %27, i64 0, i32 1 store ptr %43, ptr %44, align 8, !tbaa !19 store ptr %27, ptr %0, align 8, !tbaa !5 %45 = add nsw i32 %25, 1 %46 = load i64, ptr @LOGPSIZE, align 8, !tbaa !12 %47 = add nsw i64 %46, %24 %48 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !12 %49 = icmp slt i64 %47, %48 br i1 %49, label %23, label %8, !llvm.loop !20 50: ; preds = %12, %31, %30 %51 = tail call i32 @lbmLogShutdown(ptr noundef nonnull %0) #3 %52 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %53 = sub nsw i32 0, %52 br label %54 54: ; preds = %8, %1, %50 %55 = phi i32 [ %53, %50 ], [ 0, %1 ], [ 0, %8 ] ret i32 %55 } declare i32 @jfs_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 declare i32 @get_page(ptr noundef) local_unnamed_addr #1 declare i32 @lbmLogShutdown(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"jfs_log", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 40} !15 = !{!"lbuf", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !13, i64 40} !16 = !{!15, !7, i64 0} !17 = !{!15, !7, i64 32} !18 = !{!15, !7, i64 24} !19 = !{!15, !7, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_logmgr.c_lbmLogInit.c' source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_logmgr.c_lbmLogInit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"lbmLogInit: log:0x%p\00", align 1 @LOGPAGES = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @__GFP_ZERO = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @LOGPSIZE = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lbmLogInit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lbmLogInit(ptr noundef %0) #0 { %2 = tail call i32 @jfs_info(ptr noundef nonnull @.str, ptr noundef %0) #3 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false) %5 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %4) #3 store ptr null, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @LOGPAGES, align 4, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %12, label %54 8: ; preds = %36, %19 %9 = phi i32 [ %13, %19 ], [ %45, %36 ] %10 = load i32, ptr @LOGPAGES, align 4, !tbaa !12 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %54 12: ; preds = %1, %8 %13 = phi i32 [ %9, %8 ], [ 0, %1 ] %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %15 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !12 %16 = or i32 %15, %14 %17 = tail call ptr @alloc_page(i32 noundef %16) #3 %18 = icmp eq ptr %17, null br i1 %18, label %50, label %19 19: ; preds = %12 %20 = tail call ptr @page_address(ptr noundef nonnull %17) #3 %21 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !13 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %8 23: ; preds = %19, %36 %24 = phi i64 [ %47, %36 ], [ 0, %19 ] %25 = phi i32 [ %45, %36 ], [ %13, %19 ] %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %27 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %26) #3 %28 = icmp eq ptr %27, null %29 = icmp eq i64 %24, 0 br i1 %28, label %30, label %33 30: ; preds = %23 br i1 %29, label %31, label %50 31: ; preds = %30 %32 = tail call i32 @__free_page(ptr noundef nonnull %17) #3 br label %50 33: ; preds = %23 br i1 %29, label %36, label %34 34: ; preds = %33 %35 = tail call i32 @get_page(ptr noundef nonnull %17) #3 br label %36 36: ; preds = %34, %33 %37 = getelementptr inbounds i8, ptr %27, i64 40 store i64 %24, ptr %37, align 8, !tbaa !15 %38 = getelementptr inbounds i8, ptr %20, i64 %24 store ptr %38, ptr %27, align 8, !tbaa !17 %39 = getelementptr inbounds i8, ptr %27, i64 32 store ptr %17, ptr %39, align 8, !tbaa !18 %40 = getelementptr inbounds i8, ptr %27, i64 24 store ptr %0, ptr %40, align 8, !tbaa !19 %41 = getelementptr inbounds i8, ptr %27, i64 16 %42 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %41) #3 %43 = load ptr, ptr %0, align 8, !tbaa !6 %44 = getelementptr inbounds i8, ptr %27, i64 8 store ptr %43, ptr %44, align 8, !tbaa !20 store ptr %27, ptr %0, align 8, !tbaa !6 %45 = add nsw i32 %25, 1 %46 = load i64, ptr @LOGPSIZE, align 8, !tbaa !13 %47 = add nsw i64 %46, %24 %48 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !13 %49 = icmp slt i64 %47, %48 br i1 %49, label %23, label %8, !llvm.loop !21 50: ; preds = %12, %31, %30 %51 = tail call i32 @lbmLogShutdown(ptr noundef nonnull %0) #3 %52 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %53 = sub nsw i32 0, %52 br label %54 54: ; preds = %8, %1, %50 %55 = phi i32 [ %53, %50 ], [ 0, %1 ], [ 0, %8 ] ret i32 %55 } declare i32 @jfs_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 declare i32 @get_page(ptr noundef) local_unnamed_addr #1 declare i32 @lbmLogShutdown(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"jfs_log", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !14, i64 40} !16 = !{!"lbuf", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 32, !14, i64 40} !17 = !{!16, !8, i64 0} !18 = !{!16, !8, i64 32} !19 = !{!16, !8, i64 24} !20 = !{!16, !8, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
linux_fs_jfs_extr_jfs_logmgr.c_lbmLogInit
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_main.c_pch_gbe_configure_rx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_main.c_pch_gbe_configure_rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pch_gbe_adapter = type { ptr, i32, %struct.pch_gbe_hw } %struct.pch_gbe_hw = type { ptr } %struct.TYPE_3__ = type { i64, i64 } %struct.TYPE_4__ = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [35 x i8] c"dma adr = 0x%08llx size = 0x%08x\0A\00", align 1 @PCH_GBE_RX_DMA_EN = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [47 x i8] c"MAC_RX_EN reg = 0x%08x DMA_CTRL reg = 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pch_gbe_configure_rx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pch_gbe_configure_rx(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.pch_gbe_adapter, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.pch_gbe_adapter, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !16 %9 = tail call i32 @netdev_dbg(i32 noundef %4, ptr noundef nonnull @.str, i64 noundef %6, i64 noundef %8) #2 %10 = tail call i32 @pch_gbe_mac_force_mac_fc(ptr noundef nonnull %2) #2 %11 = tail call i32 @pch_gbe_disable_mac_rx(ptr noundef nonnull %2) #2 %12 = load ptr, ptr %2, align 8, !tbaa !17 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i64 0, i32 3 %14 = tail call i64 @ioread32(ptr noundef nonnull %13) #2 %15 = load i64, ptr @PCH_GBE_RX_DMA_EN, align 8, !tbaa !18 %16 = xor i64 %15, -1 %17 = and i64 %14, %16 %18 = load ptr, ptr %2, align 8, !tbaa !17 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %18, i64 0, i32 3 %20 = tail call i32 @iowrite32(i64 noundef %17, ptr noundef nonnull %19) #2 %21 = load i32, ptr %3, align 8, !tbaa !5 %22 = load ptr, ptr %2, align 8, !tbaa !17 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 0, i32 4 %24 = tail call i64 @ioread32(ptr noundef nonnull %23) #2 %25 = load ptr, ptr %2, align 8, !tbaa !17 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 0, i32 3 %27 = tail call i64 @ioread32(ptr noundef nonnull %26) #2 %28 = tail call i32 @netdev_dbg(i32 noundef %21, ptr noundef nonnull @.str.1, i64 noundef %24, i64 noundef %27) #2 %29 = load ptr, ptr %0, align 8, !tbaa !12 %30 = load i64, ptr %29, align 8, !tbaa !13 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 0, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !16 %33 = add i64 %32, -16 %34 = load ptr, ptr %2, align 8, !tbaa !17 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %34, i64 0, i32 2 %36 = tail call i32 @iowrite32(i64 noundef %30, ptr noundef nonnull %35) #2 %37 = load ptr, ptr %2, align 8, !tbaa !17 %38 = getelementptr inbounds %struct.TYPE_4__, ptr %37, i64 0, i32 1 %39 = tail call i32 @iowrite32(i64 noundef %33, ptr noundef nonnull %38) #2 %40 = add i64 %33, %30 %41 = load ptr, ptr %2, align 8, !tbaa !17 %42 = tail call i32 @iowrite32(i64 noundef %40, ptr noundef %41) #2 ret void } declare i32 @netdev_dbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pch_gbe_mac_force_mac_fc(ptr noundef) local_unnamed_addr #1 declare i32 @pch_gbe_disable_mac_rx(ptr noundef) local_unnamed_addr #1 declare i64 @ioread32(ptr noundef) local_unnamed_addr #1 declare i32 @iowrite32(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"pch_gbe_adapter", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"pch_gbe_hw", !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_3__", !15, i64 0, !15, i64 8} !15 = !{!"long long", !8, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!11, !7, i64 0} !18 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_main.c_pch_gbe_configure_rx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_main.c_pch_gbe_configure_rx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [35 x i8] c"dma adr = 0x%08llx size = 0x%08x\0A\00", align 1 @PCH_GBE_RX_DMA_EN = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [47 x i8] c"MAC_RX_EN reg = 0x%08x DMA_CTRL reg = 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pch_gbe_configure_rx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pch_gbe_configure_rx(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !13 %6 = load i64, ptr %5, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !17 %9 = tail call i32 @netdev_dbg(i32 noundef %4, ptr noundef nonnull @.str, i64 noundef %6, i64 noundef %8) #2 %10 = tail call i32 @pch_gbe_mac_force_mac_fc(ptr noundef nonnull %2) #2 %11 = tail call i32 @pch_gbe_disable_mac_rx(ptr noundef nonnull %2) #2 %12 = load ptr, ptr %2, align 8, !tbaa !18 %13 = getelementptr inbounds i8, ptr %12, i64 12 %14 = tail call i64 @ioread32(ptr noundef nonnull %13) #2 %15 = load i64, ptr @PCH_GBE_RX_DMA_EN, align 8, !tbaa !19 %16 = xor i64 %15, -1 %17 = and i64 %14, %16 %18 = load ptr, ptr %2, align 8, !tbaa !18 %19 = getelementptr inbounds i8, ptr %18, i64 12 %20 = tail call i32 @iowrite32(i64 noundef %17, ptr noundef nonnull %19) #2 %21 = load i32, ptr %3, align 8, !tbaa !6 %22 = load ptr, ptr %2, align 8, !tbaa !18 %23 = getelementptr inbounds i8, ptr %22, i64 16 %24 = tail call i64 @ioread32(ptr noundef nonnull %23) #2 %25 = load ptr, ptr %2, align 8, !tbaa !18 %26 = getelementptr inbounds i8, ptr %25, i64 12 %27 = tail call i64 @ioread32(ptr noundef nonnull %26) #2 %28 = tail call i32 @netdev_dbg(i32 noundef %21, ptr noundef nonnull @.str.1, i64 noundef %24, i64 noundef %27) #2 %29 = load ptr, ptr %0, align 8, !tbaa !13 %30 = load i64, ptr %29, align 8, !tbaa !14 %31 = getelementptr inbounds i8, ptr %29, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = add i64 %32, -16 %34 = load ptr, ptr %2, align 8, !tbaa !18 %35 = getelementptr inbounds i8, ptr %34, i64 8 %36 = tail call i32 @iowrite32(i64 noundef %30, ptr noundef nonnull %35) #2 %37 = load ptr, ptr %2, align 8, !tbaa !18 %38 = getelementptr inbounds i8, ptr %37, i64 4 %39 = tail call i32 @iowrite32(i64 noundef %33, ptr noundef nonnull %38) #2 %40 = add i64 %33, %30 %41 = load ptr, ptr %2, align 8, !tbaa !18 %42 = tail call i32 @iowrite32(i64 noundef %40, ptr noundef %41) #2 ret void } declare i32 @netdev_dbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pch_gbe_mac_force_mac_fc(ptr noundef) local_unnamed_addr #1 declare i32 @pch_gbe_disable_mac_rx(ptr noundef) local_unnamed_addr #1 declare i64 @ioread32(ptr noundef) local_unnamed_addr #1 declare i32 @iowrite32(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"pch_gbe_adapter", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"pch_gbe_hw", !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_3__", !16, i64 0, !16, i64 8} !16 = !{!"long long", !9, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!12, !8, i64 0} !19 = !{!16, !16, i64 0}
linux_drivers_net_ethernet_oki-semi_pch_gbe_extr_pch_gbe_main.c_pch_gbe_configure_rx
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_request.c_le_scan_restart.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_request.c_le_scan_restart.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hci_cp_le_set_ext_scan_enable = type { ptr, ptr } %struct.hci_cp_le_set_scan_enable = type { ptr, ptr } @HCI_LE_SCAN = dso_local local_unnamed_addr global i32 0, align 4 @LE_SCAN_ENABLE = dso_local local_unnamed_addr global ptr null, align 8 @LE_SCAN_FILTER_DUP_ENABLE = dso_local local_unnamed_addr global ptr null, align 8 @HCI_OP_LE_SET_EXT_SCAN_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_SCAN_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @le_scan_restart], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @le_scan_restart(ptr noundef %0, i64 %1) #0 { %3 = alloca %struct.hci_cp_le_set_ext_scan_enable, align 8 %4 = alloca %struct.hci_cp_le_set_scan_enable, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @HCI_LE_SCAN, align 4, !tbaa !10 %7 = tail call i32 @hci_dev_test_flag(ptr noundef %5, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %27, label %9 9: ; preds = %2 %10 = tail call i32 @hci_req_add_le_scan_disable(ptr noundef nonnull %0) #3 %11 = tail call i64 @use_ext_scan(ptr noundef %5) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %14 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3 %15 = load ptr, ptr @LE_SCAN_ENABLE, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.hci_cp_le_set_ext_scan_enable, ptr %3, i64 0, i32 1 store ptr %15, ptr %16, align 8, !tbaa !13 %17 = load ptr, ptr @LE_SCAN_FILTER_DUP_ENABLE, align 8, !tbaa !12 store ptr %17, ptr %3, align 8, !tbaa !15 %18 = load i32, ptr @HCI_OP_LE_SET_EXT_SCAN_ENABLE, align 4, !tbaa !10 %19 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 16, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 br label %27 20: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %21 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 16) #3 %22 = load ptr, ptr @LE_SCAN_ENABLE, align 8, !tbaa !12 %23 = getelementptr inbounds %struct.hci_cp_le_set_scan_enable, ptr %4, i64 0, i32 1 store ptr %22, ptr %23, align 8, !tbaa !16 %24 = load ptr, ptr @LE_SCAN_FILTER_DUP_ENABLE, align 8, !tbaa !12 store ptr %24, ptr %4, align 8, !tbaa !18 %25 = load i32, ptr @HCI_OP_LE_SET_SCAN_ENABLE, align 4, !tbaa !10 %26 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 16, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %27 27: ; preds = %13, %20, %2 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add_le_scan_disable(ptr noundef) local_unnamed_addr #2 declare i64 @use_ext_scan(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hci_request", !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 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"hci_cp_le_set_ext_scan_enable", !7, i64 0, !7, i64 8} !15 = !{!14, !7, i64 0} !16 = !{!17, !7, i64 8} !17 = !{!"hci_cp_le_set_scan_enable", !7, i64 0, !7, i64 8} !18 = !{!17, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_request.c_le_scan_restart.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_request.c_le_scan_restart.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hci_cp_le_set_ext_scan_enable = type { ptr, ptr } %struct.hci_cp_le_set_scan_enable = type { ptr, ptr } @HCI_LE_SCAN = common local_unnamed_addr global i32 0, align 4 @LE_SCAN_ENABLE = common local_unnamed_addr global ptr null, align 8 @LE_SCAN_FILTER_DUP_ENABLE = common local_unnamed_addr global ptr null, align 8 @HCI_OP_LE_SET_EXT_SCAN_ENABLE = common local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_SCAN_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @le_scan_restart], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @le_scan_restart(ptr noundef %0, i64 %1) #0 { %3 = alloca %struct.hci_cp_le_set_ext_scan_enable, align 8 %4 = alloca %struct.hci_cp_le_set_scan_enable, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @HCI_LE_SCAN, align 4, !tbaa !11 %7 = tail call i32 @hci_dev_test_flag(ptr noundef %5, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %27, label %9 9: ; preds = %2 %10 = tail call i32 @hci_req_add_le_scan_disable(ptr noundef nonnull %0) #3 %11 = tail call i64 @use_ext_scan(ptr noundef %5) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %14 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 16) #3 %15 = load ptr, ptr @LE_SCAN_ENABLE, align 8, !tbaa !13 %16 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %15, ptr %16, align 8, !tbaa !14 %17 = load ptr, ptr @LE_SCAN_FILTER_DUP_ENABLE, align 8, !tbaa !13 store ptr %17, ptr %3, align 8, !tbaa !16 %18 = load i32, ptr @HCI_OP_LE_SET_EXT_SCAN_ENABLE, align 4, !tbaa !11 %19 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 16, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 br label %27 20: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %21 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 16) #3 %22 = load ptr, ptr @LE_SCAN_ENABLE, align 8, !tbaa !13 %23 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %22, ptr %23, align 8, !tbaa !17 %24 = load ptr, ptr @LE_SCAN_FILTER_DUP_ENABLE, align 8, !tbaa !13 store ptr %24, ptr %4, align 8, !tbaa !19 %25 = load i32, ptr @HCI_OP_LE_SET_SCAN_ENABLE, align 4, !tbaa !11 %26 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 16, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %27 27: ; preds = %13, %20, %2 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add_le_scan_disable(ptr noundef) local_unnamed_addr #2 declare i64 @use_ext_scan(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hci_request", !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 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"hci_cp_le_set_ext_scan_enable", !8, i64 0, !8, i64 8} !16 = !{!15, !8, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"hci_cp_le_set_scan_enable", !8, i64 0, !8, i64 8} !19 = !{!18, !8, i64 0}
linux_net_bluetooth_extr_hci_request.c_le_scan_restart
; ModuleID = 'AnghaBench/freebsd/gnu/usr.bin/grep/extr_dfa.c_state_index.c' source_filename = "AnghaBench/freebsd/gnu/usr.bin/grep/extr_dfa.c_state_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_11__ = type { i32, ptr } %struct.TYPE_10__ = type { i32, i32 } %struct.dfa = type { i32, ptr, ptr, i32 } %struct.TYPE_13__ = type { i32, i32, i32, i32, i32, i64, %struct.TYPE_9__, %struct.TYPE_12__ } %struct.TYPE_9__ = type { i64 } %struct.TYPE_12__ = type { i32, ptr } %struct.TYPE_14__ = type { i32, i32 } @dfa_state = dso_local local_unnamed_addr global i32 0, align 4 @position = dso_local local_unnamed_addr global i32 0, align 4 @BACKREF = dso_local local_unnamed_addr global i64 0, align 8 @NO_CONSTRAINT = dso_local local_unnamed_addr global i32 0, align 4 @MB_CUR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @state_index], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @state_index(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp ne i32 %2, 0 %6 = zext i1 %5 to i32 %7 = icmp ne i32 %3, 0 %8 = zext i1 %7 to i32 %9 = load i32, ptr %1, align 8, !tbaa !5 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %44 11: ; preds = %4 %12 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = zext nneg i32 %9 to i64 %15 = icmp ult i32 %9, 8 br i1 %15, label %41, label %16 16: ; preds = %11 %17 = and i64 %14, 2147483640 br label %18 18: ; preds = %18, %16 %19 = phi i64 [ 0, %16 ], [ %35, %18 ] %20 = phi <4 x i32> [ zeroinitializer, %16 ], [ %33, %18 ] %21 = phi <4 x i32> [ zeroinitializer, %16 ], [ %34, %18 ] %22 = or disjoint i64 %19, 4 %23 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %19 %24 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %22 %25 = load <8 x i32>, ptr %23, align 4, !tbaa !12 %26 = load <8 x i32>, ptr %24, align 4, !tbaa !12 %27 = shufflevector <8 x i32> %25, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %28 = shufflevector <8 x i32> %26, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %29 = shufflevector <8 x i32> %25, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %30 = shufflevector <8 x i32> %26, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %31 = add nsw <4 x i32> %29, %27 %32 = add nsw <4 x i32> %30, %28 %33 = xor <4 x i32> %31, %20 %34 = xor <4 x i32> %32, %21 %35 = add nuw i64 %19, 8 %36 = icmp eq i64 %35, %17 br i1 %36, label %37, label %18, !llvm.loop !13 37: ; preds = %18 %38 = xor <4 x i32> %34, %33 %39 = tail call i32 @llvm.vector.reduce.xor.v4i32(<4 x i32> %38) %40 = icmp eq i64 %17, %14 br i1 %40, label %44, label %41 41: ; preds = %11, %37 %42 = phi i64 [ 0, %11 ], [ %17, %37 ] %43 = phi i32 [ 0, %11 ], [ %39, %37 ] br label %54 44: ; preds = %54, %37, %4 %45 = phi i32 [ 0, %4 ], [ %39, %37 ], [ %62, %54 ] %46 = load i32, ptr %0, align 8, !tbaa !17 %47 = icmp sgt i32 %46, 0 %48 = getelementptr inbounds %struct.dfa, ptr %0, i64 0, i32 2 %49 = load ptr, ptr %48, align 8, !tbaa !19 br i1 %47, label %50, label %111 50: ; preds = %44 %51 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 %52 = zext nneg i32 %46 to i64 %53 = zext nneg i32 %9 to i64 br label %65 54: ; preds = %41, %54 %55 = phi i64 [ %63, %54 ], [ %42, %41 ] %56 = phi i32 [ %62, %54 ], [ %43, %41 ] %57 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %55 %58 = load i32, ptr %57, align 4, !tbaa !20 %59 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %55, i32 1 %60 = load i32, ptr %59, align 4, !tbaa !22 %61 = add nsw i32 %60, %58 %62 = xor i32 %61, %56 %63 = add nuw nsw i64 %55, 1 %64 = icmp eq i64 %63, %14 br i1 %64, label %44, label %54, !llvm.loop !23 65: ; preds = %50, %108 %66 = phi i64 [ 0, %50 ], [ %109, %108 ] %67 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %66 %68 = load i32, ptr %67, align 8, !tbaa !24 %69 = icmp eq i32 %45, %68 br i1 %69, label %70, label %108 70: ; preds = %65 %71 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %66, i32 7 %72 = load i32, ptr %71, align 8, !tbaa !29 %73 = icmp eq i32 %9, %72 br i1 %73, label %74, label %108 74: ; preds = %70 %75 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %66, i32 1 %76 = load i32, ptr %75, align 4, !tbaa !30 %77 = icmp eq i32 %76, %6 br i1 %77, label %78, label %108 78: ; preds = %74 %79 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %66, i32 2 %80 = load i32, ptr %79, align 8, !tbaa !31 %81 = icmp eq i32 %80, %8 br i1 %81, label %82, label %108 82: ; preds = %78 br i1 %10, label %83, label %105 83: ; preds = %82 %84 = load ptr, ptr %51, align 8, !tbaa !11 %85 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %66, i32 7, i32 1 %86 = load ptr, ptr %85, align 8, !tbaa !32 br label %87 87: ; preds = %83, %100 %88 = phi i64 [ 0, %83 ], [ %101, %100 ] %89 = getelementptr inbounds %struct.TYPE_10__, ptr %84, i64 %88, i32 1 %90 = load i32, ptr %89, align 4, !tbaa !22 %91 = getelementptr inbounds %struct.TYPE_14__, ptr %86, i64 %88 %92 = load i32, ptr %91, align 4, !tbaa !33 %93 = icmp eq i32 %90, %92 br i1 %93, label %94, label %103 94: ; preds = %87 %95 = getelementptr inbounds %struct.TYPE_10__, ptr %84, i64 %88 %96 = load i32, ptr %95, align 4, !tbaa !20 %97 = getelementptr inbounds %struct.TYPE_14__, ptr %86, i64 %88, i32 1 %98 = load i32, ptr %97, align 4, !tbaa !35 %99 = icmp eq i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %94 %101 = add nuw nsw i64 %88, 1 %102 = icmp eq i64 %101, %53 br i1 %102, label %201, label %87, !llvm.loop !36 103: ; preds = %87, %94 %104 = trunc i64 %88 to i32 br label %105 105: ; preds = %103, %82 %106 = phi i32 [ 0, %82 ], [ %104, %103 ] %107 = icmp eq i32 %106, %9 br i1 %107, label %201, label %108 108: ; preds = %105, %65, %70, %74, %78 %109 = add nuw nsw i64 %66, 1 %110 = icmp eq i64 %109, %52 br i1 %110, label %111, label %65, !llvm.loop !37 111: ; preds = %108, %44 %112 = phi i32 [ 0, %44 ], [ %46, %108 ] %113 = getelementptr inbounds %struct.dfa, ptr %0, i64 0, i32 2 %114 = load i32, ptr @dfa_state, align 4, !tbaa !12 %115 = getelementptr inbounds %struct.dfa, ptr %0, i64 0, i32 3 %116 = load i32, ptr %115, align 8, !tbaa !38 %117 = tail call i32 @REALLOC_IF_NECESSARY(ptr noundef %49, i32 noundef %114, i32 noundef %116, i32 noundef %46) #3 %118 = load ptr, ptr %113, align 8, !tbaa !19 %119 = zext nneg i32 %112 to i64 %120 = getelementptr inbounds %struct.TYPE_13__, ptr %118, i64 %119 store i32 %45, ptr %120, align 8, !tbaa !24 %121 = getelementptr inbounds %struct.TYPE_13__, ptr %118, i64 %119, i32 7, i32 1 %122 = load ptr, ptr %121, align 8, !tbaa !32 %123 = load i32, ptr @position, align 4, !tbaa !12 %124 = load i32, ptr %1, align 8, !tbaa !5 %125 = tail call i32 @MALLOC(ptr noundef %122, i32 noundef %123, i32 noundef %124) #3 %126 = load ptr, ptr %113, align 8, !tbaa !19 %127 = getelementptr inbounds %struct.TYPE_13__, ptr %126, i64 %119, i32 7 %128 = tail call i32 @copy(ptr noundef nonnull %1, ptr noundef nonnull %127) #3 %129 = load ptr, ptr %113, align 8, !tbaa !19 %130 = getelementptr inbounds %struct.TYPE_13__, ptr %129, i64 %119, i32 1 store i32 %6, ptr %130, align 4, !tbaa !30 %131 = getelementptr inbounds %struct.TYPE_13__, ptr %129, i64 %119, i32 2 store i32 %8, ptr %131, align 8, !tbaa !31 %132 = getelementptr inbounds %struct.TYPE_13__, ptr %129, i64 %119, i32 3 store i32 0, ptr %132, align 4, !tbaa !39 %133 = getelementptr inbounds %struct.TYPE_13__, ptr %129, i64 %119, i32 4 store i32 0, ptr %133, align 8, !tbaa !40 %134 = getelementptr inbounds %struct.TYPE_13__, ptr %129, i64 %119, i32 5 store i64 0, ptr %134, align 8, !tbaa !41 %135 = load i32, ptr %1, align 8, !tbaa !5 %136 = icmp sgt i32 %135, 0 br i1 %136, label %137, label %198 137: ; preds = %111 %138 = getelementptr inbounds %struct.dfa, ptr %0, i64 0, i32 1 %139 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 br label %140 140: ; preds = %137, %192 %141 = phi ptr [ %129, %137 ], [ %193, %192 ] %142 = phi i64 [ 0, %137 ], [ %194, %192 ] %143 = load ptr, ptr %138, align 8, !tbaa !42 %144 = load ptr, ptr %139, align 8, !tbaa !11 %145 = getelementptr inbounds %struct.TYPE_10__, ptr %144, i64 %142 %146 = load i32, ptr %145, align 4, !tbaa !20 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i64, ptr %143, i64 %147 %149 = load i64, ptr %148, align 8, !tbaa !43 %150 = icmp slt i64 %149, 0 br i1 %150, label %151, label %185 151: ; preds = %140 %152 = getelementptr inbounds %struct.TYPE_10__, ptr %144, i64 %142, i32 1 %153 = load i32, ptr %152, align 4, !tbaa !22 %154 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %153, i32 noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef 0) #3 %155 = icmp eq i64 %154, 0 br i1 %155, label %156, label %167 156: ; preds = %151 %157 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %153, i32 noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef 1) #3 %158 = icmp eq i64 %157, 0 br i1 %158, label %159, label %167 159: ; preds = %156 %160 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %153, i32 noundef %6, i32 noundef 1, i32 noundef %8, i32 noundef 0) #3 %161 = icmp eq i64 %160, 0 br i1 %161, label %162, label %167 162: ; preds = %159 %163 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %153, i32 noundef %6, i32 noundef 1, i32 noundef %8, i32 noundef 1) #3 %164 = icmp eq i64 %163, 0 br i1 %164, label %165, label %167 165: ; preds = %162 %166 = load ptr, ptr %113, align 8, !tbaa !19 br label %172 167: ; preds = %162, %159, %156, %151 %168 = load ptr, ptr %113, align 8, !tbaa !19 %169 = getelementptr inbounds %struct.TYPE_13__, ptr %168, i64 %119, i32 4 %170 = load i32, ptr %169, align 8, !tbaa !40 %171 = or i32 %170, %153 store i32 %171, ptr %169, align 8, !tbaa !40 br label %172 172: ; preds = %165, %167 %173 = phi ptr [ %166, %165 ], [ %168, %167 ] %174 = getelementptr inbounds %struct.TYPE_13__, ptr %173, i64 %119, i32 5 %175 = load i64, ptr %174, align 8, !tbaa !41 %176 = icmp eq i64 %175, 0 br i1 %176, label %177, label %192 177: ; preds = %172 %178 = load ptr, ptr %138, align 8, !tbaa !42 %179 = load ptr, ptr %139, align 8, !tbaa !11 %180 = getelementptr inbounds %struct.TYPE_10__, ptr %179, i64 %142 %181 = load i32, ptr %180, align 4, !tbaa !20 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i64, ptr %178, i64 %182 %184 = load i64, ptr %183, align 8, !tbaa !43 store i64 %184, ptr %174, align 8, !tbaa !41 br label %192 185: ; preds = %140 %186 = load i64, ptr @BACKREF, align 8, !tbaa !43 %187 = icmp eq i64 %149, %186 br i1 %187, label %188, label %192 188: ; preds = %185 %189 = load i32, ptr @NO_CONSTRAINT, align 4, !tbaa !12 %190 = getelementptr inbounds %struct.TYPE_13__, ptr %141, i64 %119, i32 4 store i32 %189, ptr %190, align 8, !tbaa !40 %191 = getelementptr inbounds %struct.TYPE_13__, ptr %141, i64 %119, i32 3 store i32 1, ptr %191, align 4, !tbaa !39 br label %192 192: ; preds = %177, %172, %188, %185 %193 = phi ptr [ %173, %177 ], [ %173, %172 ], [ %141, %188 ], [ %141, %185 ] %194 = add nuw nsw i64 %142, 1 %195 = load i32, ptr %1, align 8, !tbaa !5 %196 = sext i32 %195 to i64 %197 = icmp slt i64 %194, %196 br i1 %197, label %140, label %198, !llvm.loop !44 198: ; preds = %192, %111 %199 = load i32, ptr %0, align 8, !tbaa !17 %200 = add nsw i32 %199, 1 store i32 %200, ptr %0, align 8, !tbaa !17 br label %203 201: ; preds = %105, %100 %202 = trunc i64 %66 to i32 br label %203 203: ; preds = %201, %198 %204 = phi i32 [ %112, %198 ], [ %202, %201 ] ret i32 %204 } declare i32 @REALLOC_IF_NECESSARY(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MALLOC(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @SUCCEEDS_IN_CONTEXT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.xor.v4i32(<4 x 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 = !{!"TYPE_11__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14, !15, !16} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!"llvm.loop.isvectorized", i32 1} !16 = !{!"llvm.loop.unroll.runtime.disable"} !17 = !{!18, !7, i64 0} !18 = !{!"dfa", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !19 = !{!18, !10, i64 16} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_10__", !7, i64 0, !7, i64 4} !22 = !{!21, !7, i64 4} !23 = distinct !{!23, !14, !16, !15} !24 = !{!25, !7, i64 0} !25 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !26, i64 24, !27, i64 32, !28, i64 40} !26 = !{!"long", !8, i64 0} !27 = !{!"TYPE_9__", !26, i64 0} !28 = !{!"TYPE_12__", !7, i64 0, !10, i64 8} !29 = !{!25, !7, i64 40} !30 = !{!25, !7, i64 4} !31 = !{!25, !7, i64 8} !32 = !{!25, !10, i64 48} !33 = !{!34, !7, i64 0} !34 = !{!"TYPE_14__", !7, i64 0, !7, i64 4} !35 = !{!34, !7, i64 4} !36 = distinct !{!36, !14} !37 = distinct !{!37, !14} !38 = !{!18, !7, i64 24} !39 = !{!25, !7, i64 12} !40 = !{!25, !7, i64 16} !41 = !{!25, !26, i64 24} !42 = !{!18, !10, i64 8} !43 = !{!26, !26, i64 0} !44 = distinct !{!44, !14}
; ModuleID = 'AnghaBench/freebsd/gnu/usr.bin/grep/extr_dfa.c_state_index.c' source_filename = "AnghaBench/freebsd/gnu/usr.bin/grep/extr_dfa.c_state_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i32, i32 } %struct.TYPE_13__ = type { i32, i32, i32, i32, i32, i64, %struct.TYPE_9__, %struct.TYPE_12__ } %struct.TYPE_9__ = type { i64 } %struct.TYPE_12__ = type { i32, ptr } %struct.TYPE_14__ = type { i32, i32 } @dfa_state = common local_unnamed_addr global i32 0, align 4 @position = common local_unnamed_addr global i32 0, align 4 @BACKREF = common local_unnamed_addr global i64 0, align 8 @NO_CONSTRAINT = common local_unnamed_addr global i32 0, align 4 @MB_CUR_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @state_index], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @state_index(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp ne i32 %2, 0 %6 = zext i1 %5 to i32 %7 = icmp ne i32 %3, 0 %8 = zext i1 %7 to i32 %9 = load i32, ptr %1, align 8, !tbaa !6 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %62 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = zext nneg i32 %9 to i64 %15 = icmp ult i32 %9, 16 br i1 %15, label %16, label %19 16: ; preds = %56, %11 %17 = phi i64 [ 0, %11 ], [ %20, %56 ] %18 = phi i32 [ 0, %11 ], [ %60, %56 ] br label %72 19: ; preds = %11 %20 = and i64 %14, 2147483632 br label %21 21: ; preds = %21, %19 %22 = phi i64 [ 0, %19 ], [ %54, %21 ] %23 = phi <4 x i32> [ zeroinitializer, %19 ], [ %50, %21 ] %24 = phi <4 x i32> [ zeroinitializer, %19 ], [ %51, %21 ] %25 = phi <4 x i32> [ zeroinitializer, %19 ], [ %52, %21 ] %26 = phi <4 x i32> [ zeroinitializer, %19 ], [ %53, %21 ] %27 = or disjoint i64 %22, 4 %28 = or disjoint i64 %22, 8 %29 = or disjoint i64 %22, 12 %30 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %22 %31 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %27 %32 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %28 %33 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %29 %34 = load <8 x i32>, ptr %30, align 4, !tbaa !13 %35 = load <8 x i32>, ptr %31, align 4, !tbaa !13 %36 = load <8 x i32>, ptr %32, align 4, !tbaa !13 %37 = load <8 x i32>, ptr %33, align 4, !tbaa !13 %38 = shufflevector <8 x i32> %34, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %39 = shufflevector <8 x i32> %35, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %40 = shufflevector <8 x i32> %36, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %41 = shufflevector <8 x i32> %37, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %42 = shufflevector <8 x i32> %34, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %43 = shufflevector <8 x i32> %35, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %44 = shufflevector <8 x i32> %36, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %45 = shufflevector <8 x i32> %37, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7> %46 = add nsw <4 x i32> %42, %38 %47 = add nsw <4 x i32> %43, %39 %48 = add nsw <4 x i32> %44, %40 %49 = add nsw <4 x i32> %45, %41 %50 = xor <4 x i32> %46, %23 %51 = xor <4 x i32> %47, %24 %52 = xor <4 x i32> %48, %25 %53 = xor <4 x i32> %49, %26 %54 = add nuw i64 %22, 16 %55 = icmp eq i64 %54, %20 br i1 %55, label %56, label %21, !llvm.loop !14 56: ; preds = %21 %57 = xor <4 x i32> %51, %50 %58 = xor <4 x i32> %52, %57 %59 = xor <4 x i32> %53, %58 %60 = tail call i32 @llvm.vector.reduce.xor.v4i32(<4 x i32> %59) %61 = icmp eq i64 %20, %14 br i1 %61, label %62, label %16 62: ; preds = %72, %56, %4 %63 = phi i32 [ 0, %4 ], [ %60, %56 ], [ %80, %72 ] %64 = load i32, ptr %0, align 8, !tbaa !18 %65 = icmp sgt i32 %64, 0 %66 = getelementptr inbounds i8, ptr %0, i64 16 %67 = load ptr, ptr %66, align 8, !tbaa !20 br i1 %65, label %68, label %129 68: ; preds = %62 %69 = getelementptr inbounds i8, ptr %1, i64 8 %70 = zext nneg i32 %64 to i64 %71 = zext nneg i32 %9 to i64 br label %83 72: ; preds = %16, %72 %73 = phi i64 [ %81, %72 ], [ %17, %16 ] %74 = phi i32 [ %80, %72 ], [ %18, %16 ] %75 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %73 %76 = load i32, ptr %75, align 4, !tbaa !21 %77 = getelementptr inbounds i8, ptr %75, i64 4 %78 = load i32, ptr %77, align 4, !tbaa !23 %79 = add nsw i32 %78, %76 %80 = xor i32 %79, %74 %81 = add nuw nsw i64 %73, 1 %82 = icmp eq i64 %81, %14 br i1 %82, label %62, label %72, !llvm.loop !24 83: ; preds = %68, %126 %84 = phi i64 [ 0, %68 ], [ %127, %126 ] %85 = getelementptr inbounds %struct.TYPE_13__, ptr %67, i64 %84 %86 = load i32, ptr %85, align 8, !tbaa !25 %87 = icmp eq i32 %63, %86 br i1 %87, label %88, label %126 88: ; preds = %83 %89 = getelementptr inbounds i8, ptr %85, i64 40 %90 = load i32, ptr %89, align 8, !tbaa !30 %91 = icmp eq i32 %9, %90 br i1 %91, label %92, label %126 92: ; preds = %88 %93 = getelementptr inbounds i8, ptr %85, i64 4 %94 = load i32, ptr %93, align 4, !tbaa !31 %95 = icmp eq i32 %94, %6 br i1 %95, label %96, label %126 96: ; preds = %92 %97 = getelementptr inbounds i8, ptr %85, i64 8 %98 = load i32, ptr %97, align 8, !tbaa !32 %99 = icmp eq i32 %98, %8 br i1 %99, label %100, label %126 100: ; preds = %96 br i1 %10, label %101, label %123 101: ; preds = %100 %102 = load ptr, ptr %69, align 8, !tbaa !12 %103 = getelementptr inbounds %struct.TYPE_13__, ptr %67, i64 %84, i32 7, i32 1 %104 = load ptr, ptr %103, align 8, !tbaa !33 br label %105 105: ; preds = %101, %118 %106 = phi i64 [ 0, %101 ], [ %119, %118 ] %107 = getelementptr inbounds %struct.TYPE_10__, ptr %102, i64 %106 %108 = getelementptr inbounds i8, ptr %107, i64 4 %109 = load i32, ptr %108, align 4, !tbaa !23 %110 = getelementptr inbounds %struct.TYPE_14__, ptr %104, i64 %106 %111 = load i32, ptr %110, align 4, !tbaa !34 %112 = icmp eq i32 %109, %111 br i1 %112, label %113, label %121 113: ; preds = %105 %114 = load i32, ptr %107, align 4, !tbaa !21 %115 = getelementptr inbounds i8, ptr %110, i64 4 %116 = load i32, ptr %115, align 4, !tbaa !36 %117 = icmp eq i32 %114, %116 br i1 %117, label %118, label %121 118: ; preds = %113 %119 = add nuw nsw i64 %106, 1 %120 = icmp eq i64 %119, %71 br i1 %120, label %217, label %105, !llvm.loop !37 121: ; preds = %105, %113 %122 = trunc nuw nsw i64 %106 to i32 br label %123 123: ; preds = %121, %100 %124 = phi i32 [ 0, %100 ], [ %122, %121 ] %125 = icmp eq i32 %124, %9 br i1 %125, label %217, label %126 126: ; preds = %123, %83, %88, %92, %96 %127 = add nuw nsw i64 %84, 1 %128 = icmp eq i64 %127, %70 br i1 %128, label %129, label %83, !llvm.loop !38 129: ; preds = %126, %62 %130 = phi i32 [ 0, %62 ], [ %64, %126 ] %131 = load i32, ptr @dfa_state, align 4, !tbaa !13 %132 = getelementptr inbounds i8, ptr %0, i64 24 %133 = load i32, ptr %132, align 8, !tbaa !39 %134 = tail call i32 @REALLOC_IF_NECESSARY(ptr noundef %67, i32 noundef %131, i32 noundef %133, i32 noundef %64) #3 %135 = load ptr, ptr %66, align 8, !tbaa !20 %136 = zext nneg i32 %130 to i64 %137 = getelementptr inbounds %struct.TYPE_13__, ptr %135, i64 %136 store i32 %63, ptr %137, align 8, !tbaa !25 %138 = getelementptr inbounds %struct.TYPE_13__, ptr %135, i64 %136, i32 7, i32 1 %139 = load ptr, ptr %138, align 8, !tbaa !33 %140 = load i32, ptr @position, align 4, !tbaa !13 %141 = load i32, ptr %1, align 8, !tbaa !6 %142 = tail call i32 @MALLOC(ptr noundef %139, i32 noundef %140, i32 noundef %141) #3 %143 = load ptr, ptr %66, align 8, !tbaa !20 %144 = getelementptr inbounds %struct.TYPE_13__, ptr %143, i64 %136, i32 7 %145 = tail call i32 @copy(ptr noundef nonnull %1, ptr noundef nonnull %144) #3 %146 = load ptr, ptr %66, align 8, !tbaa !20 %147 = getelementptr inbounds %struct.TYPE_13__, ptr %146, i64 %136, i32 1 store i32 %6, ptr %147, align 4, !tbaa !31 %148 = getelementptr inbounds %struct.TYPE_13__, ptr %146, i64 %136, i32 2 store i32 %8, ptr %148, align 8, !tbaa !32 %149 = getelementptr inbounds %struct.TYPE_13__, ptr %146, i64 %136, i32 3 store <2 x i32> zeroinitializer, ptr %149, align 4, !tbaa !13 %150 = getelementptr inbounds %struct.TYPE_13__, ptr %146, i64 %136, i32 5 store i64 0, ptr %150, align 8, !tbaa !40 %151 = load i32, ptr %1, align 8, !tbaa !6 %152 = icmp sgt i32 %151, 0 br i1 %152, label %153, label %214 153: ; preds = %129 %154 = getelementptr inbounds i8, ptr %0, i64 8 %155 = getelementptr inbounds i8, ptr %1, i64 8 br label %156 156: ; preds = %153, %208 %157 = phi ptr [ %146, %153 ], [ %209, %208 ] %158 = phi i64 [ 0, %153 ], [ %210, %208 ] %159 = load ptr, ptr %154, align 8, !tbaa !41 %160 = load ptr, ptr %155, align 8, !tbaa !12 %161 = getelementptr inbounds %struct.TYPE_10__, ptr %160, i64 %158 %162 = load i32, ptr %161, align 4, !tbaa !21 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i64, ptr %159, i64 %163 %165 = load i64, ptr %164, align 8, !tbaa !42 %166 = icmp slt i64 %165, 0 br i1 %166, label %167, label %201 167: ; preds = %156 %168 = getelementptr inbounds i8, ptr %161, i64 4 %169 = load i32, ptr %168, align 4, !tbaa !23 %170 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %169, i32 noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef 0) #3 %171 = icmp eq i64 %170, 0 br i1 %171, label %172, label %183 172: ; preds = %167 %173 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %169, i32 noundef %6, i32 noundef 0, i32 noundef %8, i32 noundef 1) #3 %174 = icmp eq i64 %173, 0 br i1 %174, label %175, label %183 175: ; preds = %172 %176 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %169, i32 noundef %6, i32 noundef 1, i32 noundef %8, i32 noundef 0) #3 %177 = icmp eq i64 %176, 0 br i1 %177, label %178, label %183 178: ; preds = %175 %179 = tail call i64 @SUCCEEDS_IN_CONTEXT(i32 noundef %169, i32 noundef %6, i32 noundef 1, i32 noundef %8, i32 noundef 1) #3 %180 = icmp eq i64 %179, 0 br i1 %180, label %181, label %183 181: ; preds = %178 %182 = load ptr, ptr %66, align 8, !tbaa !20 br label %188 183: ; preds = %178, %175, %172, %167 %184 = load ptr, ptr %66, align 8, !tbaa !20 %185 = getelementptr inbounds %struct.TYPE_13__, ptr %184, i64 %136, i32 4 %186 = load i32, ptr %185, align 8, !tbaa !43 %187 = or i32 %186, %169 store i32 %187, ptr %185, align 8, !tbaa !43 br label %188 188: ; preds = %181, %183 %189 = phi ptr [ %182, %181 ], [ %184, %183 ] %190 = getelementptr inbounds %struct.TYPE_13__, ptr %189, i64 %136, i32 5 %191 = load i64, ptr %190, align 8, !tbaa !40 %192 = icmp eq i64 %191, 0 br i1 %192, label %193, label %208 193: ; preds = %188 %194 = load ptr, ptr %154, align 8, !tbaa !41 %195 = load ptr, ptr %155, align 8, !tbaa !12 %196 = getelementptr inbounds %struct.TYPE_10__, ptr %195, i64 %158 %197 = load i32, ptr %196, align 4, !tbaa !21 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i64, ptr %194, i64 %198 %200 = load i64, ptr %199, align 8, !tbaa !42 store i64 %200, ptr %190, align 8, !tbaa !40 br label %208 201: ; preds = %156 %202 = load i64, ptr @BACKREF, align 8, !tbaa !42 %203 = icmp eq i64 %165, %202 br i1 %203, label %204, label %208 204: ; preds = %201 %205 = load i32, ptr @NO_CONSTRAINT, align 4, !tbaa !13 %206 = getelementptr inbounds %struct.TYPE_13__, ptr %157, i64 %136, i32 4 store i32 %205, ptr %206, align 8, !tbaa !43 %207 = getelementptr inbounds %struct.TYPE_13__, ptr %157, i64 %136, i32 3 store i32 1, ptr %207, align 4, !tbaa !44 br label %208 208: ; preds = %193, %188, %204, %201 %209 = phi ptr [ %189, %193 ], [ %189, %188 ], [ %157, %204 ], [ %157, %201 ] %210 = add nuw nsw i64 %158, 1 %211 = load i32, ptr %1, align 8, !tbaa !6 %212 = sext i32 %211 to i64 %213 = icmp slt i64 %210, %212 br i1 %213, label %156, label %214, !llvm.loop !45 214: ; preds = %208, %129 %215 = load i32, ptr %0, align 8, !tbaa !18 %216 = add nsw i32 %215, 1 store i32 %216, ptr %0, align 8, !tbaa !18 br label %219 217: ; preds = %123, %118 %218 = trunc nuw nsw i64 %84 to i32 br label %219 219: ; preds = %217, %214 %220 = phi i32 [ %130, %214 ], [ %218, %217 ] ret i32 %220 } declare i32 @REALLOC_IF_NECESSARY(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MALLOC(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @SUCCEEDS_IN_CONTEXT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.xor.v4i32(<4 x 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 = !{!"TYPE_11__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15, !16, !17} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!"llvm.loop.isvectorized", i32 1} !17 = !{!"llvm.loop.unroll.runtime.disable"} !18 = !{!19, !8, i64 0} !19 = !{!"dfa", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !20 = !{!19, !11, i64 16} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_10__", !8, i64 0, !8, i64 4} !23 = !{!22, !8, i64 4} !24 = distinct !{!24, !15, !17, !16} !25 = !{!26, !8, i64 0} !26 = !{!"TYPE_13__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !27, i64 24, !28, i64 32, !29, i64 40} !27 = !{!"long", !9, i64 0} !28 = !{!"TYPE_9__", !27, i64 0} !29 = !{!"TYPE_12__", !8, i64 0, !11, i64 8} !30 = !{!26, !8, i64 40} !31 = !{!26, !8, i64 4} !32 = !{!26, !8, i64 8} !33 = !{!26, !11, i64 48} !34 = !{!35, !8, i64 0} !35 = !{!"TYPE_14__", !8, i64 0, !8, i64 4} !36 = !{!35, !8, i64 4} !37 = distinct !{!37, !15} !38 = distinct !{!38, !15} !39 = !{!19, !8, i64 24} !40 = !{!26, !27, i64 24} !41 = !{!19, !11, i64 8} !42 = !{!27, !27, i64 0} !43 = !{!26, !8, i64 16} !44 = !{!26, !8, i64 12} !45 = distinct !{!45, !15}
freebsd_gnu_usr.bin_grep_extr_dfa.c_state_index
; ModuleID = 'AnghaBench/git/extr_unpack-trees.c_do_compare_entry_piecewise.c' source_filename = "AnghaBench/git/extr_unpack-trees.c_do_compare_entry_piecewise.c" target datalayout = "e-m:e-p270:32:32-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.traverse_info = type { ptr, i64, i32, i32, ptr } @S_IFREG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_compare_entry_piecewise], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @do_compare_entry_piecewise(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.traverse_info, ptr %1, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %9 9: ; preds = %5 %10 = load ptr, ptr %1, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.traverse_info, ptr %1, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.traverse_info, ptr %1, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = tail call i32 @do_compare_entry_piecewise(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %10, i64 noundef %12, i32 noundef %14) %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %9, %5 %18 = getelementptr inbounds %struct.traverse_info, ptr %1, i64 0, i32 3 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = tail call i32 @ce_namelen(ptr noundef %0) #2 %21 = icmp slt i32 %20, %19 br i1 %21, label %29, label %22 22: ; preds = %17 %23 = sub nsw i32 %20, %19 %24 = load ptr, ptr %0, align 8, !tbaa !16 %25 = sext i32 %19 to i64 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i32, ptr @S_IFREG, align 4, !tbaa !18 %28 = tail call i32 @df_name_compare(ptr noundef %26, i32 noundef %23, i32 noundef %27, ptr noundef %2, i64 noundef %3, i32 noundef %4) #2 br label %29 29: ; preds = %17, %9, %22 %30 = phi i32 [ %28, %22 ], [ %15, %9 ], [ -1, %17 ] ret i32 %30 } declare i32 @ce_namelen(ptr noundef) local_unnamed_addr #1 declare i32 @df_name_compare(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"traverse_info", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !11, i64 16} !15 = !{!6, !11, i64 20} !16 = !{!17, !7, i64 0} !17 = !{!"cache_entry", !7, i64 0} !18 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/git/extr_unpack-trees.c_do_compare_entry_piecewise.c' source_filename = "AnghaBench/git/extr_unpack-trees.c_do_compare_entry_piecewise.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_IFREG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_compare_entry_piecewise], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @do_compare_entry_piecewise(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %1, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %9 9: ; preds = %5 %10 = load ptr, ptr %1, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @do_compare_entry_piecewise(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %10, i64 noundef %12, i32 noundef %14) %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %9, %5 %18 = getelementptr inbounds i8, ptr %1, i64 20 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call i32 @ce_namelen(ptr noundef %0) #2 %21 = icmp slt i32 %20, %19 br i1 %21, label %29, label %22 22: ; preds = %17 %23 = sub nsw i32 %20, %19 %24 = load ptr, ptr %0, align 8, !tbaa !17 %25 = sext i32 %19 to i64 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i32, ptr @S_IFREG, align 4, !tbaa !19 %28 = tail call i32 @df_name_compare(ptr noundef %26, i32 noundef %23, i32 noundef %27, ptr noundef %2, i64 noundef %3, i32 noundef %4) #2 br label %29 29: ; preds = %17, %9, %22 %30 = phi i32 [ %28, %22 ], [ %15, %9 ], [ -1, %17 ] ret i32 %30 } declare i32 @ce_namelen(ptr noundef) local_unnamed_addr #1 declare i32 @df_name_compare(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"traverse_info", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !12, i64 16} !16 = !{!7, !12, i64 20} !17 = !{!18, !8, i64 0} !18 = !{!"cache_entry", !8, i64 0} !19 = !{!12, !12, i64 0}
git_extr_unpack-trees.c_do_compare_entry_piecewise
; ModuleID = 'AnghaBench/reactos/sdk/tools/spec2def/extr_spec2def.c_ScanToken.c' source_filename = "AnghaBench/reactos/sdk/tools/spec2def/extr_spec2def.c_ScanToken.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef ptr @ScanToken(ptr noundef readonly %0, i8 noundef signext %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1, !tbaa !5 %4 = tail call i32 @IsSeparator(i8 noundef signext %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %2, %10 %7 = phi ptr [ %11, %10 ], [ %0, %2 ] %8 = load i8, ptr %7, align 1, !tbaa !5 %9 = icmp eq i8 %8, %1 br i1 %9, label %15, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %7, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = tail call i32 @IsSeparator(i8 noundef signext %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %6, label %15, !llvm.loop !8 15: ; preds = %6, %10, %2 %16 = phi ptr [ null, %2 ], [ null, %10 ], [ %7, %6 ] ret ptr %16 } declare i32 @IsSeparator(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/sdk/tools/spec2def/extr_spec2def.c_ScanToken.c' source_filename = "AnghaBench/reactos/sdk/tools/spec2def/extr_spec2def.c_ScanToken.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @ScanToken(ptr noundef readonly %0, i8 noundef signext %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1, !tbaa !6 %4 = tail call i32 @IsSeparator(i8 noundef signext %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %2, %10 %7 = phi ptr [ %11, %10 ], [ %0, %2 ] %8 = load i8, ptr %7, align 1, !tbaa !6 %9 = icmp eq i8 %8, %1 br i1 %9, label %15, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %7, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = tail call i32 @IsSeparator(i8 noundef signext %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %6, label %15, !llvm.loop !9 15: ; preds = %6, %10, %2 %16 = phi ptr [ null, %2 ], [ null, %10 ], [ %7, %6 ] ret ptr %16 } declare i32 @IsSeparator(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
reactos_sdk_tools_spec2def_extr_spec2def.c_ScanToken
; ModuleID = 'AnghaBench/freebsd/sbin/iscontrol/extr_login.c_handleLoginResp.c' source_filename = "AnghaBench/freebsd/sbin/iscontrol/extr_login.c_handleLoginResp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, i64, i32, i32 } %struct.TYPE_9__ = type { i32, i32, ptr } @.str = private unnamed_addr constant [32 x i8] c"Tbit=%d csg=%d nsg=%d status=%x\00", align 1 @CLASS1_ERRS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"0x%04x: %s\0A\00", align 1 @status_class1 = dso_local local_unnamed_addr global ptr null, align 8 @CLASS3_ERRS = dso_local local_unnamed_addr global i32 0, align 4 @status_class3 = dso_local local_unnamed_addr global ptr null, align 8 @SN_PHASE = dso_local local_unnamed_addr global i32 0, align 4 @FF_PHASE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"TSIH=%x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @handleLoginResp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @handleLoginResp(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 4 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @ntohs(i32 noundef %4) #2 %6 = tail call i32 @debug_called(i32 noundef 3) #2 %7 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = trunc i64 %8 to i32 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i32 (i32, ptr, i32, ...) @debug(i32 noundef 4, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %5) #2 %15 = ashr i32 %5, 8 %16 = icmp eq i32 %5, 0 br i1 %16, label %41, label %17 17: ; preds = %2 %18 = and i32 %5, 255 switch i32 %15, label %66 [ i32 1, label %19 i32 2, label %23 i32 3, label %32 ] 19: ; preds = %17 %20 = trunc i32 %5 to i8 %21 = add i8 %20, -1 %22 = icmp ult i8 %21, 2 br i1 %22, label %41, label %66 23: ; preds = %17 %24 = load i32, ptr @CLASS1_ERRS, align 4, !tbaa !14 %25 = icmp slt i32 %18, %24 br i1 %25, label %26, label %66 26: ; preds = %23 %27 = load ptr, ptr @status_class1, align 8, !tbaa !15 %28 = zext nneg i32 %18 to i64 %29 = getelementptr inbounds ptr, ptr %27, i64 %28 %30 = load ptr, ptr %29, align 8, !tbaa !15 %31 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %5, ptr noundef %30) #2 br label %66 32: ; preds = %17 %33 = load i32, ptr @CLASS3_ERRS, align 4, !tbaa !14 %34 = icmp slt i32 %18, %33 br i1 %34, label %35, label %66 35: ; preds = %32 %36 = load ptr, ptr @status_class3, align 8, !tbaa !15 %37 = zext nneg i32 %18 to i64 %38 = getelementptr inbounds ptr, ptr %36, i64 %37 %39 = load ptr, ptr %38, align 8, !tbaa !15 %40 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %5, ptr noundef %39) #2 br label %66 41: ; preds = %2, %19 %42 = tail call i32 @processParams(ptr noundef %0, ptr noundef nonnull %1) #2 %43 = tail call i32 @setOptions(ptr noundef %0, i32 noundef 0) #2 %44 = load i64, ptr %7, align 8, !tbaa !11 %45 = icmp eq i64 %44, 0 br i1 %45, label %66, label %46 46: ; preds = %41 %47 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !17 %49 = load i32, ptr @SN_PHASE, align 4, !tbaa !14 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %59 51: ; preds = %46 %52 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %53 = load ptr, ptr %52, align 8, !tbaa !19 %54 = load ptr, ptr %53, align 8, !tbaa !20 %55 = icmp eq ptr %54, null br i1 %55, label %59, label %56 56: ; preds = %51 %57 = tail call i64 @handleTgtResp(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %56, %51, %46 %60 = load i32, ptr %12, align 4, !tbaa !13 store i32 %60, ptr %47, align 4, !tbaa !17 %61 = load i32, ptr @FF_PHASE, align 4, !tbaa !14 %62 = icmp eq i32 %60, %61 br i1 %62, label %63, label %66 63: ; preds = %59 %64 = load i32, ptr %1, align 8, !tbaa !22 store i32 %64, ptr %0, align 8, !tbaa !23 %65 = tail call i32 (i32, ptr, i32, ...) @debug(i32 noundef 2, ptr noundef nonnull @.str.2, i32 noundef %64) #2 br label %66 66: ; preds = %56, %19, %41, %59, %63, %23, %26, %32, %35, %17 %67 = phi i32 [ %15, %17 ], [ 3, %35 ], [ 3, %32 ], [ 2, %26 ], [ 2, %23 ], [ %15, %63 ], [ %15, %59 ], [ %15, %41 ], [ 1, %19 ], [ 1, %56 ] ret i32 %67 } declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i32 @debug(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @processParams(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @setOptions(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @handleTgtResp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 20} !6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 4} !14 = !{!7, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !7, i64 4} !18 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !16, i64 8} !19 = !{!18, !16, i64 8} !20 = !{!21, !16, i64 0} !21 = !{!"TYPE_10__", !16, i64 0} !22 = !{!6, !7, i64 0} !23 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sbin/iscontrol/extr_login.c_handleLoginResp.c' source_filename = "AnghaBench/freebsd/sbin/iscontrol/extr_login.c_handleLoginResp.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 [32 x i8] c"Tbit=%d csg=%d nsg=%d status=%x\00", align 1 @CLASS1_ERRS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"0x%04x: %s\0A\00", align 1 @status_class1 = common local_unnamed_addr global ptr null, align 8 @CLASS3_ERRS = common local_unnamed_addr global i32 0, align 4 @status_class3 = common local_unnamed_addr global ptr null, align 8 @SN_PHASE = common local_unnamed_addr global i32 0, align 4 @FF_PHASE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"TSIH=%x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @handleLoginResp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -8388608, 8388608) i32 @handleLoginResp(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 20 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @ntohs(i32 noundef %4) #2 %6 = tail call i32 @debug_called(i32 noundef 3) #2 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = trunc i64 %8 to i32 %10 = getelementptr inbounds i8, ptr %1, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = tail call i32 (i32, ptr, i32, ...) @debug(i32 noundef 4, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %5) #2 %15 = ashr i32 %5, 8 %16 = icmp eq i32 %5, 0 br i1 %16, label %41, label %17 17: ; preds = %2 %18 = and i32 %5, 255 switch i32 %15, label %66 [ i32 1, label %19 i32 2, label %23 i32 3, label %32 ] 19: ; preds = %17 %20 = trunc i32 %5 to i8 %21 = add i8 %20, -1 %22 = icmp ult i8 %21, 2 br i1 %22, label %41, label %66 23: ; preds = %17 %24 = load i32, ptr @CLASS1_ERRS, align 4, !tbaa !15 %25 = icmp slt i32 %18, %24 br i1 %25, label %26, label %66 26: ; preds = %23 %27 = load ptr, ptr @status_class1, align 8, !tbaa !16 %28 = zext nneg i32 %18 to i64 %29 = getelementptr inbounds ptr, ptr %27, i64 %28 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %5, ptr noundef %30) #2 br label %66 32: ; preds = %17 %33 = load i32, ptr @CLASS3_ERRS, align 4, !tbaa !15 %34 = icmp slt i32 %18, %33 br i1 %34, label %35, label %66 35: ; preds = %32 %36 = load ptr, ptr @status_class3, align 8, !tbaa !16 %37 = zext nneg i32 %18 to i64 %38 = getelementptr inbounds ptr, ptr %36, i64 %37 %39 = load ptr, ptr %38, align 8, !tbaa !16 %40 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %5, ptr noundef %39) #2 br label %66 41: ; preds = %2, %19 %42 = tail call i32 @processParams(ptr noundef %0, ptr noundef nonnull %1) #2 %43 = tail call i32 @setOptions(ptr noundef %0, i32 noundef 0) #2 %44 = load i64, ptr %7, align 8, !tbaa !12 %45 = icmp eq i64 %44, 0 br i1 %45, label %66, label %46 46: ; preds = %41 %47 = getelementptr inbounds i8, ptr %0, i64 4 %48 = load i32, ptr %47, align 4, !tbaa !18 %49 = load i32, ptr @SN_PHASE, align 4, !tbaa !15 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %59 51: ; preds = %46 %52 = getelementptr inbounds i8, ptr %0, i64 8 %53 = load ptr, ptr %52, align 8, !tbaa !20 %54 = load ptr, ptr %53, align 8, !tbaa !21 %55 = icmp eq ptr %54, null br i1 %55, label %59, label %56 56: ; preds = %51 %57 = tail call i64 @handleTgtResp(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %56, %51, %46 %60 = load i32, ptr %12, align 4, !tbaa !14 store i32 %60, ptr %47, align 4, !tbaa !18 %61 = load i32, ptr @FF_PHASE, align 4, !tbaa !15 %62 = icmp eq i32 %60, %61 br i1 %62, label %63, label %66 63: ; preds = %59 %64 = load i32, ptr %1, align 8, !tbaa !23 store i32 %64, ptr %0, align 8, !tbaa !24 %65 = tail call i32 (i32, ptr, i32, ...) @debug(i32 noundef 2, ptr noundef nonnull @.str.2, i32 noundef %64) #2 br label %66 66: ; preds = %56, %19, %41, %59, %63, %23, %26, %32, %35, %17 %67 = phi i32 [ %15, %17 ], [ 3, %35 ], [ 3, %32 ], [ 2, %26 ], [ 2, %23 ], [ %15, %63 ], [ %15, %59 ], [ %15, %41 ], [ 1, %19 ], [ 1, %56 ] ret i32 %67 } declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i32 @debug(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @processParams(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @setOptions(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @handleTgtResp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 20} !7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 4} !15 = !{!8, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !8, i64 4} !19 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !17, i64 8} !20 = !{!19, !17, i64 8} !21 = !{!22, !17, i64 0} !22 = !{!"TYPE_10__", !17, i64 0} !23 = !{!7, !8, i64 0} !24 = !{!19, !8, i64 0}
freebsd_sbin_iscontrol_extr_login.c_handleLoginResp
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5312_chip.c_ar5312_chip_get_eth_pll.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5312_chip.c_ar5312_chip_get_eth_pll.c" target datalayout = "e-m:e-p270:32:32-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 @ar5312_chip_get_eth_pll], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ar5312_chip_get_eth_pll(i32 %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5312_chip.c_ar5312_chip_get_eth_pll.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5312_chip.c_ar5312_chip_get_eth_pll.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 @ar5312_chip_get_eth_pll], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ar5312_chip_get_eth_pll(i32 %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_mips_atheros_ar531x_extr_ar5312_chip.c_ar5312_chip_get_eth_pll
; ModuleID = 'AnghaBench/netdata/libnetdata/clocks/extr_..inlined.h_str2uint64_t.c' source_filename = "AnghaBench/netdata/libnetdata/clocks/extr_..inlined.h_str2uint64_t.c" target datalayout = "e-m:e-p270:32:32-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 @str2uint64_t], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @str2uint64_t(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = add i8 %2, -48 %4 = icmp ult i8 %3, 10 br i1 %4, label %5, label %17 5: ; preds = %1, %5 %6 = phi i8 [ %14, %5 ], [ %2, %1 ] %7 = phi i32 [ %12, %5 ], [ 0, %1 ] %8 = phi ptr [ %13, %5 ], [ %0, %1 ] %9 = zext nneg i8 %6 to i32 %10 = mul nsw i32 %7, 10 %11 = add i32 %10, -48 %12 = add i32 %11, %9 %13 = getelementptr inbounds i8, ptr %8, i64 1 %14 = load i8, ptr %13, align 1, !tbaa !5 %15 = add i8 %14, -48 %16 = icmp ult i8 %15, 10 br i1 %16, label %5, label %17, !llvm.loop !8 17: ; preds = %5, %1 %18 = phi i32 [ 0, %1 ], [ %12, %5 ] ret i32 %18 } attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/netdata/libnetdata/clocks/extr_..inlined.h_str2uint64_t.c' source_filename = "AnghaBench/netdata/libnetdata/clocks/extr_..inlined.h_str2uint64_t.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 @str2uint64_t], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @str2uint64_t(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = add i8 %2, -48 %4 = icmp ult i8 %3, 10 br i1 %4, label %5, label %17 5: ; preds = %1, %5 %6 = phi i8 [ %14, %5 ], [ %2, %1 ] %7 = phi i32 [ %12, %5 ], [ 0, %1 ] %8 = phi ptr [ %13, %5 ], [ %0, %1 ] %9 = zext nneg i8 %6 to i32 %10 = mul nsw i32 %7, 10 %11 = add i32 %10, -48 %12 = add i32 %11, %9 %13 = getelementptr inbounds i8, ptr %8, i64 1 %14 = load i8, ptr %13, align 1, !tbaa !6 %15 = add i8 %14, -48 %16 = icmp ult i8 %15, 10 br i1 %16, label %5, label %17, !llvm.loop !9 17: ; preds = %5, %1 %18 = phi i32 [ 0, %1 ], [ %12, %5 ] ret i32 %18 } attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
netdata_libnetdata_clocks_extr_..inlined.h_str2uint64_t
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bws_month_score.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bws_month_score.c" target datalayout = "e-m:e-p270:32:32-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.bwstring = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, ptr } @MB_CUR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @cmonths = dso_local local_unnamed_addr global ptr null, align 8 @wmonths = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @bws_month_score(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !5 %3 = icmp eq i32 %2, 1 %4 = load i32, ptr %0, align 8, !tbaa !9 %5 = sext i32 %4 to i64 br i1 %3, label %6, label %160 6: ; preds = %1 %7 = getelementptr inbounds %struct.bwstring, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %8, i64 %5 br label %10 10: ; preds = %10, %6 %11 = phi ptr [ %8, %6 ], [ %17, %10 ] %12 = load i8, ptr %11, align 1, !tbaa !14 %13 = tail call i64 @isblank(i8 noundef zeroext %12) #2 %14 = icmp ne i64 %13, 0 %15 = icmp ult ptr %11, %9 %16 = select i1 %14, i1 %15, i1 false %17 = getelementptr inbounds i8, ptr %11, i64 1 br i1 %16, label %10, label %18, !llvm.loop !15 18: ; preds = %10 %19 = load ptr, ptr @cmonths, align 8, !tbaa !17 %20 = getelementptr inbounds i64, ptr %19, i64 11 %21 = load i64, ptr %20, align 8, !tbaa !18 %22 = icmp eq i64 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %18 %24 = inttoptr i64 %21 to ptr %25 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %24) #2 %26 = inttoptr i64 %25 to ptr %27 = icmp eq ptr %11, %26 br i1 %27, label %290, label %28 28: ; preds = %23 %29 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %30 30: ; preds = %28, %18 %31 = phi ptr [ %29, %28 ], [ %19, %18 ] %32 = getelementptr inbounds i64, ptr %31, i64 10 %33 = load i64, ptr %32, align 8, !tbaa !18 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %30 %36 = inttoptr i64 %33 to ptr %37 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %36) #2 %38 = inttoptr i64 %37 to ptr %39 = icmp eq ptr %11, %38 br i1 %39, label %290, label %40 40: ; preds = %35 %41 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %42 42: ; preds = %40, %30 %43 = phi ptr [ %41, %40 ], [ %31, %30 ] %44 = getelementptr inbounds i64, ptr %43, i64 9 %45 = load i64, ptr %44, align 8, !tbaa !18 %46 = icmp eq i64 %45, 0 br i1 %46, label %54, label %47 47: ; preds = %42 %48 = inttoptr i64 %45 to ptr %49 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %48) #2 %50 = inttoptr i64 %49 to ptr %51 = icmp eq ptr %11, %50 br i1 %51, label %290, label %52 52: ; preds = %47 %53 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %54 54: ; preds = %52, %42 %55 = phi ptr [ %53, %52 ], [ %43, %42 ] %56 = getelementptr inbounds i64, ptr %55, i64 8 %57 = load i64, ptr %56, align 8, !tbaa !18 %58 = icmp eq i64 %57, 0 br i1 %58, label %66, label %59 59: ; preds = %54 %60 = inttoptr i64 %57 to ptr %61 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %60) #2 %62 = inttoptr i64 %61 to ptr %63 = icmp eq ptr %11, %62 br i1 %63, label %290, label %64 64: ; preds = %59 %65 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %66 66: ; preds = %64, %54 %67 = phi ptr [ %65, %64 ], [ %55, %54 ] %68 = getelementptr inbounds i64, ptr %67, i64 7 %69 = load i64, ptr %68, align 8, !tbaa !18 %70 = icmp eq i64 %69, 0 br i1 %70, label %78, label %71 71: ; preds = %66 %72 = inttoptr i64 %69 to ptr %73 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %72) #2 %74 = inttoptr i64 %73 to ptr %75 = icmp eq ptr %11, %74 br i1 %75, label %290, label %76 76: ; preds = %71 %77 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %78 78: ; preds = %76, %66 %79 = phi ptr [ %77, %76 ], [ %67, %66 ] %80 = getelementptr inbounds i64, ptr %79, i64 6 %81 = load i64, ptr %80, align 8, !tbaa !18 %82 = icmp eq i64 %81, 0 br i1 %82, label %90, label %83 83: ; preds = %78 %84 = inttoptr i64 %81 to ptr %85 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %84) #2 %86 = inttoptr i64 %85 to ptr %87 = icmp eq ptr %11, %86 br i1 %87, label %290, label %88 88: ; preds = %83 %89 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %90 90: ; preds = %88, %78 %91 = phi ptr [ %89, %88 ], [ %79, %78 ] %92 = getelementptr inbounds i64, ptr %91, i64 5 %93 = load i64, ptr %92, align 8, !tbaa !18 %94 = icmp eq i64 %93, 0 br i1 %94, label %102, label %95 95: ; preds = %90 %96 = inttoptr i64 %93 to ptr %97 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %96) #2 %98 = inttoptr i64 %97 to ptr %99 = icmp eq ptr %11, %98 br i1 %99, label %290, label %100 100: ; preds = %95 %101 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %102 102: ; preds = %100, %90 %103 = phi ptr [ %101, %100 ], [ %91, %90 ] %104 = getelementptr inbounds i64, ptr %103, i64 4 %105 = load i64, ptr %104, align 8, !tbaa !18 %106 = icmp eq i64 %105, 0 br i1 %106, label %114, label %107 107: ; preds = %102 %108 = inttoptr i64 %105 to ptr %109 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %108) #2 %110 = inttoptr i64 %109 to ptr %111 = icmp eq ptr %11, %110 br i1 %111, label %290, label %112 112: ; preds = %107 %113 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %114 114: ; preds = %112, %102 %115 = phi ptr [ %113, %112 ], [ %103, %102 ] %116 = getelementptr inbounds i64, ptr %115, i64 3 %117 = load i64, ptr %116, align 8, !tbaa !18 %118 = icmp eq i64 %117, 0 br i1 %118, label %126, label %119 119: ; preds = %114 %120 = inttoptr i64 %117 to ptr %121 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %120) #2 %122 = inttoptr i64 %121 to ptr %123 = icmp eq ptr %11, %122 br i1 %123, label %290, label %124 124: ; preds = %119 %125 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %126 126: ; preds = %124, %114 %127 = phi ptr [ %125, %124 ], [ %115, %114 ] %128 = getelementptr inbounds i64, ptr %127, i64 2 %129 = load i64, ptr %128, align 8, !tbaa !18 %130 = icmp eq i64 %129, 0 br i1 %130, label %138, label %131 131: ; preds = %126 %132 = inttoptr i64 %129 to ptr %133 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %132) #2 %134 = inttoptr i64 %133 to ptr %135 = icmp eq ptr %11, %134 br i1 %135, label %290, label %136 136: ; preds = %131 %137 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %138 138: ; preds = %136, %126 %139 = phi ptr [ %137, %136 ], [ %127, %126 ] %140 = getelementptr inbounds i64, ptr %139, i64 1 %141 = load i64, ptr %140, align 8, !tbaa !18 %142 = icmp eq i64 %141, 0 br i1 %142, label %150, label %143 143: ; preds = %138 %144 = inttoptr i64 %141 to ptr %145 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %144) #2 %146 = inttoptr i64 %145 to ptr %147 = icmp eq ptr %11, %146 br i1 %147, label %290, label %148 148: ; preds = %143 %149 = load ptr, ptr @cmonths, align 8, !tbaa !17 br label %150 150: ; preds = %148, %138 %151 = phi ptr [ %149, %148 ], [ %139, %138 ] %152 = load i64, ptr %151, align 8, !tbaa !18 %153 = icmp eq i64 %152, 0 br i1 %153, label %159, label %154 154: ; preds = %150 %155 = inttoptr i64 %152 to ptr %156 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %155) #2 %157 = inttoptr i64 %156 to ptr %158 = icmp eq ptr %11, %157 br i1 %158, label %290, label %159 159: ; preds = %154, %150 br label %290 160: ; preds = %1 %161 = getelementptr inbounds %struct.bwstring, ptr %0, i64 0, i32 1, i32 1 %162 = load ptr, ptr %161, align 8, !tbaa !20 %163 = getelementptr inbounds i32, ptr %162, i64 %5 br label %164 164: ; preds = %164, %160 %165 = phi ptr [ %162, %160 ], [ %171, %164 ] %166 = load i32, ptr %165, align 4, !tbaa !5 %167 = tail call i64 @iswblank(i32 noundef %166) #2 %168 = icmp ne i64 %167, 0 %169 = icmp ult ptr %165, %163 %170 = select i1 %168, i1 %169, i1 false %171 = getelementptr inbounds i32, ptr %165, i64 1 br i1 %170, label %164, label %172, !llvm.loop !21 172: ; preds = %164 %173 = load ptr, ptr @wmonths, align 8, !tbaa !17 %174 = getelementptr inbounds i64, ptr %173, i64 11 %175 = load i64, ptr %174, align 8, !tbaa !18 %176 = icmp eq i64 %175, 0 br i1 %176, label %182, label %177 177: ; preds = %172 %178 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %175) #2 %179 = icmp eq ptr %165, %178 br i1 %179, label %290, label %180 180: ; preds = %177 %181 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %182 182: ; preds = %180, %172 %183 = phi ptr [ %181, %180 ], [ %173, %172 ] %184 = getelementptr inbounds i64, ptr %183, i64 10 %185 = load i64, ptr %184, align 8, !tbaa !18 %186 = icmp eq i64 %185, 0 br i1 %186, label %192, label %187 187: ; preds = %182 %188 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %185) #2 %189 = icmp eq ptr %165, %188 br i1 %189, label %290, label %190 190: ; preds = %187 %191 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %192 192: ; preds = %190, %182 %193 = phi ptr [ %191, %190 ], [ %183, %182 ] %194 = getelementptr inbounds i64, ptr %193, i64 9 %195 = load i64, ptr %194, align 8, !tbaa !18 %196 = icmp eq i64 %195, 0 br i1 %196, label %202, label %197 197: ; preds = %192 %198 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %195) #2 %199 = icmp eq ptr %165, %198 br i1 %199, label %290, label %200 200: ; preds = %197 %201 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %202 202: ; preds = %200, %192 %203 = phi ptr [ %201, %200 ], [ %193, %192 ] %204 = getelementptr inbounds i64, ptr %203, i64 8 %205 = load i64, ptr %204, align 8, !tbaa !18 %206 = icmp eq i64 %205, 0 br i1 %206, label %212, label %207 207: ; preds = %202 %208 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %205) #2 %209 = icmp eq ptr %165, %208 br i1 %209, label %290, label %210 210: ; preds = %207 %211 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %212 212: ; preds = %210, %202 %213 = phi ptr [ %211, %210 ], [ %203, %202 ] %214 = getelementptr inbounds i64, ptr %213, i64 7 %215 = load i64, ptr %214, align 8, !tbaa !18 %216 = icmp eq i64 %215, 0 br i1 %216, label %222, label %217 217: ; preds = %212 %218 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %215) #2 %219 = icmp eq ptr %165, %218 br i1 %219, label %290, label %220 220: ; preds = %217 %221 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %222 222: ; preds = %220, %212 %223 = phi ptr [ %221, %220 ], [ %213, %212 ] %224 = getelementptr inbounds i64, ptr %223, i64 6 %225 = load i64, ptr %224, align 8, !tbaa !18 %226 = icmp eq i64 %225, 0 br i1 %226, label %232, label %227 227: ; preds = %222 %228 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %225) #2 %229 = icmp eq ptr %165, %228 br i1 %229, label %290, label %230 230: ; preds = %227 %231 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %232 232: ; preds = %230, %222 %233 = phi ptr [ %231, %230 ], [ %223, %222 ] %234 = getelementptr inbounds i64, ptr %233, i64 5 %235 = load i64, ptr %234, align 8, !tbaa !18 %236 = icmp eq i64 %235, 0 br i1 %236, label %242, label %237 237: ; preds = %232 %238 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %235) #2 %239 = icmp eq ptr %165, %238 br i1 %239, label %290, label %240 240: ; preds = %237 %241 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %242 242: ; preds = %240, %232 %243 = phi ptr [ %241, %240 ], [ %233, %232 ] %244 = getelementptr inbounds i64, ptr %243, i64 4 %245 = load i64, ptr %244, align 8, !tbaa !18 %246 = icmp eq i64 %245, 0 br i1 %246, label %252, label %247 247: ; preds = %242 %248 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %245) #2 %249 = icmp eq ptr %165, %248 br i1 %249, label %290, label %250 250: ; preds = %247 %251 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %252 252: ; preds = %250, %242 %253 = phi ptr [ %251, %250 ], [ %243, %242 ] %254 = getelementptr inbounds i64, ptr %253, i64 3 %255 = load i64, ptr %254, align 8, !tbaa !18 %256 = icmp eq i64 %255, 0 br i1 %256, label %262, label %257 257: ; preds = %252 %258 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %255) #2 %259 = icmp eq ptr %165, %258 br i1 %259, label %290, label %260 260: ; preds = %257 %261 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %262 262: ; preds = %260, %252 %263 = phi ptr [ %261, %260 ], [ %253, %252 ] %264 = getelementptr inbounds i64, ptr %263, i64 2 %265 = load i64, ptr %264, align 8, !tbaa !18 %266 = icmp eq i64 %265, 0 br i1 %266, label %272, label %267 267: ; preds = %262 %268 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %265) #2 %269 = icmp eq ptr %165, %268 br i1 %269, label %290, label %270 270: ; preds = %267 %271 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %272 272: ; preds = %270, %262 %273 = phi ptr [ %271, %270 ], [ %263, %262 ] %274 = getelementptr inbounds i64, ptr %273, i64 1 %275 = load i64, ptr %274, align 8, !tbaa !18 %276 = icmp eq i64 %275, 0 br i1 %276, label %282, label %277 277: ; preds = %272 %278 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %275) #2 %279 = icmp eq ptr %165, %278 br i1 %279, label %290, label %280 280: ; preds = %277 %281 = load ptr, ptr @wmonths, align 8, !tbaa !17 br label %282 282: ; preds = %280, %272 %283 = phi ptr [ %281, %280 ], [ %273, %272 ] %284 = load i64, ptr %283, align 8, !tbaa !18 %285 = icmp eq i64 %284, 0 br i1 %285, label %289, label %286 286: ; preds = %282 %287 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %284) #2 %288 = icmp eq ptr %165, %287 br i1 %288, label %290, label %289 289: ; preds = %286, %282 br label %290 290: ; preds = %177, %187, %197, %207, %217, %227, %237, %247, %257, %267, %277, %286, %289, %23, %35, %47, %59, %71, %83, %95, %107, %119, %131, %143, %154, %159 %291 = phi i32 [ 11, %23 ], [ 10, %35 ], [ 9, %47 ], [ 8, %59 ], [ 7, %71 ], [ 6, %83 ], [ 5, %95 ], [ 4, %107 ], [ 3, %119 ], [ 2, %131 ], [ 1, %143 ], [ 0, %154 ], [ -1, %159 ], [ 11, %177 ], [ 10, %187 ], [ 9, %197 ], [ 8, %207 ], [ 7, %217 ], [ 6, %227 ], [ 5, %237 ], [ 4, %247 ], [ 3, %257 ], [ 2, %267 ], [ 1, %277 ], [ 0, %286 ], [ -1, %289 ] ret i32 %291 } declare i64 @isblank(i8 noundef zeroext) local_unnamed_addr #1 declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @iswblank(i32 noundef) local_unnamed_addr #1 declare ptr @wcsstr(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"bwstring", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!12, !12, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !7, i64 0} !20 = !{!10, !12, i64 16} !21 = distinct !{!21, !16}
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bws_month_score.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bws_month_score.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 @cmonths = common local_unnamed_addr global ptr null, align 8 @wmonths = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @bws_month_score(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !6 %3 = icmp eq i32 %2, 1 %4 = load i32, ptr %0, align 8, !tbaa !10 %5 = sext i32 %4 to i64 br i1 %3, label %6, label %160 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds i8, ptr %8, i64 %5 br label %10 10: ; preds = %10, %6 %11 = phi ptr [ %8, %6 ], [ %17, %10 ] %12 = load i8, ptr %11, align 1, !tbaa !15 %13 = tail call i64 @isblank(i8 noundef zeroext %12) #2 %14 = icmp ne i64 %13, 0 %15 = icmp ult ptr %11, %9 %16 = select i1 %14, i1 %15, i1 false %17 = getelementptr inbounds i8, ptr %11, i64 1 br i1 %16, label %10, label %18, !llvm.loop !16 18: ; preds = %10 %19 = load ptr, ptr @cmonths, align 8, !tbaa !18 %20 = getelementptr inbounds i8, ptr %19, i64 88 %21 = load i64, ptr %20, align 8, !tbaa !19 %22 = icmp eq i64 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %18 %24 = inttoptr i64 %21 to ptr %25 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %24) #2 %26 = inttoptr i64 %25 to ptr %27 = icmp eq ptr %11, %26 br i1 %27, label %290, label %28 28: ; preds = %23 %29 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %30 30: ; preds = %28, %18 %31 = phi ptr [ %29, %28 ], [ %19, %18 ] %32 = getelementptr inbounds i8, ptr %31, i64 80 %33 = load i64, ptr %32, align 8, !tbaa !19 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %30 %36 = inttoptr i64 %33 to ptr %37 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %36) #2 %38 = inttoptr i64 %37 to ptr %39 = icmp eq ptr %11, %38 br i1 %39, label %290, label %40 40: ; preds = %35 %41 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %42 42: ; preds = %40, %30 %43 = phi ptr [ %41, %40 ], [ %31, %30 ] %44 = getelementptr inbounds i8, ptr %43, i64 72 %45 = load i64, ptr %44, align 8, !tbaa !19 %46 = icmp eq i64 %45, 0 br i1 %46, label %54, label %47 47: ; preds = %42 %48 = inttoptr i64 %45 to ptr %49 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %48) #2 %50 = inttoptr i64 %49 to ptr %51 = icmp eq ptr %11, %50 br i1 %51, label %290, label %52 52: ; preds = %47 %53 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %54 54: ; preds = %52, %42 %55 = phi ptr [ %53, %52 ], [ %43, %42 ] %56 = getelementptr inbounds i8, ptr %55, i64 64 %57 = load i64, ptr %56, align 8, !tbaa !19 %58 = icmp eq i64 %57, 0 br i1 %58, label %66, label %59 59: ; preds = %54 %60 = inttoptr i64 %57 to ptr %61 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %60) #2 %62 = inttoptr i64 %61 to ptr %63 = icmp eq ptr %11, %62 br i1 %63, label %290, label %64 64: ; preds = %59 %65 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %66 66: ; preds = %64, %54 %67 = phi ptr [ %65, %64 ], [ %55, %54 ] %68 = getelementptr inbounds i8, ptr %67, i64 56 %69 = load i64, ptr %68, align 8, !tbaa !19 %70 = icmp eq i64 %69, 0 br i1 %70, label %78, label %71 71: ; preds = %66 %72 = inttoptr i64 %69 to ptr %73 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %72) #2 %74 = inttoptr i64 %73 to ptr %75 = icmp eq ptr %11, %74 br i1 %75, label %290, label %76 76: ; preds = %71 %77 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %78 78: ; preds = %76, %66 %79 = phi ptr [ %77, %76 ], [ %67, %66 ] %80 = getelementptr inbounds i8, ptr %79, i64 48 %81 = load i64, ptr %80, align 8, !tbaa !19 %82 = icmp eq i64 %81, 0 br i1 %82, label %90, label %83 83: ; preds = %78 %84 = inttoptr i64 %81 to ptr %85 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %84) #2 %86 = inttoptr i64 %85 to ptr %87 = icmp eq ptr %11, %86 br i1 %87, label %290, label %88 88: ; preds = %83 %89 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %90 90: ; preds = %88, %78 %91 = phi ptr [ %89, %88 ], [ %79, %78 ] %92 = getelementptr inbounds i8, ptr %91, i64 40 %93 = load i64, ptr %92, align 8, !tbaa !19 %94 = icmp eq i64 %93, 0 br i1 %94, label %102, label %95 95: ; preds = %90 %96 = inttoptr i64 %93 to ptr %97 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %96) #2 %98 = inttoptr i64 %97 to ptr %99 = icmp eq ptr %11, %98 br i1 %99, label %290, label %100 100: ; preds = %95 %101 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %102 102: ; preds = %100, %90 %103 = phi ptr [ %101, %100 ], [ %91, %90 ] %104 = getelementptr inbounds i8, ptr %103, i64 32 %105 = load i64, ptr %104, align 8, !tbaa !19 %106 = icmp eq i64 %105, 0 br i1 %106, label %114, label %107 107: ; preds = %102 %108 = inttoptr i64 %105 to ptr %109 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %108) #2 %110 = inttoptr i64 %109 to ptr %111 = icmp eq ptr %11, %110 br i1 %111, label %290, label %112 112: ; preds = %107 %113 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %114 114: ; preds = %112, %102 %115 = phi ptr [ %113, %112 ], [ %103, %102 ] %116 = getelementptr inbounds i8, ptr %115, i64 24 %117 = load i64, ptr %116, align 8, !tbaa !19 %118 = icmp eq i64 %117, 0 br i1 %118, label %126, label %119 119: ; preds = %114 %120 = inttoptr i64 %117 to ptr %121 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %120) #2 %122 = inttoptr i64 %121 to ptr %123 = icmp eq ptr %11, %122 br i1 %123, label %290, label %124 124: ; preds = %119 %125 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %126 126: ; preds = %124, %114 %127 = phi ptr [ %125, %124 ], [ %115, %114 ] %128 = getelementptr inbounds i8, ptr %127, i64 16 %129 = load i64, ptr %128, align 8, !tbaa !19 %130 = icmp eq i64 %129, 0 br i1 %130, label %138, label %131 131: ; preds = %126 %132 = inttoptr i64 %129 to ptr %133 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %132) #2 %134 = inttoptr i64 %133 to ptr %135 = icmp eq ptr %11, %134 br i1 %135, label %290, label %136 136: ; preds = %131 %137 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %138 138: ; preds = %136, %126 %139 = phi ptr [ %137, %136 ], [ %127, %126 ] %140 = getelementptr inbounds i8, ptr %139, i64 8 %141 = load i64, ptr %140, align 8, !tbaa !19 %142 = icmp eq i64 %141, 0 br i1 %142, label %150, label %143 143: ; preds = %138 %144 = inttoptr i64 %141 to ptr %145 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %144) #2 %146 = inttoptr i64 %145 to ptr %147 = icmp eq ptr %11, %146 br i1 %147, label %290, label %148 148: ; preds = %143 %149 = load ptr, ptr @cmonths, align 8, !tbaa !18 br label %150 150: ; preds = %148, %138 %151 = phi ptr [ %149, %148 ], [ %139, %138 ] %152 = load i64, ptr %151, align 8, !tbaa !19 %153 = icmp eq i64 %152, 0 br i1 %153, label %159, label %154 154: ; preds = %150 %155 = inttoptr i64 %152 to ptr %156 = tail call i64 @strstr(ptr noundef nonnull %11, ptr noundef nonnull %155) #2 %157 = inttoptr i64 %156 to ptr %158 = icmp eq ptr %11, %157 br i1 %158, label %290, label %159 159: ; preds = %154, %150 br label %290 160: ; preds = %1 %161 = getelementptr inbounds i8, ptr %0, i64 16 %162 = load ptr, ptr %161, align 8, !tbaa !21 %163 = getelementptr inbounds i32, ptr %162, i64 %5 br label %164 164: ; preds = %164, %160 %165 = phi ptr [ %162, %160 ], [ %171, %164 ] %166 = load i32, ptr %165, align 4, !tbaa !6 %167 = tail call i64 @iswblank(i32 noundef %166) #2 %168 = icmp ne i64 %167, 0 %169 = icmp ult ptr %165, %163 %170 = select i1 %168, i1 %169, i1 false %171 = getelementptr inbounds i8, ptr %165, i64 4 br i1 %170, label %164, label %172, !llvm.loop !22 172: ; preds = %164 %173 = load ptr, ptr @wmonths, align 8, !tbaa !18 %174 = getelementptr inbounds i8, ptr %173, i64 88 %175 = load i64, ptr %174, align 8, !tbaa !19 %176 = icmp eq i64 %175, 0 br i1 %176, label %182, label %177 177: ; preds = %172 %178 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %175) #2 %179 = icmp eq ptr %165, %178 br i1 %179, label %290, label %180 180: ; preds = %177 %181 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %182 182: ; preds = %180, %172 %183 = phi ptr [ %181, %180 ], [ %173, %172 ] %184 = getelementptr inbounds i8, ptr %183, i64 80 %185 = load i64, ptr %184, align 8, !tbaa !19 %186 = icmp eq i64 %185, 0 br i1 %186, label %192, label %187 187: ; preds = %182 %188 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %185) #2 %189 = icmp eq ptr %165, %188 br i1 %189, label %290, label %190 190: ; preds = %187 %191 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %192 192: ; preds = %190, %182 %193 = phi ptr [ %191, %190 ], [ %183, %182 ] %194 = getelementptr inbounds i8, ptr %193, i64 72 %195 = load i64, ptr %194, align 8, !tbaa !19 %196 = icmp eq i64 %195, 0 br i1 %196, label %202, label %197 197: ; preds = %192 %198 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %195) #2 %199 = icmp eq ptr %165, %198 br i1 %199, label %290, label %200 200: ; preds = %197 %201 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %202 202: ; preds = %200, %192 %203 = phi ptr [ %201, %200 ], [ %193, %192 ] %204 = getelementptr inbounds i8, ptr %203, i64 64 %205 = load i64, ptr %204, align 8, !tbaa !19 %206 = icmp eq i64 %205, 0 br i1 %206, label %212, label %207 207: ; preds = %202 %208 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %205) #2 %209 = icmp eq ptr %165, %208 br i1 %209, label %290, label %210 210: ; preds = %207 %211 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %212 212: ; preds = %210, %202 %213 = phi ptr [ %211, %210 ], [ %203, %202 ] %214 = getelementptr inbounds i8, ptr %213, i64 56 %215 = load i64, ptr %214, align 8, !tbaa !19 %216 = icmp eq i64 %215, 0 br i1 %216, label %222, label %217 217: ; preds = %212 %218 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %215) #2 %219 = icmp eq ptr %165, %218 br i1 %219, label %290, label %220 220: ; preds = %217 %221 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %222 222: ; preds = %220, %212 %223 = phi ptr [ %221, %220 ], [ %213, %212 ] %224 = getelementptr inbounds i8, ptr %223, i64 48 %225 = load i64, ptr %224, align 8, !tbaa !19 %226 = icmp eq i64 %225, 0 br i1 %226, label %232, label %227 227: ; preds = %222 %228 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %225) #2 %229 = icmp eq ptr %165, %228 br i1 %229, label %290, label %230 230: ; preds = %227 %231 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %232 232: ; preds = %230, %222 %233 = phi ptr [ %231, %230 ], [ %223, %222 ] %234 = getelementptr inbounds i8, ptr %233, i64 40 %235 = load i64, ptr %234, align 8, !tbaa !19 %236 = icmp eq i64 %235, 0 br i1 %236, label %242, label %237 237: ; preds = %232 %238 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %235) #2 %239 = icmp eq ptr %165, %238 br i1 %239, label %290, label %240 240: ; preds = %237 %241 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %242 242: ; preds = %240, %232 %243 = phi ptr [ %241, %240 ], [ %233, %232 ] %244 = getelementptr inbounds i8, ptr %243, i64 32 %245 = load i64, ptr %244, align 8, !tbaa !19 %246 = icmp eq i64 %245, 0 br i1 %246, label %252, label %247 247: ; preds = %242 %248 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %245) #2 %249 = icmp eq ptr %165, %248 br i1 %249, label %290, label %250 250: ; preds = %247 %251 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %252 252: ; preds = %250, %242 %253 = phi ptr [ %251, %250 ], [ %243, %242 ] %254 = getelementptr inbounds i8, ptr %253, i64 24 %255 = load i64, ptr %254, align 8, !tbaa !19 %256 = icmp eq i64 %255, 0 br i1 %256, label %262, label %257 257: ; preds = %252 %258 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %255) #2 %259 = icmp eq ptr %165, %258 br i1 %259, label %290, label %260 260: ; preds = %257 %261 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %262 262: ; preds = %260, %252 %263 = phi ptr [ %261, %260 ], [ %253, %252 ] %264 = getelementptr inbounds i8, ptr %263, i64 16 %265 = load i64, ptr %264, align 8, !tbaa !19 %266 = icmp eq i64 %265, 0 br i1 %266, label %272, label %267 267: ; preds = %262 %268 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %265) #2 %269 = icmp eq ptr %165, %268 br i1 %269, label %290, label %270 270: ; preds = %267 %271 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %272 272: ; preds = %270, %262 %273 = phi ptr [ %271, %270 ], [ %263, %262 ] %274 = getelementptr inbounds i8, ptr %273, i64 8 %275 = load i64, ptr %274, align 8, !tbaa !19 %276 = icmp eq i64 %275, 0 br i1 %276, label %282, label %277 277: ; preds = %272 %278 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %275) #2 %279 = icmp eq ptr %165, %278 br i1 %279, label %290, label %280 280: ; preds = %277 %281 = load ptr, ptr @wmonths, align 8, !tbaa !18 br label %282 282: ; preds = %280, %272 %283 = phi ptr [ %281, %280 ], [ %273, %272 ] %284 = load i64, ptr %283, align 8, !tbaa !19 %285 = icmp eq i64 %284, 0 br i1 %285, label %289, label %286 286: ; preds = %282 %287 = tail call ptr @wcsstr(ptr noundef nonnull %165, i64 noundef %284) #2 %288 = icmp eq ptr %165, %287 br i1 %288, label %290, label %289 289: ; preds = %286, %282 br label %290 290: ; preds = %177, %187, %197, %207, %217, %227, %237, %247, %257, %267, %277, %286, %289, %23, %35, %47, %59, %71, %83, %95, %107, %119, %131, %143, %154, %159 %291 = phi i32 [ 11, %23 ], [ 10, %35 ], [ 9, %47 ], [ 8, %59 ], [ 7, %71 ], [ 6, %83 ], [ 5, %95 ], [ 4, %107 ], [ 3, %119 ], [ 2, %131 ], [ 1, %143 ], [ 0, %154 ], [ -1, %159 ], [ 11, %177 ], [ 10, %187 ], [ 9, %197 ], [ 8, %207 ], [ 7, %217 ], [ 6, %227 ], [ 5, %237 ], [ 4, %247 ], [ 3, %257 ], [ 2, %267 ], [ 1, %277 ], [ 0, %286 ], [ -1, %289 ] ret i32 %291 } declare i64 @isblank(i8 noundef zeroext) local_unnamed_addr #1 declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @iswblank(i32 noundef) local_unnamed_addr #1 declare ptr @wcsstr(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"bwstring", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!13, !13, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long", !8, i64 0} !21 = !{!11, !13, i64 16} !22 = distinct !{!22, !17}
freebsd_usr.bin_sort_extr_bwstring.c_bws_month_score
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_avformat_queue_attached_pictures.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_avformat_queue_attached_pictures.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr, ptr } %struct.TYPE_8__ = type { i32, i64, %struct.TYPE_10__ } %struct.TYPE_10__ = type { i64 } %struct.TYPE_7__ = type { i32, i32 } @AV_DISPOSITION_ATTACHED_PIC = dso_local local_unnamed_addr global i32 0, align 4 @AVDISCARD_ALL = dso_local local_unnamed_addr global i64 0, align 8 @AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"Attached picture on stream %d has invalid size, ignoring\0A\00", align 1 @FF_PACKETLIST_FLAG_REF_PACKET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @avformat_queue_attached_pictures(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %40 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %35 %8 = phi i64 [ 0, %5 ], [ %36, %35 ] %9 = load ptr, ptr %6, align 8, !tbaa !11 %10 = getelementptr inbounds ptr, ptr %9, i64 %8 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = load i32, ptr @AV_DISPOSITION_ATTACHED_PIC, align 4, !tbaa !17 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %35, label %16 16: ; preds = %7 %17 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !18 %19 = load i64, ptr @AVDISCARD_ALL, align 8, !tbaa !19 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 0, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !20 %24 = icmp slt i64 %23, 1 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !17 %27 = trunc i64 %8 to i32 %28 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %27) #2 br label %35 29: ; preds = %21 %30 = load ptr, ptr %2, align 8, !tbaa !21 %31 = getelementptr inbounds %struct.TYPE_7__, ptr %30, i64 0, i32 1 %32 = load i32, ptr @FF_PACKETLIST_FLAG_REF_PACKET, align 4, !tbaa !17 %33 = tail call i32 @ff_packet_list_put(ptr noundef nonnull %31, ptr noundef %30, ptr noundef nonnull %22, i32 noundef %32) #2 %34 = icmp slt i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %7, %16, %29, %25 %36 = add nuw nsw i64 %8, 1 %37 = load i32, ptr %0, align 8, !tbaa !5 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %36, %38 br i1 %39, label %7, label %40, !llvm.loop !22 40: ; preds = %29, %35, %1 %41 = phi i32 [ 0, %1 ], [ 0, %35 ], [ %33, %29 ] ret i32 %41 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_packet_list_put(ptr noundef, 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 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !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 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_8__", !7, i64 0, !15, i64 8, !16, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!"TYPE_10__", !15, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!14, !15, i64 8} !19 = !{!15, !15, i64 0} !20 = !{!14, !15, i64 16} !21 = !{!6, !10, i64 16} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_avformat_queue_attached_pictures.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_avformat_queue_attached_pictures.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_DISPOSITION_ATTACHED_PIC = common local_unnamed_addr global i32 0, align 4 @AVDISCARD_ALL = common local_unnamed_addr global i64 0, align 8 @AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"Attached picture on stream %d has invalid size, ignoring\0A\00", align 1 @FF_PACKETLIST_FLAG_REF_PACKET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 1) i32 @avformat_queue_attached_pictures(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %40 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %35 %8 = phi i64 [ 0, %5 ], [ %36, %35 ] %9 = load ptr, ptr %6, align 8, !tbaa !12 %10 = getelementptr inbounds ptr, ptr %9, i64 %8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = load i32, ptr @AV_DISPOSITION_ATTACHED_PIC, align 4, !tbaa !18 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %35, label %16 16: ; preds = %7 %17 = getelementptr inbounds i8, ptr %11, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !19 %19 = load i64, ptr @AVDISCARD_ALL, align 8, !tbaa !20 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = getelementptr inbounds i8, ptr %11, i64 16 %23 = load i64, ptr %22, align 8, !tbaa !21 %24 = icmp slt i64 %23, 1 br i1 %24, label %25, label %29 25: ; preds = %21 %26 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !18 %27 = trunc nuw nsw i64 %8 to i32 %28 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %27) #2 br label %35 29: ; preds = %21 %30 = load ptr, ptr %2, align 8, !tbaa !22 %31 = getelementptr inbounds i8, ptr %30, i64 4 %32 = load i32, ptr @FF_PACKETLIST_FLAG_REF_PACKET, align 4, !tbaa !18 %33 = tail call i32 @ff_packet_list_put(ptr noundef nonnull %31, ptr noundef %30, ptr noundef nonnull %22, i32 noundef %32) #2 %34 = icmp slt i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %7, %16, %29, %25 %36 = add nuw nsw i64 %8, 1 %37 = load i32, ptr %0, align 8, !tbaa !6 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %36, %38 br i1 %39, label %7, label %40, !llvm.loop !23 40: ; preds = %29, %35, %1 %41 = phi i32 [ 0, %1 ], [ 0, %35 ], [ %33, %29 ] ret i32 %41 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_packet_list_put(ptr noundef, 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 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !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 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_8__", !8, i64 0, !16, i64 8, !17, i64 16} !16 = !{!"long", !9, i64 0} !17 = !{!"TYPE_10__", !16, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!15, !16, i64 8} !20 = !{!16, !16, i64 0} !21 = !{!15, !16, i64 16} !22 = !{!7, !11, i64 16} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavformat_extr_utils.c_avformat_queue_attached_pictures
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_main.c_stmmac_clear_tx_descriptors.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_main.c_stmmac_clear_tx_descriptors.c" target datalayout = "e-m:e-p270:32:32-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.stmmac_priv = type { i32, i64, ptr } %struct.stmmac_tx_queue = type { ptr, ptr } %struct.TYPE_2__ = type { i32 } @DMA_TX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @stmmac_clear_tx_descriptors], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stmmac_clear_tx_descriptors(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds %struct.stmmac_priv, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.stmmac_tx_queue, ptr %4, i64 %1 %6 = load i32, ptr @DMA_TX_SIZE, align 4, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %34 8: ; preds = %2 %9 = getelementptr inbounds %struct.stmmac_priv, ptr %0, i64 0, i32 1 %10 = getelementptr inbounds %struct.stmmac_tx_queue, ptr %4, i64 %1, i32 1 br label %11 11: ; preds = %8, %27 %12 = phi i64 [ 0, %8 ], [ %30, %27 ] %13 = phi i32 [ %6, %8 ], [ %31, %27 ] %14 = load i64, ptr %9, align 8, !tbaa !13 %15 = icmp eq i64 %14, 0 %16 = load i32, ptr %0, align 8, !tbaa !14 %17 = add nsw i32 %13, -1 %18 = zext i32 %17 to i64 %19 = icmp eq i64 %12, %18 %20 = zext i1 %19 to i32 br i1 %15, label %24, label %21 21: ; preds = %11 %22 = load ptr, ptr %10, align 8, !tbaa !15 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %12 br label %27 24: ; preds = %11 %25 = load ptr, ptr %5, align 8, !tbaa !17 %26 = getelementptr inbounds i32, ptr %25, i64 %12 br label %27 27: ; preds = %21, %24 %28 = phi ptr [ %23, %21 ], [ %26, %24 ] %29 = tail call i32 @stmmac_init_tx_desc(ptr noundef nonnull %0, ptr noundef %28, i32 noundef %16, i32 noundef %20) #2 %30 = add nuw nsw i64 %12, 1 %31 = load i32, ptr @DMA_TX_SIZE, align 4, !tbaa !12 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %11, label %34, !llvm.loop !18 34: ; preds = %27, %2 ret void } declare i32 @stmmac_init_tx_desc(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, !11, i64 16} !6 = !{!"stmmac_priv", !7, i64 0, !10, i64 8, !11, i64 16} !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 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !7, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"stmmac_tx_queue", !11, i64 0, !11, i64 8} !17 = !{!16, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_main.c_stmmac_clear_tx_descriptors.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_main.c_stmmac_clear_tx_descriptors.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stmmac_tx_queue = type { ptr, ptr } %struct.TYPE_2__ = type { i32 } @DMA_TX_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @stmmac_clear_tx_descriptors], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stmmac_clear_tx_descriptors(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds %struct.stmmac_tx_queue, ptr %4, i64 %1 %6 = load i32, ptr @DMA_TX_SIZE, align 4, !tbaa !13 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %34 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = getelementptr inbounds i8, ptr %5, i64 8 br label %11 11: ; preds = %8, %27 %12 = phi i64 [ 0, %8 ], [ %30, %27 ] %13 = phi i32 [ %6, %8 ], [ %31, %27 ] %14 = load i64, ptr %9, align 8, !tbaa !14 %15 = icmp eq i64 %14, 0 %16 = load i32, ptr %0, align 8, !tbaa !15 %17 = add nsw i32 %13, -1 %18 = zext i32 %17 to i64 %19 = icmp eq i64 %12, %18 %20 = zext i1 %19 to i32 br i1 %15, label %24, label %21 21: ; preds = %11 %22 = load ptr, ptr %10, align 8, !tbaa !16 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %12 br label %27 24: ; preds = %11 %25 = load ptr, ptr %5, align 8, !tbaa !18 %26 = getelementptr inbounds i32, ptr %25, i64 %12 br label %27 27: ; preds = %21, %24 %28 = phi ptr [ %23, %21 ], [ %26, %24 ] %29 = tail call i32 @stmmac_init_tx_desc(ptr noundef nonnull %0, ptr noundef %28, i32 noundef %16, i32 noundef %20) #2 %30 = add nuw nsw i64 %12, 1 %31 = load i32, ptr @DMA_TX_SIZE, align 4, !tbaa !13 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %11, label %34, !llvm.loop !19 34: ; preds = %27, %2 ret void } declare i32 @stmmac_init_tx_desc(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, !12, i64 16} !7 = !{!"stmmac_priv", !8, i64 0, !11, i64 8, !12, i64 16} !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 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !8, i64 0} !16 = !{!17, !12, i64 8} !17 = !{!"stmmac_tx_queue", !12, i64 0, !12, i64 8} !18 = !{!17, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_stmicro_stmmac_extr_stmmac_main.c_stmmac_clear_tx_descriptors
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra_get_location_segments.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra_get_location_segments.c" target datalayout = "e-m:e-p270:32:32-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_ERR_RA_NOT_IMPLEMENTED = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_ra_get_location_segments(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 { %9 = tail call i32 @svn_relpath_is_canonical(ptr noundef %1) #2 %10 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = tail call ptr %12(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 %14 = icmp eq ptr %13, null br i1 %14, label %22, label %15 15: ; preds = %8 %16 = load i64, ptr %13, align 8, !tbaa !12 %17 = load i64, ptr @SVN_ERR_RA_NOT_IMPLEMENTED, align 8, !tbaa !15 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = tail call i32 @svn_error_clear(ptr noundef nonnull %13) #2 %21 = tail call ptr @svn_ra__location_segments_from_log(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 br label %22 22: ; preds = %19, %15, %8 %23 = phi ptr [ %21, %19 ], [ %13, %15 ], [ null, %8 ] ret ptr %23 } declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @svn_relpath_is_canonical(ptr noundef) local_unnamed_addr #1 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #1 declare ptr @svn_ra__location_segments_from_log(ptr noundef, ptr noundef, i32 noundef, i32 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, !7, i64 0} !6 = !{!"TYPE_12__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_11__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_13__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra_get_location_segments.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra_get_location_segments.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_ERR_RA_NOT_IMPLEMENTED = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_ra_get_location_segments(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 { %9 = tail call i32 @svn_relpath_is_canonical(ptr noundef %1) #2 %10 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = tail call ptr %12(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 %14 = icmp eq ptr %13, null br i1 %14, label %22, label %15 15: ; preds = %8 %16 = load i64, ptr %13, align 8, !tbaa !13 %17 = load i64, ptr @SVN_ERR_RA_NOT_IMPLEMENTED, align 8, !tbaa !16 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = tail call i32 @svn_error_clear(ptr noundef nonnull %13) #2 %21 = tail call ptr @svn_ra__location_segments_from_log(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 br label %22 22: ; preds = %19, %15, %8 %23 = phi ptr [ %21, %19 ], [ %13, %15 ], [ null, %8 ] ret ptr %23 } declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @svn_relpath_is_canonical(ptr noundef) local_unnamed_addr #1 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #1 declare ptr @svn_ra__location_segments_from_log(ptr noundef, ptr noundef, i32 noundef, i32 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, !8, i64 0} !7 = !{!"TYPE_12__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_11__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_13__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0}
freebsd_contrib_subversion_subversion_libsvn_ra_extr_ra_loader.c_svn_ra_get_location_segments
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs43130.c_cs43130_set_sp_fmt.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs43130.c_cs43130_set_sp_fmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cs43130_private = type { i32, i32, ptr } %struct.TYPE_2__ = type { i32, i32 } %struct.cs43130_clk_gen = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_FSD_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_STP_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_STP_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_IN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_OUT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_OUT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_IN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_IN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_OUT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_OUT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_MODE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_MODE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_PERIOD_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_LSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_PERIOD_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_MSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_HI_TIME_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_LSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_HI_TIME_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_MSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_FRAME_CONF = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_1_LOC = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_2_LOC = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_1_SZ_EN = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_CH_EN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_CH_EN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_2_SZ_EN = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CLOCK_CONF = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_PERIOD_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_PERIOD_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_HI_TIME_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_HI_TIME_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_FRAME_CONF = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_1_LOC = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_2_LOC = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_1_SZ_EN = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_2_SZ_EN = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CLOCK_CONF = dso_local local_unnamed_addr global i32 0, align 4 @cs43130_16_clk_gen = dso_local local_unnamed_addr global i32 0, align 4 @cs43130_32_clk_gen = dso_local local_unnamed_addr global i32 0, align 4 @cs43130_48_clk_gen = dso_local local_unnamed_addr global i32 0, align 4 @cs43130_64_clk_gen = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_DEN_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_LSB_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_LSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_DEN_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_MSB_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_MSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_NUM_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_LSB_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_LSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_ASP_NUM_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_MSB_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_MSB_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_DEN_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_DEN_2 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_NUM_1 = dso_local local_unnamed_addr global i32 0, align 4 @CS43130_XSP_NUM_2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cs43130_set_sp_fmt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cs43130_set_sp_fmt(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds %struct.cs43130_private, ptr %3, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = sext i32 %0 to i64 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !11 switch i32 %9, label %13 [ i32 129, label %16 i32 128, label %10 i32 131, label %11 i32 130, label %12 ] 10: ; preds = %4 br label %16 11: ; preds = %4 br label %16 12: ; preds = %4 br label %16 13: ; preds = %4 %14 = load i32, ptr @EINVAL, align 4, !tbaa !13 %15 = sub nsw i32 0, %14 br label %249 16: ; preds = %4, %12, %11, %10 %17 = phi i32 [ 1, %12 ], [ 1, %11 ], [ 1, %10 ], [ 0, %4 ] %18 = phi i32 [ 0, %12 ], [ 2, %11 ], [ 2, %10 ], [ 2, %4 ] %19 = phi i32 [ 1, %12 ], [ 1, %11 ], [ %1, %10 ], [ %1, %4 ] %20 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !14 switch i32 %21, label %23 [ i32 132, label %26 i32 133, label %22 ] 22: ; preds = %16 br label %26 23: ; preds = %16 %24 = load i32, ptr @EINVAL, align 4, !tbaa !13 %25 = sub nsw i32 0, %24 br label %249 26: ; preds = %16, %22 %27 = phi i32 [ 1, %22 ], [ 0, %16 ] %28 = tail call i32 @params_channels(ptr noundef %2) #3 %29 = mul i32 %28, %1 %30 = tail call i32 @params_channels(ptr noundef %2) #3 %31 = add nsw i32 %30, -1 %32 = mul i32 %31, %1 %33 = load i32, ptr @CS43130_SP_FSD_MASK, align 4, !tbaa !13 %34 = and i32 %33, %18 %35 = load i32, ptr @CS43130_SP_STP_SHIFT, align 4, !tbaa !13 %36 = shl nuw i32 %17, %35 %37 = load i32, ptr @CS43130_SP_STP_MASK, align 4, !tbaa !13 %38 = and i32 %36, %37 %39 = or i32 %38, %34 %40 = load i32, ptr @CS43130_SP_SCPOL_IN_SHIFT, align 4, !tbaa !13 %41 = shl nuw i32 1, %40 %42 = load i32, ptr @CS43130_SP_SCPOL_IN_MASK, align 4, !tbaa !13 %43 = and i32 %41, %42 %44 = load i32, ptr @CS43130_SP_SCPOL_OUT_SHIFT, align 4, !tbaa !13 %45 = shl nuw i32 1, %44 %46 = load i32, ptr @CS43130_SP_SCPOL_OUT_MASK, align 4, !tbaa !13 %47 = and i32 %45, %46 %48 = or i32 %47, %43 %49 = load i32, ptr @CS43130_SP_MODE_SHIFT, align 4, !tbaa !13 %50 = shl nuw i32 %27, %49 %51 = load i32, ptr @CS43130_SP_MODE_MASK, align 4, !tbaa !13 %52 = and i32 %50, %51 %53 = or i32 %48, %52 switch i32 %0, label %96 [ i32 135, label %54 i32 136, label %54 i32 134, label %75 ] 54: ; preds = %26, %26 %55 = load i32, ptr %3, align 8, !tbaa !15 %56 = load i32, ptr @CS43130_ASP_LRCK_PERIOD_1, align 4, !tbaa !13 %57 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !13 %58 = add nsw i32 %29, -1 %59 = load i32, ptr @CS43130_SP_LCPR_LSB_DATA_SHIFT, align 4, !tbaa !13 %60 = ashr i32 %58, %59 %61 = tail call i32 @regmap_update_bits(i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %60) #3 %62 = load i32, ptr %3, align 8, !tbaa !15 %63 = load i32, ptr @CS43130_ASP_LRCK_PERIOD_2, align 4, !tbaa !13 %64 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !13 %65 = load i32, ptr @CS43130_SP_LCPR_MSB_DATA_SHIFT, align 4, !tbaa !13 %66 = ashr i32 %58, %65 %67 = tail call i32 @regmap_update_bits(i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %66) #3 %68 = load i32, ptr %3, align 8, !tbaa !15 %69 = load i32, ptr @CS43130_ASP_LRCK_HI_TIME_1, align 4, !tbaa !13 %70 = load i32, ptr @CS43130_SP_LCHI_DATA_MASK, align 4, !tbaa !13 %71 = add nsw i32 %19, -1 %72 = load i32, ptr @CS43130_SP_LCHI_LSB_DATA_SHIFT, align 4, !tbaa !13 %73 = ashr i32 %71, %72 %74 = tail call i32 @regmap_update_bits(i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %73) #3 br label %99 75: ; preds = %26 %76 = load i32, ptr %3, align 8, !tbaa !15 %77 = load i32, ptr @CS43130_XSP_LRCK_PERIOD_1, align 4, !tbaa !13 %78 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !13 %79 = add nsw i32 %29, -1 %80 = load i32, ptr @CS43130_SP_LCPR_LSB_DATA_SHIFT, align 4, !tbaa !13 %81 = ashr i32 %79, %80 %82 = tail call i32 @regmap_update_bits(i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %81) #3 %83 = load i32, ptr %3, align 8, !tbaa !15 %84 = load i32, ptr @CS43130_XSP_LRCK_PERIOD_2, align 4, !tbaa !13 %85 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !13 %86 = load i32, ptr @CS43130_SP_LCPR_MSB_DATA_SHIFT, align 4, !tbaa !13 %87 = ashr i32 %79, %86 %88 = tail call i32 @regmap_update_bits(i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %87) #3 %89 = load i32, ptr %3, align 8, !tbaa !15 %90 = load i32, ptr @CS43130_XSP_LRCK_HI_TIME_1, align 4, !tbaa !13 %91 = load i32, ptr @CS43130_SP_LCHI_DATA_MASK, align 4, !tbaa !13 %92 = add nsw i32 %19, -1 %93 = load i32, ptr @CS43130_SP_LCHI_LSB_DATA_SHIFT, align 4, !tbaa !13 %94 = ashr i32 %92, %93 %95 = tail call i32 @regmap_update_bits(i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %94) #3 br label %99 96: ; preds = %26 %97 = load i32, ptr @EINVAL, align 4, !tbaa !13 %98 = sub nsw i32 0, %97 br label %249 99: ; preds = %75, %54 %100 = phi ptr [ @CS43130_XSP_LRCK_HI_TIME_2, %75 ], [ @CS43130_ASP_LRCK_HI_TIME_2, %54 ] %101 = phi i32 [ %92, %75 ], [ %71, %54 ] %102 = phi ptr [ @CS43130_XSP_FRAME_CONF, %75 ], [ @CS43130_ASP_FRAME_CONF, %54 ] %103 = phi ptr [ @CS43130_XSP_CH_1_LOC, %75 ], [ @CS43130_ASP_CH_1_LOC, %54 ] %104 = phi ptr [ @CS43130_XSP_CH_2_LOC, %75 ], [ @CS43130_ASP_CH_2_LOC, %54 ] %105 = phi ptr [ @CS43130_XSP_CH_1_SZ_EN, %75 ], [ @CS43130_ASP_CH_1_SZ_EN, %54 ] %106 = phi ptr [ @CS43130_XSP_CH_2_SZ_EN, %75 ], [ @CS43130_ASP_CH_2_SZ_EN, %54 ] %107 = phi ptr [ @CS43130_XSP_CLOCK_CONF, %75 ], [ @CS43130_ASP_CLOCK_CONF, %54 ] %108 = load i32, ptr %3, align 8, !tbaa !15 %109 = load i32, ptr %100, align 4, !tbaa !13 %110 = load i32, ptr @CS43130_SP_LCHI_DATA_MASK, align 4, !tbaa !13 %111 = load i32, ptr @CS43130_SP_LCHI_MSB_DATA_SHIFT, align 4, !tbaa !13 %112 = ashr i32 %101, %111 %113 = tail call i32 @regmap_update_bits(i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %112) #3 %114 = load i32, ptr %3, align 8, !tbaa !15 %115 = load i32, ptr %102, align 4, !tbaa !13 %116 = tail call i32 @regmap_write(i32 noundef %114, i32 noundef %115, i32 noundef %39) #3 %117 = load i32, ptr %3, align 8, !tbaa !15 %118 = load i32, ptr %103, align 4, !tbaa !13 %119 = tail call i32 @regmap_write(i32 noundef %117, i32 noundef %118, i32 noundef 0) #3 %120 = load i32, ptr %3, align 8, !tbaa !15 %121 = load i32, ptr %104, align 4, !tbaa !13 %122 = tail call i32 @regmap_write(i32 noundef %120, i32 noundef %121, i32 noundef %32) #3 %123 = load i32, ptr %3, align 8, !tbaa !15 %124 = load i32, ptr %105, align 4, !tbaa !13 %125 = load i32, ptr @CS43130_CH_EN_MASK, align 4, !tbaa !13 %126 = load i32, ptr @CS43130_CH_EN_SHIFT, align 4, !tbaa !13 %127 = shl nuw i32 1, %126 %128 = tail call i32 @regmap_update_bits(i32 noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %127) #3 %129 = load i32, ptr %3, align 8, !tbaa !15 %130 = load i32, ptr %106, align 4, !tbaa !13 %131 = load i32, ptr @CS43130_CH_EN_MASK, align 4, !tbaa !13 %132 = load i32, ptr @CS43130_CH_EN_SHIFT, align 4, !tbaa !13 %133 = shl nuw i32 1, %132 %134 = tail call i32 @regmap_update_bits(i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %133) #3 %135 = load i32, ptr %3, align 8, !tbaa !15 %136 = load i32, ptr %107, align 4, !tbaa !13 %137 = tail call i32 @regmap_write(i32 noundef %135, i32 noundef %136, i32 noundef %53) #3 %138 = add i32 %29, -16 %139 = tail call i32 @llvm.fshl.i32(i32 %138, i32 %138, i32 28) switch i32 %139, label %168 [ i32 0, label %140 i32 1, label %147 i32 2, label %154 i32 3, label %161 ] 140: ; preds = %99 %141 = getelementptr inbounds %struct.cs43130_private, ptr %3, i64 0, i32 1 %142 = load i32, ptr %141, align 4, !tbaa !16 %143 = tail call i32 @params_rate(ptr noundef %2) #3 %144 = load i32, ptr @cs43130_16_clk_gen, align 4, !tbaa !13 %145 = tail call i32 @ARRAY_SIZE(i32 noundef %144) #3 %146 = tail call ptr @cs43130_get_clk_gen(i32 noundef %142, i32 noundef %143, i32 noundef %144, i32 noundef %145) #3 br label %171 147: ; preds = %99 %148 = getelementptr inbounds %struct.cs43130_private, ptr %3, i64 0, i32 1 %149 = load i32, ptr %148, align 4, !tbaa !16 %150 = tail call i32 @params_rate(ptr noundef %2) #3 %151 = load i32, ptr @cs43130_32_clk_gen, align 4, !tbaa !13 %152 = tail call i32 @ARRAY_SIZE(i32 noundef %151) #3 %153 = tail call ptr @cs43130_get_clk_gen(i32 noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152) #3 br label %171 154: ; preds = %99 %155 = getelementptr inbounds %struct.cs43130_private, ptr %3, i64 0, i32 1 %156 = load i32, ptr %155, align 4, !tbaa !16 %157 = tail call i32 @params_rate(ptr noundef %2) #3 %158 = load i32, ptr @cs43130_48_clk_gen, align 4, !tbaa !13 %159 = tail call i32 @ARRAY_SIZE(i32 noundef %158) #3 %160 = tail call ptr @cs43130_get_clk_gen(i32 noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159) #3 br label %171 161: ; preds = %99 %162 = getelementptr inbounds %struct.cs43130_private, ptr %3, i64 0, i32 1 %163 = load i32, ptr %162, align 4, !tbaa !16 %164 = tail call i32 @params_rate(ptr noundef %2) #3 %165 = load i32, ptr @cs43130_64_clk_gen, align 4, !tbaa !13 %166 = tail call i32 @ARRAY_SIZE(i32 noundef %165) #3 %167 = tail call ptr @cs43130_get_clk_gen(i32 noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166) #3 br label %171 168: ; preds = %99 %169 = load i32, ptr @EINVAL, align 4, !tbaa !13 %170 = sub nsw i32 0, %169 br label %249 171: ; preds = %161, %154, %147, %140 %172 = phi ptr [ %167, %161 ], [ %160, %154 ], [ %153, %147 ], [ %146, %140 ] %173 = icmp eq ptr %172, null br i1 %173, label %174, label %177 174: ; preds = %171 %175 = load i32, ptr @EINVAL, align 4, !tbaa !13 %176 = sub nsw i32 0, %175 br label %249 177: ; preds = %171 switch i32 %0, label %246 [ i32 135, label %178 i32 136, label %178 i32 134, label %212 ] 178: ; preds = %177, %177 %179 = load i32, ptr %3, align 8, !tbaa !15 %180 = load i32, ptr @CS43130_ASP_DEN_1, align 4, !tbaa !13 %181 = load i32, ptr %172, align 4, !tbaa !17 %182 = load i32, ptr @CS43130_SP_M_LSB_DATA_MASK, align 4, !tbaa !13 %183 = and i32 %182, %181 %184 = load i32, ptr @CS43130_SP_M_LSB_DATA_SHIFT, align 4, !tbaa !13 %185 = ashr i32 %183, %184 %186 = tail call i32 @regmap_write(i32 noundef %179, i32 noundef %180, i32 noundef %185) #3 %187 = load i32, ptr %3, align 8, !tbaa !15 %188 = load i32, ptr @CS43130_ASP_DEN_2, align 4, !tbaa !13 %189 = load i32, ptr %172, align 4, !tbaa !17 %190 = load i32, ptr @CS43130_SP_M_MSB_DATA_MASK, align 4, !tbaa !13 %191 = and i32 %190, %189 %192 = load i32, ptr @CS43130_SP_M_MSB_DATA_SHIFT, align 4, !tbaa !13 %193 = ashr i32 %191, %192 %194 = tail call i32 @regmap_write(i32 noundef %187, i32 noundef %188, i32 noundef %193) #3 %195 = load i32, ptr %3, align 8, !tbaa !15 %196 = load i32, ptr @CS43130_ASP_NUM_1, align 4, !tbaa !13 %197 = getelementptr inbounds %struct.cs43130_clk_gen, ptr %172, i64 0, i32 1 %198 = load i32, ptr %197, align 4, !tbaa !19 %199 = load i32, ptr @CS43130_SP_N_LSB_DATA_MASK, align 4, !tbaa !13 %200 = and i32 %199, %198 %201 = load i32, ptr @CS43130_SP_N_LSB_DATA_SHIFT, align 4, !tbaa !13 %202 = ashr i32 %200, %201 %203 = tail call i32 @regmap_write(i32 noundef %195, i32 noundef %196, i32 noundef %202) #3 %204 = load i32, ptr %3, align 8, !tbaa !15 %205 = load i32, ptr @CS43130_ASP_NUM_2, align 4, !tbaa !13 %206 = load i32, ptr %197, align 4, !tbaa !19 %207 = load i32, ptr @CS43130_SP_N_MSB_DATA_MASK, align 4, !tbaa !13 %208 = and i32 %207, %206 %209 = load i32, ptr @CS43130_SP_N_MSB_DATA_SHIFT, align 4, !tbaa !13 %210 = ashr i32 %208, %209 %211 = tail call i32 @regmap_write(i32 noundef %204, i32 noundef %205, i32 noundef %210) #3 br label %249 212: ; preds = %177 %213 = load i32, ptr %3, align 8, !tbaa !15 %214 = load i32, ptr @CS43130_XSP_DEN_1, align 4, !tbaa !13 %215 = load i32, ptr %172, align 4, !tbaa !17 %216 = load i32, ptr @CS43130_SP_M_LSB_DATA_MASK, align 4, !tbaa !13 %217 = and i32 %216, %215 %218 = load i32, ptr @CS43130_SP_M_LSB_DATA_SHIFT, align 4, !tbaa !13 %219 = ashr i32 %217, %218 %220 = tail call i32 @regmap_write(i32 noundef %213, i32 noundef %214, i32 noundef %219) #3 %221 = load i32, ptr %3, align 8, !tbaa !15 %222 = load i32, ptr @CS43130_XSP_DEN_2, align 4, !tbaa !13 %223 = load i32, ptr %172, align 4, !tbaa !17 %224 = load i32, ptr @CS43130_SP_M_MSB_DATA_MASK, align 4, !tbaa !13 %225 = and i32 %224, %223 %226 = load i32, ptr @CS43130_SP_M_MSB_DATA_SHIFT, align 4, !tbaa !13 %227 = ashr i32 %225, %226 %228 = tail call i32 @regmap_write(i32 noundef %221, i32 noundef %222, i32 noundef %227) #3 %229 = load i32, ptr %3, align 8, !tbaa !15 %230 = load i32, ptr @CS43130_XSP_NUM_1, align 4, !tbaa !13 %231 = getelementptr inbounds %struct.cs43130_clk_gen, ptr %172, i64 0, i32 1 %232 = load i32, ptr %231, align 4, !tbaa !19 %233 = load i32, ptr @CS43130_SP_N_LSB_DATA_MASK, align 4, !tbaa !13 %234 = and i32 %233, %232 %235 = load i32, ptr @CS43130_SP_N_LSB_DATA_SHIFT, align 4, !tbaa !13 %236 = ashr i32 %234, %235 %237 = tail call i32 @regmap_write(i32 noundef %229, i32 noundef %230, i32 noundef %236) #3 %238 = load i32, ptr %3, align 8, !tbaa !15 %239 = load i32, ptr @CS43130_XSP_NUM_2, align 4, !tbaa !13 %240 = load i32, ptr %231, align 4, !tbaa !19 %241 = load i32, ptr @CS43130_SP_N_MSB_DATA_MASK, align 4, !tbaa !13 %242 = and i32 %241, %240 %243 = load i32, ptr @CS43130_SP_N_MSB_DATA_SHIFT, align 4, !tbaa !13 %244 = ashr i32 %242, %243 %245 = tail call i32 @regmap_write(i32 noundef %238, i32 noundef %239, i32 noundef %244) #3 br label %249 246: ; preds = %177 %247 = load i32, ptr @EINVAL, align 4, !tbaa !13 %248 = sub nsw i32 0, %247 br label %249 249: ; preds = %178, %212, %246, %174, %168, %96, %23, %13 %250 = phi i32 [ %15, %13 ], [ %25, %23 ], [ %98, %96 ], [ %170, %168 ], [ %248, %246 ], [ %176, %174 ], [ 0, %212 ], [ 0, %178 ] ret i32 %250 } declare i32 @params_channels(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cs43130_get_clk_gen(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @params_rate(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(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, !10, i64 8} !6 = !{!"cs43130_private", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !13 = !{!7, !7, i64 0} !14 = !{!12, !7, i64 4} !15 = !{!6, !7, i64 0} !16 = !{!6, !7, i64 4} !17 = !{!18, !7, i64 0} !18 = !{!"cs43130_clk_gen", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 4}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs43130.c_cs43130_set_sp_fmt.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs43130.c_cs43130_set_sp_fmt.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 } @EINVAL = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_FSD_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_STP_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_STP_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_IN_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_OUT_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPOL_OUT_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_IN_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_IN_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_OUT_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_SCPOL_OUT_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_MODE_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_MODE_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_PERIOD_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_LSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_PERIOD_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCPR_MSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_HI_TIME_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_LSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_LRCK_HI_TIME_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_LCHI_MSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_FRAME_CONF = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_1_LOC = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_2_LOC = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_1_SZ_EN = common local_unnamed_addr global i32 0, align 4 @CS43130_CH_EN_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_CH_EN_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CH_2_SZ_EN = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_CLOCK_CONF = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_PERIOD_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_PERIOD_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_HI_TIME_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_LRCK_HI_TIME_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_FRAME_CONF = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_1_LOC = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_2_LOC = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_1_SZ_EN = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CH_2_SZ_EN = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_CLOCK_CONF = common local_unnamed_addr global i32 0, align 4 @cs43130_16_clk_gen = common local_unnamed_addr global i32 0, align 4 @cs43130_32_clk_gen = common local_unnamed_addr global i32 0, align 4 @cs43130_48_clk_gen = common local_unnamed_addr global i32 0, align 4 @cs43130_64_clk_gen = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_DEN_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_LSB_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_LSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_DEN_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_MSB_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_M_MSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_NUM_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_LSB_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_LSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_ASP_NUM_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_MSB_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @CS43130_SP_N_MSB_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_DEN_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_DEN_2 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_NUM_1 = common local_unnamed_addr global i32 0, align 4 @CS43130_XSP_NUM_2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cs43130_set_sp_fmt], section "llvm.metadata" @switch.table.cs43130_set_sp_fmt = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_LRCK_PERIOD_1, ptr @CS43130_ASP_LRCK_PERIOD_1, ptr @CS43130_ASP_LRCK_PERIOD_1], align 8 @switch.table.cs43130_set_sp_fmt.1 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_LRCK_PERIOD_2, ptr @CS43130_ASP_LRCK_PERIOD_2, ptr @CS43130_ASP_LRCK_PERIOD_2], align 8 @switch.table.cs43130_set_sp_fmt.2 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_LRCK_HI_TIME_1, ptr @CS43130_ASP_LRCK_HI_TIME_1, ptr @CS43130_ASP_LRCK_HI_TIME_1], align 8 @switch.table.cs43130_set_sp_fmt.3 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_LRCK_HI_TIME_2, ptr @CS43130_ASP_LRCK_HI_TIME_2, ptr @CS43130_ASP_LRCK_HI_TIME_2], align 8 @switch.table.cs43130_set_sp_fmt.4 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_FRAME_CONF, ptr @CS43130_ASP_FRAME_CONF, ptr @CS43130_ASP_FRAME_CONF], align 8 @switch.table.cs43130_set_sp_fmt.5 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_CH_1_LOC, ptr @CS43130_ASP_CH_1_LOC, ptr @CS43130_ASP_CH_1_LOC], align 8 @switch.table.cs43130_set_sp_fmt.6 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_CH_2_LOC, ptr @CS43130_ASP_CH_2_LOC, ptr @CS43130_ASP_CH_2_LOC], align 8 @switch.table.cs43130_set_sp_fmt.7 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_CH_1_SZ_EN, ptr @CS43130_ASP_CH_1_SZ_EN, ptr @CS43130_ASP_CH_1_SZ_EN], align 8 @switch.table.cs43130_set_sp_fmt.8 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_CH_2_SZ_EN, ptr @CS43130_ASP_CH_2_SZ_EN, ptr @CS43130_ASP_CH_2_SZ_EN], align 8 @switch.table.cs43130_set_sp_fmt.9 = private unnamed_addr constant [3 x ptr] [ptr @CS43130_XSP_CLOCK_CONF, ptr @CS43130_ASP_CLOCK_CONF, ptr @CS43130_ASP_CLOCK_CONF], align 8 @switch.table.cs43130_set_sp_fmt.10 = private unnamed_addr constant [4 x ptr] [ptr @cs43130_16_clk_gen, ptr @cs43130_32_clk_gen, ptr @cs43130_48_clk_gen, ptr @cs43130_64_clk_gen], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @cs43130_set_sp_fmt(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = sext i32 %0 to i64 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !12 switch i32 %9, label %13 [ i32 129, label %16 i32 128, label %10 i32 131, label %11 i32 130, label %12 ] 10: ; preds = %4 br label %16 11: ; preds = %4 br label %16 12: ; preds = %4 br label %16 13: ; preds = %4 %14 = load i32, ptr @EINVAL, align 4, !tbaa !14 %15 = sub nsw i32 0, %14 br label %224 16: ; preds = %4, %12, %11, %10 %17 = phi i32 [ 1, %12 ], [ 1, %11 ], [ 1, %10 ], [ 0, %4 ] %18 = phi i32 [ 0, %12 ], [ 2, %11 ], [ 2, %10 ], [ 2, %4 ] %19 = phi i32 [ 1, %12 ], [ 1, %11 ], [ %1, %10 ], [ %1, %4 ] %20 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !15 switch i32 %21, label %23 [ i32 132, label %26 i32 133, label %22 ] 22: ; preds = %16 br label %26 23: ; preds = %16 %24 = load i32, ptr @EINVAL, align 4, !tbaa !14 %25 = sub nsw i32 0, %24 br label %224 26: ; preds = %16, %22 %27 = phi i32 [ 1, %22 ], [ 0, %16 ] %28 = tail call i32 @params_channels(ptr noundef %2) #3 %29 = tail call i32 @params_channels(ptr noundef %2) #3 %30 = add i32 %0, -134 %31 = icmp ult i32 %30, 3 br i1 %31, label %35, label %32 32: ; preds = %26 %33 = load i32, ptr @EINVAL, align 4, !tbaa !14 %34 = sub nsw i32 0, %33 br label %224 35: ; preds = %26 %36 = load i32, ptr @CS43130_SP_SCPOL_OUT_SHIFT, align 4, !tbaa !14 %37 = shl nuw i32 1, %36 %38 = load i32, ptr @CS43130_SP_SCPOL_OUT_MASK, align 4, !tbaa !14 %39 = and i32 %37, %38 %40 = load i32, ptr @CS43130_SP_SCPOL_IN_SHIFT, align 4, !tbaa !14 %41 = shl nuw i32 1, %40 %42 = load i32, ptr @CS43130_SP_SCPOL_IN_MASK, align 4, !tbaa !14 %43 = and i32 %41, %42 %44 = or i32 %39, %43 %45 = load i32, ptr @CS43130_SP_MODE_SHIFT, align 4, !tbaa !14 %46 = shl nuw i32 %27, %45 %47 = load i32, ptr @CS43130_SP_MODE_MASK, align 4, !tbaa !14 %48 = and i32 %46, %47 %49 = or i32 %44, %48 %50 = load i32, ptr @CS43130_SP_STP_SHIFT, align 4, !tbaa !14 %51 = shl nuw i32 %17, %50 %52 = load i32, ptr @CS43130_SP_STP_MASK, align 4, !tbaa !14 %53 = and i32 %51, %52 %54 = load i32, ptr @CS43130_SP_FSD_MASK, align 4, !tbaa !14 %55 = and i32 %54, %18 %56 = or i32 %53, %55 %57 = add nsw i32 %29, -1 %58 = mul i32 %57, %1 %59 = mul i32 %28, %1 %60 = zext nneg i32 %30 to i64 %61 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt, i64 0, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = zext nneg i32 %30 to i64 %64 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.1, i64 0, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = zext nneg i32 %30 to i64 %67 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.2, i64 0, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = zext nneg i32 %30 to i64 %70 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.3, i64 0, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = zext nneg i32 %30 to i64 %73 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.4, i64 0, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = zext nneg i32 %30 to i64 %76 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.5, i64 0, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = zext nneg i32 %30 to i64 %79 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.6, i64 0, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = zext nneg i32 %30 to i64 %82 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.7, i64 0, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = zext nneg i32 %30 to i64 %85 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.8, i64 0, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = zext nneg i32 %30 to i64 %88 = getelementptr inbounds [3 x ptr], ptr @switch.table.cs43130_set_sp_fmt.9, i64 0, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = load i32, ptr %3, align 8, !tbaa !16 %91 = load i32, ptr %62, align 4, !tbaa !14 %92 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !14 %93 = add nsw i32 %59, -1 %94 = load i32, ptr @CS43130_SP_LCPR_LSB_DATA_SHIFT, align 4, !tbaa !14 %95 = ashr i32 %93, %94 %96 = tail call i32 @regmap_update_bits(i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %95) #3 %97 = load i32, ptr %3, align 8, !tbaa !16 %98 = load i32, ptr %65, align 4, !tbaa !14 %99 = load i32, ptr @CS43130_SP_LCPR_DATA_MASK, align 4, !tbaa !14 %100 = load i32, ptr @CS43130_SP_LCPR_MSB_DATA_SHIFT, align 4, !tbaa !14 %101 = ashr i32 %93, %100 %102 = tail call i32 @regmap_update_bits(i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %101) #3 %103 = load i32, ptr %3, align 8, !tbaa !16 %104 = load i32, ptr %68, align 4, !tbaa !14 %105 = load i32, ptr @CS43130_SP_LCHI_DATA_MASK, align 4, !tbaa !14 %106 = add nsw i32 %19, -1 %107 = load i32, ptr @CS43130_SP_LCHI_LSB_DATA_SHIFT, align 4, !tbaa !14 %108 = ashr i32 %106, %107 %109 = tail call i32 @regmap_update_bits(i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %108) #3 %110 = load i32, ptr %3, align 8, !tbaa !16 %111 = load i32, ptr %71, align 4, !tbaa !14 %112 = load i32, ptr @CS43130_SP_LCHI_DATA_MASK, align 4, !tbaa !14 %113 = load i32, ptr @CS43130_SP_LCHI_MSB_DATA_SHIFT, align 4, !tbaa !14 %114 = ashr i32 %106, %113 %115 = tail call i32 @regmap_update_bits(i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %114) #3 %116 = load i32, ptr %3, align 8, !tbaa !16 %117 = load i32, ptr %74, align 4, !tbaa !14 %118 = tail call i32 @regmap_write(i32 noundef %116, i32 noundef %117, i32 noundef %56) #3 %119 = load i32, ptr %3, align 8, !tbaa !16 %120 = load i32, ptr %77, align 4, !tbaa !14 %121 = tail call i32 @regmap_write(i32 noundef %119, i32 noundef %120, i32 noundef 0) #3 %122 = load i32, ptr %3, align 8, !tbaa !16 %123 = load i32, ptr %80, align 4, !tbaa !14 %124 = tail call i32 @regmap_write(i32 noundef %122, i32 noundef %123, i32 noundef %58) #3 %125 = load i32, ptr %3, align 8, !tbaa !16 %126 = load i32, ptr %83, align 4, !tbaa !14 %127 = load i32, ptr @CS43130_CH_EN_MASK, align 4, !tbaa !14 %128 = load i32, ptr @CS43130_CH_EN_SHIFT, align 4, !tbaa !14 %129 = shl nuw i32 1, %128 %130 = tail call i32 @regmap_update_bits(i32 noundef %125, i32 noundef %126, i32 noundef %127, i32 noundef %129) #3 %131 = load i32, ptr %3, align 8, !tbaa !16 %132 = load i32, ptr %86, align 4, !tbaa !14 %133 = load i32, ptr @CS43130_CH_EN_MASK, align 4, !tbaa !14 %134 = load i32, ptr @CS43130_CH_EN_SHIFT, align 4, !tbaa !14 %135 = shl nuw i32 1, %134 %136 = tail call i32 @regmap_update_bits(i32 noundef %131, i32 noundef %132, i32 noundef %133, i32 noundef %135) #3 %137 = load i32, ptr %3, align 8, !tbaa !16 %138 = load i32, ptr %89, align 4, !tbaa !14 %139 = tail call i32 @regmap_write(i32 noundef %137, i32 noundef %138, i32 noundef %49) #3 %140 = add i32 %59, -16 %141 = tail call i32 @llvm.fshl.i32(i32 %140, i32 %140, i32 28) %142 = icmp ult i32 %141, 4 br i1 %142, label %146, label %143 143: ; preds = %35 %144 = load i32, ptr @EINVAL, align 4, !tbaa !14 %145 = sub nsw i32 0, %144 br label %224 146: ; preds = %35 %147 = zext nneg i32 %141 to i64 %148 = getelementptr inbounds [4 x ptr], ptr @switch.table.cs43130_set_sp_fmt.10, i64 0, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = getelementptr inbounds i8, ptr %3, i64 4 %151 = load i32, ptr %150, align 4, !tbaa !17 %152 = tail call i32 @params_rate(ptr noundef %2) #3 %153 = load i32, ptr %149, align 4, !tbaa !14 %154 = tail call i32 @ARRAY_SIZE(i32 noundef %153) #3 %155 = tail call ptr @cs43130_get_clk_gen(i32 noundef %151, i32 noundef %152, i32 noundef %153, i32 noundef %154) #3 %156 = icmp eq ptr %155, null br i1 %156, label %157, label %160 157: ; preds = %146 %158 = load i32, ptr @EINVAL, align 4, !tbaa !14 %159 = sub nsw i32 0, %158 br label %224 160: ; preds = %146 %161 = add nsw i32 %0, -135 %162 = icmp ult i32 %161, 2 %163 = load i32, ptr %3, align 8, !tbaa !16 %164 = load i32, ptr %155, align 4, !tbaa !18 %165 = load i32, ptr @CS43130_SP_M_LSB_DATA_MASK, align 4, !tbaa !14 %166 = and i32 %165, %164 %167 = load i32, ptr @CS43130_SP_M_LSB_DATA_SHIFT, align 4, !tbaa !14 %168 = ashr i32 %166, %167 %169 = getelementptr inbounds i8, ptr %155, i64 4 br i1 %162, label %170, label %197 170: ; preds = %160 %171 = load i32, ptr @CS43130_ASP_DEN_1, align 4, !tbaa !14 %172 = tail call i32 @regmap_write(i32 noundef %163, i32 noundef %171, i32 noundef %168) #3 %173 = load i32, ptr %3, align 8, !tbaa !16 %174 = load i32, ptr @CS43130_ASP_DEN_2, align 4, !tbaa !14 %175 = load i32, ptr %155, align 4, !tbaa !18 %176 = load i32, ptr @CS43130_SP_M_MSB_DATA_MASK, align 4, !tbaa !14 %177 = and i32 %176, %175 %178 = load i32, ptr @CS43130_SP_M_MSB_DATA_SHIFT, align 4, !tbaa !14 %179 = ashr i32 %177, %178 %180 = tail call i32 @regmap_write(i32 noundef %173, i32 noundef %174, i32 noundef %179) #3 %181 = load i32, ptr %3, align 8, !tbaa !16 %182 = load i32, ptr @CS43130_ASP_NUM_1, align 4, !tbaa !14 %183 = load i32, ptr %169, align 4, !tbaa !20 %184 = load i32, ptr @CS43130_SP_N_LSB_DATA_MASK, align 4, !tbaa !14 %185 = and i32 %184, %183 %186 = load i32, ptr @CS43130_SP_N_LSB_DATA_SHIFT, align 4, !tbaa !14 %187 = ashr i32 %185, %186 %188 = tail call i32 @regmap_write(i32 noundef %181, i32 noundef %182, i32 noundef %187) #3 %189 = load i32, ptr %3, align 8, !tbaa !16 %190 = load i32, ptr @CS43130_ASP_NUM_2, align 4, !tbaa !14 %191 = load i32, ptr %169, align 4, !tbaa !20 %192 = load i32, ptr @CS43130_SP_N_MSB_DATA_MASK, align 4, !tbaa !14 %193 = and i32 %192, %191 %194 = load i32, ptr @CS43130_SP_N_MSB_DATA_SHIFT, align 4, !tbaa !14 %195 = ashr i32 %193, %194 %196 = tail call i32 @regmap_write(i32 noundef %189, i32 noundef %190, i32 noundef %195) #3 br label %224 197: ; preds = %160 %198 = load i32, ptr @CS43130_XSP_DEN_1, align 4, !tbaa !14 %199 = tail call i32 @regmap_write(i32 noundef %163, i32 noundef %198, i32 noundef %168) #3 %200 = load i32, ptr %3, align 8, !tbaa !16 %201 = load i32, ptr @CS43130_XSP_DEN_2, align 4, !tbaa !14 %202 = load i32, ptr %155, align 4, !tbaa !18 %203 = load i32, ptr @CS43130_SP_M_MSB_DATA_MASK, align 4, !tbaa !14 %204 = and i32 %203, %202 %205 = load i32, ptr @CS43130_SP_M_MSB_DATA_SHIFT, align 4, !tbaa !14 %206 = ashr i32 %204, %205 %207 = tail call i32 @regmap_write(i32 noundef %200, i32 noundef %201, i32 noundef %206) #3 %208 = load i32, ptr %3, align 8, !tbaa !16 %209 = load i32, ptr @CS43130_XSP_NUM_1, align 4, !tbaa !14 %210 = load i32, ptr %169, align 4, !tbaa !20 %211 = load i32, ptr @CS43130_SP_N_LSB_DATA_MASK, align 4, !tbaa !14 %212 = and i32 %211, %210 %213 = load i32, ptr @CS43130_SP_N_LSB_DATA_SHIFT, align 4, !tbaa !14 %214 = ashr i32 %212, %213 %215 = tail call i32 @regmap_write(i32 noundef %208, i32 noundef %209, i32 noundef %214) #3 %216 = load i32, ptr %3, align 8, !tbaa !16 %217 = load i32, ptr @CS43130_XSP_NUM_2, align 4, !tbaa !14 %218 = load i32, ptr %169, align 4, !tbaa !20 %219 = load i32, ptr @CS43130_SP_N_MSB_DATA_MASK, align 4, !tbaa !14 %220 = and i32 %219, %218 %221 = load i32, ptr @CS43130_SP_N_MSB_DATA_SHIFT, align 4, !tbaa !14 %222 = ashr i32 %220, %221 %223 = tail call i32 @regmap_write(i32 noundef %216, i32 noundef %217, i32 noundef %222) #3 br label %224 224: ; preds = %170, %197, %157, %143, %32, %23, %13 %225 = phi i32 [ %15, %13 ], [ %25, %23 ], [ %34, %32 ], [ %145, %143 ], [ %159, %157 ], [ 0, %197 ], [ 0, %170 ] ret i32 %225 } declare i32 @params_channels(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cs43130_get_clk_gen(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @params_rate(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(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, !11, i64 8} !7 = !{!"cs43130_private", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !14 = !{!8, !8, i64 0} !15 = !{!13, !8, i64 4} !16 = !{!7, !8, i64 0} !17 = !{!7, !8, i64 4} !18 = !{!19, !8, i64 0} !19 = !{!"cs43130_clk_gen", !8, i64 0, !8, i64 4} !20 = !{!19, !8, i64 4}
linux_sound_soc_codecs_extr_cs43130.c_cs43130_set_sp_fmt
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen.c_rolloff_get.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen.c_rolloff_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AK4396_CONTROL_2 = dso_local local_unnamed_addr global i64 0, align 8 @AK4396_SLOW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rolloff_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @rolloff_get(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load i64, ptr @AK4396_CONTROL_2, align 8, !tbaa !15 %8 = getelementptr inbounds i32, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = load i32, ptr @AK4396_SLOW, align 4, !tbaa !17 %11 = and i32 %10, %9 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i32 %14 = load ptr, ptr %1, align 8, !tbaa !19 store i32 %13, ptr %14, align 4, !tbaa !17 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_kcontrol", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"oxygen", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"generic_data", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !8, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"snd_ctl_elem_value", !21, i64 0} !21 = !{!"TYPE_4__", !22, i64 0} !22 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen.c_rolloff_get.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen.c_rolloff_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AK4396_CONTROL_2 = common local_unnamed_addr global i64 0, align 8 @AK4396_SLOW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rolloff_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @rolloff_get(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load ptr, ptr %5, align 8, !tbaa !15 %7 = load i64, ptr @AK4396_CONTROL_2, align 8, !tbaa !16 %8 = getelementptr inbounds i32, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !18 %10 = load i32, ptr @AK4396_SLOW, align 4, !tbaa !18 %11 = and i32 %10, %9 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i32 %14 = load ptr, ptr %1, align 8, !tbaa !20 store i32 %13, ptr %14, align 4, !tbaa !18 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_kcontrol", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"oxygen", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"generic_data", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"int", !9, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"snd_ctl_elem_value", !22, i64 0} !22 = !{!"TYPE_4__", !23, i64 0} !23 = !{!"TYPE_3__", !8, i64 0}
fastsocket_kernel_sound_pci_oxygen_extr_oxygen.c_rolloff_get
; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_request.c_fpm_request_is_idle.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_request.c_fpm_request_is_idle.c" target datalayout = "e-m:e-p270:32:32-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.fpm_child_s = type { i32, ptr } @FPM_REQUEST_ACCEPTING = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @fpm_request_is_idle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.fpm_child_s, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = tail call ptr @fpm_scoreboard_proc_get(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load i64, ptr %6, align 8, !tbaa !14 %10 = load i64, ptr @FPM_REQUEST_ACCEPTING, align 8, !tbaa !17 %11 = icmp eq i64 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %1, %8 %14 = phi i32 [ %12, %8 ], [ 0, %1 ] ret i32 %14 } declare ptr @fpm_scoreboard_proc_get(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"fpm_child_s", !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, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"fpm_scoreboard_proc_s", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_request.c_fpm_request_is_idle.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_request.c_fpm_request_is_idle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FPM_REQUEST_ACCEPTING = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @fpm_request_is_idle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = load i32, ptr %0, align 8, !tbaa !14 %6 = tail call ptr @fpm_scoreboard_proc_get(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load i64, ptr %6, align 8, !tbaa !15 %10 = load i64, ptr @FPM_REQUEST_ACCEPTING, align 8, !tbaa !18 %11 = icmp eq i64 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %1, %8 %14 = phi i32 [ %12, %8 ], [ 0, %1 ] ret i32 %14 } declare ptr @fpm_scoreboard_proc_get(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"fpm_child_s", !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, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"fpm_scoreboard_proc_s", !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!17, !17, i64 0}
php-src_sapi_fpm_fpm_extr_fpm_request.c_fpm_request_is_idle
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.c_bnx2x_vf_handle_rss_update_eqe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.c_bnx2x_vf_handle_rss_update_eqe.c" target datalayout = "e-m:e-p270:32:32-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 @bnx2x_vf_handle_rss_update_eqe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnx2x_vf_handle_rss_update_eqe(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = tail call i32 %3(ptr noundef nonnull %1) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 0} !6 = !{!"bnx2x_virtf", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.c_bnx2x_vf_handle_rss_update_eqe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.c_bnx2x_vf_handle_rss_update_eqe.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 @bnx2x_vf_handle_rss_update_eqe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnx2x_vf_handle_rss_update_eqe(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = tail call i32 %3(ptr noundef nonnull %1) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 0} !7 = !{!"bnx2x_virtf", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"TYPE_4__", !10, i64 0} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_sriov.c_bnx2x_vf_handle_rss_update_eqe
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-live.h_type_var_next_partition.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-live.h_type_var_next_partition.c" target datalayout = "e-m:e-p270:32:32-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 @type_var_next_partition], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @type_var_next_partition(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @tpa_next_partition(i32 noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @tpa_next_partition(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-live.h_type_var_next_partition.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-live.h_type_var_next_partition.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 @type_var_next_partition], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @type_var_next_partition(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @tpa_next_partition(i32 noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @tpa_next_partition(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gcc_extr_tree-ssa-live.h_type_var_next_partition
; ModuleID = 'AnghaBench/i3/src/extr_tree.c_tree_split.c' source_filename = "AnghaBench/i3/src/extr_tree.c_tree_split.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i64, i64, double, ptr, i32, i32, i32 } @.str = private unnamed_addr constant [37 x i8] c"Floating containers can't be split.\0A\00", align 1 @CT_WORKSPACE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"Changing workspace_layout to L_DEFAULT\0A\00", align 1 @L_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"Changing orientation of workspace\0A\00", align 1 @HORIZ = dso_local local_unnamed_addr global i64 0, align 8 @L_SPLITH = dso_local local_unnamed_addr global i64 0, align 8 @L_SPLITV = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [49 x i8] c"Just changing orientation of existing container\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Splitting in orientation %d\0A\00", align 1 @nodes = dso_local local_unnamed_addr global i32 0, align 4 @focused = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tree_split(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @con_is_floating(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str) #2 br label %71 7: ; preds = %2 %8 = load i64, ptr %0, align 8, !tbaa !5 %9 = load i64, ptr @CT_WORKSPACE, align 8, !tbaa !13 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %31 11: ; preds = %7 %12 = tail call i32 @con_num_children(ptr noundef nonnull %0) #2 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %29 14: ; preds = %11 %15 = tail call i32 @con_num_children(ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.1) #2 %19 = load i32, ptr @L_DEFAULT, align 4, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 6 store i32 %19, ptr %20, align 8, !tbaa !15 br label %21 21: ; preds = %17, %14 %22 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.2) #2 %23 = load i64, ptr @HORIZ, align 8, !tbaa !13 %24 = icmp eq i64 %23, %1 %25 = load i64, ptr @L_SPLITH, align 8 %26 = load i64, ptr @L_SPLITV, align 8 %27 = select i1 %24, i64 %25, i64 %26 %28 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i64 %27, ptr %28, align 8, !tbaa !16 br label %71 29: ; preds = %11 %30 = tail call ptr @workspace_encapsulate(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %7 %32 = phi ptr [ %30, %29 ], [ %0, %7 ] %33 = getelementptr inbounds %struct.TYPE_13__, ptr %32, i64 0, i32 3 %34 = load ptr, ptr %33, align 8, !tbaa !17 %35 = tail call i32 @con_force_split_parents_redraw(ptr noundef %32) #2 %36 = tail call i32 @con_num_children(ptr noundef %34) #2 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %51 38: ; preds = %31 %39 = getelementptr inbounds %struct.TYPE_13__, ptr %34, i64 0, i32 1 %40 = load i64, ptr %39, align 8, !tbaa !16 %41 = load i64, ptr @L_SPLITH, align 8 %42 = icmp eq i64 %40, %41 %43 = load i64, ptr @L_SPLITV, align 8 %44 = icmp eq i64 %40, %43 %45 = select i1 %42, i1 true, i1 %44 br i1 %45, label %46, label %51 46: ; preds = %38 %47 = load i64, ptr @HORIZ, align 8, !tbaa !13 %48 = icmp eq i64 %47, %1 %49 = select i1 %48, i64 %41, i64 %43 store i64 %49, ptr %39, align 8, !tbaa !16 %50 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.3) #2 br label %71 51: ; preds = %38, %31 %52 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.4, i64 noundef %1) #2 %53 = tail call ptr @con_new(ptr noundef null, ptr noundef null) #2 %54 = getelementptr inbounds %struct.TYPE_13__, ptr %34, i64 0, i32 5 %55 = load i32, ptr @nodes, align 4, !tbaa !14 %56 = tail call i32 @TAILQ_REPLACE(ptr noundef nonnull %54, ptr noundef nonnull %32, ptr noundef %53, i32 noundef %55) #2 %57 = getelementptr inbounds %struct.TYPE_13__, ptr %34, i64 0, i32 4 %58 = load i32, ptr @focused, align 4, !tbaa !14 %59 = tail call i32 @TAILQ_REPLACE(ptr noundef nonnull %57, ptr noundef nonnull %32, ptr noundef %53, i32 noundef %58) #2 %60 = getelementptr inbounds %struct.TYPE_13__, ptr %53, i64 0, i32 3 store ptr %34, ptr %60, align 8, !tbaa !17 %61 = load i64, ptr @HORIZ, align 8, !tbaa !13 %62 = icmp eq i64 %61, %1 %63 = load i64, ptr @L_SPLITH, align 8 %64 = load i64, ptr @L_SPLITV, align 8 %65 = select i1 %62, i64 %63, i64 %64 %66 = getelementptr inbounds %struct.TYPE_13__, ptr %53, i64 0, i32 1 store i64 %65, ptr %66, align 8, !tbaa !16 %67 = getelementptr inbounds %struct.TYPE_13__, ptr %32, i64 0, i32 2 %68 = load double, ptr %67, align 8, !tbaa !18 %69 = getelementptr inbounds %struct.TYPE_13__, ptr %53, i64 0, i32 2 store double %68, ptr %69, align 8, !tbaa !18 store double 0.000000e+00, ptr %67, align 8, !tbaa !18 %70 = tail call i32 @con_attach(ptr noundef nonnull %32, ptr noundef %53, i32 noundef 0) #2 br label %71 71: ; preds = %46, %51, %5, %21 ret void } declare i64 @con_is_floating(ptr noundef) local_unnamed_addr #1 declare i32 @DLOG(ptr noundef, ...) local_unnamed_addr #1 declare i32 @con_num_children(ptr noundef) local_unnamed_addr #1 declare ptr @workspace_encapsulate(ptr noundef) local_unnamed_addr #1 declare i32 @con_force_split_parents_redraw(ptr noundef) local_unnamed_addr #1 declare ptr @con_new(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_REPLACE(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @con_attach(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 = !{!"TYPE_13__", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !12, i64 32, !12, i64 36, !12, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"double", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!6, !12, i64 40} !16 = !{!6, !7, i64 8} !17 = !{!6, !11, i64 24} !18 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/i3/src/extr_tree.c_tree_split.c' source_filename = "AnghaBench/i3/src/extr_tree.c_tree_split.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [37 x i8] c"Floating containers can't be split.\0A\00", align 1 @CT_WORKSPACE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"Changing workspace_layout to L_DEFAULT\0A\00", align 1 @L_DEFAULT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"Changing orientation of workspace\0A\00", align 1 @HORIZ = common local_unnamed_addr global i64 0, align 8 @L_SPLITH = common local_unnamed_addr global i64 0, align 8 @L_SPLITV = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [49 x i8] c"Just changing orientation of existing container\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Splitting in orientation %d\0A\00", align 1 @nodes = common local_unnamed_addr global i32 0, align 4 @focused = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tree_split(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @con_is_floating(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str) #2 br label %71 7: ; preds = %2 %8 = load i64, ptr %0, align 8, !tbaa !6 %9 = load i64, ptr @CT_WORKSPACE, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %31 11: ; preds = %7 %12 = tail call i32 @con_num_children(ptr noundef nonnull %0) #2 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %29 14: ; preds = %11 %15 = tail call i32 @con_num_children(ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.1) #2 %19 = load i32, ptr @L_DEFAULT, align 4, !tbaa !15 %20 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %19, ptr %20, align 8, !tbaa !16 br label %21 21: ; preds = %17, %14 %22 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.2) #2 %23 = load i64, ptr @HORIZ, align 8, !tbaa !14 %24 = icmp eq i64 %23, %1 %25 = load i64, ptr @L_SPLITH, align 8 %26 = load i64, ptr @L_SPLITV, align 8 %27 = select i1 %24, i64 %25, i64 %26 %28 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %27, ptr %28, align 8, !tbaa !17 br label %71 29: ; preds = %11 %30 = tail call ptr @workspace_encapsulate(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %7 %32 = phi ptr [ %30, %29 ], [ %0, %7 ] %33 = getelementptr inbounds i8, ptr %32, i64 24 %34 = load ptr, ptr %33, align 8, !tbaa !18 %35 = tail call i32 @con_force_split_parents_redraw(ptr noundef %32) #2 %36 = tail call i32 @con_num_children(ptr noundef %34) #2 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %51 38: ; preds = %31 %39 = getelementptr inbounds i8, ptr %34, i64 8 %40 = load i64, ptr %39, align 8, !tbaa !17 %41 = load i64, ptr @L_SPLITH, align 8 %42 = icmp eq i64 %40, %41 %43 = load i64, ptr @L_SPLITV, align 8 %44 = icmp eq i64 %40, %43 %45 = select i1 %42, i1 true, i1 %44 br i1 %45, label %46, label %51 46: ; preds = %38 %47 = load i64, ptr @HORIZ, align 8, !tbaa !14 %48 = icmp eq i64 %47, %1 %49 = select i1 %48, i64 %41, i64 %43 store i64 %49, ptr %39, align 8, !tbaa !17 %50 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.3) #2 br label %71 51: ; preds = %38, %31 %52 = tail call i32 (ptr, ...) @DLOG(ptr noundef nonnull @.str.4, i64 noundef %1) #2 %53 = tail call ptr @con_new(ptr noundef null, ptr noundef null) #2 %54 = getelementptr inbounds i8, ptr %34, i64 36 %55 = load i32, ptr @nodes, align 4, !tbaa !15 %56 = tail call i32 @TAILQ_REPLACE(ptr noundef nonnull %54, ptr noundef nonnull %32, ptr noundef %53, i32 noundef %55) #2 %57 = getelementptr inbounds i8, ptr %34, i64 32 %58 = load i32, ptr @focused, align 4, !tbaa !15 %59 = tail call i32 @TAILQ_REPLACE(ptr noundef nonnull %57, ptr noundef nonnull %32, ptr noundef %53, i32 noundef %58) #2 %60 = getelementptr inbounds i8, ptr %53, i64 24 store ptr %34, ptr %60, align 8, !tbaa !18 %61 = load i64, ptr @HORIZ, align 8, !tbaa !14 %62 = icmp eq i64 %61, %1 %63 = load i64, ptr @L_SPLITH, align 8 %64 = load i64, ptr @L_SPLITV, align 8 %65 = select i1 %62, i64 %63, i64 %64 %66 = getelementptr inbounds i8, ptr %53, i64 8 store i64 %65, ptr %66, align 8, !tbaa !17 %67 = getelementptr inbounds i8, ptr %32, i64 16 %68 = load double, ptr %67, align 8, !tbaa !19 %69 = getelementptr inbounds i8, ptr %53, i64 16 store double %68, ptr %69, align 8, !tbaa !19 store double 0.000000e+00, ptr %67, align 8, !tbaa !19 %70 = tail call i32 @con_attach(ptr noundef nonnull %32, ptr noundef %53, i32 noundef 0) #2 br label %71 71: ; preds = %46, %51, %5, %21 ret void } declare i64 @con_is_floating(ptr noundef) local_unnamed_addr #1 declare i32 @DLOG(ptr noundef, ...) local_unnamed_addr #1 declare i32 @con_num_children(ptr noundef) local_unnamed_addr #1 declare ptr @workspace_encapsulate(ptr noundef) local_unnamed_addr #1 declare i32 @con_force_split_parents_redraw(ptr noundef) local_unnamed_addr #1 declare ptr @con_new(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_REPLACE(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @con_attach(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 = !{!"TYPE_13__", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"double", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!7, !13, i64 40} !17 = !{!7, !8, i64 8} !18 = !{!7, !12, i64 24} !19 = !{!7, !11, i64 16}
i3_src_extr_tree.c_tree_split
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_fas216.c_fas216_start_command.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_fas216.c_fas216_start_command.c" target datalayout = "e-m:e-p270:32:32-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_16__ = type { %struct.TYPE_15__, %struct.TYPE_14__, ptr, %struct.TYPE_11__, ptr } %struct.TYPE_15__ = type { i32, i32 } %struct.TYPE_14__ = type { ptr, i32, i32, i32 } %struct.TYPE_11__ = type { i32 } %struct.scsi_cmnd = type { ptr, ptr, i64, i32 } %struct.TYPE_12__ = type { i64, i32 } %struct.TYPE_13__ = type { i64, i32 } @PHASE_SELECTION = dso_local local_unnamed_addr global i32 0, align 4 @fasdma_none = dso_local local_unnamed_addr global i32 0, align 4 @REG_CNTL1 = dso_local local_unnamed_addr global i32 0, align 4 @CNTL1_PTE = dso_local local_unnamed_addr global i32 0, align 4 @REQUEST_SENSE = dso_local local_unnamed_addr global i64 0, align 8 @SIMPLE_QUEUE_TAG = dso_local local_unnamed_addr global i32 0, align 4 @EXTENDED_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4 @EXTENDED_SDTR = dso_local local_unnamed_addr global i32 0, align 4 @INQUIRY = dso_local local_unnamed_addr global i64 0, align 8 @neg_complete = dso_local local_unnamed_addr global i64 0, align 8 @neg_inprogress = dso_local local_unnamed_addr global i64 0, align 8 @neg_wait = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @fas216_start_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fas216_start_command(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @PHASE_SELECTION, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %5 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1, i32 3 store i32 %3, ptr %5, align 8, !tbaa !9 %6 = getelementptr inbounds %struct.scsi_cmnd, ptr %1, i64 0, i32 3 %7 = load i32, ptr %6, align 8, !tbaa !15 %8 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1, i32 2 store i32 %7, ptr %8, align 4, !tbaa !18 %9 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 4 store ptr %1, ptr %9, align 8, !tbaa !19 %10 = load i32, ptr @fasdma_none, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3 store i32 %10, ptr %11, align 8, !tbaa !20 %12 = getelementptr inbounds %struct.scsi_cmnd, ptr %1, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !21 %14 = load i64, ptr %13, align 8, !tbaa !22 %15 = tail call i64 @parity_test(ptr noundef %0, i64 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = load i32, ptr @REG_CNTL1, align 4, !tbaa !5 %18 = load ptr, ptr %4, align 8, !tbaa !24 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = load i32, ptr @CNTL1_PTE, align 4 %21 = select i1 %16, i32 0, i32 %20 %22 = or i32 %19, %21 %23 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %22) #2 %24 = load ptr, ptr %1, align 8, !tbaa !25 %25 = load i64, ptr %24, align 8, !tbaa !26 %26 = load i64, ptr @REQUEST_SENSE, align 8, !tbaa !26 %27 = icmp eq i64 %25, %26 br i1 %27, label %37, label %28 28: ; preds = %2 %29 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !27 %31 = load ptr, ptr %12, align 8, !tbaa !21 %32 = load i64, ptr %31, align 8, !tbaa !22 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %30, i64 %32, i32 1 %34 = load i32, ptr %33, align 8, !tbaa !28 %35 = icmp ne i32 %34, 0 %36 = zext i1 %35 to i32 br label %37 37: ; preds = %28, %2 %38 = phi i32 [ 0, %2 ], [ %36, %28 ] %39 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1, i32 1 %40 = tail call i32 @msgqueue_flush(ptr noundef nonnull %39) #2 %41 = load ptr, ptr %12, align 8, !tbaa !21 %42 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 1 %43 = load i32, ptr %42, align 8, !tbaa !30 %44 = tail call i32 @IDENTIFY(i32 noundef %38, i32 noundef %43) #2 %45 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef nonnull %39, i32 noundef 1, i32 noundef %44) #2 %46 = getelementptr inbounds %struct.scsi_cmnd, ptr %1, i64 0, i32 2 %47 = load i64, ptr %46, align 8, !tbaa !31 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %37 %50 = load i32, ptr @SIMPLE_QUEUE_TAG, align 4, !tbaa !5 %51 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef nonnull %39, i32 noundef 2, i32 noundef %50, i64 noundef %47) #2 br label %52 52: ; preds = %37, %49 %53 = tail call i32 @__fas216_start_command(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 ret void } declare i64 @parity_test(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fas216_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msgqueue_flush(ptr noundef) local_unnamed_addr #1 declare i32 @msgqueue_addmsg(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @IDENTIFY(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__fas216_start_command(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"TYPE_16__", !11, i64 0, !12, i64 8, !13, i64 32, !14, i64 40, !13, i64 48} !11 = !{!"TYPE_15__", !6, i64 0, !6, i64 4} !12 = !{!"TYPE_14__", !13, i64 0, !6, i64 8, !6, i64 12, !6, i64 16} !13 = !{!"any pointer", !7, i64 0} !14 = !{!"TYPE_11__", !6, i64 0} !15 = !{!16, !6, i64 24} !16 = !{!"scsi_cmnd", !13, i64 0, !13, i64 8, !17, i64 16, !6, i64 24} !17 = !{!"long", !7, i64 0} !18 = !{!10, !6, i64 20} !19 = !{!10, !13, i64 48} !20 = !{!10, !6, i64 40} !21 = !{!16, !13, i64 8} !22 = !{!23, !17, i64 0} !23 = !{!"TYPE_13__", !17, i64 0, !6, i64 8} !24 = !{!10, !13, i64 8} !25 = !{!16, !13, i64 0} !26 = !{!17, !17, i64 0} !27 = !{!10, !13, i64 32} !28 = !{!29, !6, i64 8} !29 = !{!"TYPE_12__", !17, i64 0, !6, i64 8} !30 = !{!23, !6, i64 8} !31 = !{!16, !17, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_fas216.c_fas216_start_command.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_fas216.c_fas216_start_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i64, i32 } @PHASE_SELECTION = common local_unnamed_addr global i32 0, align 4 @fasdma_none = common local_unnamed_addr global i32 0, align 4 @REG_CNTL1 = common local_unnamed_addr global i32 0, align 4 @CNTL1_PTE = common local_unnamed_addr global i32 0, align 4 @REQUEST_SENSE = common local_unnamed_addr global i64 0, align 8 @SIMPLE_QUEUE_TAG = common local_unnamed_addr global i32 0, align 4 @EXTENDED_MESSAGE = common local_unnamed_addr global i32 0, align 4 @EXTENDED_SDTR = common local_unnamed_addr global i32 0, align 4 @INQUIRY = common local_unnamed_addr global i64 0, align 8 @neg_complete = common local_unnamed_addr global i64 0, align 8 @neg_inprogress = common local_unnamed_addr global i64 0, align 8 @neg_wait = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @fas216_start_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fas216_start_command(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @PHASE_SELECTION, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %3, ptr %5, align 8, !tbaa !10 %6 = getelementptr inbounds i8, ptr %1, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !16 %8 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %7, ptr %8, align 4, !tbaa !19 %9 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %1, ptr %9, align 8, !tbaa !20 %10 = load i32, ptr @fasdma_none, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %10, ptr %11, align 8, !tbaa !21 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !22 %14 = load i64, ptr %13, align 8, !tbaa !23 %15 = tail call i64 @parity_test(ptr noundef %0, i64 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = load i32, ptr @REG_CNTL1, align 4, !tbaa !6 %18 = load ptr, ptr %4, align 8, !tbaa !25 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = load i32, ptr @CNTL1_PTE, align 4 %21 = select i1 %16, i32 0, i32 %20 %22 = or i32 %19, %21 %23 = tail call i32 @fas216_writeb(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %22) #2 %24 = load ptr, ptr %1, align 8, !tbaa !26 %25 = load i64, ptr %24, align 8, !tbaa !27 %26 = load i64, ptr @REQUEST_SENSE, align 8, !tbaa !27 %27 = icmp eq i64 %25, %26 br i1 %27, label %37, label %28 28: ; preds = %2 %29 = getelementptr inbounds i8, ptr %0, i64 32 %30 = load ptr, ptr %29, align 8, !tbaa !28 %31 = load ptr, ptr %12, align 8, !tbaa !22 %32 = load i64, ptr %31, align 8, !tbaa !23 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %30, i64 %32, i32 1 %34 = load i32, ptr %33, align 8, !tbaa !29 %35 = icmp ne i32 %34, 0 %36 = zext i1 %35 to i32 br label %37 37: ; preds = %28, %2 %38 = phi i32 [ 0, %2 ], [ %36, %28 ] %39 = getelementptr inbounds i8, ptr %0, i64 16 %40 = tail call i32 @msgqueue_flush(ptr noundef nonnull %39) #2 %41 = load ptr, ptr %12, align 8, !tbaa !22 %42 = getelementptr inbounds i8, ptr %41, i64 8 %43 = load i32, ptr %42, align 8, !tbaa !31 %44 = tail call i32 @IDENTIFY(i32 noundef %38, i32 noundef %43) #2 %45 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef nonnull %39, i32 noundef 1, i32 noundef %44) #2 %46 = getelementptr inbounds i8, ptr %1, i64 16 %47 = load i64, ptr %46, align 8, !tbaa !32 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %37 %50 = load i32, ptr @SIMPLE_QUEUE_TAG, align 4, !tbaa !6 %51 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef nonnull %39, i32 noundef 2, i32 noundef %50, i64 noundef %47) #2 br label %52 52: ; preds = %37, %49 %53 = tail call i32 @__fas216_start_command(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 ret void } declare i64 @parity_test(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fas216_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msgqueue_flush(ptr noundef) local_unnamed_addr #1 declare i32 @msgqueue_addmsg(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @IDENTIFY(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__fas216_start_command(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_16__", !12, i64 0, !13, i64 8, !14, i64 32, !15, i64 40, !14, i64 48} !12 = !{!"TYPE_15__", !7, i64 0, !7, i64 4} !13 = !{!"TYPE_14__", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_11__", !7, i64 0} !16 = !{!17, !7, i64 24} !17 = !{!"scsi_cmnd", !14, i64 0, !14, i64 8, !18, i64 16, !7, i64 24} !18 = !{!"long", !8, i64 0} !19 = !{!11, !7, i64 20} !20 = !{!11, !14, i64 48} !21 = !{!11, !7, i64 40} !22 = !{!17, !14, i64 8} !23 = !{!24, !18, i64 0} !24 = !{!"TYPE_13__", !18, i64 0, !7, i64 8} !25 = !{!11, !14, i64 8} !26 = !{!17, !14, i64 0} !27 = !{!18, !18, i64 0} !28 = !{!11, !14, i64 32} !29 = !{!30, !7, i64 8} !30 = !{!"TYPE_12__", !18, i64 0, !7, i64 8} !31 = !{!24, !7, i64 8} !32 = !{!17, !18, i64 16}
linux_drivers_scsi_arm_extr_fas216.c_fas216_start_command
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/ucore/extr_ucore.h_nlm_write_ucore_reg.c' source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/ucore/extr_ucore.h_nlm_write_ucore_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @nlm_write_ucore_reg], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nounwind uwtable define internal void @nlm_write_ucore_reg(i32 noundef %0, i32 noundef %1) #0 { %3 = sext i32 %0 to i64 %4 = inttoptr i64 %3 to ptr store volatile i32 %1, ptr %4, align 4, !tbaa !5 ret void } attributes #0 = { inlinehint nofree norecurse nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/ucore/extr_ucore.h_nlm_write_ucore_reg.c' source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/ucore/extr_ucore.h_nlm_write_ucore_reg.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 @nlm_write_ucore_reg], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nounwind ssp uwtable(sync) define internal void @nlm_write_ucore_reg(i32 noundef %0, i32 noundef %1) #0 { %3 = sext i32 %0 to i64 %4 = inttoptr i64 %3 to ptr store volatile i32 %1, ptr %4, align 4, !tbaa !6 ret void } attributes #0 = { inlinehint nofree norecurse nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_mips_nlm_dev_net_ucore_extr_ucore.h_nlm_write_ucore_reg
; ModuleID = 'AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_output_possible.c' source_filename = "AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_output_possible.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mpls_output_possible(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @IFF_UP, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %3 %9 = tail call i64 @netif_carrier_ok(ptr noundef nonnull %0) #2 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %3, %1 %13 = phi i32 [ 0, %3 ], [ 0, %1 ], [ %11, %8 ] ret i32 %13 } declare i64 @netif_carrier_ok(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 = !{!"net_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_output_possible.c' source_filename = "AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_output_possible.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 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @mpls_output_possible(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @IFF_UP, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %3 %9 = tail call i64 @netif_carrier_ok(ptr noundef nonnull %0) #2 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %3, %1 %13 = phi i32 [ 0, %3 ], [ 0, %1 ], [ %11, %8 ] ret i32 %13 } declare i64 @netif_carrier_ok(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 = !{!"net_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_net_mpls_extr_af_mpls.c_mpls_output_possible
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_ifattach.c_in6_purgemaddrs.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_ifattach.c_in6_purgemaddrs.c" target datalayout = "e-m:e-p270:32:32-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.in6_multi_head = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @in6_purgemaddrs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @in6_purgemaddrs(ptr noundef %0) #0 { %2 = alloca %struct.in6_multi_head, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @SLIST_INIT(ptr noundef nonnull %2) #3 %4 = call i32 (...) @IN6_MULTI_LOCK() #3 %5 = call i32 (...) @IN6_MULTI_LIST_LOCK() #3 %6 = call i32 @mld_ifdetach(ptr noundef %0, ptr noundef nonnull %2) #3 %7 = call i32 (...) @IN6_MULTI_LIST_UNLOCK() #3 %8 = call i32 (...) @IN6_MULTI_UNLOCK() #3 %9 = call i32 @in6m_release_list_deferred(ptr noundef nonnull %2) #3 %10 = call i32 (...) @in6m_release_wait() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #2 declare i32 @IN6_MULTI_LOCK(...) local_unnamed_addr #2 declare i32 @IN6_MULTI_LIST_LOCK(...) local_unnamed_addr #2 declare i32 @mld_ifdetach(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IN6_MULTI_LIST_UNLOCK(...) local_unnamed_addr #2 declare i32 @IN6_MULTI_UNLOCK(...) local_unnamed_addr #2 declare i32 @in6m_release_list_deferred(ptr noundef) local_unnamed_addr #2 declare i32 @in6m_release_wait(...) 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)"}
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_ifattach.c_in6_purgemaddrs.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_ifattach.c_in6_purgemaddrs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.in6_multi_head = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @in6_purgemaddrs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @in6_purgemaddrs(ptr noundef %0) #0 { %2 = alloca %struct.in6_multi_head, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @SLIST_INIT(ptr noundef nonnull %2) #3 %4 = call i32 @IN6_MULTI_LOCK() #3 %5 = call i32 @IN6_MULTI_LIST_LOCK() #3 %6 = call i32 @mld_ifdetach(ptr noundef %0, ptr noundef nonnull %2) #3 %7 = call i32 @IN6_MULTI_LIST_UNLOCK() #3 %8 = call i32 @IN6_MULTI_UNLOCK() #3 %9 = call i32 @in6m_release_list_deferred(ptr noundef nonnull %2) #3 %10 = call i32 @in6m_release_wait() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #2 declare i32 @IN6_MULTI_LOCK(...) local_unnamed_addr #2 declare i32 @IN6_MULTI_LIST_LOCK(...) local_unnamed_addr #2 declare i32 @mld_ifdetach(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IN6_MULTI_LIST_UNLOCK(...) local_unnamed_addr #2 declare i32 @IN6_MULTI_UNLOCK(...) local_unnamed_addr #2 declare i32 @in6m_release_list_deferred(ptr noundef) local_unnamed_addr #2 declare i32 @in6m_release_wait(...) 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)"}
freebsd_sys_netinet6_extr_in6_ifattach.c_in6_purgemaddrs
; ModuleID = 'AnghaBench/openwrt/scripts/config/extr_menu.c_menu_end_entry.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_menu.c_menu_end_entry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @menu_end_entry() 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/openwrt/scripts/config/extr_menu.c_menu_end_entry.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_menu.c_menu_end_entry.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 @menu_end_entry() 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)"}
openwrt_scripts_config_extr_menu.c_menu_end_entry
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_read.c_demand_empty_rest_of_line.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_read.c_demand_empty_rest_of_line.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @is_end_of_line = dso_local local_unnamed_addr global ptr null, align 8 @input_line_pointer = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [58 x i8] c"junk at end of line, first unrecognized character is `%c'\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"junk at end of line, first unrecognized character valued 0x%x\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @demand_empty_rest_of_line() local_unnamed_addr #0 { %1 = tail call i32 (...) @SKIP_WHITESPACE() #2 %2 = load ptr, ptr @is_end_of_line, align 8, !tbaa !5 %3 = load ptr, ptr @input_line_pointer, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !9 %5 = and i64 %4, 255 %6 = getelementptr inbounds i64, ptr %2, i64 %5 %7 = load i64, ptr %6, align 8, !tbaa !9 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %0 %10 = getelementptr inbounds i64, ptr %3, i64 1 store ptr %10, ptr @input_line_pointer, align 8, !tbaa !5 br label %22 11: ; preds = %0 %12 = tail call i64 @ISPRINT(i64 noundef %4) #2 %13 = icmp eq i64 %12, 0 %14 = select i1 %13, ptr @.str.1, ptr @.str %15 = tail call i32 @_(ptr noundef nonnull %14) #2 %16 = load ptr, ptr @input_line_pointer, align 8, !tbaa !5 %17 = load i64, ptr %16, align 8, !tbaa !9 %18 = tail call i32 @as_bad(i32 noundef %15, i64 noundef %17) #2 %19 = tail call i32 (...) @ignore_rest_of_line() #2 %20 = load ptr, ptr @is_end_of_line, align 8, !tbaa !5 %21 = load ptr, ptr @input_line_pointer, align 8, !tbaa !5 br label %22 22: ; preds = %11, %9 %23 = phi ptr [ %21, %11 ], [ %10, %9 ] %24 = phi ptr [ %20, %11 ], [ %2, %9 ] %25 = getelementptr inbounds i64, ptr %23, i64 -1 %26 = load i64, ptr %25, align 8, !tbaa !9 %27 = and i64 %26, 255 %28 = getelementptr inbounds i64, ptr %24, i64 %27 %29 = load i64, ptr %28, align 8, !tbaa !9 %30 = tail call i32 @know(i64 noundef %29) #2 ret void } declare i32 @SKIP_WHITESPACE(...) local_unnamed_addr #1 declare i64 @ISPRINT(i64 noundef) local_unnamed_addr #1 declare i32 @as_bad(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @ignore_rest_of_line(...) local_unnamed_addr #1 declare i32 @know(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_read.c_demand_empty_rest_of_line.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_read.c_demand_empty_rest_of_line.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @is_end_of_line = common local_unnamed_addr global ptr null, align 8 @input_line_pointer = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [58 x i8] c"junk at end of line, first unrecognized character is `%c'\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"junk at end of line, first unrecognized character valued 0x%x\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @demand_empty_rest_of_line() local_unnamed_addr #0 { %1 = tail call i32 @SKIP_WHITESPACE() #2 %2 = load ptr, ptr @is_end_of_line, align 8, !tbaa !6 %3 = load ptr, ptr @input_line_pointer, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = and i64 %4, 255 %6 = getelementptr inbounds i64, ptr %2, i64 %5 %7 = load i64, ptr %6, align 8, !tbaa !10 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %0 %10 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %10, ptr @input_line_pointer, align 8, !tbaa !6 br label %22 11: ; preds = %0 %12 = tail call i64 @ISPRINT(i64 noundef %4) #2 %13 = icmp eq i64 %12, 0 %14 = select i1 %13, ptr @.str.1, ptr @.str %15 = tail call i32 @_(ptr noundef nonnull %14) #2 %16 = load ptr, ptr @input_line_pointer, align 8, !tbaa !6 %17 = load i64, ptr %16, align 8, !tbaa !10 %18 = tail call i32 @as_bad(i32 noundef %15, i64 noundef %17) #2 %19 = tail call i32 @ignore_rest_of_line() #2 %20 = load ptr, ptr @is_end_of_line, align 8, !tbaa !6 %21 = load ptr, ptr @input_line_pointer, align 8, !tbaa !6 br label %22 22: ; preds = %11, %9 %23 = phi ptr [ %21, %11 ], [ %10, %9 ] %24 = phi ptr [ %20, %11 ], [ %2, %9 ] %25 = getelementptr inbounds i8, ptr %23, i64 -8 %26 = load i64, ptr %25, align 8, !tbaa !10 %27 = and i64 %26, 255 %28 = getelementptr inbounds i64, ptr %24, i64 %27 %29 = load i64, ptr %28, align 8, !tbaa !10 %30 = tail call i32 @know(i64 noundef %29) #2 ret void } declare i32 @SKIP_WHITESPACE(...) local_unnamed_addr #1 declare i64 @ISPRINT(i64 noundef) local_unnamed_addr #1 declare i32 @as_bad(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @ignore_rest_of_line(...) local_unnamed_addr #1 declare i32 @know(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_binutils_gas_extr_read.c_demand_empty_rest_of_line
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c___dcbnl_pg_setcfg.c' source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c___dcbnl_pg_setcfg.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr } @DCB_PG_ATTR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @DCB_TC_ATTR_PARAM_MAX = dso_local local_unnamed_addr global i32 0, align 4 @DCB_ATTR_PG_CFG = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @dcbnl_pg_nest = dso_local local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_TC_0 = dso_local local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_TC_7 = dso_local local_unnamed_addr global i32 0, align 4 @dcbnl_tc_param_nest = dso_local local_unnamed_addr global i32 0, align 4 @DCB_ATTR_VALUE_UNDEFINED = dso_local local_unnamed_addr global i32 0, align 4 @DCB_TC_ATTR_PARAM_STRICT_PRIO = dso_local local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_PGID = dso_local local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_BW_PCT = dso_local local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_UP_MAPPING = dso_local local_unnamed_addr global i64 0, align 8 @DCB_PG_ATTR_BW_ID_0 = dso_local local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_BW_ID_7 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__dcbnl_pg_setcfg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__dcbnl_pg_setcfg(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr nocapture noundef readonly %3, ptr noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @DCB_PG_ATTR_MAX, align 4, !tbaa !5 %8 = add nsw i32 %7, 1 %9 = zext i32 %8 to i64 %10 = alloca ptr, i64 %9, align 16 %11 = load i32, ptr @DCB_TC_ATTR_PARAM_MAX, align 4, !tbaa !5 %12 = add nsw i32 %11, 1 %13 = zext i32 %12 to i64 %14 = alloca ptr, i64 %13, align 16 %15 = load i64, ptr @DCB_ATTR_PG_CFG, align 8, !tbaa !9 %16 = getelementptr inbounds ptr, ptr %3, i64 %15 %17 = load ptr, ptr %16, align 8, !tbaa !11 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %6 %20 = load i32, ptr @EINVAL, align 4, !tbaa !5 %21 = sub nsw i32 0, %20 br label %140 22: ; preds = %6 %23 = load ptr, ptr %0, align 8, !tbaa !13 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 0, i32 2 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = icmp eq ptr %25, null br i1 %26, label %38, label %27 27: ; preds = %22 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 0, i32 3 %29 = load ptr, ptr %28, align 8, !tbaa !17 %30 = icmp eq ptr %29, null br i1 %30, label %38, label %31 31: ; preds = %27 %32 = load ptr, ptr %23, align 8, !tbaa !18 %33 = icmp eq ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !19 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %34, %31, %27, %22 %39 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %40 = sub nsw i32 0, %39 br label %140 41: ; preds = %34 %42 = load i32, ptr @dcbnl_pg_nest, align 4, !tbaa !5 %43 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %10, i32 noundef %7, ptr noundef nonnull %17, i32 noundef %42, ptr noundef null) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %140 45: ; preds = %41 %46 = load i32, ptr @DCB_PG_ATTR_TC_0, align 4, !tbaa !5 %47 = load i32, ptr @DCB_PG_ATTR_TC_7, align 4, !tbaa !5 %48 = icmp sgt i32 %46, %47 br i1 %48, label %110, label %49 49: ; preds = %45 %50 = icmp eq i32 %5, 0 %51 = sext i32 %46 to i64 br label %52 52: ; preds = %49, %105 %53 = phi i64 [ %51, %49 ], [ %106, %105 ] %54 = getelementptr inbounds ptr, ptr %10, i64 %53 %55 = load ptr, ptr %54, align 8, !tbaa !11 %56 = icmp eq ptr %55, null br i1 %56, label %105, label %57 57: ; preds = %52 %58 = load i32, ptr @DCB_TC_ATTR_PARAM_MAX, align 4, !tbaa !5 %59 = load i32, ptr @dcbnl_tc_param_nest, align 4, !tbaa !5 %60 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %14, i32 noundef %58, ptr noundef nonnull %55, i32 noundef %59, ptr noundef null) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %140 62: ; preds = %57 %63 = load i32, ptr @DCB_ATTR_VALUE_UNDEFINED, align 4, !tbaa !5 %64 = load i64, ptr @DCB_TC_ATTR_PARAM_STRICT_PRIO, align 8, !tbaa !9 %65 = getelementptr inbounds ptr, ptr %14, i64 %64 %66 = load ptr, ptr %65, align 8, !tbaa !11 %67 = icmp eq ptr %66, null br i1 %67, label %70, label %68 68: ; preds = %62 %69 = call i32 @nla_get_u8(ptr noundef nonnull %66) #2 br label %70 70: ; preds = %68, %62 %71 = phi i32 [ %69, %68 ], [ %63, %62 ] %72 = load i64, ptr @DCB_TC_ATTR_PARAM_PGID, align 8, !tbaa !9 %73 = getelementptr inbounds ptr, ptr %14, i64 %72 %74 = load ptr, ptr %73, align 8, !tbaa !11 %75 = icmp eq ptr %74, null br i1 %75, label %78, label %76 76: ; preds = %70 %77 = call i32 @nla_get_u8(ptr noundef nonnull %74) #2 br label %78 78: ; preds = %76, %70 %79 = phi i32 [ %77, %76 ], [ %63, %70 ] %80 = load i64, ptr @DCB_TC_ATTR_PARAM_BW_PCT, align 8, !tbaa !9 %81 = getelementptr inbounds ptr, ptr %14, i64 %80 %82 = load ptr, ptr %81, align 8, !tbaa !11 %83 = icmp eq ptr %82, null br i1 %83, label %86, label %84 84: ; preds = %78 %85 = call i32 @nla_get_u8(ptr noundef nonnull %82) #2 br label %86 86: ; preds = %84, %78 %87 = phi i32 [ %85, %84 ], [ %63, %78 ] %88 = load i64, ptr @DCB_TC_ATTR_PARAM_UP_MAPPING, align 8, !tbaa !9 %89 = getelementptr inbounds ptr, ptr %14, i64 %88 %90 = load ptr, ptr %89, align 8, !tbaa !11 %91 = icmp eq ptr %90, null br i1 %91, label %94, label %92 92: ; preds = %86 %93 = call i32 @nla_get_u8(ptr noundef nonnull %90) #2 br label %94 94: ; preds = %92, %86 %95 = phi i32 [ %93, %92 ], [ %63, %86 ] %96 = load ptr, ptr %0, align 8, !tbaa !13 %97 = load i32, ptr @DCB_PG_ATTR_TC_0, align 4, !tbaa !5 %98 = trunc i64 %53 to i32 %99 = sub nsw i32 %98, %97 %100 = getelementptr inbounds %struct.TYPE_2__, ptr %96, i64 0, i32 3 %101 = getelementptr inbounds %struct.TYPE_2__, ptr %96, i64 0, i32 2 %102 = select i1 %50, ptr %101, ptr %100 %103 = load ptr, ptr %102, align 8, !tbaa !11 %104 = call i32 %103(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %71, i32 noundef %79, i32 noundef %87, i32 noundef %95) #2 br label %105 105: ; preds = %94, %52 %106 = add nsw i64 %53, 1 %107 = load i32, ptr @DCB_PG_ATTR_TC_7, align 4, !tbaa !5 %108 = sext i32 %107 to i64 %109 = icmp slt i64 %53, %108 br i1 %109, label %52, label %110, !llvm.loop !20 110: ; preds = %105, %45 %111 = load i32, ptr @DCB_PG_ATTR_BW_ID_0, align 4, !tbaa !5 %112 = load i32, ptr @DCB_PG_ATTR_BW_ID_7, align 4, !tbaa !5 %113 = icmp sgt i32 %111, %112 br i1 %113, label %137, label %114 114: ; preds = %110 %115 = icmp eq i32 %5, 0 %116 = sext i32 %111 to i64 br label %117 117: ; preds = %114, %132 %118 = phi i64 [ %116, %114 ], [ %133, %132 ] %119 = getelementptr inbounds ptr, ptr %10, i64 %118 %120 = load ptr, ptr %119, align 8, !tbaa !11 %121 = icmp eq ptr %120, null br i1 %121, label %132, label %122 122: ; preds = %117 %123 = call i32 @nla_get_u8(ptr noundef nonnull %120) #2 %124 = load ptr, ptr %0, align 8, !tbaa !13 %125 = getelementptr inbounds %struct.TYPE_2__, ptr %124, i64 0, i32 1 %126 = select i1 %115, ptr %124, ptr %125 %127 = load ptr, ptr %126, align 8, !tbaa !11 %128 = load i32, ptr @DCB_PG_ATTR_BW_ID_0, align 4, !tbaa !5 %129 = trunc i64 %118 to i32 %130 = sub nsw i32 %129, %128 %131 = call i32 %127(ptr noundef nonnull %0, i32 noundef %130, i32 noundef %123) #2 br label %132 132: ; preds = %122, %117 %133 = add nsw i64 %118, 1 %134 = load i32, ptr @DCB_PG_ATTR_BW_ID_7, align 4, !tbaa !5 %135 = sext i32 %134 to i64 %136 = icmp slt i64 %118, %135 br i1 %136, label %117, label %137, !llvm.loop !22 137: ; preds = %132, %110 %138 = load i64, ptr @DCB_ATTR_PG_CFG, align 8, !tbaa !9 %139 = call i32 @nla_put_u8(ptr noundef %4, i64 noundef %138, i32 noundef 0) #2 br label %140 140: ; preds = %57, %41, %137, %38, %19 %141 = phi i32 [ %139, %137 ], [ %40, %38 ], [ %21, %19 ], [ %43, %41 ], [ %60, %57 ] ret i32 %141 } declare i32 @nla_parse_nested_deprecated(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nla_get_u8(ptr noundef) local_unnamed_addr #1 declare i32 @nla_put_u8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"net_device", !12, i64 0} !15 = !{!16, !12, i64 16} !16 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !17 = !{!16, !12, i64 24} !18 = !{!16, !12, i64 0} !19 = !{!16, !12, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21}
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c___dcbnl_pg_setcfg.c' source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c___dcbnl_pg_setcfg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DCB_PG_ATTR_MAX = common local_unnamed_addr global i32 0, align 4 @DCB_TC_ATTR_PARAM_MAX = common local_unnamed_addr global i32 0, align 4 @DCB_ATTR_PG_CFG = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @dcbnl_pg_nest = common local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_TC_0 = common local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_TC_7 = common local_unnamed_addr global i32 0, align 4 @dcbnl_tc_param_nest = common local_unnamed_addr global i32 0, align 4 @DCB_ATTR_VALUE_UNDEFINED = common local_unnamed_addr global i32 0, align 4 @DCB_TC_ATTR_PARAM_STRICT_PRIO = common local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_PGID = common local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_BW_PCT = common local_unnamed_addr global i64 0, align 8 @DCB_TC_ATTR_PARAM_UP_MAPPING = common local_unnamed_addr global i64 0, align 8 @DCB_PG_ATTR_BW_ID_0 = common local_unnamed_addr global i32 0, align 4 @DCB_PG_ATTR_BW_ID_7 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__dcbnl_pg_setcfg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__dcbnl_pg_setcfg(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr nocapture noundef readonly %3, ptr noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @DCB_PG_ATTR_MAX, align 4, !tbaa !6 %8 = add nsw i32 %7, 1 %9 = zext i32 %8 to i64 %10 = alloca ptr, i64 %9, align 8 %11 = load i32, ptr @DCB_TC_ATTR_PARAM_MAX, align 4, !tbaa !6 %12 = add nsw i32 %11, 1 %13 = zext i32 %12 to i64 %14 = alloca ptr, i64 %13, align 8 %15 = load i64, ptr @DCB_ATTR_PG_CFG, align 8, !tbaa !10 %16 = getelementptr inbounds ptr, ptr %3, i64 %15 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %6 %20 = load i32, ptr @EINVAL, align 4, !tbaa !6 %21 = sub nsw i32 0, %20 br label %139 22: ; preds = %6 %23 = load ptr, ptr %0, align 8, !tbaa !14 %24 = getelementptr inbounds i8, ptr %23, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = icmp eq ptr %25, null br i1 %26, label %38, label %27 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 24 %29 = load ptr, ptr %28, align 8, !tbaa !18 %30 = icmp eq ptr %29, null br i1 %30, label %38, label %31 31: ; preds = %27 %32 = load ptr, ptr %23, align 8, !tbaa !19 %33 = icmp eq ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %23, i64 8 %36 = load ptr, ptr %35, align 8, !tbaa !20 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %34, %31, %27, %22 %39 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %40 = sub nsw i32 0, %39 br label %139 41: ; preds = %34 %42 = load i32, ptr @dcbnl_pg_nest, align 4, !tbaa !6 %43 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %10, i32 noundef %7, ptr noundef nonnull %17, i32 noundef %42, ptr noundef null) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %139 45: ; preds = %41 %46 = load i32, ptr @DCB_PG_ATTR_TC_0, align 4, !tbaa !6 %47 = load i32, ptr @DCB_PG_ATTR_TC_7, align 4, !tbaa !6 %48 = icmp sgt i32 %46, %47 br i1 %48, label %109, label %49 49: ; preds = %45 %50 = icmp eq i32 %5, 0 %51 = sext i32 %46 to i64 %52 = select i1 %50, i64 16, i64 24 br label %53 53: ; preds = %49, %104 %54 = phi i64 [ %51, %49 ], [ %105, %104 ] %55 = getelementptr inbounds ptr, ptr %10, i64 %54 %56 = load ptr, ptr %55, align 8, !tbaa !12 %57 = icmp eq ptr %56, null br i1 %57, label %104, label %58 58: ; preds = %53 %59 = load i32, ptr @DCB_TC_ATTR_PARAM_MAX, align 4, !tbaa !6 %60 = load i32, ptr @dcbnl_tc_param_nest, align 4, !tbaa !6 %61 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %14, i32 noundef %59, ptr noundef nonnull %56, i32 noundef %60, ptr noundef null) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %139 63: ; preds = %58 %64 = load i32, ptr @DCB_ATTR_VALUE_UNDEFINED, align 4, !tbaa !6 %65 = load i64, ptr @DCB_TC_ATTR_PARAM_STRICT_PRIO, align 8, !tbaa !10 %66 = getelementptr inbounds ptr, ptr %14, i64 %65 %67 = load ptr, ptr %66, align 8, !tbaa !12 %68 = icmp eq ptr %67, null br i1 %68, label %71, label %69 69: ; preds = %63 %70 = call i32 @nla_get_u8(ptr noundef nonnull %67) #2 br label %71 71: ; preds = %69, %63 %72 = phi i32 [ %70, %69 ], [ %64, %63 ] %73 = load i64, ptr @DCB_TC_ATTR_PARAM_PGID, align 8, !tbaa !10 %74 = getelementptr inbounds ptr, ptr %14, i64 %73 %75 = load ptr, ptr %74, align 8, !tbaa !12 %76 = icmp eq ptr %75, null br i1 %76, label %79, label %77 77: ; preds = %71 %78 = call i32 @nla_get_u8(ptr noundef nonnull %75) #2 br label %79 79: ; preds = %77, %71 %80 = phi i32 [ %78, %77 ], [ %64, %71 ] %81 = load i64, ptr @DCB_TC_ATTR_PARAM_BW_PCT, align 8, !tbaa !10 %82 = getelementptr inbounds ptr, ptr %14, i64 %81 %83 = load ptr, ptr %82, align 8, !tbaa !12 %84 = icmp eq ptr %83, null br i1 %84, label %87, label %85 85: ; preds = %79 %86 = call i32 @nla_get_u8(ptr noundef nonnull %83) #2 br label %87 87: ; preds = %85, %79 %88 = phi i32 [ %86, %85 ], [ %64, %79 ] %89 = load i64, ptr @DCB_TC_ATTR_PARAM_UP_MAPPING, align 8, !tbaa !10 %90 = getelementptr inbounds ptr, ptr %14, i64 %89 %91 = load ptr, ptr %90, align 8, !tbaa !12 %92 = icmp eq ptr %91, null br i1 %92, label %95, label %93 93: ; preds = %87 %94 = call i32 @nla_get_u8(ptr noundef nonnull %91) #2 br label %95 95: ; preds = %93, %87 %96 = phi i32 [ %94, %93 ], [ %64, %87 ] %97 = load ptr, ptr %0, align 8, !tbaa !14 %98 = load i32, ptr @DCB_PG_ATTR_TC_0, align 4, !tbaa !6 %99 = trunc nsw i64 %54 to i32 %100 = sub nsw i32 %99, %98 %101 = getelementptr inbounds i8, ptr %97, i64 %52 %102 = load ptr, ptr %101, align 8, !tbaa !12 %103 = call i32 %102(ptr noundef nonnull %0, i32 noundef %100, i32 noundef %72, i32 noundef %80, i32 noundef %88, i32 noundef %96) #2 br label %104 104: ; preds = %95, %53 %105 = add nsw i64 %54, 1 %106 = load i32, ptr @DCB_PG_ATTR_TC_7, align 4, !tbaa !6 %107 = sext i32 %106 to i64 %108 = icmp slt i64 %54, %107 br i1 %108, label %53, label %109, !llvm.loop !21 109: ; preds = %104, %45 %110 = load i32, ptr @DCB_PG_ATTR_BW_ID_0, align 4, !tbaa !6 %111 = load i32, ptr @DCB_PG_ATTR_BW_ID_7, align 4, !tbaa !6 %112 = icmp sgt i32 %110, %111 br i1 %112, label %136, label %113 113: ; preds = %109 %114 = icmp eq i32 %5, 0 %115 = sext i32 %110 to i64 %116 = select i1 %114, i64 0, i64 8 br label %117 117: ; preds = %113, %131 %118 = phi i64 [ %115, %113 ], [ %132, %131 ] %119 = getelementptr inbounds ptr, ptr %10, i64 %118 %120 = load ptr, ptr %119, align 8, !tbaa !12 %121 = icmp eq ptr %120, null br i1 %121, label %131, label %122 122: ; preds = %117 %123 = call i32 @nla_get_u8(ptr noundef nonnull %120) #2 %124 = load ptr, ptr %0, align 8, !tbaa !14 %125 = getelementptr inbounds i8, ptr %124, i64 %116 %126 = load ptr, ptr %125, align 8, !tbaa !12 %127 = load i32, ptr @DCB_PG_ATTR_BW_ID_0, align 4, !tbaa !6 %128 = trunc nsw i64 %118 to i32 %129 = sub nsw i32 %128, %127 %130 = call i32 %126(ptr noundef nonnull %0, i32 noundef %129, i32 noundef %123) #2 br label %131 131: ; preds = %122, %117 %132 = add nsw i64 %118, 1 %133 = load i32, ptr @DCB_PG_ATTR_BW_ID_7, align 4, !tbaa !6 %134 = sext i32 %133 to i64 %135 = icmp slt i64 %118, %134 br i1 %135, label %117, label %136, !llvm.loop !23 136: ; preds = %131, %109 %137 = load i64, ptr @DCB_ATTR_PG_CFG, align 8, !tbaa !10 %138 = call i32 @nla_put_u8(ptr noundef %4, i64 noundef %137, i32 noundef 0) #2 br label %139 139: ; preds = %58, %41, %136, %38, %19 %140 = phi i32 [ %138, %136 ], [ %40, %38 ], [ %21, %19 ], [ %43, %41 ], [ %61, %58 ] ret i32 %140 } declare i32 @nla_parse_nested_deprecated(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nla_get_u8(ptr noundef) local_unnamed_addr #1 declare i32 @nla_put_u8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"net_device", !13, i64 0} !16 = !{!17, !13, i64 16} !17 = !{!"TYPE_2__", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24} !18 = !{!17, !13, i64 24} !19 = !{!17, !13, i64 0} !20 = !{!17, !13, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22}
linux_net_dcb_extr_dcbnl.c___dcbnl_pg_setcfg
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_set_hem.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_set_hem.c" target datalayout = "e-m:e-p270:32:32-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.hns_roce_hem_iter = type { i32 } %struct.hns_roce_hem_mhop = type { i32, i32, i32, i32, i32 } %struct.hns_roce_hem_table = type { i64, ptr, ptr, ptr } @HNS_ROCE_HOP_NUM_0 = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @HEM_TYPE_SCCC = dso_local local_unnamed_addr global i64 0, align 8 @HNS_ROCE_CMD_TIMEOUT_MSECS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hns_roce_v2_set_hem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hns_roce_v2_set_hem(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.hns_roce_hem_iter, align 4 %6 = alloca %struct.hns_roce_hem_mhop, align 4 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = sext i32 %2 to i64 store i64 %8, ptr %7, align 8, !tbaa !5 %9 = load i64, ptr %1, align 8, !tbaa !9 %10 = tail call i32 @hns_roce_check_whether_mhop(ptr noundef %0, i64 noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %104, label %12 12: ; preds = %4 %13 = call i32 @hns_roce_calc_hem_mhop(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, ptr noundef nonnull %6) #3 %14 = load i32, ptr %6, align 4, !tbaa !12 %15 = getelementptr inbounds %struct.hns_roce_hem_mhop, ptr %6, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = getelementptr inbounds %struct.hns_roce_hem_mhop, ptr %6, i64 0, i32 3 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = getelementptr inbounds %struct.hns_roce_hem_mhop, ptr %6, i64 0, i32 4 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = sdiv i32 %20, 8 %22 = icmp eq i32 %18, 2 br i1 %22, label %23, label %31 23: ; preds = %12 %24 = getelementptr inbounds %struct.hns_roce_hem_mhop, ptr %6, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = mul nsw i32 %21, %14 %27 = add i32 %26, %16 %28 = mul i32 %27, %21 %29 = add nsw i32 %25, %28 %30 = sext i32 %27 to i64 br label %40 31: ; preds = %12 %32 = icmp eq i32 %18, 1 br i1 %32, label %33, label %36 33: ; preds = %31 %34 = mul nsw i32 %21, %14 %35 = add nsw i32 %34, %16 br label %40 36: ; preds = %31 %37 = load i32, ptr @HNS_ROCE_HOP_NUM_0, align 4, !tbaa !19 %38 = icmp eq i32 %18, %37 %39 = select i1 %38, i32 %14, i32 0 br label %40 40: ; preds = %36, %33, %23 %41 = phi i32 [ %29, %23 ], [ %35, %33 ], [ %39, %36 ] %42 = phi i64 [ %30, %23 ], [ 0, %33 ], [ 0, %36 ] %43 = sext i32 %41 to i64 %44 = load i64, ptr %1, align 8, !tbaa !9 %45 = call i32 @get_op_for_set_hem(ptr noundef %0, i64 noundef %44, i32 noundef %3) #3 %46 = load i32, ptr @EINVAL, align 4, !tbaa !19 %47 = sub nsw i32 0, %46 %48 = icmp eq i32 %45, %47 br i1 %48, label %104, label %49 49: ; preds = %40 %50 = call ptr @hns_roce_alloc_cmd_mailbox(ptr noundef %0) #3 %51 = call i64 @IS_ERR(ptr noundef %50) #3 %52 = icmp eq i64 %51, 0 br i1 %52, label %55, label %53 53: ; preds = %49 %54 = call i32 @PTR_ERR(ptr noundef %50) #3 br label %104 55: ; preds = %49 %56 = load i64, ptr %1, align 8, !tbaa !9 %57 = load i64, ptr @HEM_TYPE_SCCC, align 8, !tbaa !5 %58 = icmp eq i64 %56, %57 %59 = load i32, ptr %6, align 4 %60 = select i1 %58, i32 %59, i32 %2 %61 = call i64 @check_whether_last_step(i32 noundef %18, i32 noundef %3) #3 %62 = icmp eq i64 %61, 0 br i1 %62, label %79, label %63 63: ; preds = %55 %64 = getelementptr inbounds %struct.hns_roce_hem_table, ptr %1, i64 0, i32 3 %65 = load ptr, ptr %64, align 8, !tbaa !20 %66 = getelementptr inbounds ptr, ptr %65, i64 %43 %67 = load ptr, ptr %66, align 8, !tbaa !21 %68 = call i32 @hns_roce_hem_first(ptr noundef %67, ptr noundef nonnull %5) #3 %69 = call i32 @hns_roce_hem_last(ptr noundef nonnull %5) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %101 71: ; preds = %63, %71 %72 = call i64 @hns_roce_hem_addr(ptr noundef nonnull %5) #3 %73 = load i32, ptr %50, align 4, !tbaa !22 %74 = load i32, ptr @HNS_ROCE_CMD_TIMEOUT_MSECS, align 4, !tbaa !19 %75 = call i32 @hns_roce_cmd_mbox(ptr noundef %0, i64 noundef %72, i32 noundef %73, i32 noundef %60, i32 noundef 0, i32 noundef %45, i32 noundef %74) #3 %76 = call i32 @hns_roce_hem_next(ptr noundef nonnull %5) #3 %77 = call i32 @hns_roce_hem_last(ptr noundef nonnull %5) #3 %78 = icmp eq i32 %77, 0 br i1 %78, label %71, label %101, !llvm.loop !24 79: ; preds = %55 %80 = icmp eq i32 %3, 0 br i1 %80, label %81, label %86 81: ; preds = %79 %82 = getelementptr inbounds %struct.hns_roce_hem_table, ptr %1, i64 0, i32 1 %83 = load ptr, ptr %82, align 8, !tbaa !26 %84 = sext i32 %14 to i64 %85 = getelementptr inbounds i64, ptr %83, i64 %84 br label %93 86: ; preds = %79 %87 = icmp eq i32 %3, 1 %88 = and i1 %87, %22 br i1 %88, label %89, label %96 89: ; preds = %86 %90 = getelementptr inbounds %struct.hns_roce_hem_table, ptr %1, i64 0, i32 2 %91 = load ptr, ptr %90, align 8, !tbaa !27 %92 = getelementptr inbounds i64, ptr %91, i64 %42 br label %93 93: ; preds = %81, %89 %94 = phi ptr [ %92, %89 ], [ %85, %81 ] %95 = load i64, ptr %94, align 8, !tbaa !5 br label %96 96: ; preds = %93, %86 %97 = phi i64 [ 0, %86 ], [ %95, %93 ] %98 = load i32, ptr %50, align 4, !tbaa !22 %99 = load i32, ptr @HNS_ROCE_CMD_TIMEOUT_MSECS, align 4, !tbaa !19 %100 = call i32 @hns_roce_cmd_mbox(ptr noundef %0, i64 noundef %97, i32 noundef %98, i32 noundef %60, i32 noundef 0, i32 noundef %45, i32 noundef %99) #3 br label %101 101: ; preds = %71, %63, %96 %102 = phi i32 [ %100, %96 ], [ 0, %63 ], [ %75, %71 ] %103 = call i32 @hns_roce_free_cmd_mailbox(ptr noundef %0, ptr noundef %50) #3 br label %104 104: ; preds = %40, %4, %101, %53 %105 = phi i32 [ %54, %53 ], [ %102, %101 ], [ 0, %4 ], [ 0, %40 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %105 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hns_roce_check_whether_mhop(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @hns_roce_calc_hem_mhop(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_op_for_set_hem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hns_roce_alloc_cmd_mailbox(ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @check_whether_last_step(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_first(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_last(ptr noundef) local_unnamed_addr #2 declare i64 @hns_roce_hem_addr(ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_cmd_mbox(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_next(ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_free_cmd_mailbox(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"hns_roce_hem_table", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"hns_roce_hem_mhop", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16} !14 = !{!"int", !7, i64 0} !15 = !{!13, !14, i64 4} !16 = !{!13, !14, i64 12} !17 = !{!13, !14, i64 16} !18 = !{!13, !14, i64 8} !19 = !{!14, !14, i64 0} !20 = !{!10, !11, i64 24} !21 = !{!11, !11, i64 0} !22 = !{!23, !14, i64 0} !23 = !{!"hns_roce_cmd_mailbox", !14, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!10, !11, i64 8} !27 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_set_hem.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_set_hem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hns_roce_hem_iter = type { i32 } %struct.hns_roce_hem_mhop = type { i32, i32, i32, i32, i32 } @HNS_ROCE_HOP_NUM_0 = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @HEM_TYPE_SCCC = common local_unnamed_addr global i64 0, align 8 @HNS_ROCE_CMD_TIMEOUT_MSECS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hns_roce_v2_set_hem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hns_roce_v2_set_hem(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.hns_roce_hem_iter, align 4 %6 = alloca %struct.hns_roce_hem_mhop, align 4 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = sext i32 %2 to i64 store i64 %8, ptr %7, align 8, !tbaa !6 %9 = load i64, ptr %1, align 8, !tbaa !10 %10 = tail call i32 @hns_roce_check_whether_mhop(ptr noundef %0, i64 noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %104, label %12 12: ; preds = %4 %13 = call i32 @hns_roce_calc_hem_mhop(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %7, ptr noundef nonnull %6) #3 %14 = load i32, ptr %6, align 4, !tbaa !13 %15 = getelementptr inbounds i8, ptr %6, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds i8, ptr %6, i64 12 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = getelementptr inbounds i8, ptr %6, i64 16 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = sdiv i32 %20, 8 %22 = icmp eq i32 %18, 2 br i1 %22, label %23, label %31 23: ; preds = %12 %24 = getelementptr inbounds i8, ptr %6, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !19 %26 = mul nsw i32 %21, %14 %27 = add i32 %26, %16 %28 = mul i32 %27, %21 %29 = add nsw i32 %25, %28 %30 = sext i32 %27 to i64 br label %40 31: ; preds = %12 %32 = icmp eq i32 %18, 1 br i1 %32, label %33, label %36 33: ; preds = %31 %34 = mul nsw i32 %21, %14 %35 = add nsw i32 %34, %16 br label %40 36: ; preds = %31 %37 = load i32, ptr @HNS_ROCE_HOP_NUM_0, align 4, !tbaa !20 %38 = icmp eq i32 %18, %37 %39 = select i1 %38, i32 %14, i32 0 br label %40 40: ; preds = %36, %33, %23 %41 = phi i32 [ %29, %23 ], [ %35, %33 ], [ %39, %36 ] %42 = phi i64 [ %30, %23 ], [ 0, %33 ], [ 0, %36 ] %43 = sext i32 %41 to i64 %44 = load i64, ptr %1, align 8, !tbaa !10 %45 = call i32 @get_op_for_set_hem(ptr noundef %0, i64 noundef %44, i32 noundef %3) #3 %46 = load i32, ptr @EINVAL, align 4, !tbaa !20 %47 = sub nsw i32 0, %46 %48 = icmp eq i32 %45, %47 br i1 %48, label %104, label %49 49: ; preds = %40 %50 = call ptr @hns_roce_alloc_cmd_mailbox(ptr noundef %0) #3 %51 = call i64 @IS_ERR(ptr noundef %50) #3 %52 = icmp eq i64 %51, 0 br i1 %52, label %55, label %53 53: ; preds = %49 %54 = call i32 @PTR_ERR(ptr noundef %50) #3 br label %104 55: ; preds = %49 %56 = load i64, ptr %1, align 8, !tbaa !10 %57 = load i64, ptr @HEM_TYPE_SCCC, align 8, !tbaa !6 %58 = icmp eq i64 %56, %57 %59 = load i32, ptr %6, align 4 %60 = select i1 %58, i32 %59, i32 %2 %61 = call i64 @check_whether_last_step(i32 noundef %18, i32 noundef %3) #3 %62 = icmp eq i64 %61, 0 br i1 %62, label %79, label %63 63: ; preds = %55 %64 = getelementptr inbounds i8, ptr %1, i64 24 %65 = load ptr, ptr %64, align 8, !tbaa !21 %66 = getelementptr inbounds ptr, ptr %65, i64 %43 %67 = load ptr, ptr %66, align 8, !tbaa !22 %68 = call i32 @hns_roce_hem_first(ptr noundef %67, ptr noundef nonnull %5) #3 %69 = call i32 @hns_roce_hem_last(ptr noundef nonnull %5) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %101 71: ; preds = %63, %71 %72 = call i64 @hns_roce_hem_addr(ptr noundef nonnull %5) #3 %73 = load i32, ptr %50, align 4, !tbaa !23 %74 = load i32, ptr @HNS_ROCE_CMD_TIMEOUT_MSECS, align 4, !tbaa !20 %75 = call i32 @hns_roce_cmd_mbox(ptr noundef %0, i64 noundef %72, i32 noundef %73, i32 noundef %60, i32 noundef 0, i32 noundef %45, i32 noundef %74) #3 %76 = call i32 @hns_roce_hem_next(ptr noundef nonnull %5) #3 %77 = call i32 @hns_roce_hem_last(ptr noundef nonnull %5) #3 %78 = icmp eq i32 %77, 0 br i1 %78, label %71, label %101, !llvm.loop !25 79: ; preds = %55 %80 = icmp eq i32 %3, 0 br i1 %80, label %81, label %86 81: ; preds = %79 %82 = getelementptr inbounds i8, ptr %1, i64 8 %83 = load ptr, ptr %82, align 8, !tbaa !27 %84 = sext i32 %14 to i64 %85 = getelementptr inbounds i64, ptr %83, i64 %84 br label %93 86: ; preds = %79 %87 = icmp eq i32 %3, 1 %88 = and i1 %87, %22 br i1 %88, label %89, label %96 89: ; preds = %86 %90 = getelementptr inbounds i8, ptr %1, i64 16 %91 = load ptr, ptr %90, align 8, !tbaa !28 %92 = getelementptr inbounds i64, ptr %91, i64 %42 br label %93 93: ; preds = %81, %89 %94 = phi ptr [ %92, %89 ], [ %85, %81 ] %95 = load i64, ptr %94, align 8, !tbaa !6 br label %96 96: ; preds = %93, %86 %97 = phi i64 [ 0, %86 ], [ %95, %93 ] %98 = load i32, ptr %50, align 4, !tbaa !23 %99 = load i32, ptr @HNS_ROCE_CMD_TIMEOUT_MSECS, align 4, !tbaa !20 %100 = call i32 @hns_roce_cmd_mbox(ptr noundef %0, i64 noundef %97, i32 noundef %98, i32 noundef %60, i32 noundef 0, i32 noundef %45, i32 noundef %99) #3 br label %101 101: ; preds = %71, %63, %96 %102 = phi i32 [ %100, %96 ], [ 0, %63 ], [ %75, %71 ] %103 = call i32 @hns_roce_free_cmd_mailbox(ptr noundef %0, ptr noundef %50) #3 br label %104 104: ; preds = %40, %4, %101, %53 %105 = phi i32 [ %54, %53 ], [ %102, %101 ], [ 0, %4 ], [ 0, %40 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %105 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hns_roce_check_whether_mhop(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @hns_roce_calc_hem_mhop(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_op_for_set_hem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hns_roce_alloc_cmd_mailbox(ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @check_whether_last_step(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_first(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_last(ptr noundef) local_unnamed_addr #2 declare i64 @hns_roce_hem_addr(ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_cmd_mbox(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hns_roce_hem_next(ptr noundef) local_unnamed_addr #2 declare i32 @hns_roce_free_cmd_mailbox(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"hns_roce_hem_table", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"hns_roce_hem_mhop", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16} !15 = !{!"int", !8, i64 0} !16 = !{!14, !15, i64 4} !17 = !{!14, !15, i64 12} !18 = !{!14, !15, i64 16} !19 = !{!14, !15, i64 8} !20 = !{!15, !15, i64 0} !21 = !{!11, !12, i64 24} !22 = !{!12, !12, i64 0} !23 = !{!24, !15, i64 0} !24 = !{!"hns_roce_cmd_mailbox", !15, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!11, !12, i64 8} !28 = !{!11, !12, i64 16}
linux_drivers_infiniband_hw_hns_extr_hns_roce_hw_v2.c_hns_roce_v2_set_hem
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uftdi.c_uftdi_cfg_get_status.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uftdi.c_uftdi_cfg_get_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uftdi_softc = type { i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"msr=0x%02x lsr=0x%02x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uftdi_cfg_get_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uftdi_cfg_get_status(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.uftdi_softc, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr %4, align 4, !tbaa !13 %8 = tail call i32 @DPRINTFN(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !10 store i32 %9, ptr %2, align 4, !tbaa !14 %10 = load i32, ptr %4, align 4, !tbaa !13 store i32 %10, ptr %1, align 4, !tbaa !14 ret void } declare i32 @DPRINTFN(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 = !{!"ucom_softc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"uftdi_softc", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uftdi.c_uftdi_cfg_get_status.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uftdi.c_uftdi_cfg_get_status.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"msr=0x%02x lsr=0x%02x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uftdi_cfg_get_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uftdi_cfg_get_status(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr %4, align 4, !tbaa !14 %8 = tail call i32 @DPRINTFN(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !11 store i32 %9, ptr %2, align 4, !tbaa !15 %10 = load i32, ptr %4, align 4, !tbaa !14 store i32 %10, ptr %1, align 4, !tbaa !15 ret void } declare i32 @DPRINTFN(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 = !{!"ucom_softc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"uftdi_softc", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0}
freebsd_sys_dev_usb_serial_extr_uftdi.c_uftdi_cfg_get_status
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_878.c_sock_bind.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_878.c_sock_bind.c" target datalayout = "e-m:e-p270:32:32-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.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sock_bind], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sock_bind(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #3 %6 = load i32, ptr @AF_INET, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 2 store i32 %6, ptr %7, align 4, !tbaa !9 %8 = call i32 @htons(i32 noundef %2) #3 %9 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = call i32 @htonl(i64 noundef %1) #3 store i32 %10, ptr %4, align 4, !tbaa !13 %11 = call i64 @bind(i32 noundef %0, ptr noundef nonnull %4, i32 noundef 12) #3 %12 = icmp slt i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %3 %14 = call i64 @listen(i32 noundef %0, i32 noundef 1) #3 br label %15 15: ; preds = %13, %3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 -1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @htonl(i64 noundef) local_unnamed_addr #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @listen(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 8} !10 = !{!"sockaddr_in", !11, i64 0, !6, i64 4, !6, i64 8} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_878.c_sock_bind.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_878.c_sock_bind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sock_bind], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sock_bind(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #3 %6 = load i32, ptr @AF_INET, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %6, ptr %7, align 4, !tbaa !10 %8 = call i32 @htons(i32 noundef %2) #3 %9 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = call i32 @htonl(i64 noundef %1) #3 store i32 %10, ptr %4, align 4, !tbaa !14 %11 = call i64 @bind(i32 noundef %0, ptr noundef nonnull %4, i32 noundef 12) #3 %12 = icmp slt i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %3 %14 = call i64 @listen(i32 noundef %0, i32 noundef 1) #3 br label %15 15: ; preds = %13, %3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 -1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @htonl(i64 noundef) local_unnamed_addr #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @listen(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 8} !11 = !{!"sockaddr_in", !12, i64 0, !7, i64 4, !7, i64 8} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!11, !7, i64 4} !14 = !{!11, !7, i64 0}
exploitdb_exploits_linux_remote_extr_878.c_sock_bind
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source.c_allocate_audio_mix_buffer.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source.c_allocate_audio_mix_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" @AUDIO_OUTPUT_FRAMES = dso_local local_unnamed_addr global i32 0, align 4 @MAX_AUDIO_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @allocate_audio_mix_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @allocate_audio_mix_buffer(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @AUDIO_OUTPUT_FRAMES, align 4, !tbaa !5 %3 = sext i32 %2 to i64 %4 = shl nsw i64 %3, 2 %5 = load i32, ptr @MAX_AUDIO_CHANNELS, align 4, !tbaa !5 %6 = sext i32 %5 to i64 %7 = mul i64 %4, %6 %8 = tail call ptr @bzalloc(i64 noundef %7) #2 %9 = load i32, ptr @MAX_AUDIO_CHANNELS, align 4, !tbaa !5 %10 = sext i32 %9 to i64 %11 = icmp eq i32 %9, 0 br i1 %11, label %32, label %12 12: ; preds = %1 %13 = load i32, ptr @AUDIO_OUTPUT_FRAMES, align 4, !tbaa !5 %14 = sext i32 %13 to i64 %15 = and i64 %10, 3 %16 = icmp ult i32 %9, 4 br i1 %16, label %19, label %17 17: ; preds = %12 %18 = and i64 %10, -4 br label %33 19: ; preds = %33, %12 %20 = phi i64 [ 0, %12 ], [ %55, %33 ] %21 = icmp eq i64 %15, 0 br i1 %21, label %32, label %22 22: ; preds = %19, %22 %23 = phi i64 [ %29, %22 ], [ %20, %19 ] %24 = phi i64 [ %30, %22 ], [ 0, %19 ] %25 = mul i64 %23, %14 %26 = getelementptr inbounds float, ptr %8, i64 %25 %27 = load ptr, ptr %0, align 8, !tbaa !9 %28 = getelementptr inbounds ptr, ptr %27, i64 %23 store ptr %26, ptr %28, align 8, !tbaa !12 %29 = add nuw i64 %23, 1 %30 = add i64 %24, 1 %31 = icmp eq i64 %30, %15 br i1 %31, label %32, label %22, !llvm.loop !13 32: ; preds = %19, %22, %1 ret void 33: ; preds = %33, %17 %34 = phi i64 [ 0, %17 ], [ %55, %33 ] %35 = phi i64 [ 0, %17 ], [ %56, %33 ] %36 = mul i64 %34, %14 %37 = getelementptr inbounds float, ptr %8, i64 %36 %38 = load ptr, ptr %0, align 8, !tbaa !9 %39 = getelementptr inbounds ptr, ptr %38, i64 %34 store ptr %37, ptr %39, align 8, !tbaa !12 %40 = or disjoint i64 %34, 1 %41 = mul i64 %40, %14 %42 = getelementptr inbounds float, ptr %8, i64 %41 %43 = load ptr, ptr %0, align 8, !tbaa !9 %44 = getelementptr inbounds ptr, ptr %43, i64 %40 store ptr %42, ptr %44, align 8, !tbaa !12 %45 = or disjoint i64 %34, 2 %46 = mul i64 %45, %14 %47 = getelementptr inbounds float, ptr %8, i64 %46 %48 = load ptr, ptr %0, align 8, !tbaa !9 %49 = getelementptr inbounds ptr, ptr %48, i64 %45 store ptr %47, ptr %49, align 8, !tbaa !12 %50 = or disjoint i64 %34, 3 %51 = mul i64 %50, %14 %52 = getelementptr inbounds float, ptr %8, i64 %51 %53 = load ptr, ptr %0, align 8, !tbaa !9 %54 = getelementptr inbounds ptr, ptr %53, i64 %50 store ptr %52, ptr %54, align 8, !tbaa !12 %55 = add nuw i64 %34, 4 %56 = add i64 %35, 4 %57 = icmp eq i64 %56, %18 br i1 %57, label %19, label %33, !llvm.loop !15 } declare ptr @bzalloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"obs_source", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.unroll.disable"} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source.c_allocate_audio_mix_buffer.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source.c_allocate_audio_mix_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AUDIO_OUTPUT_FRAMES = common local_unnamed_addr global i32 0, align 4 @MAX_AUDIO_CHANNELS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @allocate_audio_mix_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @allocate_audio_mix_buffer(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @AUDIO_OUTPUT_FRAMES, align 4, !tbaa !6 %3 = sext i32 %2 to i64 %4 = shl nsw i64 %3, 2 %5 = load i32, ptr @MAX_AUDIO_CHANNELS, align 4, !tbaa !6 %6 = sext i32 %5 to i64 %7 = mul i64 %4, %6 %8 = tail call ptr @bzalloc(i64 noundef %7) #2 %9 = load i32, ptr @MAX_AUDIO_CHANNELS, align 4, !tbaa !6 %10 = sext i32 %9 to i64 %11 = icmp eq i32 %9, 0 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load i32, ptr @AUDIO_OUTPUT_FRAMES, align 4, !tbaa !6 %14 = sext i32 %13 to i64 br label %16 15: ; preds = %16, %1 ret void 16: ; preds = %12, %16 %17 = phi i64 [ 0, %12 ], [ %22, %16 ] %18 = mul i64 %17, %14 %19 = getelementptr inbounds float, ptr %8, i64 %18 %20 = load ptr, ptr %0, align 8, !tbaa !10 %21 = getelementptr inbounds ptr, ptr %20, i64 %17 store ptr %19, ptr %21, align 8, !tbaa !13 %22 = add nuw i64 %17, 1 %23 = icmp eq i64 %22, %10 br i1 %23, label %15, label %16, !llvm.loop !14 } declare ptr @bzalloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"obs_source", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
obs-studio_libobs_extr_obs-source.c_allocate_audio_mix_buffer
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_dma.c_scif_rma_local_cpu_copy.c' source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_dma.c_scif_rma_local_cpu_copy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.scif_window = type { i64, i64 } @PAGE_MASK = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @list = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scif_rma_local_cpu_copy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scif_rma_local_cpu_copy(i64 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = load i64, ptr @PAGE_MASK, align 8, !tbaa !5 %7 = xor i64 %6, -1 %8 = and i64 %7, %0 %9 = trunc i64 %8 to i32 %10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !9 %11 = sub nsw i32 %10, %9 %12 = sext i32 %11 to i64 %13 = tail call i64 @llvm.umin.i64(i64 %12, i64 %3) %14 = tail call ptr @_get_local_va(i64 noundef %0, ptr noundef %1, i64 noundef %13) #3 %15 = icmp eq ptr %14, null br i1 %15, label %67, label %16 16: ; preds = %5 %17 = icmp eq i32 %4, 0 br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %14, i64 noundef %13) #3 br label %22 20: ; preds = %16 %21 = tail call i32 @memcpy(ptr noundef nonnull %14, ptr noundef %2, i64 noundef %13) #3 br label %22 22: ; preds = %20, %18 %23 = sub i64 %3, %13 %24 = icmp eq i64 %23, 0 br i1 %24, label %67, label %25 25: ; preds = %22 %26 = getelementptr inbounds %struct.scif_window, ptr %1, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !11 %28 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !5 %29 = shl i64 %27, %28 %30 = load i64, ptr %1, align 8, !tbaa !13 %31 = add i64 %29, %30 %32 = getelementptr inbounds i8, ptr %2, i64 %13 %33 = add i64 %13, %0 br label %34 34: ; preds = %25, %62 %35 = phi i64 [ %52, %62 ], [ %31, %25 ] %36 = phi i64 [ %63, %62 ], [ %33, %25 ] %37 = phi ptr [ %51, %62 ], [ %1, %25 ] %38 = phi i64 [ %65, %62 ], [ %23, %25 ] %39 = phi ptr [ %64, %62 ], [ %32, %25 ] %40 = icmp eq i64 %36, %35 br i1 %40, label %41, label %50 41: ; preds = %34 %42 = load i32, ptr @list, align 4, !tbaa !9 %43 = tail call ptr @list_next_entry(ptr noundef %37, i32 noundef %42) #3 %44 = load i64, ptr %43, align 8, !tbaa !13 %45 = getelementptr inbounds %struct.scif_window, ptr %43, i64 0, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !11 %47 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !5 %48 = shl i64 %46, %47 %49 = add i64 %48, %44 br label %50 50: ; preds = %41, %34 %51 = phi ptr [ %43, %41 ], [ %37, %34 ] %52 = phi i64 [ %49, %41 ], [ %35, %34 ] %53 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !9 %54 = tail call i64 @min(i32 noundef %53, i64 noundef %38) #3 %55 = tail call ptr @_get_local_va(i64 noundef %36, ptr noundef %51, i64 noundef %54) #3 %56 = icmp eq ptr %55, null br i1 %56, label %67, label %57 57: ; preds = %50 br i1 %17, label %60, label %58 58: ; preds = %57 %59 = tail call i32 @memcpy(ptr noundef %39, ptr noundef nonnull %55, i64 noundef %54) #3 br label %62 60: ; preds = %57 %61 = tail call i32 @memcpy(ptr noundef nonnull %55, ptr noundef %39, i64 noundef %54) #3 br label %62 62: ; preds = %60, %58 %63 = add i64 %54, %36 %64 = getelementptr inbounds i8, ptr %39, i64 %54 %65 = sub i64 %38, %54 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %34, !llvm.loop !14 67: ; preds = %50, %62, %22, %5 ret void } declare ptr @_get_local_va(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @list_next_entry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !6, i64 8} !12 = !{!"scif_window", !6, i64 0, !6, i64 8} !13 = !{!12, !6, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_dma.c_scif_rma_local_cpu_copy.c' source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_dma.c_scif_rma_local_cpu_copy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_MASK = common local_unnamed_addr global i64 0, align 8 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @list = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scif_rma_local_cpu_copy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scif_rma_local_cpu_copy(i64 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = load i64, ptr @PAGE_MASK, align 8, !tbaa !6 %7 = xor i64 %6, -1 %8 = and i64 %7, %0 %9 = trunc i64 %8 to i32 %10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10 %11 = sub nsw i32 %10, %9 %12 = sext i32 %11 to i64 %13 = tail call i64 @llvm.umin.i64(i64 %12, i64 %3) %14 = tail call ptr @_get_local_va(i64 noundef %0, ptr noundef %1, i64 noundef %13) #3 %15 = icmp eq ptr %14, null br i1 %15, label %67, label %16 16: ; preds = %5 %17 = icmp eq i32 %4, 0 br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %14, i64 noundef %13) #3 br label %22 20: ; preds = %16 %21 = tail call i32 @memcpy(ptr noundef nonnull %14, ptr noundef %2, i64 noundef %13) #3 br label %22 22: ; preds = %20, %18 %23 = sub i64 %3, %13 %24 = icmp eq i64 %23, 0 br i1 %24, label %67, label %25 25: ; preds = %22 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !12 %28 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !6 %29 = shl i64 %27, %28 %30 = load i64, ptr %1, align 8, !tbaa !14 %31 = add i64 %29, %30 %32 = getelementptr inbounds i8, ptr %2, i64 %13 %33 = add i64 %13, %0 br label %34 34: ; preds = %25, %62 %35 = phi i64 [ %52, %62 ], [ %31, %25 ] %36 = phi i64 [ %63, %62 ], [ %33, %25 ] %37 = phi ptr [ %51, %62 ], [ %1, %25 ] %38 = phi i64 [ %65, %62 ], [ %23, %25 ] %39 = phi ptr [ %64, %62 ], [ %32, %25 ] %40 = icmp eq i64 %36, %35 br i1 %40, label %41, label %50 41: ; preds = %34 %42 = load i32, ptr @list, align 4, !tbaa !10 %43 = tail call ptr @list_next_entry(ptr noundef %37, i32 noundef %42) #3 %44 = load i64, ptr %43, align 8, !tbaa !14 %45 = getelementptr inbounds i8, ptr %43, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !12 %47 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !6 %48 = shl i64 %46, %47 %49 = add i64 %48, %44 br label %50 50: ; preds = %41, %34 %51 = phi ptr [ %43, %41 ], [ %37, %34 ] %52 = phi i64 [ %49, %41 ], [ %35, %34 ] %53 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10 %54 = tail call i64 @min(i32 noundef %53, i64 noundef %38) #3 %55 = tail call ptr @_get_local_va(i64 noundef %36, ptr noundef %51, i64 noundef %54) #3 %56 = icmp eq ptr %55, null br i1 %56, label %67, label %57 57: ; preds = %50 br i1 %17, label %60, label %58 58: ; preds = %57 %59 = tail call i32 @memcpy(ptr noundef %39, ptr noundef nonnull %55, i64 noundef %54) #3 br label %62 60: ; preds = %57 %61 = tail call i32 @memcpy(ptr noundef nonnull %55, ptr noundef %39, i64 noundef %54) #3 br label %62 62: ; preds = %60, %58 %63 = add i64 %54, %36 %64 = getelementptr inbounds i8, ptr %39, i64 %54 %65 = sub i64 %38, %54 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %34, !llvm.loop !15 67: ; preds = %50, %62, %22, %5 ret void } declare ptr @_get_local_va(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @list_next_entry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !7, i64 8} !13 = !{!"scif_window", !7, i64 0, !7, i64 8} !14 = !{!13, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_misc_mic_scif_extr_scif_dma.c_scif_rma_local_cpu_copy
; ModuleID = 'AnghaBench/libgit2/tests/core/extr_qsort.c_test_core_qsort__unsorted_array.c' source_filename = "AnghaBench/libgit2/tests/core/extr_qsort.c_test_core_qsort__unsorted_array.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.test_core_qsort__unsorted_array.a = private unnamed_addr constant [6 x i32] [i32 123, i32 9, i32 412938, i32 10, i32 234, i32 89], align 16 @cmp_int = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_core_qsort__unsorted_array() local_unnamed_addr #0 { %1 = alloca [6 x i32], align 16 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %1, ptr noundef nonnull align 16 dereferenceable(24) @__const.test_core_qsort__unsorted_array.a, i64 24, i1 false) %2 = load i32, ptr @cmp_int, align 4, !tbaa !5 %3 = call i32 @assert_sorted(ptr noundef nonnull %1, i32 noundef %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @assert_sorted(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libgit2/tests/core/extr_qsort.c_test_core_qsort__unsorted_array.c' source_filename = "AnghaBench/libgit2/tests/core/extr_qsort.c_test_core_qsort__unsorted_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.test_core_qsort__unsorted_array.a = private unnamed_addr constant [6 x i32] [i32 123, i32 9, i32 412938, i32 10, i32 234, i32 89], align 4 @cmp_int = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_core_qsort__unsorted_array() local_unnamed_addr #0 { %1 = alloca [6 x i32], align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(24) @__const.test_core_qsort__unsorted_array.a, i64 24, i1 false) %2 = load i32, ptr @cmp_int, align 4, !tbaa !6 %3 = call i32 @assert_sorted(ptr noundef nonnull %1, i32 noundef %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @assert_sorted(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libgit2_tests_core_extr_qsort.c_test_core_qsort__unsorted_array
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c_value_literal_complex.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c_value_literal_complex.c" target datalayout = "e-m:e-p270:32:32-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 @value_literal_complex(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @TYPE_TARGET_TYPE(ptr noundef %2) #2 %5 = tail call ptr @allocate_value(ptr noundef %2) #2 %6 = tail call ptr @value_cast(ptr noundef %4, ptr noundef %0) #2 %7 = tail call ptr @value_cast(ptr noundef %4, ptr noundef %1) #2 %8 = tail call i64 @VALUE_CONTENTS_RAW(ptr noundef %5) #2 %9 = tail call i32 @VALUE_CONTENTS(ptr noundef %6) #2 %10 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %11 = tail call i32 @memcpy(i64 noundef %8, i32 noundef %9, i64 noundef %10) #2 %12 = tail call i64 @VALUE_CONTENTS_RAW(ptr noundef %5) #2 %13 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %14 = add nsw i64 %13, %12 %15 = tail call i32 @VALUE_CONTENTS(ptr noundef %7) #2 %16 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %17 = tail call i32 @memcpy(i64 noundef %14, i32 noundef %15, i64 noundef %16) #2 ret ptr %5 } declare ptr @TYPE_TARGET_TYPE(ptr noundef) local_unnamed_addr #1 declare ptr @allocate_value(ptr noundef) local_unnamed_addr #1 declare ptr @value_cast(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @VALUE_CONTENTS_RAW(ptr noundef) local_unnamed_addr #1 declare i32 @VALUE_CONTENTS(ptr noundef) local_unnamed_addr #1 declare i64 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c_value_literal_complex.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c_value_literal_complex.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 @value_literal_complex(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @TYPE_TARGET_TYPE(ptr noundef %2) #2 %5 = tail call ptr @allocate_value(ptr noundef %2) #2 %6 = tail call ptr @value_cast(ptr noundef %4, ptr noundef %0) #2 %7 = tail call ptr @value_cast(ptr noundef %4, ptr noundef %1) #2 %8 = tail call i64 @VALUE_CONTENTS_RAW(ptr noundef %5) #2 %9 = tail call i32 @VALUE_CONTENTS(ptr noundef %6) #2 %10 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %11 = tail call i32 @memcpy(i64 noundef %8, i32 noundef %9, i64 noundef %10) #2 %12 = tail call i64 @VALUE_CONTENTS_RAW(ptr noundef %5) #2 %13 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %14 = add nsw i64 %13, %12 %15 = tail call i32 @VALUE_CONTENTS(ptr noundef %7) #2 %16 = tail call i64 @TYPE_LENGTH(ptr noundef %4) #2 %17 = tail call i32 @memcpy(i64 noundef %14, i32 noundef %15, i64 noundef %16) #2 ret ptr %5 } declare ptr @TYPE_TARGET_TYPE(ptr noundef) local_unnamed_addr #1 declare ptr @allocate_value(ptr noundef) local_unnamed_addr #1 declare ptr @value_cast(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @VALUE_CONTENTS_RAW(ptr noundef) local_unnamed_addr #1 declare i32 @VALUE_CONTENTS(ptr noundef) local_unnamed_addr #1 declare i64 @TYPE_LENGTH(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_valops.c_value_literal_complex
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_inq.c_BTM_AddEirService.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_inq.c_BTM_AddEirService.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BTM_EIR_MAX_SERVICES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @BTM_AddEirService(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @btm_convert_uuid_to_eir_service(i32 noundef %1) #2 %4 = load i64, ptr @BTM_EIR_MAX_SERVICES, align 8, !tbaa !5 %5 = icmp slt i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @BTM_EIR_SET_SERVICE(ptr noundef %0, i64 noundef %3) #2 br label %8 8: ; preds = %6, %2 ret void } declare i64 @btm_convert_uuid_to_eir_service(i32 noundef) local_unnamed_addr #1 declare i32 @BTM_EIR_SET_SERVICE(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_inq.c_BTM_AddEirService.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btm/extr_btm_inq.c_BTM_AddEirService.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTM_EIR_MAX_SERVICES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @BTM_AddEirService(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @btm_convert_uuid_to_eir_service(i32 noundef %1) #2 %4 = load i64, ptr @BTM_EIR_MAX_SERVICES, align 8, !tbaa !6 %5 = icmp slt i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @BTM_EIR_SET_SERVICE(ptr noundef %0, i64 noundef %3) #2 br label %8 8: ; preds = %6, %2 ret void } declare i64 @btm_convert_uuid_to_eir_service(i32 noundef) local_unnamed_addr #1 declare i32 @BTM_EIR_SET_SERVICE(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_components_bt_host_bluedroid_stack_btm_extr_btm_inq.c_BTM_AddEirService
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_vdbeSorterExtendFile.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_vdbeSorterExtendFile.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_FCNTL_CHUNK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_FCNTL_SIZE_HINT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vdbeSorterExtendFile], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vdbeSorterExtendFile(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %2, ptr %4, align 8, !tbaa !5 %7 = load i64, ptr %0, align 8, !tbaa !9 %8 = icmp slt i64 %7, %2 br i1 %8, label %23, label %9 9: ; preds = %3 %10 = load ptr, ptr %1, align 8, !tbaa !11 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %23 13: ; preds = %9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i32 4096, ptr %6, align 4, !tbaa !18 %14 = load i32, ptr @SQLITE_FCNTL_CHUNK_SIZE, align 4, !tbaa !18 %15 = call i32 (ptr, i32, ...) @sqlite3OsFileControlHint(ptr noundef nonnull %1, i32 noundef %14, ptr noundef nonnull %6) #3 %16 = load i32, ptr @SQLITE_FCNTL_SIZE_HINT, align 4, !tbaa !18 %17 = call i32 (ptr, i32, ...) @sqlite3OsFileControlHint(ptr noundef nonnull %1, i32 noundef %16, ptr noundef nonnull %4) #3 %18 = load i64, ptr %4, align 8, !tbaa !5 %19 = trunc i64 %18 to i32 %20 = call i32 @sqlite3OsFetch(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %19, ptr noundef nonnull %5) #3 %21 = load ptr, ptr %5, align 8, !tbaa !17 %22 = call i32 @sqlite3OsUnfetch(ptr noundef nonnull %1, i32 noundef 0, ptr noundef %21) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %23 23: ; preds = %13, %9, %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 @sqlite3OsFileControlHint(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @sqlite3OsFetch(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3OsUnfetch(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_11__", !6, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_10__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"int", !7, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_vdbeSorterExtendFile.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_vdbeSorterExtendFile.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_FCNTL_CHUNK_SIZE = common local_unnamed_addr global i32 0, align 4 @SQLITE_FCNTL_SIZE_HINT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vdbeSorterExtendFile], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vdbeSorterExtendFile(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %2, ptr %4, align 8, !tbaa !6 %7 = load i64, ptr %0, align 8, !tbaa !10 %8 = icmp slt i64 %7, %2 br i1 %8, label %23, label %9 9: ; preds = %3 %10 = load ptr, ptr %1, align 8, !tbaa !12 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = icmp sgt i32 %11, 2 br i1 %12, label %13, label %23 13: ; preds = %9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i32 4096, ptr %6, align 4, !tbaa !19 %14 = load i32, ptr @SQLITE_FCNTL_CHUNK_SIZE, align 4, !tbaa !19 %15 = call i32 (ptr, i32, ...) @sqlite3OsFileControlHint(ptr noundef nonnull %1, i32 noundef %14, ptr noundef nonnull %6) #3 %16 = load i32, ptr @SQLITE_FCNTL_SIZE_HINT, align 4, !tbaa !19 %17 = call i32 (ptr, i32, ...) @sqlite3OsFileControlHint(ptr noundef nonnull %1, i32 noundef %16, ptr noundef nonnull %4) #3 %18 = load i64, ptr %4, align 8, !tbaa !6 %19 = trunc i64 %18 to i32 %20 = call i32 @sqlite3OsFetch(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %19, ptr noundef nonnull %5) #3 %21 = load ptr, ptr %5, align 8, !tbaa !18 %22 = call i32 @sqlite3OsUnfetch(ptr noundef nonnull %1, i32 noundef 0, ptr noundef %21) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %23 23: ; preds = %13, %9, %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 @sqlite3OsFileControlHint(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @sqlite3OsFetch(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3OsUnfetch(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_11__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_9__", !17, i64 0} !17 = !{!"int", !8, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!17, !17, i64 0}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_vdbeSorterExtendFile
; ModuleID = 'AnghaBench/anypixel/firmware/display/src/extr_fifo.c_FIFO_peek.c' source_filename = "AnghaBench/anypixel/firmware/display/src/extr_fifo.c_FIFO_peek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @FIFO_peek(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !11 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !12 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/display/src/extr_fifo.c_FIFO_peek.c' source_filename = "AnghaBench/anypixel/firmware/display/src/extr_fifo.c_FIFO_peek.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(read, inaccessiblemem: none) uwtable(sync) define i32 @FIFO_peek(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !13 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
anypixel_firmware_display_src_extr_fifo.c_FIFO_peek
; ModuleID = 'AnghaBench/linux/drivers/staging/iio/adc/extr_ad7280a.c___ad7280_read32.c' source_filename = "AnghaBench/linux/drivers/staging/iio/adc/extr_ad7280a.c___ad7280_read32.c" target datalayout = "e-m:e-p270:32:32-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.spi_transfer = type { i32, ptr, ptr } %struct.ad7280_state = type { ptr, i32 } @AD7280A_READ_TXVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__ad7280_read32], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__ad7280_read32(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca %struct.spi_transfer, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 store i32 4, ptr %3, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.spi_transfer, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = getelementptr inbounds i32, ptr %5, i64 1 store ptr %6, ptr %4, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.spi_transfer, ptr %3, i64 0, i32 2 store ptr %5, ptr %7, align 8, !tbaa !14 %8 = load i32, ptr @AD7280A_READ_TXVAL, align 4, !tbaa !15 %9 = tail call i32 @cpu_to_be32(i32 noundef %8) #3 %10 = load ptr, ptr %0, align 8, !tbaa !11 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = getelementptr inbounds %struct.ad7280_state, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !16 %13 = call i32 @spi_sync_transfer(i32 noundef %12, ptr noundef nonnull %3, i32 noundef 1) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %0, align 8, !tbaa !11 %17 = getelementptr inbounds i32, ptr %16, i64 1 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = call i32 @be32_to_cpu(i32 noundef %18) #3 store i32 %19, ptr %1, align 4, !tbaa !15 br label %20 20: ; preds = %2, %15 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2 declare i32 @spi_sync_transfer(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @be32_to_cpu(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 = !{!"spi_transfer", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"ad7280_state", !10, i64 0, !7, i64 8} !13 = !{!6, !10, i64 8} !14 = !{!6, !10, i64 16} !15 = !{!7, !7, i64 0} !16 = !{!12, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/staging/iio/adc/extr_ad7280a.c___ad7280_read32.c' source_filename = "AnghaBench/linux/drivers/staging/iio/adc/extr_ad7280a.c___ad7280_read32.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.spi_transfer = type { i32, ptr, ptr } @AD7280A_READ_TXVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__ad7280_read32], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__ad7280_read32(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca %struct.spi_transfer, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 store i32 4, ptr %3, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %5, i64 4 store ptr %6, ptr %4, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %5, ptr %7, align 8, !tbaa !15 %8 = load i32, ptr @AD7280A_READ_TXVAL, align 4, !tbaa !16 %9 = tail call i32 @cpu_to_be32(i32 noundef %8) #3 %10 = load ptr, ptr %0, align 8, !tbaa !12 store i32 %9, ptr %10, align 4, !tbaa !16 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !17 %13 = call i32 @spi_sync_transfer(i32 noundef %12, ptr noundef nonnull %3, i32 noundef 1) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %0, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %16, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = call i32 @be32_to_cpu(i32 noundef %18) #3 store i32 %19, ptr %1, align 4, !tbaa !16 br label %20 20: ; preds = %2, %15 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2 declare i32 @spi_sync_transfer(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @be32_to_cpu(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 = !{!"spi_transfer", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"ad7280_state", !11, i64 0, !8, i64 8} !14 = !{!7, !11, i64 8} !15 = !{!7, !11, i64 16} !16 = !{!8, !8, i64 0} !17 = !{!13, !8, i64 8}
linux_drivers_staging_iio_adc_extr_ad7280a.c___ad7280_read32
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_status.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uni_status = type { i32, i32, i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @copy_msg_status(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.uni_status, ptr %0, i64 0, i32 4 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i64 @IE_ISGOOD(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.uni_status, ptr %1, i64 0, i32 4 store i32 %8, ptr %9, align 4, !tbaa !5 br label %10 10: ; preds = %7, %2 %11 = getelementptr inbounds %struct.uni_status, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i64 @IE_ISGOOD(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %10 %16 = load i32, ptr %11, align 4, !tbaa !10 %17 = getelementptr inbounds %struct.uni_status, ptr %1, i64 0, i32 3 store i32 %16, ptr %17, align 4, !tbaa !10 br label %18 18: ; preds = %15, %10 %19 = getelementptr inbounds %struct.uni_status, ptr %0, i64 0, i32 2 %20 = load i32, ptr %19, align 4, !tbaa !11 %21 = tail call i64 @IE_ISGOOD(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = load i32, ptr %19, align 4, !tbaa !11 %25 = getelementptr inbounds %struct.uni_status, ptr %1, i64 0, i32 2 store i32 %24, ptr %25, align 4, !tbaa !11 br label %26 26: ; preds = %23, %18 %27 = getelementptr inbounds %struct.uni_status, ptr %0, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !12 %29 = tail call i64 @IE_ISGOOD(i32 noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr %27, align 4, !tbaa !12 %33 = getelementptr inbounds %struct.uni_status, ptr %1, i64 0, i32 1 store i32 %32, ptr %33, align 4, !tbaa !12 br label %34 34: ; preds = %31, %26 %35 = load i32, ptr %0, align 4, !tbaa !13 %36 = tail call i64 @IE_ISGOOD(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %34 %39 = load i32, ptr %0, align 4, !tbaa !13 store i32 %39, ptr %1, align 4, !tbaa !13 br label %40 40: ; preds = %38, %34 ret void } declare i64 @IE_ISGOOD(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 = !{!"uni_status", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 12} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_status.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_status.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 @copy_msg_status(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i64 @IE_ISGOOD(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %8, ptr %9, align 4, !tbaa !6 br label %10 10: ; preds = %7, %2 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i64 @IE_ISGOOD(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %10 %16 = load i32, ptr %11, align 4, !tbaa !11 %17 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %16, ptr %17, align 4, !tbaa !11 br label %18 18: ; preds = %15, %10 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = tail call i64 @IE_ISGOOD(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = load i32, ptr %19, align 4, !tbaa !12 %25 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %24, ptr %25, align 4, !tbaa !12 br label %26 26: ; preds = %23, %18 %27 = getelementptr inbounds i8, ptr %0, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !13 %29 = tail call i64 @IE_ISGOOD(i32 noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr %27, align 4, !tbaa !13 %33 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %32, ptr %33, align 4, !tbaa !13 br label %34 34: ; preds = %31, %26 %35 = load i32, ptr %0, align 4, !tbaa !14 %36 = tail call i64 @IE_ISGOOD(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %34 %39 = load i32, ptr %0, align 4, !tbaa !14 store i32 %39, ptr %1, align 4, !tbaa !14 br label %40 40: ; preds = %38, %34 ret void } declare i64 @IE_ISGOOD(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 = !{!"uni_status", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 12} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 0}
freebsd_sys_contrib_ngatm_netnatm_sig_extr_sig_unimsgcpy.c_copy_msg_status
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_rt3070_filter_calib.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_rt3070_filter_calib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @run_rt3070_filter_calib], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @run_rt3070_filter_calib(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 24, ptr noundef nonnull %6) #3 %10 = load i32, ptr %6, align 4, !tbaa !5 %11 = and i32 %10, 192 %12 = or i32 %11, %1 store i32 %12, ptr %6, align 4, !tbaa !5 %13 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %12) #3 %14 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 22, ptr noundef nonnull %5) #3 %15 = load i32, ptr %5, align 4, !tbaa !5 %16 = or i32 %15, 1 %17 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 22, i32 noundef %16) #3 %18 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 0) #3 br label %19 19: ; preds = %4, %26 %20 = phi i32 [ 0, %4 ], [ %27, %26 ] %21 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 144) #3 %22 = call i32 @run_delay(ptr noundef %0, i32 noundef 10) #3 %23 = call i32 @run_bbp_read(ptr noundef %0, i32 noundef 55, ptr noundef nonnull %7) #3 %24 = load i32, ptr %7, align 4, !tbaa !5 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %19 %27 = add nuw nsw i32 %20, 1 %28 = icmp eq i32 %27, 100 br i1 %28, label %29, label %19, !llvm.loop !9 29: ; preds = %26 %30 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5 br label %61 31: ; preds = %19 %32 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 6) #3 br label %33 33: ; preds = %31, %43 %34 = phi i32 [ 0, %31 ], [ %46, %43 ] %35 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 144) #3 %36 = call i32 @run_delay(ptr noundef %0, i32 noundef 10) #3 %37 = call i32 @run_bbp_read(ptr noundef %0, i32 noundef 55, ptr noundef nonnull %8) #3 %38 = load i32, ptr %7, align 4, !tbaa !5 %39 = load i32, ptr %8, align 4, !tbaa !5 %40 = sub nsw i32 %38, %39 %41 = icmp sgt i32 %40, %2 %42 = load i32, ptr %6, align 4, !tbaa !5 br i1 %41, label %48, label %43 43: ; preds = %33 %44 = add nsw i32 %42, 1 store i32 %44, ptr %6, align 4, !tbaa !5 %45 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %44) #3 %46 = add nuw nsw i32 %34, 1 %47 = icmp eq i32 %46, 100 br i1 %47, label %55, label %33, !llvm.loop !11 48: ; preds = %33 %49 = icmp eq i32 %42, %1 br i1 %49, label %52, label %50 50: ; preds = %48 %51 = add nsw i32 %42, -1 store i32 %51, ptr %6, align 4, !tbaa !5 br label %52 52: ; preds = %50, %48 %53 = phi i32 [ %51, %50 ], [ %1, %48 ] store i32 %53, ptr %3, align 4, !tbaa !5 %54 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %53) #3 br label %55 55: ; preds = %43, %52 %56 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 0) #3 %57 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 22, ptr noundef nonnull %5) #3 %58 = load i32, ptr %5, align 4, !tbaa !5 %59 = and i32 %58, -2 %60 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 22, i32 noundef %59) #3 br label %61 61: ; preds = %55, %29 %62 = phi i32 [ %30, %29 ], [ 0, %55 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_rt3070_rf_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @run_rt3070_rf_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_delay(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_bbp_read(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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_rt3070_filter_calib.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_rt3070_filter_calib.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @run_rt3070_filter_calib], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @run_rt3070_filter_calib(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 24, ptr noundef nonnull %6) #3 %10 = load i32, ptr %6, align 4, !tbaa !6 %11 = and i32 %10, 192 %12 = or i32 %11, %1 store i32 %12, ptr %6, align 4, !tbaa !6 %13 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %12) #3 %14 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 22, ptr noundef nonnull %5) #3 %15 = load i32, ptr %5, align 4, !tbaa !6 %16 = or i32 %15, 1 %17 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 22, i32 noundef %16) #3 %18 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 0) #3 br label %19 19: ; preds = %4, %26 %20 = phi i32 [ 0, %4 ], [ %27, %26 ] %21 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 144) #3 %22 = call i32 @run_delay(ptr noundef %0, i32 noundef 10) #3 %23 = call i32 @run_bbp_read(ptr noundef %0, i32 noundef 55, ptr noundef nonnull %7) #3 %24 = load i32, ptr %7, align 4, !tbaa !6 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %19 %27 = add nuw nsw i32 %20, 1 %28 = icmp eq i32 %27, 100 br i1 %28, label %29, label %19, !llvm.loop !10 29: ; preds = %26 %30 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6 br label %61 31: ; preds = %19 %32 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 6) #3 br label %33 33: ; preds = %31, %43 %34 = phi i32 [ 0, %31 ], [ %46, %43 ] %35 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 144) #3 %36 = call i32 @run_delay(ptr noundef %0, i32 noundef 10) #3 %37 = call i32 @run_bbp_read(ptr noundef %0, i32 noundef 55, ptr noundef nonnull %8) #3 %38 = load i32, ptr %7, align 4, !tbaa !6 %39 = load i32, ptr %8, align 4, !tbaa !6 %40 = sub nsw i32 %38, %39 %41 = icmp sgt i32 %40, %2 %42 = load i32, ptr %6, align 4, !tbaa !6 br i1 %41, label %48, label %43 43: ; preds = %33 %44 = add nsw i32 %42, 1 store i32 %44, ptr %6, align 4, !tbaa !6 %45 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %44) #3 %46 = add nuw nsw i32 %34, 1 %47 = icmp eq i32 %46, 100 br i1 %47, label %55, label %33, !llvm.loop !12 48: ; preds = %33 %49 = icmp eq i32 %42, %1 br i1 %49, label %52, label %50 50: ; preds = %48 %51 = add nsw i32 %42, -1 store i32 %51, ptr %6, align 4, !tbaa !6 br label %52 52: ; preds = %50, %48 %53 = phi i32 [ %51, %50 ], [ %1, %48 ] store i32 %53, ptr %3, align 4, !tbaa !6 %54 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 24, i32 noundef %53) #3 br label %55 55: ; preds = %43, %52 %56 = call i32 @run_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 0) #3 %57 = call i32 @run_rt3070_rf_read(ptr noundef %0, i32 noundef 22, ptr noundef nonnull %5) #3 %58 = load i32, ptr %5, align 4, !tbaa !6 %59 = and i32 %58, -2 %60 = call i32 @run_rt3070_rf_write(ptr noundef %0, i32 noundef 22, i32 noundef %59) #3 br label %61 61: ; preds = %55, %29 %62 = phi i32 [ %30, %29 ], [ 0, %55 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_rt3070_rf_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @run_rt3070_rf_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_delay(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @run_bbp_read(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
freebsd_sys_dev_usb_wlan_extr_if_run.c_run_rt3070_filter_calib
; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_arcfour.c_arcfour_random_to_key.c' source_filename = "AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_arcfour.c_arcfour_random_to_key.c" target datalayout = "e-m:e-p270:32:32-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 @arcfour_random_to_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @arcfour_random_to_key(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @arcfour_set_key(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @arcfour_set_key(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_arcfour.c_arcfour_random_to_key.c' source_filename = "AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_arcfour.c_arcfour_random_to_key.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 @arcfour_random_to_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @arcfour_random_to_key(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @arcfour_set_key(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @arcfour_set_key(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_kgssapi_krb5_extr_kcrypto_arcfour.c_arcfour_random_to_key
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_base.c_nvkm_therm_fini.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_base.c_nvkm_therm_fini.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nvkm_therm = type { i32, i32, ptr } @NVKM_THERM_CTRL_NONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvkm_therm_fini], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @nvkm_therm_fini(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @nvkm_therm(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.nvkm_therm, ptr %3, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 %6(ptr noundef nonnull %3) #2 br label %10 10: ; preds = %8, %2 %11 = tail call i32 @nvkm_therm_fan_fini(ptr noundef nonnull %3, i32 noundef %1) #2 %12 = tail call i32 @nvkm_therm_sensor_fini(ptr noundef nonnull %3, i32 noundef %1) #2 %13 = icmp eq i32 %1, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr %3, align 8, !tbaa !13 %16 = getelementptr inbounds %struct.nvkm_therm, ptr %3, i64 0, i32 1 store i32 %15, ptr %16, align 4, !tbaa !14 %17 = load i32, ptr @NVKM_THERM_CTRL_NONE, align 4, !tbaa !15 store i32 %17, ptr %3, align 8, !tbaa !13 br label %18 18: ; preds = %14, %10 ret i32 0 } declare ptr @nvkm_therm(ptr noundef) local_unnamed_addr #1 declare i32 @nvkm_therm_fan_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_therm_sensor_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"nvkm_therm", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_base.c_nvkm_therm_fini.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_base.c_nvkm_therm_fini.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NVKM_THERM_CTRL_NONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nvkm_therm_fini], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @nvkm_therm_fini(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @nvkm_therm(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 %6(ptr noundef nonnull %3) #2 br label %10 10: ; preds = %8, %2 %11 = tail call i32 @nvkm_therm_fan_fini(ptr noundef nonnull %3, i32 noundef %1) #2 %12 = tail call i32 @nvkm_therm_sensor_fini(ptr noundef nonnull %3, i32 noundef %1) #2 %13 = icmp eq i32 %1, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr %3, align 8, !tbaa !14 %16 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %15, ptr %16, align 4, !tbaa !15 %17 = load i32, ptr @NVKM_THERM_CTRL_NONE, align 4, !tbaa !16 store i32 %17, ptr %3, align 8, !tbaa !14 br label %18 18: ; preds = %14, %10 ret i32 0 } declare ptr @nvkm_therm(ptr noundef) local_unnamed_addr #1 declare i32 @nvkm_therm_fan_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_therm_sensor_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"nvkm_therm", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!8, !8, i64 0}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_therm_extr_base.c_nvkm_therm_fini
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_m_sha1.c_update224.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_m_sha1.c_update224.c" target datalayout = "e-m:e-p270:32:32-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 @update224], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @update224(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @EVP_MD_CTX_md_data(ptr noundef %0) #2 %5 = tail call i32 @SHA224_Update(i32 noundef %4, ptr noundef %1, i64 noundef %2) #2 ret i32 %5 } declare i32 @SHA224_Update(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @EVP_MD_CTX_md_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_m_sha1.c_update224.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_m_sha1.c_update224.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 @update224], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @update224(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @EVP_MD_CTX_md_data(ptr noundef %0) #2 %5 = tail call i32 @SHA224_Update(i32 noundef %4, ptr noundef %1, i64 noundef %2) #2 ret i32 %5 } declare i32 @SHA224_Update(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @EVP_MD_CTX_md_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_openssl_crypto_evp_extr_m_sha1.c_update224
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_nft_fib_ipv6.c_nft_fib6_select_ops.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_nft_fib_ipv6.c_nft_fib6_select_ops.c" target datalayout = "e-m:e-p270:32:32-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.nft_expr_ops = type { i32 } @NFTA_FIB_RESULT = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @nft_fib6_ops = dso_local constant %struct.nft_expr_ops zeroinitializer, align 4 @nft_fib6_type_ops = dso_local constant %struct.nft_expr_ops zeroinitializer, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nft_fib6_select_ops], section "llvm.metadata" @switch.table.nft_fib6_select_ops = private unnamed_addr constant [3 x ptr] [ptr @nft_fib6_ops, ptr @nft_fib6_ops, ptr @nft_fib6_type_ops], align 8 ; Function Attrs: nounwind uwtable define internal ptr @nft_fib6_select_ops(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @NFTA_FIB_RESULT, align 8, !tbaa !5 %4 = getelementptr inbounds ptr, ptr %1, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 %10 = tail call ptr @ERR_PTR(i32 noundef %9) #3 br label %24 11: ; preds = %2 %12 = tail call i32 @nla_get_be32(ptr noundef nonnull %5) #3 %13 = tail call i32 @ntohl(i32 noundef %12) %14 = add i32 %13, -128 %15 = icmp ult i32 %14, 3 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11 %18 = sub nsw i32 0, %17 %19 = tail call ptr @ERR_PTR(i32 noundef %18) #3 br label %24 20: ; preds = %11 %21 = zext nneg i32 %14 to i64 %22 = getelementptr inbounds [3 x ptr], ptr @switch.table.nft_fib6_select_ops, i64 0, i64 %21 %23 = load ptr, ptr %22, align 8 br label %24 24: ; preds = %20, %16, %7 %25 = phi ptr [ %19, %16 ], [ %10, %7 ], [ %23, %20 ] ret ptr %25 } declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_be32(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 nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_nft_fib_ipv6.c_nft_fib6_select_ops.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_nft_fib_ipv6.c_nft_fib6_select_ops.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nft_expr_ops = type { i32 } @NFTA_FIB_RESULT = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @nft_fib6_ops = common global %struct.nft_expr_ops zeroinitializer, align 4 @nft_fib6_type_ops = common global %struct.nft_expr_ops zeroinitializer, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nft_fib6_select_ops], section "llvm.metadata" @switch.table.nft_fib6_select_ops = private unnamed_addr constant [3 x ptr] [ptr @nft_fib6_ops, ptr @nft_fib6_ops, ptr @nft_fib6_type_ops], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nft_fib6_select_ops(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @NFTA_FIB_RESULT, align 8, !tbaa !6 %4 = getelementptr inbounds ptr, ptr %1, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !12 %9 = sub nsw i32 0, %8 %10 = tail call ptr @ERR_PTR(i32 noundef %9) #3 br label %24 11: ; preds = %2 %12 = tail call i32 @nla_get_be32(ptr noundef nonnull %5) #3 %13 = tail call i32 @ntohl(i32 noundef %12) %14 = add i32 %13, -128 %15 = icmp ult i32 %14, 3 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12 %18 = sub nsw i32 0, %17 %19 = tail call ptr @ERR_PTR(i32 noundef %18) #3 br label %24 20: ; preds = %11 %21 = zext nneg i32 %14 to i64 %22 = getelementptr inbounds [3 x ptr], ptr @switch.table.nft_fib6_select_ops, i64 0, i64 %21 %23 = load ptr, ptr %22, align 8 br label %24 24: ; preds = %20, %16, %7 %25 = phi ptr [ %19, %16 ], [ %10, %7 ], [ %23, %20 ] ret ptr %25 } declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_be32(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 nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
linux_net_ipv6_netfilter_extr_nft_fib_ipv6.c_nft_fib6_select_ops
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_walNextHash.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_walNextHash.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HASHTABLE_NSLOT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @walNextHash], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @walNextHash(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1 %3 = load i32, ptr @HASHTABLE_NSLOT, align 4, !tbaa !5 %4 = add nsw i32 %3, -1 %5 = and i32 %4, %2 ret i32 %5 } 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/mongoose/examples/api_server/extr_sqlite3.c_walNextHash.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_walNextHash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HASHTABLE_NSLOT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @walNextHash], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @walNextHash(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1 %3 = load i32, ptr @HASHTABLE_NSLOT, align 4, !tbaa !6 %4 = add nsw i32 %3, -1 %5 = and i32 %4, %2 ret i32 %5 } 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"}
mongoose_examples_api_server_extr_sqlite3.c_walNextHash
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/extr_br_if.c_new_nbp.c' source_filename = "AnghaBench/fastsocket/kernel/net/bridge/extr_br_if.c_new_nbp.c" target datalayout = "e-m:e-p270:32:32-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.net_bridge_port = type { i32, i32, i32, i64, i32, ptr, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @BR_PORT_BITS = dso_local local_unnamed_addr global i32 0, align 4 @BR_STATE_DISABLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @new_nbp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @new_nbp(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @find_portno(ptr noundef %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call ptr @ERR_PTR(i32 noundef %3) #2 br label %30 7: ; preds = %2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %9 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 %14 = tail call ptr @ERR_PTR(i32 noundef %13) #2 br label %30 15: ; preds = %7 %16 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 6 store ptr %0, ptr %16, align 8, !tbaa !9 %17 = tail call i32 @dev_hold(ptr noundef %1) #2 %18 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 5 store ptr %1, ptr %18, align 8, !tbaa !13 %19 = tail call i32 @port_cost(ptr noundef %1) #2 %20 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 4 store i32 %19, ptr %20, align 8, !tbaa !14 %21 = load i32, ptr @BR_PORT_BITS, align 4, !tbaa !5 %22 = lshr i32 32768, %21 store i32 %22, ptr %9, align 8, !tbaa !15 %23 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 1 store i32 %3, ptr %23, align 4, !tbaa !16 %24 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 3 store i64 0, ptr %24, align 8, !tbaa !17 %25 = tail call i32 @br_init_port(ptr noundef nonnull %9) #2 %26 = load i32, ptr @BR_STATE_DISABLED, align 4, !tbaa !5 %27 = getelementptr inbounds %struct.net_bridge_port, ptr %9, i64 0, i32 2 store i32 %26, ptr %27, align 8, !tbaa !18 %28 = tail call i32 @br_stp_port_timer_init(ptr noundef nonnull %9) #2 %29 = tail call i32 @br_multicast_add_port(ptr noundef nonnull %9) #2 br label %30 30: ; preds = %15, %11, %5 %31 = phi ptr [ %6, %5 ], [ %14, %11 ], [ %9, %15 ] ret ptr %31 } declare i32 @find_portno(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_hold(ptr noundef) local_unnamed_addr #1 declare i32 @port_cost(ptr noundef) local_unnamed_addr #1 declare i32 @br_init_port(ptr noundef) local_unnamed_addr #1 declare i32 @br_stp_port_timer_init(ptr noundef) local_unnamed_addr #1 declare i32 @br_multicast_add_port(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, !12, i64 40} !10 = !{!"net_bridge_port", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !6, i64 24, !12, i64 32, !12, i64 40} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 32} !14 = !{!10, !6, i64 24} !15 = !{!10, !6, i64 0} !16 = !{!10, !6, i64 4} !17 = !{!10, !11, i64 16} !18 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/extr_br_if.c_new_nbp.c' source_filename = "AnghaBench/fastsocket/kernel/net/bridge/extr_br_if.c_new_nbp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @BR_PORT_BITS = common local_unnamed_addr global i32 0, align 4 @BR_STATE_DISABLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @new_nbp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @new_nbp(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @find_portno(ptr noundef %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call ptr @ERR_PTR(i32 noundef %3) #2 br label %30 7: ; preds = %2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %9 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 %14 = tail call ptr @ERR_PTR(i32 noundef %13) #2 br label %30 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %9, i64 40 store ptr %0, ptr %16, align 8, !tbaa !10 %17 = tail call i32 @dev_hold(ptr noundef %1) #2 %18 = getelementptr inbounds i8, ptr %9, i64 32 store ptr %1, ptr %18, align 8, !tbaa !14 %19 = tail call i32 @port_cost(ptr noundef %1) #2 %20 = getelementptr inbounds i8, ptr %9, i64 24 store i32 %19, ptr %20, align 8, !tbaa !15 %21 = load i32, ptr @BR_PORT_BITS, align 4, !tbaa !6 %22 = lshr i32 32768, %21 store i32 %22, ptr %9, align 8, !tbaa !16 %23 = getelementptr inbounds i8, ptr %9, i64 4 store i32 %3, ptr %23, align 4, !tbaa !17 %24 = getelementptr inbounds i8, ptr %9, i64 16 store i64 0, ptr %24, align 8, !tbaa !18 %25 = tail call i32 @br_init_port(ptr noundef nonnull %9) #2 %26 = load i32, ptr @BR_STATE_DISABLED, align 4, !tbaa !6 %27 = getelementptr inbounds i8, ptr %9, i64 8 store i32 %26, ptr %27, align 8, !tbaa !19 %28 = tail call i32 @br_stp_port_timer_init(ptr noundef nonnull %9) #2 %29 = tail call i32 @br_multicast_add_port(ptr noundef nonnull %9) #2 br label %30 30: ; preds = %15, %11, %5 %31 = phi ptr [ %6, %5 ], [ %14, %11 ], [ %9, %15 ] ret ptr %31 } declare i32 @find_portno(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_hold(ptr noundef) local_unnamed_addr #1 declare i32 @port_cost(ptr noundef) local_unnamed_addr #1 declare i32 @br_init_port(ptr noundef) local_unnamed_addr #1 declare i32 @br_stp_port_timer_init(ptr noundef) local_unnamed_addr #1 declare i32 @br_multicast_add_port(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, !13, i64 40} !11 = !{!"net_bridge_port", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 24, !13, i64 32, !13, i64 40} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 32} !15 = !{!11, !7, i64 24} !16 = !{!11, !7, i64 0} !17 = !{!11, !7, i64 4} !18 = !{!11, !12, i64 16} !19 = !{!11, !7, i64 8}
fastsocket_kernel_net_bridge_extr_br_if.c_new_nbp
; ModuleID = 'AnghaBench/rofi/source/extr_view.c_rofi_view_refilter.c' source_filename = "AnghaBench/rofi/source/extr_view.c_rofi_view_refilter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i64, i64, i32 } %struct.TYPE_17__ = type { i32, ptr, i32, i32, i32, ptr, i64, i32, i32, i64, i64, i32, ptr, ptr, i32, ptr } %struct.TYPE_16__ = type { i32, i32, ptr, ptr, %struct.TYPE_15__, i32, ptr, ptr, i32, ptr } %struct.TYPE_15__ = type { i32 } @.str = private unnamed_addr constant [13 x i8] c"Filter start\00", align 1 @FALSE = dso_local local_unnamed_addr global ptr null, align 8 @config = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @filter_elements = dso_local local_unnamed_addr global i32 0, align 4 @tpool = dso_local local_unnamed_addr global i32 0, align 4 @lev_sort = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @TRUE = dso_local local_unnamed_addr global i64 0, align 8 @MENU_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Resize based on re-filter\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Filter done\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rofi_view_refilter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rofi_view_refilter(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = tail call i32 @TICK_N(ptr noundef nonnull @.str) #5 %6 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 15 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %1 %10 = tail call i32 @_rofi_view_reload_row(ptr noundef nonnull %0) #5 %11 = load ptr, ptr @FALSE, align 8, !tbaa !12 store ptr %11, ptr %6, align 8, !tbaa !5 br label %12 12: ; preds = %9, %1 %13 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 12 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %12 %17 = tail call i32 @helper_tokenize_free(ptr noundef nonnull %14) #5 store ptr null, ptr %13, align 8, !tbaa !13 br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 13 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %139, label %22 22: ; preds = %18 %23 = load i32, ptr %20, align 4, !tbaa !15 %24 = tail call i64 @strlen(i32 noundef %23) #5 %25 = icmp sgt i64 %24, 0 br i1 %25, label %26, label %139 26: ; preds = %22 %27 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 14 %28 = load i32, ptr %27, align 8, !tbaa !17 %29 = load ptr, ptr %19, align 8, !tbaa !14 %30 = load i32, ptr %29, align 4, !tbaa !15 %31 = tail call ptr @mode_preprocess_input(i32 noundef %28, i32 noundef %30) #5 %32 = icmp eq ptr %31, null br i1 %32, label %35, label %33 33: ; preds = %26 %34 = tail call i32 @g_utf8_strlen(ptr noundef nonnull %31, i32 noundef -1) #5 br label %35 35: ; preds = %33, %26 %36 = phi i32 [ %34, %33 ], [ 0, %26 ] %37 = load i32, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @config, i64 0, i32 2), align 8, !tbaa !18 %38 = tail call ptr @helper_tokenize(ptr noundef %31, i32 noundef %37) #5 store ptr %38, ptr %13, align 8, !tbaa !13 %39 = load i32, ptr %0, align 8, !tbaa !20 %40 = sdiv i32 %39, 500 %41 = tail call i32 @MAX(i32 noundef 1, i32 noundef %40) #5 %42 = zext i32 %41 to i64 %43 = tail call ptr @llvm.stacksave.p0() %44 = alloca %struct.TYPE_16__, i64 %42, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5 %45 = call i32 @g_mutex_init(ptr noundef nonnull %3) #5 %46 = call i32 @g_cond_init(ptr noundef nonnull %2) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 store i32 %41, ptr %4, align 4, !tbaa !21 %47 = load i32, ptr %0, align 8, !tbaa !20 %48 = add i32 %47, %41 %49 = udiv i32 %48, %41 %50 = call i32 @llvm.umax.i32(i32 %41, i32 1) %51 = zext i32 %50 to i64 %52 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 9 store ptr %0, ptr %52, align 8, !tbaa !22 store i32 0, ptr %44, align 16, !tbaa !25 %53 = call i32 @MIN(i32 noundef %47, i32 noundef %49) #5 %54 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 8 store i32 %53, ptr %54, align 16, !tbaa !26 %55 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 1 store i32 0, ptr %55, align 4, !tbaa !27 %56 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 7 store ptr %2, ptr %56, align 8, !tbaa !28 %57 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 6 store ptr %3, ptr %57, align 16, !tbaa !29 %58 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 2 store ptr %4, ptr %58, align 8, !tbaa !30 %59 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 5 store i32 %36, ptr %59, align 4, !tbaa !31 %60 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 3 store ptr %31, ptr %60, align 16, !tbaa !32 %61 = load i32, ptr @filter_elements, align 4, !tbaa !21 %62 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 0, i32 4 store i32 %61, ptr %62, align 8, !tbaa !33 %63 = icmp ult i32 %41, 2 br i1 %63, label %64, label %71 64: ; preds = %35 %65 = call i32 @rofi_view_call_thread(ptr noundef nonnull %44, ptr noundef null) #5 br label %100 66: ; preds = %71 %67 = call i32 @rofi_view_call_thread(ptr noundef nonnull %44, ptr noundef null) #5 %68 = call i32 @g_mutex_lock(ptr noundef nonnull %3) #5 %69 = load i32, ptr %4, align 4, !tbaa !21 %70 = icmp eq i32 %69, 0 br i1 %70, label %98, label %94 71: ; preds = %35, %71 %72 = phi i64 [ %78, %71 ], [ 1, %35 ] %73 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72 %74 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 9 store ptr %0, ptr %74, align 8, !tbaa !22 %75 = trunc i64 %72 to i32 %76 = mul i32 %49, %75 store i32 %76, ptr %73, align 16, !tbaa !25 %77 = load i32, ptr %0, align 8, !tbaa !20 %78 = add nuw nsw i64 %72, 1 %79 = trunc i64 %78 to i32 %80 = mul i32 %49, %79 %81 = call i32 @MIN(i32 noundef %77, i32 noundef %80) #5 %82 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 8 store i32 %81, ptr %82, align 16, !tbaa !26 %83 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 1 store i32 0, ptr %83, align 4, !tbaa !27 %84 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 7 store ptr %2, ptr %84, align 8, !tbaa !28 %85 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 6 store ptr %3, ptr %85, align 16, !tbaa !29 %86 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 2 store ptr %4, ptr %86, align 8, !tbaa !30 %87 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 5 store i32 %36, ptr %87, align 4, !tbaa !31 %88 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 3 store ptr %31, ptr %88, align 16, !tbaa !32 %89 = load i32, ptr @filter_elements, align 4, !tbaa !21 %90 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72, i32 4 store i32 %89, ptr %90, align 8, !tbaa !33 %91 = load i32, ptr @tpool, align 4, !tbaa !21 %92 = call i32 @g_thread_pool_push(i32 noundef %91, ptr noundef nonnull %73, ptr noundef null) #5 %93 = icmp eq i64 %78, %51 br i1 %93, label %66, label %71, !llvm.loop !34 94: ; preds = %66, %94 %95 = call i32 @g_cond_wait(ptr noundef nonnull %2, ptr noundef nonnull %3) #5 %96 = load i32, ptr %4, align 4, !tbaa !21 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %94, !llvm.loop !37 98: ; preds = %94, %66 %99 = call i32 @g_mutex_unlock(ptr noundef nonnull %3) #5 br label %100 100: ; preds = %64, %98 %101 = call i32 @g_cond_clear(ptr noundef nonnull %2) #5 %102 = call i32 @g_mutex_clear(ptr noundef nonnull %3) #5 %103 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 br label %107 104: ; preds = %123 %105 = load i64, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @config, i64 0, i32 1), align 8, !tbaa !38 %106 = icmp eq i64 %105, 0 br i1 %106, label %135, label %129 107: ; preds = %100, %123 %108 = phi i64 [ 0, %100 ], [ %127, %123 ] %109 = phi i32 [ 0, %100 ], [ %126, %123 ] %110 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %108 %111 = load i32, ptr %110, align 16, !tbaa !25 %112 = icmp eq i32 %109, %111 br i1 %112, label %123, label %113 113: ; preds = %107 %114 = load ptr, ptr %103, align 8, !tbaa !39 %115 = zext i32 %109 to i64 %116 = getelementptr inbounds i32, ptr %114, i64 %115 %117 = zext i32 %111 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %108, i32 1 %120 = load i32, ptr %119, align 4, !tbaa !27 %121 = shl i32 %120, 2 %122 = call i32 @memmove(ptr noundef %116, ptr noundef %118, i32 noundef %121) #5 br label %123 123: ; preds = %113, %107 %124 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %108, i32 1 %125 = load i32, ptr %124, align 4, !tbaa !27 %126 = add i32 %125, %109 %127 = add nuw nsw i64 %108, 1 %128 = icmp eq i64 %127, %51 br i1 %128, label %104, label %107, !llvm.loop !40 129: ; preds = %104 %130 = load ptr, ptr %103, align 8, !tbaa !39 %131 = load i32, ptr @lev_sort, align 4, !tbaa !21 %132 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 11 %133 = load i32, ptr %132, align 8, !tbaa !41 %134 = call i32 @g_qsort_with_data(ptr noundef %130, i32 noundef %126, i32 noundef 4, i32 noundef %131, i32 noundef %133) #5 br label %135 135: ; preds = %129, %104 %136 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2 store i32 %126, ptr %136, align 8, !tbaa !42 %137 = call i32 @g_free(ptr noundef %31) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5 call void @llvm.stackrestore.p0(ptr %43) %138 = load i32, ptr %136, align 8, !tbaa !42 br label %156 139: ; preds = %22, %18 %140 = load i32, ptr %0, align 8, !tbaa !20 %141 = icmp eq i32 %140, 0 br i1 %141, label %145, label %142 142: ; preds = %139 %143 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 %144 = load ptr, ptr %143, align 8, !tbaa !39 br label %148 145: ; preds = %148, %139 %146 = phi i32 [ 0, %139 ], [ %153, %148 ] %147 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2 store i32 %146, ptr %147, align 8, !tbaa !42 br label %156 148: ; preds = %142, %148 %149 = phi i64 [ 0, %142 ], [ %152, %148 ] %150 = getelementptr inbounds i32, ptr %144, i64 %149 %151 = trunc i64 %149 to i32 store i32 %151, ptr %150, align 4, !tbaa !21 %152 = add nuw nsw i64 %149, 1 %153 = load i32, ptr %0, align 8, !tbaa !20 %154 = zext i32 %153 to i64 %155 = icmp ult i64 %152, %154 br i1 %155, label %148, label %145, !llvm.loop !43 156: ; preds = %145, %135 %157 = phi i32 [ %146, %145 ], [ %138, %135 ] %158 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 8 %159 = load i32, ptr %158, align 4, !tbaa !44 %160 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2 %161 = call i32 @listview_set_num_elements(i32 noundef %159, i32 noundef %157) #5 %162 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 10 %163 = load i64, ptr %162, align 8, !tbaa !45 %164 = icmp eq i64 %163, 0 br i1 %164, label %171, label %165 165: ; preds = %156 %166 = load i32, ptr %160, align 8, !tbaa !42 %167 = call ptr @g_strdup_printf(ptr noundef nonnull @.str.1, i32 noundef %166) #5 %168 = load i64, ptr %162, align 8, !tbaa !45 %169 = call i32 @textbox_text(i64 noundef %168, ptr noundef %167) #5 %170 = call i32 @g_free(ptr noundef %167) #5 br label %171 171: ; preds = %165, %156 %172 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 9 %173 = load i64, ptr %172, align 8, !tbaa !46 %174 = icmp eq i64 %173, 0 br i1 %174, label %181, label %175 175: ; preds = %171 %176 = load i32, ptr %0, align 8, !tbaa !20 %177 = call ptr @g_strdup_printf(ptr noundef nonnull @.str.1, i32 noundef %176) #5 %178 = load i64, ptr %172, align 8, !tbaa !46 %179 = call i32 @textbox_text(i64 noundef %178, ptr noundef %177) #5 %180 = call i32 @g_free(ptr noundef %177) #5 br label %181 181: ; preds = %175, %171 %182 = load i64, ptr @config, align 8, !tbaa !47 %183 = load i64, ptr @TRUE, align 8, !tbaa !48 %184 = icmp eq i64 %182, %183 br i1 %184, label %185, label %203 185: ; preds = %181 %186 = load i32, ptr %160, align 8, !tbaa !42 %187 = icmp eq i32 %186, 1 br i1 %187, label %188, label %203 188: ; preds = %185 %189 = load i32, ptr %0, align 8, !tbaa !20 %190 = icmp sgt i32 %189, 1 br i1 %190, label %191, label %203 191: ; preds = %188 %192 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 %193 = load ptr, ptr %192, align 8, !tbaa !39 %194 = load i32, ptr %158, align 4, !tbaa !44 %195 = call i64 @listview_get_selected(i32 noundef %194) #5 %196 = getelementptr inbounds i32, ptr %193, i64 %195 %197 = load i32, ptr %196, align 4, !tbaa !21 %198 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 3 store i32 %197, ptr %198, align 4, !tbaa !49 %199 = load i32, ptr @MENU_OK, align 4, !tbaa !21 %200 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 7 store i32 %199, ptr %200, align 8, !tbaa !50 %201 = load i64, ptr @TRUE, align 8, !tbaa !48 %202 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 6 store i64 %201, ptr %202, align 8, !tbaa !51 br label %203 203: ; preds = %191, %188, %185, %181 %204 = call i32 @rofi_view_calculate_height(ptr noundef nonnull %0) #5 %205 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 4 %206 = load i32, ptr %205, align 8, !tbaa !52 %207 = icmp eq i32 %204, %206 br i1 %207, label %212, label %208 208: ; preds = %203 store i32 %204, ptr %205, align 8, !tbaa !52 %209 = call i32 @rofi_view_calculate_window_position(ptr noundef nonnull %0) #5 %210 = call i32 @rofi_view_window_update_size(ptr noundef nonnull %0) #5 %211 = call i32 @g_debug(ptr noundef nonnull @.str.2) #5 br label %212 212: ; preds = %208, %203 %213 = load ptr, ptr @FALSE, align 8, !tbaa !12 %214 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 5 store ptr %213, ptr %214, align 8, !tbaa !53 %215 = call i32 @TICK_N(ptr noundef nonnull @.str.3) #5 ret void } declare i32 @TICK_N(ptr noundef) local_unnamed_addr #1 declare i32 @_rofi_view_reload_row(ptr noundef) local_unnamed_addr #1 declare i32 @helper_tokenize_free(ptr noundef) local_unnamed_addr #1 declare i64 @strlen(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @mode_preprocess_input(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_utf8_strlen(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @helper_tokenize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @g_mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_init(ptr noundef) local_unnamed_addr #1 declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_thread_pool_push(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @rofi_view_call_thread(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_clear(ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_clear(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_qsort_with_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @listview_set_num_elements(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @g_strdup_printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @textbox_text(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @listview_get_selected(i32 noundef) local_unnamed_addr #1 declare i32 @rofi_view_calculate_height(ptr noundef) local_unnamed_addr #1 declare i32 @rofi_view_calculate_window_position(ptr noundef) local_unnamed_addr #1 declare i32 @rofi_view_window_update_size(ptr noundef) local_unnamed_addr #1 declare i32 @g_debug(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 104} !6 = !{!"TYPE_17__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !11, i64 40, !7, i64 48, !7, i64 52, !11, i64 56, !11, i64 64, !7, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !10, i64 104} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 80} !14 = !{!6, !10, i64 88} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_14__", !7, i64 0} !17 = !{!6, !7, i64 96} !18 = !{!19, !7, i64 16} !19 = !{!"TYPE_13__", !11, i64 0, !11, i64 8, !7, i64 16} !20 = !{!6, !7, i64 0} !21 = !{!7, !7, i64 0} !22 = !{!23, !10, i64 56} !23 = !{!"TYPE_16__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !24, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !7, i64 48, !10, i64 56} !24 = !{!"TYPE_15__", !7, i64 0} !25 = !{!23, !7, i64 0} !26 = !{!23, !7, i64 48} !27 = !{!23, !7, i64 4} !28 = !{!23, !10, i64 40} !29 = !{!23, !10, i64 32} !30 = !{!23, !10, i64 8} !31 = !{!23, !7, i64 28} !32 = !{!23, !10, i64 16} !33 = !{!23, !7, i64 24} !34 = distinct !{!34, !35, !36} !35 = !{!"llvm.loop.mustprogress"} !36 = !{!"llvm.loop.peeled.count", i32 1} !37 = distinct !{!37, !35} !38 = !{!19, !11, i64 8} !39 = !{!6, !10, i64 8} !40 = distinct !{!40, !35} !41 = !{!6, !7, i64 72} !42 = !{!6, !7, i64 16} !43 = distinct !{!43, !35} !44 = !{!6, !7, i64 52} !45 = !{!6, !11, i64 64} !46 = !{!6, !11, i64 56} !47 = !{!19, !11, i64 0} !48 = !{!11, !11, i64 0} !49 = !{!6, !7, i64 20} !50 = !{!6, !7, i64 48} !51 = !{!6, !11, i64 40} !52 = !{!6, !7, i64 24} !53 = !{!6, !10, i64 32}
; ModuleID = 'AnghaBench/rofi/source/extr_view.c_rofi_view_refilter.c' source_filename = "AnghaBench/rofi/source/extr_view.c_rofi_view_refilter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { i64, i64, i32 } %struct.TYPE_16__ = type { i32, i32, ptr, ptr, %struct.TYPE_15__, i32, ptr, ptr, i32, ptr } %struct.TYPE_15__ = type { i32 } @.str = private unnamed_addr constant [13 x i8] c"Filter start\00", align 1 @FALSE = common local_unnamed_addr global ptr null, align 8 @config = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @filter_elements = common local_unnamed_addr global i32 0, align 4 @tpool = common local_unnamed_addr global i32 0, align 4 @lev_sort = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @TRUE = common local_unnamed_addr global i64 0, align 8 @MENU_OK = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Resize based on re-filter\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Filter done\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rofi_view_refilter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rofi_view_refilter(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = tail call i32 @TICK_N(ptr noundef nonnull @.str) #5 %6 = getelementptr inbounds i8, ptr %0, i64 104 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %1 %10 = tail call i32 @_rofi_view_reload_row(ptr noundef nonnull %0) #5 %11 = load ptr, ptr @FALSE, align 8, !tbaa !13 store ptr %11, ptr %6, align 8, !tbaa !6 br label %12 12: ; preds = %9, %1 %13 = getelementptr inbounds i8, ptr %0, i64 80 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %12 %17 = tail call i32 @helper_tokenize_free(ptr noundef nonnull %14) #5 store ptr null, ptr %13, align 8, !tbaa !14 br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds i8, ptr %0, i64 88 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = icmp eq ptr %20, null br i1 %21, label %139, label %22 22: ; preds = %18 %23 = load i32, ptr %20, align 4, !tbaa !16 %24 = tail call i64 @strlen(i32 noundef %23) #5 %25 = icmp sgt i64 %24, 0 br i1 %25, label %26, label %139 26: ; preds = %22 %27 = getelementptr inbounds i8, ptr %0, i64 96 %28 = load i32, ptr %27, align 8, !tbaa !18 %29 = load ptr, ptr %19, align 8, !tbaa !15 %30 = load i32, ptr %29, align 4, !tbaa !16 %31 = tail call ptr @mode_preprocess_input(i32 noundef %28, i32 noundef %30) #5 %32 = icmp eq ptr %31, null br i1 %32, label %35, label %33 33: ; preds = %26 %34 = tail call i32 @g_utf8_strlen(ptr noundef nonnull %31, i32 noundef -1) #5 br label %35 35: ; preds = %33, %26 %36 = phi i32 [ %34, %33 ], [ 0, %26 ] %37 = load i32, ptr getelementptr inbounds (i8, ptr @config, i64 16), align 8, !tbaa !19 %38 = tail call ptr @helper_tokenize(ptr noundef %31, i32 noundef %37) #5 store ptr %38, ptr %13, align 8, !tbaa !14 %39 = load i32, ptr %0, align 8, !tbaa !21 %40 = sdiv i32 %39, 500 %41 = tail call i32 @MAX(i32 noundef 1, i32 noundef %40) #5 %42 = zext i32 %41 to i64 %43 = tail call ptr @llvm.stacksave.p0() %44 = alloca %struct.TYPE_16__, i64 %42, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5 %45 = call i32 @g_mutex_init(ptr noundef nonnull %3) #5 %46 = call i32 @g_cond_init(ptr noundef nonnull %2) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 store i32 %41, ptr %4, align 4, !tbaa !22 %47 = load i32, ptr %0, align 8, !tbaa !21 %48 = add i32 %47, %41 %49 = udiv i32 %48, %41 %50 = call i32 @llvm.umax.i32(i32 %41, i32 1) %51 = zext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %44, i64 56 store ptr %0, ptr %52, align 8, !tbaa !23 store i32 0, ptr %44, align 8, !tbaa !26 %53 = call i32 @MIN(i32 noundef %47, i32 noundef %49) #5 %54 = getelementptr inbounds i8, ptr %44, i64 48 store i32 %53, ptr %54, align 8, !tbaa !27 %55 = getelementptr inbounds i8, ptr %44, i64 4 store i32 0, ptr %55, align 4, !tbaa !28 %56 = getelementptr inbounds i8, ptr %44, i64 40 store ptr %2, ptr %56, align 8, !tbaa !29 %57 = getelementptr inbounds i8, ptr %44, i64 32 store ptr %3, ptr %57, align 8, !tbaa !30 %58 = getelementptr inbounds i8, ptr %44, i64 8 store ptr %4, ptr %58, align 8, !tbaa !31 %59 = getelementptr inbounds i8, ptr %44, i64 28 store i32 %36, ptr %59, align 4, !tbaa !32 %60 = getelementptr inbounds i8, ptr %44, i64 16 store ptr %31, ptr %60, align 8, !tbaa !33 %61 = load i32, ptr @filter_elements, align 4, !tbaa !22 %62 = getelementptr inbounds i8, ptr %44, i64 24 store i32 %61, ptr %62, align 8, !tbaa !34 %63 = icmp ult i32 %41, 2 br i1 %63, label %64, label %71 64: ; preds = %35 %65 = call i32 @rofi_view_call_thread(ptr noundef nonnull %44, ptr noundef null) #5 br label %100 66: ; preds = %71 %67 = call i32 @rofi_view_call_thread(ptr noundef nonnull %44, ptr noundef null) #5 %68 = call i32 @g_mutex_lock(ptr noundef nonnull %3) #5 %69 = load i32, ptr %4, align 4, !tbaa !22 %70 = icmp eq i32 %69, 0 br i1 %70, label %98, label %94 71: ; preds = %35, %71 %72 = phi i64 [ %78, %71 ], [ 1, %35 ] %73 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %72 %74 = getelementptr inbounds i8, ptr %73, i64 56 store ptr %0, ptr %74, align 8, !tbaa !23 %75 = trunc nuw i64 %72 to i32 %76 = mul i32 %49, %75 store i32 %76, ptr %73, align 8, !tbaa !26 %77 = load i32, ptr %0, align 8, !tbaa !21 %78 = add nuw nsw i64 %72, 1 %79 = trunc nuw i64 %78 to i32 %80 = mul i32 %49, %79 %81 = call i32 @MIN(i32 noundef %77, i32 noundef %80) #5 %82 = getelementptr inbounds i8, ptr %73, i64 48 store i32 %81, ptr %82, align 8, !tbaa !27 %83 = getelementptr inbounds i8, ptr %73, i64 4 store i32 0, ptr %83, align 4, !tbaa !28 %84 = getelementptr inbounds i8, ptr %73, i64 40 store ptr %2, ptr %84, align 8, !tbaa !29 %85 = getelementptr inbounds i8, ptr %73, i64 32 store ptr %3, ptr %85, align 8, !tbaa !30 %86 = getelementptr inbounds i8, ptr %73, i64 8 store ptr %4, ptr %86, align 8, !tbaa !31 %87 = getelementptr inbounds i8, ptr %73, i64 28 store i32 %36, ptr %87, align 4, !tbaa !32 %88 = getelementptr inbounds i8, ptr %73, i64 16 store ptr %31, ptr %88, align 8, !tbaa !33 %89 = load i32, ptr @filter_elements, align 4, !tbaa !22 %90 = getelementptr inbounds i8, ptr %73, i64 24 store i32 %89, ptr %90, align 8, !tbaa !34 %91 = load i32, ptr @tpool, align 4, !tbaa !22 %92 = call i32 @g_thread_pool_push(i32 noundef %91, ptr noundef nonnull %73, ptr noundef null) #5 %93 = icmp eq i64 %78, %51 br i1 %93, label %66, label %71, !llvm.loop !35 94: ; preds = %66, %94 %95 = call i32 @g_cond_wait(ptr noundef nonnull %2, ptr noundef nonnull %3) #5 %96 = load i32, ptr %4, align 4, !tbaa !22 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %94, !llvm.loop !38 98: ; preds = %94, %66 %99 = call i32 @g_mutex_unlock(ptr noundef nonnull %3) #5 br label %100 100: ; preds = %64, %98 %101 = call i32 @g_cond_clear(ptr noundef nonnull %2) #5 %102 = call i32 @g_mutex_clear(ptr noundef nonnull %3) #5 %103 = getelementptr inbounds i8, ptr %0, i64 8 br label %107 104: ; preds = %123 %105 = load i64, ptr getelementptr inbounds (i8, ptr @config, i64 8), align 8, !tbaa !39 %106 = icmp eq i64 %105, 0 br i1 %106, label %135, label %129 107: ; preds = %100, %123 %108 = phi i64 [ 0, %100 ], [ %127, %123 ] %109 = phi i32 [ 0, %100 ], [ %126, %123 ] %110 = getelementptr inbounds %struct.TYPE_16__, ptr %44, i64 %108 %111 = load i32, ptr %110, align 8, !tbaa !26 %112 = icmp eq i32 %109, %111 br i1 %112, label %123, label %113 113: ; preds = %107 %114 = load ptr, ptr %103, align 8, !tbaa !40 %115 = zext i32 %109 to i64 %116 = getelementptr inbounds i32, ptr %114, i64 %115 %117 = zext i32 %111 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = getelementptr inbounds i8, ptr %110, i64 4 %120 = load i32, ptr %119, align 4, !tbaa !28 %121 = shl i32 %120, 2 %122 = call i32 @memmove(ptr noundef %116, ptr noundef %118, i32 noundef %121) #5 br label %123 123: ; preds = %113, %107 %124 = getelementptr inbounds i8, ptr %110, i64 4 %125 = load i32, ptr %124, align 4, !tbaa !28 %126 = add i32 %125, %109 %127 = add nuw nsw i64 %108, 1 %128 = icmp eq i64 %127, %51 br i1 %128, label %104, label %107, !llvm.loop !41 129: ; preds = %104 %130 = load ptr, ptr %103, align 8, !tbaa !40 %131 = load i32, ptr @lev_sort, align 4, !tbaa !22 %132 = getelementptr inbounds i8, ptr %0, i64 72 %133 = load i32, ptr %132, align 8, !tbaa !42 %134 = call i32 @g_qsort_with_data(ptr noundef %130, i32 noundef %126, i32 noundef 4, i32 noundef %131, i32 noundef %133) #5 br label %135 135: ; preds = %129, %104 %136 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %126, ptr %136, align 8, !tbaa !43 %137 = call i32 @g_free(ptr noundef %31) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5 call void @llvm.stackrestore.p0(ptr %43) %138 = load i32, ptr %136, align 8, !tbaa !43 br label %156 139: ; preds = %22, %18 %140 = load i32, ptr %0, align 8, !tbaa !21 %141 = icmp eq i32 %140, 0 br i1 %141, label %145, label %142 142: ; preds = %139 %143 = getelementptr inbounds i8, ptr %0, i64 8 %144 = load ptr, ptr %143, align 8, !tbaa !40 br label %148 145: ; preds = %148, %139 %146 = phi i32 [ 0, %139 ], [ %153, %148 ] %147 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %146, ptr %147, align 8, !tbaa !43 br label %156 148: ; preds = %142, %148 %149 = phi i64 [ 0, %142 ], [ %152, %148 ] %150 = getelementptr inbounds i32, ptr %144, i64 %149 %151 = trunc nuw i64 %149 to i32 store i32 %151, ptr %150, align 4, !tbaa !22 %152 = add nuw nsw i64 %149, 1 %153 = load i32, ptr %0, align 8, !tbaa !21 %154 = zext i32 %153 to i64 %155 = icmp ult i64 %152, %154 br i1 %155, label %148, label %145, !llvm.loop !44 156: ; preds = %145, %135 %157 = phi i32 [ %146, %145 ], [ %138, %135 ] %158 = getelementptr inbounds i8, ptr %0, i64 52 %159 = load i32, ptr %158, align 4, !tbaa !45 %160 = getelementptr inbounds i8, ptr %0, i64 16 %161 = call i32 @listview_set_num_elements(i32 noundef %159, i32 noundef %157) #5 %162 = getelementptr inbounds i8, ptr %0, i64 64 %163 = load i64, ptr %162, align 8, !tbaa !46 %164 = icmp eq i64 %163, 0 br i1 %164, label %171, label %165 165: ; preds = %156 %166 = load i32, ptr %160, align 8, !tbaa !43 %167 = call ptr @g_strdup_printf(ptr noundef nonnull @.str.1, i32 noundef %166) #5 %168 = load i64, ptr %162, align 8, !tbaa !46 %169 = call i32 @textbox_text(i64 noundef %168, ptr noundef %167) #5 %170 = call i32 @g_free(ptr noundef %167) #5 br label %171 171: ; preds = %165, %156 %172 = getelementptr inbounds i8, ptr %0, i64 56 %173 = load i64, ptr %172, align 8, !tbaa !47 %174 = icmp eq i64 %173, 0 br i1 %174, label %181, label %175 175: ; preds = %171 %176 = load i32, ptr %0, align 8, !tbaa !21 %177 = call ptr @g_strdup_printf(ptr noundef nonnull @.str.1, i32 noundef %176) #5 %178 = load i64, ptr %172, align 8, !tbaa !47 %179 = call i32 @textbox_text(i64 noundef %178, ptr noundef %177) #5 %180 = call i32 @g_free(ptr noundef %177) #5 br label %181 181: ; preds = %175, %171 %182 = load i64, ptr @config, align 8, !tbaa !48 %183 = load i64, ptr @TRUE, align 8, !tbaa !49 %184 = icmp eq i64 %182, %183 br i1 %184, label %185, label %203 185: ; preds = %181 %186 = load i32, ptr %160, align 8, !tbaa !43 %187 = icmp eq i32 %186, 1 br i1 %187, label %188, label %203 188: ; preds = %185 %189 = load i32, ptr %0, align 8, !tbaa !21 %190 = icmp sgt i32 %189, 1 br i1 %190, label %191, label %203 191: ; preds = %188 %192 = getelementptr inbounds i8, ptr %0, i64 8 %193 = load ptr, ptr %192, align 8, !tbaa !40 %194 = load i32, ptr %158, align 4, !tbaa !45 %195 = call i64 @listview_get_selected(i32 noundef %194) #5 %196 = getelementptr inbounds i32, ptr %193, i64 %195 %197 = load i32, ptr %196, align 4, !tbaa !22 %198 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %197, ptr %198, align 4, !tbaa !50 %199 = load i32, ptr @MENU_OK, align 4, !tbaa !22 %200 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %199, ptr %200, align 8, !tbaa !51 %201 = load i64, ptr @TRUE, align 8, !tbaa !49 %202 = getelementptr inbounds i8, ptr %0, i64 40 store i64 %201, ptr %202, align 8, !tbaa !52 br label %203 203: ; preds = %191, %188, %185, %181 %204 = call i32 @rofi_view_calculate_height(ptr noundef nonnull %0) #5 %205 = getelementptr inbounds i8, ptr %0, i64 24 %206 = load i32, ptr %205, align 8, !tbaa !53 %207 = icmp eq i32 %204, %206 br i1 %207, label %212, label %208 208: ; preds = %203 store i32 %204, ptr %205, align 8, !tbaa !53 %209 = call i32 @rofi_view_calculate_window_position(ptr noundef nonnull %0) #5 %210 = call i32 @rofi_view_window_update_size(ptr noundef nonnull %0) #5 %211 = call i32 @g_debug(ptr noundef nonnull @.str.2) #5 br label %212 212: ; preds = %208, %203 %213 = load ptr, ptr @FALSE, align 8, !tbaa !13 %214 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %213, ptr %214, align 8, !tbaa !54 %215 = call i32 @TICK_N(ptr noundef nonnull @.str.3) #5 ret void } declare i32 @TICK_N(ptr noundef) local_unnamed_addr #1 declare i32 @_rofi_view_reload_row(ptr noundef) local_unnamed_addr #1 declare i32 @helper_tokenize_free(ptr noundef) local_unnamed_addr #1 declare i64 @strlen(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @mode_preprocess_input(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_utf8_strlen(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @helper_tokenize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @g_mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_init(ptr noundef) local_unnamed_addr #1 declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_thread_pool_push(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @rofi_view_call_thread(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @g_cond_clear(ptr noundef) local_unnamed_addr #1 declare i32 @g_mutex_clear(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_qsort_with_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @g_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @listview_set_num_elements(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @g_strdup_printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @textbox_text(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @listview_get_selected(i32 noundef) local_unnamed_addr #1 declare i32 @rofi_view_calculate_height(ptr noundef) local_unnamed_addr #1 declare i32 @rofi_view_calculate_window_position(ptr noundef) local_unnamed_addr #1 declare i32 @rofi_view_window_update_size(ptr noundef) local_unnamed_addr #1 declare i32 @g_debug(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 104} !7 = !{!"TYPE_17__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 32, !12, i64 40, !8, i64 48, !8, i64 52, !12, i64 56, !12, i64 64, !8, i64 72, !11, i64 80, !11, i64 88, !8, i64 96, !11, i64 104} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 80} !15 = !{!7, !11, i64 88} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_14__", !8, i64 0} !18 = !{!7, !8, i64 96} !19 = !{!20, !8, i64 16} !20 = !{!"TYPE_13__", !12, i64 0, !12, i64 8, !8, i64 16} !21 = !{!7, !8, i64 0} !22 = !{!8, !8, i64 0} !23 = !{!24, !11, i64 56} !24 = !{!"TYPE_16__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !25, i64 24, !8, i64 28, !11, i64 32, !11, i64 40, !8, i64 48, !11, i64 56} !25 = !{!"TYPE_15__", !8, i64 0} !26 = !{!24, !8, i64 0} !27 = !{!24, !8, i64 48} !28 = !{!24, !8, i64 4} !29 = !{!24, !11, i64 40} !30 = !{!24, !11, i64 32} !31 = !{!24, !11, i64 8} !32 = !{!24, !8, i64 28} !33 = !{!24, !11, i64 16} !34 = !{!24, !8, i64 24} !35 = distinct !{!35, !36, !37} !36 = !{!"llvm.loop.mustprogress"} !37 = !{!"llvm.loop.peeled.count", i32 1} !38 = distinct !{!38, !36} !39 = !{!20, !12, i64 8} !40 = !{!7, !11, i64 8} !41 = distinct !{!41, !36} !42 = !{!7, !8, i64 72} !43 = !{!7, !8, i64 16} !44 = distinct !{!44, !36} !45 = !{!7, !8, i64 52} !46 = !{!7, !12, i64 64} !47 = !{!7, !12, i64 56} !48 = !{!20, !12, i64 0} !49 = !{!12, !12, i64 0} !50 = !{!7, !8, i64 20} !51 = !{!7, !8, i64 48} !52 = !{!7, !12, i64 40} !53 = !{!7, !8, i64 24} !54 = !{!7, !11, i64 32}
rofi_source_extr_view.c_rofi_view_refilter
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9002_mac.c_ar9002_hw_set_desc_link.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9002_mac.c_ar9002_hw_set_desc_link.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ar9002_hw_set_desc_link], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @ar9002_hw_set_desc_link(ptr nocapture noundef writeonly %0, i32 noundef %1) #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 = !{!"ath_desc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9002_mac.c_ar9002_hw_set_desc_link.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9002_mac.c_ar9002_hw_set_desc_link.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 @ar9002_hw_set_desc_link], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @ar9002_hw_set_desc_link(ptr nocapture noundef writeonly %0, i32 noundef %1) #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 = !{!"ath_desc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_ath_ath9k_extr_ar9002_mac.c_ar9002_hw_set_desc_link
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd_ioctl.c_ide_cdrom_get_mcn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd_ioctl.c_ide_cdrom_get_mcn.c" target datalayout = "e-m:e-p270:32:32-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_MAX_CDB = dso_local local_unnamed_addr global i32 0, align 4 @GPCMD_READ_SUBCHANNEL = dso_local local_unnamed_addr global i8 0, align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ide_cdrom_get_mcn(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca [24 x i8], align 16 %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 %6 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !10 %7 = zext i32 %6 to i64 %8 = tail call ptr @llvm.stacksave.p0() %9 = alloca i8, i64 %7, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 24, ptr %4, align 4, !tbaa !10 %10 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !10 %11 = call i32 @memset(ptr noundef nonnull %9, i32 noundef 0, i32 noundef %10) #4 %12 = load i8, ptr @GPCMD_READ_SUBCHANNEL, align 1, !tbaa !12 store i8 %12, ptr %9, align 16, !tbaa !12 %13 = getelementptr inbounds i8, ptr %9, i64 1 store i8 2, ptr %13, align 1, !tbaa !12 %14 = getelementptr inbounds i8, ptr %9, i64 2 store i8 64, ptr %14, align 2, !tbaa !12 %15 = getelementptr inbounds i8, ptr %9, i64 3 store i8 2, ptr %15, align 1, !tbaa !12 %16 = getelementptr inbounds i8, ptr %9, i64 8 store i8 24, ptr %16, align 8, !tbaa !12 %17 = call i32 @ide_cd_queue_pc(ptr noundef %5, ptr noundef nonnull %9, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0, i32 noundef 0) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load ptr, ptr %1, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %3, i64 9 %22 = call i32 @memcpy(ptr noundef %20, ptr noundef nonnull %21, i32 noundef 7) #4 %23 = load ptr, ptr %1, align 8, !tbaa !13 %24 = getelementptr inbounds i8, ptr %23, i64 7 store i8 0, ptr %24, align 1, !tbaa !12 br label %25 25: ; preds = %2, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.stackrestore.p0(ptr %8) call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ide_cd_queue_pc(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cdrom_device_info", !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 = !{!8, !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"cdrom_mcn", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd_ioctl.c_ide_cdrom_get_mcn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd_ioctl.c_ide_cdrom_get_mcn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLK_MAX_CDB = common local_unnamed_addr global i32 0, align 4 @GPCMD_READ_SUBCHANNEL = common local_unnamed_addr global i8 0, align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ide_cdrom_get_mcn(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca [24 x i8], align 1 %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 %6 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !11 %7 = zext i32 %6 to i64 %8 = tail call ptr @llvm.stacksave.p0() %9 = alloca i8, i64 %7, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 24, ptr %4, align 4, !tbaa !11 %10 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !11 %11 = call i32 @memset(ptr noundef nonnull %9, i32 noundef 0, i32 noundef %10) #4 %12 = load i8, ptr @GPCMD_READ_SUBCHANNEL, align 1, !tbaa !13 store i8 %12, ptr %9, align 1, !tbaa !13 %13 = getelementptr inbounds i8, ptr %9, i64 1 store i8 2, ptr %13, align 1, !tbaa !13 %14 = getelementptr inbounds i8, ptr %9, i64 2 store i8 64, ptr %14, align 1, !tbaa !13 %15 = getelementptr inbounds i8, ptr %9, i64 3 store i8 2, ptr %15, align 1, !tbaa !13 %16 = getelementptr inbounds i8, ptr %9, i64 8 store i8 24, ptr %16, align 1, !tbaa !13 %17 = call i32 @ide_cd_queue_pc(ptr noundef %5, ptr noundef nonnull %9, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0, i32 noundef 0) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load ptr, ptr %1, align 8, !tbaa !14 %21 = getelementptr inbounds i8, ptr %3, i64 9 %22 = call i32 @memcpy(ptr noundef %20, ptr noundef nonnull %21, i32 noundef 7) #4 %23 = load ptr, ptr %1, align 8, !tbaa !14 %24 = getelementptr inbounds i8, ptr %23, i64 7 store i8 0, ptr %24, align 1, !tbaa !13 br label %25 25: ; preds = %2, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.stackrestore.p0(ptr %8) call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ide_cd_queue_pc(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cdrom_device_info", !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 = !{!9, !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"cdrom_mcn", !8, i64 0}
fastsocket_kernel_drivers_ide_extr_ide-cd_ioctl.c_ide_cdrom_get_mcn
; ModuleID = 'AnghaBench/jerryscript/jerry-ext/arg/extr_arg-js-iterator-helper.c_jerryx_arg_js_iterator_index.c' source_filename = "AnghaBench/jerryscript/jerry-ext/arg/extr_arg-js-iterator-helper.c_jerryx_arg_js_iterator_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" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @jerryx_arg_js_iterator_index(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/jerryscript/jerry-ext/arg/extr_arg-js-iterator-helper.c_jerryx_arg_js_iterator_index.c' source_filename = "AnghaBench/jerryscript/jerry-ext/arg/extr_arg-js-iterator-helper.c_jerryx_arg_js_iterator_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @jerryx_arg_js_iterator_index(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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"}
jerryscript_jerry-ext_arg_extr_arg-js-iterator-helper.c_jerryx_arg_js_iterator_index
; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_con_command_states_init.c' source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_con_command_states_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32, ptr, i32 } @network_mysqld_com_query_result_free = dso_local local_unnamed_addr global i32 0, align 4 @network_mysqld_com_stmt_prepare_result_free = dso_local local_unnamed_addr global i32 0, align 4 @network_mysqld_com_init_db_result_free = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @network_mysqld_con_command_states_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i64 @network_mysqld_proto_skip_network_header(ptr noundef %1) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %34 6: ; preds = %2 %7 = call i64 @network_mysqld_proto_get_int8(ptr noundef %1, ptr noundef nonnull %3) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %34 9: ; preds = %6 %10 = load i32, ptr %3, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 2 store i32 %10, ptr %12, align 8, !tbaa !9 store i64 0, ptr %1, align 8, !tbaa !13 switch i32 %10, label %34 [ i32 131, label %13 i32 132, label %13 i32 129, label %13 i32 128, label %19 i32 133, label %25 i32 130, label %32 ] 13: ; preds = %9, %9, %9 %14 = call i32 (...) @network_mysqld_com_query_result_new() #3 store i32 %14, ptr %11, align 8, !tbaa !16 %15 = load i32, ptr @network_mysqld_com_query_result_free, align 4, !tbaa !5 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr %18 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 1 store ptr %17, ptr %18, align 8, !tbaa !17 br label %34 19: ; preds = %9 %20 = call i32 (...) @network_mysqld_com_stmt_prepare_result_new() #3 store i32 %20, ptr %11, align 8, !tbaa !16 %21 = load i32, ptr @network_mysqld_com_stmt_prepare_result_free, align 4, !tbaa !5 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 1 store ptr %23, ptr %24, align 8, !tbaa !17 br label %34 25: ; preds = %9 %26 = call i32 (...) @network_mysqld_com_init_db_result_new() #3 store i32 %26, ptr %11, align 8, !tbaa !16 %27 = load i32, ptr @network_mysqld_com_init_db_result_free, align 4, !tbaa !5 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 1 store ptr %29, ptr %30, align 8, !tbaa !17 %31 = call i32 @network_mysqld_com_init_db_result_track_state(ptr noundef nonnull %1, i32 noundef %26) #3 br label %34 32: ; preds = %9 %33 = load i32, ptr @TRUE, align 4, !tbaa !5 store i32 %33, ptr %0, align 8, !tbaa !18 br label %34 34: ; preds = %2, %13, %19, %25, %9, %32, %6 %35 = phi i32 [ -1, %6 ], [ 0, %32 ], [ 0, %9 ], [ 0, %25 ], [ 0, %19 ], [ 0, %13 ], [ -1, %2 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @network_mysqld_proto_skip_network_header(ptr noundef) local_unnamed_addr #2 declare i64 @network_mysqld_proto_get_int8(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @network_mysqld_com_query_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_stmt_prepare_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_init_db_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_init_db_result_track_state(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"TYPE_11__", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_9__", !6, i64 0, !12, i64 8, !6, i64 16} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!10, !6, i64 8} !17 = !{!10, !12, i64 16} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_con_command_states_init.c' source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_con_command_states_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @network_mysqld_com_query_result_free = common local_unnamed_addr global i32 0, align 4 @network_mysqld_com_stmt_prepare_result_free = common local_unnamed_addr global i32 0, align 4 @network_mysqld_com_init_db_result_free = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @network_mysqld_con_command_states_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i64 @network_mysqld_proto_skip_network_header(ptr noundef %1) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %34 6: ; preds = %2 %7 = call i64 @network_mysqld_proto_get_int8(ptr noundef %1, ptr noundef nonnull %3) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %34 9: ; preds = %6 %10 = load i32, ptr %3, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %10, ptr %12, align 8, !tbaa !10 store i64 0, ptr %1, align 8, !tbaa !14 switch i32 %10, label %34 [ i32 131, label %13 i32 132, label %13 i32 129, label %13 i32 128, label %19 i32 133, label %25 i32 130, label %32 ] 13: ; preds = %9, %9, %9 %14 = call i32 @network_mysqld_com_query_result_new() #3 store i32 %14, ptr %11, align 8, !tbaa !17 %15 = load i32, ptr @network_mysqld_com_query_result_free, align 4, !tbaa !6 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr %18 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %17, ptr %18, align 8, !tbaa !18 br label %34 19: ; preds = %9 %20 = call i32 @network_mysqld_com_stmt_prepare_result_new() #3 store i32 %20, ptr %11, align 8, !tbaa !17 %21 = load i32, ptr @network_mysqld_com_stmt_prepare_result_free, align 4, !tbaa !6 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %23, ptr %24, align 8, !tbaa !18 br label %34 25: ; preds = %9 %26 = call i32 @network_mysqld_com_init_db_result_new() #3 store i32 %26, ptr %11, align 8, !tbaa !17 %27 = load i32, ptr @network_mysqld_com_init_db_result_free, align 4, !tbaa !6 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %29, ptr %30, align 8, !tbaa !18 %31 = call i32 @network_mysqld_com_init_db_result_track_state(ptr noundef nonnull %1, i32 noundef %26) #3 br label %34 32: ; preds = %9 %33 = load i32, ptr @TRUE, align 4, !tbaa !6 store i32 %33, ptr %0, align 8, !tbaa !19 br label %34 34: ; preds = %2, %13, %19, %25, %9, %32, %6 %35 = phi i32 [ -1, %6 ], [ 0, %32 ], [ 0, %9 ], [ 0, %25 ], [ 0, %19 ], [ 0, %13 ], [ -1, %2 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @network_mysqld_proto_skip_network_header(ptr noundef) local_unnamed_addr #2 declare i64 @network_mysqld_proto_get_int8(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @network_mysqld_com_query_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_stmt_prepare_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_init_db_result_new(...) local_unnamed_addr #2 declare i32 @network_mysqld_com_init_db_result_track_state(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_11__", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_9__", !7, i64 0, !13, i64 8, !7, i64 16} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!11, !7, i64 8} !18 = !{!11, !13, i64 16} !19 = !{!11, !7, i64 0}
Atlas_src_extr_network-mysqld-packet.c_network_mysqld_con_command_states_init
; ModuleID = 'AnghaBench/linux/drivers/counter/extr_counter.c_counter_count_enum_available_read.c' source_filename = "AnghaBench/linux/drivers/counter/extr_counter.c_counter_count_enum_available_read.c" target datalayout = "e-m:e-p270:32:32-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.counter_count_enum_ext = type { i64, ptr } @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @counter_count_enum_available_read(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %21, label %7 7: ; preds = %4 %8 = getelementptr inbounds %struct.counter_count_enum_ext, ptr %2, i64 0, i32 1 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %17, %9 ] %11 = phi i64 [ 0, %7 ], [ %18, %9 ] %12 = getelementptr inbounds i8, ptr %3, i64 %10 %13 = load ptr, ptr %8, align 8, !tbaa !11 %14 = getelementptr inbounds ptr, ptr %13, i64 %11 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = tail call i64 @sprintf(ptr noundef %12, ptr noundef nonnull @.str, ptr noundef %15) #2 %17 = add i64 %16, %10 %18 = add nuw i64 %11, 1 %19 = load i64, ptr %2, align 8, !tbaa !5 %20 = icmp ult i64 %18, %19 br i1 %20, label %9, label %21, !llvm.loop !13 21: ; preds = %9, %4 %22 = phi i64 [ 0, %4 ], [ %17, %9 ] ret i64 %22 } declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"counter_count_enum_ext", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/counter/extr_counter.c_counter_count_enum_available_read.c' source_filename = "AnghaBench/linux/drivers/counter/extr_counter.c_counter_count_enum_available_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @counter_count_enum_available_read(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %21, label %7 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %2, i64 8 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %17, %9 ] %11 = phi i64 [ 0, %7 ], [ %18, %9 ] %12 = getelementptr inbounds i8, ptr %3, i64 %10 %13 = load ptr, ptr %8, align 8, !tbaa !12 %14 = getelementptr inbounds ptr, ptr %13, i64 %11 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = tail call i64 @sprintf(ptr noundef %12, ptr noundef nonnull @.str, ptr noundef %15) #2 %17 = add i64 %16, %10 %18 = add nuw i64 %11, 1 %19 = load i64, ptr %2, align 8, !tbaa !6 %20 = icmp ult i64 %18, %19 br i1 %20, label %9, label %21, !llvm.loop !14 21: ; preds = %9, %4 %22 = phi i64 [ 0, %4 ], [ %17, %9 ] ret i64 %22 } declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"counter_count_enum_ext", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_drivers_counter_extr_counter.c_counter_count_enum_available_read
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma.h_is_cqe_valid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma.h_is_cqe_valid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OCRDMA_CQE_VALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_cqe_valid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @is_cqe_valid(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call i32 @le32_to_cpu(i32 noundef %3) #2 %5 = load i32, ptr @OCRDMA_CQE_VALID, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = icmp eq i32 %6, %7 %9 = zext i1 %8 to i32 ret i32 %9 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ocrdma_cqe", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"ocrdma_cq", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma.h_is_cqe_valid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma.h_is_cqe_valid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OCRDMA_CQE_VALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_cqe_valid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_cqe_valid(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call i32 @le32_to_cpu(i32 noundef %3) #2 %5 = load i32, ptr @OCRDMA_CQE_VALID, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = load i32, ptr %0, align 4, !tbaa !12 %8 = icmp eq i32 %6, %7 %9 = zext i1 %8 to i32 ret i32 %9 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ocrdma_cqe", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ocrdma_cq", !8, i64 0}
fastsocket_kernel_drivers_infiniband_hw_ocrdma_extr_ocrdma.h_is_cqe_valid
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_get_dreg.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_get_dreg.c" target datalayout = "e-m:e-p270:32:32-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(read, inaccessiblemem: none) uwtable define dso_local i32 @q68_get_dreg(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"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/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_get_dreg.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68.c_q68_get_dreg.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(read, inaccessiblemem: none) uwtable(sync) define i32 @q68_get_dreg(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !11 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"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}
Provenance_Cores_Yabause_yabause_src_q68_extr_q68.c_q68_get_dreg
; ModuleID = 'AnghaBench/disque/src/extr_config.c_rewriteConfigOverwriteFile.c' source_filename = "AnghaBench/disque/src/extr_config.c_rewriteConfigOverwriteFile.c" target datalayout = "e-m:e-p270:32:32-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.stat = type { i32 } @O_RDWR = dso_local local_unnamed_addr global i32 0, align 4 @O_CREAT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rewriteConfigOverwriteFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.stat, align 4 %4 = load i32, ptr @O_RDWR, align 4, !tbaa !5 %5 = load i32, ptr @O_CREAT, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = tail call i32 @open(ptr noundef %0, i32 noundef %6, i32 noundef 420) #4 %8 = tail call i32 @sdslen(ptr noundef %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %9 = icmp eq i32 %7, -1 br i1 %9, label %40, label %10 10: ; preds = %2 %11 = call i32 @fstat(i32 noundef %7, ptr noundef nonnull %3) %12 = icmp eq i32 %11, -1 br i1 %12, label %37, label %13 13: ; preds = %10 %14 = tail call ptr @sdsdup(ptr noundef %1) #4 %15 = load i32, ptr %3, align 4, !tbaa !9 %16 = icmp sge i32 %8, %15 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = tail call ptr @sdsgrowzero(ptr noundef %14, i32 noundef %15) #4 %19 = sext i32 %8 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store i8 10, ptr %20, align 1, !tbaa !11 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = xor i32 %8, -1 %23 = add i32 %15, %22 %24 = tail call i32 @memset(ptr noundef nonnull %21, i8 noundef signext 35, i32 noundef %23) #4 br label %25 25: ; preds = %17, %13 %26 = phi ptr [ %18, %17 ], [ %14, %13 ] %27 = tail call i32 @strlen(ptr noundef %26) #4 %28 = tail call i32 @write(i32 noundef %7, ptr noundef %26, i32 noundef %27) #4 %29 = icmp eq i32 %28, -1 %30 = or i1 %16, %29 %31 = sext i1 %29 to i32 br i1 %30, label %34, label %32 32: ; preds = %25 %33 = tail call i32 @ftruncate(i32 noundef %7, i32 noundef %8) #4 br label %34 34: ; preds = %25, %32 %35 = phi i32 [ 0, %32 ], [ %31, %25 ] %36 = tail call i32 @sdsfree(ptr noundef %26) #4 br label %37 37: ; preds = %10, %34 %38 = phi i32 [ %35, %34 ], [ -1, %10 ] %39 = tail call i32 @close(i32 noundef %7) #4 br label %40 40: ; preds = %37, %2 %41 = phi i32 [ -1, %2 ], [ %38, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sdslen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @close(i32 noundef) local_unnamed_addr #2 declare ptr @sdsdup(ptr noundef) local_unnamed_addr #2 declare ptr @sdsgrowzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @ftruncate(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sdsfree(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 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"stat", !6, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/disque/src/extr_config.c_rewriteConfigOverwriteFile.c' source_filename = "AnghaBench/disque/src/extr_config.c_rewriteConfigOverwriteFile.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i32 } @O_RDWR = common local_unnamed_addr global i32 0, align 4 @O_CREAT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @rewriteConfigOverwriteFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.stat, align 4 %4 = load i32, ptr @O_RDWR, align 4, !tbaa !6 %5 = load i32, ptr @O_CREAT, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = tail call i32 @open(ptr noundef %0, i32 noundef %6, i32 noundef 420) #4 %8 = tail call i32 @sdslen(ptr noundef %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %9 = icmp eq i32 %7, -1 br i1 %9, label %40, label %10 10: ; preds = %2 %11 = call i32 @fstat(i32 noundef %7, ptr noundef nonnull %3) %12 = icmp eq i32 %11, -1 br i1 %12, label %37, label %13 13: ; preds = %10 %14 = tail call ptr @sdsdup(ptr noundef %1) #4 %15 = load i32, ptr %3, align 4, !tbaa !10 %16 = icmp sge i32 %8, %15 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = tail call ptr @sdsgrowzero(ptr noundef %14, i32 noundef %15) #4 %19 = sext i32 %8 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store i8 10, ptr %20, align 1, !tbaa !12 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = xor i32 %8, -1 %23 = add i32 %15, %22 %24 = tail call i32 @memset(ptr noundef nonnull %21, i8 noundef signext 35, i32 noundef %23) #4 br label %25 25: ; preds = %17, %13 %26 = phi ptr [ %18, %17 ], [ %14, %13 ] %27 = tail call i32 @strlen(ptr noundef %26) #4 %28 = tail call i32 @write(i32 noundef %7, ptr noundef %26, i32 noundef %27) #4 %29 = icmp eq i32 %28, -1 %30 = or i1 %16, %29 %31 = sext i1 %29 to i32 br i1 %30, label %34, label %32 32: ; preds = %25 %33 = tail call i32 @ftruncate(i32 noundef %7, i32 noundef %8) #4 br label %34 34: ; preds = %25, %32 %35 = phi i32 [ 0, %32 ], [ %31, %25 ] %36 = tail call i32 @sdsfree(ptr noundef %26) #4 br label %37 37: ; preds = %10, %34 %38 = phi i32 [ %35, %34 ], [ -1, %10 ] %39 = tail call i32 @close(i32 noundef %7) #4 br label %40 40: ; preds = %37, %2 %41 = phi i32 [ -1, %2 ], [ %38, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sdslen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @close(i32 noundef) local_unnamed_addr #2 declare ptr @sdsdup(ptr noundef) local_unnamed_addr #2 declare ptr @sdsgrowzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @ftruncate(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sdsfree(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 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"stat", !7, i64 0} !12 = !{!8, !8, i64 0}
disque_src_extr_config.c_rewriteConfigOverwriteFile
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_ip6_dst_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_ip6_dst_alloc.c" target datalayout = "e-m:e-p270:32:32-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 @ip6_dst_alloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @ip6_dst_alloc(ptr noundef %0) #0 { %2 = tail call i64 @dst_alloc(ptr noundef %0) #2 %3 = inttoptr i64 %2 to ptr ret ptr %3 } declare i64 @dst_alloc(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_ip6_dst_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_ip6_dst_alloc.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 @ip6_dst_alloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @ip6_dst_alloc(ptr noundef %0) #0 { %2 = tail call i64 @dst_alloc(ptr noundef %0) #2 %3 = inttoptr i64 %2 to ptr ret ptr %3 } declare i64 @dst_alloc(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_net_ipv6_extr_route.c_ip6_dst_alloc
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_machine.c_host_get_boot_info.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_machine.c_host_get_boot_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HOST_PRIV_NULL = dso_local local_unnamed_addr global ptr null, align 8 @KERN_INVALID_HOST = dso_local local_unnamed_addr global i32 0, align 4 @realhost = dso_local global i32 0, align 4 @KERNEL_BOOT_INFO_MAX = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @host_get_boot_info(ptr noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @HOST_PRIV_NULL, align 8, !tbaa !5 %4 = icmp eq ptr %3, %0 br i1 %4, label %15, label %5 5: ; preds = %2 %6 = icmp eq ptr %0, @realhost %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 %9 = load i32, ptr @KERNEL_BOOT_INFO_MAX, align 4, !tbaa !9 %10 = tail call ptr @machine_boot_info(ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq ptr %10, %1 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @KERNEL_BOOT_INFO_MAX, align 4, !tbaa !9 %14 = tail call i32 @strncpy(ptr noundef %1, ptr noundef %10, i32 noundef %13) #2 br label %15 15: ; preds = %5, %12, %2 %16 = phi ptr [ @KERN_INVALID_HOST, %2 ], [ @KERN_SUCCESS, %12 ], [ @KERN_SUCCESS, %5 ] %17 = load i32, ptr %16, align 4, !tbaa !9 ret i32 %17 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @machine_boot_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(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 = !{!"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/darwin-xnu/osfmk/kern/extr_machine.c_host_get_boot_info.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_machine.c_host_get_boot_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HOST_PRIV_NULL = common local_unnamed_addr global ptr null, align 8 @KERN_INVALID_HOST = common local_unnamed_addr global i32 0, align 4 @realhost = common global i32 0, align 4 @KERNEL_BOOT_INFO_MAX = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @host_get_boot_info(ptr noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @HOST_PRIV_NULL, align 8, !tbaa !6 %4 = icmp eq ptr %3, %0 br i1 %4, label %15, label %5 5: ; preds = %2 %6 = icmp eq ptr %0, @realhost %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 %9 = load i32, ptr @KERNEL_BOOT_INFO_MAX, align 4, !tbaa !10 %10 = tail call ptr @machine_boot_info(ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq ptr %10, %1 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @KERNEL_BOOT_INFO_MAX, align 4, !tbaa !10 %14 = tail call i32 @strncpy(ptr noundef %1, ptr noundef %10, i32 noundef %13) #2 br label %15 15: ; preds = %5, %12, %2 %16 = phi ptr [ @KERN_INVALID_HOST, %2 ], [ @KERN_SUCCESS, %12 ], [ @KERN_SUCCESS, %5 ] %17 = load i32, ptr %16, align 4, !tbaa !10 ret i32 %17 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @machine_boot_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(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 = !{!"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}
darwin-xnu_osfmk_kern_extr_machine.c_host_get_boot_info
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_sccp.c_ct_eval_fetch_obj.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_sccp.c_ct_eval_fetch_obj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ct_eval_fetch_obj], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @ct_eval_fetch_obj(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call i64 @IS_PARTIAL_OBJECT(ptr noundef %1) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %23, label %7 7: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = call i64 @fetch_obj_prop(ptr noundef nonnull %4, ptr noundef %1, ptr noundef %2) #3 %9 = load i64, ptr @SUCCESS, align 8, !tbaa !5 %10 = icmp eq i64 %8, %9 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null %13 = select i1 %10, i1 %12, i1 false br i1 %13, label %14, label %17 14: ; preds = %7 %15 = call i32 @IS_BOT(ptr noundef nonnull %11) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14, %7 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %23 18: ; preds = %14 %19 = load ptr, ptr %4, align 8, !tbaa !9 %20 = call i32 @ZVAL_COPY(ptr noundef %0, ptr noundef %19) #3 %21 = load i64, ptr @SUCCESS, align 8, !tbaa !5 %22 = trunc i64 %21 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %25 23: ; preds = %17, %3 %24 = load i32, ptr @FAILURE, align 4, !tbaa !11 br label %25 25: ; preds = %18, %23 %26 = phi i32 [ %22, %18 ], [ %24, %23 ] ret i32 %26 } declare i64 @IS_PARTIAL_OBJECT(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i64 @fetch_obj_prop(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_BOT(ptr noundef) local_unnamed_addr #1 declare i32 @ZVAL_COPY(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_sccp.c_ct_eval_fetch_obj.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_sccp.c_ct_eval_fetch_obj.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SUCCESS = common local_unnamed_addr global i64 0, align 8 @FAILURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ct_eval_fetch_obj], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @ct_eval_fetch_obj(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call i64 @IS_PARTIAL_OBJECT(ptr noundef %1) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %23, label %7 7: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = call i64 @fetch_obj_prop(ptr noundef nonnull %4, ptr noundef %1, ptr noundef %2) #3 %9 = load i64, ptr @SUCCESS, align 8, !tbaa !6 %10 = icmp eq i64 %8, %9 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null %13 = select i1 %10, i1 %12, i1 false br i1 %13, label %14, label %17 14: ; preds = %7 %15 = call i32 @IS_BOT(ptr noundef nonnull %11) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14, %7 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %23 18: ; preds = %14 %19 = load ptr, ptr %4, align 8, !tbaa !10 %20 = call i32 @ZVAL_COPY(ptr noundef %0, ptr noundef %19) #3 %21 = load i64, ptr @SUCCESS, align 8, !tbaa !6 %22 = trunc i64 %21 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %25 23: ; preds = %17, %3 %24 = load i32, ptr @FAILURE, align 4, !tbaa !12 br label %25 25: ; preds = %18, %23 %26 = phi i32 [ %22, %18 ], [ %24, %23 ] ret i32 %26 } declare i64 @IS_PARTIAL_OBJECT(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i64 @fetch_obj_prop(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_BOT(ptr noundef) local_unnamed_addr #1 declare i32 @ZVAL_COPY(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
php-src_ext_opcache_Optimizer_extr_sccp.c_ct_eval_fetch_obj
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_tmpfs.c_tmpfs_fstest_delfs.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_tmpfs.c_tmpfs_fstest_delfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tmpfs_fstest_delfs(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @free(ptr noundef %1) #2 ret i32 0 } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_tmpfs.c_tmpfs_fstest_delfs.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_tmpfs.c_tmpfs_fstest_delfs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @tmpfs_fstest_delfs(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @free(ptr noundef %1) #2 ret i32 0 } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_netbsd-tests_fs_common_extr_fstest_tmpfs.c_tmpfs_fstest_delfs
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_vnops.c_vn_vget_ino_gen.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_vnops.c_vn_vget_ino_gen.c" target datalayout = "e-m:e-p270:32:32-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.vnode = type { i32, ptr } @.str = private unnamed_addr constant [16 x i8] c"vn_vget_ino_get\00", align 1 @LK_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4 @LK_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"vn_vget_ino: vp not locked\00", align 1 @MBF_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @LK_RETRY = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @VI_DOOMED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @vn_vget_ino_gen(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %0, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds %struct.vnode, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = tail call i32 @VOP_ISLOCKED(ptr noundef %0) #2 %10 = load i32, ptr @LK_EXCLUSIVE, align 4, !tbaa !11 %11 = icmp eq i32 %9, %10 %12 = load i32, ptr @LK_SHARED, align 4 %13 = icmp eq i32 %9, %12 %14 = select i1 %11, i1 true, i1 %13 %15 = zext i1 %14 to i32 %16 = tail call i32 @KASSERT(i32 noundef %15, ptr noundef nonnull @.str.1) #2 %17 = load i32, ptr @MBF_NOWAIT, align 4, !tbaa !11 %18 = tail call i32 @vfs_busy(ptr noundef %8, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %39, label %20 20: ; preds = %5 %21 = tail call i32 @vfs_ref(ptr noundef %8) #2 %22 = tail call i32 @VOP_UNLOCK(ptr noundef nonnull %0, i32 noundef 0) #2 %23 = tail call i32 @vfs_busy(ptr noundef %8, i32 noundef 0) #2 %24 = load i32, ptr @LK_RETRY, align 4, !tbaa !11 %25 = or i32 %24, %9 %26 = tail call i32 @vn_lock(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = tail call i32 @vfs_rel(ptr noundef %8) #2 %28 = icmp eq i32 %23, 0 br i1 %28, label %31, label %29 29: ; preds = %20 %30 = load i32, ptr @ENOENT, align 4, !tbaa !11 br label %70 31: ; preds = %20 %32 = load i32, ptr %0, align 8, !tbaa !12 %33 = load i32, ptr @VI_DOOMED, align 4, !tbaa !11 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %31 %37 = tail call i32 @vfs_unbusy(ptr noundef %8) #2 %38 = load i32, ptr @ENOENT, align 4, !tbaa !11 br label %70 39: ; preds = %31, %5 %40 = tail call i32 @VOP_UNLOCK(ptr noundef nonnull %0, i32 noundef 0) #2 %41 = tail call i32 %1(ptr noundef %8, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2 %42 = tail call i32 @vfs_unbusy(ptr noundef %8) #2 %43 = icmp eq i32 %41, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr %4, align 8, !tbaa !13 %46 = icmp eq ptr %45, %0 br i1 %46, label %55, label %47 47: ; preds = %39, %44 %48 = load i32, ptr @LK_RETRY, align 4, !tbaa !11 %49 = or i32 %48, %9 %50 = tail call i32 @vn_lock(ptr noundef nonnull %0, i32 noundef %49) #2 %51 = load i32, ptr %0, align 8, !tbaa !12 %52 = load i32, ptr @VI_DOOMED, align 4, !tbaa !11 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %70, label %60 55: ; preds = %44 %56 = load i32, ptr %0, align 8, !tbaa !12 %57 = load i32, ptr @VI_DOOMED, align 4, !tbaa !11 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %70, label %64 60: ; preds = %47 br i1 %43, label %61, label %68 61: ; preds = %60 %62 = load ptr, ptr %4, align 8, !tbaa !13 %63 = icmp eq ptr %62, %0 br i1 %63, label %64, label %66 64: ; preds = %55, %61 %65 = tail call i32 @vunref(ptr noundef nonnull %0) #2 br label %68 66: ; preds = %61 %67 = tail call i32 @vput(ptr noundef %62) #2 br label %68 68: ; preds = %64, %66, %60 %69 = load i32, ptr @ENOENT, align 4, !tbaa !11 br label %70 70: ; preds = %55, %47, %68, %36, %29 %71 = phi i32 [ %30, %29 ], [ %38, %36 ], [ %69, %68 ], [ %41, %47 ], [ 0, %55 ] ret i32 %71 } declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VOP_ISLOCKED(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vfs_busy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfs_ref(ptr noundef) local_unnamed_addr #1 declare i32 @VOP_UNLOCK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vn_lock(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfs_rel(ptr noundef) local_unnamed_addr #1 declare i32 @vfs_unbusy(ptr noundef) local_unnamed_addr #1 declare i32 @vunref(ptr noundef) local_unnamed_addr #1 declare i32 @vput(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 = !{!"vnode", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_vnops.c_vn_vget_ino_gen.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_vnops.c_vn_vget_ino_gen.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [16 x i8] c"vn_vget_ino_get\00", align 1 @LK_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4 @LK_SHARED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"vn_vget_ino: vp not locked\00", align 1 @MBF_NOWAIT = common local_unnamed_addr global i32 0, align 4 @LK_RETRY = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @VI_DOOMED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vn_vget_ino_gen(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %0, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = tail call i32 @VOP_ISLOCKED(ptr noundef %0) #2 %10 = load i32, ptr @LK_EXCLUSIVE, align 4, !tbaa !12 %11 = icmp eq i32 %9, %10 %12 = load i32, ptr @LK_SHARED, align 4 %13 = icmp eq i32 %9, %12 %14 = select i1 %11, i1 true, i1 %13 %15 = zext i1 %14 to i32 %16 = tail call i32 @KASSERT(i32 noundef %15, ptr noundef nonnull @.str.1) #2 %17 = load i32, ptr @MBF_NOWAIT, align 4, !tbaa !12 %18 = tail call i32 @vfs_busy(ptr noundef %8, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %39, label %20 20: ; preds = %5 %21 = tail call i32 @vfs_ref(ptr noundef %8) #2 %22 = tail call i32 @VOP_UNLOCK(ptr noundef nonnull %0, i32 noundef 0) #2 %23 = tail call i32 @vfs_busy(ptr noundef %8, i32 noundef 0) #2 %24 = load i32, ptr @LK_RETRY, align 4, !tbaa !12 %25 = or i32 %24, %9 %26 = tail call i32 @vn_lock(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = tail call i32 @vfs_rel(ptr noundef %8) #2 %28 = icmp eq i32 %23, 0 br i1 %28, label %31, label %29 29: ; preds = %20 %30 = load i32, ptr @ENOENT, align 4, !tbaa !12 br label %72 31: ; preds = %20 %32 = load i32, ptr %0, align 8, !tbaa !13 %33 = load i32, ptr @VI_DOOMED, align 4, !tbaa !12 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %31 %37 = tail call i32 @vfs_unbusy(ptr noundef %8) #2 %38 = load i32, ptr @ENOENT, align 4, !tbaa !12 br label %72 39: ; preds = %31, %5 %40 = tail call i32 @VOP_UNLOCK(ptr noundef nonnull %0, i32 noundef 0) #2 %41 = tail call i32 %1(ptr noundef %8, ptr noundef %2, i32 noundef %3, ptr noundef %4) #2 %42 = tail call i32 @vfs_unbusy(ptr noundef %8) #2 %43 = icmp eq i32 %41, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load ptr, ptr %4, align 8, !tbaa !14 %46 = icmp eq ptr %45, %0 br i1 %46, label %55, label %47 47: ; preds = %39, %44 %48 = load i32, ptr @LK_RETRY, align 4, !tbaa !12 %49 = or i32 %48, %9 %50 = tail call i32 @vn_lock(ptr noundef nonnull %0, i32 noundef %49) #2 %51 = load i32, ptr %0, align 8, !tbaa !13 %52 = load i32, ptr @VI_DOOMED, align 4, !tbaa !12 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %72, label %60 55: ; preds = %44 %56 = load i32, ptr %0, align 8, !tbaa !13 %57 = load i32, ptr @VI_DOOMED, align 4, !tbaa !12 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %72, label %63 60: ; preds = %47 br i1 %43, label %61, label %70 61: ; preds = %60 %62 = load ptr, ptr %4, align 8, !tbaa !14 br label %63 63: ; preds = %61, %55 %64 = phi ptr [ %62, %61 ], [ %45, %55 ] %65 = icmp eq ptr %64, %0 br i1 %65, label %66, label %68 66: ; preds = %63 %67 = tail call i32 @vunref(ptr noundef nonnull %0) #2 br label %70 68: ; preds = %63 %69 = tail call i32 @vput(ptr noundef %64) #2 br label %70 70: ; preds = %66, %68, %60 %71 = load i32, ptr @ENOENT, align 4, !tbaa !12 br label %72 72: ; preds = %55, %47, %70, %36, %29 %73 = phi i32 [ %30, %29 ], [ %38, %36 ], [ %71, %70 ], [ %41, %47 ], [ 0, %55 ] ret i32 %73 } declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VOP_ISLOCKED(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vfs_busy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfs_ref(ptr noundef) local_unnamed_addr #1 declare i32 @VOP_UNLOCK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vn_lock(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfs_rel(ptr noundef) local_unnamed_addr #1 declare i32 @vfs_unbusy(ptr noundef) local_unnamed_addr #1 declare i32 @vunref(ptr noundef) local_unnamed_addr #1 declare i32 @vput(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 = !{!"vnode", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!11, !11, i64 0}
freebsd_sys_kern_extr_vfs_vnops.c_vn_vget_ino_gen
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_cmsg.c_nfp_flower_cmsg_portreify_rx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_cmsg.c_nfp_flower_cmsg_portreify_rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nfp_flower_priv = type { i32, i32 } @.str = private unnamed_addr constant [34 x i8] c"ctrl msg for unknown port 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nfp_flower_cmsg_portreify_rx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nfp_flower_cmsg_portreify_rx(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call ptr @nfp_flower_cmsg_get_data(ptr noundef %1) #2 %5 = tail call i32 (...) @rcu_read_lock() #2 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = tail call i32 @be32_to_cpu(i32 noundef %6) #2 %8 = tail call i32 @nfp_app_dev_get(ptr noundef nonnull %0, i32 noundef %7, ptr noundef null) #2 %9 = icmp eq i32 %8, 0 %10 = tail call i32 (...) @rcu_read_unlock() #2 br i1 %9, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !10 %13 = tail call i32 @be32_to_cpu(i32 noundef %12) #2 %14 = tail call i32 @nfp_flower_cmsg_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %13) #2 br label %19 15: ; preds = %2 %16 = getelementptr inbounds %struct.nfp_flower_priv, ptr %3, i64 0, i32 1 %17 = tail call i32 @atomic_inc(ptr noundef nonnull %16) #2 %18 = tail call i32 @wake_up(ptr noundef %3) #2 br label %19 19: ; preds = %15, %11 ret void } declare ptr @nfp_flower_cmsg_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare i32 @nfp_app_dev_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @nfp_flower_cmsg_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(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 = !{!"nfp_app", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"nfp_flower_cmsg_portreify", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_cmsg.c_nfp_flower_cmsg_portreify_rx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/flower/extr_cmsg.c_nfp_flower_cmsg_portreify_rx.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 [34 x i8] c"ctrl msg for unknown port 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nfp_flower_cmsg_portreify_rx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nfp_flower_cmsg_portreify_rx(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call ptr @nfp_flower_cmsg_get_data(ptr noundef %1) #2 %5 = tail call i32 @rcu_read_lock() #2 %6 = load i32, ptr %4, align 4, !tbaa !11 %7 = tail call i32 @be32_to_cpu(i32 noundef %6) #2 %8 = tail call i32 @nfp_app_dev_get(ptr noundef nonnull %0, i32 noundef %7, ptr noundef null) #2 %9 = icmp eq i32 %8, 0 %10 = tail call i32 @rcu_read_unlock() #2 br i1 %9, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !11 %13 = tail call i32 @be32_to_cpu(i32 noundef %12) #2 %14 = tail call i32 @nfp_flower_cmsg_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %13) #2 br label %19 15: ; preds = %2 %16 = getelementptr inbounds i8, ptr %3, i64 4 %17 = tail call i32 @atomic_inc(ptr noundef nonnull %16) #2 %18 = tail call i32 @wake_up(ptr noundef %3) #2 br label %19 19: ; preds = %15, %11 ret void } declare ptr @nfp_flower_cmsg_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare i32 @nfp_app_dev_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @nfp_flower_cmsg_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(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 = !{!"nfp_app", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"nfp_flower_cmsg_portreify", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_netronome_nfp_flower_extr_cmsg.c_nfp_flower_cmsg_portreify_rx
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_shrink.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_shrink.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32, i32 } @UMA_ZFLAG_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cache_shrink], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cache_shrink(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @UMA_ZFLAG_INTERNAL, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = tail call i32 @ZONE_LOCK(ptr noundef nonnull %0) #2 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = add nsw i32 %11, %9 %13 = sdiv i32 %12, 2 store i32 %13, ptr %10, align 4, !tbaa !12 %14 = tail call i32 @ZONE_UNLOCK(ptr noundef nonnull %0) #2 br label %15 15: ; preds = %1, %6 ret void } declare i32 @ZONE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ZONE_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_shrink.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_shrink.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UMA_ZFLAG_INTERNAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cache_shrink], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cache_shrink(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @UMA_ZFLAG_INTERNAL, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = tail call i32 @ZONE_LOCK(ptr noundef nonnull %0) #2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = add nsw i32 %11, %9 %13 = sdiv i32 %12, 2 store i32 %13, ptr %10, align 4, !tbaa !13 %14 = tail call i32 @ZONE_UNLOCK(ptr noundef nonnull %0) #2 br label %15 15: ; preds = %1, %6 ret void } declare i32 @ZONE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ZONE_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 4}
freebsd_sys_vm_extr_uma_core.c_cache_shrink
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v05.c_HUFv05_decompress4X2_usingDTable.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v05.c_HUFv05_decompress4X2_usingDTable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @corruption_detected = dso_local local_unnamed_addr global i32 0, align 4 @BITv05_DStream_unfinished = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @HUFv05_decompress4X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = icmp ult i64 %3, 10 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @corruption_detected, align 4, !tbaa !5 %13 = tail call i64 @ERROR(i32 noundef %12) #3 br label %118 14: ; preds = %5 %15 = getelementptr inbounds i32, ptr %0, i64 %1 %16 = getelementptr inbounds i32, ptr %4, i64 1 %17 = load i32, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3 %18 = tail call i64 @MEM_readLE16(ptr noundef %2) #3 %19 = getelementptr inbounds i32, ptr %2, i64 2 %20 = tail call i64 @MEM_readLE16(ptr noundef nonnull %19) #3 %21 = getelementptr inbounds i32, ptr %2, i64 4 %22 = tail call i64 @MEM_readLE16(ptr noundef nonnull %21) #3 %23 = getelementptr inbounds i32, ptr %2, i64 6 %24 = getelementptr inbounds i32, ptr %23, i64 %18 %25 = getelementptr inbounds i32, ptr %24, i64 %20 %26 = getelementptr inbounds i32, ptr %25, i64 %22 %27 = add i64 %1, 3 %28 = lshr i64 %27, 2 %29 = getelementptr inbounds i32, ptr %0, i64 %28 %30 = getelementptr inbounds i32, ptr %29, i64 %28 %31 = getelementptr inbounds i32, ptr %30, i64 %28 %32 = add i64 %18, 6 %33 = add i64 %32, %20 %34 = add i64 %33, %22 %35 = sub i64 %3, %34 %36 = icmp ugt i64 %34, %3 br i1 %36, label %37, label %40 37: ; preds = %14 %38 = load i32, ptr @corruption_detected, align 4, !tbaa !5 %39 = tail call i64 @ERROR(i32 noundef %38) #3 br label %116 40: ; preds = %14 %41 = call i64 @BITv05_initDStream(ptr noundef nonnull %6, ptr noundef nonnull %23, i64 noundef %18) #3 %42 = call i64 @HUFv05_isError(i64 noundef %41) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %116 44: ; preds = %40 %45 = call i64 @BITv05_initDStream(ptr noundef nonnull %7, ptr noundef nonnull %24, i64 noundef %20) #3 %46 = call i64 @HUFv05_isError(i64 noundef %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %116 48: ; preds = %44 %49 = call i64 @BITv05_initDStream(ptr noundef nonnull %8, ptr noundef nonnull %25, i64 noundef %22) #3 %50 = call i64 @HUFv05_isError(i64 noundef %49) #3 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %116 52: ; preds = %48 %53 = call i64 @BITv05_initDStream(ptr noundef nonnull %9, ptr noundef nonnull %26, i64 noundef %35) #3 %54 = call i64 @HUFv05_isError(i64 noundef %53) #3 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %116 56: ; preds = %52 %57 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %6) #3 %58 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %7) #3 %59 = or i32 %58, %57 %60 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %8) #3 %61 = or i32 %59, %60 %62 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %9) #3 %63 = or i32 %61, %62 %64 = getelementptr inbounds i32, ptr %15, i64 -7 %65 = icmp ult ptr %31, %64 %66 = load i32, ptr @BITv05_DStream_unfinished, align 4, !tbaa !5 %67 = icmp eq i32 %63, %66 %68 = select i1 %67, i1 %65, i1 false br i1 %68, label %69, label %95 69: ; preds = %56, %69 %70 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %0, ptr noundef nonnull %6) #3 %71 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %29, ptr noundef nonnull %7) #3 %72 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %30, ptr noundef nonnull %8) #3 %73 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %31, ptr noundef nonnull %9) #3 %74 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %0, ptr noundef nonnull %6) #3 %75 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %29, ptr noundef nonnull %7) #3 %76 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %30, ptr noundef nonnull %8) #3 %77 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %31, ptr noundef nonnull %9) #3 %78 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %0, ptr noundef nonnull %6) #3 %79 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %29, ptr noundef nonnull %7) #3 %80 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %30, ptr noundef nonnull %8) #3 %81 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %31, ptr noundef nonnull %9) #3 %82 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %0, ptr noundef nonnull %6) #3 %83 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %29, ptr noundef nonnull %7) #3 %84 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %30, ptr noundef nonnull %8) #3 %85 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %31, ptr noundef nonnull %9) #3 %86 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %6) #3 %87 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %7) #3 %88 = or i32 %87, %86 %89 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %8) #3 %90 = or i32 %88, %89 %91 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %9) #3 %92 = or i32 %90, %91 %93 = load i32, ptr @BITv05_DStream_unfinished, align 4, !tbaa !5 %94 = icmp eq i32 %92, %93 br i1 %94, label %69, label %95, !llvm.loop !9 95: ; preds = %69, %56 %96 = icmp slt i64 %27, 0 br i1 %96, label %97, label %100 97: ; preds = %95 %98 = load i32, ptr @corruption_detected, align 4, !tbaa !5 %99 = call i64 @ERROR(i32 noundef %98) #3 br label %116 100: ; preds = %95 %101 = call i32 @HUFv05_decodeStreamX2(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %29, ptr noundef nonnull %16, i32 noundef %17) #3 %102 = call i32 @HUFv05_decodeStreamX2(ptr noundef %29, ptr noundef nonnull %7, ptr noundef %30, ptr noundef nonnull %16, i32 noundef %17) #3 %103 = call i32 @HUFv05_decodeStreamX2(ptr noundef %30, ptr noundef nonnull %8, ptr noundef %31, ptr noundef nonnull %16, i32 noundef %17) #3 %104 = call i32 @HUFv05_decodeStreamX2(ptr noundef %31, ptr noundef nonnull %9, ptr noundef %15, ptr noundef nonnull %16, i32 noundef %17) #3 %105 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %6) #3 %106 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %7) #3 %107 = and i32 %106, %105 %108 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %8) #3 %109 = and i32 %107, %108 %110 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %9) #3 %111 = and i32 %109, %110 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %116 113: ; preds = %100 %114 = load i32, ptr @corruption_detected, align 4, !tbaa !5 %115 = call i64 @ERROR(i32 noundef %114) #3 br label %116 116: ; preds = %100, %52, %48, %44, %40, %113, %97, %37 %117 = phi i64 [ %39, %37 ], [ %99, %97 ], [ %115, %113 ], [ %41, %40 ], [ %45, %44 ], [ %49, %48 ], [ %53, %52 ], [ %1, %100 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %118 118: ; preds = %116, %11 %119 = phi i64 [ %13, %11 ], [ %117, %116 ] ret i64 %119 } declare i64 @ERROR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i64 @MEM_readLE16(ptr noundef) local_unnamed_addr #1 declare i64 @BITv05_initDStream(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @HUFv05_isError(i64 noundef) local_unnamed_addr #1 declare i32 @BITv05_reloadDStream(ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_decodeStreamX2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BITv05_endOfDStream(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v05.c_HUFv05_decompress4X2_usingDTable.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v05.c_HUFv05_decompress4X2_usingDTable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @corruption_detected = common local_unnamed_addr global i32 0, align 4 @BITv05_DStream_unfinished = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @HUFv05_decompress4X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = icmp ult i64 %3, 10 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @corruption_detected, align 4, !tbaa !6 %13 = tail call i64 @ERROR(i32 noundef %12) #3 br label %118 14: ; preds = %5 %15 = getelementptr inbounds i32, ptr %0, i64 %1 %16 = getelementptr inbounds i8, ptr %4, i64 4 %17 = load i32, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3 %18 = tail call i64 @MEM_readLE16(ptr noundef %2) #3 %19 = getelementptr inbounds i8, ptr %2, i64 8 %20 = tail call i64 @MEM_readLE16(ptr noundef nonnull %19) #3 %21 = getelementptr inbounds i8, ptr %2, i64 16 %22 = tail call i64 @MEM_readLE16(ptr noundef nonnull %21) #3 %23 = getelementptr inbounds i8, ptr %2, i64 24 %24 = getelementptr inbounds i32, ptr %23, i64 %18 %25 = getelementptr inbounds i32, ptr %24, i64 %20 %26 = getelementptr inbounds i32, ptr %25, i64 %22 %27 = add i64 %1, 3 %28 = lshr i64 %27, 2 %29 = getelementptr inbounds i32, ptr %0, i64 %28 %30 = getelementptr inbounds i32, ptr %29, i64 %28 %31 = getelementptr inbounds i32, ptr %30, i64 %28 %32 = add i64 %18, 6 %33 = add i64 %32, %20 %34 = add i64 %33, %22 %35 = sub i64 %3, %34 %36 = icmp ugt i64 %34, %3 br i1 %36, label %37, label %40 37: ; preds = %14 %38 = load i32, ptr @corruption_detected, align 4, !tbaa !6 %39 = tail call i64 @ERROR(i32 noundef %38) #3 br label %116 40: ; preds = %14 %41 = call i64 @BITv05_initDStream(ptr noundef nonnull %6, ptr noundef nonnull %23, i64 noundef %18) #3 %42 = call i64 @HUFv05_isError(i64 noundef %41) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %116 44: ; preds = %40 %45 = call i64 @BITv05_initDStream(ptr noundef nonnull %7, ptr noundef nonnull %24, i64 noundef %20) #3 %46 = call i64 @HUFv05_isError(i64 noundef %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %116 48: ; preds = %44 %49 = call i64 @BITv05_initDStream(ptr noundef nonnull %8, ptr noundef nonnull %25, i64 noundef %22) #3 %50 = call i64 @HUFv05_isError(i64 noundef %49) #3 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %116 52: ; preds = %48 %53 = call i64 @BITv05_initDStream(ptr noundef nonnull %9, ptr noundef nonnull %26, i64 noundef %35) #3 %54 = call i64 @HUFv05_isError(i64 noundef %53) #3 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %116 56: ; preds = %52 %57 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %6) #3 %58 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %7) #3 %59 = or i32 %58, %57 %60 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %8) #3 %61 = or i32 %59, %60 %62 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %9) #3 %63 = or i32 %61, %62 %64 = getelementptr inbounds i8, ptr %15, i64 -28 %65 = icmp ult ptr %31, %64 %66 = load i32, ptr @BITv05_DStream_unfinished, align 4, !tbaa !6 %67 = icmp eq i32 %63, %66 %68 = select i1 %67, i1 %65, i1 false br i1 %68, label %69, label %95 69: ; preds = %56, %69 %70 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %0, ptr noundef nonnull %6) #3 %71 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %29, ptr noundef nonnull %7) #3 %72 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %30, ptr noundef nonnull %8) #3 %73 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %31, ptr noundef nonnull %9) #3 %74 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %0, ptr noundef nonnull %6) #3 %75 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %29, ptr noundef nonnull %7) #3 %76 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %30, ptr noundef nonnull %8) #3 %77 = call i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef %31, ptr noundef nonnull %9) #3 %78 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %0, ptr noundef nonnull %6) #3 %79 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %29, ptr noundef nonnull %7) #3 %80 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %30, ptr noundef nonnull %8) #3 %81 = call i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef %31, ptr noundef nonnull %9) #3 %82 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %0, ptr noundef nonnull %6) #3 %83 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %29, ptr noundef nonnull %7) #3 %84 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %30, ptr noundef nonnull %8) #3 %85 = call i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef %31, ptr noundef nonnull %9) #3 %86 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %6) #3 %87 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %7) #3 %88 = or i32 %87, %86 %89 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %8) #3 %90 = or i32 %88, %89 %91 = call i32 @BITv05_reloadDStream(ptr noundef nonnull %9) #3 %92 = or i32 %90, %91 %93 = load i32, ptr @BITv05_DStream_unfinished, align 4, !tbaa !6 %94 = icmp eq i32 %92, %93 br i1 %94, label %69, label %95, !llvm.loop !10 95: ; preds = %69, %56 %96 = icmp slt i64 %27, 0 br i1 %96, label %97, label %100 97: ; preds = %95 %98 = load i32, ptr @corruption_detected, align 4, !tbaa !6 %99 = call i64 @ERROR(i32 noundef %98) #3 br label %116 100: ; preds = %95 %101 = call i32 @HUFv05_decodeStreamX2(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %29, ptr noundef nonnull %16, i32 noundef %17) #3 %102 = call i32 @HUFv05_decodeStreamX2(ptr noundef %29, ptr noundef nonnull %7, ptr noundef %30, ptr noundef nonnull %16, i32 noundef %17) #3 %103 = call i32 @HUFv05_decodeStreamX2(ptr noundef %30, ptr noundef nonnull %8, ptr noundef %31, ptr noundef nonnull %16, i32 noundef %17) #3 %104 = call i32 @HUFv05_decodeStreamX2(ptr noundef %31, ptr noundef nonnull %9, ptr noundef %15, ptr noundef nonnull %16, i32 noundef %17) #3 %105 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %6) #3 %106 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %7) #3 %107 = and i32 %106, %105 %108 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %8) #3 %109 = and i32 %107, %108 %110 = call i32 @BITv05_endOfDStream(ptr noundef nonnull %9) #3 %111 = and i32 %109, %110 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %116 113: ; preds = %100 %114 = load i32, ptr @corruption_detected, align 4, !tbaa !6 %115 = call i64 @ERROR(i32 noundef %114) #3 br label %116 116: ; preds = %100, %52, %48, %44, %40, %113, %97, %37 %117 = phi i64 [ %39, %37 ], [ %99, %97 ], [ %115, %113 ], [ %41, %40 ], [ %45, %44 ], [ %49, %48 ], [ %53, %52 ], [ %1, %100 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %118 118: ; preds = %116, %11 %119 = phi i64 [ %13, %11 ], [ %117, %116 ] ret i64 %119 } declare i64 @ERROR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i64 @MEM_readLE16(ptr noundef) local_unnamed_addr #1 declare i64 @BITv05_initDStream(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @HUFv05_isError(i64 noundef) local_unnamed_addr #1 declare i32 @BITv05_reloadDStream(ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_2(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_DECODE_SYMBOLX2_0(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HUFv05_decodeStreamX2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BITv05_endOfDStream(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_zstd_lib_legacy_extr_zstd_v05.c_HUFv05_decompress4X2_usingDTable
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_set_origin.c' source_filename = "AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_set_origin.c" target datalayout = "e-m:e-p270:32:32-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 @newport_set_origin], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @newport_set_origin(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_set_origin.c' source_filename = "AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_set_origin.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 @newport_set_origin], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @newport_set_origin(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_video_console_extr_newport_con.c_newport_set_origin
; ModuleID = 'AnghaBench/Quake-III-Arena/common/extr_bspfile.c_ParseEntities.c' source_filename = "AnghaBench/Quake-III-Arena/common/extr_bspfile.c_ParseEntities.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @num_entities = dso_local local_unnamed_addr global i64 0, align 8 @dentdata = dso_local local_unnamed_addr global i32 0, align 4 @entdatasize = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ParseEntities() local_unnamed_addr #0 { store i64 0, ptr @num_entities, align 8, !tbaa !5 %1 = load i32, ptr @dentdata, align 4, !tbaa !9 %2 = load i32, ptr @entdatasize, align 4, !tbaa !9 %3 = tail call i32 @ParseFromMemory(i32 noundef %1, i32 noundef %2) #2 br label %4 4: ; preds = %4, %0 %5 = tail call i64 (...) @ParseEntity() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %4, !llvm.loop !11 7: ; preds = %4 ret void } declare i32 @ParseFromMemory(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ParseEntity(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Quake-III-Arena/common/extr_bspfile.c_ParseEntities.c' source_filename = "AnghaBench/Quake-III-Arena/common/extr_bspfile.c_ParseEntities.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @num_entities = common local_unnamed_addr global i64 0, align 8 @dentdata = common local_unnamed_addr global i32 0, align 4 @entdatasize = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ParseEntities() local_unnamed_addr #0 { store i64 0, ptr @num_entities, align 8, !tbaa !6 %1 = load i32, ptr @dentdata, align 4, !tbaa !10 %2 = load i32, ptr @entdatasize, align 4, !tbaa !10 %3 = tail call i32 @ParseFromMemory(i32 noundef %1, i32 noundef %2) #2 br label %4 4: ; preds = %4, %0 %5 = tail call i64 @ParseEntity() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %4, !llvm.loop !12 7: ; preds = %4 ret void } declare i32 @ParseFromMemory(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ParseEntity(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
Quake-III-Arena_common_extr_bspfile.c_ParseEntities
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_arch_exit.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_arch_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @kvm_guest_cbs = dso_local global i32 0, align 4 @X86_FEATURE_CONSTANT_TSC = dso_local local_unnamed_addr global i32 0, align 4 @kvmclock_cpufreq_notifier_block = dso_local global i32 0, align 4 @CPUFREQ_TRANSITION_NOTIFIER = dso_local local_unnamed_addr global i32 0, align 4 @CPUHP_AP_X86_KVM_CLK_ONLINE = dso_local local_unnamed_addr global i32 0, align 4 @kvm_x86_ops = dso_local local_unnamed_addr global ptr null, align 8 @shared_msrs = dso_local local_unnamed_addr global i32 0, align 4 @x86_fpu_cache = dso_local local_unnamed_addr global i32 0, align 4 @X86_HYPER_MS_HYPERV = dso_local local_unnamed_addr global i32 0, align 4 @pvclock_gtod_notifier = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @kvm_arch_exit() local_unnamed_addr #0 { %1 = tail call i32 (...) @kvm_lapic_exit() #2 %2 = tail call i32 @perf_unregister_guest_info_callbacks(ptr noundef nonnull @kvm_guest_cbs) #2 %3 = load i32, ptr @X86_FEATURE_CONSTANT_TSC, align 4, !tbaa !5 %4 = tail call i32 @boot_cpu_has(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr @CPUFREQ_TRANSITION_NOTIFIER, align 4, !tbaa !5 %8 = tail call i32 @cpufreq_unregister_notifier(ptr noundef nonnull @kvmclock_cpufreq_notifier_block, i32 noundef %7) #2 br label %9 9: ; preds = %6, %0 %10 = load i32, ptr @CPUHP_AP_X86_KVM_CLK_ONLINE, align 4, !tbaa !5 %11 = tail call i32 @cpuhp_remove_state_nocalls(i32 noundef %10) #2 store ptr null, ptr @kvm_x86_ops, align 8, !tbaa !9 %12 = tail call i32 (...) @kvm_mmu_module_exit() #2 %13 = load i32, ptr @shared_msrs, align 4, !tbaa !5 %14 = tail call i32 @free_percpu(i32 noundef %13) #2 %15 = load i32, ptr @x86_fpu_cache, align 4, !tbaa !5 %16 = tail call i32 @kmem_cache_destroy(i32 noundef %15) #2 ret void } declare i32 @kvm_lapic_exit(...) local_unnamed_addr #1 declare i32 @perf_unregister_guest_info_callbacks(ptr noundef) local_unnamed_addr #1 declare i32 @boot_cpu_has(i32 noundef) local_unnamed_addr #1 declare i32 @cpufreq_unregister_notifier(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpuhp_remove_state_nocalls(i32 noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_module_exit(...) local_unnamed_addr #1 declare i32 @free_percpu(i32 noundef) local_unnamed_addr #1 declare i32 @kmem_cache_destroy(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}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_arch_exit.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_arch_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kvm_guest_cbs = common global i32 0, align 4 @X86_FEATURE_CONSTANT_TSC = common local_unnamed_addr global i32 0, align 4 @kvmclock_cpufreq_notifier_block = common global i32 0, align 4 @CPUFREQ_TRANSITION_NOTIFIER = common local_unnamed_addr global i32 0, align 4 @CPUHP_AP_X86_KVM_CLK_ONLINE = common local_unnamed_addr global i32 0, align 4 @kvm_x86_ops = common local_unnamed_addr global ptr null, align 8 @shared_msrs = common local_unnamed_addr global i32 0, align 4 @x86_fpu_cache = common local_unnamed_addr global i32 0, align 4 @X86_HYPER_MS_HYPERV = common local_unnamed_addr global i32 0, align 4 @pvclock_gtod_notifier = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @kvm_arch_exit() local_unnamed_addr #0 { %1 = tail call i32 @kvm_lapic_exit() #2 %2 = tail call i32 @perf_unregister_guest_info_callbacks(ptr noundef nonnull @kvm_guest_cbs) #2 %3 = load i32, ptr @X86_FEATURE_CONSTANT_TSC, align 4, !tbaa !6 %4 = tail call i32 @boot_cpu_has(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr @CPUFREQ_TRANSITION_NOTIFIER, align 4, !tbaa !6 %8 = tail call i32 @cpufreq_unregister_notifier(ptr noundef nonnull @kvmclock_cpufreq_notifier_block, i32 noundef %7) #2 br label %9 9: ; preds = %6, %0 %10 = load i32, ptr @CPUHP_AP_X86_KVM_CLK_ONLINE, align 4, !tbaa !6 %11 = tail call i32 @cpuhp_remove_state_nocalls(i32 noundef %10) #2 store ptr null, ptr @kvm_x86_ops, align 8, !tbaa !10 %12 = tail call i32 @kvm_mmu_module_exit() #2 %13 = load i32, ptr @shared_msrs, align 4, !tbaa !6 %14 = tail call i32 @free_percpu(i32 noundef %13) #2 %15 = load i32, ptr @x86_fpu_cache, align 4, !tbaa !6 %16 = tail call i32 @kmem_cache_destroy(i32 noundef %15) #2 ret void } declare i32 @kvm_lapic_exit(...) local_unnamed_addr #1 declare i32 @perf_unregister_guest_info_callbacks(ptr noundef) local_unnamed_addr #1 declare i32 @boot_cpu_has(i32 noundef) local_unnamed_addr #1 declare i32 @cpufreq_unregister_notifier(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpuhp_remove_state_nocalls(i32 noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_module_exit(...) local_unnamed_addr #1 declare i32 @free_percpu(i32 noundef) local_unnamed_addr #1 declare i32 @kmem_cache_destroy(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}
linux_arch_x86_kvm_extr_x86.c_kvm_arch_exit
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_io_close.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_io_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @io_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @io_close(ptr noundef %0) #0 { %2 = tail call i64 @lua_isnone(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @lua_rawgeti(ptr noundef %0, i32 noundef -10001, i32 noundef 2) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 @tofile(ptr noundef %0) #2 %8 = tail call i32 @aux_close(ptr noundef %0) #2 ret i32 %8 } declare i64 @lua_isnone(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tofile(ptr noundef) local_unnamed_addr #1 declare i32 @aux_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_io_close.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_io_close.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 @io_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @io_close(ptr noundef %0) #0 { %2 = tail call i64 @lua_isnone(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @lua_rawgeti(ptr noundef %0, i32 noundef -10001, i32 noundef 2) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 @tofile(ptr noundef %0) #2 %8 = tail call i32 @aux_close(ptr noundef %0) #2 ret i32 %8 } declare i64 @lua_isnone(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_rawgeti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tofile(ptr noundef) local_unnamed_addr #1 declare i32 @aux_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_io_close
; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_auth.c_mysqlnd_switch_to_ssl_if_needed.c' source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_auth.c_mysqlnd_switch_to_ssl_if_needed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FAIL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"mysqlnd_switch_to_ssl_if_needed\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mysqlnd_switch_to_ssl_if_needed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mysqlnd_switch_to_ssl_if_needed(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, i64 noundef %4) #0 { %6 = tail call i32 @DBG_ENTER(ptr noundef nonnull @.str) #2 %7 = load i64, ptr %3, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %5 %10 = tail call ptr @mysqlnd_find_charset_name(i64 noundef %7) #2 %11 = icmp eq ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %9 %13 = load i32, ptr %10, align 4, !tbaa !10 br label %14 14: ; preds = %12, %9, %5 %15 = phi i32 [ %13, %12 ], [ %1, %9 ], [ %1, %5 ] %16 = load ptr, ptr %0, align 8, !tbaa !13 %17 = load ptr, ptr %16, align 8, !tbaa !16 %18 = tail call i32 %17(ptr noundef nonnull %0, i64 noundef %4, i64 noundef %2, i32 noundef %15) #2 %19 = tail call i32 @DBG_RETURN(i32 noundef %18) #2 ret i32 undef } declare i32 @DBG_ENTER(ptr noundef) local_unnamed_addr #1 declare ptr @mysqlnd_find_charset_name(i64 noundef) local_unnamed_addr #1 declare i32 @DBG_RETURN(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_10__", !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_12__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_11__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_9__", !15, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_auth.c_mysqlnd_switch_to_ssl_if_needed.c' source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_auth.c_mysqlnd_switch_to_ssl_if_needed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FAIL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"mysqlnd_switch_to_ssl_if_needed\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mysqlnd_switch_to_ssl_if_needed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mysqlnd_switch_to_ssl_if_needed(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, i64 noundef %4) #0 { %6 = tail call i32 @DBG_ENTER(ptr noundef nonnull @.str) #2 %7 = load i64, ptr %3, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %5 %10 = tail call ptr @mysqlnd_find_charset_name(i64 noundef %7) #2 %11 = icmp eq ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %9 %13 = load i32, ptr %10, align 4, !tbaa !11 br label %14 14: ; preds = %12, %9, %5 %15 = phi i32 [ %13, %12 ], [ %1, %9 ], [ %1, %5 ] %16 = load ptr, ptr %0, align 8, !tbaa !14 %17 = load ptr, ptr %16, align 8, !tbaa !17 %18 = tail call i32 %17(ptr noundef nonnull %0, i64 noundef %4, i64 noundef %2, i32 noundef %15) #2 %19 = tail call i32 @DBG_RETURN(i32 noundef %18) #2 ret i32 undef } declare i32 @DBG_ENTER(ptr noundef) local_unnamed_addr #1 declare ptr @mysqlnd_find_charset_name(i64 noundef) local_unnamed_addr #1 declare i32 @DBG_RETURN(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_10__", !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_12__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_11__", !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_9__", !16, i64 0}
php-src_ext_mysqlnd_extr_mysqlnd_auth.c_mysqlnd_switch_to_ssl_if_needed
; ModuleID = 'AnghaBench/linux/drivers/scsi/bnx2fc/extr_bnx2fc_io.c_bnx2fc_eh_device_reset.c' source_filename = "AnghaBench/linux/drivers/scsi/bnx2fc/extr_bnx2fc_io.c_bnx2fc_eh_device_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" @FCP_TMF_LUN_RESET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @bnx2fc_eh_device_reset(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FCP_TMF_LUN_RESET, align 4, !tbaa !5 %3 = tail call i32 @bnx2fc_initiate_tmf(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @bnx2fc_initiate_tmf(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/scsi/bnx2fc/extr_bnx2fc_io.c_bnx2fc_eh_device_reset.c' source_filename = "AnghaBench/linux/drivers/scsi/bnx2fc/extr_bnx2fc_io.c_bnx2fc_eh_device_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FCP_TMF_LUN_RESET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bnx2fc_eh_device_reset(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FCP_TMF_LUN_RESET, align 4, !tbaa !6 %3 = tail call i32 @bnx2fc_initiate_tmf(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @bnx2fc_initiate_tmf(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_scsi_bnx2fc_extr_bnx2fc_io.c_bnx2fc_eh_device_reset
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_amisound.c_nosound.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_amisound.c_nosound.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_3__ = type { i32 } @DMAF_AUD2 = dso_local local_unnamed_addr global i32 0, align 4 @custom = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @amiga_audio_period = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nosound], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable define internal void @nosound(i64 %0) #0 { %2 = load i32, ptr @DMAF_AUD2, align 4, !tbaa !5 store i32 %2, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @custom, i64 0, i32 1), align 8, !tbaa !9 %3 = load i32, ptr @amiga_audio_period, align 4, !tbaa !5 %4 = load ptr, ptr @custom, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 2 store i32 %3, ptr %5, align 4, !tbaa !13 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !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, !6, i64 0} !14 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_amisound.c_nosound.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_amisound.c_nosound.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 { ptr, i32 } @DMAF_AUD2 = common local_unnamed_addr global i32 0, align 4 @custom = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @amiga_audio_period = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nosound], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @nosound(i64 %0) #0 { %2 = load i32, ptr @DMAF_AUD2, align 4, !tbaa !6 store i32 %2, ptr getelementptr inbounds (i8, ptr @custom, i64 8), align 8, !tbaa !10 %3 = load i32, ptr @amiga_audio_period, align 4, !tbaa !6 %4 = load ptr, ptr @custom, align 8, !tbaa !13 %5 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %3, ptr %5, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !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, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0}
fastsocket_kernel_arch_m68k_amiga_extr_amisound.c_nosound
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m32r/platforms/m32104ut/extr_io.c__outb_p.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m32r/platforms/m32104ut/extr_io.c__outb_p.c" target datalayout = "e-m:e-p270:32:32-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 @_outb_p(i8 noundef zeroext %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @_outb(i8 noundef zeroext %0, i64 noundef %1) #2 %4 = tail call i32 (...) @delay() #2 ret void } declare i32 @_outb(i8 noundef zeroext, i64 noundef) local_unnamed_addr #1 declare i32 @delay(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/m32r/platforms/m32104ut/extr_io.c__outb_p.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m32r/platforms/m32104ut/extr_io.c__outb_p.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 @_outb_p(i8 noundef zeroext %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @_outb(i8 noundef zeroext %0, i64 noundef %1) #2 %4 = tail call i32 @delay() #2 ret void } declare i32 @_outb(i8 noundef zeroext, i64 noundef) local_unnamed_addr #1 declare i32 @delay(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_m32r_platforms_m32104ut_extr_io.c__outb_p
; ModuleID = 'AnghaBench/mpv/stream/extr_stream_dvb.c_dvb_streaming_start.c' source_filename = "AnghaBench/mpv/stream/extr_stream_dvb.c_dvb_streaming_start.c" target datalayout = "e-m:e-p270:32:32-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_18__ = type { ptr, i32, ptr } %struct.TYPE_17__ = type { i64, ptr } %struct.TYPE_14__ = type { ptr } %struct.TYPE_19__ = type { i32, i32, ptr } %struct.TYPE_20__ = type { i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"\0D\0Advb_streaming_start(PROG: %s, ADAPTER: %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0A\0ADVBIN: no such channel \22%s\22\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Tuning to channel \22%s\22...\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"PROGRAM NUMBER %d: name=%s, freq=%u\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"ERROR, COULDN'T SET CHANNEL %i: \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"SUCCESSFUL EXIT from dvb_streaming_start\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dvb_streaming_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dvb_streaming_start(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = icmp eq ptr %1, null br i1 %6, label %65, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 0, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !13 %10 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_17__, ptr %5, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = load i64, ptr %5, align 8, !tbaa !17 %14 = getelementptr inbounds %struct.TYPE_14__, ptr %12, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = load i32, ptr %15, align 8, !tbaa !20 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %7 %19 = getelementptr inbounds %struct.TYPE_19__, ptr %15, i64 0, i32 2 br label %20 20: ; preds = %18, %30 %21 = phi i64 [ 0, %18 ], [ %31, %30 ] %22 = load ptr, ptr %19, align 8, !tbaa !22 %23 = getelementptr inbounds %struct.TYPE_20__, ptr %22, i64 %21, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !23 %25 = tail call i32 @strcmp(i32 noundef %24, ptr noundef nonnull %1) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = load ptr, ptr %19, align 8, !tbaa !22 %29 = icmp eq ptr %28, null br i1 %29, label %35, label %37 30: ; preds = %20 %31 = add nuw nsw i64 %21, 1 %32 = load i32, ptr %15, align 8, !tbaa !20 %33 = sext i32 %32 to i64 %34 = icmp slt i64 %31, %33 br i1 %34, label %20, label %35, !llvm.loop !25 35: ; preds = %30, %7, %27 %36 = tail call i32 (ptr, ptr, ...) @MP_ERR(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #2 br label %65 37: ; preds = %27 %38 = trunc i64 %21 to i32 %39 = getelementptr inbounds %struct.TYPE_19__, ptr %15, i64 0, i32 1 %40 = load i32, ptr %15, align 8, !tbaa !20 %41 = add nsw i32 %40, %38 %42 = load ptr, ptr %3, align 8, !tbaa !27 %43 = load i32, ptr %42, align 4, !tbaa !28 %44 = add nsw i32 %41, %43 %45 = srem i32 %44, %40 store i32 %45, ptr %39, align 4, !tbaa !30 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds %struct.TYPE_20__, ptr %28, i64 %46 %48 = getelementptr inbounds %struct.TYPE_20__, ptr %28, i64 %46, i32 1 %49 = load i32, ptr %48, align 4, !tbaa !23 %50 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %49) #2 %51 = load i32, ptr %48, align 4, !tbaa !23 %52 = load i32, ptr %47, align 4, !tbaa !31 %53 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %38, i32 noundef %51, i32 noundef %52) #2 %54 = load i64, ptr %5, align 8, !tbaa !17 %55 = load i32, ptr %39, align 4, !tbaa !30 %56 = sext i32 %55 to i64 %57 = tail call i32 @dvb_set_channel(ptr noundef nonnull %0, i64 noundef %54, i64 noundef %56) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %37 %60 = load i32, ptr %39, align 4, !tbaa !30 %61 = tail call i32 (ptr, ptr, ...) @MP_ERR(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef %60, ptr noundef nonnull %1) #2 %62 = tail call i32 @dvbin_close(ptr noundef nonnull %0) #2 br label %65 63: ; preds = %37 %64 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.5) #2 br label %65 65: ; preds = %2, %63, %59, %35 %66 = phi i32 [ 0, %35 ], [ 1, %63 ], [ 0, %59 ], [ 0, %2 ] ret i32 %66 } declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @MP_ERR(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dvb_set_channel(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dvbin_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_16__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_18__", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_17__", !16, i64 0, !7, i64 8} !16 = !{!"long", !8, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_14__", !7, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_19__", !12, i64 0, !12, i64 4, !7, i64 8} !22 = !{!21, !7, i64 8} !23 = !{!24, !12, i64 4} !24 = !{!"TYPE_20__", !12, i64 0, !12, i64 4} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!11, !7, i64 0} !28 = !{!29, !12, i64 0} !29 = !{!"TYPE_15__", !12, i64 0} !30 = !{!21, !12, i64 4} !31 = !{!24, !12, i64 0}
; ModuleID = 'AnghaBench/mpv/stream/extr_stream_dvb.c_dvb_streaming_start.c' source_filename = "AnghaBench/mpv/stream/extr_stream_dvb.c_dvb_streaming_start.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 { ptr } %struct.TYPE_20__ = type { i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"\0D\0Advb_streaming_start(PROG: %s, ADAPTER: %d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0A\0ADVBIN: no such channel \22%s\22\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Tuning to channel \22%s\22...\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"PROGRAM NUMBER %d: name=%s, freq=%u\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"ERROR, COULDN'T SET CHANNEL %i: \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"SUCCESSFUL EXIT from dvb_streaming_start\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dvb_streaming_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @dvb_streaming_start(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = icmp eq ptr %1, null br i1 %6, label %65, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %3, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !14 %10 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = load i64, ptr %5, align 8, !tbaa !18 %14 = getelementptr inbounds %struct.TYPE_14__, ptr %12, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !19 %16 = load i32, ptr %15, align 8, !tbaa !21 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %7 %19 = getelementptr inbounds i8, ptr %15, i64 8 br label %20 20: ; preds = %18, %30 %21 = phi i64 [ 0, %18 ], [ %31, %30 ] %22 = load ptr, ptr %19, align 8, !tbaa !23 %23 = getelementptr inbounds %struct.TYPE_20__, ptr %22, i64 %21, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !24 %25 = tail call i32 @strcmp(i32 noundef %24, ptr noundef nonnull %1) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = load ptr, ptr %19, align 8, !tbaa !23 %29 = icmp eq ptr %28, null br i1 %29, label %35, label %37 30: ; preds = %20 %31 = add nuw nsw i64 %21, 1 %32 = load i32, ptr %15, align 8, !tbaa !21 %33 = sext i32 %32 to i64 %34 = icmp slt i64 %31, %33 br i1 %34, label %20, label %35, !llvm.loop !26 35: ; preds = %30, %7, %27 %36 = tail call i32 (ptr, ptr, ...) @MP_ERR(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %1) #2 br label %65 37: ; preds = %27 %38 = trunc nuw nsw i64 %21 to i32 %39 = getelementptr inbounds i8, ptr %15, i64 4 %40 = load i32, ptr %15, align 8, !tbaa !21 %41 = add nsw i32 %40, %38 %42 = load ptr, ptr %3, align 8, !tbaa !28 %43 = load i32, ptr %42, align 4, !tbaa !29 %44 = add nsw i32 %41, %43 %45 = srem i32 %44, %40 store i32 %45, ptr %39, align 4, !tbaa !31 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds %struct.TYPE_20__, ptr %28, i64 %46 %48 = getelementptr inbounds i8, ptr %47, i64 4 %49 = load i32, ptr %48, align 4, !tbaa !24 %50 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %49) #2 %51 = load i32, ptr %48, align 4, !tbaa !24 %52 = load i32, ptr %47, align 4, !tbaa !32 %53 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %38, i32 noundef %51, i32 noundef %52) #2 %54 = load i64, ptr %5, align 8, !tbaa !18 %55 = load i32, ptr %39, align 4, !tbaa !31 %56 = sext i32 %55 to i64 %57 = tail call i32 @dvb_set_channel(ptr noundef nonnull %0, i64 noundef %54, i64 noundef %56) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %37 %60 = load i32, ptr %39, align 4, !tbaa !31 %61 = tail call i32 (ptr, ptr, ...) @MP_ERR(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef %60, ptr noundef nonnull %1) #2 %62 = tail call i32 @dvbin_close(ptr noundef nonnull %0) #2 br label %65 63: ; preds = %37 %64 = tail call i32 (ptr, ptr, ...) @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.5) #2 br label %65 65: ; preds = %2, %63, %59, %35 %66 = phi i32 [ 0, %35 ], [ 1, %63 ], [ 0, %59 ], [ 0, %2 ] ret i32 %66 } declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @MP_ERR(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dvb_set_channel(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dvbin_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_16__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"TYPE_18__", !8, i64 0, !13, i64 8, !8, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!16, !8, i64 8} !16 = !{!"TYPE_17__", !17, i64 0, !8, i64 8} !17 = !{!"long", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_14__", !8, i64 0} !21 = !{!22, !13, i64 0} !22 = !{!"TYPE_19__", !13, i64 0, !13, i64 4, !8, i64 8} !23 = !{!22, !8, i64 8} !24 = !{!25, !13, i64 4} !25 = !{!"TYPE_20__", !13, i64 0, !13, i64 4} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!12, !8, i64 0} !29 = !{!30, !13, i64 0} !30 = !{!"TYPE_15__", !13, i64 0} !31 = !{!22, !13, i64 4} !32 = !{!25, !13, i64 0}
mpv_stream_extr_stream_dvb.c_dvb_streaming_start
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_load-pnm.c_fz_load_pnm_subimage.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_load-pnm.c_fz_load_pnm_subimage.c" target datalayout = "e-m:e-p270:32:32-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.info = type { i32 } ; Function Attrs: nounwind uwtable define dso_local ptr @fz_load_pnm_subimage(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 0, ptr %5, align 4 %6 = call ptr @pnm_read_image(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, i32 noundef 0, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @pnm_read_image(ptr noundef, ptr noundef, ptr noundef, i64 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)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_load-pnm.c_fz_load_pnm_subimage.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_load-pnm.c_fz_load_pnm_subimage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.info = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define ptr @fz_load_pnm_subimage(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 0, ptr %5, align 4 %6 = call ptr @pnm_read_image(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, i32 noundef 0, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @pnm_read_image(ptr noundef, ptr noundef, ptr noundef, i64 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)"}
sumatrapdf_mupdf_source_fitz_extr_load-pnm.c_fz_load_pnm_subimage
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_mkey.c_hdb_add_master_key.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_mkey.c_hdb_add_master_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local i64 @hdb_add_master_key(i32 noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %2, align 8, !tbaa !5 store ptr %5, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %3, %7 %8 = phi ptr [ %13, %7 ], [ %5, %3 ] %9 = phi i32 [ %12, %7 ], [ 0, %3 ] %10 = getelementptr inbounds %struct.TYPE_6__, ptr %8, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !9 %12 = tail call i32 @max(i32 noundef %9, i32 noundef %11) #3 %13 = load ptr, ptr %8, align 8, !tbaa !5 store ptr %13, ptr %4, align 8, !tbaa !5 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %7, !llvm.loop !13 15: ; preds = %7 %16 = add nsw i32 %12, 1 br label %17 17: ; preds = %15, %3 %18 = phi i32 [ 1, %3 ], [ %16, %15 ] %19 = call i64 @hdb_process_master_key(i32 noundef %0, i32 noundef %18, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load ptr, ptr %2, align 8, !tbaa !5 %23 = load ptr, ptr %4, align 8, !tbaa !5 store ptr %22, ptr %23, align 8, !tbaa !15 %24 = load ptr, ptr %4, align 8, !tbaa !5 store ptr %24, ptr %2, align 8, !tbaa !5 br label %25 25: ; preds = %17, %21 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @hdb_process_master_key(i32 noundef, i32 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, !12, i64 8} !10 = !{!"TYPE_6__", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_mkey.c_hdb_add_master_key.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hdb/extr_mkey.c_hdb_add_master_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i64 @hdb_add_master_key(i32 noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %2, align 8, !tbaa !6 store ptr %5, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %3, %7 %8 = phi ptr [ %13, %7 ], [ %5, %3 ] %9 = phi i32 [ %12, %7 ], [ 0, %3 ] %10 = getelementptr inbounds i8, ptr %8, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !10 %12 = tail call i32 @max(i32 noundef %9, i32 noundef %11) #3 %13 = load ptr, ptr %8, align 8, !tbaa !6 store ptr %13, ptr %4, align 8, !tbaa !6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %7, !llvm.loop !14 15: ; preds = %7 %16 = add nsw i32 %12, 1 br label %17 17: ; preds = %15, %3 %18 = phi i32 [ 1, %3 ], [ %16, %15 ] %19 = call i64 @hdb_process_master_key(i32 noundef %0, i32 noundef %18, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load ptr, ptr %2, align 8, !tbaa !6 %23 = load ptr, ptr %4, align 8, !tbaa !6 store ptr %22, ptr %23, align 8, !tbaa !16 %24 = load ptr, ptr %4, align 8, !tbaa !6 store ptr %24, ptr %2, align 8, !tbaa !6 br label %25 25: ; preds = %17, %21 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @hdb_process_master_key(i32 noundef, i32 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, !13, i64 8} !11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!11, !7, i64 0}
freebsd_crypto_heimdal_lib_hdb_extr_mkey.c_hdb_add_master_key
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_sw_fence.h_i915_sw_fence_done.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_sw_fence.h_i915_sw_fence_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @i915_sw_fence_done], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @i915_sw_fence_done(ptr noundef %0) #0 { %2 = tail call i64 @atomic_read(ptr noundef %0) #2 %3 = lshr i64 %2, 63 %4 = trunc i64 %3 to i32 ret i32 %4 } declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_sw_fence.h_i915_sw_fence_done.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_sw_fence.h_i915_sw_fence_done.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 @i915_sw_fence_done], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @i915_sw_fence_done(ptr noundef %0) #0 { %2 = tail call i64 @atomic_read(ptr noundef %0) #2 %3 = lshr i64 %2, 63 %4 = trunc nuw nsw i64 %3 to i32 ret i32 %4 } declare i64 @atomic_read(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)"}
linux_drivers_gpu_drm_i915_extr_i915_sw_fence.h_i915_sw_fence_done
; ModuleID = 'AnghaBench/freebsd/lib/msun/tests/extr_cexp_test.c_test_inf.c' source_filename = "AnghaBench/freebsd/lib/msun/tests/extr_cexp_test.c_test_inf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @finites = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [12 x i8] c"# Run %d..\0A\00", align 1 @INFINITY = dso_local local_unnamed_addr global double 0.000000e+00, align 8 @NAN = dso_local local_unnamed_addr global double 0.000000e+00, align 8 @ALL_STD_EXCEPT = dso_local local_unnamed_addr global i32 0, align 4 @FE_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @M_PI_4 = dso_local local_unnamed_addr global i32 0, align 4 @FE_INEXACT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_inf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_inf() #0 { %1 = load ptr, ptr @finites, align 8, !tbaa !5 %2 = tail call i32 @nitems(ptr noundef %1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %23, label %4 4: ; preds = %0, %4 %5 = phi i64 [ %18, %4 ], [ 0, %0 ] %6 = trunc i64 %5 to i32 %7 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load ptr, ptr @finites, align 8, !tbaa !5 %9 = getelementptr inbounds double, ptr %8, i64 %5 %10 = load double, ptr %9, align 8, !tbaa !9 %11 = load double, ptr @INFINITY, align 8, !tbaa !9 %12 = tail call i32 @CMPLXL(double noundef %10, double noundef %11) #2 %13 = load double, ptr @NAN, align 8, !tbaa !9 %14 = tail call i32 @CMPLXL(double noundef %13, double noundef %13) #2 %15 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %16 = load i32, ptr @FE_INVALID, align 4, !tbaa !11 %17 = tail call i32 @testall(i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 1) #2 %18 = add nuw nsw i64 %5, 1 %19 = load ptr, ptr @finites, align 8, !tbaa !5 %20 = tail call i32 @nitems(ptr noundef %19) #2 %21 = zext i32 %20 to i64 %22 = icmp ult i64 %18, %21 br i1 %22, label %4, label %23, !llvm.loop !13 23: ; preds = %4, %0 %24 = load double, ptr @INFINITY, align 8, !tbaa !9 %25 = fneg double %24 %26 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %27 = sitofp i32 %26 to double %28 = tail call i32 @CMPLXL(double noundef %25, double noundef %27) #2 %29 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef 0.000000e+00) #2 %30 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %31 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %32 = xor i32 %31, -1 %33 = and i32 %30, %32 %34 = tail call i32 @testall(i32 noundef %28, i32 noundef %29, i32 noundef %33, i32 noundef 0, i32 noundef 1) #2 %35 = load double, ptr @INFINITY, align 8, !tbaa !9 %36 = fneg double %35 %37 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %38 = mul nsw i32 %37, 3 %39 = sitofp i32 %38 to double %40 = tail call i32 @CMPLXL(double noundef %36, double noundef %39) #2 %41 = tail call i32 @CMPLXL(double noundef -0.000000e+00, double noundef 0.000000e+00) #2 %42 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %43 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %44 = xor i32 %43, -1 %45 = and i32 %42, %44 %46 = tail call i32 @testall(i32 noundef %40, i32 noundef %41, i32 noundef %45, i32 noundef 0, i32 noundef 1) #2 %47 = load double, ptr @INFINITY, align 8, !tbaa !9 %48 = fneg double %47 %49 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %50 = mul nsw i32 %49, 5 %51 = sitofp i32 %50 to double %52 = tail call i32 @CMPLXL(double noundef %48, double noundef %51) #2 %53 = tail call i32 @CMPLXL(double noundef -0.000000e+00, double noundef -0.000000e+00) #2 %54 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %55 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %56 = xor i32 %55, -1 %57 = and i32 %54, %56 %58 = tail call i32 @testall(i32 noundef %52, i32 noundef %53, i32 noundef %57, i32 noundef 0, i32 noundef 1) #2 %59 = load double, ptr @INFINITY, align 8, !tbaa !9 %60 = fneg double %59 %61 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %62 = mul nsw i32 %61, 7 %63 = sitofp i32 %62 to double %64 = tail call i32 @CMPLXL(double noundef %60, double noundef %63) #2 %65 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef -0.000000e+00) #2 %66 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %67 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %68 = xor i32 %67, -1 %69 = and i32 %66, %68 %70 = tail call i32 @testall(i32 noundef %64, i32 noundef %65, i32 noundef %69, i32 noundef 0, i32 noundef 1) #2 %71 = load double, ptr @INFINITY, align 8, !tbaa !9 %72 = fneg double %71 %73 = tail call i32 @CMPLXL(double noundef %72, double noundef 0.000000e+00) #2 %74 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef 0.000000e+00) #2 %75 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %76 = tail call i32 @testall(i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef 0, i32 noundef 1) #2 %77 = load double, ptr @INFINITY, align 8, !tbaa !9 %78 = fneg double %77 %79 = tail call i32 @CMPLXL(double noundef %78, double noundef -0.000000e+00) #2 %80 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef -0.000000e+00) #2 %81 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %82 = tail call i32 @testall(i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef 0, i32 noundef 1) #2 %83 = load double, ptr @INFINITY, align 8, !tbaa !9 %84 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %85 = sitofp i32 %84 to double %86 = tail call i32 @CMPLXL(double noundef %83, double noundef %85) #2 %87 = load double, ptr @INFINITY, align 8, !tbaa !9 %88 = tail call i32 @CMPLXL(double noundef %87, double noundef %87) #2 %89 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %90 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %91 = xor i32 %90, -1 %92 = and i32 %89, %91 %93 = tail call i32 @testall(i32 noundef %86, i32 noundef %88, i32 noundef %92, i32 noundef 0, i32 noundef 1) #2 %94 = load double, ptr @INFINITY, align 8, !tbaa !9 %95 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %96 = mul nsw i32 %95, 3 %97 = sitofp i32 %96 to double %98 = tail call i32 @CMPLXL(double noundef %94, double noundef %97) #2 %99 = load double, ptr @INFINITY, align 8, !tbaa !9 %100 = fneg double %99 %101 = tail call i32 @CMPLXL(double noundef %100, double noundef %99) #2 %102 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %103 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %104 = xor i32 %103, -1 %105 = and i32 %102, %104 %106 = tail call i32 @testall(i32 noundef %98, i32 noundef %101, i32 noundef %105, i32 noundef 0, i32 noundef 1) #2 %107 = load double, ptr @INFINITY, align 8, !tbaa !9 %108 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %109 = mul nsw i32 %108, 5 %110 = sitofp i32 %109 to double %111 = tail call i32 @CMPLXL(double noundef %107, double noundef %110) #2 %112 = load double, ptr @INFINITY, align 8, !tbaa !9 %113 = fneg double %112 %114 = tail call i32 @CMPLXL(double noundef %113, double noundef %113) #2 %115 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %116 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %117 = xor i32 %116, -1 %118 = and i32 %115, %117 %119 = tail call i32 @testall(i32 noundef %111, i32 noundef %114, i32 noundef %118, i32 noundef 0, i32 noundef 1) #2 %120 = load double, ptr @INFINITY, align 8, !tbaa !9 %121 = load i32, ptr @M_PI_4, align 4, !tbaa !11 %122 = mul nsw i32 %121, 7 %123 = sitofp i32 %122 to double %124 = tail call i32 @CMPLXL(double noundef %120, double noundef %123) #2 %125 = load double, ptr @INFINITY, align 8, !tbaa !9 %126 = fneg double %125 %127 = tail call i32 @CMPLXL(double noundef %125, double noundef %126) #2 %128 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %129 = load i32, ptr @FE_INEXACT, align 4, !tbaa !11 %130 = xor i32 %129, -1 %131 = and i32 %128, %130 %132 = tail call i32 @testall(i32 noundef %124, i32 noundef %127, i32 noundef %131, i32 noundef 0, i32 noundef 1) #2 %133 = load double, ptr @INFINITY, align 8, !tbaa !9 %134 = tail call i32 @CMPLXL(double noundef %133, double noundef 0.000000e+00) #2 %135 = load double, ptr @INFINITY, align 8, !tbaa !9 %136 = tail call i32 @CMPLXL(double noundef %135, double noundef 0.000000e+00) #2 %137 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %138 = tail call i32 @testall(i32 noundef %134, i32 noundef %136, i32 noundef %137, i32 noundef 0, i32 noundef 1) #2 %139 = load double, ptr @INFINITY, align 8, !tbaa !9 %140 = tail call i32 @CMPLXL(double noundef %139, double noundef -0.000000e+00) #2 %141 = load double, ptr @INFINITY, align 8, !tbaa !9 %142 = tail call i32 @CMPLXL(double noundef %141, double noundef -0.000000e+00) #2 %143 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !11 %144 = tail call i32 @testall(i32 noundef %140, i32 noundef %142, i32 noundef %143, i32 noundef 0, i32 noundef 1) #2 ret void } declare i32 @nitems(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @testall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMPLXL(double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"double", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/msun/tests/extr_cexp_test.c_test_inf.c' source_filename = "AnghaBench/freebsd/lib/msun/tests/extr_cexp_test.c_test_inf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @finites = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [12 x i8] c"# Run %d..\0A\00", align 1 @INFINITY = common local_unnamed_addr global double 0.000000e+00, align 8 @NAN = common local_unnamed_addr global double 0.000000e+00, align 8 @ALL_STD_EXCEPT = common local_unnamed_addr global i32 0, align 4 @FE_INVALID = common local_unnamed_addr global i32 0, align 4 @M_PI_4 = common local_unnamed_addr global i32 0, align 4 @FE_INEXACT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_inf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_inf() #0 { %1 = load ptr, ptr @finites, align 8, !tbaa !6 %2 = tail call i32 @nitems(ptr noundef %1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %23, label %4 4: ; preds = %0, %4 %5 = phi i64 [ %18, %4 ], [ 0, %0 ] %6 = trunc nuw i64 %5 to i32 %7 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load ptr, ptr @finites, align 8, !tbaa !6 %9 = getelementptr inbounds double, ptr %8, i64 %5 %10 = load double, ptr %9, align 8, !tbaa !10 %11 = load double, ptr @INFINITY, align 8, !tbaa !10 %12 = tail call i32 @CMPLXL(double noundef %10, double noundef %11) #2 %13 = load double, ptr @NAN, align 8, !tbaa !10 %14 = tail call i32 @CMPLXL(double noundef %13, double noundef %13) #2 %15 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %16 = load i32, ptr @FE_INVALID, align 4, !tbaa !12 %17 = tail call i32 @testall(i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 1) #2 %18 = add nuw nsw i64 %5, 1 %19 = load ptr, ptr @finites, align 8, !tbaa !6 %20 = tail call i32 @nitems(ptr noundef %19) #2 %21 = zext i32 %20 to i64 %22 = icmp ult i64 %18, %21 br i1 %22, label %4, label %23, !llvm.loop !14 23: ; preds = %4, %0 %24 = load double, ptr @INFINITY, align 8, !tbaa !10 %25 = fneg double %24 %26 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %27 = sitofp i32 %26 to double %28 = tail call i32 @CMPLXL(double noundef %25, double noundef %27) #2 %29 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef 0.000000e+00) #2 %30 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %31 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %32 = xor i32 %31, -1 %33 = and i32 %30, %32 %34 = tail call i32 @testall(i32 noundef %28, i32 noundef %29, i32 noundef %33, i32 noundef 0, i32 noundef 1) #2 %35 = load double, ptr @INFINITY, align 8, !tbaa !10 %36 = fneg double %35 %37 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %38 = mul nsw i32 %37, 3 %39 = sitofp i32 %38 to double %40 = tail call i32 @CMPLXL(double noundef %36, double noundef %39) #2 %41 = tail call i32 @CMPLXL(double noundef -0.000000e+00, double noundef 0.000000e+00) #2 %42 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %43 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %44 = xor i32 %43, -1 %45 = and i32 %42, %44 %46 = tail call i32 @testall(i32 noundef %40, i32 noundef %41, i32 noundef %45, i32 noundef 0, i32 noundef 1) #2 %47 = load double, ptr @INFINITY, align 8, !tbaa !10 %48 = fneg double %47 %49 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %50 = mul nsw i32 %49, 5 %51 = sitofp i32 %50 to double %52 = tail call i32 @CMPLXL(double noundef %48, double noundef %51) #2 %53 = tail call i32 @CMPLXL(double noundef -0.000000e+00, double noundef -0.000000e+00) #2 %54 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %55 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %56 = xor i32 %55, -1 %57 = and i32 %54, %56 %58 = tail call i32 @testall(i32 noundef %52, i32 noundef %53, i32 noundef %57, i32 noundef 0, i32 noundef 1) #2 %59 = load double, ptr @INFINITY, align 8, !tbaa !10 %60 = fneg double %59 %61 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %62 = mul nsw i32 %61, 7 %63 = sitofp i32 %62 to double %64 = tail call i32 @CMPLXL(double noundef %60, double noundef %63) #2 %65 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef -0.000000e+00) #2 %66 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %67 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %68 = xor i32 %67, -1 %69 = and i32 %66, %68 %70 = tail call i32 @testall(i32 noundef %64, i32 noundef %65, i32 noundef %69, i32 noundef 0, i32 noundef 1) #2 %71 = load double, ptr @INFINITY, align 8, !tbaa !10 %72 = fneg double %71 %73 = tail call i32 @CMPLXL(double noundef %72, double noundef 0.000000e+00) #2 %74 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef 0.000000e+00) #2 %75 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %76 = tail call i32 @testall(i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef 0, i32 noundef 1) #2 %77 = load double, ptr @INFINITY, align 8, !tbaa !10 %78 = fneg double %77 %79 = tail call i32 @CMPLXL(double noundef %78, double noundef -0.000000e+00) #2 %80 = tail call i32 @CMPLXL(double noundef 0.000000e+00, double noundef -0.000000e+00) #2 %81 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %82 = tail call i32 @testall(i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef 0, i32 noundef 1) #2 %83 = load double, ptr @INFINITY, align 8, !tbaa !10 %84 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %85 = sitofp i32 %84 to double %86 = tail call i32 @CMPLXL(double noundef %83, double noundef %85) #2 %87 = load double, ptr @INFINITY, align 8, !tbaa !10 %88 = tail call i32 @CMPLXL(double noundef %87, double noundef %87) #2 %89 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %90 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %91 = xor i32 %90, -1 %92 = and i32 %89, %91 %93 = tail call i32 @testall(i32 noundef %86, i32 noundef %88, i32 noundef %92, i32 noundef 0, i32 noundef 1) #2 %94 = load double, ptr @INFINITY, align 8, !tbaa !10 %95 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %96 = mul nsw i32 %95, 3 %97 = sitofp i32 %96 to double %98 = tail call i32 @CMPLXL(double noundef %94, double noundef %97) #2 %99 = load double, ptr @INFINITY, align 8, !tbaa !10 %100 = fneg double %99 %101 = tail call i32 @CMPLXL(double noundef %100, double noundef %99) #2 %102 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %103 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %104 = xor i32 %103, -1 %105 = and i32 %102, %104 %106 = tail call i32 @testall(i32 noundef %98, i32 noundef %101, i32 noundef %105, i32 noundef 0, i32 noundef 1) #2 %107 = load double, ptr @INFINITY, align 8, !tbaa !10 %108 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %109 = mul nsw i32 %108, 5 %110 = sitofp i32 %109 to double %111 = tail call i32 @CMPLXL(double noundef %107, double noundef %110) #2 %112 = load double, ptr @INFINITY, align 8, !tbaa !10 %113 = fneg double %112 %114 = tail call i32 @CMPLXL(double noundef %113, double noundef %113) #2 %115 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %116 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %117 = xor i32 %116, -1 %118 = and i32 %115, %117 %119 = tail call i32 @testall(i32 noundef %111, i32 noundef %114, i32 noundef %118, i32 noundef 0, i32 noundef 1) #2 %120 = load double, ptr @INFINITY, align 8, !tbaa !10 %121 = load i32, ptr @M_PI_4, align 4, !tbaa !12 %122 = mul nsw i32 %121, 7 %123 = sitofp i32 %122 to double %124 = tail call i32 @CMPLXL(double noundef %120, double noundef %123) #2 %125 = load double, ptr @INFINITY, align 8, !tbaa !10 %126 = fneg double %125 %127 = tail call i32 @CMPLXL(double noundef %125, double noundef %126) #2 %128 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %129 = load i32, ptr @FE_INEXACT, align 4, !tbaa !12 %130 = xor i32 %129, -1 %131 = and i32 %128, %130 %132 = tail call i32 @testall(i32 noundef %124, i32 noundef %127, i32 noundef %131, i32 noundef 0, i32 noundef 1) #2 %133 = load double, ptr @INFINITY, align 8, !tbaa !10 %134 = tail call i32 @CMPLXL(double noundef %133, double noundef 0.000000e+00) #2 %135 = load double, ptr @INFINITY, align 8, !tbaa !10 %136 = tail call i32 @CMPLXL(double noundef %135, double noundef 0.000000e+00) #2 %137 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %138 = tail call i32 @testall(i32 noundef %134, i32 noundef %136, i32 noundef %137, i32 noundef 0, i32 noundef 1) #2 %139 = load double, ptr @INFINITY, align 8, !tbaa !10 %140 = tail call i32 @CMPLXL(double noundef %139, double noundef -0.000000e+00) #2 %141 = load double, ptr @INFINITY, align 8, !tbaa !10 %142 = tail call i32 @CMPLXL(double noundef %141, double noundef -0.000000e+00) #2 %143 = load i32, ptr @ALL_STD_EXCEPT, align 4, !tbaa !12 %144 = tail call i32 @testall(i32 noundef %140, i32 noundef %142, i32 noundef %143, i32 noundef 0, i32 noundef 1) #2 ret void } declare i32 @nitems(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @testall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMPLXL(double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"double", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_lib_msun_tests_extr_cexp_test.c_test_inf
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_alloc_msg.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_alloc_msg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WLAN_ACTION_PUBLIC = dso_local local_unnamed_addr global i32 0, align 4 @WLAN_PA_VENDOR_SPECIFIC = dso_local local_unnamed_addr global i32 0, align 4 @OUI_WFA = dso_local local_unnamed_addr global i32 0, align 4 @DPP_OUI_TYPE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @dpp_alloc_msg(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %1 to i32 %4 = add i32 %3, 8 %5 = tail call ptr @wpabuf_alloc(i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %18, label %7 7: ; preds = %2 %8 = load i32, ptr @WLAN_ACTION_PUBLIC, align 4, !tbaa !5 %9 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %8) #2 %10 = load i32, ptr @WLAN_PA_VENDOR_SPECIFIC, align 4, !tbaa !5 %11 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %10) #2 %12 = load i32, ptr @OUI_WFA, align 4, !tbaa !5 %13 = tail call i32 @wpabuf_put_be24(ptr noundef nonnull %5, i32 noundef %12) #2 %14 = load i32, ptr @DPP_OUI_TYPE, align 4, !tbaa !5 %15 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %14) #2 %16 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef 1) #2 %17 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %0) #2 br label %18 18: ; preds = %2, %7 ret ptr %5 } declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_be24(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_alloc_msg.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_alloc_msg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WLAN_ACTION_PUBLIC = common local_unnamed_addr global i32 0, align 4 @WLAN_PA_VENDOR_SPECIFIC = common local_unnamed_addr global i32 0, align 4 @OUI_WFA = common local_unnamed_addr global i32 0, align 4 @DPP_OUI_TYPE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @dpp_alloc_msg(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %1 to i32 %4 = add i32 %3, 8 %5 = tail call ptr @wpabuf_alloc(i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %18, label %7 7: ; preds = %2 %8 = load i32, ptr @WLAN_ACTION_PUBLIC, align 4, !tbaa !6 %9 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %8) #2 %10 = load i32, ptr @WLAN_PA_VENDOR_SPECIFIC, align 4, !tbaa !6 %11 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %10) #2 %12 = load i32, ptr @OUI_WFA, align 4, !tbaa !6 %13 = tail call i32 @wpabuf_put_be24(ptr noundef nonnull %5, i32 noundef %12) #2 %14 = load i32, ptr @DPP_OUI_TYPE, align 4, !tbaa !6 %15 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %14) #2 %16 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef 1) #2 %17 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %5, i32 noundef %0) #2 br label %18 18: ; preds = %2, %7 ret ptr %5 } declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_be24(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_common_extr_dpp.c_dpp_alloc_msg
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/intelfb/extr_intelfbhw.c_intelfbhw_do_sync.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/intelfb/extr_intelfbhw.c_intelfbhw_do_sync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intelfb_info = type { %struct.TYPE_2__, i64, i32 } %struct.TYPE_2__ = type { i64 } @RING_MIN_FREE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @intelfbhw_do_sync(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %15, label %5 5: ; preds = %1 %6 = tail call i32 @do_flush(ptr noundef nonnull %0) #2 %7 = load i64, ptr %0, align 8, !tbaa !12 %8 = load i64, ptr @RING_MIN_FREE, align 8, !tbaa !13 %9 = sub nsw i64 %7, %8 %10 = tail call i32 @wait_ring(ptr noundef nonnull %0, i64 noundef %9) #2 %11 = load i64, ptr %0, align 8, !tbaa !12 %12 = load i64, ptr @RING_MIN_FREE, align 8, !tbaa !13 %13 = sub nsw i64 %11, %12 %14 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 1 store i64 %13, ptr %14, align 8, !tbaa !14 br label %15 15: ; preds = %1, %5 ret void } declare i32 @do_flush(ptr noundef) local_unnamed_addr #1 declare i32 @wait_ring(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"intelfb_info", !7, i64 0, !8, i64 8, !11, i64 16} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!6, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!6, !8, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/intelfb/extr_intelfbhw.c_intelfbhw_do_sync.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/intelfb/extr_intelfbhw.c_intelfbhw_do_sync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RING_MIN_FREE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @intelfbhw_do_sync(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %15, label %5 5: ; preds = %1 %6 = tail call i32 @do_flush(ptr noundef nonnull %0) #2 %7 = load i64, ptr %0, align 8, !tbaa !13 %8 = load i64, ptr @RING_MIN_FREE, align 8, !tbaa !14 %9 = sub nsw i64 %7, %8 %10 = tail call i32 @wait_ring(ptr noundef nonnull %0, i64 noundef %9) #2 %11 = load i64, ptr %0, align 8, !tbaa !13 %12 = load i64, ptr @RING_MIN_FREE, align 8, !tbaa !14 %13 = sub nsw i64 %11, %12 %14 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %13, ptr %14, align 8, !tbaa !15 br label %15 15: ; preds = %1, %5 ret void } declare i32 @do_flush(ptr noundef) local_unnamed_addr #1 declare i32 @wait_ring(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"intelfb_info", !8, i64 0, !9, i64 8, !12, i64 16} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!7, !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!7, !9, i64 8}
linux_drivers_video_fbdev_intelfb_extr_intelfbhw.c_intelfbhw_do_sync