IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_extension.c_get_extension_control_filename.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_extension.c_get_extension_control_filename.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXPGPATH = dso_local local_unnamed_addr global i32 0, align 4 @my_exec_path = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"%s/extension/%s.control\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_extension_control_filename], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @get_extension_control_filename(ptr noundef %0) #0 { %2 = load i32, ptr @MAXPGPATH, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 16 %5 = load i32, ptr @my_exec_path, align 4, !tbaa !5 %6 = call i32 @get_share_path(i32 noundef %5, ptr noundef nonnull %4) #2 %7 = load i32, ptr @MAXPGPATH, align 4, !tbaa !5 %8 = call i64 @palloc(i32 noundef %7) #2 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr @MAXPGPATH, align 4, !tbaa !5 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %4, ptr noundef %0) #2 ret ptr %9 } declare i32 @get_share_path(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @palloc(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_extension.c_get_extension_control_filename.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_extension.c_get_extension_control_filename.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXPGPATH = common local_unnamed_addr global i32 0, align 4 @my_exec_path = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"%s/extension/%s.control\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_extension_control_filename], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @get_extension_control_filename(ptr noundef %0) #0 { %2 = load i32, ptr @MAXPGPATH, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 1 %5 = load i32, ptr @my_exec_path, align 4, !tbaa !6 %6 = call i32 @get_share_path(i32 noundef %5, ptr noundef nonnull %4) #2 %7 = load i32, ptr @MAXPGPATH, align 4, !tbaa !6 %8 = call i64 @palloc(i32 noundef %7) #2 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr @MAXPGPATH, align 4, !tbaa !6 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %4, ptr noundef %0) #2 ret ptr %9 } declare i32 @get_share_path(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @palloc(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_backend_commands_extr_extension.c_get_extension_control_filename
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-math/src/extr_math.c_math_acos.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-math/src/extr_math.c_math_acos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"acos\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @math_acos], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @math_acos(ptr noundef %0, i32 %1) #0 { %3 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #4 %5 = load double, ptr %3, align 8 %6 = fcmp olt double %5, -1.000000e+00 %7 = fcmp ogt double %5, 1.000000e+00 %8 = or i1 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 @domain_error(ptr noundef %0, ptr noundef nonnull @.str.1) #4 %11 = load double, ptr %3, align 8, !tbaa !5 br label %12 12: ; preds = %2, %9 %13 = phi double [ %5, %2 ], [ %11, %9 ] %14 = call double @acos(double noundef %13) #4 store double %14, ptr %3, align 8, !tbaa !5 %15 = call i32 @mrb_float_value(ptr noundef %0, double noundef %14) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @domain_error(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare double @acos(double noundef) local_unnamed_addr #3 declare i32 @mrb_float_value(ptr noundef, double 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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-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 = !{!"double", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-math/src/extr_math.c_math_acos.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-math/src/extr_math.c_math_acos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"acos\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @math_acos], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @math_acos(ptr noundef %0, i32 %1) #0 { %3 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 %4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #5 %5 = load double, ptr %3, align 8 %6 = call double @llvm.fabs.f64(double %5) %7 = fcmp ogt double %6, 1.000000e+00 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 @domain_error(ptr noundef %0, ptr noundef nonnull @.str.1) #5 %10 = load double, ptr %3, align 8, !tbaa !6 br label %11 11: ; preds = %2, %8 %12 = phi double [ %5, %2 ], [ %10, %8 ] %13 = call double @llvm.acos.f64(double %12) store double %13, ptr %3, align 8, !tbaa !6 %14 = call i32 @mrb_float_value(ptr noundef %0, double noundef %13) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @domain_error(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.acos.f64(double) #3 declare i32 @mrb_float_value(ptr noundef, double noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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, !7, i64 0} !7 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
h2o_deps_mruby_mrbgems_mruby-math_src_extr_math.c_math_acos
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/fortitude60/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/fortitude60/keymaps/default/extr_keymap.c_layer_state_set_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @_RAISE = dso_local local_unnamed_addr global i32 0, align 4 @_ADJUST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @layer_state_set_user(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @_LOWER, align 4, !tbaa !5 %3 = load i32, ptr @_RAISE, align 4, !tbaa !5 %4 = load i32, ptr @_ADJUST, align 4, !tbaa !5 %5 = tail call i32 @update_tri_layer_state(i32 noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @update_tri_layer_state(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/fortitude60/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/fortitude60/keymaps/default/extr_keymap.c_layer_state_set_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_LOWER = common local_unnamed_addr global i32 0, align 4 @_RAISE = common local_unnamed_addr global i32 0, align 4 @_ADJUST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @layer_state_set_user(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @_LOWER, align 4, !tbaa !6 %3 = load i32, ptr @_RAISE, align 4, !tbaa !6 %4 = load i32, ptr @_ADJUST, align 4, !tbaa !6 %5 = tail call i32 @update_tri_layer_state(i32 noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @update_tri_layer_state(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"}
qmk_firmware_keyboards_fortitude60_keymaps_default_extr_keymap.c_layer_state_set_user
; ModuleID = 'AnghaBench/linux/fs/ocfs2/cluster/extr_quorum.c_o2quo_disk_timeout.c' source_filename = "AnghaBench/linux/fs/ocfs2/cluster/extr_quorum.c_o2quo_disk_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @o2quo_disk_timeout() local_unnamed_addr #0 { %1 = tail call i32 (...) @o2quo_fence_self() #2 ret void } declare i32 @o2quo_fence_self(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/fs/ocfs2/cluster/extr_quorum.c_o2quo_disk_timeout.c' source_filename = "AnghaBench/linux/fs/ocfs2/cluster/extr_quorum.c_o2quo_disk_timeout.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 @o2quo_disk_timeout() local_unnamed_addr #0 { %1 = tail call i32 @o2quo_fence_self() #2 ret void } declare i32 @o2quo_fence_self(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_fs_ocfs2_cluster_extr_quorum.c_o2quo_disk_timeout
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions.c_final_early_data.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions.c_final_early_data.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i64, %struct.TYPE_7__, i32, ptr, i32, i32 } %struct.TYPE_7__ = type { i32, i32 } @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_ILLEGAL_PARAMETER = dso_local local_unnamed_addr global i32 0, align 4 @SSL_F_FINAL_EARLY_DATA = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_EARLY_DATA = dso_local local_unnamed_addr global i32 0, align 4 @SSL_EARLY_DATA_ACCEPTING = dso_local local_unnamed_addr global i64 0, align 8 @SSL_HRR_NONE = dso_local local_unnamed_addr global i64 0, align 8 @SSL_EARLY_DATA_REJECTED = dso_local local_unnamed_addr global i32 0, align 4 @SSL_EARLY_DATA_ACCEPTED = dso_local local_unnamed_addr global i32 0, align 4 @SSL3_CC_EARLY = dso_local local_unnamed_addr global i32 0, align 4 @SSL3_CHANGE_CIPHER_SERVER_READ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @final_early_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @final_early_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %63, label %5 5: ; preds = %3 %6 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 7 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %5 %10 = load i32, ptr @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS, align 4, !tbaa !13 %11 = icmp eq i32 %10, %1 br i1 %11, label %12, label %63 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %63 16: ; preds = %12 %17 = load i32, ptr @SSL_AD_ILLEGAL_PARAMETER, align 4, !tbaa !13 %18 = load i32, ptr @SSL_F_FINAL_EARLY_DATA, align 4, !tbaa !13 %19 = load i32, ptr @SSL_R_BAD_EARLY_DATA, align 4, !tbaa !13 %20 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18, i32 noundef %19) #2 br label %63 21: ; preds = %5 %22 = load i64, ptr %0, align 8, !tbaa !15 %23 = icmp eq i64 %22, 0 br i1 %23, label %52, label %24 24: ; preds = %21 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 6 %26 = load i32, ptr %25, align 8, !tbaa !16 %27 = icmp eq i32 %26, 0 br i1 %27, label %52, label %28 28: ; preds = %24 %29 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %30 = load i64, ptr %29, align 8, !tbaa !17 %31 = load i64, ptr @SSL_EARLY_DATA_ACCEPTING, align 8, !tbaa !18 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %52 33: ; preds = %28 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !14 %37 = icmp eq i32 %36, 0 br i1 %37, label %52, label %38 38: ; preds = %33 %39 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %40 = load i64, ptr %39, align 8, !tbaa !19 %41 = load i64, ptr @SSL_HRR_NONE, align 8, !tbaa !18 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %52 43: ; preds = %38 %44 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 5 %45 = load ptr, ptr %44, align 8, !tbaa !20 %46 = icmp eq ptr %45, null br i1 %46, label %55, label %47 47: ; preds = %43 %48 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 4 %49 = load i32, ptr %48, align 8, !tbaa !21 %50 = tail call i32 %45(ptr noundef nonnull %0, i32 noundef %49) #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %47, %38, %33, %28, %24, %21 %53 = load i32, ptr @SSL_EARLY_DATA_REJECTED, align 4, !tbaa !13 %54 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 store i32 %53, ptr %54, align 8, !tbaa !22 br label %62 55: ; preds = %47, %43 %56 = load i32, ptr @SSL_EARLY_DATA_ACCEPTED, align 4, !tbaa !13 store i32 %56, ptr %34, align 8, !tbaa !22 %57 = load i32, ptr @SSL3_CC_EARLY, align 4, !tbaa !13 %58 = load i32, ptr @SSL3_CHANGE_CIPHER_SERVER_READ, align 4, !tbaa !13 %59 = or i32 %58, %57 %60 = tail call i32 @tls13_change_cipher_state(ptr noundef nonnull %0, i32 noundef %59) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %63, label %62 62: ; preds = %55, %52 br label %63 63: ; preds = %55, %9, %12, %3, %62, %16 %64 = phi i32 [ 1, %62 ], [ 0, %16 ], [ 1, %3 ], [ 1, %12 ], [ 1, %9 ], [ 0, %55 ] ret i32 %64 } declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tls13_change_cipher_state(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 52} !6 = !{!"TYPE_8__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !12, i64 40, !11, i64 48, !11, i64 52} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!6, !11, i64 28} !15 = !{!6, !7, i64 0} !16 = !{!6, !11, i64 48} !17 = !{!6, !7, i64 8} !18 = !{!7, !7, i64 0} !19 = !{!6, !7, i64 16} !20 = !{!6, !12, i64 40} !21 = !{!6, !11, i64 32} !22 = !{!6, !11, i64 24}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions.c_final_early_data.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions.c_final_early_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS = common local_unnamed_addr global i32 0, align 4 @SSL_AD_ILLEGAL_PARAMETER = common local_unnamed_addr global i32 0, align 4 @SSL_F_FINAL_EARLY_DATA = common local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_EARLY_DATA = common local_unnamed_addr global i32 0, align 4 @SSL_EARLY_DATA_ACCEPTING = common local_unnamed_addr global i64 0, align 8 @SSL_HRR_NONE = common local_unnamed_addr global i64 0, align 8 @SSL_EARLY_DATA_REJECTED = common local_unnamed_addr global i32 0, align 4 @SSL_EARLY_DATA_ACCEPTED = common local_unnamed_addr global i32 0, align 4 @SSL3_CC_EARLY = common local_unnamed_addr global i32 0, align 4 @SSL3_CHANGE_CIPHER_SERVER_READ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @final_early_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @final_early_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %63, label %5 5: ; preds = %3 %6 = getelementptr inbounds i8, ptr %0, i64 52 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %5 %10 = load i32, ptr @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS, align 4, !tbaa !14 %11 = icmp eq i32 %10, %1 br i1 %11, label %12, label %63 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %0, i64 28 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %63 16: ; preds = %12 %17 = load i32, ptr @SSL_AD_ILLEGAL_PARAMETER, align 4, !tbaa !14 %18 = load i32, ptr @SSL_F_FINAL_EARLY_DATA, align 4, !tbaa !14 %19 = load i32, ptr @SSL_R_BAD_EARLY_DATA, align 4, !tbaa !14 %20 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18, i32 noundef %19) #2 br label %63 21: ; preds = %5 %22 = load i64, ptr %0, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %52, label %24 24: ; preds = %21 %25 = getelementptr inbounds i8, ptr %0, i64 48 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = icmp eq i32 %26, 0 br i1 %27, label %52, label %28 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %0, i64 8 %30 = load i64, ptr %29, align 8, !tbaa !18 %31 = load i64, ptr @SSL_EARLY_DATA_ACCEPTING, align 8, !tbaa !19 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %52 33: ; preds = %28 %34 = getelementptr inbounds i8, ptr %0, i64 24 %35 = getelementptr inbounds i8, ptr %0, i64 28 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = icmp eq i32 %36, 0 br i1 %37, label %52, label %38 38: ; preds = %33 %39 = getelementptr inbounds i8, ptr %0, i64 16 %40 = load i64, ptr %39, align 8, !tbaa !20 %41 = load i64, ptr @SSL_HRR_NONE, align 8, !tbaa !19 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %52 43: ; preds = %38 %44 = getelementptr inbounds i8, ptr %0, i64 40 %45 = load ptr, ptr %44, align 8, !tbaa !21 %46 = icmp eq ptr %45, null br i1 %46, label %55, label %47 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %0, i64 32 %49 = load i32, ptr %48, align 8, !tbaa !22 %50 = tail call i32 %45(ptr noundef nonnull %0, i32 noundef %49) #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %47, %38, %33, %28, %24, %21 %53 = load i32, ptr @SSL_EARLY_DATA_REJECTED, align 4, !tbaa !14 %54 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %53, ptr %54, align 8, !tbaa !23 br label %62 55: ; preds = %47, %43 %56 = load i32, ptr @SSL_EARLY_DATA_ACCEPTED, align 4, !tbaa !14 store i32 %56, ptr %34, align 8, !tbaa !23 %57 = load i32, ptr @SSL3_CC_EARLY, align 4, !tbaa !14 %58 = load i32, ptr @SSL3_CHANGE_CIPHER_SERVER_READ, align 4, !tbaa !14 %59 = or i32 %58, %57 %60 = tail call i32 @tls13_change_cipher_state(ptr noundef nonnull %0, i32 noundef %59) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %63, label %62 62: ; preds = %55, %52 br label %63 63: ; preds = %55, %9, %12, %3, %62, %16 %64 = phi i32 [ 1, %62 ], [ 0, %16 ], [ 1, %3 ], [ 1, %12 ], [ 1, %9 ], [ 0, %55 ] ret i32 %64 } declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tls13_change_cipher_state(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 52} !7 = !{!"TYPE_8__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !12, i64 48, !12, i64 52} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!7, !12, i64 28} !16 = !{!7, !8, i64 0} !17 = !{!7, !12, i64 48} !18 = !{!7, !8, i64 8} !19 = !{!8, !8, i64 0} !20 = !{!7, !8, i64 16} !21 = !{!7, !13, i64 40} !22 = !{!7, !12, i64 32} !23 = !{!7, !12, i64 24}
freebsd_crypto_openssl_ssl_statem_extr_extensions.c_final_early_data
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_windowExprGtZero.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_windowExprGtZero.c" target datalayout = "e-m:e-p270:32:32-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_AFF_NUMERIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @windowExprGtZero], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @windowExprGtZero(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr @SQLITE_AFF_NUMERIC, align 4, !tbaa !14 %7 = call i32 @sqlite3ValueFromExpr(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3 %8 = load ptr, ptr %3, align 8, !tbaa !10 %9 = icmp eq ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %2 %11 = call i64 @sqlite3_value_int(ptr noundef nonnull %8) #3 %12 = icmp sgt i64 %11, 0 %13 = zext i1 %12 to i32 %14 = load ptr, ptr %3, align 8, !tbaa !10 br label %15 15: ; preds = %10, %2 %16 = phi ptr [ null, %2 ], [ %14, %10 ] %17 = phi i32 [ 0, %2 ], [ %13, %10 ] %18 = call i32 @sqlite3ValueFree(ptr noundef %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3ValueFromExpr(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_int(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ValueFree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_windowExprGtZero.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_windowExprGtZero.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_AFF_NUMERIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @windowExprGtZero], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @windowExprGtZero(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @SQLITE_AFF_NUMERIC, align 4, !tbaa !15 %7 = call i32 @sqlite3ValueFromExpr(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3 %8 = load ptr, ptr %3, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %2 %11 = call i64 @sqlite3_value_int(ptr noundef nonnull %8) #3 %12 = icmp sgt i64 %11, 0 %13 = zext i1 %12 to i32 %14 = load ptr, ptr %3, align 8, !tbaa !11 br label %15 15: ; preds = %10, %2 %16 = phi ptr [ null, %2 ], [ %14, %10 ] %17 = phi i32 [ 0, %2 ], [ %13, %10 ] %18 = call i32 @sqlite3ValueFree(ptr noundef %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3ValueFromExpr(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_int(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3ValueFree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0}
poco_Data_SQLite_src_extr_sqlite3.c_windowExprGtZero
; ModuleID = 'AnghaBench/sqlcipher/src/extr_whereexpr.c_markTermAsChild.c' source_filename = "AnghaBench/sqlcipher/src/extr_whereexpr.c_markTermAsChild.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @markTermAsChild], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @markTermAsChild(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5 store i32 %2, ptr %6, align 4, !tbaa !10 %7 = sext i32 %2 to i64 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %7, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5, i32 2 store i32 %9, ptr %10, align 4, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %7, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_whereexpr.c_markTermAsChild.c' source_filename = "AnghaBench/sqlcipher/src/extr_whereexpr.c_markTermAsChild.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @markTermAsChild], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @markTermAsChild(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5 store i32 %2, ptr %6, align 4, !tbaa !11 %7 = sext i32 %2 to i64 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %7, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5, i32 2 store i32 %9, ptr %10, align 4, !tbaa !14 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %7, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 4, !tbaa !15 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !13, i64 4, !13, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!12, !13, i64 4}
sqlcipher_src_extr_whereexpr.c_markTermAsChild
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_iop-adma.h_iop_desc_get_zero_result.c' source_filename = "AnghaBench/linux/drivers/dma/extr_iop-adma.h_iop_desc_get_zero_result.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SUM_CHECK_P = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iop_desc_get_zero_result], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @iop_desc_get_zero_result(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 8, !tbaa.struct !10 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !tbaa.struct !15 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = load i64, ptr %6, align 8, !tbaa.struct !16 %8 = icmp eq i64 %7, 0 %9 = icmp eq i64 %5, 0 %10 = select i1 %8, i1 true, i1 %9 %11 = zext i1 %10 to i32 %12 = tail call i32 @iop_paranoia(i32 noundef %11) #2 %13 = load i32, ptr @SUM_CHECK_P, align 4, !tbaa !11 %14 = shl i32 %3, %13 ret i32 %14 } declare i32 @iop_paranoia(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 = !{!"iop_adma_desc_slot", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{i64 0, i64 4, !11, i64 8, i64 8, !13, i64 16, i64 8, !13} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{i64 0, i64 8, !13, i64 8, i64 8, !13} !16 = !{i64 0, i64 8, !13}
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_iop-adma.h_iop_desc_get_zero_result.c' source_filename = "AnghaBench/linux/drivers/dma/extr_iop-adma.h_iop_desc_get_zero_result.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SUM_CHECK_P = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iop_desc_get_zero_result], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @iop_desc_get_zero_result(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 8, !tbaa !11 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 %9 = icmp eq i64 %5, 0 %10 = select i1 %8, i1 true, i1 %9 %11 = zext i1 %10 to i32 %12 = tail call i32 @iop_paranoia(i32 noundef %11) #2 %13 = load i32, ptr @SUM_CHECK_P, align 4, !tbaa !11 %14 = shl i32 %3, %13 ret i32 %14 } declare i32 @iop_paranoia(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 = !{!"iop_adma_desc_slot", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0}
linux_drivers_dma_extr_iop-adma.h_iop_desc_get_zero_result
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_data.c_open_file_read.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_data.c_open_file_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.stat = type { i64, i64 } %struct.TYPE_2__ = type { i64, i32 } %struct.perf_data = type { %struct.TYPE_2__, i32 } @STRERR_BUFSIZE = dso_local local_unnamed_addr global i32 0, align 4 @O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"failed to open %s: %s\00", align 1 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"perf.data\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c" (try 'perf record' first)\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [64 x i8] c"File %s not owned by current user or root (use -f to override)\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"zero-sized data (%s), nothing to do!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @open_file_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @open_file_read(ptr nocapture noundef %0) #0 { %2 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %3 = load i32, ptr @STRERR_BUFSIZE, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = tail call ptr @llvm.stacksave.p0() %6 = alloca i8, i64 %4, align 16 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !9 %9 = load i32, ptr @O_RDONLY, align 4, !tbaa !5 %10 = tail call i32 @open(i32 noundef %8, i32 noundef %9) #4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %28 12: ; preds = %1 %13 = load i32, ptr @errno, align 4, !tbaa !5 %14 = load i32, ptr %7, align 8, !tbaa !9 %15 = call i32 @str_error_r(i32 noundef %13, ptr noundef nonnull %6, i32 noundef %3) #4 %16 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %15) #4 %17 = load i32, ptr @ENOENT, align 4, !tbaa !5 %18 = icmp eq i32 %13, %17 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load i32, ptr %7, align 8, !tbaa !9 %21 = call i32 @strcmp(i32 noundef %20, ptr noundef nonnull @.str.1) #4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2) #4 br label %25 25: ; preds = %23, %19, %12 %26 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.3) #4 %27 = sub nsw i32 0, %13 br label %54 28: ; preds = %1 %29 = call i64 @fstat(i32 noundef %10, ptr noundef nonnull %2) #4 %30 = icmp slt i64 %29, 0 br i1 %30, label %52, label %31 31: ; preds = %28 %32 = getelementptr inbounds %struct.perf_data, ptr %0, i64 0, i32 1 %33 = load i32, ptr %32, align 8, !tbaa !13 %34 = icmp eq i32 %33, 0 %35 = load i64, ptr %2, align 8 %36 = icmp ne i64 %35, 0 %37 = select i1 %34, i1 %36, i1 false br i1 %37, label %38, label %44 38: ; preds = %31 %39 = call i64 (...) @geteuid() #4 %40 = icmp eq i64 %35, %39 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %7, align 8, !tbaa !9 %43 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.4, i32 noundef %42) #4 br label %52 44: ; preds = %38, %31 %45 = getelementptr inbounds %struct.stat, ptr %2, i64 0, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !14 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load i32, ptr %7, align 8, !tbaa !9 %50 = call i32 @pr_info(ptr noundef nonnull @.str.5, i32 noundef %49) #4 br label %52 51: ; preds = %44 store i64 %46, ptr %0, align 8, !tbaa !16 br label %54 52: ; preds = %28, %48, %41 %53 = call i32 @close(i32 noundef %10) #4 br label %54 54: ; preds = %52, %51, %25 %55 = phi i32 [ %27, %25 ], [ -1, %52 ], [ %10, %51 ] call void @llvm.stackrestore.p0(ptr %5) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #3 declare i32 @str_error_r(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @geteuid(...) local_unnamed_addr #3 declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @close(i32 noundef) local_unnamed_addr #3 ; 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, !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 = !{!"perf_data", !11, i64 0, !6, i64 16} !11 = !{!"TYPE_2__", !12, i64 0, !6, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 16} !14 = !{!15, !12, i64 8} !15 = !{!"stat", !12, i64 0, !12, i64 8} !16 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_data.c_open_file_read.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_data.c_open_file_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i64, i64 } @STRERR_BUFSIZE = common local_unnamed_addr global i32 0, align 4 @O_RDONLY = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"failed to open %s: %s\00", align 1 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"perf.data\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c" (try 'perf record' first)\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [64 x i8] c"File %s not owned by current user or root (use -f to override)\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"zero-sized data (%s), nothing to do!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @open_file_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @open_file_read(ptr nocapture noundef %0) #0 { %2 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %3 = load i32, ptr @STRERR_BUFSIZE, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = tail call ptr @llvm.stacksave.p0() %6 = alloca i8, i64 %4, align 1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = load i32, ptr @O_RDONLY, align 4, !tbaa !6 %10 = tail call i32 @open(i32 noundef %8, i32 noundef %9) #4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %28 12: ; preds = %1 %13 = load i32, ptr @errno, align 4, !tbaa !6 %14 = load i32, ptr %7, align 8, !tbaa !10 %15 = call i32 @str_error_r(i32 noundef %13, ptr noundef nonnull %6, i32 noundef %3) #4 %16 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %15) #4 %17 = load i32, ptr @ENOENT, align 4, !tbaa !6 %18 = icmp eq i32 %13, %17 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load i32, ptr %7, align 8, !tbaa !10 %21 = call i32 @strcmp(i32 noundef %20, ptr noundef nonnull @.str.1) #4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2) #4 br label %25 25: ; preds = %23, %19, %12 %26 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.3) #4 %27 = sub nsw i32 0, %13 br label %54 28: ; preds = %1 %29 = call i64 @fstat(i32 noundef %10, ptr noundef nonnull %2) #4 %30 = icmp slt i64 %29, 0 br i1 %30, label %52, label %31 31: ; preds = %28 %32 = getelementptr inbounds i8, ptr %0, i64 16 %33 = load i32, ptr %32, align 8, !tbaa !14 %34 = icmp eq i32 %33, 0 %35 = load i64, ptr %2, align 8 %36 = icmp ne i64 %35, 0 %37 = select i1 %34, i1 %36, i1 false br i1 %37, label %38, label %44 38: ; preds = %31 %39 = call i64 @geteuid() #4 %40 = icmp eq i64 %35, %39 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr %7, align 8, !tbaa !10 %43 = call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.4, i32 noundef %42) #4 br label %52 44: ; preds = %38, %31 %45 = getelementptr inbounds i8, ptr %2, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !15 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load i32, ptr %7, align 8, !tbaa !10 %50 = call i32 @pr_info(ptr noundef nonnull @.str.5, i32 noundef %49) #4 br label %52 51: ; preds = %44 store i64 %46, ptr %0, align 8, !tbaa !17 br label %54 52: ; preds = %28, %48, %41 %53 = call i32 @close(i32 noundef %10) #4 br label %54 54: ; preds = %52, %51, %25 %55 = phi i32 [ %27, %25 ], [ -1, %52 ], [ %10, %51 ] call void @llvm.stackrestore.p0(ptr %5) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #3 declare i32 @str_error_r(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @geteuid(...) local_unnamed_addr #3 declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @close(i32 noundef) local_unnamed_addr #3 ; 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, !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 = !{!"perf_data", !12, i64 0, !7, i64 16} !12 = !{!"TYPE_2__", !13, i64 0, !7, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!16, !13, i64 8} !16 = !{!"stat", !13, i64 0, !13, i64 8} !17 = !{!11, !13, i64 0}
linux_tools_perf_util_extr_data.c_open_file_read
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_DeleteCommand.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_DeleteCommand.c" target datalayout = "e-m:e-p270:32:32-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.ncprange = type { i32 } %struct.cmdargs = type { i32, i32, ptr, ptr, ptr } %struct.TYPE_13__ = type { i32, %struct.TYPE_10__, %struct.TYPE_8__ } %struct.TYPE_10__ = type { %struct.TYPE_9__, i32, i32 } %struct.TYPE_9__ = type { ptr } %struct.TYPE_8__ = type { i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"MYADDR\00", align 1 @ROUTE_DSTMYADDR = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"MYADDR6\00", align 1 @ROUTE_DSTMYADDR6 = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"HISADDR\00", align 1 @ROUTE_DSTHISADDR = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"HISADDR6\00", align 1 @ROUTE_DSTHISADDR6 = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"DNS0\00", align 1 @ROUTE_DSTDNS0 = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"DNS1\00", align 1 @ROUTE_DSTDNS1 = dso_local local_unnamed_addr global i32 0, align 4 @ROUTE_STATIC = dso_local local_unnamed_addr global i32 0, align 4 @RTM_DELETE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DeleteCommand], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @DeleteCommand(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.ncprange, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = add nsw i32 %5, 1 %7 = icmp eq i32 %3, %6 br i1 %7, label %8, label %128 8: ; preds = %1 %9 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 4 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = sext i32 %5 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i64 @strcasecmp(i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %8 %17 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = tail call i32 @route_IfDelete(ptr noundef %18, i32 noundef 0) #3 %20 = load ptr, ptr %17, align 8, !tbaa !14 %21 = tail call i32 @route_DeleteAll(ptr noundef %20) #3 br label %128 22: ; preds = %8 %23 = load ptr, ptr %9, align 8, !tbaa !12 %24 = load i32, ptr %4, align 4, !tbaa !11 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = tail call i64 @strcasecmp(i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %22 %31 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %32 = load ptr, ptr %31, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.TYPE_13__, ptr %32, i64 0, i32 1, i32 2 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %34) #3 br label %114 36: ; preds = %22 %37 = load ptr, ptr %9, align 8, !tbaa !12 %38 = load i32, ptr %4, align 4, !tbaa !11 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !13 %42 = tail call i64 @strcasecmp(i32 noundef %41, ptr noundef nonnull @.str.2) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %36 %45 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %46 = load ptr, ptr %45, align 8, !tbaa !14 %47 = getelementptr inbounds %struct.TYPE_13__, ptr %46, i64 0, i32 2, i32 1 %48 = call i32 @ncprange_sethost(ptr noundef nonnull %2, ptr noundef nonnull %47) #3 br label %114 49: ; preds = %36 %50 = load ptr, ptr %9, align 8, !tbaa !12 %51 = load i32, ptr %4, align 4, !tbaa !11 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4, !tbaa !13 %55 = tail call i64 @strcasecmp(i32 noundef %54, ptr noundef nonnull @.str.3) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %49 %58 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %59 = load ptr, ptr %58, align 8, !tbaa !14 %60 = getelementptr inbounds %struct.TYPE_13__, ptr %59, i64 0, i32 1, i32 1 %61 = load i32, ptr %60, align 8, !tbaa !21 %62 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %61) #3 br label %114 63: ; preds = %49 %64 = load ptr, ptr %9, align 8, !tbaa !12 %65 = load i32, ptr %4, align 4, !tbaa !11 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4, !tbaa !13 %69 = tail call i64 @strcasecmp(i32 noundef %68, ptr noundef nonnull @.str.4) #3 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %76 71: ; preds = %63 %72 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %73 = load ptr, ptr %72, align 8, !tbaa !14 %74 = getelementptr inbounds %struct.TYPE_13__, ptr %73, i64 0, i32 2 %75 = call i32 @ncprange_sethost(ptr noundef nonnull %2, ptr noundef nonnull %74) #3 br label %114 76: ; preds = %63 %77 = load ptr, ptr %9, align 8, !tbaa !12 %78 = load i32, ptr %4, align 4, !tbaa !11 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4, !tbaa !13 %82 = tail call i64 @strcasecmp(i32 noundef %81, ptr noundef nonnull @.str.5) #3 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %91 84: ; preds = %76 %85 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %86 = load ptr, ptr %85, align 8, !tbaa !14 %87 = getelementptr inbounds %struct.TYPE_13__, ptr %86, i64 0, i32 1 %88 = load ptr, ptr %87, align 8, !tbaa !22 %89 = load i32, ptr %88, align 4, !tbaa !13 %90 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %89) #3 br label %114 91: ; preds = %76 %92 = load ptr, ptr %9, align 8, !tbaa !12 %93 = load i32, ptr %4, align 4, !tbaa !11 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 %96 = load i32, ptr %95, align 4, !tbaa !13 %97 = tail call i64 @strcasecmp(i32 noundef %96, ptr noundef nonnull @.str.6) #3 %98 = icmp eq i64 %97, 0 %99 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %100 = load ptr, ptr %99, align 8, !tbaa !14 br i1 %98, label %101, label %107 101: ; preds = %91 %102 = getelementptr inbounds %struct.TYPE_13__, ptr %100, i64 0, i32 1 %103 = load ptr, ptr %102, align 8, !tbaa !22 %104 = getelementptr inbounds i32, ptr %103, i64 1 %105 = load i32, ptr %104, align 4, !tbaa !13 %106 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %105) #3 br label %114 107: ; preds = %91 %108 = load ptr, ptr %9, align 8, !tbaa !12 %109 = load i32, ptr %4, align 4, !tbaa !11 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load i32, ptr %111, align 4, !tbaa !13 %113 = call i32 @ncprange_aton(ptr noundef nonnull %2, ptr noundef %100, i32 noundef %112) #3 br label %114 114: ; preds = %44, %71, %101, %107, %84, %57, %30 %115 = phi ptr [ @ROUTE_DSTMYADDR, %30 ], [ @ROUTE_DSTMYADDR6, %44 ], [ @ROUTE_DSTHISADDR, %57 ], [ @ROUTE_DSTHISADDR6, %71 ], [ @ROUTE_DSTDNS0, %84 ], [ @ROUTE_DSTDNS1, %101 ], [ @ROUTE_STATIC, %107 ] %116 = load i32, ptr %115, align 4, !tbaa !13 %117 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 2 %118 = load ptr, ptr %117, align 8, !tbaa !14 %119 = load i32, ptr @RTM_DELETE, align 4, !tbaa !13 %120 = getelementptr inbounds %struct.cmdargs, ptr %0, i64 0, i32 3 %121 = load ptr, ptr %120, align 8, !tbaa !23 %122 = load i64, ptr %121, align 8, !tbaa !24 %123 = icmp ne i64 %122, 0 %124 = zext i1 %123 to i32 %125 = call i32 @rt_Set(ptr noundef %118, i32 noundef %119, ptr noundef nonnull %2, ptr noundef null, i32 noundef %124, i32 noundef 0) #3 %126 = load ptr, ptr %117, align 8, !tbaa !14 %127 = call i32 @route_Delete(ptr noundef %126, i32 noundef %116, ptr noundef nonnull %2) #3 br label %128 128: ; preds = %114, %16, %1 %129 = phi i32 [ -1, %1 ], [ 0, %16 ], [ 0, %114 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %129 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @route_IfDelete(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @route_DeleteAll(ptr noundef) local_unnamed_addr #2 declare i32 @ncprange_setip4host(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ncprange_sethost(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ncprange_aton(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt_Set(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @route_Delete(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, !7, i64 0} !6 = !{!"cmdargs", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, 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 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 24} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !7, i64 20} !16 = !{!"TYPE_12__", !17, i64 0} !17 = !{!"TYPE_13__", !7, i64 0, !18, i64 8, !20, i64 24} !18 = !{!"TYPE_10__", !19, i64 0, !7, i64 8, !7, i64 12} !19 = !{!"TYPE_9__", !10, i64 0} !20 = !{!"TYPE_8__", !7, i64 0, !7, i64 4} !21 = !{!16, !7, i64 16} !22 = !{!16, !10, i64 8} !23 = !{!6, !10, i64 16} !24 = !{!25, !26, i64 0} !25 = !{!"TYPE_11__", !26, i64 0} !26 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_DeleteCommand.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_DeleteCommand.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ncprange = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"MYADDR\00", align 1 @ROUTE_DSTMYADDR = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"MYADDR6\00", align 1 @ROUTE_DSTMYADDR6 = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"HISADDR\00", align 1 @ROUTE_DSTHISADDR = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"HISADDR6\00", align 1 @ROUTE_DSTHISADDR6 = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"DNS0\00", align 1 @ROUTE_DSTDNS0 = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"DNS1\00", align 1 @ROUTE_DSTDNS1 = common local_unnamed_addr global i32 0, align 4 @ROUTE_STATIC = common local_unnamed_addr global i32 0, align 4 @RTM_DELETE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DeleteCommand], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @DeleteCommand(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.ncprange, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = add nsw i32 %5, 1 %7 = icmp eq i32 %3, %6 br i1 %7, label %8, label %128 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = sext i32 %5 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = tail call i64 @strcasecmp(i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %8 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = tail call i32 @route_IfDelete(ptr noundef %18, i32 noundef 0) #3 %20 = load ptr, ptr %17, align 8, !tbaa !15 %21 = tail call i32 @route_DeleteAll(ptr noundef %20) #3 br label %128 22: ; preds = %8 %23 = load ptr, ptr %9, align 8, !tbaa !13 %24 = load i32, ptr %4, align 4, !tbaa !12 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = tail call i64 @strcasecmp(i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %22 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = load ptr, ptr %31, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %32, i64 20 %34 = load i32, ptr %33, align 4, !tbaa !16 %35 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %34) #3 br label %114 36: ; preds = %22 %37 = load ptr, ptr %9, align 8, !tbaa !13 %38 = load i32, ptr %4, align 4, !tbaa !12 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !14 %42 = tail call i64 @strcasecmp(i32 noundef %41, ptr noundef nonnull @.str.2) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %36 %45 = getelementptr inbounds i8, ptr %0, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !15 %47 = getelementptr inbounds i8, ptr %46, i64 28 %48 = call i32 @ncprange_sethost(ptr noundef nonnull %2, ptr noundef nonnull %47) #3 br label %114 49: ; preds = %36 %50 = load ptr, ptr %9, align 8, !tbaa !13 %51 = load i32, ptr %4, align 4, !tbaa !12 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4, !tbaa !14 %55 = tail call i64 @strcasecmp(i32 noundef %54, ptr noundef nonnull @.str.3) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %63 57: ; preds = %49 %58 = getelementptr inbounds i8, ptr %0, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !15 %60 = getelementptr inbounds i8, ptr %59, i64 16 %61 = load i32, ptr %60, align 8, !tbaa !22 %62 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %61) #3 br label %114 63: ; preds = %49 %64 = load ptr, ptr %9, align 8, !tbaa !13 %65 = load i32, ptr %4, align 4, !tbaa !12 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4, !tbaa !14 %69 = tail call i64 @strcasecmp(i32 noundef %68, ptr noundef nonnull @.str.4) #3 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %76 71: ; preds = %63 %72 = getelementptr inbounds i8, ptr %0, i64 8 %73 = load ptr, ptr %72, align 8, !tbaa !15 %74 = getelementptr inbounds i8, ptr %73, i64 24 %75 = call i32 @ncprange_sethost(ptr noundef nonnull %2, ptr noundef nonnull %74) #3 br label %114 76: ; preds = %63 %77 = load ptr, ptr %9, align 8, !tbaa !13 %78 = load i32, ptr %4, align 4, !tbaa !12 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4, !tbaa !14 %82 = tail call i64 @strcasecmp(i32 noundef %81, ptr noundef nonnull @.str.5) #3 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %91 84: ; preds = %76 %85 = getelementptr inbounds i8, ptr %0, i64 8 %86 = load ptr, ptr %85, align 8, !tbaa !15 %87 = getelementptr inbounds i8, ptr %86, i64 8 %88 = load ptr, ptr %87, align 8, !tbaa !23 %89 = load i32, ptr %88, align 4, !tbaa !14 %90 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %89) #3 br label %114 91: ; preds = %76 %92 = load ptr, ptr %9, align 8, !tbaa !13 %93 = load i32, ptr %4, align 4, !tbaa !12 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 %96 = load i32, ptr %95, align 4, !tbaa !14 %97 = tail call i64 @strcasecmp(i32 noundef %96, ptr noundef nonnull @.str.6) #3 %98 = icmp eq i64 %97, 0 %99 = getelementptr inbounds i8, ptr %0, i64 8 %100 = load ptr, ptr %99, align 8, !tbaa !15 br i1 %98, label %101, label %107 101: ; preds = %91 %102 = getelementptr inbounds i8, ptr %100, i64 8 %103 = load ptr, ptr %102, align 8, !tbaa !23 %104 = getelementptr inbounds i8, ptr %103, i64 4 %105 = load i32, ptr %104, align 4, !tbaa !14 %106 = call i32 @ncprange_setip4host(ptr noundef nonnull %2, i32 noundef %105) #3 br label %114 107: ; preds = %91 %108 = load ptr, ptr %9, align 8, !tbaa !13 %109 = load i32, ptr %4, align 4, !tbaa !12 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 %112 = load i32, ptr %111, align 4, !tbaa !14 %113 = call i32 @ncprange_aton(ptr noundef nonnull %2, ptr noundef %100, i32 noundef %112) #3 br label %114 114: ; preds = %44, %71, %101, %107, %84, %57, %30 %115 = phi ptr [ @ROUTE_DSTMYADDR, %30 ], [ @ROUTE_DSTMYADDR6, %44 ], [ @ROUTE_DSTHISADDR, %57 ], [ @ROUTE_DSTHISADDR6, %71 ], [ @ROUTE_DSTDNS0, %84 ], [ @ROUTE_DSTDNS1, %101 ], [ @ROUTE_STATIC, %107 ] %116 = load i32, ptr %115, align 4, !tbaa !14 %117 = getelementptr inbounds i8, ptr %0, i64 8 %118 = load ptr, ptr %117, align 8, !tbaa !15 %119 = load i32, ptr @RTM_DELETE, align 4, !tbaa !14 %120 = getelementptr inbounds i8, ptr %0, i64 16 %121 = load ptr, ptr %120, align 8, !tbaa !24 %122 = load i64, ptr %121, align 8, !tbaa !25 %123 = icmp ne i64 %122, 0 %124 = zext i1 %123 to i32 %125 = call i32 @rt_Set(ptr noundef %118, i32 noundef %119, ptr noundef nonnull %2, ptr noundef null, i32 noundef %124, i32 noundef 0) #3 %126 = load ptr, ptr %117, align 8, !tbaa !15 %127 = call i32 @route_Delete(ptr noundef %126, i32 noundef %116, ptr noundef nonnull %2) #3 br label %128 128: ; preds = %114, %16, %1 %129 = phi i32 [ -1, %1 ], [ 0, %16 ], [ 0, %114 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %129 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @route_IfDelete(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @route_DeleteAll(ptr noundef) local_unnamed_addr #2 declare i32 @ncprange_setip4host(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ncprange_sethost(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ncprange_aton(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt_Set(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @route_Delete(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, !8, i64 0} !7 = !{!"cmdargs", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, 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 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 24} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !8, i64 20} !17 = !{!"TYPE_12__", !18, i64 0} !18 = !{!"TYPE_13__", !8, i64 0, !19, i64 8, !21, i64 24} !19 = !{!"TYPE_10__", !20, i64 0, !8, i64 8, !8, i64 12} !20 = !{!"TYPE_9__", !11, i64 0} !21 = !{!"TYPE_8__", !8, i64 0, !8, i64 4} !22 = !{!17, !8, i64 16} !23 = !{!17, !11, i64 8} !24 = !{!7, !11, i64 16} !25 = !{!26, !27, i64 0} !26 = !{!"TYPE_11__", !27, i64 0} !27 = !{!"long", !9, i64 0}
freebsd_usr.sbin_ppp_extr_command.c_DeleteCommand
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-tlb.c_cvmx_tlb_write_entry.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-tlb.c_cvmx_tlb_write_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: nounwind uwtable define dso_local void @cvmx_tlb_write_entry(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i64 @__is_power_of_two(i32 noundef %3) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %40, label %8 8: ; preds = %5 %9 = tail call i32 @__log2(i32 noundef %3) #2 %10 = and i32 %9, 1 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = tail call i32 @__log2(i32 noundef %3) #2 %14 = shl nuw i32 1, %13 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 %17 = ashr i32 %2, 6 %18 = and i32 %17, -64 %19 = or i32 %18, %4 br i1 %16, label %31, label %20 20: ; preds = %12 %21 = sub nsw i32 %1, %3 br label %31 22: ; preds = %8 %23 = ashr i32 %2, 6 %24 = and i32 %23, -64 %25 = or i32 %24, %4 %26 = sdiv i32 %3, 2 %27 = add nsw i32 %26, %2 %28 = ashr i32 %27, 6 %29 = and i32 %28, -64 %30 = or i32 %29, %4 br label %31 31: ; preds = %12, %20, %22 %32 = phi i32 [ %25, %22 ], [ 0, %20 ], [ %19, %12 ] %33 = phi i32 [ %30, %22 ], [ %19, %20 ], [ 0, %12 ] %34 = phi i32 [ %1, %22 ], [ %21, %20 ], [ %1, %12 ] %35 = phi i32 [ %26, %22 ], [ %3, %20 ], [ %3, %12 ] %36 = add nsw i32 %35, -1 %37 = and i32 %36, -4096 %38 = and i32 %34, -4096 %39 = tail call i32 @__tlb_write_index(i32 noundef %0, i32 noundef %38, i32 noundef %32, i32 noundef %33, i32 noundef %37) #2 br label %40 40: ; preds = %31, %5 ret void } declare i64 @__is_power_of_two(i32 noundef) local_unnamed_addr #1 declare i32 @__log2(i32 noundef) local_unnamed_addr #1 declare i32 @__tlb_write_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-tlb.c_cvmx_tlb_write_entry.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-tlb.c_cvmx_tlb_write_entry.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 @cvmx_tlb_write_entry(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i64 @__is_power_of_two(i32 noundef %3) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %40, label %8 8: ; preds = %5 %9 = tail call i32 @__log2(i32 noundef %3) #2 %10 = and i32 %9, 1 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = tail call i32 @__log2(i32 noundef %3) #2 %14 = shl nuw i32 1, %13 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 %17 = ashr i32 %2, 6 %18 = and i32 %17, -64 %19 = or i32 %18, %4 br i1 %16, label %31, label %20 20: ; preds = %12 %21 = sub nsw i32 %1, %3 br label %31 22: ; preds = %8 %23 = ashr i32 %2, 6 %24 = and i32 %23, -64 %25 = or i32 %24, %4 %26 = sdiv i32 %3, 2 %27 = add nsw i32 %26, %2 %28 = ashr i32 %27, 6 %29 = and i32 %28, -64 %30 = or i32 %29, %4 br label %31 31: ; preds = %12, %20, %22 %32 = phi i32 [ %25, %22 ], [ 0, %20 ], [ %19, %12 ] %33 = phi i32 [ %30, %22 ], [ %19, %20 ], [ 0, %12 ] %34 = phi i32 [ %1, %22 ], [ %21, %20 ], [ %1, %12 ] %35 = phi i32 [ %26, %22 ], [ %3, %20 ], [ %3, %12 ] %36 = add nsw i32 %35, -1 %37 = and i32 %36, -4096 %38 = and i32 %34, -4096 %39 = tail call i32 @__tlb_write_index(i32 noundef %0, i32 noundef %38, i32 noundef %32, i32 noundef %33, i32 noundef %37) #2 br label %40 40: ; preds = %31, %5 ret void } declare i64 @__is_power_of_two(i32 noundef) local_unnamed_addr #1 declare i32 @__log2(i32 noundef) local_unnamed_addr #1 declare i32 @__tlb_write_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_contrib_octeon-sdk_extr_cvmx-tlb.c_cvmx_tlb_write_entry
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_ub.c_ub_request_fn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_ub.c_ub_request_fn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ub_request_fn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ub_request_fn(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 br label %3 3: ; preds = %6, %1 %4 = tail call ptr @blk_peek_request(ptr noundef nonnull %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %11, label %6 6: ; preds = %3 %7 = tail call i64 @ub_request_fn_1(ptr noundef %2, ptr noundef nonnull %4) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %3, label %9, !llvm.loop !10 9: ; preds = %6 %10 = tail call i32 @blk_stop_queue(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %3, %9 ret void } declare ptr @blk_peek_request(ptr noundef) local_unnamed_addr #1 declare i64 @ub_request_fn_1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_stop_queue(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 = !{!"request_queue", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_ub.c_ub_request_fn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_ub.c_ub_request_fn.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 @ub_request_fn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ub_request_fn(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 br label %3 3: ; preds = %6, %1 %4 = tail call ptr @blk_peek_request(ptr noundef nonnull %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %11, label %6 6: ; preds = %3 %7 = tail call i64 @ub_request_fn_1(ptr noundef %2, ptr noundef nonnull %4) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %3, label %9, !llvm.loop !11 9: ; preds = %6 %10 = tail call i32 @blk_stop_queue(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %3, %9 ret void } declare ptr @blk_peek_request(ptr noundef) local_unnamed_addr #1 declare i64 @ub_request_fn_1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_stop_queue(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 = !{!"request_queue", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_block_extr_ub.c_ub_request_fn
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_editPage.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_editPage.c" target datalayout = "e-m:e-p270:32:32-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_15__ = type { i32, i32, i32, ptr, ptr, ptr, ptr } @SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @CORRUPT_DB = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @editPage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @editPage(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 6 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr %0, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 5 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = shl nsw i32 %3, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %17 = add nsw i32 %16, %1 %18 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2 %19 = load i32, ptr %18, align 8, !tbaa !14 %20 = add nsw i32 %17, %19 %21 = add nsw i32 %3, %2 %22 = icmp sgt i32 %16, -1 %23 = zext i1 %22 to i32 %24 = tail call i32 @assert(i32 noundef %23) #3 %25 = icmp slt i32 %1, %2 br i1 %25, label %26, label %40 26: ; preds = %5 %27 = sub nsw i32 %2, %1 %28 = tail call i32 @pageFreeArray(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %27, ptr noundef %4) #3 %29 = icmp sgt i32 %28, %16 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !15 br label %151 32: ; preds = %26 %33 = load ptr, ptr %10, align 8, !tbaa !12 %34 = shl nsw i32 %28, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = shl nsw i32 %16, 1 %38 = tail call i32 @memmove(ptr noundef %33, ptr noundef %36, i32 noundef %37) #3 %39 = sub nsw i32 %16, %28 br label %40 40: ; preds = %32, %5 %41 = phi i32 [ %39, %32 ], [ %16, %5 ] %42 = icmp slt i32 %21, %20 br i1 %42, label %43, label %50 43: ; preds = %40 %44 = sub nsw i32 %20, %21 %45 = tail call i32 @pageFreeArray(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %44, ptr noundef %4) #3 %46 = icmp sge i32 %41, %45 %47 = zext i1 %46 to i32 %48 = tail call i32 @assert(i32 noundef %47) #3 %49 = sub nsw i32 %41, %45 br label %50 50: ; preds = %43, %40 %51 = phi i32 [ %49, %43 ], [ %41, %40 ] %52 = sext i32 %9 to i64 %53 = getelementptr i32, ptr %8, i64 %52 %54 = getelementptr i32, ptr %53, i64 5 %55 = tail call i64 @get2byteNotZero(ptr noundef %54) #3 %56 = getelementptr inbounds i32, ptr %8, i64 %55 store ptr %56, ptr %6, align 8, !tbaa !16 %57 = icmp ult ptr %56, %14 br i1 %57, label %148, label %58 58: ; preds = %50 %59 = icmp slt i32 %2, %1 br i1 %59, label %60, label %83 60: ; preds = %58 %61 = sub nsw i32 %1, %2 %62 = tail call i32 @MIN(i32 noundef %3, i32 noundef %61) #3 %63 = icmp slt i32 %61, %3 %64 = icmp eq i32 %51, 0 %65 = select i1 %63, i1 true, i1 %64 %66 = load i64, ptr @CORRUPT_DB, align 8 %67 = icmp ne i64 %66, 0 %68 = select i1 %65, i1 true, i1 %67 %69 = zext i1 %68 to i32 %70 = tail call i32 @assert(i32 noundef %69) #3 %71 = icmp sgt i32 %62, -1 %72 = zext i1 %71 to i32 %73 = tail call i32 @assert(i32 noundef %72) #3 %74 = load ptr, ptr %10, align 8, !tbaa !12 %75 = shl nsw i32 %62, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = shl nsw i32 %51, 1 %79 = tail call i32 @memmove(ptr noundef %77, ptr noundef %74, i32 noundef %78) #3 %80 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %74, i32 noundef %2, i32 noundef %62, ptr noundef %4) #3 %81 = icmp eq i64 %80, 0 %82 = add nsw i32 %62, %51 br i1 %81, label %83, label %148 83: ; preds = %60, %58 %84 = phi i32 [ %82, %60 ], [ %51, %58 ] %85 = load i32, ptr %18, align 8, !tbaa !14 %86 = icmp sgt i32 %85, 0 br i1 %86, label %87, label %124 87: ; preds = %83 %88 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3 br label %89 89: ; preds = %87, %118 %90 = phi i32 [ %85, %87 ], [ %119, %118 ] %91 = phi i64 [ 0, %87 ], [ %121, %118 ] %92 = phi i32 [ %84, %87 ], [ %120, %118 ] %93 = load ptr, ptr %88, align 8, !tbaa !17 %94 = getelementptr inbounds i32, ptr %93, i64 %91 %95 = load i32, ptr %94, align 4, !tbaa !15 %96 = add nsw i32 %95, %1 %97 = sub nsw i32 %96, %2 %98 = icmp sgt i32 %97, -1 %99 = icmp slt i32 %97, %3 %100 = and i1 %98, %99 br i1 %100, label %101, label %118 101: ; preds = %89 %102 = load ptr, ptr %10, align 8, !tbaa !12 %103 = shl nuw nsw i32 %97, 1 %104 = zext nneg i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 %106 = icmp sgt i32 %92, %97 br i1 %106, label %107, label %112 107: ; preds = %101 %108 = getelementptr inbounds i32, ptr %105, i64 2 %109 = sub nsw i32 %92, %97 %110 = shl nsw i32 %109, 1 %111 = call i32 @memmove(ptr noundef nonnull %108, ptr noundef %105, i32 noundef %110) #3 br label %112 112: ; preds = %107, %101 %113 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %105, i32 noundef %96, i32 noundef 1, ptr noundef %4) #3 %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %148 115: ; preds = %112 %116 = add nsw i32 %92, 1 %117 = load i32, ptr %18, align 8, !tbaa !14 br label %118 118: ; preds = %115, %89 %119 = phi i32 [ %90, %89 ], [ %117, %115 ] %120 = phi i32 [ %92, %89 ], [ %116, %115 ] %121 = add nuw nsw i64 %91, 1 %122 = sext i32 %119 to i64 %123 = icmp slt i64 %121, %122 br i1 %123, label %89, label %124, !llvm.loop !18 124: ; preds = %118, %83 %125 = phi i32 [ %84, %83 ], [ %120, %118 ] %126 = icmp sgt i32 %125, -1 %127 = zext i1 %126 to i32 %128 = call i32 @assert(i32 noundef %127) #3 %129 = load ptr, ptr %10, align 8, !tbaa !12 %130 = shl nsw i32 %125, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i32, ptr %129, i64 %131 %133 = add nsw i32 %125, %2 %134 = sub nsw i32 %3, %125 %135 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %132, i32 noundef %133, i32 noundef %134, ptr noundef %4) #3 %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %148 137: ; preds = %124 store i32 %3, ptr %15, align 4, !tbaa !13 store i32 0, ptr %18, align 8, !tbaa !14 %138 = getelementptr i32, ptr %53, i64 3 %139 = call i32 @put2byte(ptr noundef %138, i32 noundef %3) #3 %140 = load ptr, ptr %6, align 8, !tbaa !16 %141 = ptrtoint ptr %140 to i64 %142 = ptrtoint ptr %8 to i64 %143 = sub i64 %141, %142 %144 = lshr exact i64 %143, 2 %145 = trunc i64 %144 to i32 %146 = call i32 @put2byte(ptr noundef %54, i32 noundef %145) #3 %147 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 br label %151 148: ; preds = %112, %60, %124, %50 %149 = call i32 @populateCellCache(ptr noundef %4, i32 noundef %2, i32 noundef %3) #3 %150 = call i32 @rebuildPage(ptr noundef %4, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %0) #3 br label %151 151: ; preds = %30, %148, %137 %152 = phi i32 [ %150, %148 ], [ %147, %137 ], [ %31, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %152 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @pageFreeArray(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @get2byteNotZero(ptr noundef) local_unnamed_addr #2 declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pageInsertArray(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @put2byte(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @populateCellCache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rebuildPage(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 40} !6 = !{!"TYPE_15__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 32} !13 = !{!6, !7, i64 4} !14 = !{!6, !7, i64 8} !15 = !{!7, !7, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!6, !10, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_editPage.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_editPage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4 @CORRUPT_DB = common local_unnamed_addr global i64 0, align 8 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @editPage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @editPage(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 40 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = shl nsw i32 %3, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !14 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %17 = add nsw i32 %16, %1 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i32, ptr %18, align 8, !tbaa !15 %20 = add nsw i32 %17, %19 %21 = add nsw i32 %3, %2 %22 = icmp sgt i32 %16, -1 %23 = zext i1 %22 to i32 %24 = tail call i32 @assert(i32 noundef %23) #3 %25 = icmp slt i32 %1, %2 br i1 %25, label %26, label %40 26: ; preds = %5 %27 = sub nsw i32 %2, %1 %28 = tail call i32 @pageFreeArray(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %27, ptr noundef %4) #3 %29 = icmp sgt i32 %28, %16 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !16 br label %151 32: ; preds = %26 %33 = load ptr, ptr %10, align 8, !tbaa !13 %34 = shl nsw i32 %28, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = shl nsw i32 %16, 1 %38 = tail call i32 @memmove(ptr noundef %33, ptr noundef %36, i32 noundef %37) #3 %39 = sub nsw i32 %16, %28 br label %40 40: ; preds = %32, %5 %41 = phi i32 [ %39, %32 ], [ %16, %5 ] %42 = icmp slt i32 %21, %20 br i1 %42, label %43, label %50 43: ; preds = %40 %44 = sub nsw i32 %20, %21 %45 = tail call i32 @pageFreeArray(ptr noundef nonnull %0, i32 noundef %21, i32 noundef %44, ptr noundef %4) #3 %46 = icmp sge i32 %41, %45 %47 = zext i1 %46 to i32 %48 = tail call i32 @assert(i32 noundef %47) #3 %49 = sub nsw i32 %41, %45 br label %50 50: ; preds = %43, %40 %51 = phi i32 [ %49, %43 ], [ %41, %40 ] %52 = sext i32 %9 to i64 %53 = getelementptr i32, ptr %8, i64 %52 %54 = getelementptr i8, ptr %53, i64 20 %55 = tail call i64 @get2byteNotZero(ptr noundef %54) #3 %56 = getelementptr inbounds i32, ptr %8, i64 %55 store ptr %56, ptr %6, align 8, !tbaa !17 %57 = icmp ult ptr %56, %14 br i1 %57, label %148, label %58 58: ; preds = %50 %59 = icmp slt i32 %2, %1 br i1 %59, label %60, label %83 60: ; preds = %58 %61 = sub nsw i32 %1, %2 %62 = tail call i32 @MIN(i32 noundef %3, i32 noundef %61) #3 %63 = icmp slt i32 %61, %3 %64 = icmp eq i32 %51, 0 %65 = select i1 %63, i1 true, i1 %64 %66 = load i64, ptr @CORRUPT_DB, align 8 %67 = icmp ne i64 %66, 0 %68 = select i1 %65, i1 true, i1 %67 %69 = zext i1 %68 to i32 %70 = tail call i32 @assert(i32 noundef %69) #3 %71 = icmp sgt i32 %62, -1 %72 = zext i1 %71 to i32 %73 = tail call i32 @assert(i32 noundef %72) #3 %74 = load ptr, ptr %10, align 8, !tbaa !13 %75 = shl nsw i32 %62, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = shl nsw i32 %51, 1 %79 = tail call i32 @memmove(ptr noundef %77, ptr noundef %74, i32 noundef %78) #3 %80 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %74, i32 noundef %2, i32 noundef %62, ptr noundef %4) #3 %81 = icmp eq i64 %80, 0 %82 = add nsw i32 %62, %51 br i1 %81, label %83, label %148 83: ; preds = %60, %58 %84 = phi i32 [ %82, %60 ], [ %51, %58 ] %85 = load i32, ptr %18, align 8, !tbaa !15 %86 = icmp sgt i32 %85, 0 br i1 %86, label %87, label %124 87: ; preds = %83 %88 = getelementptr inbounds i8, ptr %0, i64 16 br label %89 89: ; preds = %87, %118 %90 = phi i32 [ %85, %87 ], [ %119, %118 ] %91 = phi i64 [ 0, %87 ], [ %121, %118 ] %92 = phi i32 [ %84, %87 ], [ %120, %118 ] %93 = load ptr, ptr %88, align 8, !tbaa !18 %94 = getelementptr inbounds i32, ptr %93, i64 %91 %95 = load i32, ptr %94, align 4, !tbaa !16 %96 = add nsw i32 %95, %1 %97 = sub nsw i32 %96, %2 %98 = icmp sgt i32 %97, -1 %99 = icmp slt i32 %97, %3 %100 = and i1 %98, %99 br i1 %100, label %101, label %118 101: ; preds = %89 %102 = load ptr, ptr %10, align 8, !tbaa !13 %103 = shl nuw nsw i32 %97, 1 %104 = zext nneg i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 %106 = icmp sgt i32 %92, %97 br i1 %106, label %107, label %112 107: ; preds = %101 %108 = getelementptr inbounds i8, ptr %105, i64 8 %109 = sub nsw i32 %92, %97 %110 = shl nsw i32 %109, 1 %111 = call i32 @memmove(ptr noundef nonnull %108, ptr noundef %105, i32 noundef %110) #3 br label %112 112: ; preds = %107, %101 %113 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %105, i32 noundef %96, i32 noundef 1, ptr noundef %4) #3 %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %148 115: ; preds = %112 %116 = add nsw i32 %92, 1 %117 = load i32, ptr %18, align 8, !tbaa !15 br label %118 118: ; preds = %115, %89 %119 = phi i32 [ %117, %115 ], [ %90, %89 ] %120 = phi i32 [ %116, %115 ], [ %92, %89 ] %121 = add nuw nsw i64 %91, 1 %122 = sext i32 %119 to i64 %123 = icmp slt i64 %121, %122 br i1 %123, label %89, label %124, !llvm.loop !19 124: ; preds = %118, %83 %125 = phi i32 [ %84, %83 ], [ %120, %118 ] %126 = icmp sgt i32 %125, -1 %127 = zext i1 %126 to i32 %128 = call i32 @assert(i32 noundef %127) #3 %129 = load ptr, ptr %10, align 8, !tbaa !13 %130 = shl nsw i32 %125, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i32, ptr %129, i64 %131 %133 = add nsw i32 %125, %2 %134 = sub nsw i32 %3, %125 %135 = call i64 @pageInsertArray(ptr noundef nonnull %0, ptr noundef %14, ptr noundef nonnull %6, ptr noundef %132, i32 noundef %133, i32 noundef %134, ptr noundef %4) #3 %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %148 137: ; preds = %124 store i32 %3, ptr %15, align 4, !tbaa !14 store i32 0, ptr %18, align 8, !tbaa !15 %138 = getelementptr i8, ptr %53, i64 12 %139 = call i32 @put2byte(ptr noundef %138, i32 noundef %3) #3 %140 = load ptr, ptr %6, align 8, !tbaa !17 %141 = ptrtoint ptr %140 to i64 %142 = ptrtoint ptr %8 to i64 %143 = sub i64 %141, %142 %144 = lshr exact i64 %143, 2 %145 = trunc i64 %144 to i32 %146 = call i32 @put2byte(ptr noundef %54, i32 noundef %145) #3 %147 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 br label %151 148: ; preds = %112, %60, %124, %50 %149 = call i32 @populateCellCache(ptr noundef %4, i32 noundef %2, i32 noundef %3) #3 %150 = call i32 @rebuildPage(ptr noundef %4, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %0) #3 br label %151 151: ; preds = %30, %148, %137 %152 = phi i32 [ %150, %148 ], [ %147, %137 ], [ %31, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %152 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @pageFreeArray(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @get2byteNotZero(ptr noundef) local_unnamed_addr #2 declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pageInsertArray(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @put2byte(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @populateCellCache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rebuildPage(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 40} !7 = !{!"TYPE_15__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 32} !14 = !{!7, !8, i64 4} !15 = !{!7, !8, i64 8} !16 = !{!8, !8, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!7, !11, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
poco_Data_SQLite_src_extr_sqlite3.c_editPage
; ModuleID = 'AnghaBench/linux/drivers/pwm/extr_pwm-zx.c_zx_pwm_config.c' source_filename = "AnghaBench/linux/drivers/pwm/extr_pwm-zx.c_zx_pwm_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NSEC_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_PERIOD_MAX = dso_local local_unnamed_addr global i64 0, align 8 @ZX_PWM_CLKDIV_MAX = dso_local local_unnamed_addr global i32 0, align 4 @ERANGE = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_MODE = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_EN = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_CLKDIV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_PERIOD = dso_local local_unnamed_addr global i32 0, align 4 @ZX_PWM_DUTY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zx_pwm_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zx_pwm_config(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @to_zx_pwm_chip(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i64 @clk_get_rate(i32 noundef %6) #2 %8 = zext i32 %3 to i64 br label %9 9: ; preds = %18, %4 %10 = phi i32 [ 1, %4 ], [ %19, %18 ] %11 = zext i32 %10 to i64 %12 = udiv i64 %7, %11 %13 = mul i64 %12, %8 %14 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !10 %15 = tail call i32 @do_div(i64 noundef %13, i32 noundef %14) #2 %16 = load i64, ptr @ZX_PWM_PERIOD_MAX, align 8, !tbaa !11 %17 = icmp ult i64 %13, %16 br i1 %17, label %25, label %18 18: ; preds = %9 %19 = add i32 %10, 1 %20 = load i32, ptr @ZX_PWM_CLKDIV_MAX, align 4, !tbaa !10 %21 = icmp ugt i32 %19, %20 br i1 %21, label %22, label %9 22: ; preds = %18 %23 = load i32, ptr @ERANGE, align 4, !tbaa !10 %24 = sub nsw i32 0, %23 br label %57 25: ; preds = %9 %26 = trunc i64 %13 to i32 %27 = zext i32 %2 to i64 %28 = mul i64 %13, %27 %29 = tail call i32 @do_div(i64 noundef %28, i32 noundef %3) #2 %30 = trunc i64 %28 to i32 %31 = tail call i64 @pwm_is_enabled(ptr noundef %1) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %25 %34 = load i32, ptr %1, align 4, !tbaa !13 %35 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !10 %36 = load i32, ptr @ZX_PWM_EN, align 4, !tbaa !10 %37 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef 0) #2 br label %38 38: ; preds = %33, %25 %39 = load i32, ptr %1, align 4, !tbaa !13 %40 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !10 %41 = load i32, ptr @ZX_PWM_CLKDIV_MASK, align 4, !tbaa !10 %42 = tail call i32 @ZX_PWM_CLKDIV(i32 noundef %10) #2 %43 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) #2 %44 = load i32, ptr %1, align 4, !tbaa !13 %45 = load i32, ptr @ZX_PWM_PERIOD, align 4, !tbaa !10 %46 = tail call i32 @zx_pwm_writel(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %45, i32 noundef %26) #2 %47 = load i32, ptr %1, align 4, !tbaa !13 %48 = load i32, ptr @ZX_PWM_DUTY, align 4, !tbaa !10 %49 = tail call i32 @zx_pwm_writel(ptr noundef nonnull %5, i32 noundef %47, i32 noundef %48, i32 noundef %30) #2 %50 = tail call i64 @pwm_is_enabled(ptr noundef nonnull %1) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %38 %53 = load i32, ptr %1, align 4, !tbaa !13 %54 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !10 %55 = load i32, ptr @ZX_PWM_EN, align 4, !tbaa !10 %56 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %55) #2 br label %57 57: ; preds = %38, %52, %22 %58 = phi i32 [ %24, %22 ], [ 0, %52 ], [ 0, %38 ] ret i32 %58 } declare ptr @to_zx_pwm_chip(ptr noundef) local_unnamed_addr #1 declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i32 @do_div(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pwm_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @zx_pwm_set_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ZX_PWM_CLKDIV(i32 noundef) local_unnamed_addr #1 declare i32 @zx_pwm_writel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"zx_pwm_chip", !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, !12, i64 0} !12 = !{!"long long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"pwm_device", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pwm/extr_pwm-zx.c_zx_pwm_config.c' source_filename = "AnghaBench/linux/drivers/pwm/extr_pwm-zx.c_zx_pwm_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NSEC_PER_SEC = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_PERIOD_MAX = common local_unnamed_addr global i64 0, align 8 @ZX_PWM_CLKDIV_MAX = common local_unnamed_addr global i32 0, align 4 @ERANGE = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_MODE = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_EN = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_CLKDIV_MASK = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_PERIOD = common local_unnamed_addr global i32 0, align 4 @ZX_PWM_DUTY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zx_pwm_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @zx_pwm_config(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @to_zx_pwm_chip(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i64 @clk_get_rate(i32 noundef %6) #2 %8 = zext i32 %3 to i64 br label %9 9: ; preds = %18, %4 %10 = phi i32 [ 1, %4 ], [ %19, %18 ] %11 = zext i32 %10 to i64 %12 = udiv i64 %7, %11 %13 = mul i64 %12, %8 %14 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !11 %15 = tail call i32 @do_div(i64 noundef %13, i32 noundef %14) #2 %16 = load i64, ptr @ZX_PWM_PERIOD_MAX, align 8, !tbaa !12 %17 = icmp ult i64 %13, %16 br i1 %17, label %25, label %18 18: ; preds = %9 %19 = add i32 %10, 1 %20 = load i32, ptr @ZX_PWM_CLKDIV_MAX, align 4, !tbaa !11 %21 = icmp ugt i32 %19, %20 br i1 %21, label %22, label %9 22: ; preds = %18 %23 = load i32, ptr @ERANGE, align 4, !tbaa !11 %24 = sub nsw i32 0, %23 br label %57 25: ; preds = %9 %26 = trunc i64 %13 to i32 %27 = zext i32 %2 to i64 %28 = mul i64 %13, %27 %29 = tail call i32 @do_div(i64 noundef %28, i32 noundef %3) #2 %30 = trunc i64 %28 to i32 %31 = tail call i64 @pwm_is_enabled(ptr noundef %1) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %25 %34 = load i32, ptr %1, align 4, !tbaa !14 %35 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !11 %36 = load i32, ptr @ZX_PWM_EN, align 4, !tbaa !11 %37 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef 0) #2 br label %38 38: ; preds = %33, %25 %39 = load i32, ptr %1, align 4, !tbaa !14 %40 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !11 %41 = load i32, ptr @ZX_PWM_CLKDIV_MASK, align 4, !tbaa !11 %42 = tail call i32 @ZX_PWM_CLKDIV(i32 noundef %10) #2 %43 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) #2 %44 = load i32, ptr %1, align 4, !tbaa !14 %45 = load i32, ptr @ZX_PWM_PERIOD, align 4, !tbaa !11 %46 = tail call i32 @zx_pwm_writel(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %45, i32 noundef %26) #2 %47 = load i32, ptr %1, align 4, !tbaa !14 %48 = load i32, ptr @ZX_PWM_DUTY, align 4, !tbaa !11 %49 = tail call i32 @zx_pwm_writel(ptr noundef nonnull %5, i32 noundef %47, i32 noundef %48, i32 noundef %30) #2 %50 = tail call i64 @pwm_is_enabled(ptr noundef nonnull %1) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %38 %53 = load i32, ptr %1, align 4, !tbaa !14 %54 = load i32, ptr @ZX_PWM_MODE, align 4, !tbaa !11 %55 = load i32, ptr @ZX_PWM_EN, align 4, !tbaa !11 %56 = tail call i32 @zx_pwm_set_mask(ptr noundef nonnull %5, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %55) #2 br label %57 57: ; preds = %38, %52, %22 %58 = phi i32 [ %24, %22 ], [ 0, %52 ], [ 0, %38 ] ret i32 %58 } declare ptr @to_zx_pwm_chip(ptr noundef) local_unnamed_addr #1 declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i32 @do_div(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pwm_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @zx_pwm_set_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ZX_PWM_CLKDIV(i32 noundef) local_unnamed_addr #1 declare i32 @zx_pwm_writel(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"zx_pwm_chip", !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, !13, i64 0} !13 = !{!"long long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"pwm_device", !8, i64 0}
linux_drivers_pwm_extr_pwm-zx.c_zx_pwm_config
; ModuleID = 'AnghaBench/libui/_wip/examples_drawtext/extr_attributes.c_addFeature.c' source_filename = "AnghaBench/libui/_wip/examples_drawtext/extr_attributes.c_addFeature.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @curFeature = dso_local local_unnamed_addr global i64 0, align 8 @nFeatures = dso_local local_unnamed_addr global i64 0, align 8 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"TODO (also TODO is there a panic function?)\0A\00", align 1 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @features = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @addFeature], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @addFeature(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr @curFeature, align 8, !tbaa !5 %4 = load i64, ptr @nFeatures, align 8, !tbaa !5 %5 = icmp ult i64 %3, %4 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load i32, ptr @stderr, align 4, !tbaa !9 %8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str) #3 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !9 %10 = tail call i32 @exit(i32 noundef %9) #4 unreachable 11: ; preds = %2 %12 = tail call ptr (...) @uiNewOpenTypeFeatures() #3 %13 = load i8, ptr %0, align 1, !tbaa !11 %14 = getelementptr inbounds i8, ptr %0, i64 1 %15 = load i8, ptr %14, align 1, !tbaa !11 %16 = getelementptr inbounds i8, ptr %0, i64 2 %17 = load i8, ptr %16, align 1, !tbaa !11 %18 = getelementptr inbounds i8, ptr %0, i64 3 %19 = load i8, ptr %18, align 1, !tbaa !11 %20 = tail call i32 @uiOpenTypeFeaturesAdd(ptr noundef %12, i8 noundef signext %13, i8 noundef signext %15, i8 noundef signext %17, i8 noundef signext %19, i32 noundef %1) #3 %21 = load ptr, ptr @features, align 8, !tbaa !12 %22 = load i64, ptr @curFeature, align 8, !tbaa !5 %23 = getelementptr inbounds ptr, ptr %21, i64 %22 store ptr %12, ptr %23, align 8, !tbaa !12 %24 = add i64 %22, 1 store i64 %24, ptr @curFeature, align 8, !tbaa !5 ret ptr %12 } declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare ptr @uiNewOpenTypeFeatures(...) local_unnamed_addr #1 declare i32 @uiOpenTypeFeaturesAdd(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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 = { 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 = !{!"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 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/libui/_wip/examples_drawtext/extr_attributes.c_addFeature.c' source_filename = "AnghaBench/libui/_wip/examples_drawtext/extr_attributes.c_addFeature.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @curFeature = common local_unnamed_addr global i64 0, align 8 @nFeatures = common local_unnamed_addr global i64 0, align 8 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"TODO (also TODO is there a panic function?)\0A\00", align 1 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @features = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @addFeature], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @addFeature(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr @curFeature, align 8, !tbaa !6 %4 = load i64, ptr @nFeatures, align 8, !tbaa !6 %5 = icmp ult i64 %3, %4 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load i32, ptr @stderr, align 4, !tbaa !10 %8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str) #3 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !10 %10 = tail call i32 @exit(i32 noundef %9) #4 unreachable 11: ; preds = %2 %12 = tail call ptr @uiNewOpenTypeFeatures() #3 %13 = load i8, ptr %0, align 1, !tbaa !12 %14 = getelementptr inbounds i8, ptr %0, i64 1 %15 = load i8, ptr %14, align 1, !tbaa !12 %16 = getelementptr inbounds i8, ptr %0, i64 2 %17 = load i8, ptr %16, align 1, !tbaa !12 %18 = getelementptr inbounds i8, ptr %0, i64 3 %19 = load i8, ptr %18, align 1, !tbaa !12 %20 = tail call i32 @uiOpenTypeFeaturesAdd(ptr noundef %12, i8 noundef signext %13, i8 noundef signext %15, i8 noundef signext %17, i8 noundef signext %19, i32 noundef %1) #3 %21 = load ptr, ptr @features, align 8, !tbaa !13 %22 = load i64, ptr @curFeature, align 8, !tbaa !6 %23 = getelementptr inbounds ptr, ptr %21, i64 %22 store ptr %12, ptr %23, align 8, !tbaa !13 %24 = add i64 %22, 1 store i64 %24, ptr @curFeature, align 8, !tbaa !6 ret ptr %12 } declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare ptr @uiNewOpenTypeFeatures(...) local_unnamed_addr #1 declare i32 @uiOpenTypeFeaturesAdd(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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 = { 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 = !{!"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 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
libui__wip_examples_drawtext_extr_attributes.c_addFeature
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_disable_msi.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_disable_msi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adapter = type { i32, i32 } @USING_MSIX = dso_local local_unnamed_addr global i32 0, align 4 @USING_MSI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @disable_msi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @disable_msi(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @USING_MSIX, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @pci_disable_msix(i32 noundef %8) #2 br label %18 10: ; preds = %1 %11 = load i32, ptr @USING_MSI, align 4, !tbaa !10 %12 = and i32 %11, %2 %13 = icmp eq i32 %12, 0 br i1 %13, label %24, label %14 14: ; preds = %10 %15 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = tail call i32 @pci_disable_msi(i32 noundef %16) #2 br label %18 18: ; preds = %6, %14 %19 = phi ptr [ @USING_MSI, %14 ], [ @USING_MSIX, %6 ] %20 = load i32, ptr %19, align 4, !tbaa !10 %21 = xor i32 %20, -1 %22 = load i32, ptr %0, align 4, !tbaa !5 %23 = and i32 %22, %21 store i32 %23, ptr %0, align 4, !tbaa !5 br label %24 24: ; preds = %18, %10 ret void } declare i32 @pci_disable_msix(i32 noundef) local_unnamed_addr #1 declare i32 @pci_disable_msi(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 = !{!"adapter", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_disable_msi.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_disable_msi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USING_MSIX = common local_unnamed_addr global i32 0, align 4 @USING_MSI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @disable_msi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @disable_msi(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @USING_MSIX, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @pci_disable_msix(i32 noundef %8) #2 br label %18 10: ; preds = %1 %11 = load i32, ptr @USING_MSI, align 4, !tbaa !11 %12 = and i32 %11, %2 %13 = icmp eq i32 %12, 0 br i1 %13, label %24, label %14 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = tail call i32 @pci_disable_msi(i32 noundef %16) #2 br label %18 18: ; preds = %6, %14 %19 = phi ptr [ @USING_MSI, %14 ], [ @USING_MSIX, %6 ] %20 = load i32, ptr %19, align 4, !tbaa !11 %21 = xor i32 %20, -1 %22 = load i32, ptr %0, align 4, !tbaa !6 %23 = and i32 %22, %21 store i32 %23, ptr %0, align 4, !tbaa !6 br label %24 24: ; preds = %18, %10 ret void } declare i32 @pci_disable_msix(i32 noundef) local_unnamed_addr #1 declare i32 @pci_disable_msi(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 = !{!"adapter", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_net_cxgb4_extr_cxgb4_main.c_disable_msi
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/lhash/extr_lhash.c_getrn.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/lhash/extr_lhash.c_getrn.c" target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, ptr, i32, i32, ptr, i32 } %struct.TYPE_5__ = type { i64, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @getrn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @getrn(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i64 %4(ptr noundef %1) #2 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 8 %7 = tail call i32 @tsan_counter(ptr noundef nonnull %6) #2 store i64 %5, ptr %2, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = urem i64 %5, %9 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = urem i64 %5, %16 br label %18 18: ; preds = %14, %3 %19 = phi i64 [ %17, %14 ], [ %10, %3 ] %20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 7 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = shl i64 %19, 32 %25 = ashr exact i64 %24, 32 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5 %28 = load ptr, ptr %26, align 8, !tbaa !18 %29 = icmp eq ptr %28, null br i1 %29, label %48, label %30 30: ; preds = %18 %31 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6 br label %32 32: ; preds = %30, %44 %33 = phi ptr [ %28, %30 ], [ %46, %44 ] %34 = phi ptr [ %26, %30 ], [ %45, %44 ] %35 = tail call i32 @tsan_counter(ptr noundef nonnull %31) #2 %36 = load i64, ptr %33, align 8, !tbaa !19 %37 = icmp eq i64 %36, %5 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = tail call i32 @tsan_counter(ptr noundef nonnull %27) #2 %40 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i64 0, i32 2 %41 = load i32, ptr %40, align 8, !tbaa !21 %42 = tail call i64 %21(i32 noundef %41, ptr noundef %1) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %38, %32 %45 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i64 0, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !18 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %32, !llvm.loop !22 48: ; preds = %44, %38, %18 %49 = phi ptr [ %26, %18 ], [ %34, %38 ], [ %45, %44 ] ret ptr %49 } declare i32 @tsan_counter(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !11, i64 40, !11, i64 44, !7, i64 48, !11, i64 56} !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 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !10, i64 16} !15 = !{!6, !10, i64 24} !16 = !{!6, !7, i64 32} !17 = !{!6, !7, i64 48} !18 = !{!7, !7, i64 0} !19 = !{!20, !10, i64 0} !20 = !{!"TYPE_5__", !10, i64 0, !7, i64 8, !11, i64 16} !21 = !{!20, !11, i64 16} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/lhash/extr_lhash.c_getrn.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/lhash/extr_lhash.c_getrn.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 @getrn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @getrn(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i64 %4(ptr noundef %1) #2 %6 = getelementptr inbounds i8, ptr %0, i64 56 %7 = tail call i32 @tsan_counter(ptr noundef nonnull %6) #2 store i64 %5, ptr %2, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = urem i64 %5, %9 %11 = getelementptr inbounds i8, ptr %0, i64 16 %12 = load i64, ptr %11, align 8, !tbaa !15 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %0, i64 24 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = urem i64 %5, %16 br label %18 18: ; preds = %14, %3 %19 = phi i64 [ %17, %14 ], [ %10, %3 ] %20 = getelementptr inbounds i8, ptr %0, i64 32 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %0, i64 48 %23 = load ptr, ptr %22, align 8, !tbaa !18 %24 = shl i64 %19, 32 %25 = ashr exact i64 %24, 29 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = getelementptr inbounds i8, ptr %0, i64 40 %28 = load ptr, ptr %26, align 8, !tbaa !19 %29 = icmp eq ptr %28, null br i1 %29, label %48, label %30 30: ; preds = %18 %31 = getelementptr inbounds i8, ptr %0, i64 44 br label %32 32: ; preds = %30, %44 %33 = phi ptr [ %28, %30 ], [ %46, %44 ] %34 = phi ptr [ %26, %30 ], [ %45, %44 ] %35 = tail call i32 @tsan_counter(ptr noundef nonnull %31) #2 %36 = load i64, ptr %33, align 8, !tbaa !20 %37 = icmp eq i64 %36, %5 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = tail call i32 @tsan_counter(ptr noundef nonnull %27) #2 %40 = getelementptr inbounds i8, ptr %33, i64 16 %41 = load i32, ptr %40, align 8, !tbaa !22 %42 = tail call i64 %21(i32 noundef %41, ptr noundef %1) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %38, %32 %45 = getelementptr inbounds i8, ptr %33, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !19 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %32, !llvm.loop !23 48: ; preds = %44, %38, %18 %49 = phi ptr [ %26, %18 ], [ %34, %38 ], [ %45, %44 ] ret ptr %49 } declare i32 @tsan_counter(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !12, i64 40, !12, i64 44, !8, i64 48, !12, i64 56} !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 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !11, i64 16} !16 = !{!7, !11, i64 24} !17 = !{!7, !8, i64 32} !18 = !{!7, !8, i64 48} !19 = !{!8, !8, i64 0} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_5__", !11, i64 0, !8, i64 8, !12, i64 16} !22 = !{!21, !12, i64 16} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
freebsd_crypto_openssl_crypto_lhash_extr_lhash.c_getrn
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_r600_cs.c_r600_cs_check_reg.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_r600_cs.c_r600_cs_check_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_cs_parser = type { i32, i32, %struct.TYPE_2__, i64 } %struct.TYPE_2__ = type { ptr } %struct.r600_cs_track = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr } %struct.radeon_bo_list = type { i32, i32, i32 } @r600_reg_safe_bm = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [33 x i8] c"forbidden register 0x%08x at %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"bad SET_CONTEXT_REG 0x%04X\0A\00", align 1 @RADEON_CS_KEEP_TILING_FLAGS = dso_local local_unnamed_addr global i32 0, align 4 @r600_nomm = dso_local local_unnamed_addr global i32 0, align 4 @C_028010_ARRAY_MODE = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_TILING_MACRO = dso_local local_unnamed_addr global i32 0, align 4 @V_028010_ARRAY_2D_TILED_THIN1 = dso_local local_unnamed_addr global i32 0, align 4 @V_028010_ARRAY_1D_TILED_THIN1 = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"missing reloc for CP_COHER_BASE 0x%04X\0A\00", align 1 @V_028808_SPECIAL_RESOLVE_BOX = dso_local local_unnamed_addr global i32 0, align 4 @V_0280A0_ARRAY_2D_TILED_THIN1 = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_TILING_MICRO = dso_local local_unnamed_addr global i32 0, align 4 @V_0280A0_ARRAY_1D_TILED_THIN1 = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [81 x i8] c"Broken old userspace ? no cb_color0_base supplied before trying to write 0x%08X\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"bad SET_CONFIG_REG 0x%04X\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @r600_cs_check_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @r600_cs_check_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = inttoptr i64 %6 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = ashr i32 %1, 7 %9 = load ptr, ptr @r600_reg_safe_bm, align 8, !tbaa !13 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp slt i32 %8, %10 br i1 %11, label %18, label %12 12: ; preds = %3 %13 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = tail call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !15 %17 = sub nsw i32 0, %16 br label %601 18: ; preds = %3 %19 = lshr i32 %1, 2 %20 = and i32 %19, 31 %21 = shl nuw i32 1, %20 %22 = load ptr, ptr @r600_reg_safe_bm, align 8, !tbaa !13 %23 = sext i32 %8 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = and i32 %25, %21 %27 = icmp eq i32 %26, 0 br i1 %27, label %601, label %28 28: ; preds = %18 %29 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !16 switch i32 %1, label %595 [ i32 209, label %601 i32 272, label %601 i32 207, label %601 i32 270, label %601 i32 203, label %601 i32 266, label %601 i32 206, label %601 i32 269, label %601 i32 208, label %601 i32 271, label %601 i32 204, label %601 i32 267, label %601 i32 202, label %601 i32 265, label %601 i32 205, label %601 i32 268, label %601 i32 201, label %601 i32 148, label %31 i32 145, label %31 i32 147, label %31 i32 146, label %31 i32 139, label %31 i32 138, label %31 i32 149, label %48 i32 211, label %50 i32 262, label %54 i32 263, label %112 i32 264, label %116 i32 200, label %121 i32 199, label %125 i32 135, label %129 i32 134, label %129 i32 133, label %129 i32 132, label %129 i32 131, label %159 i32 130, label %159 i32 129, label %159 i32 128, label %159 i32 276, label %165 i32 213, label %183 i32 212, label %187 i32 198, label %190 i32 210, label %197 i32 245, label %205 i32 244, label %205 i32 243, label %205 i32 242, label %205 i32 241, label %205 i32 240, label %205 i32 239, label %205 i32 238, label %205 i32 253, label %275 i32 252, label %275 i32 251, label %275 i32 250, label %275 i32 249, label %275 i32 248, label %275 i32 247, label %275 i32 246, label %275 i32 261, label %283 i32 260, label %283 i32 259, label %283 i32 258, label %283 i32 257, label %283 i32 256, label %283 i32 255, label %283 i32 254, label %283 i32 229, label %294 i32 228, label %294 i32 227, label %294 i32 226, label %294 i32 225, label %294 i32 224, label %294 i32 223, label %294 i32 222, label %294 i32 237, label %368 i32 236, label %368 i32 235, label %368 i32 234, label %368 i32 233, label %368 i32 232, label %368 i32 231, label %368 i32 230, label %368 i32 221, label %442 i32 220, label %442 i32 219, label %442 i32 218, label %442 i32 217, label %442 i32 216, label %442 i32 215, label %442 i32 214, label %442 i32 284, label %457 i32 283, label %457 i32 282, label %457 i32 281, label %457 i32 280, label %457 i32 279, label %457 i32 278, label %457 i32 277, label %457 i32 275, label %495 i32 274, label %522 i32 273, label %547 i32 143, label %555 i32 144, label %555 i32 140, label %555 i32 142, label %555 i32 141, label %555 i32 197, label %555 i32 196, label %555 i32 189, label %555 i32 188, label %555 i32 187, label %555 i32 186, label %555 i32 185, label %555 i32 184, label %555 i32 183, label %555 i32 182, label %555 i32 195, label %555 i32 194, label %555 i32 193, label %555 i32 192, label %555 i32 191, label %555 i32 190, label %555 i32 181, label %555 i32 180, label %555 i32 173, label %555 i32 172, label %555 i32 171, label %555 i32 170, label %555 i32 169, label %555 i32 168, label %555 i32 167, label %555 i32 166, label %555 i32 179, label %555 i32 178, label %555 i32 177, label %555 i32 176, label %555 i32 175, label %555 i32 174, label %555 i32 165, label %555 i32 164, label %555 i32 157, label %555 i32 156, label %555 i32 155, label %555 i32 154, label %555 i32 153, label %555 i32 152, label %555 i32 151, label %555 i32 150, label %555 i32 163, label %555 i32 162, label %555 i32 161, label %555 i32 160, label %555 i32 159, label %555 i32 158, label %555 i32 137, label %573 i32 136, label %591 ] 31: ; preds = %28, %28, %28, %28, %28, %28 %32 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 0) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %40, label %34 34: ; preds = %31 %35 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !14 %37 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %36, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %38 = load i32, ptr @EINVAL, align 4, !tbaa !15 %39 = sub nsw i32 0, %38 br label %601 40: ; preds = %31 %41 = load ptr, ptr %4, align 8, !tbaa !13 %42 = load i32, ptr %41, align 4, !tbaa !17 %43 = ashr i32 %42, 8 %44 = sext i32 %2 to i64 %45 = getelementptr inbounds i32, ptr %30, i64 %44 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = add nsw i32 %46, %43 store i32 %47, ptr %45, align 4, !tbaa !15 br label %601 48: ; preds = %28 %49 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 store i32 %49, ptr %7, align 8, !tbaa !19 br label %601 50: ; preds = %28 %51 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %52 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 1 store i32 %51, ptr %52, align 4, !tbaa !21 %53 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %53, align 8, !tbaa !22 br label %601 54: ; preds = %28 %55 = load i32, ptr %0, align 8, !tbaa !23 %56 = load i32, ptr @RADEON_CS_KEEP_TILING_FLAGS, align 4, !tbaa !15 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %107 59: ; preds = %54 %60 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %107, label %62 62: ; preds = %59 %63 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %64 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %63) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %62 %67 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %68 = load i32, ptr %67, align 4, !tbaa !14 %69 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %68, ptr noundef nonnull @.str.1, i32 noundef 262) #3 %70 = load i32, ptr @EINVAL, align 4, !tbaa !15 %71 = sub nsw i32 0, %70 br label %601 72: ; preds = %62 %73 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %74 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 3 store i32 %73, ptr %74, align 4, !tbaa !24 %75 = load i32, ptr @C_028010_ARRAY_MODE, align 4, !tbaa !15 %76 = sext i32 %2 to i64 %77 = getelementptr inbounds i32, ptr %30, i64 %76 %78 = load i32, ptr %77, align 4, !tbaa !15 %79 = and i32 %78, %75 store i32 %79, ptr %77, align 4, !tbaa !15 %80 = load i32, ptr @C_028010_ARRAY_MODE, align 4, !tbaa !15 %81 = load i32, ptr %74, align 4, !tbaa !24 %82 = and i32 %81, %80 store i32 %82, ptr %74, align 4, !tbaa !24 %83 = load ptr, ptr %4, align 8, !tbaa !13 %84 = getelementptr inbounds %struct.radeon_bo_list, ptr %83, i64 0, i32 1 %85 = load i32, ptr %84, align 4, !tbaa !25 %86 = load i32, ptr @RADEON_TILING_MACRO, align 4, !tbaa !15 %87 = and i32 %86, %85 %88 = icmp eq i32 %87, 0 br i1 %88, label %98, label %89 89: ; preds = %72 %90 = load i32, ptr @V_028010_ARRAY_2D_TILED_THIN1, align 4, !tbaa !15 %91 = call i32 @S_028010_ARRAY_MODE(i32 noundef %90) #3 %92 = load i32, ptr %77, align 4, !tbaa !15 %93 = or i32 %92, %91 store i32 %93, ptr %77, align 4, !tbaa !15 %94 = load i32, ptr @V_028010_ARRAY_2D_TILED_THIN1, align 4, !tbaa !15 %95 = call i32 @S_028010_ARRAY_MODE(i32 noundef %94) #3 %96 = load i32, ptr %74, align 4, !tbaa !24 %97 = or i32 %96, %95 store i32 %97, ptr %74, align 4, !tbaa !24 br label %110 98: ; preds = %72 %99 = load i32, ptr @V_028010_ARRAY_1D_TILED_THIN1, align 4, !tbaa !15 %100 = call i32 @S_028010_ARRAY_MODE(i32 noundef %99) #3 %101 = load i32, ptr %77, align 4, !tbaa !15 %102 = or i32 %101, %100 store i32 %102, ptr %77, align 4, !tbaa !15 %103 = load i32, ptr @V_028010_ARRAY_1D_TILED_THIN1, align 4, !tbaa !15 %104 = call i32 @S_028010_ARRAY_MODE(i32 noundef %103) #3 %105 = load i32, ptr %74, align 4, !tbaa !24 %106 = or i32 %105, %104 store i32 %106, ptr %74, align 4, !tbaa !24 br label %110 107: ; preds = %59, %54 %108 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %109 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 3 store i32 %108, ptr %109, align 4, !tbaa !24 br label %110 110: ; preds = %89, %98, %107 %111 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %111, align 8, !tbaa !22 br label %601 112: ; preds = %28 %113 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %114 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 4 store i32 %113, ptr %114, align 8, !tbaa !26 %115 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %115, align 8, !tbaa !22 br label %601 116: ; preds = %28 %117 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %118 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 5 store i32 %117, ptr %118, align 4, !tbaa !27 %119 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 6 store i32 %2, ptr %119, align 8, !tbaa !28 %120 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %120, align 8, !tbaa !22 br label %601 121: ; preds = %28 %122 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %123 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 7 store i32 %122, ptr %123, align 4, !tbaa !29 %124 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 8 store i32 1, ptr %124, align 8, !tbaa !30 br label %601 125: ; preds = %28 %126 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %127 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 9 store i32 %126, ptr %127, align 4, !tbaa !31 %128 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 8 store i32 1, ptr %128, align 8, !tbaa !30 br label %601 129: ; preds = %28, %28, %28, %28 %130 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %131 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %130) #3 %132 = icmp eq i32 %131, 0 br i1 %132, label %139, label %133 133: ; preds = %129 %134 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %135 = load i32, ptr %134, align 4, !tbaa !14 %136 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %135, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %137 = load i32, ptr @EINVAL, align 4, !tbaa !15 %138 = sub nsw i32 0, %137 br label %601 139: ; preds = %129 %140 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %141 = shl i32 %140, 8 %142 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 10 %143 = load ptr, ptr %142, align 8, !tbaa !32 store i32 %141, ptr %143, align 4, !tbaa !15 %144 = load ptr, ptr %4, align 8, !tbaa !13 %145 = load i32, ptr %144, align 4, !tbaa !17 %146 = ashr i32 %145, 8 %147 = sext i32 %2 to i64 %148 = getelementptr inbounds i32, ptr %30, i64 %147 %149 = load i32, ptr %148, align 4, !tbaa !15 %150 = add nsw i32 %149, %146 store i32 %150, ptr %148, align 4, !tbaa !15 %151 = getelementptr inbounds %struct.radeon_bo_list, ptr %144, i64 0, i32 2 %152 = load i32, ptr %151, align 4, !tbaa !33 %153 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 39 %154 = load ptr, ptr %153, align 8, !tbaa !34 store i32 %152, ptr %154, align 4, !tbaa !15 %155 = load i32, ptr %144, align 4, !tbaa !17 %156 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 11 %157 = load ptr, ptr %156, align 8, !tbaa !35 store i32 %155, ptr %157, align 4, !tbaa !15 %158 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 8 store i32 1, ptr %158, align 8, !tbaa !30 br label %601 159: ; preds = %28, %28, %28, %28 %160 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %161 = shl nsw i32 %160, 2 %162 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 12 %163 = load ptr, ptr %162, align 8, !tbaa !36 store i32 %161, ptr %163, align 4, !tbaa !15 %164 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 8 store i32 1, ptr %164, align 8, !tbaa !30 br label %601 165: ; preds = %28 %166 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %167 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %166) #3 %168 = icmp eq i32 %167, 0 br i1 %168, label %175, label %169 169: ; preds = %165 %170 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %171 = load i32, ptr %170, align 4, !tbaa !14 %172 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %171, ptr noundef nonnull @.str.2, i32 noundef 276) #3 %173 = load i32, ptr @EINVAL, align 4, !tbaa !15 %174 = sub nsw i32 0, %173 br label %601 175: ; preds = %165 %176 = load ptr, ptr %4, align 8, !tbaa !13 %177 = load i32, ptr %176, align 4, !tbaa !17 %178 = ashr i32 %177, 8 %179 = sext i32 %2 to i64 %180 = getelementptr inbounds i32, ptr %30, i64 %179 %181 = load i32, ptr %180, align 4, !tbaa !15 %182 = add nsw i32 %181, %178 store i32 %182, ptr %180, align 4, !tbaa !15 br label %601 183: ; preds = %28 %184 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %185 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 13 store i32 %184, ptr %185, align 8, !tbaa !37 %186 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %186, align 4, !tbaa !38 br label %601 187: ; preds = %28 %188 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %189 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 15 store i32 %188, ptr %189, align 8, !tbaa !39 br label %601 190: ; preds = %28 %191 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %192 = tail call i32 @G_028C04_MSAA_NUM_SAMPLES(i32 noundef %191) #3 %193 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 16 store i32 %192, ptr %193, align 4, !tbaa !40 %194 = shl nuw i32 1, %192 %195 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 17 store i32 %194, ptr %195, align 8, !tbaa !41 %196 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %196, align 4, !tbaa !38 br label %601 197: ; preds = %28 %198 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %199 = tail call i32 @G_028808_SPECIAL_OP(i32 noundef %198) #3 %200 = load i32, ptr @V_028808_SPECIAL_RESOLVE_BOX, align 4, !tbaa !15 %201 = icmp eq i32 %199, %200 %202 = zext i1 %201 to i32 %203 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 18 store i32 %202, ptr %203, align 4, !tbaa !42 %204 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %204, align 4, !tbaa !38 br label %601 205: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %206 = load i32, ptr %0, align 8, !tbaa !23 %207 = load i32, ptr @RADEON_CS_KEEP_TILING_FLAGS, align 4, !tbaa !15 %208 = and i32 %207, %206 %209 = icmp eq i32 %208, 0 br i1 %209, label %210, label %266 210: ; preds = %205 %211 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %212 = icmp eq i32 %211, 0 br i1 %212, label %266, label %213 213: ; preds = %210 %214 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %215 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %214) #3 %216 = icmp eq i32 %215, 0 br i1 %216, label %223, label %217 217: ; preds = %213 %218 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %219 = load i32, ptr %218, align 4, !tbaa !14 %220 = call i32 @dev_err(i32 noundef %219, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %221 = load i32, ptr @EINVAL, align 4, !tbaa !15 %222 = sub nsw i32 0, %221 br label %601 223: ; preds = %213 %224 = icmp ult i32 %1, 242 %225 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %226 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 19 %227 = load ptr, ptr %226, align 8, !tbaa !43 %228 = sext i1 %224 to i64 %229 = getelementptr inbounds i32, ptr %227, i64 %228 store i32 %225, ptr %229, align 4, !tbaa !15 %230 = load ptr, ptr %4, align 8, !tbaa !13 %231 = getelementptr inbounds %struct.radeon_bo_list, ptr %230, i64 0, i32 1 %232 = load i32, ptr %231, align 4, !tbaa !25 %233 = load i32, ptr @RADEON_TILING_MACRO, align 4, !tbaa !15 %234 = and i32 %233, %232 %235 = icmp eq i32 %234, 0 br i1 %235, label %249, label %236 236: ; preds = %223 %237 = load i32, ptr @V_0280A0_ARRAY_2D_TILED_THIN1, align 4, !tbaa !15 %238 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %237) #3 %239 = sext i32 %2 to i64 %240 = getelementptr inbounds i32, ptr %30, i64 %239 %241 = load i32, ptr %240, align 4, !tbaa !15 %242 = or i32 %241, %238 store i32 %242, ptr %240, align 4, !tbaa !15 %243 = load i32, ptr @V_0280A0_ARRAY_2D_TILED_THIN1, align 4, !tbaa !15 %244 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %243) #3 %245 = load ptr, ptr %226, align 8, !tbaa !43 %246 = getelementptr inbounds i32, ptr %245, i64 %228 %247 = load i32, ptr %246, align 4, !tbaa !15 %248 = or i32 %247, %244 store i32 %248, ptr %246, align 4, !tbaa !15 br label %273 249: ; preds = %223 %250 = load i32, ptr @RADEON_TILING_MICRO, align 4, !tbaa !15 %251 = and i32 %250, %232 %252 = icmp eq i32 %251, 0 br i1 %252, label %273, label %253 253: ; preds = %249 %254 = load i32, ptr @V_0280A0_ARRAY_1D_TILED_THIN1, align 4, !tbaa !15 %255 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %254) #3 %256 = sext i32 %2 to i64 %257 = getelementptr inbounds i32, ptr %30, i64 %256 %258 = load i32, ptr %257, align 4, !tbaa !15 %259 = or i32 %258, %255 store i32 %259, ptr %257, align 4, !tbaa !15 %260 = load i32, ptr @V_0280A0_ARRAY_1D_TILED_THIN1, align 4, !tbaa !15 %261 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %260) #3 %262 = load ptr, ptr %226, align 8, !tbaa !43 %263 = getelementptr inbounds i32, ptr %262, i64 %228 %264 = load i32, ptr %263, align 4, !tbaa !15 %265 = or i32 %264, %261 store i32 %265, ptr %263, align 4, !tbaa !15 br label %273 266: ; preds = %210, %205 %267 = icmp ult i32 %1, 242 %268 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %269 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 19 %270 = load ptr, ptr %269, align 8, !tbaa !43 %271 = sext i1 %267 to i64 %272 = getelementptr inbounds i32, ptr %270, i64 %271 store i32 %268, ptr %272, align 4, !tbaa !15 br label %273 273: ; preds = %236, %253, %249, %266 %274 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %274, align 4, !tbaa !38 br label %601 275: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %276 = icmp ult i32 %1, 250 %277 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %278 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 20 %279 = load ptr, ptr %278, align 8, !tbaa !44 %280 = sext i1 %276 to i64 %281 = getelementptr inbounds i32, ptr %279, i64 %280 store i32 %277, ptr %281, align 4, !tbaa !15 %282 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %282, align 4, !tbaa !38 br label %601 283: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %284 = icmp ult i32 %1, 258 %285 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %286 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 21 %287 = load ptr, ptr %286, align 8, !tbaa !45 %288 = sext i1 %284 to i64 %289 = getelementptr inbounds i32, ptr %287, i64 %288 store i32 %285, ptr %289, align 4, !tbaa !15 %290 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 22 %291 = load ptr, ptr %290, align 8, !tbaa !46 %292 = getelementptr inbounds i32, ptr %291, i64 %288 store i32 %2, ptr %292, align 4, !tbaa !15 %293 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %293, align 4, !tbaa !38 br label %601 294: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %295 = icmp ult i32 %1, 226 %296 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %297 = icmp eq i32 %296, 0 br i1 %297, label %298, label %329 298: ; preds = %294 %299 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 23 %300 = load ptr, ptr %299, align 8, !tbaa !47 %301 = sext i1 %295 to i64 %302 = getelementptr inbounds i32, ptr %300, i64 %301 %303 = load i32, ptr %302, align 4, !tbaa !15 %304 = icmp eq i32 %303, 0 br i1 %304, label %305, label %311 305: ; preds = %298 %306 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %307 = load i32, ptr %306, align 4, !tbaa !14 %308 = tail call i32 @dev_err(i32 noundef %307, ptr noundef nonnull @.str.3, i32 noundef %1) #3 %309 = load i32, ptr @EINVAL, align 4, !tbaa !15 %310 = sub nsw i32 0, %309 br label %601 311: ; preds = %298 %312 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 36 %313 = load ptr, ptr %312, align 8, !tbaa !48 %314 = getelementptr inbounds i32, ptr %313, i64 %301 %315 = load i32, ptr %314, align 4, !tbaa !15 %316 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 38 %317 = load ptr, ptr %316, align 8, !tbaa !49 %318 = getelementptr inbounds i32, ptr %317, i64 %301 store i32 %315, ptr %318, align 4, !tbaa !15 %319 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 25 %320 = load ptr, ptr %319, align 8, !tbaa !50 %321 = getelementptr inbounds i32, ptr %320, i64 %301 %322 = load i32, ptr %321, align 4, !tbaa !15 %323 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 24 %324 = load ptr, ptr %323, align 8, !tbaa !51 %325 = getelementptr inbounds i32, ptr %324, i64 %301 store i32 %322, ptr %325, align 4, !tbaa !15 %326 = load i32, ptr %302, align 4, !tbaa !15 %327 = sext i32 %2 to i64 %328 = getelementptr inbounds i32, ptr %30, i64 %327 store i32 %326, ptr %328, align 4, !tbaa !15 br label %358 329: ; preds = %294 %330 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %331 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %330) #3 %332 = icmp eq i32 %331, 0 br i1 %332, label %339, label %333 333: ; preds = %329 %334 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %335 = load i32, ptr %334, align 4, !tbaa !14 %336 = call i32 @dev_err(i32 noundef %335, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %337 = load i32, ptr @EINVAL, align 4, !tbaa !15 %338 = sub nsw i32 0, %337 br label %601 339: ; preds = %329 %340 = load ptr, ptr %4, align 8, !tbaa !13 %341 = getelementptr inbounds %struct.radeon_bo_list, ptr %340, i64 0, i32 2 %342 = load i32, ptr %341, align 4, !tbaa !33 %343 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 38 %344 = load ptr, ptr %343, align 8, !tbaa !49 %345 = sext i1 %295 to i64 %346 = getelementptr inbounds i32, ptr %344, i64 %345 store i32 %342, ptr %346, align 4, !tbaa !15 %347 = sext i32 %2 to i64 %348 = getelementptr inbounds i32, ptr %30, i64 %347 %349 = load i32, ptr %348, align 4, !tbaa !15 %350 = shl i32 %349, 8 %351 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 24 %352 = load ptr, ptr %351, align 8, !tbaa !51 %353 = getelementptr inbounds i32, ptr %352, i64 %345 store i32 %350, ptr %353, align 4, !tbaa !15 %354 = load i32, ptr %340, align 4, !tbaa !17 %355 = ashr i32 %354, 8 %356 = load i32, ptr %348, align 4, !tbaa !15 %357 = add nsw i32 %356, %355 store i32 %357, ptr %348, align 4, !tbaa !15 br label %358 358: ; preds = %339, %311 %359 = phi i64 [ %345, %339 ], [ %301, %311 ] %360 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 19 %361 = load ptr, ptr %360, align 8, !tbaa !43 %362 = getelementptr inbounds i32, ptr %361, i64 %359 %363 = load i32, ptr %362, align 4, !tbaa !15 %364 = call i32 @G_0280A0_TILE_MODE(i32 noundef %363) #3 %365 = icmp eq i32 %364, 0 br i1 %365, label %601, label %366 366: ; preds = %358 %367 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %367, align 4, !tbaa !38 br label %601 368: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %369 = icmp ult i32 %1, 234 %370 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %371 = icmp eq i32 %370, 0 br i1 %371, label %372, label %403 372: ; preds = %368 %373 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 23 %374 = load ptr, ptr %373, align 8, !tbaa !47 %375 = sext i1 %369 to i64 %376 = getelementptr inbounds i32, ptr %374, i64 %375 %377 = load i32, ptr %376, align 4, !tbaa !15 %378 = icmp eq i32 %377, 0 br i1 %378, label %379, label %385 379: ; preds = %372 %380 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %381 = load i32, ptr %380, align 4, !tbaa !14 %382 = tail call i32 @dev_err(i32 noundef %381, ptr noundef nonnull @.str.3, i32 noundef %1) #3 %383 = load i32, ptr @EINVAL, align 4, !tbaa !15 %384 = sub nsw i32 0, %383 br label %601 385: ; preds = %372 %386 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 36 %387 = load ptr, ptr %386, align 8, !tbaa !48 %388 = getelementptr inbounds i32, ptr %387, i64 %375 %389 = load i32, ptr %388, align 4, !tbaa !15 %390 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 37 %391 = load ptr, ptr %390, align 8, !tbaa !52 %392 = getelementptr inbounds i32, ptr %391, i64 %375 store i32 %389, ptr %392, align 4, !tbaa !15 %393 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 25 %394 = load ptr, ptr %393, align 8, !tbaa !50 %395 = getelementptr inbounds i32, ptr %394, i64 %375 %396 = load i32, ptr %395, align 4, !tbaa !15 %397 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 26 %398 = load ptr, ptr %397, align 8, !tbaa !53 %399 = getelementptr inbounds i32, ptr %398, i64 %375 store i32 %396, ptr %399, align 4, !tbaa !15 %400 = load i32, ptr %376, align 4, !tbaa !15 %401 = sext i32 %2 to i64 %402 = getelementptr inbounds i32, ptr %30, i64 %401 store i32 %400, ptr %402, align 4, !tbaa !15 br label %432 403: ; preds = %368 %404 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %405 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %404) #3 %406 = icmp eq i32 %405, 0 br i1 %406, label %413, label %407 407: ; preds = %403 %408 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %409 = load i32, ptr %408, align 4, !tbaa !14 %410 = call i32 @dev_err(i32 noundef %409, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %411 = load i32, ptr @EINVAL, align 4, !tbaa !15 %412 = sub nsw i32 0, %411 br label %601 413: ; preds = %403 %414 = load ptr, ptr %4, align 8, !tbaa !13 %415 = getelementptr inbounds %struct.radeon_bo_list, ptr %414, i64 0, i32 2 %416 = load i32, ptr %415, align 4, !tbaa !33 %417 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 37 %418 = load ptr, ptr %417, align 8, !tbaa !52 %419 = sext i1 %369 to i64 %420 = getelementptr inbounds i32, ptr %418, i64 %419 store i32 %416, ptr %420, align 4, !tbaa !15 %421 = sext i32 %2 to i64 %422 = getelementptr inbounds i32, ptr %30, i64 %421 %423 = load i32, ptr %422, align 4, !tbaa !15 %424 = shl i32 %423, 8 %425 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 26 %426 = load ptr, ptr %425, align 8, !tbaa !53 %427 = getelementptr inbounds i32, ptr %426, i64 %419 store i32 %424, ptr %427, align 4, !tbaa !15 %428 = load i32, ptr %414, align 4, !tbaa !17 %429 = ashr i32 %428, 8 %430 = load i32, ptr %422, align 4, !tbaa !15 %431 = add nsw i32 %430, %429 store i32 %431, ptr %422, align 4, !tbaa !15 br label %432 432: ; preds = %413, %385 %433 = phi i64 [ %419, %413 ], [ %375, %385 ] %434 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 19 %435 = load ptr, ptr %434, align 8, !tbaa !43 %436 = getelementptr inbounds i32, ptr %435, i64 %433 %437 = load i32, ptr %436, align 4, !tbaa !15 %438 = call i32 @G_0280A0_TILE_MODE(i32 noundef %437) #3 %439 = icmp eq i32 %438, 0 br i1 %439, label %601, label %440 440: ; preds = %432 %441 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %441, align 4, !tbaa !38 br label %601 442: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %443 = icmp ult i32 %1, 218 %444 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %445 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 27 %446 = load ptr, ptr %445, align 8, !tbaa !54 %447 = sext i1 %443 to i64 %448 = getelementptr inbounds i32, ptr %446, i64 %447 store i32 %444, ptr %448, align 4, !tbaa !15 %449 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 19 %450 = load ptr, ptr %449, align 8, !tbaa !43 %451 = getelementptr inbounds i32, ptr %450, i64 %447 %452 = load i32, ptr %451, align 4, !tbaa !15 %453 = tail call i32 @G_0280A0_TILE_MODE(i32 noundef %452) #3 %454 = icmp eq i32 %453, 0 br i1 %454, label %601, label %455 455: ; preds = %442 %456 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %456, align 4, !tbaa !38 br label %601 457: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %458 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %459 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %458) #3 %460 = icmp eq i32 %459, 0 br i1 %460, label %467, label %461 461: ; preds = %457 %462 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %463 = load i32, ptr %462, align 4, !tbaa !14 %464 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %463, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %465 = load i32, ptr @EINVAL, align 4, !tbaa !15 %466 = sub nsw i32 0, %465 br label %601 467: ; preds = %457 %468 = icmp ult i32 %1, 281 %469 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %470 = shl i32 %469, 8 %471 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 25 %472 = load ptr, ptr %471, align 8, !tbaa !50 %473 = sext i1 %468 to i64 %474 = getelementptr inbounds i32, ptr %472, i64 %473 store i32 %470, ptr %474, align 4, !tbaa !15 %475 = load ptr, ptr %4, align 8, !tbaa !13 %476 = load i32, ptr %475, align 4, !tbaa !17 %477 = ashr i32 %476, 8 %478 = sext i32 %2 to i64 %479 = getelementptr inbounds i32, ptr %30, i64 %478 %480 = load i32, ptr %479, align 4, !tbaa !15 %481 = add nsw i32 %480, %477 store i32 %481, ptr %479, align 4, !tbaa !15 %482 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 23 %483 = load ptr, ptr %482, align 8, !tbaa !47 %484 = getelementptr inbounds i32, ptr %483, i64 %473 store i32 %481, ptr %484, align 4, !tbaa !15 %485 = getelementptr inbounds %struct.radeon_bo_list, ptr %475, i64 0, i32 2 %486 = load i32, ptr %485, align 4, !tbaa !33 %487 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 36 %488 = load ptr, ptr %487, align 8, !tbaa !48 %489 = getelementptr inbounds i32, ptr %488, i64 %473 store i32 %486, ptr %489, align 4, !tbaa !15 %490 = load i32, ptr %475, align 4, !tbaa !17 %491 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 28 %492 = load ptr, ptr %491, align 8, !tbaa !55 %493 = getelementptr inbounds i32, ptr %492, i64 %473 store i32 %490, ptr %493, align 4, !tbaa !15 %494 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 14 store i32 1, ptr %494, align 4, !tbaa !38 br label %601 495: ; preds = %28 %496 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %497 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %496) #3 %498 = icmp eq i32 %497, 0 br i1 %498, label %505, label %499 499: ; preds = %495 %500 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %501 = load i32, ptr %500, align 4, !tbaa !14 %502 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %501, ptr noundef nonnull @.str.1, i32 noundef 275) #3 %503 = load i32, ptr @EINVAL, align 4, !tbaa !15 %504 = sub nsw i32 0, %503 br label %601 505: ; preds = %495 %506 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %507 = shl i32 %506, 8 %508 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 29 store i32 %507, ptr %508, align 8, !tbaa !56 %509 = load ptr, ptr %4, align 8, !tbaa !13 %510 = load i32, ptr %509, align 4, !tbaa !17 %511 = ashr i32 %510, 8 %512 = sext i32 %2 to i64 %513 = getelementptr inbounds i32, ptr %30, i64 %512 %514 = load i32, ptr %513, align 4, !tbaa !15 %515 = add nsw i32 %514, %511 store i32 %515, ptr %513, align 4, !tbaa !15 %516 = getelementptr inbounds %struct.radeon_bo_list, ptr %509, i64 0, i32 2 %517 = load i32, ptr %516, align 4, !tbaa !33 %518 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 35 store i32 %517, ptr %518, align 8, !tbaa !57 %519 = load i32, ptr %509, align 4, !tbaa !17 %520 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 30 store i32 %519, ptr %520, align 4, !tbaa !58 %521 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %521, align 8, !tbaa !22 br label %601 522: ; preds = %28 %523 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %524 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %523) #3 %525 = icmp eq i32 %524, 0 br i1 %525, label %532, label %526 526: ; preds = %522 %527 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %528 = load i32, ptr %527, align 4, !tbaa !14 %529 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %528, ptr noundef nonnull @.str.1, i32 noundef 274) #3 %530 = load i32, ptr @EINVAL, align 4, !tbaa !15 %531 = sub nsw i32 0, %530 br label %601 532: ; preds = %522 %533 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %534 = shl i32 %533, 8 %535 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 31 store i32 %534, ptr %535, align 8, !tbaa !59 %536 = load ptr, ptr %4, align 8, !tbaa !13 %537 = load i32, ptr %536, align 4, !tbaa !17 %538 = ashr i32 %537, 8 %539 = sext i32 %2 to i64 %540 = getelementptr inbounds i32, ptr %30, i64 %539 %541 = load i32, ptr %540, align 4, !tbaa !15 %542 = add nsw i32 %541, %538 store i32 %542, ptr %540, align 4, !tbaa !15 %543 = getelementptr inbounds %struct.radeon_bo_list, ptr %536, i64 0, i32 2 %544 = load i32, ptr %543, align 4, !tbaa !33 %545 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 34 store i32 %544, ptr %545, align 4, !tbaa !60 %546 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %546, align 8, !tbaa !22 br label %601 547: ; preds = %28 %548 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %549 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 32 store i32 %548, ptr %549, align 4, !tbaa !61 %550 = sext i32 %2 to i64 %551 = getelementptr inbounds i32, ptr %30, i64 %550 %552 = load i32, ptr %551, align 4, !tbaa !15 %553 = or i32 %552, 3 store i32 %553, ptr %551, align 4, !tbaa !15 %554 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 2 store i32 1, ptr %554, align 8, !tbaa !22 br label %601 555: ; preds = %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28 %556 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %557 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %556) #3 %558 = icmp eq i32 %557, 0 br i1 %558, label %565, label %559 559: ; preds = %555 %560 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %561 = load i32, ptr %560, align 4, !tbaa !14 %562 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %561, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %563 = load i32, ptr @EINVAL, align 4, !tbaa !15 %564 = sub nsw i32 0, %563 br label %601 565: ; preds = %555 %566 = load ptr, ptr %4, align 8, !tbaa !13 %567 = load i32, ptr %566, align 4, !tbaa !17 %568 = ashr i32 %567, 8 %569 = sext i32 %2 to i64 %570 = getelementptr inbounds i32, ptr %30, i64 %569 %571 = load i32, ptr %570, align 4, !tbaa !15 %572 = add nsw i32 %571, %568 store i32 %572, ptr %570, align 4, !tbaa !15 br label %601 573: ; preds = %28 %574 = load i32, ptr @r600_nomm, align 4, !tbaa !15 %575 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %574) #3 %576 = icmp eq i32 %575, 0 br i1 %576, label %583, label %577 577: ; preds = %573 %578 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %579 = load i32, ptr %578, align 4, !tbaa !14 %580 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %579, ptr noundef nonnull @.str.4, i32 noundef 137) #3 %581 = load i32, ptr @EINVAL, align 4, !tbaa !15 %582 = sub nsw i32 0, %581 br label %601 583: ; preds = %573 %584 = load ptr, ptr %4, align 8, !tbaa !13 %585 = load i32, ptr %584, align 4, !tbaa !17 %586 = ashr i32 %585, 8 %587 = sext i32 %2 to i64 %588 = getelementptr inbounds i32, ptr %30, i64 %587 %589 = load i32, ptr %588, align 4, !tbaa !15 %590 = add nsw i32 %589, %586 store i32 %590, ptr %588, align 4, !tbaa !15 br label %601 591: ; preds = %28 %592 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %593 = and i32 %592, 1 %594 = getelementptr inbounds %struct.r600_cs_track, ptr %7, i64 0, i32 33 store i32 %593, ptr %594, align 8, !tbaa !62 br label %601 595: ; preds = %28 %596 = getelementptr inbounds %struct.radeon_cs_parser, ptr %0, i64 0, i32 1 %597 = load i32, ptr %596, align 4, !tbaa !14 %598 = tail call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %597, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #3 %599 = load i32, ptr @EINVAL, align 4, !tbaa !15 %600 = sub nsw i32 0, %599 br label %601 601: ; preds = %40, %48, %50, %110, %112, %116, %121, %125, %139, %159, %175, %183, %187, %190, %197, %273, %275, %283, %467, %505, %532, %547, %565, %583, %591, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %366, %358, %440, %432, %455, %442, %18, %595, %577, %559, %526, %499, %461, %407, %379, %333, %305, %217, %169, %133, %66, %34, %12 %602 = phi i32 [ %17, %12 ], [ %600, %595 ], [ %582, %577 ], [ %564, %559 ], [ %531, %526 ], [ %504, %499 ], [ %466, %461 ], [ %412, %407 ], [ %384, %379 ], [ %338, %333 ], [ %310, %305 ], [ %222, %217 ], [ %174, %169 ], [ %138, %133 ], [ %71, %66 ], [ %39, %34 ], [ 0, %18 ], [ 0, %442 ], [ 0, %455 ], [ 0, %432 ], [ 0, %440 ], [ 0, %358 ], [ 0, %366 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %591 ], [ 0, %583 ], [ 0, %565 ], [ 0, %547 ], [ 0, %532 ], [ 0, %505 ], [ 0, %467 ], [ 0, %283 ], [ 0, %275 ], [ 0, %273 ], [ 0, %197 ], [ 0, %190 ], [ 0, %187 ], [ 0, %183 ], [ 0, %175 ], [ 0, %159 ], [ 0, %139 ], [ 0, %125 ], [ 0, %121 ], [ 0, %116 ], [ 0, %112 ], [ 0, %110 ], [ 0, %50 ], [ 0, %48 ], [ 0, %40 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %602 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @radeon_cs_packet_next_reloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_get_ib_value(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef) local_unnamed_addr #2 declare i32 @S_028010_ARRAY_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @G_028C04_MSAA_NUM_SAMPLES(i32 noundef) local_unnamed_addr #2 declare i32 @G_028808_SPECIAL_OP(i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @S_0280A0_ARRAY_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @G_0280A0_TILE_MODE(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, !12, i64 16} !6 = !{!"radeon_cs_parser", !7, i64 0, !7, i64 4, !10, i64 8, !12, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!7, !7, i64 0} !16 = !{!6, !11, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"radeon_bo_list", !7, i64 0, !7, i64 4, !7, i64 8} !19 = !{!20, !7, i64 0} !20 = !{!"r600_cs_track", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224} !21 = !{!20, !7, i64 4} !22 = !{!20, !7, i64 8} !23 = !{!6, !7, i64 0} !24 = !{!20, !7, i64 12} !25 = !{!18, !7, i64 4} !26 = !{!20, !7, i64 16} !27 = !{!20, !7, i64 20} !28 = !{!20, !7, i64 24} !29 = !{!20, !7, i64 28} !30 = !{!20, !7, i64 32} !31 = !{!20, !7, i64 36} !32 = !{!20, !11, i64 40} !33 = !{!18, !7, i64 8} !34 = !{!20, !11, i64 224} !35 = !{!20, !11, i64 48} !36 = !{!20, !11, i64 56} !37 = !{!20, !7, i64 64} !38 = !{!20, !7, i64 68} !39 = !{!20, !7, i64 72} !40 = !{!20, !7, i64 76} !41 = !{!20, !7, i64 80} !42 = !{!20, !7, i64 84} !43 = !{!20, !11, i64 88} !44 = !{!20, !11, i64 96} !45 = !{!20, !11, i64 104} !46 = !{!20, !11, i64 112} !47 = !{!20, !11, i64 120} !48 = !{!20, !11, i64 200} !49 = !{!20, !11, i64 216} !50 = !{!20, !11, i64 136} !51 = !{!20, !11, i64 128} !52 = !{!20, !11, i64 208} !53 = !{!20, !11, i64 144} !54 = !{!20, !11, i64 152} !55 = !{!20, !11, i64 160} !56 = !{!20, !7, i64 168} !57 = !{!20, !7, i64 192} !58 = !{!20, !7, i64 172} !59 = !{!20, !7, i64 176} !60 = !{!20, !7, i64 188} !61 = !{!20, !7, i64 180} !62 = !{!20, !7, i64 184}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_r600_cs.c_r600_cs_check_reg.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_r600_cs.c_r600_cs_check_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @r600_reg_safe_bm = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [33 x i8] c"forbidden register 0x%08x at %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"bad SET_CONTEXT_REG 0x%04X\0A\00", align 1 @RADEON_CS_KEEP_TILING_FLAGS = common local_unnamed_addr global i32 0, align 4 @r600_nomm = common local_unnamed_addr global i32 0, align 4 @C_028010_ARRAY_MODE = common local_unnamed_addr global i32 0, align 4 @RADEON_TILING_MACRO = common local_unnamed_addr global i32 0, align 4 @V_028010_ARRAY_2D_TILED_THIN1 = common local_unnamed_addr global i32 0, align 4 @V_028010_ARRAY_1D_TILED_THIN1 = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"missing reloc for CP_COHER_BASE 0x%04X\0A\00", align 1 @V_028808_SPECIAL_RESOLVE_BOX = common local_unnamed_addr global i32 0, align 4 @V_0280A0_ARRAY_2D_TILED_THIN1 = common local_unnamed_addr global i32 0, align 4 @RADEON_TILING_MICRO = common local_unnamed_addr global i32 0, align 4 @V_0280A0_ARRAY_1D_TILED_THIN1 = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [81 x i8] c"Broken old userspace ? no cb_color0_base supplied before trying to write 0x%08X\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"bad SET_CONFIG_REG 0x%04X\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @r600_cs_check_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @r600_cs_check_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = inttoptr i64 %6 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = ashr i32 %1, 7 %9 = load ptr, ptr @r600_reg_safe_bm, align 8, !tbaa !14 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp slt i32 %8, %10 br i1 %11, label %18, label %12 12: ; preds = %3 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = tail call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !16 %17 = sub nsw i32 0, %16 br label %601 18: ; preds = %3 %19 = lshr i32 %1, 2 %20 = and i32 %19, 31 %21 = shl nuw i32 1, %20 %22 = load ptr, ptr @r600_reg_safe_bm, align 8, !tbaa !14 %23 = sext i32 %8 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = and i32 %25, %21 %27 = icmp eq i32 %26, 0 br i1 %27, label %601, label %28 28: ; preds = %18 %29 = getelementptr inbounds i8, ptr %0, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !17 switch i32 %1, label %595 [ i32 209, label %601 i32 272, label %601 i32 207, label %601 i32 270, label %601 i32 203, label %601 i32 266, label %601 i32 206, label %601 i32 269, label %601 i32 208, label %601 i32 271, label %601 i32 204, label %601 i32 267, label %601 i32 202, label %601 i32 265, label %601 i32 205, label %601 i32 268, label %601 i32 201, label %601 i32 148, label %31 i32 145, label %31 i32 147, label %31 i32 146, label %31 i32 139, label %31 i32 138, label %31 i32 149, label %48 i32 211, label %50 i32 262, label %54 i32 263, label %112 i32 264, label %116 i32 200, label %121 i32 199, label %125 i32 135, label %129 i32 134, label %129 i32 133, label %129 i32 132, label %129 i32 131, label %159 i32 130, label %159 i32 129, label %159 i32 128, label %159 i32 276, label %165 i32 213, label %183 i32 212, label %187 i32 198, label %190 i32 210, label %197 i32 245, label %205 i32 244, label %205 i32 243, label %205 i32 242, label %205 i32 241, label %205 i32 240, label %205 i32 239, label %205 i32 238, label %205 i32 253, label %275 i32 252, label %275 i32 251, label %275 i32 250, label %275 i32 249, label %275 i32 248, label %275 i32 247, label %275 i32 246, label %275 i32 261, label %283 i32 260, label %283 i32 259, label %283 i32 258, label %283 i32 257, label %283 i32 256, label %283 i32 255, label %283 i32 254, label %283 i32 229, label %294 i32 228, label %294 i32 227, label %294 i32 226, label %294 i32 225, label %294 i32 224, label %294 i32 223, label %294 i32 222, label %294 i32 237, label %368 i32 236, label %368 i32 235, label %368 i32 234, label %368 i32 233, label %368 i32 232, label %368 i32 231, label %368 i32 230, label %368 i32 221, label %442 i32 220, label %442 i32 219, label %442 i32 218, label %442 i32 217, label %442 i32 216, label %442 i32 215, label %442 i32 214, label %442 i32 284, label %457 i32 283, label %457 i32 282, label %457 i32 281, label %457 i32 280, label %457 i32 279, label %457 i32 278, label %457 i32 277, label %457 i32 275, label %495 i32 274, label %522 i32 273, label %547 i32 143, label %555 i32 144, label %555 i32 140, label %555 i32 142, label %555 i32 141, label %555 i32 197, label %555 i32 196, label %555 i32 189, label %555 i32 188, label %555 i32 187, label %555 i32 186, label %555 i32 185, label %555 i32 184, label %555 i32 183, label %555 i32 182, label %555 i32 195, label %555 i32 194, label %555 i32 193, label %555 i32 192, label %555 i32 191, label %555 i32 190, label %555 i32 181, label %555 i32 180, label %555 i32 173, label %555 i32 172, label %555 i32 171, label %555 i32 170, label %555 i32 169, label %555 i32 168, label %555 i32 167, label %555 i32 166, label %555 i32 179, label %555 i32 178, label %555 i32 177, label %555 i32 176, label %555 i32 175, label %555 i32 174, label %555 i32 165, label %555 i32 164, label %555 i32 157, label %555 i32 156, label %555 i32 155, label %555 i32 154, label %555 i32 153, label %555 i32 152, label %555 i32 151, label %555 i32 150, label %555 i32 163, label %555 i32 162, label %555 i32 161, label %555 i32 160, label %555 i32 159, label %555 i32 158, label %555 i32 137, label %573 i32 136, label %591 ] 31: ; preds = %28, %28, %28, %28, %28, %28 %32 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 0) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %40, label %34 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %0, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %36, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %38 = load i32, ptr @EINVAL, align 4, !tbaa !16 %39 = sub nsw i32 0, %38 br label %601 40: ; preds = %31 %41 = load ptr, ptr %4, align 8, !tbaa !14 %42 = load i32, ptr %41, align 4, !tbaa !18 %43 = ashr i32 %42, 8 %44 = sext i32 %2 to i64 %45 = getelementptr inbounds i32, ptr %30, i64 %44 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = add nsw i32 %46, %43 store i32 %47, ptr %45, align 4, !tbaa !16 br label %601 48: ; preds = %28 %49 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 store i32 %49, ptr %7, align 8, !tbaa !20 br label %601 50: ; preds = %28 %51 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %52 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %51, ptr %52, align 4, !tbaa !22 %53 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %53, align 8, !tbaa !23 br label %601 54: ; preds = %28 %55 = load i32, ptr %0, align 8, !tbaa !24 %56 = load i32, ptr @RADEON_CS_KEEP_TILING_FLAGS, align 4, !tbaa !16 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %107 59: ; preds = %54 %60 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %107, label %62 62: ; preds = %59 %63 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %64 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %63) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %62 %67 = getelementptr inbounds i8, ptr %0, i64 4 %68 = load i32, ptr %67, align 4, !tbaa !15 %69 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %68, ptr noundef nonnull @.str.1, i32 noundef 262) #3 %70 = load i32, ptr @EINVAL, align 4, !tbaa !16 %71 = sub nsw i32 0, %70 br label %601 72: ; preds = %62 %73 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %74 = getelementptr inbounds i8, ptr %7, i64 12 store i32 %73, ptr %74, align 4, !tbaa !25 %75 = load i32, ptr @C_028010_ARRAY_MODE, align 4, !tbaa !16 %76 = sext i32 %2 to i64 %77 = getelementptr inbounds i32, ptr %30, i64 %76 %78 = load i32, ptr %77, align 4, !tbaa !16 %79 = and i32 %78, %75 store i32 %79, ptr %77, align 4, !tbaa !16 %80 = load i32, ptr @C_028010_ARRAY_MODE, align 4, !tbaa !16 %81 = load i32, ptr %74, align 4, !tbaa !25 %82 = and i32 %81, %80 store i32 %82, ptr %74, align 4, !tbaa !25 %83 = load ptr, ptr %4, align 8, !tbaa !14 %84 = getelementptr inbounds i8, ptr %83, i64 4 %85 = load i32, ptr %84, align 4, !tbaa !26 %86 = load i32, ptr @RADEON_TILING_MACRO, align 4, !tbaa !16 %87 = and i32 %86, %85 %88 = icmp eq i32 %87, 0 br i1 %88, label %98, label %89 89: ; preds = %72 %90 = load i32, ptr @V_028010_ARRAY_2D_TILED_THIN1, align 4, !tbaa !16 %91 = call i32 @S_028010_ARRAY_MODE(i32 noundef %90) #3 %92 = load i32, ptr %77, align 4, !tbaa !16 %93 = or i32 %92, %91 store i32 %93, ptr %77, align 4, !tbaa !16 %94 = load i32, ptr @V_028010_ARRAY_2D_TILED_THIN1, align 4, !tbaa !16 %95 = call i32 @S_028010_ARRAY_MODE(i32 noundef %94) #3 %96 = load i32, ptr %74, align 4, !tbaa !25 %97 = or i32 %96, %95 store i32 %97, ptr %74, align 4, !tbaa !25 br label %110 98: ; preds = %72 %99 = load i32, ptr @V_028010_ARRAY_1D_TILED_THIN1, align 4, !tbaa !16 %100 = call i32 @S_028010_ARRAY_MODE(i32 noundef %99) #3 %101 = load i32, ptr %77, align 4, !tbaa !16 %102 = or i32 %101, %100 store i32 %102, ptr %77, align 4, !tbaa !16 %103 = load i32, ptr @V_028010_ARRAY_1D_TILED_THIN1, align 4, !tbaa !16 %104 = call i32 @S_028010_ARRAY_MODE(i32 noundef %103) #3 %105 = load i32, ptr %74, align 4, !tbaa !25 %106 = or i32 %105, %104 store i32 %106, ptr %74, align 4, !tbaa !25 br label %110 107: ; preds = %59, %54 %108 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %109 = getelementptr inbounds i8, ptr %7, i64 12 store i32 %108, ptr %109, align 4, !tbaa !25 br label %110 110: ; preds = %89, %98, %107 %111 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %111, align 8, !tbaa !23 br label %601 112: ; preds = %28 %113 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %114 = getelementptr inbounds i8, ptr %7, i64 16 store i32 %113, ptr %114, align 8, !tbaa !27 %115 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %115, align 8, !tbaa !23 br label %601 116: ; preds = %28 %117 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %118 = getelementptr inbounds i8, ptr %7, i64 20 store i32 %117, ptr %118, align 4, !tbaa !28 %119 = getelementptr inbounds i8, ptr %7, i64 24 store i32 %2, ptr %119, align 8, !tbaa !29 %120 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %120, align 8, !tbaa !23 br label %601 121: ; preds = %28 %122 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %123 = getelementptr inbounds i8, ptr %7, i64 28 store i32 %122, ptr %123, align 4, !tbaa !30 %124 = getelementptr inbounds i8, ptr %7, i64 32 store i32 1, ptr %124, align 8, !tbaa !31 br label %601 125: ; preds = %28 %126 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %127 = getelementptr inbounds i8, ptr %7, i64 36 store i32 %126, ptr %127, align 4, !tbaa !32 %128 = getelementptr inbounds i8, ptr %7, i64 32 store i32 1, ptr %128, align 8, !tbaa !31 br label %601 129: ; preds = %28, %28, %28, %28 %130 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %131 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %130) #3 %132 = icmp eq i32 %131, 0 br i1 %132, label %139, label %133 133: ; preds = %129 %134 = getelementptr inbounds i8, ptr %0, i64 4 %135 = load i32, ptr %134, align 4, !tbaa !15 %136 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %135, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %137 = load i32, ptr @EINVAL, align 4, !tbaa !16 %138 = sub nsw i32 0, %137 br label %601 139: ; preds = %129 %140 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %141 = shl i32 %140, 8 %142 = getelementptr inbounds i8, ptr %7, i64 40 %143 = load ptr, ptr %142, align 8, !tbaa !33 store i32 %141, ptr %143, align 4, !tbaa !16 %144 = load ptr, ptr %4, align 8, !tbaa !14 %145 = load i32, ptr %144, align 4, !tbaa !18 %146 = ashr i32 %145, 8 %147 = sext i32 %2 to i64 %148 = getelementptr inbounds i32, ptr %30, i64 %147 %149 = load i32, ptr %148, align 4, !tbaa !16 %150 = add nsw i32 %149, %146 store i32 %150, ptr %148, align 4, !tbaa !16 %151 = getelementptr inbounds i8, ptr %144, i64 8 %152 = load i32, ptr %151, align 4, !tbaa !34 %153 = getelementptr inbounds i8, ptr %7, i64 224 %154 = load ptr, ptr %153, align 8, !tbaa !35 store i32 %152, ptr %154, align 4, !tbaa !16 %155 = load i32, ptr %144, align 4, !tbaa !18 %156 = getelementptr inbounds i8, ptr %7, i64 48 %157 = load ptr, ptr %156, align 8, !tbaa !36 store i32 %155, ptr %157, align 4, !tbaa !16 %158 = getelementptr inbounds i8, ptr %7, i64 32 store i32 1, ptr %158, align 8, !tbaa !31 br label %601 159: ; preds = %28, %28, %28, %28 %160 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %161 = shl nsw i32 %160, 2 %162 = getelementptr inbounds i8, ptr %7, i64 56 %163 = load ptr, ptr %162, align 8, !tbaa !37 store i32 %161, ptr %163, align 4, !tbaa !16 %164 = getelementptr inbounds i8, ptr %7, i64 32 store i32 1, ptr %164, align 8, !tbaa !31 br label %601 165: ; preds = %28 %166 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %167 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %166) #3 %168 = icmp eq i32 %167, 0 br i1 %168, label %175, label %169 169: ; preds = %165 %170 = getelementptr inbounds i8, ptr %0, i64 4 %171 = load i32, ptr %170, align 4, !tbaa !15 %172 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %171, ptr noundef nonnull @.str.2, i32 noundef 276) #3 %173 = load i32, ptr @EINVAL, align 4, !tbaa !16 %174 = sub nsw i32 0, %173 br label %601 175: ; preds = %165 %176 = load ptr, ptr %4, align 8, !tbaa !14 %177 = load i32, ptr %176, align 4, !tbaa !18 %178 = ashr i32 %177, 8 %179 = sext i32 %2 to i64 %180 = getelementptr inbounds i32, ptr %30, i64 %179 %181 = load i32, ptr %180, align 4, !tbaa !16 %182 = add nsw i32 %181, %178 store i32 %182, ptr %180, align 4, !tbaa !16 br label %601 183: ; preds = %28 %184 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %185 = getelementptr inbounds i8, ptr %7, i64 64 store i32 %184, ptr %185, align 8, !tbaa !38 %186 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %186, align 4, !tbaa !39 br label %601 187: ; preds = %28 %188 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %189 = getelementptr inbounds i8, ptr %7, i64 72 store i32 %188, ptr %189, align 8, !tbaa !40 br label %601 190: ; preds = %28 %191 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %192 = tail call i32 @G_028C04_MSAA_NUM_SAMPLES(i32 noundef %191) #3 %193 = getelementptr inbounds i8, ptr %7, i64 76 store i32 %192, ptr %193, align 4, !tbaa !41 %194 = shl nuw i32 1, %192 %195 = getelementptr inbounds i8, ptr %7, i64 80 store i32 %194, ptr %195, align 8, !tbaa !42 %196 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %196, align 4, !tbaa !39 br label %601 197: ; preds = %28 %198 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %199 = tail call i32 @G_028808_SPECIAL_OP(i32 noundef %198) #3 %200 = load i32, ptr @V_028808_SPECIAL_RESOLVE_BOX, align 4, !tbaa !16 %201 = icmp eq i32 %199, %200 %202 = zext i1 %201 to i32 %203 = getelementptr inbounds i8, ptr %7, i64 84 store i32 %202, ptr %203, align 4, !tbaa !43 %204 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %204, align 4, !tbaa !39 br label %601 205: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %206 = load i32, ptr %0, align 8, !tbaa !24 %207 = load i32, ptr @RADEON_CS_KEEP_TILING_FLAGS, align 4, !tbaa !16 %208 = and i32 %207, %206 %209 = icmp eq i32 %208, 0 br i1 %209, label %210, label %266 210: ; preds = %205 %211 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %212 = icmp eq i32 %211, 0 br i1 %212, label %266, label %213 213: ; preds = %210 %214 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %215 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %214) #3 %216 = icmp eq i32 %215, 0 br i1 %216, label %223, label %217 217: ; preds = %213 %218 = getelementptr inbounds i8, ptr %0, i64 4 %219 = load i32, ptr %218, align 4, !tbaa !15 %220 = call i32 @dev_err(i32 noundef %219, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %221 = load i32, ptr @EINVAL, align 4, !tbaa !16 %222 = sub nsw i32 0, %221 br label %601 223: ; preds = %213 %224 = icmp ult i32 %1, 242 %225 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %226 = getelementptr inbounds i8, ptr %7, i64 88 %227 = load ptr, ptr %226, align 8, !tbaa !44 %228 = sext i1 %224 to i64 %229 = getelementptr inbounds i32, ptr %227, i64 %228 store i32 %225, ptr %229, align 4, !tbaa !16 %230 = load ptr, ptr %4, align 8, !tbaa !14 %231 = getelementptr inbounds i8, ptr %230, i64 4 %232 = load i32, ptr %231, align 4, !tbaa !26 %233 = load i32, ptr @RADEON_TILING_MACRO, align 4, !tbaa !16 %234 = and i32 %233, %232 %235 = icmp eq i32 %234, 0 br i1 %235, label %249, label %236 236: ; preds = %223 %237 = load i32, ptr @V_0280A0_ARRAY_2D_TILED_THIN1, align 4, !tbaa !16 %238 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %237) #3 %239 = sext i32 %2 to i64 %240 = getelementptr inbounds i32, ptr %30, i64 %239 %241 = load i32, ptr %240, align 4, !tbaa !16 %242 = or i32 %241, %238 store i32 %242, ptr %240, align 4, !tbaa !16 %243 = load i32, ptr @V_0280A0_ARRAY_2D_TILED_THIN1, align 4, !tbaa !16 %244 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %243) #3 %245 = load ptr, ptr %226, align 8, !tbaa !44 %246 = getelementptr inbounds i32, ptr %245, i64 %228 %247 = load i32, ptr %246, align 4, !tbaa !16 %248 = or i32 %247, %244 store i32 %248, ptr %246, align 4, !tbaa !16 br label %273 249: ; preds = %223 %250 = load i32, ptr @RADEON_TILING_MICRO, align 4, !tbaa !16 %251 = and i32 %250, %232 %252 = icmp eq i32 %251, 0 br i1 %252, label %273, label %253 253: ; preds = %249 %254 = load i32, ptr @V_0280A0_ARRAY_1D_TILED_THIN1, align 4, !tbaa !16 %255 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %254) #3 %256 = sext i32 %2 to i64 %257 = getelementptr inbounds i32, ptr %30, i64 %256 %258 = load i32, ptr %257, align 4, !tbaa !16 %259 = or i32 %258, %255 store i32 %259, ptr %257, align 4, !tbaa !16 %260 = load i32, ptr @V_0280A0_ARRAY_1D_TILED_THIN1, align 4, !tbaa !16 %261 = call i32 @S_0280A0_ARRAY_MODE(i32 noundef %260) #3 %262 = load ptr, ptr %226, align 8, !tbaa !44 %263 = getelementptr inbounds i32, ptr %262, i64 %228 %264 = load i32, ptr %263, align 4, !tbaa !16 %265 = or i32 %264, %261 store i32 %265, ptr %263, align 4, !tbaa !16 br label %273 266: ; preds = %210, %205 %267 = icmp ult i32 %1, 242 %268 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %269 = getelementptr inbounds i8, ptr %7, i64 88 %270 = load ptr, ptr %269, align 8, !tbaa !44 %271 = sext i1 %267 to i64 %272 = getelementptr inbounds i32, ptr %270, i64 %271 store i32 %268, ptr %272, align 4, !tbaa !16 br label %273 273: ; preds = %236, %253, %249, %266 %274 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %274, align 4, !tbaa !39 br label %601 275: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %276 = icmp ult i32 %1, 250 %277 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %278 = getelementptr inbounds i8, ptr %7, i64 96 %279 = load ptr, ptr %278, align 8, !tbaa !45 %280 = sext i1 %276 to i64 %281 = getelementptr inbounds i32, ptr %279, i64 %280 store i32 %277, ptr %281, align 4, !tbaa !16 %282 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %282, align 4, !tbaa !39 br label %601 283: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %284 = icmp ult i32 %1, 258 %285 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %286 = getelementptr inbounds i8, ptr %7, i64 104 %287 = load ptr, ptr %286, align 8, !tbaa !46 %288 = sext i1 %284 to i64 %289 = getelementptr inbounds i32, ptr %287, i64 %288 store i32 %285, ptr %289, align 4, !tbaa !16 %290 = getelementptr inbounds i8, ptr %7, i64 112 %291 = load ptr, ptr %290, align 8, !tbaa !47 %292 = getelementptr inbounds i32, ptr %291, i64 %288 store i32 %2, ptr %292, align 4, !tbaa !16 %293 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %293, align 4, !tbaa !39 br label %601 294: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %295 = icmp ult i32 %1, 226 %296 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %297 = icmp eq i32 %296, 0 br i1 %297, label %298, label %329 298: ; preds = %294 %299 = getelementptr inbounds i8, ptr %7, i64 120 %300 = load ptr, ptr %299, align 8, !tbaa !48 %301 = sext i1 %295 to i64 %302 = getelementptr inbounds i32, ptr %300, i64 %301 %303 = load i32, ptr %302, align 4, !tbaa !16 %304 = icmp eq i32 %303, 0 br i1 %304, label %305, label %311 305: ; preds = %298 %306 = getelementptr inbounds i8, ptr %0, i64 4 %307 = load i32, ptr %306, align 4, !tbaa !15 %308 = tail call i32 @dev_err(i32 noundef %307, ptr noundef nonnull @.str.3, i32 noundef %1) #3 %309 = load i32, ptr @EINVAL, align 4, !tbaa !16 %310 = sub nsw i32 0, %309 br label %601 311: ; preds = %298 %312 = getelementptr inbounds i8, ptr %7, i64 200 %313 = load ptr, ptr %312, align 8, !tbaa !49 %314 = getelementptr inbounds i32, ptr %313, i64 %301 %315 = load i32, ptr %314, align 4, !tbaa !16 %316 = getelementptr inbounds i8, ptr %7, i64 216 %317 = load ptr, ptr %316, align 8, !tbaa !50 %318 = getelementptr inbounds i32, ptr %317, i64 %301 store i32 %315, ptr %318, align 4, !tbaa !16 %319 = getelementptr inbounds i8, ptr %7, i64 136 %320 = load ptr, ptr %319, align 8, !tbaa !51 %321 = getelementptr inbounds i32, ptr %320, i64 %301 %322 = load i32, ptr %321, align 4, !tbaa !16 %323 = getelementptr inbounds i8, ptr %7, i64 128 %324 = load ptr, ptr %323, align 8, !tbaa !52 %325 = getelementptr inbounds i32, ptr %324, i64 %301 store i32 %322, ptr %325, align 4, !tbaa !16 %326 = load i32, ptr %302, align 4, !tbaa !16 %327 = sext i32 %2 to i64 %328 = getelementptr inbounds i32, ptr %30, i64 %327 store i32 %326, ptr %328, align 4, !tbaa !16 br label %358 329: ; preds = %294 %330 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %331 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %330) #3 %332 = icmp eq i32 %331, 0 br i1 %332, label %339, label %333 333: ; preds = %329 %334 = getelementptr inbounds i8, ptr %0, i64 4 %335 = load i32, ptr %334, align 4, !tbaa !15 %336 = call i32 @dev_err(i32 noundef %335, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %337 = load i32, ptr @EINVAL, align 4, !tbaa !16 %338 = sub nsw i32 0, %337 br label %601 339: ; preds = %329 %340 = load ptr, ptr %4, align 8, !tbaa !14 %341 = getelementptr inbounds i8, ptr %340, i64 8 %342 = load i32, ptr %341, align 4, !tbaa !34 %343 = getelementptr inbounds i8, ptr %7, i64 216 %344 = load ptr, ptr %343, align 8, !tbaa !50 %345 = sext i1 %295 to i64 %346 = getelementptr inbounds i32, ptr %344, i64 %345 store i32 %342, ptr %346, align 4, !tbaa !16 %347 = sext i32 %2 to i64 %348 = getelementptr inbounds i32, ptr %30, i64 %347 %349 = load i32, ptr %348, align 4, !tbaa !16 %350 = shl i32 %349, 8 %351 = getelementptr inbounds i8, ptr %7, i64 128 %352 = load ptr, ptr %351, align 8, !tbaa !52 %353 = getelementptr inbounds i32, ptr %352, i64 %345 store i32 %350, ptr %353, align 4, !tbaa !16 %354 = load i32, ptr %340, align 4, !tbaa !18 %355 = ashr i32 %354, 8 %356 = load i32, ptr %348, align 4, !tbaa !16 %357 = add nsw i32 %356, %355 store i32 %357, ptr %348, align 4, !tbaa !16 br label %358 358: ; preds = %339, %311 %359 = phi i64 [ %345, %339 ], [ %301, %311 ] %360 = getelementptr inbounds i8, ptr %7, i64 88 %361 = load ptr, ptr %360, align 8, !tbaa !44 %362 = getelementptr inbounds i32, ptr %361, i64 %359 %363 = load i32, ptr %362, align 4, !tbaa !16 %364 = call i32 @G_0280A0_TILE_MODE(i32 noundef %363) #3 %365 = icmp eq i32 %364, 0 br i1 %365, label %601, label %366 366: ; preds = %358 %367 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %367, align 4, !tbaa !39 br label %601 368: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %369 = icmp ult i32 %1, 234 %370 = tail call i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef nonnull %0) #3 %371 = icmp eq i32 %370, 0 br i1 %371, label %372, label %403 372: ; preds = %368 %373 = getelementptr inbounds i8, ptr %7, i64 120 %374 = load ptr, ptr %373, align 8, !tbaa !48 %375 = sext i1 %369 to i64 %376 = getelementptr inbounds i32, ptr %374, i64 %375 %377 = load i32, ptr %376, align 4, !tbaa !16 %378 = icmp eq i32 %377, 0 br i1 %378, label %379, label %385 379: ; preds = %372 %380 = getelementptr inbounds i8, ptr %0, i64 4 %381 = load i32, ptr %380, align 4, !tbaa !15 %382 = tail call i32 @dev_err(i32 noundef %381, ptr noundef nonnull @.str.3, i32 noundef %1) #3 %383 = load i32, ptr @EINVAL, align 4, !tbaa !16 %384 = sub nsw i32 0, %383 br label %601 385: ; preds = %372 %386 = getelementptr inbounds i8, ptr %7, i64 200 %387 = load ptr, ptr %386, align 8, !tbaa !49 %388 = getelementptr inbounds i32, ptr %387, i64 %375 %389 = load i32, ptr %388, align 4, !tbaa !16 %390 = getelementptr inbounds i8, ptr %7, i64 208 %391 = load ptr, ptr %390, align 8, !tbaa !53 %392 = getelementptr inbounds i32, ptr %391, i64 %375 store i32 %389, ptr %392, align 4, !tbaa !16 %393 = getelementptr inbounds i8, ptr %7, i64 136 %394 = load ptr, ptr %393, align 8, !tbaa !51 %395 = getelementptr inbounds i32, ptr %394, i64 %375 %396 = load i32, ptr %395, align 4, !tbaa !16 %397 = getelementptr inbounds i8, ptr %7, i64 144 %398 = load ptr, ptr %397, align 8, !tbaa !54 %399 = getelementptr inbounds i32, ptr %398, i64 %375 store i32 %396, ptr %399, align 4, !tbaa !16 %400 = load i32, ptr %376, align 4, !tbaa !16 %401 = sext i32 %2 to i64 %402 = getelementptr inbounds i32, ptr %30, i64 %401 store i32 %400, ptr %402, align 4, !tbaa !16 br label %432 403: ; preds = %368 %404 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %405 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %404) #3 %406 = icmp eq i32 %405, 0 br i1 %406, label %413, label %407 407: ; preds = %403 %408 = getelementptr inbounds i8, ptr %0, i64 4 %409 = load i32, ptr %408, align 4, !tbaa !15 %410 = call i32 @dev_err(i32 noundef %409, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %411 = load i32, ptr @EINVAL, align 4, !tbaa !16 %412 = sub nsw i32 0, %411 br label %601 413: ; preds = %403 %414 = load ptr, ptr %4, align 8, !tbaa !14 %415 = getelementptr inbounds i8, ptr %414, i64 8 %416 = load i32, ptr %415, align 4, !tbaa !34 %417 = getelementptr inbounds i8, ptr %7, i64 208 %418 = load ptr, ptr %417, align 8, !tbaa !53 %419 = sext i1 %369 to i64 %420 = getelementptr inbounds i32, ptr %418, i64 %419 store i32 %416, ptr %420, align 4, !tbaa !16 %421 = sext i32 %2 to i64 %422 = getelementptr inbounds i32, ptr %30, i64 %421 %423 = load i32, ptr %422, align 4, !tbaa !16 %424 = shl i32 %423, 8 %425 = getelementptr inbounds i8, ptr %7, i64 144 %426 = load ptr, ptr %425, align 8, !tbaa !54 %427 = getelementptr inbounds i32, ptr %426, i64 %419 store i32 %424, ptr %427, align 4, !tbaa !16 %428 = load i32, ptr %414, align 4, !tbaa !18 %429 = ashr i32 %428, 8 %430 = load i32, ptr %422, align 4, !tbaa !16 %431 = add nsw i32 %430, %429 store i32 %431, ptr %422, align 4, !tbaa !16 br label %432 432: ; preds = %413, %385 %433 = phi i64 [ %419, %413 ], [ %375, %385 ] %434 = getelementptr inbounds i8, ptr %7, i64 88 %435 = load ptr, ptr %434, align 8, !tbaa !44 %436 = getelementptr inbounds i32, ptr %435, i64 %433 %437 = load i32, ptr %436, align 4, !tbaa !16 %438 = call i32 @G_0280A0_TILE_MODE(i32 noundef %437) #3 %439 = icmp eq i32 %438, 0 br i1 %439, label %601, label %440 440: ; preds = %432 %441 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %441, align 4, !tbaa !39 br label %601 442: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %443 = icmp ult i32 %1, 218 %444 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %445 = getelementptr inbounds i8, ptr %7, i64 152 %446 = load ptr, ptr %445, align 8, !tbaa !55 %447 = sext i1 %443 to i64 %448 = getelementptr inbounds i32, ptr %446, i64 %447 store i32 %444, ptr %448, align 4, !tbaa !16 %449 = getelementptr inbounds i8, ptr %7, i64 88 %450 = load ptr, ptr %449, align 8, !tbaa !44 %451 = getelementptr inbounds i32, ptr %450, i64 %447 %452 = load i32, ptr %451, align 4, !tbaa !16 %453 = tail call i32 @G_0280A0_TILE_MODE(i32 noundef %452) #3 %454 = icmp eq i32 %453, 0 br i1 %454, label %601, label %455 455: ; preds = %442 %456 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %456, align 4, !tbaa !39 br label %601 457: ; preds = %28, %28, %28, %28, %28, %28, %28, %28 %458 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %459 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %458) #3 %460 = icmp eq i32 %459, 0 br i1 %460, label %467, label %461 461: ; preds = %457 %462 = getelementptr inbounds i8, ptr %0, i64 4 %463 = load i32, ptr %462, align 4, !tbaa !15 %464 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %463, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %465 = load i32, ptr @EINVAL, align 4, !tbaa !16 %466 = sub nsw i32 0, %465 br label %601 467: ; preds = %457 %468 = icmp ult i32 %1, 281 %469 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %470 = shl i32 %469, 8 %471 = getelementptr inbounds i8, ptr %7, i64 136 %472 = load ptr, ptr %471, align 8, !tbaa !51 %473 = sext i1 %468 to i64 %474 = getelementptr inbounds i32, ptr %472, i64 %473 store i32 %470, ptr %474, align 4, !tbaa !16 %475 = load ptr, ptr %4, align 8, !tbaa !14 %476 = load i32, ptr %475, align 4, !tbaa !18 %477 = ashr i32 %476, 8 %478 = sext i32 %2 to i64 %479 = getelementptr inbounds i32, ptr %30, i64 %478 %480 = load i32, ptr %479, align 4, !tbaa !16 %481 = add nsw i32 %480, %477 store i32 %481, ptr %479, align 4, !tbaa !16 %482 = getelementptr inbounds i8, ptr %7, i64 120 %483 = load ptr, ptr %482, align 8, !tbaa !48 %484 = getelementptr inbounds i32, ptr %483, i64 %473 store i32 %481, ptr %484, align 4, !tbaa !16 %485 = getelementptr inbounds i8, ptr %475, i64 8 %486 = load i32, ptr %485, align 4, !tbaa !34 %487 = getelementptr inbounds i8, ptr %7, i64 200 %488 = load ptr, ptr %487, align 8, !tbaa !49 %489 = getelementptr inbounds i32, ptr %488, i64 %473 store i32 %486, ptr %489, align 4, !tbaa !16 %490 = load i32, ptr %475, align 4, !tbaa !18 %491 = getelementptr inbounds i8, ptr %7, i64 160 %492 = load ptr, ptr %491, align 8, !tbaa !56 %493 = getelementptr inbounds i32, ptr %492, i64 %473 store i32 %490, ptr %493, align 4, !tbaa !16 %494 = getelementptr inbounds i8, ptr %7, i64 68 store i32 1, ptr %494, align 4, !tbaa !39 br label %601 495: ; preds = %28 %496 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %497 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %496) #3 %498 = icmp eq i32 %497, 0 br i1 %498, label %505, label %499 499: ; preds = %495 %500 = getelementptr inbounds i8, ptr %0, i64 4 %501 = load i32, ptr %500, align 4, !tbaa !15 %502 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %501, ptr noundef nonnull @.str.1, i32 noundef 275) #3 %503 = load i32, ptr @EINVAL, align 4, !tbaa !16 %504 = sub nsw i32 0, %503 br label %601 505: ; preds = %495 %506 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %507 = shl i32 %506, 8 %508 = getelementptr inbounds i8, ptr %7, i64 168 store i32 %507, ptr %508, align 8, !tbaa !57 %509 = load ptr, ptr %4, align 8, !tbaa !14 %510 = load i32, ptr %509, align 4, !tbaa !18 %511 = ashr i32 %510, 8 %512 = sext i32 %2 to i64 %513 = getelementptr inbounds i32, ptr %30, i64 %512 %514 = load i32, ptr %513, align 4, !tbaa !16 %515 = add nsw i32 %514, %511 store i32 %515, ptr %513, align 4, !tbaa !16 %516 = getelementptr inbounds i8, ptr %509, i64 8 %517 = load i32, ptr %516, align 4, !tbaa !34 %518 = getelementptr inbounds i8, ptr %7, i64 192 store i32 %517, ptr %518, align 8, !tbaa !58 %519 = load i32, ptr %509, align 4, !tbaa !18 %520 = getelementptr inbounds i8, ptr %7, i64 172 store i32 %519, ptr %520, align 4, !tbaa !59 %521 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %521, align 8, !tbaa !23 br label %601 522: ; preds = %28 %523 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %524 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %523) #3 %525 = icmp eq i32 %524, 0 br i1 %525, label %532, label %526 526: ; preds = %522 %527 = getelementptr inbounds i8, ptr %0, i64 4 %528 = load i32, ptr %527, align 4, !tbaa !15 %529 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %528, ptr noundef nonnull @.str.1, i32 noundef 274) #3 %530 = load i32, ptr @EINVAL, align 4, !tbaa !16 %531 = sub nsw i32 0, %530 br label %601 532: ; preds = %522 %533 = call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %534 = shl i32 %533, 8 %535 = getelementptr inbounds i8, ptr %7, i64 176 store i32 %534, ptr %535, align 8, !tbaa !60 %536 = load ptr, ptr %4, align 8, !tbaa !14 %537 = load i32, ptr %536, align 4, !tbaa !18 %538 = ashr i32 %537, 8 %539 = sext i32 %2 to i64 %540 = getelementptr inbounds i32, ptr %30, i64 %539 %541 = load i32, ptr %540, align 4, !tbaa !16 %542 = add nsw i32 %541, %538 store i32 %542, ptr %540, align 4, !tbaa !16 %543 = getelementptr inbounds i8, ptr %536, i64 8 %544 = load i32, ptr %543, align 4, !tbaa !34 %545 = getelementptr inbounds i8, ptr %7, i64 188 store i32 %544, ptr %545, align 4, !tbaa !61 %546 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %546, align 8, !tbaa !23 br label %601 547: ; preds = %28 %548 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %549 = getelementptr inbounds i8, ptr %7, i64 180 store i32 %548, ptr %549, align 4, !tbaa !62 %550 = sext i32 %2 to i64 %551 = getelementptr inbounds i32, ptr %30, i64 %550 %552 = load i32, ptr %551, align 4, !tbaa !16 %553 = or i32 %552, 3 store i32 %553, ptr %551, align 4, !tbaa !16 %554 = getelementptr inbounds i8, ptr %7, i64 8 store i32 1, ptr %554, align 8, !tbaa !23 br label %601 555: ; preds = %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28 %556 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %557 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %556) #3 %558 = icmp eq i32 %557, 0 br i1 %558, label %565, label %559 559: ; preds = %555 %560 = getelementptr inbounds i8, ptr %0, i64 4 %561 = load i32, ptr %560, align 4, !tbaa !15 %562 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %561, ptr noundef nonnull @.str.1, i32 noundef %1) #3 %563 = load i32, ptr @EINVAL, align 4, !tbaa !16 %564 = sub nsw i32 0, %563 br label %601 565: ; preds = %555 %566 = load ptr, ptr %4, align 8, !tbaa !14 %567 = load i32, ptr %566, align 4, !tbaa !18 %568 = ashr i32 %567, 8 %569 = sext i32 %2 to i64 %570 = getelementptr inbounds i32, ptr %30, i64 %569 %571 = load i32, ptr %570, align 4, !tbaa !16 %572 = add nsw i32 %571, %568 store i32 %572, ptr %570, align 4, !tbaa !16 br label %601 573: ; preds = %28 %574 = load i32, ptr @r600_nomm, align 4, !tbaa !16 %575 = call i32 @radeon_cs_packet_next_reloc(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %574) #3 %576 = icmp eq i32 %575, 0 br i1 %576, label %583, label %577 577: ; preds = %573 %578 = getelementptr inbounds i8, ptr %0, i64 4 %579 = load i32, ptr %578, align 4, !tbaa !15 %580 = call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %579, ptr noundef nonnull @.str.4, i32 noundef 137) #3 %581 = load i32, ptr @EINVAL, align 4, !tbaa !16 %582 = sub nsw i32 0, %581 br label %601 583: ; preds = %573 %584 = load ptr, ptr %4, align 8, !tbaa !14 %585 = load i32, ptr %584, align 4, !tbaa !18 %586 = ashr i32 %585, 8 %587 = sext i32 %2 to i64 %588 = getelementptr inbounds i32, ptr %30, i64 %587 %589 = load i32, ptr %588, align 4, !tbaa !16 %590 = add nsw i32 %589, %586 store i32 %590, ptr %588, align 4, !tbaa !16 br label %601 591: ; preds = %28 %592 = tail call i32 @radeon_get_ib_value(ptr noundef nonnull %0, i32 noundef %2) #3 %593 = and i32 %592, 1 %594 = getelementptr inbounds i8, ptr %7, i64 184 store i32 %593, ptr %594, align 8, !tbaa !63 br label %601 595: ; preds = %28 %596 = getelementptr inbounds i8, ptr %0, i64 4 %597 = load i32, ptr %596, align 4, !tbaa !15 %598 = tail call i32 (i32, ptr, i32, ...) @dev_warn(i32 noundef %597, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #3 %599 = load i32, ptr @EINVAL, align 4, !tbaa !16 %600 = sub nsw i32 0, %599 br label %601 601: ; preds = %40, %48, %50, %110, %112, %116, %121, %125, %139, %159, %175, %183, %187, %190, %197, %273, %275, %283, %467, %505, %532, %547, %565, %583, %591, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %28, %366, %358, %440, %432, %455, %442, %18, %595, %577, %559, %526, %499, %461, %407, %379, %333, %305, %217, %169, %133, %66, %34, %12 %602 = phi i32 [ %17, %12 ], [ %600, %595 ], [ %582, %577 ], [ %564, %559 ], [ %531, %526 ], [ %504, %499 ], [ %466, %461 ], [ %412, %407 ], [ %384, %379 ], [ %338, %333 ], [ %310, %305 ], [ %222, %217 ], [ %174, %169 ], [ %138, %133 ], [ %71, %66 ], [ %39, %34 ], [ 0, %18 ], [ 0, %442 ], [ 0, %455 ], [ 0, %432 ], [ 0, %440 ], [ 0, %358 ], [ 0, %366 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %28 ], [ 0, %591 ], [ 0, %583 ], [ 0, %565 ], [ 0, %547 ], [ 0, %532 ], [ 0, %505 ], [ 0, %467 ], [ 0, %283 ], [ 0, %275 ], [ 0, %273 ], [ 0, %197 ], [ 0, %190 ], [ 0, %187 ], [ 0, %183 ], [ 0, %175 ], [ 0, %159 ], [ 0, %139 ], [ 0, %125 ], [ 0, %121 ], [ 0, %116 ], [ 0, %112 ], [ 0, %110 ], [ 0, %50 ], [ 0, %48 ], [ 0, %40 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %602 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @radeon_cs_packet_next_reloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_get_ib_value(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_cs_packet_next_is_pkt3_nop(ptr noundef) local_unnamed_addr #2 declare i32 @S_028010_ARRAY_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @G_028C04_MSAA_NUM_SAMPLES(i32 noundef) local_unnamed_addr #2 declare i32 @G_028808_SPECIAL_OP(i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @S_0280A0_ARRAY_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @G_0280A0_TILE_MODE(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, !13, i64 16} !7 = !{!"radeon_cs_parser", !8, i64 0, !8, i64 4, !11, i64 8, !13, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!8, !8, i64 0} !17 = !{!7, !12, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"radeon_bo_list", !8, i64 0, !8, i64 4, !8, i64 8} !20 = !{!21, !8, i64 0} !21 = !{!"r600_cs_track", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !8, i64 80, !8, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !8, i64 168, !8, i64 172, !8, i64 176, !8, i64 180, !8, i64 184, !8, i64 188, !8, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224} !22 = !{!21, !8, i64 4} !23 = !{!21, !8, i64 8} !24 = !{!7, !8, i64 0} !25 = !{!21, !8, i64 12} !26 = !{!19, !8, i64 4} !27 = !{!21, !8, i64 16} !28 = !{!21, !8, i64 20} !29 = !{!21, !8, i64 24} !30 = !{!21, !8, i64 28} !31 = !{!21, !8, i64 32} !32 = !{!21, !8, i64 36} !33 = !{!21, !12, i64 40} !34 = !{!19, !8, i64 8} !35 = !{!21, !12, i64 224} !36 = !{!21, !12, i64 48} !37 = !{!21, !12, i64 56} !38 = !{!21, !8, i64 64} !39 = !{!21, !8, i64 68} !40 = !{!21, !8, i64 72} !41 = !{!21, !8, i64 76} !42 = !{!21, !8, i64 80} !43 = !{!21, !8, i64 84} !44 = !{!21, !12, i64 88} !45 = !{!21, !12, i64 96} !46 = !{!21, !12, i64 104} !47 = !{!21, !12, i64 112} !48 = !{!21, !12, i64 120} !49 = !{!21, !12, i64 200} !50 = !{!21, !12, i64 216} !51 = !{!21, !12, i64 136} !52 = !{!21, !12, i64 128} !53 = !{!21, !12, i64 208} !54 = !{!21, !12, i64 144} !55 = !{!21, !12, i64 152} !56 = !{!21, !12, i64 160} !57 = !{!21, !8, i64 168} !58 = !{!21, !8, i64 192} !59 = !{!21, !8, i64 172} !60 = !{!21, !8, i64 176} !61 = !{!21, !8, i64 188} !62 = !{!21, !8, i64 180} !63 = !{!21, !8, i64 184}
linux_drivers_gpu_drm_radeon_extr_r600_cs.c_r600_cs_check_reg
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_wait_recv_ctrl_message.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_wait_recv_ctrl_message.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.htc_target = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @HTC_TARGET_RESPONSE_POLL_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @HTC_TARGET_RESPONSE_POLL_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"htc pipe control receive timeout!\0A\00", align 1 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @htc_wait_recv_ctrl_message], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @htc_wait_recv_ctrl_message(ptr noundef %0) #0 { %2 = load i32, ptr @HTC_TARGET_RESPONSE_POLL_COUNT, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %19 4: ; preds = %1 %5 = getelementptr inbounds %struct.htc_target, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %11 %7 = phi i32 [ %2, %4 ], [ %13, %11 ] %8 = tail call i32 @spin_lock_bh(ptr noundef %0) #2 %9 = load i32, ptr %5, align 4, !tbaa !9 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %6 %12 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2 %13 = add nsw i32 %7, -1 %14 = load i32, ptr @HTC_TARGET_RESPONSE_POLL_WAIT, align 4, !tbaa !5 %15 = tail call i32 @msleep_interruptible(i32 noundef %14) #2 %16 = icmp sgt i32 %7, 1 br i1 %16, label %6, label %19, !llvm.loop !12 17: ; preds = %6 store i32 0, ptr %5, align 4, !tbaa !9 %18 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2 br label %23 19: ; preds = %11, %1 %20 = tail call i32 @ath6kl_warn(ptr noundef nonnull @.str) #2 %21 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %23 23: ; preds = %17, %19 %24 = phi i32 [ %22, %19 ], [ 0, %17 ] ret i32 %24 } declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @msleep_interruptible(i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_warn(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 4} !10 = !{!"htc_target", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_2__", !6, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_wait_recv_ctrl_message.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_wait_recv_ctrl_message.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HTC_TARGET_RESPONSE_POLL_COUNT = common local_unnamed_addr global i32 0, align 4 @HTC_TARGET_RESPONSE_POLL_WAIT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"htc pipe control receive timeout!\0A\00", align 1 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @htc_wait_recv_ctrl_message], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @htc_wait_recv_ctrl_message(ptr noundef %0) #0 { %2 = load i32, ptr @HTC_TARGET_RESPONSE_POLL_COUNT, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %19 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 4 br label %6 6: ; preds = %4, %11 %7 = phi i32 [ %2, %4 ], [ %13, %11 ] %8 = tail call i32 @spin_lock_bh(ptr noundef %0) #2 %9 = load i32, ptr %5, align 4, !tbaa !10 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %6 %12 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2 %13 = add nsw i32 %7, -1 %14 = load i32, ptr @HTC_TARGET_RESPONSE_POLL_WAIT, align 4, !tbaa !6 %15 = tail call i32 @msleep_interruptible(i32 noundef %14) #2 %16 = icmp sgt i32 %7, 1 br i1 %16, label %6, label %19, !llvm.loop !13 17: ; preds = %6 store i32 0, ptr %5, align 4, !tbaa !10 %18 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2 br label %23 19: ; preds = %11, %1 %20 = tail call i32 @ath6kl_warn(ptr noundef nonnull @.str) #2 %21 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %23 23: ; preds = %17, %19 %24 = phi i32 [ %22, %19 ], [ 0, %17 ] ret i32 %24 } declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @msleep_interruptible(i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_warn(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 4} !11 = !{!"htc_target", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_2__", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_ath_ath6kl_extr_htc_pipe.c_htc_wait_recv_ctrl_message
; ModuleID = 'AnghaBench/libgit2/src/hash/sha1/extr_collisiondetect.c_git_hash_sha1_ctx_cleanup.c' source_filename = "AnghaBench/libgit2/src/hash/sha1/extr_collisiondetect.c_git_hash_sha1_ctx_cleanup.c" target datalayout = "e-m:e-p270:32:32-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 @git_hash_sha1_ctx_cleanup(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @GIT_UNUSED(ptr noundef %0) #2 ret void } declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libgit2/src/hash/sha1/extr_collisiondetect.c_git_hash_sha1_ctx_cleanup.c' source_filename = "AnghaBench/libgit2/src/hash/sha1/extr_collisiondetect.c_git_hash_sha1_ctx_cleanup.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 @git_hash_sha1_ctx_cleanup(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @GIT_UNUSED(ptr noundef %0) #2 ret void } declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
libgit2_src_hash_sha1_extr_collisiondetect.c_git_hash_sha1_ctx_cleanup
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @xen_pgd_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @xen_pgd_free(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_free.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 @xen_pgd_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @xen_pgd_free(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_x86_xen_extr_mmu.c_xen_pgd_free
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_null_func.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_null_func.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rtllib_device = type { %struct.TYPE_4__, ptr, i32 } %struct.TYPE_4__ = type { i32 } %struct.rtllib_hdr_3addr = type { i32, i32, i32, i32 } @RTLLIB_FTYPE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @RTLLIB_STYPE_NULLFUNC = dso_local local_unnamed_addr global i32 0, align 4 @RTLLIB_FCTL_TODS = dso_local local_unnamed_addr global i32 0, align 4 @RTLLIB_FCTL_PM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtllib_null_func], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @rtllib_null_func(ptr nocapture noundef readonly %0, i16 noundef signext %1) #0 { %3 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = add i32 %4, 16 %6 = tail call ptr @dev_alloc_skb(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %36, label %8 8: ; preds = %2 %9 = load i32, ptr %3, align 8, !tbaa !5 %10 = tail call i32 @skb_reserve(ptr noundef nonnull %6, i32 noundef %9) #2 %11 = tail call ptr @skb_put(ptr noundef nonnull %6, i32 noundef 16) #2 %12 = getelementptr inbounds %struct.rtllib_hdr_3addr, ptr %11, i64 0, i32 3 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = load i32, ptr %0, align 8, !tbaa !14 %15 = tail call i32 @ether_addr_copy(i32 noundef %13, i32 noundef %14) #2 %16 = getelementptr inbounds %struct.rtllib_hdr_3addr, ptr %11, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = tail call i32 @ether_addr_copy(i32 noundef %17, i32 noundef %20) #2 %22 = getelementptr inbounds %struct.rtllib_hdr_3addr, ptr %11, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = load i32, ptr %0, align 8, !tbaa !14 %25 = tail call i32 @ether_addr_copy(i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @RTLLIB_FTYPE_DATA, align 4, !tbaa !20 %27 = load i32, ptr @RTLLIB_STYPE_NULLFUNC, align 4, !tbaa !20 %28 = or i32 %27, %26 %29 = load i32, ptr @RTLLIB_FCTL_TODS, align 4, !tbaa !20 %30 = or i32 %28, %29 %31 = icmp eq i16 %1, 0 %32 = load i32, ptr @RTLLIB_FCTL_PM, align 4 %33 = select i1 %31, i32 0, i32 %32 %34 = or i32 %30, %33 %35 = tail call i32 @cpu_to_le16(i32 noundef %34) #2 store i32 %35, ptr %11, align 4, !tbaa !21 br label %36 36: ; preds = %2, %8 ret ptr %6 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(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 16} !6 = !{!"rtllib_device", !7, i64 0, !11, i64 8, !8, i64 16} !7 = !{!"TYPE_4__", !8, i64 0} !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 12} !13 = !{!"rtllib_hdr_3addr", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !14 = !{!6, !8, i64 0} !15 = !{!13, !8, i64 8} !16 = !{!6, !11, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_3__", !8, i64 0} !19 = !{!13, !8, i64 4} !20 = !{!8, !8, i64 0} !21 = !{!13, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_null_func.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_null_func.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTLLIB_FTYPE_DATA = common local_unnamed_addr global i32 0, align 4 @RTLLIB_STYPE_NULLFUNC = common local_unnamed_addr global i32 0, align 4 @RTLLIB_FCTL_TODS = common local_unnamed_addr global i32 0, align 4 @RTLLIB_FCTL_PM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rtllib_null_func], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @rtllib_null_func(ptr nocapture noundef readonly %0, i16 noundef signext %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = add i32 %4, 16 %6 = tail call ptr @dev_alloc_skb(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %36, label %8 8: ; preds = %2 %9 = load i32, ptr %3, align 8, !tbaa !6 %10 = tail call i32 @skb_reserve(ptr noundef nonnull %6, i32 noundef %9) #2 %11 = tail call ptr @skb_put(ptr noundef nonnull %6, i32 noundef 16) #2 %12 = getelementptr inbounds i8, ptr %11, i64 12 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr %0, align 8, !tbaa !15 %15 = tail call i32 @ether_addr_copy(i32 noundef %13, i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %11, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = tail call i32 @ether_addr_copy(i32 noundef %17, i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %11, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !20 %24 = load i32, ptr %0, align 8, !tbaa !15 %25 = tail call i32 @ether_addr_copy(i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @RTLLIB_FTYPE_DATA, align 4, !tbaa !21 %27 = load i32, ptr @RTLLIB_STYPE_NULLFUNC, align 4, !tbaa !21 %28 = or i32 %27, %26 %29 = load i32, ptr @RTLLIB_FCTL_TODS, align 4, !tbaa !21 %30 = or i32 %28, %29 %31 = icmp eq i16 %1, 0 %32 = load i32, ptr @RTLLIB_FCTL_PM, align 4 %33 = select i1 %31, i32 0, i32 %32 %34 = or i32 %30, %33 %35 = tail call i32 @cpu_to_le16(i32 noundef %34) #2 store i32 %35, ptr %11, align 4, !tbaa !22 br label %36 36: ; preds = %2, %8 ret ptr %6 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(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 16} !7 = !{!"rtllib_device", !8, i64 0, !12, i64 8, !9, i64 16} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !9, i64 12} !14 = !{!"rtllib_hdr_3addr", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12} !15 = !{!7, !9, i64 0} !16 = !{!14, !9, i64 8} !17 = !{!7, !12, i64 8} !18 = !{!19, !9, i64 0} !19 = !{!"TYPE_3__", !9, i64 0} !20 = !{!14, !9, i64 4} !21 = !{!9, !9, i64 0} !22 = !{!14, !9, i64 0}
linux_drivers_staging_rtl8192e_extr_rtllib_softmac.c_rtllib_null_func
; ModuleID = 'AnghaBench/libgit2/tests/ignore/extr_path.c_test_ignore_path__test.c' source_filename = "AnghaBench/libgit2/tests/ignore/extr_path.c_test_ignore_path__test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"attr/.gitignore\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/*/\0A!/src\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"src/foo.c\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"src/foo/foo.c\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"README.md\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"dist/foo.o\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"bin/foo\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test_ignore_path__test() local_unnamed_addr #0 { %1 = tail call i32 @cl_git_rewritefile(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 %2 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.2) #2 %3 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.3) #2 %4 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.4) #2 %5 = tail call i32 @assert_is_ignored(i32 noundef 1, ptr noundef nonnull @.str.5) #2 %6 = tail call i32 @assert_is_ignored(i32 noundef 1, ptr noundef nonnull @.str.6) #2 ret void } declare i32 @cl_git_rewritefile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @assert_is_ignored(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libgit2/tests/ignore/extr_path.c_test_ignore_path__test.c' source_filename = "AnghaBench/libgit2/tests/ignore/extr_path.c_test_ignore_path__test.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"attr/.gitignore\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/*/\0A!/src\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"src/foo.c\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"src/foo/foo.c\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"README.md\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"dist/foo.o\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"bin/foo\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_ignore_path__test() local_unnamed_addr #0 { %1 = tail call i32 @cl_git_rewritefile(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 %2 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.2) #2 %3 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.3) #2 %4 = tail call i32 @assert_is_ignored(i32 noundef 0, ptr noundef nonnull @.str.4) #2 %5 = tail call i32 @assert_is_ignored(i32 noundef 1, ptr noundef nonnull @.str.5) #2 %6 = tail call i32 @assert_is_ignored(i32 noundef 1, ptr noundef nonnull @.str.6) #2 ret void } declare i32 @cl_git_rewritefile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @assert_is_ignored(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)"}
libgit2_tests_ignore_extr_path.c_test_ignore_path__test
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/ibus/extr_nvc0.c_nvc0_ibus_intr_rop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/ibus/extr_nvc0.c_nvc0_ibus_intr_rop.c" target datalayout = "e-m:e-p270:32:32-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 [31 x i8] c"ROP%d: 0x%06x 0x%08x (0x%08x)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvc0_ibus_intr_rop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nvc0_ibus_intr_rop(ptr noundef %0, i32 noundef %1) #0 { %3 = shl nsw i32 %1, 10 %4 = add nsw i32 %3, 1196320 %5 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %4) #2 %6 = add nsw i32 %3, 1196324 %7 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %6) #2 %8 = add nsw i32 %3, 1196328 %9 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %8) #2 %10 = tail call i32 @nv_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2 %11 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %8, i32 noundef 512, i32 noundef 0) #2 ret void } declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_error(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(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/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/ibus/extr_nvc0.c_nvc0_ibus_intr_rop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/ibus/extr_nvc0.c_nvc0_ibus_intr_rop.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 [31 x i8] c"ROP%d: 0x%06x 0x%08x (0x%08x)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nvc0_ibus_intr_rop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nvc0_ibus_intr_rop(ptr noundef %0, i32 noundef %1) #0 { %3 = shl nsw i32 %1, 10 %4 = add nsw i32 %3, 1196320 %5 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %4) #2 %6 = add nsw i32 %3, 1196324 %7 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %6) #2 %8 = add nsw i32 %3, 1196328 %9 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef %8) #2 %10 = tail call i32 @nv_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2 %11 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %8, i32 noundef 512, i32 noundef 0) #2 ret void } declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_error(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(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)"}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_subdev_ibus_extr_nvc0.c_nvc0_ibus_intr_rop
; ModuleID = 'AnghaBench/freebsd/usr.sbin/cxgbetool/extr_cxgbetool.c_memdump.c' source_filename = "AnghaBench/freebsd/usr.sbin/cxgbetool/extr_cxgbetool.c_memdump.c" target datalayout = "e-m:e-p270:32:32-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 [31 x i8] c"incorrect number of arguments.\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"invalid address \22%s\22\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"memdump: invalid length \22%s\22\00", align 1 @show_mem = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @memdump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @memdump(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = icmp eq i32 %0, 2 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str) #3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %32 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !9 %10 = call ptr @str_to_number(ptr noundef %9, ptr noundef nonnull %3, ptr noundef null) #3 %11 = load i8, ptr %10, align 1, !tbaa !11 %12 = icmp eq i8 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %8 %14 = load ptr, ptr %1, align 8, !tbaa !9 %15 = call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.1, ptr noundef %14) #3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %32 17: ; preds = %8 %18 = load i64, ptr %3, align 8, !tbaa !12 %19 = getelementptr inbounds ptr, ptr %1, i64 1 %20 = load ptr, ptr %19, align 8, !tbaa !9 %21 = call ptr @str_to_number(ptr noundef %20, ptr noundef nonnull %3, ptr noundef null) #3 %22 = load i8, ptr %21, align 1, !tbaa !11 %23 = icmp eq i8 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %17 %25 = load ptr, ptr %19, align 8, !tbaa !9 %26 = call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.2, ptr noundef %25) #3 %27 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %32 28: ; preds = %17 %29 = load i64, ptr %3, align 8, !tbaa !12 %30 = load i32, ptr @show_mem, align 4, !tbaa !5 %31 = call i32 @read_mem(i64 noundef %18, i64 noundef %29, i32 noundef %30) #3 br label %32 32: ; preds = %28, %24, %13, %5 %33 = phi i32 [ %7, %5 ], [ %16, %13 ], [ %27, %24 ], [ %31, %28 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2 declare ptr @str_to_number(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read_mem(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/cxgbetool/extr_cxgbetool.c_memdump.c' source_filename = "AnghaBench/freebsd/usr.sbin/cxgbetool/extr_cxgbetool.c_memdump.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 [31 x i8] c"incorrect number of arguments.\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"invalid address \22%s\22\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"memdump: invalid length \22%s\22\00", align 1 @show_mem = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @memdump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @memdump(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = icmp eq i32 %0, 2 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str) #3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %32 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !10 %10 = call ptr @str_to_number(ptr noundef %9, ptr noundef nonnull %3, ptr noundef null) #3 %11 = load i8, ptr %10, align 1, !tbaa !12 %12 = icmp eq i8 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %8 %14 = load ptr, ptr %1, align 8, !tbaa !10 %15 = call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.1, ptr noundef %14) #3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %32 17: ; preds = %8 %18 = load i64, ptr %3, align 8, !tbaa !13 %19 = getelementptr inbounds i8, ptr %1, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !10 %21 = call ptr @str_to_number(ptr noundef %20, ptr noundef nonnull %3, ptr noundef null) #3 %22 = load i8, ptr %21, align 1, !tbaa !12 %23 = icmp eq i8 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %17 %25 = load ptr, ptr %19, align 8, !tbaa !10 %26 = call i32 (ptr, ...) @warnx(ptr noundef nonnull @.str.2, ptr noundef %25) #3 %27 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %32 28: ; preds = %17 %29 = load i64, ptr %3, align 8, !tbaa !13 %30 = load i32, ptr @show_mem, align 4, !tbaa !6 %31 = call i32 @read_mem(i64 noundef %18, i64 noundef %29, i32 noundef %30) #3 br label %32 32: ; preds = %28, %24, %13, %5 %33 = phi i32 [ %7, %5 ], [ %16, %13 ], [ %27, %24 ], [ %31, %28 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @warnx(ptr noundef, ...) local_unnamed_addr #2 declare ptr @str_to_number(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read_mem(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
freebsd_usr.sbin_cxgbetool_extr_cxgbetool.c_memdump
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audio_enable_agc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audio_enable_agc.c" target datalayout = "e-m:e-p270:32:32-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.audio_in = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @audio_enable_agc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @audio_enable_agc(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp eq i32 %3, %1 br i1 %4, label %11, label %5 5: ; preds = %2 store i32 %1, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.audio_in, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @audio_dsp_set_agc(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %5, %9, %2 ret void } declare i32 @audio_dsp_set_agc(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 = !{!"audio_in", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audio_enable_agc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_audio_in.c_audio_enable_agc.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 @audio_enable_agc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @audio_enable_agc(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp eq i32 %3, %1 br i1 %4, label %11, label %5 5: ; preds = %2 store i32 %1, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @audio_dsp_set_agc(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %5, %9, %2 ret void } declare i32 @audio_dsp_set_agc(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 = !{!"audio_in", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_staging_dream_qdsp5_extr_audio_in.c_audio_enable_agc
; ModuleID = 'AnghaBench/linux/drivers/char/tpm/st33zp24/extr_st33zp24.c_st33zp24_status.c' source_filename = "AnghaBench/linux/drivers/char/tpm/st33zp24/extr_st33zp24.c_st33zp24_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.st33zp24_dev = type { i32, ptr } @TPM_STS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @st33zp24_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @st33zp24_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds %struct.st33zp24_dev, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr %3, align 8, !tbaa !13 %8 = load i32, ptr @TPM_STS, align 4, !tbaa !14 %9 = call i32 %6(i32 noundef %7, i32 noundef %8, ptr noundef nonnull %2, i32 noundef 1) #3 %10 = load i32, ptr %2, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"st33zp24_dev", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/char/tpm/st33zp24/extr_st33zp24.c_st33zp24_status.c' source_filename = "AnghaBench/linux/drivers/char/tpm/st33zp24/extr_st33zp24.c_st33zp24_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TPM_STS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @st33zp24_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @st33zp24_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %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 = load i32, ptr %3, align 8, !tbaa !14 %8 = load i32, ptr @TPM_STS, align 4, !tbaa !15 %9 = call i32 %6(i32 noundef %7, i32 noundef %8, ptr noundef nonnull %2, i32 noundef 1) #3 %10 = load i32, ptr %2, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"st33zp24_dev", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0}
linux_drivers_char_tpm_st33zp24_extr_st33zp24.c_st33zp24_status
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_trace_seq_bprintf.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_trace_seq_bprintf.c" target datalayout = "e-m:e-p270:32:32-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.trace_seq = type { i32, i64 } @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @trace_seq_bprintf(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !9 %6 = xor i32 %5, -1 %7 = add i32 %4, %6 %8 = icmp eq i32 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %3 %10 = getelementptr inbounds %struct.trace_seq, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = sext i32 %5 to i64 %13 = add nsw i64 %11, %12 %14 = tail call i32 @bstr_printf(i64 noundef %13, i32 noundef %7, ptr noundef %1, ptr noundef %2) #2 %15 = icmp slt i32 %14, %7 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i32, ptr %0, align 8, !tbaa !9 %18 = add nsw i32 %17, %14 store i32 %18, ptr %0, align 8, !tbaa !9 br label %19 19: ; preds = %9, %3, %16 %20 = phi i32 [ %7, %16 ], [ 0, %3 ], [ 0, %9 ] ret i32 %20 } declare i32 @bstr_printf(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"trace_seq", !6, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_trace_seq_bprintf.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_trace_seq_bprintf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @trace_seq_bprintf(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !10 %6 = xor i32 %5, -1 %7 = add i32 %4, %6 %8 = icmp eq i32 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = sext i32 %5 to i64 %13 = add nsw i64 %11, %12 %14 = tail call i32 @bstr_printf(i64 noundef %13, i32 noundef %7, ptr noundef %1, ptr noundef %2) #2 %15 = icmp slt i32 %14, %7 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i32, ptr %0, align 8, !tbaa !10 %18 = add nsw i32 %17, %14 store i32 %18, ptr %0, align 8, !tbaa !10 br label %19 19: ; preds = %9, %3, %16 %20 = phi i32 [ %7, %16 ], [ 0, %3 ], [ 0, %9 ] ret i32 %20 } declare i32 @bstr_printf(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"trace_seq", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8}
fastsocket_kernel_kernel_trace_extr_trace_output.c_trace_seq_bprintf
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_symlink.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_symlink.c" target datalayout = "e-m:e-p270:32:32-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.fscrypt_str = type { i32, i64 } %struct.ubifs_budget_req = type { i32, i32, i32, i32 } %struct.fscrypt_name = type { i32 } %struct.inode = type { i32, i32, i32, i64, i32, ptr } %struct.ubifs_inode = type { i32, i32, i32, i64 } @.str = private unnamed_addr constant [39 x i8] c"dent '%pd', target '%s' in dir ino %lu\00", align 1 @UBIFS_MAX_INO_DATA = dso_local local_unnamed_addr global i32 0, align 4 @S_IFLNK = dso_local local_unnamed_addr global i32 0, align 4 @S_IRWXUGO = dso_local local_unnamed_addr global i32 0, align 4 @GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ubifs_symlink], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ubifs_symlink(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.fscrypt_str, align 8 %5 = alloca %struct.ubifs_budget_req, align 4 %6 = alloca %struct.fscrypt_name, align 4 %7 = tail call ptr @ubifs_inode(ptr noundef %0) #3 %8 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 5 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @strlen(ptr noundef %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 store i32 1, ptr %5, align 4, !tbaa !14 %12 = getelementptr inbounds %struct.ubifs_budget_req, ptr %5, i64 0, i32 1 store i32 1, ptr %12, align 4, !tbaa !16 %13 = getelementptr inbounds %struct.ubifs_budget_req, ptr %5, i64 0, i32 2 store i32 1, ptr %13, align 4, !tbaa !17 %14 = getelementptr inbounds %struct.ubifs_budget_req, ptr %5, i64 0, i32 3 %15 = tail call i32 @ALIGN(i32 noundef %11, i32 noundef 8) #3 store i32 %15, ptr %14, align 4, !tbaa !18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %16 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 4 %17 = load i32, ptr %16, align 8, !tbaa !19 %18 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %2, i32 noundef %17) #3 %19 = load i32, ptr @UBIFS_MAX_INO_DATA, align 4, !tbaa !20 %20 = call i32 @fscrypt_prepare_symlink(ptr noundef %0, ptr noundef %2, i32 noundef %11, i32 noundef %19, ptr noundef nonnull %4) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %100 22: ; preds = %3 %23 = call i32 @ubifs_budget_space(ptr noundef %10, ptr noundef nonnull %5) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %100 25: ; preds = %22 %26 = call i32 @fscrypt_setup_filename(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %6) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %97 28: ; preds = %25 %29 = call i32 @fname_len(ptr noundef nonnull %6) #3 %30 = call i32 @CALC_DENT_SIZE(i32 noundef %29) #3 %31 = load i32, ptr @S_IFLNK, align 4, !tbaa !20 %32 = load i32, ptr @S_IRWXUGO, align 4, !tbaa !20 %33 = or i32 %32, %31 %34 = call ptr @ubifs_new_inode(ptr noundef %10, ptr noundef nonnull %0, i32 noundef %33) #3 %35 = call i64 @IS_ERR(ptr noundef %34) #3 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %28 %38 = call i32 @PTR_ERR(ptr noundef %34) #3 br label %94 39: ; preds = %28 %40 = call ptr @ubifs_inode(ptr noundef %34) #3 %41 = load i32, ptr %4, align 8, !tbaa !21 %42 = load i32, ptr @GFP_NOFS, align 4, !tbaa !20 %43 = call i64 @kmalloc(i32 noundef %41, i32 noundef %42) #3 %44 = getelementptr inbounds %struct.ubifs_inode, ptr %40, i64 0, i32 3 store i64 %43, ptr %44, align 8, !tbaa !23 %45 = icmp eq i64 %43, 0 br i1 %45, label %46, label %49 46: ; preds = %39 %47 = load i32, ptr @ENOMEM, align 4, !tbaa !20 %48 = sub nsw i32 0, %47 br label %90 49: ; preds = %39 %50 = call i64 @IS_ENCRYPTED(ptr noundef %34) #3 %51 = icmp eq i64 %50, 0 %52 = load i64, ptr %44, align 8, !tbaa !23 %53 = getelementptr inbounds %struct.fscrypt_str, ptr %4, i64 0, i32 1 br i1 %51, label %57, label %54 54: ; preds = %49 store i64 %52, ptr %53, align 8, !tbaa !25 %55 = call i32 @fscrypt_encrypt_symlink(ptr noundef %34, ptr noundef %2, i32 noundef %11, ptr noundef nonnull %4) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %63, label %90 57: ; preds = %49 %58 = load i64, ptr %53, align 8, !tbaa !25 %59 = load i32, ptr %4, align 8, !tbaa !21 %60 = call i32 @memcpy(i64 noundef %52, i64 noundef %58, i32 noundef %59) #3 %61 = load i64, ptr %44, align 8, !tbaa !23 %62 = getelementptr inbounds %struct.inode, ptr %34, i64 0, i32 3 store i64 %61, ptr %62, align 8, !tbaa !26 br label %63 63: ; preds = %54, %57 %64 = load i32, ptr %4, align 8, !tbaa !21 %65 = add nsw i32 %64, -1 store i32 %65, ptr %40, align 8, !tbaa !27 %66 = call ptr @ubifs_inode(ptr noundef %34) #3 %67 = getelementptr inbounds %struct.ubifs_inode, ptr %66, i64 0, i32 1 store i32 %65, ptr %67, align 4, !tbaa !28 store i32 %65, ptr %34, align 8, !tbaa !29 %68 = call i32 @ubifs_init_security(ptr noundef nonnull %0, ptr noundef nonnull %34, ptr noundef %1) #3 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %90 70: ; preds = %63 %71 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 2 %72 = call i32 @mutex_lock(ptr noundef nonnull %71) #3 %73 = load i32, ptr %0, align 8, !tbaa !29 %74 = add nsw i32 %73, %30 store i32 %74, ptr %0, align 8, !tbaa !29 %75 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 1 store i32 %74, ptr %75, align 4, !tbaa !28 %76 = getelementptr inbounds %struct.inode, ptr %34, i64 0, i32 1 %77 = load i32, ptr %76, align 4, !tbaa !30 %78 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 store i32 %77, ptr %78, align 4, !tbaa !30 %79 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2 store i32 %77, ptr %79, align 8, !tbaa !31 %80 = call i32 @ubifs_jnl_update(ptr noundef %10, ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef nonnull %34, i32 noundef 0, i32 noundef 0) #3 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %86 82: ; preds = %70 %83 = call i32 @mutex_unlock(ptr noundef nonnull %71) #3 %84 = call i32 @insert_inode_hash(ptr noundef nonnull %34) #3 %85 = call i32 @d_instantiate(ptr noundef %1, ptr noundef nonnull %34) #3 br label %94 86: ; preds = %70 %87 = load i32, ptr %0, align 8, !tbaa !29 %88 = sub nsw i32 %87, %30 store i32 %88, ptr %0, align 8, !tbaa !29 store i32 %88, ptr %75, align 4, !tbaa !28 %89 = call i32 @mutex_unlock(ptr noundef nonnull %71) #3 br label %90 90: ; preds = %63, %54, %86, %46 %91 = phi i32 [ %55, %54 ], [ %68, %63 ], [ %80, %86 ], [ %48, %46 ] %92 = call i32 @make_bad_inode(ptr noundef %34) #3 %93 = call i32 @iput(ptr noundef %34) #3 br label %94 94: ; preds = %90, %82, %37 %95 = phi i32 [ %38, %37 ], [ %91, %90 ], [ 0, %82 ] %96 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #3 br label %97 97: ; preds = %25, %94 %98 = phi i32 [ %26, %25 ], [ %95, %94 ] %99 = call i32 @ubifs_release_budget(ptr noundef %10, ptr noundef nonnull %5) #3 br label %100 100: ; preds = %22, %3, %97 %101 = phi i32 [ %98, %97 ], [ %20, %3 ], [ %23, %22 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %101 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dbg_gen(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_prepare_symlink(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_budget_space(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_setup_filename(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CALC_DENT_SIZE(i32 noundef) local_unnamed_addr #2 declare i32 @fname_len(ptr noundef) local_unnamed_addr #2 declare ptr @ubifs_new_inode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ENCRYPTED(ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_encrypt_symlink(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ubifs_init_security(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_jnl_update(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @insert_inode_hash(ptr noundef) local_unnamed_addr #2 declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @make_bad_inode(ptr noundef) local_unnamed_addr #2 declare i32 @iput(ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_release_budget(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, !11, i64 32} !6 = !{!"inode", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"ubifs_budget_req", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !16 = !{!15, !7, i64 4} !17 = !{!15, !7, i64 8} !18 = !{!15, !7, i64 12} !19 = !{!6, !7, i64 24} !20 = !{!7, !7, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"fscrypt_str", !7, i64 0, !10, i64 8} !23 = !{!24, !10, i64 16} !24 = !{!"ubifs_inode", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !25 = !{!22, !10, i64 8} !26 = !{!6, !10, i64 16} !27 = !{!24, !7, i64 0} !28 = !{!24, !7, i64 4} !29 = !{!6, !7, i64 0} !30 = !{!6, !7, i64 4} !31 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_symlink.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_symlink.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fscrypt_str = type { i32, i64 } %struct.ubifs_budget_req = type { i32, i32, i32, i32 } %struct.fscrypt_name = type { i32 } @.str = private unnamed_addr constant [39 x i8] c"dent '%pd', target '%s' in dir ino %lu\00", align 1 @UBIFS_MAX_INO_DATA = common local_unnamed_addr global i32 0, align 4 @S_IFLNK = common local_unnamed_addr global i32 0, align 4 @S_IRWXUGO = common local_unnamed_addr global i32 0, align 4 @GFP_NOFS = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ubifs_symlink], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ubifs_symlink(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.fscrypt_str, align 8 %5 = alloca %struct.ubifs_budget_req, align 8 %6 = alloca %struct.fscrypt_name, align 4 %7 = tail call ptr @ubifs_inode(ptr noundef %0) #3 %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @strlen(ptr noundef %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 store <2 x i32> <i32 1, i32 1>, ptr %5, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %5, i64 8 store i32 1, ptr %12, align 8, !tbaa !16 %13 = getelementptr inbounds i8, ptr %5, i64 12 %14 = tail call i32 @ALIGN(i32 noundef %11, i32 noundef 8) #3 store i32 %14, ptr %13, align 4, !tbaa !18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %15 = getelementptr inbounds i8, ptr %0, i64 24 %16 = load i32, ptr %15, align 8, !tbaa !19 %17 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %2, i32 noundef %16) #3 %18 = load i32, ptr @UBIFS_MAX_INO_DATA, align 4, !tbaa !15 %19 = call i32 @fscrypt_prepare_symlink(ptr noundef %0, ptr noundef %2, i32 noundef %11, i32 noundef %18, ptr noundef nonnull %4) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %99 21: ; preds = %3 %22 = call i32 @ubifs_budget_space(ptr noundef %10, ptr noundef nonnull %5) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %99 24: ; preds = %21 %25 = call i32 @fscrypt_setup_filename(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %6) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %96 27: ; preds = %24 %28 = call i32 @fname_len(ptr noundef nonnull %6) #3 %29 = call i32 @CALC_DENT_SIZE(i32 noundef %28) #3 %30 = load i32, ptr @S_IFLNK, align 4, !tbaa !15 %31 = load i32, ptr @S_IRWXUGO, align 4, !tbaa !15 %32 = or i32 %31, %30 %33 = call ptr @ubifs_new_inode(ptr noundef %10, ptr noundef nonnull %0, i32 noundef %32) #3 %34 = call i64 @IS_ERR(ptr noundef %33) #3 %35 = icmp eq i64 %34, 0 br i1 %35, label %38, label %36 36: ; preds = %27 %37 = call i32 @PTR_ERR(ptr noundef %33) #3 br label %93 38: ; preds = %27 %39 = call ptr @ubifs_inode(ptr noundef %33) #3 %40 = load i32, ptr %4, align 8, !tbaa !20 %41 = load i32, ptr @GFP_NOFS, align 4, !tbaa !15 %42 = call i64 @kmalloc(i32 noundef %40, i32 noundef %41) #3 %43 = getelementptr inbounds i8, ptr %39, i64 16 store i64 %42, ptr %43, align 8, !tbaa !22 %44 = icmp eq i64 %42, 0 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %47 = sub nsw i32 0, %46 br label %89 48: ; preds = %38 %49 = call i64 @IS_ENCRYPTED(ptr noundef %33) #3 %50 = icmp eq i64 %49, 0 %51 = load i64, ptr %43, align 8, !tbaa !22 %52 = getelementptr inbounds i8, ptr %4, i64 8 br i1 %50, label %56, label %53 53: ; preds = %48 store i64 %51, ptr %52, align 8, !tbaa !24 %54 = call i32 @fscrypt_encrypt_symlink(ptr noundef %33, ptr noundef %2, i32 noundef %11, ptr noundef nonnull %4) #3 %55 = icmp eq i32 %54, 0 br i1 %55, label %62, label %89 56: ; preds = %48 %57 = load i64, ptr %52, align 8, !tbaa !24 %58 = load i32, ptr %4, align 8, !tbaa !20 %59 = call i32 @memcpy(i64 noundef %51, i64 noundef %57, i32 noundef %58) #3 %60 = load i64, ptr %43, align 8, !tbaa !22 %61 = getelementptr inbounds i8, ptr %33, i64 16 store i64 %60, ptr %61, align 8, !tbaa !25 br label %62 62: ; preds = %53, %56 %63 = load i32, ptr %4, align 8, !tbaa !20 %64 = add nsw i32 %63, -1 store i32 %64, ptr %39, align 8, !tbaa !26 %65 = call ptr @ubifs_inode(ptr noundef %33) #3 %66 = getelementptr inbounds i8, ptr %65, i64 4 store i32 %64, ptr %66, align 4, !tbaa !27 store i32 %64, ptr %33, align 8, !tbaa !28 %67 = call i32 @ubifs_init_security(ptr noundef nonnull %0, ptr noundef nonnull %33, ptr noundef %1) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %89 69: ; preds = %62 %70 = getelementptr inbounds i8, ptr %7, i64 8 %71 = call i32 @mutex_lock(ptr noundef nonnull %70) #3 %72 = load i32, ptr %0, align 8, !tbaa !28 %73 = add nsw i32 %72, %29 store i32 %73, ptr %0, align 8, !tbaa !28 %74 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %73, ptr %74, align 4, !tbaa !27 %75 = getelementptr inbounds i8, ptr %33, i64 4 %76 = load i32, ptr %75, align 4, !tbaa !29 %77 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %76, ptr %77, align 4, !tbaa !29 %78 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %76, ptr %78, align 8, !tbaa !30 %79 = call i32 @ubifs_jnl_update(ptr noundef %10, ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef nonnull %33, i32 noundef 0, i32 noundef 0) #3 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %85 81: ; preds = %69 %82 = call i32 @mutex_unlock(ptr noundef nonnull %70) #3 %83 = call i32 @insert_inode_hash(ptr noundef nonnull %33) #3 %84 = call i32 @d_instantiate(ptr noundef %1, ptr noundef nonnull %33) #3 br label %93 85: ; preds = %69 %86 = load i32, ptr %0, align 8, !tbaa !28 %87 = sub nsw i32 %86, %29 store i32 %87, ptr %0, align 8, !tbaa !28 store i32 %87, ptr %74, align 4, !tbaa !27 %88 = call i32 @mutex_unlock(ptr noundef nonnull %70) #3 br label %89 89: ; preds = %62, %53, %85, %45 %90 = phi i32 [ %54, %53 ], [ %67, %62 ], [ %79, %85 ], [ %47, %45 ] %91 = call i32 @make_bad_inode(ptr noundef %33) #3 %92 = call i32 @iput(ptr noundef %33) #3 br label %93 93: ; preds = %89, %81, %36 %94 = phi i32 [ %37, %36 ], [ %90, %89 ], [ 0, %81 ] %95 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #3 br label %96 96: ; preds = %24, %93 %97 = phi i32 [ %25, %24 ], [ %94, %93 ] %98 = call i32 @ubifs_release_budget(ptr noundef %10, ptr noundef nonnull %5) #3 br label %99 99: ; preds = %21, %3, %96 %100 = phi i32 [ %97, %96 ], [ %19, %3 ], [ %22, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %100 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dbg_gen(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_prepare_symlink(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_budget_space(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_setup_filename(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CALC_DENT_SIZE(i32 noundef) local_unnamed_addr #2 declare i32 @fname_len(ptr noundef) local_unnamed_addr #2 declare ptr @ubifs_new_inode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ENCRYPTED(ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_encrypt_symlink(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ubifs_init_security(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_jnl_update(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @insert_inode_hash(ptr noundef) local_unnamed_addr #2 declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @make_bad_inode(ptr noundef) local_unnamed_addr #2 declare i32 @iput(ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #2 declare i32 @ubifs_release_budget(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, !12, i64 32} !7 = !{!"inode", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !8, i64 8} !17 = !{!"ubifs_budget_req", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !18 = !{!17, !8, i64 12} !19 = !{!7, !8, i64 24} !20 = !{!21, !8, i64 0} !21 = !{!"fscrypt_str", !8, i64 0, !11, i64 8} !22 = !{!23, !11, i64 16} !23 = !{!"ubifs_inode", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !24 = !{!21, !11, i64 8} !25 = !{!7, !11, i64 16} !26 = !{!23, !8, i64 0} !27 = !{!23, !8, i64 4} !28 = !{!7, !8, i64 0} !29 = !{!7, !8, i64 4} !30 = !{!7, !8, i64 8}
linux_fs_ubifs_extr_dir.c_ubifs_symlink
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_if.c_if_addmulti.c' source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_if.c_if_addmulti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @if_addmulti(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @if_addmulti_common(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2 ret i32 %4 } declare i32 @if_addmulti_common(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)"}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_if.c_if_addmulti.c' source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_if.c_if_addmulti.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @if_addmulti(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @if_addmulti_common(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2 ret i32 %4 } declare i32 @if_addmulti_common(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)"}
darwin-xnu_bsd_net_extr_if.c_if_addmulti
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_rdrf.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_rdrf.c" target datalayout = "e-m:e-p270:32:32-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 @MP4_FreeBox_rdrf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @MP4_FreeBox_rdrf(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @free(i32 noundef %3) #2 ret void } declare i32 @free(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_7__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_rdrf.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.c_MP4_FreeBox_rdrf.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 @MP4_FreeBox_rdrf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @MP4_FreeBox_rdrf(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !12 %4 = tail call i32 @free(i32 noundef %3) #2 ret void } declare i32 @free(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_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !10, i64 0}
vlc_modules_demux_mp4_extr_libmp4.c_MP4_FreeBox_rdrf
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_network.c_print_address_list.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_network.c_print_address_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.addrinfo = type { ptr, i32, i32 } @AV_LOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @NI_NUMERICHOST = dso_local local_unnamed_addr global i32 0, align 4 @NI_NUMERICSERV = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Address %s port %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_address_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_address_list(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) #0 { %4 = alloca [100 x i8], align 16 %5 = alloca [20 x i8], align 16 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #3 %6 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !5 %7 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %2) #3 %8 = icmp eq ptr %1, null br i1 %8, label %23, label %9 9: ; preds = %3, %9 %10 = phi ptr [ %21, %9 ], [ %1, %3 ] %11 = getelementptr inbounds %struct.addrinfo, ptr %10, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = getelementptr inbounds %struct.addrinfo, ptr %10, i64 0, i32 1 %14 = load i32, ptr %13, align 8, !tbaa !12 %15 = load i32, ptr @NI_NUMERICHOST, align 4, !tbaa !5 %16 = load i32, ptr @NI_NUMERICSERV, align 4, !tbaa !5 %17 = or i32 %16, %15 %18 = call i32 @getnameinfo(i32 noundef %12, i32 noundef %14, ptr noundef nonnull %4, i32 noundef 100, ptr noundef nonnull %5, i32 noundef 20, i32 noundef %17) #3 %19 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !5 %20 = call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %19, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load ptr, ptr %10, align 8, !tbaa !13 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %9, !llvm.loop !14 23: ; preds = %9, %3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @getnameinfo(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"addrinfo", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_network.c_print_address_list.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_network.c_print_address_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @NI_NUMERICHOST = common local_unnamed_addr global i32 0, align 4 @NI_NUMERICSERV = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Address %s port %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_address_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_address_list(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) #0 { %4 = alloca [100 x i8], align 1 %5 = alloca [20 x i8], align 1 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #3 %6 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !6 %7 = tail call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %2) #3 %8 = icmp eq ptr %1, null br i1 %8, label %23, label %9 9: ; preds = %3, %9 %10 = phi ptr [ %21, %9 ], [ %1, %3 ] %11 = getelementptr inbounds i8, ptr %10, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = getelementptr inbounds i8, ptr %10, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !13 %15 = load i32, ptr @NI_NUMERICHOST, align 4, !tbaa !6 %16 = load i32, ptr @NI_NUMERICSERV, align 4, !tbaa !6 %17 = or i32 %16, %15 %18 = call i32 @getnameinfo(i32 noundef %12, i32 noundef %14, ptr noundef nonnull %4, i32 noundef 100, ptr noundef nonnull %5, i32 noundef 20, i32 noundef %17) #3 %19 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !6 %20 = call i32 (ptr, i32, ptr, ptr, ...) @av_log(ptr noundef %0, i32 noundef %19, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load ptr, ptr %10, align 8, !tbaa !14 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %9, !llvm.loop !15 23: ; preds = %9, %3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @getnameinfo(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"addrinfo", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavformat_extr_network.c_print_address_list
; ModuleID = 'AnghaBench/postgres/src/bin/pg_rewind/extr_filemap.c_path_cmp.c' source_filename = "AnghaBench/postgres/src/bin/pg_rewind/extr_filemap.c_path_cmp.c" target datalayout = "e-m:e-p270:32:32-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 @path_cmp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @path_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i32, ptr %3, align 4, !tbaa !9 %6 = load i32, ptr %4, align 4, !tbaa !9 %7 = tail call i32 @strcmp(i32 noundef %5, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/bin/pg_rewind/extr_filemap.c_path_cmp.c' source_filename = "AnghaBench/postgres/src/bin/pg_rewind/extr_filemap.c_path_cmp.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 @path_cmp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @path_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i32, ptr %3, align 4, !tbaa !10 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = tail call i32 @strcmp(i32 noundef %5, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
postgres_src_bin_pg_rewind_extr_filemap.c_path_cmp
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lstrlib.c_addquoted.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lstrlib.c_addquoted.c" target datalayout = "e-m:e-p270:32:32-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 [3 x i8] c"\\r\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\\000\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @addquoted], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @addquoted(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call ptr @luaL_checklstring(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4) #3 %6 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 34) #3 %7 = load i64, ptr %4, align 8, !tbaa !5 %8 = add i64 %7, -1 store i64 %8, ptr %4, align 8, !tbaa !5 %9 = icmp eq i64 %7, 0 br i1 %9, label %28, label %10 10: ; preds = %3, %23 %11 = phi ptr [ %24, %23 ], [ %5, %3 ] %12 = load i8, ptr %11, align 1, !tbaa !9 switch i8 %12, label %21 [ i8 34, label %13 i8 92, label %13 i8 10, label %13 i8 13, label %17 i8 0, label %19 ] 13: ; preds = %10, %10, %10 %14 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 92) #3 %15 = load i8, ptr %11, align 1, !tbaa !9 %16 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %15) #3 br label %23 17: ; preds = %10 %18 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 2) #3 br label %23 19: ; preds = %10 %20 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef 4) #3 br label %23 21: ; preds = %10 %22 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %12) #3 br label %23 23: ; preds = %21, %19, %17, %13 %24 = getelementptr inbounds i8, ptr %11, i64 1 %25 = load i64, ptr %4, align 8, !tbaa !5 %26 = add i64 %25, -1 store i64 %26, ptr %4, align 8, !tbaa !5 %27 = icmp eq i64 %25, 0 br i1 %27, label %28, label %10, !llvm.loop !10 28: ; preds = %23, %3 %29 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 34) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @luaL_checklstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addchar(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lstrlib.c_addquoted.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lstrlib.c_addquoted.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 [3 x i8] c"\\r\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\\000\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @addquoted], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @addquoted(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call ptr @luaL_checklstring(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4) #3 %6 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 34) #3 %7 = load i64, ptr %4, align 8, !tbaa !6 %8 = add i64 %7, -1 store i64 %8, ptr %4, align 8, !tbaa !6 %9 = icmp eq i64 %7, 0 br i1 %9, label %28, label %10 10: ; preds = %3, %23 %11 = phi ptr [ %24, %23 ], [ %5, %3 ] %12 = load i8, ptr %11, align 1, !tbaa !10 switch i8 %12, label %21 [ i8 34, label %13 i8 92, label %13 i8 10, label %13 i8 13, label %17 i8 0, label %19 ] 13: ; preds = %10, %10, %10 %14 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 92) #3 %15 = load i8, ptr %11, align 1, !tbaa !10 %16 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %15) #3 br label %23 17: ; preds = %10 %18 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 2) #3 br label %23 19: ; preds = %10 %20 = call i32 @luaL_addlstring(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef 4) #3 br label %23 21: ; preds = %10 %22 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext %12) #3 br label %23 23: ; preds = %21, %19, %17, %13 %24 = getelementptr inbounds i8, ptr %11, i64 1 %25 = load i64, ptr %4, align 8, !tbaa !6 %26 = add i64 %25, -1 store i64 %26, ptr %4, align 8, !tbaa !6 %27 = icmp eq i64 %25, 0 br i1 %27, label %28, label %10, !llvm.loop !11 28: ; preds = %23, %3 %29 = call i32 @luaL_addchar(ptr noundef %1, i8 noundef signext 34) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @luaL_checklstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addchar(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
Provenance_Cores_FCEU_FCEU_lua_src_extr_lstrlib.c_addquoted
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_2expt.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_2expt.c" target datalayout = "e-m:e-p270:32:32-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, ptr } @DIGIT_BIT = dso_local local_unnamed_addr global i32 0, align 4 @MP_OKAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mp_2expt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mp_2expt(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mp_zero(ptr noundef %0) #2 %4 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !5 %5 = sdiv i32 %1, %4 %6 = add nsw i32 %5, 1 %7 = tail call i32 @mp_grow(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @MP_OKAY, align 4, !tbaa !5 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %23 10: ; preds = %2 %11 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !5 %12 = sdiv i32 %1, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %0, align 8, !tbaa !9 %14 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !5 %15 = srem i32 %1, %14 %16 = shl nuw i32 1, %15 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !12 %19 = sdiv i32 %1, %14 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %16, ptr %21, align 4, !tbaa !5 %22 = load i32, ptr @MP_OKAY, align 4, !tbaa !5 br label %23 23: ; preds = %2, %10 %24 = phi i32 [ %22, %10 ], [ %7, %2 ] ret i32 %24 } declare i32 @mp_zero(ptr noundef) local_unnamed_addr #1 declare i32 @mp_grow(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_2expt.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_2expt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DIGIT_BIT = common local_unnamed_addr global i32 0, align 4 @MP_OKAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mp_2expt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mp_2expt(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mp_zero(ptr noundef %0) #2 %4 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !6 %5 = sdiv i32 %1, %4 %6 = add nsw i32 %5, 1 %7 = tail call i32 @mp_grow(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @MP_OKAY, align 4, !tbaa !6 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !6 %12 = sdiv i32 %1, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %0, align 8, !tbaa !10 %14 = load i32, ptr @DIGIT_BIT, align 4, !tbaa !6 %15 = freeze i32 %14 %16 = sdiv i32 %1, %15 %17 = mul i32 %16, %15 %18 = sub i32 %1, %17 %19 = shl nuw i32 1, %18 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = sext i32 %16 to i64 %23 = getelementptr inbounds i32, ptr %21, i64 %22 store i32 %19, ptr %23, align 4, !tbaa !6 %24 = load i32, ptr @MP_OKAY, align 4, !tbaa !6 br label %25 25: ; preds = %2, %10 %26 = phi i32 [ %24, %10 ], [ %7, %2 ] ret i32 %26 } declare i32 @mp_zero(ptr noundef) local_unnamed_addr #1 declare i32 @mp_grow(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8}
freebsd_contrib_wpa_src_tls_extr_libtommath.c_mp_2expt
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_resource.c_dcn10_find_first_free_match_stream_enc_for_link.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_resource.c_dcn10_find_first_free_match_stream_enc_for_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" %struct.resource_pool = type { i32, ptr } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local ptr @dcn10_find_first_free_match_stream_enc_for_link(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load ptr, ptr %2, align 8, !tbaa !5 %5 = load i32, ptr %1, align 8, !tbaa !10 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %40 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.resource_pool, ptr %1, i64 0, i32 1 %10 = zext nneg i32 %5 to i64 br label %11 11: ; preds = %7, %28 %12 = phi i64 [ 0, %7 ], [ %30, %28 ] %13 = phi i32 [ -1, %7 ], [ %29, %28 ] %14 = getelementptr inbounds i32, ptr %8, i64 %12 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %11 %18 = load ptr, ptr %9, align 8, !tbaa !16 %19 = getelementptr inbounds ptr, ptr %18, i64 %12 %20 = load ptr, ptr %19, align 8, !tbaa !17 %21 = icmp eq ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %17 %23 = load i64, ptr %20, align 8, !tbaa !18 %24 = load ptr, ptr %4, align 8, !tbaa !21 %25 = load i64, ptr %24, align 8, !tbaa !23 %26 = icmp eq i64 %23, %25 %27 = trunc i64 %12 to i32 br i1 %26, label %40, label %28 28: ; preds = %11, %17, %22 %29 = phi i32 [ %13, %11 ], [ %27, %22 ], [ %13, %17 ] %30 = add nuw nsw i64 %12, 1 %31 = icmp eq i64 %30, %10 br i1 %31, label %32, label %11, !llvm.loop !25 32: ; preds = %28 %33 = icmp sgt i32 %29, -1 br i1 %33, label %34, label %40 34: ; preds = %32 %35 = getelementptr inbounds %struct.resource_pool, ptr %1, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !16 %37 = zext nneg i32 %29 to i64 %38 = getelementptr inbounds ptr, ptr %36, i64 %37 %39 = load ptr, ptr %38, align 8, !tbaa !17 br label %40 40: ; preds = %22, %3, %32, %34 %41 = phi ptr [ %39, %34 ], [ null, %32 ], [ null, %3 ], [ %20, %22 ] ret ptr %41 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dc_stream_state", !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 = !{!"resource_pool", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"resource_context", !7, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !7, i64 8} !17 = !{!7, !7, i64 0} !18 = !{!19, !20, i64 0} !19 = !{!"stream_encoder", !20, i64 0} !20 = !{!"long", !8, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"dc_link", !7, i64 0} !23 = !{!24, !20, i64 0} !24 = !{!"TYPE_2__", !20, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_resource.c_dcn10_find_first_free_match_stream_enc_for_link.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_resource.c_dcn10_find_first_free_match_stream_enc_for_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define ptr @dcn10_find_first_free_match_stream_enc_for_link(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load ptr, ptr %2, align 8, !tbaa !6 %5 = load i32, ptr %1, align 8, !tbaa !11 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %39 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !14 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = zext nneg i32 %5 to i64 br label %11 11: ; preds = %7, %28 %12 = phi i64 [ 0, %7 ], [ %30, %28 ] %13 = phi i32 [ -1, %7 ], [ %29, %28 ] %14 = getelementptr inbounds i32, ptr %8, i64 %12 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %11 %18 = load ptr, ptr %9, align 8, !tbaa !17 %19 = getelementptr inbounds ptr, ptr %18, i64 %12 %20 = load ptr, ptr %19, align 8, !tbaa !18 %21 = icmp eq ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %17 %23 = load i64, ptr %20, align 8, !tbaa !19 %24 = load ptr, ptr %4, align 8, !tbaa !22 %25 = load i64, ptr %24, align 8, !tbaa !24 %26 = icmp eq i64 %23, %25 %27 = trunc nuw nsw i64 %12 to i32 br i1 %26, label %39, label %28 28: ; preds = %11, %17, %22 %29 = phi i32 [ %13, %11 ], [ %27, %22 ], [ %13, %17 ] %30 = add nuw nsw i64 %12, 1 %31 = icmp eq i64 %30, %10 br i1 %31, label %32, label %11, !llvm.loop !26 32: ; preds = %28 %33 = icmp sgt i32 %29, -1 br i1 %33, label %34, label %39 34: ; preds = %32 %35 = load ptr, ptr %9, align 8, !tbaa !17 %36 = zext nneg i32 %29 to i64 %37 = getelementptr inbounds ptr, ptr %35, i64 %36 %38 = load ptr, ptr %37, align 8, !tbaa !18 br label %39 39: ; preds = %22, %3, %32, %34 %40 = phi ptr [ %38, %34 ], [ null, %32 ], [ null, %3 ], [ %20, %22 ] ret ptr %40 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dc_stream_state", !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 = !{!"resource_pool", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"resource_context", !8, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!12, !8, i64 8} !18 = !{!8, !8, i64 0} !19 = !{!20, !21, i64 0} !20 = !{!"stream_encoder", !21, i64 0} !21 = !{!"long", !9, i64 0} !22 = !{!23, !8, i64 0} !23 = !{!"dc_link", !8, i64 0} !24 = !{!25, !21, i64 0} !25 = !{!"TYPE_2__", !21, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_amd_display_dc_dcn10_extr_dcn10_resource.c_dcn10_find_first_free_match_stream_enc_for_link
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nfnetlink_queue.c___enqueue_entry.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nfnetlink_queue.c___enqueue_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" %struct.nfqnl_instance = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @__enqueue_entry], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__enqueue_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.nfqnl_instance, ptr %0, i64 0, i32 1 %4 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef nonnull %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !5 ret void } declare i32 @list_add_tail(ptr noundef, 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, !7, i64 0} !6 = !{!"nfqnl_instance", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nfnetlink_queue.c___enqueue_entry.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nfnetlink_queue.c___enqueue_entry.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 @__enqueue_entry], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__enqueue_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef nonnull %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !6 ret void } declare i32 @list_add_tail(ptr noundef, 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, !8, i64 0} !7 = !{!"nfqnl_instance", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_netfilter_extr_nfnetlink_queue.c___enqueue_entry
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_service_tree_for.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_service_tree_for.c" target datalayout = "e-m:e-p270:32:32-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.cfq_group = type { ptr, %struct.cfq_rb_root } %struct.cfq_rb_root = type { i32 } @IDLE_WORKLOAD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @service_tree_for], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @service_tree_for(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %17, label %5 5: ; preds = %3 %6 = load i32, ptr @IDLE_WORKLOAD, align 4, !tbaa !5 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = getelementptr inbounds %struct.cfq_group, ptr %0, i64 0, i32 1 br label %17 10: ; preds = %5 %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = zext i32 %1 to i64 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = zext i32 %2 to i64 %16 = getelementptr inbounds %struct.cfq_rb_root, ptr %14, i64 %15 br label %17 17: ; preds = %3, %10, %8 %18 = phi ptr [ %9, %8 ], [ %16, %10 ], [ null, %3 ] ret ptr %18 } 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, !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 = !{!"cfq_group", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"cfq_rb_root", !6, i64 0} !13 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_service_tree_for.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_service_tree_for.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cfq_rb_root = type { i32 } @IDLE_WORKLOAD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @service_tree_for], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @service_tree_for(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %17, label %5 5: ; preds = %3 %6 = load i32, ptr @IDLE_WORKLOAD, align 4, !tbaa !6 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 8 br label %17 10: ; preds = %5 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = zext i32 %1 to i64 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = zext i32 %2 to i64 %16 = getelementptr inbounds %struct.cfq_rb_root, ptr %14, i64 %15 br label %17 17: ; preds = %3, %10, %8 %18 = phi ptr [ %9, %8 ], [ %16, %10 ], [ null, %3 ] ret ptr %18 } 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, !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 = !{!"cfq_group", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"cfq_rb_root", !7, i64 0} !14 = !{!12, !12, i64 0}
fastsocket_kernel_block_extr_cfq-iosched.c_service_tree_for
; ModuleID = 'AnghaBench/freebsd/sys/dev/ae/extr_if_ae.c_ae_stop_rxmac.c' source_filename = "AnghaBench/freebsd/sys/dev/ae/extr_if_ae.c_ae_stop_rxmac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AE_MAC_REG = dso_local local_unnamed_addr global i32 0, align 4 @AE_MAC_RX_EN = dso_local local_unnamed_addr global i32 0, align 4 @AE_DMAWRITE_REG = dso_local local_unnamed_addr global i32 0, align 4 @AE_DMAWRITE_EN = dso_local local_unnamed_addr global i64 0, align 8 @AE_IDLE_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @AE_IDLE_REG = dso_local local_unnamed_addr global i32 0, align 4 @AE_IDLE_RXMAC = dso_local local_unnamed_addr global i32 0, align 4 @AE_IDLE_DMAWRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"timed out while stopping Rx MAC.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ae_stop_rxmac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ae_stop_rxmac(ptr noundef %0) #0 { %2 = tail call i32 @AE_LOCK_ASSERT(ptr noundef %0) #2 %3 = load i32, ptr @AE_MAC_REG, align 4, !tbaa !5 %4 = tail call i32 @AE_READ_4(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr @AE_MAC_RX_EN, align 4, !tbaa !5 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = xor i32 %5, -1 %10 = and i32 %4, %9 %11 = load i32, ptr @AE_MAC_REG, align 4, !tbaa !5 %12 = tail call i32 @AE_WRITE_4(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2 br label %13 13: ; preds = %8, %1 %14 = load i32, ptr @AE_DMAWRITE_REG, align 4, !tbaa !5 %15 = tail call i64 @AE_READ_1(ptr noundef %0, i32 noundef %14) #2 %16 = load i64, ptr @AE_DMAWRITE_EN, align 8, !tbaa !9 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @AE_DMAWRITE_REG, align 4, !tbaa !5 %20 = tail call i32 @AE_WRITE_1(ptr noundef %0, i32 noundef %19, i32 noundef 0) #2 br label %21 21: ; preds = %18, %13 %22 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !5 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %21, %35 %25 = phi i32 [ %37, %35 ], [ 0, %21 ] %26 = load i32, ptr @AE_IDLE_REG, align 4, !tbaa !5 %27 = tail call i32 @AE_READ_4(ptr noundef %0, i32 noundef %26) #2 %28 = load i32, ptr @AE_IDLE_RXMAC, align 4, !tbaa !5 %29 = load i32, ptr @AE_IDLE_DMAWRITE, align 4, !tbaa !5 %30 = or i32 %29, %28 %31 = and i32 %30, %27 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %24 %34 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !5 br label %40 35: ; preds = %24 %36 = tail call i32 @DELAY(i32 noundef 100) #2 %37 = add nuw nsw i32 %25, 1 %38 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !5 %39 = icmp slt i32 %37, %38 br i1 %39, label %24, label %40, !llvm.loop !11 40: ; preds = %35, %33, %21 %41 = phi i32 [ %22, %21 ], [ %34, %33 ], [ %38, %35 ] %42 = phi i32 [ 0, %21 ], [ %25, %33 ], [ %37, %35 ] %43 = icmp eq i32 %42, %41 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr %0, align 4, !tbaa !13 %46 = tail call i32 @device_printf(i32 noundef %45, ptr noundef nonnull @.str) #2 br label %47 47: ; preds = %44, %40 ret void } declare i32 @AE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @AE_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AE_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @AE_READ_1(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AE_WRITE_1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_8__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ae/extr_if_ae.c_ae_stop_rxmac.c' source_filename = "AnghaBench/freebsd/sys/dev/ae/extr_if_ae.c_ae_stop_rxmac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AE_MAC_REG = common local_unnamed_addr global i32 0, align 4 @AE_MAC_RX_EN = common local_unnamed_addr global i32 0, align 4 @AE_DMAWRITE_REG = common local_unnamed_addr global i32 0, align 4 @AE_DMAWRITE_EN = common local_unnamed_addr global i64 0, align 8 @AE_IDLE_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @AE_IDLE_REG = common local_unnamed_addr global i32 0, align 4 @AE_IDLE_RXMAC = common local_unnamed_addr global i32 0, align 4 @AE_IDLE_DMAWRITE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"timed out while stopping Rx MAC.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ae_stop_rxmac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ae_stop_rxmac(ptr noundef %0) #0 { %2 = tail call i32 @AE_LOCK_ASSERT(ptr noundef %0) #2 %3 = load i32, ptr @AE_MAC_REG, align 4, !tbaa !6 %4 = tail call i32 @AE_READ_4(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr @AE_MAC_RX_EN, align 4, !tbaa !6 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = xor i32 %5, -1 %10 = and i32 %4, %9 %11 = load i32, ptr @AE_MAC_REG, align 4, !tbaa !6 %12 = tail call i32 @AE_WRITE_4(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2 br label %13 13: ; preds = %8, %1 %14 = load i32, ptr @AE_DMAWRITE_REG, align 4, !tbaa !6 %15 = tail call i64 @AE_READ_1(ptr noundef %0, i32 noundef %14) #2 %16 = load i64, ptr @AE_DMAWRITE_EN, align 8, !tbaa !10 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @AE_DMAWRITE_REG, align 4, !tbaa !6 %20 = tail call i32 @AE_WRITE_1(ptr noundef %0, i32 noundef %19, i32 noundef 0) #2 br label %21 21: ; preds = %18, %13 %22 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !6 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %21, %35 %25 = phi i32 [ %37, %35 ], [ 0, %21 ] %26 = load i32, ptr @AE_IDLE_REG, align 4, !tbaa !6 %27 = tail call i32 @AE_READ_4(ptr noundef %0, i32 noundef %26) #2 %28 = load i32, ptr @AE_IDLE_RXMAC, align 4, !tbaa !6 %29 = load i32, ptr @AE_IDLE_DMAWRITE, align 4, !tbaa !6 %30 = or i32 %29, %28 %31 = and i32 %30, %27 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %24 %34 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !6 br label %40 35: ; preds = %24 %36 = tail call i32 @DELAY(i32 noundef 100) #2 %37 = add nuw nsw i32 %25, 1 %38 = load i32, ptr @AE_IDLE_TIMEOUT, align 4, !tbaa !6 %39 = icmp slt i32 %37, %38 br i1 %39, label %24, label %40, !llvm.loop !12 40: ; preds = %35, %33, %21 %41 = phi i32 [ %22, %21 ], [ %34, %33 ], [ %38, %35 ] %42 = phi i32 [ 0, %21 ], [ %25, %33 ], [ %37, %35 ] %43 = icmp eq i32 %42, %41 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr %0, align 4, !tbaa !14 %46 = tail call i32 @device_printf(i32 noundef %45, ptr noundef nonnull @.str) #2 br label %47 47: ; preds = %44, %40 ret void } declare i32 @AE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @AE_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AE_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @AE_READ_1(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AE_WRITE_1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_8__", !7, i64 0}
freebsd_sys_dev_ae_extr_if_ae.c_ae_stop_rxmac
; ModuleID = 'AnghaBench/linux/crypto/extr_akcipher.c_akcipher_default_op.c' source_filename = "AnghaBench/linux/crypto/extr_akcipher.c_akcipher_default_op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @akcipher_default_op], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @akcipher_default_op(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !5 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/crypto/extr_akcipher.c_akcipher_default_op.c' source_filename = "AnghaBench/linux/crypto/extr_akcipher.c_akcipher_default_op.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @akcipher_default_op], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @akcipher_default_op(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !6 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_crypto_extr_akcipher.c_akcipher_default_op
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/powermac/extr_pfunc_core.c_pmf_parser_read_reg16.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/powermac/extr_pfunc_core.c_pmf_parser_read_reg16.c" target datalayout = "e-m:e-p270:32:32-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 [31 x i8] c"pmf: read_reg16(offset: %08x)\0A\00", align 1 @read_reg16 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pmf_parser_read_reg16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pmf_parser_read_reg16(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @pmf_next32(ptr noundef %0) #2 %4 = tail call i32 @LOG_PARSE(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = load i32, ptr @read_reg16, align 4, !tbaa !5 %6 = tail call i32 @PMF_PARSE_CALL(i32 noundef %5, ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 undef } declare i32 @pmf_next32(ptr noundef) local_unnamed_addr #1 declare i32 @LOG_PARSE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PMF_PARSE_CALL(i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/powermac/extr_pfunc_core.c_pmf_parser_read_reg16.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/powermac/extr_pfunc_core.c_pmf_parser_read_reg16.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 [31 x i8] c"pmf: read_reg16(offset: %08x)\0A\00", align 1 @read_reg16 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pmf_parser_read_reg16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pmf_parser_read_reg16(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @pmf_next32(ptr noundef %0) #2 %4 = tail call i32 @LOG_PARSE(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = load i32, ptr @read_reg16, align 4, !tbaa !6 %6 = tail call i32 @PMF_PARSE_CALL(i32 noundef %5, ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 undef } declare i32 @pmf_next32(ptr noundef) local_unnamed_addr #1 declare i32 @LOG_PARSE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PMF_PARSE_CALL(i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_powerpc_platforms_powermac_extr_pfunc_core.c_pmf_parser_read_reg16
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_npcm750-pwm-fan.c_npcm7xx_fan_compute.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_npcm750-pwm-fan.c_npcm7xx_fan_compute.c" target datalayout = "e-m:e-p270:32:32-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.npcm7xx_pwm_fan_data = type { i32, ptr } %struct.TYPE_2__ = type { i64, i32, i32 } @NPCM7XX_FAN_CMPA = dso_local local_unnamed_addr global i64 0, align 8 @FAN_INIT = dso_local local_unnamed_addr global i64 0, align 8 @FAN_PREPARE_TO_GET_FIRST_CAPTURE = dso_local local_unnamed_addr global i64 0, align 8 @FAN_ENOUGH_SAMPLE = dso_local local_unnamed_addr global i32 0, align 4 @NPCM7XX_FAN_TCNT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @npcm7xx_fan_compute], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @npcm7xx_fan_compute(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = load i64, ptr @NPCM7XX_FAN_CMPA, align 8, !tbaa !5 %9 = icmp eq i64 %8, %2 %10 = load i32, ptr %0, align 8, !tbaa !9 br i1 %9, label %11, label %13 11: ; preds = %7 %12 = tail call i32 @NPCM7XX_FAN_REG_TCRA(i32 noundef %10, i64 noundef %1) #2 br label %15 13: ; preds = %7 %14 = tail call i32 @NPCM7XX_FAN_REG_TCRB(i32 noundef %10, i64 noundef %1) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %14, %13 ], [ %12, %11 ] %17 = tail call i64 @ioread16(i32 noundef %16) #2 %18 = load i32, ptr %0, align 8, !tbaa !9 %19 = tail call i32 @NPCM7XX_FAN_REG_TICLR(i32 noundef %18, i64 noundef %1) #2 %20 = tail call i32 @iowrite8(i64 noundef %6, i32 noundef %19) #2 %21 = getelementptr inbounds %struct.npcm7xx_pwm_fan_data, ptr %0, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3 %24 = load i64, ptr %23, align 8, !tbaa !14 %25 = load i64, ptr @FAN_INIT, align 8, !tbaa !5 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %15 %28 = load i64, ptr @FAN_PREPARE_TO_GET_FIRST_CAPTURE, align 8, !tbaa !5 store i64 %28, ptr %23, align 8, !tbaa !14 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3, i32 1 store i32 0, ptr %29, align 8, !tbaa !16 br label %71 30: ; preds = %15 %31 = load i32, ptr @FAN_ENOUGH_SAMPLE, align 4, !tbaa !17 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %24, %32 br i1 %33, label %34, label %42 34: ; preds = %30 %35 = load i64, ptr @NPCM7XX_FAN_TCNT, align 8, !tbaa !5 %36 = sub nsw i64 %35, %17 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3, i32 1 %38 = load i32, ptr %37, align 8, !tbaa !16 %39 = trunc i64 %36 to i32 %40 = add i32 %38, %39 store i32 %40, ptr %37, align 8, !tbaa !16 %41 = add nsw i64 %24, 1 store i64 %41, ptr %23, align 8, !tbaa !14 br label %71 42: ; preds = %30 %43 = icmp eq i64 %24, %32 br i1 %43, label %44, label %54 44: ; preds = %42 %45 = load i64, ptr @NPCM7XX_FAN_TCNT, align 8, !tbaa !5 %46 = sub nsw i64 %45, %17 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3, i32 1 %48 = load i32, ptr %47, align 8, !tbaa !16 %49 = trunc i64 %46 to i32 %50 = add i32 %48, %49 store i32 %50, ptr %47, align 8, !tbaa !16 %51 = load i32, ptr @FAN_ENOUGH_SAMPLE, align 4, !tbaa !17 %52 = sdiv i32 %50, %51 %53 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3, i32 2 store i32 %52, ptr %53, align 4, !tbaa !18 store i64 %25, ptr %23, align 8, !tbaa !14 br label %54 54: ; preds = %44, %42 %55 = load i32, ptr %0, align 8, !tbaa !9 %56 = tail call i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef %55, i64 noundef %1) #2 %57 = tail call i64 @ioread8(i32 noundef %56) #2 %58 = xor i64 %4, -1 %59 = and i64 %57, %58 %60 = load i32, ptr %0, align 8, !tbaa !9 %61 = tail call i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef %60, i64 noundef %1) #2 %62 = tail call i32 @iowrite8(i64 noundef %59, i32 noundef %61) #2 %63 = load i32, ptr %0, align 8, !tbaa !9 %64 = tail call i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef %63, i64 noundef %1) #2 %65 = tail call i64 @ioread8(i32 noundef %64) #2 %66 = xor i64 %5, -1 %67 = and i64 %65, %66 %68 = load i32, ptr %0, align 8, !tbaa !9 %69 = tail call i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef %68, i64 noundef %1) #2 %70 = tail call i32 @iowrite8(i64 noundef %67, i32 noundef %69) #2 br label %71 71: ; preds = %34, %54, %27 ret void } declare i64 @ioread16(i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCRA(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCRB(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @iowrite8(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TICLR(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ioread8(i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"npcm7xx_pwm_fan_data", !11, i64 0, !12, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0, !11, i64 8, !11, i64 12} !16 = !{!15, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!15, !11, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_npcm750-pwm-fan.c_npcm7xx_fan_compute.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_npcm750-pwm-fan.c_npcm7xx_fan_compute.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i32, i32 } @NPCM7XX_FAN_CMPA = common local_unnamed_addr global i64 0, align 8 @FAN_INIT = common local_unnamed_addr global i64 0, align 8 @FAN_PREPARE_TO_GET_FIRST_CAPTURE = common local_unnamed_addr global i64 0, align 8 @FAN_ENOUGH_SAMPLE = common local_unnamed_addr global i32 0, align 4 @NPCM7XX_FAN_TCNT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @npcm7xx_fan_compute], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @npcm7xx_fan_compute(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = load i64, ptr @NPCM7XX_FAN_CMPA, align 8, !tbaa !6 %9 = icmp eq i64 %8, %2 %10 = load i32, ptr %0, align 8, !tbaa !10 br i1 %9, label %11, label %13 11: ; preds = %7 %12 = tail call i32 @NPCM7XX_FAN_REG_TCRA(i32 noundef %10, i64 noundef %1) #2 br label %15 13: ; preds = %7 %14 = tail call i32 @NPCM7XX_FAN_REG_TCRB(i32 noundef %10, i64 noundef %1) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %14, %13 ], [ %12, %11 ] %17 = tail call i64 @ioread16(i32 noundef %16) #2 %18 = load i32, ptr %0, align 8, !tbaa !10 %19 = tail call i32 @NPCM7XX_FAN_REG_TICLR(i32 noundef %18, i64 noundef %1) #2 %20 = tail call i32 @iowrite8(i64 noundef %6, i32 noundef %19) #2 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3 %24 = load i64, ptr %23, align 8, !tbaa !15 %25 = load i64, ptr @FAN_INIT, align 8, !tbaa !6 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %15 %28 = load i64, ptr @FAN_PREPARE_TO_GET_FIRST_CAPTURE, align 8, !tbaa !6 store i64 %28, ptr %23, align 8, !tbaa !15 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %3, i32 1 store i32 0, ptr %29, align 8, !tbaa !17 br label %71 30: ; preds = %15 %31 = load i32, ptr @FAN_ENOUGH_SAMPLE, align 4, !tbaa !18 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %24, %32 br i1 %33, label %34, label %42 34: ; preds = %30 %35 = load i64, ptr @NPCM7XX_FAN_TCNT, align 8, !tbaa !6 %36 = sub nsw i64 %35, %17 %37 = getelementptr inbounds i8, ptr %23, i64 8 %38 = load i32, ptr %37, align 8, !tbaa !17 %39 = trunc i64 %36 to i32 %40 = add i32 %38, %39 store i32 %40, ptr %37, align 8, !tbaa !17 %41 = add nsw i64 %24, 1 store i64 %41, ptr %23, align 8, !tbaa !15 br label %71 42: ; preds = %30 %43 = icmp eq i64 %24, %32 br i1 %43, label %44, label %54 44: ; preds = %42 %45 = load i64, ptr @NPCM7XX_FAN_TCNT, align 8, !tbaa !6 %46 = sub nsw i64 %45, %17 %47 = getelementptr inbounds i8, ptr %23, i64 8 %48 = load i32, ptr %47, align 8, !tbaa !17 %49 = trunc i64 %46 to i32 %50 = add i32 %48, %49 store i32 %50, ptr %47, align 8, !tbaa !17 %51 = load i32, ptr @FAN_ENOUGH_SAMPLE, align 4, !tbaa !18 %52 = sdiv i32 %50, %51 %53 = getelementptr inbounds i8, ptr %23, i64 12 store i32 %52, ptr %53, align 4, !tbaa !19 store i64 %25, ptr %23, align 8, !tbaa !15 br label %54 54: ; preds = %44, %42 %55 = load i32, ptr %0, align 8, !tbaa !10 %56 = tail call i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef %55, i64 noundef %1) #2 %57 = tail call i64 @ioread8(i32 noundef %56) #2 %58 = xor i64 %4, -1 %59 = and i64 %57, %58 %60 = load i32, ptr %0, align 8, !tbaa !10 %61 = tail call i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef %60, i64 noundef %1) #2 %62 = tail call i32 @iowrite8(i64 noundef %59, i32 noundef %61) #2 %63 = load i32, ptr %0, align 8, !tbaa !10 %64 = tail call i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef %63, i64 noundef %1) #2 %65 = tail call i64 @ioread8(i32 noundef %64) #2 %66 = xor i64 %5, -1 %67 = and i64 %65, %66 %68 = load i32, ptr %0, align 8, !tbaa !10 %69 = tail call i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef %68, i64 noundef %1) #2 %70 = tail call i32 @iowrite8(i64 noundef %67, i32 noundef %69) #2 br label %71 71: ; preds = %34, %54, %27 ret void } declare i64 @ioread16(i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCRA(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCRB(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @iowrite8(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TICLR(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ioread8(i32 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TIEN(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @NPCM7XX_FAN_REG_TCKC(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"npcm7xx_pwm_fan_data", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0, !12, i64 8, !12, i64 12} !17 = !{!16, !12, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!16, !12, i64 12}
linux_drivers_hwmon_extr_npcm750-pwm-fan.c_npcm7xx_fan_compute
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_intel_engine_apply_whitelist.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_intel_engine_apply_whitelist.c" target datalayout = "e-m:e-p270:32:32-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.intel_engine_cs = type { i32, ptr, %struct.i915_wa_list } %struct.i915_wa_list = type { i32, ptr } %struct.i915_wa = type { i32 } @RING_MAX_NONPRIV_SLOTS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @intel_engine_apply_whitelist(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = load i32, ptr %2, align 8, !tbaa !13 %7 = icmp eq i32 %6, 0 br i1 %7, label %34, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 2, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !14 br label %14 11: ; preds = %14 %12 = load i32, ptr @RING_MAX_NONPRIV_SLOTS, align 4, !tbaa !15 %13 = icmp ult i32 %21, %12 br i1 %13, label %25, label %34 14: ; preds = %8, %14 %15 = phi i32 [ %21, %14 ], [ 0, %8 ] %16 = phi ptr [ %22, %14 ], [ %10, %8 ] %17 = tail call i32 @RING_FORCE_TO_NONPRIV(i32 noundef %5, i32 noundef %15) #2 %18 = load i32, ptr %16, align 4, !tbaa !16 %19 = tail call i32 @i915_mmio_reg_offset(i32 noundef %18) #2 %20 = tail call i32 @intel_uncore_write(ptr noundef %4, i32 noundef %17, i32 noundef %19) #2 %21 = add nuw i32 %15, 1 %22 = getelementptr inbounds %struct.i915_wa, ptr %16, i64 1 %23 = load i32, ptr %2, align 8, !tbaa !13 %24 = icmp ult i32 %21, %23 br i1 %24, label %14, label %11, !llvm.loop !18 25: ; preds = %11, %25 %26 = phi i32 [ %31, %25 ], [ %21, %11 ] %27 = tail call i32 @RING_FORCE_TO_NONPRIV(i32 noundef %5, i32 noundef %26) #2 %28 = tail call i32 @RING_NOPID(i32 noundef %5) #2 %29 = tail call i32 @i915_mmio_reg_offset(i32 noundef %28) #2 %30 = tail call i32 @intel_uncore_write(ptr noundef %4, i32 noundef %27, i32 noundef %29) #2 %31 = add nuw i32 %26, 1 %32 = load i32, ptr @RING_MAX_NONPRIV_SLOTS, align 4, !tbaa !15 %33 = icmp ult i32 %31, %32 br i1 %33, label %25, label %34, !llvm.loop !20 34: ; preds = %25, %11, %1 ret void } declare i32 @intel_uncore_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RING_FORCE_TO_NONPRIV(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i915_mmio_reg_offset(i32 noundef) local_unnamed_addr #1 declare i32 @RING_NOPID(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 = !{!"intel_engine_cs", !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 = !{!"any pointer", !8, i64 0} !11 = !{!"i915_wa_list", !7, i64 0, !10, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!11, !10, i64 8} !15 = !{!7, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"i915_wa", !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_intel_engine_apply_whitelist.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_intel_engine_apply_whitelist.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RING_MAX_NONPRIV_SLOTS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @intel_engine_apply_whitelist(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = load i32, ptr %2, align 8, !tbaa !14 %7 = icmp eq i32 %6, 0 br i1 %7, label %34, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = load ptr, ptr %9, align 8, !tbaa !15 br label %14 11: ; preds = %14 %12 = load i32, ptr @RING_MAX_NONPRIV_SLOTS, align 4, !tbaa !16 %13 = icmp ult i32 %21, %12 br i1 %13, label %25, label %34 14: ; preds = %8, %14 %15 = phi i32 [ %21, %14 ], [ 0, %8 ] %16 = phi ptr [ %22, %14 ], [ %10, %8 ] %17 = tail call i32 @RING_FORCE_TO_NONPRIV(i32 noundef %5, i32 noundef %15) #2 %18 = load i32, ptr %16, align 4, !tbaa !17 %19 = tail call i32 @i915_mmio_reg_offset(i32 noundef %18) #2 %20 = tail call i32 @intel_uncore_write(ptr noundef %4, i32 noundef %17, i32 noundef %19) #2 %21 = add nuw i32 %15, 1 %22 = getelementptr inbounds i8, ptr %16, i64 4 %23 = load i32, ptr %2, align 8, !tbaa !14 %24 = icmp ult i32 %21, %23 br i1 %24, label %14, label %11, !llvm.loop !19 25: ; preds = %11, %25 %26 = phi i32 [ %31, %25 ], [ %21, %11 ] %27 = tail call i32 @RING_FORCE_TO_NONPRIV(i32 noundef %5, i32 noundef %26) #2 %28 = tail call i32 @RING_NOPID(i32 noundef %5) #2 %29 = tail call i32 @i915_mmio_reg_offset(i32 noundef %28) #2 %30 = tail call i32 @intel_uncore_write(ptr noundef %4, i32 noundef %27, i32 noundef %29) #2 %31 = add nuw i32 %26, 1 %32 = load i32, ptr @RING_MAX_NONPRIV_SLOTS, align 4, !tbaa !16 %33 = icmp ult i32 %31, %32 br i1 %33, label %25, label %34, !llvm.loop !21 34: ; preds = %25, %11, %1 ret void } declare i32 @intel_uncore_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RING_FORCE_TO_NONPRIV(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i915_mmio_reg_offset(i32 noundef) local_unnamed_addr #1 declare i32 @RING_NOPID(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 = !{!"intel_engine_cs", !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 = !{!"any pointer", !9, i64 0} !12 = !{!"i915_wa_list", !8, i64 0, !11, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!12, !8, i64 0} !15 = !{!12, !11, i64 8} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"i915_wa", !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20}
linux_drivers_gpu_drm_i915_gt_extr_intel_workarounds.c_intel_engine_apply_whitelist
; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure.c_PQsslStruct.c' source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure.c_PQsslStruct.c" target datalayout = "e-m:e-p270:32:32-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 noalias noundef ptr @PQsslStruct(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret ptr null } 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/postgres/src/interfaces/libpq/extr_fe-secure.c_PQsslStruct.c' source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-secure.c_PQsslStruct.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 noalias noundef ptr @PQsslStruct(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret ptr null } 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)"}
postgres_src_interfaces_libpq_extr_fe-secure.c_PQsslStruct
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_TcpIp.c_BuildICMPv6OptionValue.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_TcpIp.c_BuildICMPv6OptionValue.c" target datalayout = "e-m:e-p270:32:32-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 } ; Function Attrs: nounwind uwtable define dso_local void @BuildICMPv6OptionValue(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null %6 = icmp eq ptr %2, null %7 = or i1 %5, %6 br i1 %7, label %19, label %8 8: ; preds = %4 %9 = add nsw i32 %3, 7 %10 = sdiv i32 %9, 8 %11 = shl nsw i32 %10, 3 %12 = tail call ptr @ZeroMalloc(i32 noundef %11) #2 %13 = tail call i32 @Copy(ptr noundef %12, ptr noundef nonnull %2, i32 noundef %3) #2 %14 = sext i32 %10 to i64 %15 = inttoptr i64 %14 to ptr %16 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 0, i32 1 store ptr %15, ptr %16, align 8, !tbaa !5 store ptr %1, ptr %12, align 8, !tbaa !10 %17 = tail call i32 @WriteBuf(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %11) #2 %18 = tail call i32 @Free(ptr noundef nonnull %12) #2 br label %19 19: ; preds = %4, %8 ret void } declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WriteBuf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_TcpIp.c_BuildICMPv6OptionValue.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_TcpIp.c_BuildICMPv6OptionValue.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 @BuildICMPv6OptionValue(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null %6 = icmp eq ptr %2, null %7 = or i1 %5, %6 br i1 %7, label %19, label %8 8: ; preds = %4 %9 = add nsw i32 %3, 7 %10 = sdiv i32 %9, 8 %11 = shl nsw i32 %10, 3 %12 = tail call ptr @ZeroMalloc(i32 noundef %11) #2 %13 = tail call i32 @Copy(ptr noundef %12, ptr noundef nonnull %2, i32 noundef %3) #2 %14 = sext i32 %10 to i64 %15 = inttoptr i64 %14 to ptr %16 = getelementptr inbounds i8, ptr %12, i64 8 store ptr %15, ptr %16, align 8, !tbaa !6 store ptr %1, ptr %12, align 8, !tbaa !11 %17 = tail call i32 @WriteBuf(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %11) #2 %18 = tail call i32 @Free(ptr noundef nonnull %12) #2 br label %19 19: ; preds = %4, %8 ret void } declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WriteBuf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
SoftEtherVPN_src_Mayaqua_extr_TcpIp.c_BuildICMPv6OptionValue
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_get_drvinfo.c' source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_get_drvinfo.c" target datalayout = "e-m:e-p270:32:32-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.ethtool_drvinfo = type { i32, i32, i32 } @AG71XX_DRV_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ag71xx_ethtool_get_drvinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ag71xx_ethtool_get_drvinfo(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.ethtool_drvinfo, ptr %1, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load ptr, ptr %3, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = tail call i32 @strcpy(i32 noundef %5, i32 noundef %8) #2 %10 = getelementptr inbounds %struct.ethtool_drvinfo, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = load i32, ptr @AG71XX_DRV_VERSION, align 4, !tbaa !19 %13 = tail call i32 @strcpy(i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr %1, align 4, !tbaa !20 %15 = load ptr, ptr %3, align 8, !tbaa !10 %16 = tail call i32 @dev_name(ptr noundef %15) #2 %17 = tail call i32 @strcpy(i32 noundef %14, i32 noundef %16) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"ethtool_drvinfo", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"ag71xx", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_6__", !12, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_4__", !7, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!7, !7, i64 0} !20 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_get_drvinfo.c' source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_get_drvinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AG71XX_DRV_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ag71xx_ethtool_get_drvinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ag71xx_ethtool_get_drvinfo(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load ptr, ptr %3, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = load i32, ptr %7, align 4, !tbaa !17 %9 = tail call i32 @strcpy(i32 noundef %5, i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %1, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !19 %12 = load i32, ptr @AG71XX_DRV_VERSION, align 4, !tbaa !20 %13 = tail call i32 @strcpy(i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr %1, align 4, !tbaa !21 %15 = load ptr, ptr %3, align 8, !tbaa !11 %16 = tail call i32 @dev_name(ptr noundef %15) #2 %17 = tail call i32 @strcpy(i32 noundef %14, i32 noundef %16) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"ethtool_drvinfo", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"ag71xx", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_5__", !16, i64 0} !16 = !{!"TYPE_6__", !13, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_4__", !8, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!8, !8, i64 0} !21 = !{!7, !8, i64 0}
openwrt_target_linux_ar71xx_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_ethtool.c_ag71xx_ethtool_get_drvinfo
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/lockd/extr_clntlock.c_nlmclnt_block.c' source_filename = "AnghaBench/fastsocket/kernel/fs/lockd/extr_clntlock.c_nlmclnt_block.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nlm_wait = type { i64, i32 } @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @nlm_lck_blocked = dso_local local_unnamed_addr global i64 0, align 8 @ERESTARTSYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nlmclnt_block(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @EAGAIN, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %22 8: ; preds = %3 %9 = getelementptr inbounds %struct.nlm_wait, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !9 %11 = load i64, ptr %0, align 8, !tbaa !12 %12 = load i64, ptr @nlm_lck_blocked, align 8, !tbaa !13 %13 = icmp ne i64 %11, %12 %14 = zext i1 %13 to i32 %15 = tail call i64 @wait_event_interruptible_timeout(i32 noundef %10, i32 noundef %14, i64 noundef %2) #2 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %8 %18 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %22 20: ; preds = %8 %21 = load i64, ptr %0, align 8, !tbaa !12 store i64 %21, ptr %1, align 8, !tbaa !14 br label %22 22: ; preds = %20, %17, %5 %23 = phi i32 [ %7, %5 ], [ %19, %17 ], [ 0, %20 ] ret i32 %23 } declare i64 @wait_event_interruptible_timeout(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"nlm_wait", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"nlm_rqst", !16, i64 0} !16 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/lockd/extr_clntlock.c_nlmclnt_block.c' source_filename = "AnghaBench/fastsocket/kernel/fs/lockd/extr_clntlock.c_nlmclnt_block.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EAGAIN = common local_unnamed_addr global i32 0, align 4 @nlm_lck_blocked = common local_unnamed_addr global i64 0, align 8 @ERESTARTSYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @nlmclnt_block(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @EAGAIN, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %22 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !10 %11 = load i64, ptr %0, align 8, !tbaa !13 %12 = load i64, ptr @nlm_lck_blocked, align 8, !tbaa !14 %13 = icmp ne i64 %11, %12 %14 = zext i1 %13 to i32 %15 = tail call i64 @wait_event_interruptible_timeout(i32 noundef %10, i32 noundef %14, i64 noundef %2) #2 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %8 %18 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %22 20: ; preds = %8 %21 = load i64, ptr %0, align 8, !tbaa !13 store i64 %21, ptr %1, align 8, !tbaa !15 br label %22 22: ; preds = %20, %17, %5 %23 = phi i32 [ %7, %5 ], [ %19, %17 ], [ 0, %20 ] ret i32 %23 } declare i64 @wait_event_interruptible_timeout(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"nlm_wait", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"nlm_rqst", !17, i64 0} !17 = !{!"TYPE_2__", !12, i64 0}
fastsocket_kernel_fs_lockd_extr_clntlock.c_nlmclnt_block
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_one_pte.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_one_pte.c" target datalayout = "e-m:e-p270:32:32-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 { i64 } @mmlist_lock = dso_local global i32 0, align 4 @VM_SHARED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @copy_one_pte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @copy_one_pte(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr nocapture noundef %6) #0 { %8 = alloca %struct.TYPE_8__, align 8 %9 = load i64, ptr %4, align 8, !tbaa !5 %10 = load i32, ptr %3, align 4, !tbaa !10 %11 = tail call i32 @pte_present(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %56, label %16 16: ; preds = %7 %17 = tail call i32 @pte_file(i32 noundef %10) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %81 19: ; preds = %16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %20 = tail call i64 @pte_to_swp_entry(i32 noundef %10) #3 store i64 %20, ptr %8, align 8 %21 = tail call i64 @swap_duplicate(i64 %20) #3 %22 = icmp sgt i64 %21, -1 br i1 %22, label %23, label %55 23: ; preds = %19 %24 = tail call i32 @list_empty(ptr noundef %0) #3 %25 = tail call i64 @unlikely(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %35, label %27 27: ; preds = %23 %28 = tail call i32 @spin_lock(ptr noundef nonnull @mmlist_lock) #3 %29 = tail call i32 @list_empty(ptr noundef %0) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @list_add(ptr noundef %0, ptr noundef %1) #3 br label %33 33: ; preds = %31, %27 %34 = tail call i32 @spin_unlock(ptr noundef nonnull @mmlist_lock) #3 br label %35 35: ; preds = %33, %23 %36 = tail call i32 @is_migration_entry(i64 %20) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %35 %39 = getelementptr inbounds i32, ptr %6, i64 2 %40 = load i32, ptr %39, align 4, !tbaa !10 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !10 br label %53 42: ; preds = %35 %43 = tail call i64 @is_write_migration_entry(i64 %20) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %53, label %45 45: ; preds = %42 %46 = tail call i64 @is_cow_mapping(i64 noundef %9) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %45 %49 = call i32 @make_migration_entry_read(ptr noundef nonnull %8) #3 %50 = load i64, ptr %8, align 8 %51 = call i32 @swp_entry_to_pte(i64 %50) #3 %52 = call i32 @set_pte_at(ptr noundef %1, i64 noundef %5, ptr noundef nonnull %3, i32 noundef %51) #3 br label %53 53: ; preds = %38, %48, %45, %42 %54 = phi i32 [ %10, %38 ], [ %10, %42 ], [ %10, %45 ], [ %51, %48 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 br label %81 55: ; preds = %19 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 br label %84 56: ; preds = %7 %57 = tail call i64 @is_cow_mapping(i64 noundef %9) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = tail call i32 @ptep_set_wrprotect(ptr noundef %1, i64 noundef %5, ptr noundef nonnull %3) #3 %61 = tail call i32 @pte_wrprotect(i32 noundef %10) #3 br label %62 62: ; preds = %59, %56 %63 = phi i32 [ %61, %59 ], [ %10, %56 ] %64 = load i64, ptr @VM_SHARED, align 8, !tbaa !12 %65 = and i64 %64, %9 %66 = icmp eq i64 %65, 0 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = tail call i32 @pte_mkclean(i32 noundef %63) #3 br label %69 69: ; preds = %67, %62 %70 = phi i32 [ %68, %67 ], [ %63, %62 ] %71 = tail call i32 @pte_mkold(i32 noundef %70) #3 %72 = tail call ptr @vm_normal_page(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %71) #3 %73 = icmp eq ptr %72, null br i1 %73, label %81, label %74 74: ; preds = %69 %75 = tail call i32 @get_page(ptr noundef nonnull %72) #3 %76 = tail call i32 @page_dup_rmap(ptr noundef nonnull %72) #3 %77 = tail call i64 @PageAnon(ptr noundef nonnull %72) #3 %78 = getelementptr inbounds i32, ptr %6, i64 %77 %79 = load i32, ptr %78, align 4, !tbaa !10 %80 = add nsw i32 %79, 1 store i32 %80, ptr %78, align 4, !tbaa !10 br label %81 81: ; preds = %53, %69, %74, %16 %82 = phi i32 [ %10, %16 ], [ %71, %74 ], [ %71, %69 ], [ %54, %53 ] %83 = call i32 @set_pte_at(ptr noundef %0, i64 noundef %5, ptr noundef %2, i32 noundef %82) #3 br label %84 84: ; preds = %55, %81 %85 = phi i64 [ 0, %81 ], [ %20, %55 ] ret i64 %85 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @pte_present(i32 noundef) local_unnamed_addr #2 declare i32 @pte_file(i32 noundef) local_unnamed_addr #2 declare i64 @pte_to_swp_entry(i32 noundef) local_unnamed_addr #2 declare i64 @swap_duplicate(i64) local_unnamed_addr #2 declare i32 @list_empty(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @is_migration_entry(i64) local_unnamed_addr #2 declare i64 @is_write_migration_entry(i64) local_unnamed_addr #2 declare i64 @is_cow_mapping(i64 noundef) local_unnamed_addr #2 declare i32 @make_migration_entry_read(ptr noundef) local_unnamed_addr #2 declare i32 @swp_entry_to_pte(i64) local_unnamed_addr #2 declare i32 @set_pte_at(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ptep_set_wrprotect(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pte_wrprotect(i32 noundef) local_unnamed_addr #2 declare i32 @pte_mkclean(i32 noundef) local_unnamed_addr #2 declare i32 @pte_mkold(i32 noundef) local_unnamed_addr #2 declare ptr @vm_normal_page(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_page(ptr noundef) local_unnamed_addr #2 declare i32 @page_dup_rmap(ptr noundef) local_unnamed_addr #2 declare i64 @PageAnon(ptr noundef) local_unnamed_addr #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 = { 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 = !{!"vm_area_struct", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_one_pte.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_one_pte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i64 } @mmlist_lock = common global i32 0, align 4 @VM_SHARED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @copy_one_pte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @copy_one_pte(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr nocapture noundef %6) #0 { %8 = alloca %struct.TYPE_8__, align 8 %9 = load i64, ptr %4, align 8, !tbaa !6 %10 = load i32, ptr %3, align 4, !tbaa !11 %11 = tail call i32 @pte_present(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %56, label %16 16: ; preds = %7 %17 = tail call i32 @pte_file(i32 noundef %10) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %81 19: ; preds = %16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %20 = tail call i64 @pte_to_swp_entry(i32 noundef %10) #3 store i64 %20, ptr %8, align 8 %21 = tail call i64 @swap_duplicate(i64 %20) #3 %22 = icmp sgt i64 %21, -1 br i1 %22, label %23, label %55 23: ; preds = %19 %24 = tail call i32 @list_empty(ptr noundef %0) #3 %25 = tail call i64 @unlikely(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %35, label %27 27: ; preds = %23 %28 = tail call i32 @spin_lock(ptr noundef nonnull @mmlist_lock) #3 %29 = tail call i32 @list_empty(ptr noundef %0) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @list_add(ptr noundef %0, ptr noundef %1) #3 br label %33 33: ; preds = %31, %27 %34 = tail call i32 @spin_unlock(ptr noundef nonnull @mmlist_lock) #3 br label %35 35: ; preds = %33, %23 %36 = tail call i32 @is_migration_entry(i64 %20) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %35 %39 = getelementptr inbounds i8, ptr %6, i64 8 %40 = load i32, ptr %39, align 4, !tbaa !11 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !11 br label %53 42: ; preds = %35 %43 = tail call i64 @is_write_migration_entry(i64 %20) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %53, label %45 45: ; preds = %42 %46 = tail call i64 @is_cow_mapping(i64 noundef %9) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %45 %49 = call i32 @make_migration_entry_read(ptr noundef nonnull %8) #3 %50 = load i64, ptr %8, align 8 %51 = call i32 @swp_entry_to_pte(i64 %50) #3 %52 = call i32 @set_pte_at(ptr noundef %1, i64 noundef %5, ptr noundef nonnull %3, i32 noundef %51) #3 br label %53 53: ; preds = %38, %48, %45, %42 %54 = phi i32 [ %10, %38 ], [ %10, %42 ], [ %10, %45 ], [ %51, %48 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 br label %81 55: ; preds = %19 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 br label %84 56: ; preds = %7 %57 = tail call i64 @is_cow_mapping(i64 noundef %9) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = tail call i32 @ptep_set_wrprotect(ptr noundef %1, i64 noundef %5, ptr noundef nonnull %3) #3 %61 = tail call i32 @pte_wrprotect(i32 noundef %10) #3 br label %62 62: ; preds = %59, %56 %63 = phi i32 [ %61, %59 ], [ %10, %56 ] %64 = load i64, ptr @VM_SHARED, align 8, !tbaa !13 %65 = and i64 %64, %9 %66 = icmp eq i64 %65, 0 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = tail call i32 @pte_mkclean(i32 noundef %63) #3 br label %69 69: ; preds = %67, %62 %70 = phi i32 [ %68, %67 ], [ %63, %62 ] %71 = tail call i32 @pte_mkold(i32 noundef %70) #3 %72 = tail call ptr @vm_normal_page(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %71) #3 %73 = icmp eq ptr %72, null br i1 %73, label %81, label %74 74: ; preds = %69 %75 = tail call i32 @get_page(ptr noundef nonnull %72) #3 %76 = tail call i32 @page_dup_rmap(ptr noundef nonnull %72) #3 %77 = tail call i64 @PageAnon(ptr noundef nonnull %72) #3 %78 = getelementptr inbounds i32, ptr %6, i64 %77 %79 = load i32, ptr %78, align 4, !tbaa !11 %80 = add nsw i32 %79, 1 store i32 %80, ptr %78, align 4, !tbaa !11 br label %81 81: ; preds = %53, %69, %74, %16 %82 = phi i32 [ %10, %16 ], [ %71, %74 ], [ %71, %69 ], [ %54, %53 ] %83 = call i32 @set_pte_at(ptr noundef %0, i64 noundef %5, ptr noundef %2, i32 noundef %82) #3 br label %84 84: ; preds = %55, %81 %85 = phi i64 [ 0, %81 ], [ %20, %55 ] ret i64 %85 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @pte_present(i32 noundef) local_unnamed_addr #2 declare i32 @pte_file(i32 noundef) local_unnamed_addr #2 declare i64 @pte_to_swp_entry(i32 noundef) local_unnamed_addr #2 declare i64 @swap_duplicate(i64) local_unnamed_addr #2 declare i32 @list_empty(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @is_migration_entry(i64) local_unnamed_addr #2 declare i64 @is_write_migration_entry(i64) local_unnamed_addr #2 declare i64 @is_cow_mapping(i64 noundef) local_unnamed_addr #2 declare i32 @make_migration_entry_read(ptr noundef) local_unnamed_addr #2 declare i32 @swp_entry_to_pte(i64) local_unnamed_addr #2 declare i32 @set_pte_at(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ptep_set_wrprotect(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pte_wrprotect(i32 noundef) local_unnamed_addr #2 declare i32 @pte_mkclean(i32 noundef) local_unnamed_addr #2 declare i32 @pte_mkold(i32 noundef) local_unnamed_addr #2 declare ptr @vm_normal_page(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_page(ptr noundef) local_unnamed_addr #2 declare i32 @page_dup_rmap(ptr noundef) local_unnamed_addr #2 declare i64 @PageAnon(ptr noundef) local_unnamed_addr #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 = { 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 = !{!"vm_area_struct", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0}
fastsocket_kernel_mm_extr_memory.c_copy_one_pte
; ModuleID = 'AnghaBench/scrcpy/app/src/extr_device_msg.c_device_msg_deserialize.c' source_filename = "AnghaBench/scrcpy/app/src/extr_device_msg.c_device_msg_deserialize.c" target datalayout = "e-m:e-p270:32:32-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.device_msg = type { i8, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @.str = private unnamed_addr constant [38 x i8] c"Could not allocate text for clipboard\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Unknown device message type: %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @device_msg_deserialize(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp ult i64 %1, 3 br i1 %4, label %32, label %5 5: ; preds = %3 %6 = load i8, ptr %0, align 1, !tbaa !5 store i8 %6, ptr %2, align 8, !tbaa !8 %7 = icmp eq i8 %6, -128 br i1 %7, label %8, label %29 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 1 %10 = tail call i64 @buffer_read16be(ptr noundef nonnull %9) #2 %11 = add i64 %1, -3 %12 = icmp ugt i64 %10, %11 br i1 %12, label %32, label %13 13: ; preds = %8 %14 = trunc i64 %10 to i32 %15 = add i32 %14, 1 %16 = tail call ptr @SDL_malloc(i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = tail call i32 (ptr, ...) @LOGW(ptr noundef nonnull @.str) #2 br label %32 20: ; preds = %13 %21 = icmp eq i64 %10, 0 br i1 %21, label %25, label %22 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %0, i64 3 %24 = tail call i32 @memcpy(ptr noundef nonnull %16, ptr noundef nonnull %23, i64 noundef %10) #2 br label %25 25: ; preds = %22, %20 %26 = getelementptr inbounds i8, ptr %16, i64 %10 store i8 0, ptr %26, align 1, !tbaa !5 %27 = getelementptr inbounds %struct.device_msg, ptr %2, i64 0, i32 1 store ptr %16, ptr %27, align 8, !tbaa !12 %28 = add i32 %14, 3 br label %32 29: ; preds = %5 %30 = zext i8 %6 to i32 %31 = tail call i32 (ptr, ...) @LOGW(ptr noundef nonnull @.str.1, i32 noundef %30) #2 br label %32 32: ; preds = %8, %25, %18, %3, %29 %33 = phi i32 [ -1, %29 ], [ 0, %3 ], [ 0, %8 ], [ %28, %25 ], [ -1, %18 ] ret i32 %33 } declare i64 @buffer_read16be(ptr noundef) local_unnamed_addr #1 declare ptr @SDL_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @LOGW(ptr noundef, ...) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !6, i64 0} !9 = !{!"device_msg", !6, i64 0, !10, i64 8} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = !{!9, !11, i64 8}
; ModuleID = 'AnghaBench/scrcpy/app/src/extr_device_msg.c_device_msg_deserialize.c' source_filename = "AnghaBench/scrcpy/app/src/extr_device_msg.c_device_msg_deserialize.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"Could not allocate text for clipboard\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Unknown device message type: %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @device_msg_deserialize(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp ult i64 %1, 3 br i1 %4, label %32, label %5 5: ; preds = %3 %6 = load i8, ptr %0, align 1, !tbaa !6 store i8 %6, ptr %2, align 8, !tbaa !9 %7 = icmp eq i8 %6, -128 br i1 %7, label %8, label %29 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 1 %10 = tail call i64 @buffer_read16be(ptr noundef nonnull %9) #2 %11 = add i64 %1, -3 %12 = icmp ugt i64 %10, %11 br i1 %12, label %32, label %13 13: ; preds = %8 %14 = trunc i64 %10 to i32 %15 = add i32 %14, 1 %16 = tail call ptr @SDL_malloc(i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = tail call i32 (ptr, ...) @LOGW(ptr noundef nonnull @.str) #2 br label %32 20: ; preds = %13 %21 = icmp eq i64 %10, 0 br i1 %21, label %25, label %22 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %0, i64 3 %24 = tail call i32 @memcpy(ptr noundef nonnull %16, ptr noundef nonnull %23, i64 noundef %10) #2 br label %25 25: ; preds = %22, %20 %26 = getelementptr inbounds i8, ptr %16, i64 %10 store i8 0, ptr %26, align 1, !tbaa !6 %27 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %16, ptr %27, align 8, !tbaa !13 %28 = add i32 %14, 3 br label %32 29: ; preds = %5 %30 = zext i8 %6 to i32 %31 = tail call i32 (ptr, ...) @LOGW(ptr noundef nonnull @.str.1, i32 noundef %30) #2 br label %32 32: ; preds = %8, %25, %18, %3, %29 %33 = phi i32 [ -1, %29 ], [ 0, %3 ], [ 0, %8 ], [ %28, %25 ], [ -1, %18 ] ret i32 %33 } declare i64 @buffer_read16be(ptr noundef) local_unnamed_addr #1 declare ptr @SDL_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @LOGW(ptr noundef, ...) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !7, i64 0} !10 = !{!"device_msg", !7, i64 0, !11, i64 8} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8}
scrcpy_app_src_extr_device_msg.c_device_msg_deserialize
; ModuleID = 'AnghaBench/proxychains-ng/src/extr_main.c_set_own_dir.c' source_filename = "AnghaBench/proxychains-ng/src/extr_main.c_set_own_dir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @own_dir = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_own_dir], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_own_dir(ptr noundef %0) #0 { %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %3 = getelementptr i8, ptr %0, i64 -1 %4 = icmp eq i64 %2, 0 br i1 %4, label %13, label %5 5: ; preds = %1, %10 %6 = phi i64 [ %11, %10 ], [ %2, %1 ] %7 = getelementptr i8, ptr %3, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !5 %9 = icmp eq i8 %8, 47 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = add i64 %6, -1 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %5, !llvm.loop !8 13: ; preds = %10, %1 %14 = load ptr, ptr @own_dir, align 8, !tbaa !10 %15 = tail call i32 @memcpy(ptr noundef %14, ptr noundef nonnull @.str, i64 noundef 2) #3 br label %22 16: ; preds = %5 %17 = load ptr, ptr @own_dir, align 8, !tbaa !10 %18 = add i64 %6, -1 %19 = tail call i32 @memcpy(ptr noundef %17, ptr noundef nonnull %0, i64 noundef %18) #3 %20 = load ptr, ptr @own_dir, align 8, !tbaa !10 %21 = getelementptr inbounds i64, ptr %20, i64 %6 store i64 0, ptr %21, align 8, !tbaa !12 br label %22 22: ; preds = %16, %13 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !6, i64 0}
; ModuleID = 'AnghaBench/proxychains-ng/src/extr_main.c_set_own_dir.c' source_filename = "AnghaBench/proxychains-ng/src/extr_main.c_set_own_dir.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @own_dir = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @set_own_dir], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_own_dir(ptr noundef %0) #0 { %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #3 %3 = getelementptr i8, ptr %0, i64 -1 %4 = icmp eq i64 %2, 0 br i1 %4, label %13, label %5 5: ; preds = %1, %10 %6 = phi i64 [ %11, %10 ], [ %2, %1 ] %7 = getelementptr i8, ptr %3, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !6 %9 = icmp eq i8 %8, 47 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = add i64 %6, -1 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %5, !llvm.loop !9 13: ; preds = %10, %1 %14 = load ptr, ptr @own_dir, align 8, !tbaa !11 %15 = tail call i32 @memcpy(ptr noundef %14, ptr noundef nonnull @.str, i64 noundef 2) #3 br label %22 16: ; preds = %5 %17 = load ptr, ptr @own_dir, align 8, !tbaa !11 %18 = add i64 %6, -1 %19 = tail call i32 @memcpy(ptr noundef %17, ptr noundef nonnull %0, i64 noundef %18) #3 %20 = load ptr, ptr @own_dir, align 8, !tbaa !11 %21 = getelementptr inbounds i64, ptr %20, i64 %6 store i64 0, ptr %21, align 8, !tbaa !13 br label %22 22: ; preds = %16, %13 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0}
proxychains-ng_src_extr_main.c_set_own_dir
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_erasewchar.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_erasewchar.c" target datalayout = "e-m:e-p270:32:32-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 @cmd_erasewchar(i32 noundef %0, ptr nocapture noundef readnone %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 i32 @check_arg_count(i32 noundef %0, i32 noundef 0) #3 %5 = icmp eq i32 %4, 1 br i1 %5, label %12, label %6 6: ; preds = %2 %7 = tail call i32 @report_count(i32 noundef 2) #3 %8 = call i32 @erasewchar(ptr noundef nonnull %3) #3 %9 = call i32 @report_return(i32 noundef %8) #3 %10 = load i32, ptr %3, align 4, !tbaa !5 %11 = call i32 @report_int(i32 noundef %10) #3 br label %12 12: ; preds = %2, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @report_count(i32 noundef) local_unnamed_addr #2 declare i32 @report_return(i32 noundef) local_unnamed_addr #2 declare i32 @erasewchar(ptr noundef) local_unnamed_addr #2 declare i32 @report_int(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_erasewchar.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_erasewchar.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 @cmd_erasewchar(i32 noundef %0, ptr nocapture noundef readnone %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 i32 @check_arg_count(i32 noundef %0, i32 noundef 0) #3 %5 = icmp eq i32 %4, 1 br i1 %5, label %12, label %6 6: ; preds = %2 %7 = tail call i32 @report_count(i32 noundef 2) #3 %8 = call i32 @erasewchar(ptr noundef nonnull %3) #3 %9 = call i32 @report_return(i32 noundef %8) #3 %10 = load i32, ptr %3, align 4, !tbaa !6 %11 = call i32 @report_int(i32 noundef %10) #3 br label %12 12: ; preds = %2, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @report_count(i32 noundef) local_unnamed_addr #2 declare i32 @report_return(i32 noundef) local_unnamed_addr #2 declare i32 @erasewchar(ptr noundef) local_unnamed_addr #2 declare i32 @report_int(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_netbsd-tests_lib_libcurses_slave_extr_curses_commands.c_cmd_erasewchar
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_toggle_port_link.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_toggle_port_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" @MLX5_PORT_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @MLX5_PORT_UP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mlx5_toggle_port_link(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @mlx5_query_port_admin_status(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = load i32, ptr @MLX5_PORT_DOWN, align 4, !tbaa !5 %5 = call i32 @mlx5_set_port_status(ptr noundef %0, i32 noundef %4) #3 %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = load i32, ptr @MLX5_PORT_UP, align 4, !tbaa !5 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @mlx5_set_port_status(ptr noundef %0, i32 noundef %6) #3 br label %11 11: ; preds = %9, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mlx5_query_port_admin_status(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx5_set_port_status(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"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_toggle_port_link.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_port.c_mlx5_toggle_port_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX5_PORT_DOWN = common local_unnamed_addr global i32 0, align 4 @MLX5_PORT_UP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mlx5_toggle_port_link(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @mlx5_query_port_admin_status(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = load i32, ptr @MLX5_PORT_DOWN, align 4, !tbaa !6 %5 = call i32 @mlx5_set_port_status(ptr noundef %0, i32 noundef %4) #3 %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = load i32, ptr @MLX5_PORT_UP, align 4, !tbaa !6 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @mlx5_set_port_status(ptr noundef %0, i32 noundef %6) #3 br label %11 11: ; preds = %9, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mlx5_query_port_admin_status(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx5_set_port_status(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"}
freebsd_sys_dev_mlx5_mlx5_core_extr_mlx5_port.c_mlx5_toggle_port_link
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_mtk_ecc.c_of_mtk_ecc_get.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_mtk_ecc.c_of_mtk_ecc_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" @.str = private unnamed_addr constant [11 x i8] c"ecc-engine\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @of_mtk_ecc_get(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @of_parse_phandle(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call ptr @mtk_ecc_get(ptr noundef nonnull %2) #2 %6 = tail call i32 @of_node_put(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %4, %1 %8 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %8 } declare ptr @of_parse_phandle(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mtk_ecc_get(ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_mtk_ecc.c_of_mtk_ecc_get.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_mtk_ecc.c_of_mtk_ecc_get.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 [11 x i8] c"ecc-engine\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @of_mtk_ecc_get(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @of_parse_phandle(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call ptr @mtk_ecc_get(ptr noundef nonnull %2) #2 %6 = tail call i32 @of_node_put(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %4, %1 %8 = phi ptr [ %5, %4 ], [ null, %1 ] ret ptr %8 } declare ptr @of_parse_phandle(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mtk_ecc_get(ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_mtd_nand_raw_extr_mtk_ecc.c_of_mtk_ecc_get
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_write_buf_tbl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_write_buf_tbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ef4_nic = type { ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ef4_write_buf_tbl], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ef4_write_buf_tbl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.ef4_nic, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = add nsw i64 %7, %5 %9 = tail call i32 @ef4_sram_writeq(ptr noundef nonnull %0, i64 noundef %8, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @ef4_sram_writeq(ptr noundef, i64 noundef, ptr 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, !10, i64 8} !6 = !{!"ef4_nic", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_write_buf_tbl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/falcon/extr_farch.c_ef4_write_buf_tbl.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 @ef4_write_buf_tbl], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ef4_write_buf_tbl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = add nsw i64 %7, %5 %9 = tail call i32 @ef4_sram_writeq(ptr noundef nonnull %0, i64 noundef %8, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @ef4_sram_writeq(ptr noundef, i64 noundef, ptr 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, !11, i64 8} !7 = !{!"ef4_nic", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0}
linux_drivers_net_ethernet_sfc_falcon_extr_farch.c_ef4_write_buf_tbl
; ModuleID = 'AnghaBench/reactos/base/services/rpcss/extr_irotp.c_rot_entry_release.c' source_filename = "AnghaBench/reactos/base/services/rpcss/extr_irotp.c_rot_entry_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rot_entry = type { ptr, ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @rot_entry_release], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rot_entry_release(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.rot_entry, ptr %0, i64 0, i32 3 %3 = tail call i32 @InterlockedDecrement(ptr noundef nonnull %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %1 %6 = tail call i32 (...) @GetProcessHeap() #2 %7 = getelementptr inbounds %struct.rot_entry, ptr %0, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = tail call i32 @HeapFree(i32 noundef %6, i32 noundef 0, ptr noundef %8) #2 %10 = tail call i32 (...) @GetProcessHeap() #2 %11 = getelementptr inbounds %struct.rot_entry, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = tail call i32 @HeapFree(i32 noundef %10, i32 noundef 0, ptr noundef %12) #2 %14 = tail call i32 (...) @GetProcessHeap() #2 %15 = load ptr, ptr %0, align 8, !tbaa !12 %16 = tail call i32 @HeapFree(i32 noundef %14, i32 noundef 0, ptr noundef %15) #2 %17 = tail call i32 (...) @GetProcessHeap() #2 %18 = tail call i32 @HeapFree(i32 noundef %17, i32 noundef 0, ptr noundef nonnull %0) #2 br label %19 19: ; preds = %5, %1 ret void } declare i32 @InterlockedDecrement(ptr noundef) local_unnamed_addr #1 declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GetProcessHeap(...) 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 16} !6 = !{!"rot_entry", !7, i64 0, !7, i64 8, !7, i64 16, !10, 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 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/base/services/rpcss/extr_irotp.c_rot_entry_release.c' source_filename = "AnghaBench/reactos/base/services/rpcss/extr_irotp.c_rot_entry_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @rot_entry_release], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rot_entry_release(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = tail call i32 @InterlockedDecrement(ptr noundef nonnull %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %1 %6 = tail call i32 @GetProcessHeap() #2 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = tail call i32 @HeapFree(i32 noundef %6, i32 noundef 0, ptr noundef %8) #2 %10 = tail call i32 @GetProcessHeap() #2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @HeapFree(i32 noundef %10, i32 noundef 0, ptr noundef %12) #2 %14 = tail call i32 @GetProcessHeap() #2 %15 = load ptr, ptr %0, align 8, !tbaa !13 %16 = tail call i32 @HeapFree(i32 noundef %14, i32 noundef 0, ptr noundef %15) #2 %17 = tail call i32 @GetProcessHeap() #2 %18 = tail call i32 @HeapFree(i32 noundef %17, i32 noundef 0, ptr noundef nonnull %0) #2 br label %19 19: ; preds = %5, %1 ret void } declare i32 @InterlockedDecrement(ptr noundef) local_unnamed_addr #1 declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GetProcessHeap(...) 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 16} !7 = !{!"rot_entry", !8, i64 0, !8, i64 8, !8, i64 16, !11, 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 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0}
reactos_base_services_rpcss_extr_irotp.c_rot_entry_release
; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_sealevel.c_dev_to_chan.c' source_filename = "AnghaBench/linux/drivers/net/wan/extr_sealevel.c_dev_to_chan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @dev_to_chan], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @dev_to_chan(ptr noundef %0) #0 { %2 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr ret ptr %4 } declare ptr @dev_to_hdlc(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, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_sealevel.c_dev_to_chan.c' source_filename = "AnghaBench/linux/drivers/net/wan/extr_sealevel.c_dev_to_chan.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 @dev_to_chan], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @dev_to_chan(ptr noundef %0) #0 { %2 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr ret ptr %4 } declare ptr @dev_to_hdlc(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, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wan_extr_sealevel.c_dev_to_chan
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/rump/kernspace/extr_thread.c_rumptest_thread.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/rump/kernspace/extr_thread.c_rumptest_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mtx = dso_local global i32 0, align 4 @MUTEX_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @IPL_NONE = dso_local local_unnamed_addr global i32 0, align 4 @cv = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"jooei\00", align 1 @PRI_NONE = dso_local local_unnamed_addr global i32 0, align 4 @KTHREAD_MPSAFE = dso_local local_unnamed_addr global i32 0, align 4 @thethread = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"ktest\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"thread creation failed: %d\00", align 1 @value = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"take1\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @rumptest_thread() local_unnamed_addr #0 { %1 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !5 %3 = load i32, ptr @IPL_NONE, align 4, !tbaa !5 %4 = tail call i32 @mutex_init(ptr noundef nonnull @mtx, i32 noundef %2, i32 noundef %3) #3 %5 = tail call i32 @cv_init(ptr noundef nonnull @cv, ptr noundef nonnull @.str) #3 %6 = load i32, ptr @PRI_NONE, align 4, !tbaa !5 %7 = load i32, ptr @KTHREAD_MPSAFE, align 4, !tbaa !5 %8 = load i32, ptr @thethread, align 4, !tbaa !5 %9 = call i32 @kthread_create(i32 noundef %6, i32 noundef %7, ptr noundef null, i32 noundef %8, ptr noundef null, ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %0 %12 = call i32 @panic(ptr noundef nonnull @.str.2, i32 noundef %9) #3 br label %13 13: ; preds = %11, %0 %14 = call i32 @mutex_enter(ptr noundef nonnull @mtx) #3 %15 = load i64, ptr @value, align 8, !tbaa !9 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13, %17 %18 = call i32 @cv_wait(ptr noundef nonnull @cv, ptr noundef nonnull @mtx) #3 %19 = load i64, ptr @value, align 8, !tbaa !9 %20 = icmp eq i64 %19, 0 br i1 %20, label %17, label %21, !llvm.loop !11 21: ; preds = %17, %13 %22 = call i32 @mutex_exit(ptr noundef nonnull @mtx) #3 %23 = call i32 @kpause(ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef 1, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mutex_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cv_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kthread_create(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @cv_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @kpause(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/rump/kernspace/extr_thread.c_rumptest_thread.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/rump/kernspace/extr_thread.c_rumptest_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mtx = common global i32 0, align 4 @MUTEX_DEFAULT = common local_unnamed_addr global i32 0, align 4 @IPL_NONE = common local_unnamed_addr global i32 0, align 4 @cv = common global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"jooei\00", align 1 @PRI_NONE = common local_unnamed_addr global i32 0, align 4 @KTHREAD_MPSAFE = common local_unnamed_addr global i32 0, align 4 @thethread = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"ktest\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"thread creation failed: %d\00", align 1 @value = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"take1\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @rumptest_thread() local_unnamed_addr #0 { %1 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !6 %3 = load i32, ptr @IPL_NONE, align 4, !tbaa !6 %4 = tail call i32 @mutex_init(ptr noundef nonnull @mtx, i32 noundef %2, i32 noundef %3) #3 %5 = tail call i32 @cv_init(ptr noundef nonnull @cv, ptr noundef nonnull @.str) #3 %6 = load i32, ptr @PRI_NONE, align 4, !tbaa !6 %7 = load i32, ptr @KTHREAD_MPSAFE, align 4, !tbaa !6 %8 = load i32, ptr @thethread, align 4, !tbaa !6 %9 = call i32 @kthread_create(i32 noundef %6, i32 noundef %7, ptr noundef null, i32 noundef %8, ptr noundef null, ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %0 %12 = call i32 @panic(ptr noundef nonnull @.str.2, i32 noundef %9) #3 br label %13 13: ; preds = %11, %0 %14 = call i32 @mutex_enter(ptr noundef nonnull @mtx) #3 %15 = load i64, ptr @value, align 8, !tbaa !10 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13, %17 %18 = call i32 @cv_wait(ptr noundef nonnull @cv, ptr noundef nonnull @mtx) #3 %19 = load i64, ptr @value, align 8, !tbaa !10 %20 = icmp eq i64 %19, 0 br i1 %20, label %17, label %21, !llvm.loop !12 21: ; preds = %17, %13 %22 = call i32 @mutex_exit(ptr noundef nonnull @mtx) #3 %23 = call i32 @kpause(ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef 1, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mutex_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cv_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kthread_create(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @cv_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @kpause(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_netbsd-tests_rump_kernspace_extr_thread.c_rumptest_thread
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_srq_sig_enabled.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_srq_sig_enabled.c" target datalayout = "e-m:e-p270:32:32-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 [19 x i8] c"MLX5_SRQ_SIGNATURE\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @srq_sig_enabled], section "llvm.metadata" ; Function Attrs: nofree nounwind memory(read) uwtable define internal noundef i32 @srq_sig_enabled() #0 { %1 = tail call ptr @getenv(ptr noundef nonnull @.str) %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 ret i32 %3 } ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind memory(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" } attributes #1 = { nofree nounwind 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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/ofed/libmlx5/extr_verbs.c_srq_sig_enabled.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_srq_sig_enabled.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 [19 x i8] c"MLX5_SRQ_SIGNATURE\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @srq_sig_enabled], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp memory(read) uwtable(sync) define internal range(i32 0, 2) i32 @srq_sig_enabled() #0 { %1 = tail call ptr @getenv(ptr noundef nonnull @.str) %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 ret i32 %3 } ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp memory(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" } attributes #1 = { nofree nounwind 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_ofed_libmlx5_extr_verbs.c_srq_sig_enabled
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_add_matching_methods.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_add_matching_methods.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VAR_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_matching_methods], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @add_matching_methods(i32 noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @TYPE_FN_FIELDLIST_LENGTH(ptr noundef %1, i32 noundef %0) #3 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %37 6: ; preds = %3, %34 %7 = phi i32 [ %9, %34 ], [ %4, %3 ] %8 = phi i32 [ %35, %34 ], [ 0, %3 ] %9 = add nsw i32 %7, -1 %10 = tail call ptr @TYPE_FN_FIELDLIST1(ptr noundef %1, i32 noundef %0) #3 %11 = tail call i64 @TYPE_FN_FIELD_STUB(ptr noundef %10, i32 noundef %9) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %6 %14 = tail call ptr @gdb_mangle_name(ptr noundef %1, i32 noundef %0, i32 noundef %9) #3 %15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %14) %16 = add nsw i64 %15, 1 %17 = tail call ptr @alloca(i64 noundef %16) #3 %18 = tail call i32 @strcpy(ptr noundef %17, ptr noundef %14) #3 %19 = tail call i32 @xfree(ptr noundef %14) #3 br label %22 20: ; preds = %6 %21 = tail call ptr @TYPE_FN_FIELD_PHYSNAME(ptr noundef %10, i32 noundef %9) #3 br label %22 22: ; preds = %20, %13 %23 = phi ptr [ %17, %13 ], [ %21, %20 ] %24 = tail call i64 @is_destructor_name(ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load i32, ptr @VAR_DOMAIN, align 4, !tbaa !5 %28 = tail call ptr @lookup_symbol(ptr noundef %23, ptr noundef null, i32 noundef %27, ptr noundef null, ptr noundef null) #3 %29 = sext i32 %8 to i64 %30 = getelementptr inbounds ptr, ptr %2, i64 %29 store ptr %28, ptr %30, align 8, !tbaa !9 %31 = icmp ne ptr %28, null %32 = zext i1 %31 to i32 %33 = add nsw i32 %8, %32 br label %34 34: ; preds = %22, %26 %35 = phi i32 [ %33, %26 ], [ %8, %22 ] %36 = icmp ugt i32 %7, 1 br i1 %36, label %6, label %37, !llvm.loop !11 37: ; preds = %34, %3 %38 = phi i32 [ 0, %3 ], [ %35, %34 ] ret i32 %38 } declare i32 @TYPE_FN_FIELDLIST_LENGTH(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @TYPE_FN_FIELDLIST1(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @TYPE_FN_FIELD_STUB(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @gdb_mangle_name(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloca(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfree(ptr noundef) local_unnamed_addr #1 declare ptr @TYPE_FN_FIELD_PHYSNAME(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @is_destructor_name(ptr noundef) local_unnamed_addr #1 declare ptr @lookup_symbol(ptr noundef, ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_add_matching_methods.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_add_matching_methods.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VAR_DOMAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @add_matching_methods], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @add_matching_methods(i32 noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @TYPE_FN_FIELDLIST_LENGTH(ptr noundef %1, i32 noundef %0) #3 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %37 6: ; preds = %3, %34 %7 = phi i32 [ %9, %34 ], [ %4, %3 ] %8 = phi i32 [ %35, %34 ], [ 0, %3 ] %9 = add nsw i32 %7, -1 %10 = tail call ptr @TYPE_FN_FIELDLIST1(ptr noundef %1, i32 noundef %0) #3 %11 = tail call i64 @TYPE_FN_FIELD_STUB(ptr noundef %10, i32 noundef %9) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %6 %14 = tail call ptr @gdb_mangle_name(ptr noundef %1, i32 noundef %0, i32 noundef %9) #3 %15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %14) %16 = add nsw i64 %15, 1 %17 = tail call ptr @alloca(i64 noundef %16) #3 %18 = tail call i32 @strcpy(ptr noundef %17, ptr noundef %14) #3 %19 = tail call i32 @xfree(ptr noundef %14) #3 br label %22 20: ; preds = %6 %21 = tail call ptr @TYPE_FN_FIELD_PHYSNAME(ptr noundef %10, i32 noundef %9) #3 br label %22 22: ; preds = %20, %13 %23 = phi ptr [ %17, %13 ], [ %21, %20 ] %24 = tail call i64 @is_destructor_name(ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load i32, ptr @VAR_DOMAIN, align 4, !tbaa !6 %28 = tail call ptr @lookup_symbol(ptr noundef %23, ptr noundef null, i32 noundef %27, ptr noundef null, ptr noundef null) #3 %29 = sext i32 %8 to i64 %30 = getelementptr inbounds ptr, ptr %2, i64 %29 store ptr %28, ptr %30, align 8, !tbaa !10 %31 = icmp ne ptr %28, null %32 = zext i1 %31 to i32 %33 = add nsw i32 %8, %32 br label %34 34: ; preds = %22, %26 %35 = phi i32 [ %33, %26 ], [ %8, %22 ] %36 = icmp ugt i32 %7, 1 br i1 %36, label %6, label %37, !llvm.loop !12 37: ; preds = %34, %3 %38 = phi i32 [ 0, %3 ], [ %35, %34 ] ret i32 %38 } declare i32 @TYPE_FN_FIELDLIST_LENGTH(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @TYPE_FN_FIELDLIST1(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @TYPE_FN_FIELD_STUB(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @gdb_mangle_name(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloca(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfree(ptr noundef) local_unnamed_addr #1 declare ptr @TYPE_FN_FIELD_PHYSNAME(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @is_destructor_name(ptr noundef) local_unnamed_addr #1 declare ptr @lookup_symbol(ptr noundef, ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gdb_gdb_extr_linespec.c_add_matching_methods
; ModuleID = 'AnghaBench/esp-idf/components/libsodium/port/crypto_hash_mbedtls/extr_crypto_hash_sha256_mbedtls.c_crypto_hash_sha256_init.c' source_filename = "AnghaBench/esp-idf/components/libsodium/port/crypto_hash_mbedtls/extr_crypto_hash_sha256_mbedtls.c_crypto_hash_sha256_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @crypto_hash_sha256_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @mbedtls_sha256_init(ptr noundef nonnull %2) #3 %4 = call i32 @mbedtls_sha256_starts_ret(ptr noundef nonnull %2, i32 noundef 0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @sha256_mbedtls_to_libsodium(ptr noundef %0, ptr noundef nonnull %2) #3 br label %8 8: ; preds = %1, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mbedtls_sha256_init(ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_sha256_starts_ret(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sha256_mbedtls_to_libsodium(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)"}
; ModuleID = 'AnghaBench/esp-idf/components/libsodium/port/crypto_hash_mbedtls/extr_crypto_hash_sha256_mbedtls.c_crypto_hash_sha256_init.c' source_filename = "AnghaBench/esp-idf/components/libsodium/port/crypto_hash_mbedtls/extr_crypto_hash_sha256_mbedtls.c_crypto_hash_sha256_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @crypto_hash_sha256_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @mbedtls_sha256_init(ptr noundef nonnull %2) #3 %4 = call i32 @mbedtls_sha256_starts_ret(ptr noundef nonnull %2, i32 noundef 0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @sha256_mbedtls_to_libsodium(ptr noundef %0, ptr noundef nonnull %2) #3 br label %8 8: ; preds = %1, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mbedtls_sha256_init(ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_sha256_starts_ret(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sha256_mbedtls_to_libsodium(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)"}
esp-idf_components_libsodium_port_crypto_hash_mbedtls_extr_crypto_hash_sha256_mbedtls.c_crypto_hash_sha256_init
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_chip.c___irq_set_handler.c' source_filename = "AnghaBench/linux/kernel/irq/extr_chip.c___irq_set_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @__irq_set_handler(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = call ptr @irq_get_desc_buslock(i32 noundef %0, ptr noundef nonnull %5, i32 noundef 0) #3 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = call i32 @__irq_do_set_handler(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, ptr noundef %3) #3 %10 = load i64, ptr %5, align 8, !tbaa !5 %11 = call i32 @irq_put_desc_busunlock(ptr noundef nonnull %6, i64 noundef %10) #3 br label %12 12: ; preds = %4, %8 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @irq_get_desc_buslock(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__irq_do_set_handler(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @irq_put_desc_busunlock(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_chip.c___irq_set_handler.c' source_filename = "AnghaBench/linux/kernel/irq/extr_chip.c___irq_set_handler.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 @__irq_set_handler(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = call ptr @irq_get_desc_buslock(i32 noundef %0, ptr noundef nonnull %5, i32 noundef 0) #3 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = call i32 @__irq_do_set_handler(ptr noundef nonnull %6, i32 noundef %1, i32 noundef %2, ptr noundef %3) #3 %10 = load i64, ptr %5, align 8, !tbaa !6 %11 = call i32 @irq_put_desc_busunlock(ptr noundef nonnull %6, i64 noundef %10) #3 br label %12 12: ; preds = %4, %8 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @irq_get_desc_buslock(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__irq_do_set_handler(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @irq_put_desc_busunlock(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_kernel_irq_extr_chip.c___irq_set_handler
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_fq_query_state.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_fq_query_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qbman_fq_query_np_rslt = type { i32, i32 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @QBMAN_FQ_QUERY_NP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"qbman: Query FQID %d NP fields failed, no response\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @QBMAN_RESPONSE_VERB_MASK = dso_local local_unnamed_addr global i32 0, align 4 @QBMAN_MC_RSLT_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"Query NP fields of FQID 0x%x failed, code=0x%02x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @qbman_fq_query_state(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @qbman_swp_mc_start(ptr noundef %0) #2 %5 = inttoptr i64 %4 to ptr %6 = icmp eq i64 %4, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EBUSY, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %38 10: ; preds = %3 %11 = and i32 %1, 16777215 %12 = tail call i32 @cpu_to_le32(i32 noundef %11) #2 store i32 %12, ptr %5, align 4, !tbaa !9 %13 = load i32, ptr @QBMAN_FQ_QUERY_NP, align 4, !tbaa !5 %14 = tail call ptr @qbman_swp_mc_complete(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %10 %17 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %1) #2 %18 = load i32, ptr @EIO, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %38 20: ; preds = %10 %21 = load i64, ptr %14, align 4 store i64 %21, ptr %2, align 4 %22 = trunc i64 %21 to i32 %23 = load i32, ptr @QBMAN_RESPONSE_VERB_MASK, align 4, !tbaa !5 %24 = and i32 %23, %22 %25 = load i32, ptr @QBMAN_FQ_QUERY_NP, align 4, !tbaa !5 %26 = icmp ne i32 %24, %25 %27 = zext i1 %26 to i32 %28 = tail call i32 @WARN_ON(i32 noundef %27) #2 %29 = getelementptr inbounds %struct.qbman_fq_query_np_rslt, ptr %2, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !11 %31 = load i32, ptr @QBMAN_MC_RSLT_OK, align 4, !tbaa !5 %32 = icmp eq i32 %30, %31 br i1 %32, label %38, label %33 33: ; preds = %20 %34 = load i32, ptr %5, align 4, !tbaa !9 %35 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %34, i32 noundef %30) #2 %36 = load i32, ptr @EIO, align 4, !tbaa !5 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %20, %33, %16, %7 %39 = phi i32 [ %37, %33 ], [ %19, %16 ], [ %9, %7 ], [ 0, %20 ] ret i32 %39 } declare i64 @qbman_swp_mc_start(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare ptr @qbman_swp_mc_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"qbman_fq_query_desc", !6, i64 0} !11 = !{!12, !6, i64 4} !12 = !{!"qbman_fq_query_np_rslt", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_fq_query_state.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_qbman-portal.c_qbman_fq_query_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @QBMAN_FQ_QUERY_NP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"qbman: Query FQID %d NP fields failed, no response\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @QBMAN_RESPONSE_VERB_MASK = common local_unnamed_addr global i32 0, align 4 @QBMAN_MC_RSLT_OK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"Query NP fields of FQID 0x%x failed, code=0x%02x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @qbman_fq_query_state(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @qbman_swp_mc_start(ptr noundef %0) #2 %5 = inttoptr i64 %4 to ptr %6 = icmp eq i64 %4, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EBUSY, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %38 10: ; preds = %3 %11 = and i32 %1, 16777215 %12 = tail call i32 @cpu_to_le32(i32 noundef %11) #2 store i32 %12, ptr %5, align 4, !tbaa !10 %13 = load i32, ptr @QBMAN_FQ_QUERY_NP, align 4, !tbaa !6 %14 = tail call ptr @qbman_swp_mc_complete(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %10 %17 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str, i32 noundef %1) #2 %18 = load i32, ptr @EIO, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %38 20: ; preds = %10 %21 = load i64, ptr %14, align 4 store i64 %21, ptr %2, align 4 %22 = trunc i64 %21 to i32 %23 = load i32, ptr @QBMAN_RESPONSE_VERB_MASK, align 4, !tbaa !6 %24 = and i32 %23, %22 %25 = load i32, ptr @QBMAN_FQ_QUERY_NP, align 4, !tbaa !6 %26 = icmp ne i32 %24, %25 %27 = zext i1 %26 to i32 %28 = tail call i32 @WARN_ON(i32 noundef %27) #2 %29 = getelementptr inbounds i8, ptr %2, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !12 %31 = load i32, ptr @QBMAN_MC_RSLT_OK, align 4, !tbaa !6 %32 = icmp eq i32 %30, %31 br i1 %32, label %38, label %33 33: ; preds = %20 %34 = load i32, ptr %5, align 4, !tbaa !10 %35 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %34, i32 noundef %30) #2 %36 = load i32, ptr @EIO, align 4, !tbaa !6 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %20, %33, %16, %7 %39 = phi i32 [ %37, %33 ], [ %19, %16 ], [ %9, %7 ], [ 0, %20 ] ret i32 %39 } declare i64 @qbman_swp_mc_start(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare ptr @qbman_swp_mc_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"qbman_fq_query_desc", !7, i64 0} !12 = !{!13, !7, i64 4} !13 = !{!"qbman_fq_query_np_rslt", !7, i64 0, !7, i64 4}
linux_drivers_soc_fsl_dpio_extr_qbman-portal.c_qbman_fq_query_state
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-search.c_perform_query_rate_right.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-search.c_perform_query_rate_right.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, ptr } %struct.TYPE_6__ = type { i32, i32 } @R_cnt = dso_local local_unnamed_addr global i32 0, align 4 @Q_limit = dso_local local_unnamed_addr global i32 0, align 4 @R = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @perform_query_rate_right], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @perform_query_rate_right(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %36, label %3 3: ; preds = %1, %33 %4 = phi ptr [ %34, %33 ], [ %0, %1 ] %5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 tail call void @perform_query_rate_right(ptr noundef %6) %7 = load i32, ptr @R_cnt, align 4, !tbaa !10 %8 = load i32, ptr @Q_limit, align 4, !tbaa !10 %9 = shl nsw i32 %8, 1 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %36 11: ; preds = %3 %12 = tail call i64 @user_matches(ptr noundef nonnull %4) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %11 %15 = load i32, ptr %4, align 4, !tbaa !12 %16 = load ptr, ptr @R, align 8, !tbaa !14 %17 = load i32, ptr @R_cnt, align 4, !tbaa !10 %18 = add nsw i32 %17, 1 store i32 %18, ptr @R_cnt, align 4, !tbaa !10 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 store i32 %15, ptr %20, align 4, !tbaa !10 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = ashr i32 %22, 8 %24 = load i32, ptr @R_cnt, align 4, !tbaa !10 %25 = add nsw i32 %24, 1 store i32 %25, ptr @R_cnt, align 4, !tbaa !10 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i32, ptr %16, i64 %26 store i32 %23, ptr %27, align 4, !tbaa !10 br label %28 28: ; preds = %14, %11 %29 = load i32, ptr @R_cnt, align 4, !tbaa !10 %30 = load i32, ptr @Q_limit, align 4, !tbaa !10 %31 = shl nsw i32 %30, 1 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %4, align 8, !tbaa !16 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %3 36: ; preds = %33, %3, %28, %1 ret void } declare i64 @user_matches(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0, !11, i64 4} !14 = !{!7, !7, i64 0} !15 = !{!13, !11, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-search.c_perform_query_rate_right.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-search.c_perform_query_rate_right.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_cnt = common local_unnamed_addr global i32 0, align 4 @Q_limit = common local_unnamed_addr global i32 0, align 4 @R = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @perform_query_rate_right], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @perform_query_rate_right(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %36, label %3 3: ; preds = %1, %33 %4 = phi ptr [ %34, %33 ], [ %0, %1 ] %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 tail call void @perform_query_rate_right(ptr noundef %6) %7 = load i32, ptr @R_cnt, align 4, !tbaa !11 %8 = load i32, ptr @Q_limit, align 4, !tbaa !11 %9 = shl nsw i32 %8, 1 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %36 11: ; preds = %3 %12 = tail call i64 @user_matches(ptr noundef nonnull %4) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %11 %15 = load i32, ptr %4, align 4, !tbaa !13 %16 = load ptr, ptr @R, align 8, !tbaa !15 %17 = load i32, ptr @R_cnt, align 4, !tbaa !11 %18 = add nsw i32 %17, 1 store i32 %18, ptr @R_cnt, align 4, !tbaa !11 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 store i32 %15, ptr %20, align 4, !tbaa !11 %21 = getelementptr inbounds i8, ptr %4, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = ashr i32 %22, 8 %24 = load i32, ptr @R_cnt, align 4, !tbaa !11 %25 = add nsw i32 %24, 1 store i32 %25, ptr @R_cnt, align 4, !tbaa !11 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i32, ptr %16, i64 %26 store i32 %23, ptr %27, align 4, !tbaa !11 br label %28 28: ; preds = %14, %11 %29 = load i32, ptr @R_cnt, align 4, !tbaa !11 %30 = load i32, ptr @Q_limit, align 4, !tbaa !11 %31 = shl nsw i32 %30, 1 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %4, align 8, !tbaa !17 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %3 36: ; preds = %33, %3, %28, %1 ret void } declare i64 @user_matches(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_6__", !12, i64 0, !12, i64 4} !15 = !{!8, !8, i64 0} !16 = !{!14, !12, i64 4} !17 = !{!7, !8, i64 0}
kphp-kdb_targ_extr_targ-search.c_perform_query_rate_right
; ModuleID = 'AnghaBench/h2o/deps/brotli/c/enc/extr_encode.c_WrapPosition.c' source_filename = "AnghaBench/h2o/deps/brotli/c/enc/extr_encode.c_WrapPosition.c" target datalayout = "e-m:e-p270:32:32-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 @WrapPosition], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @WrapPosition(i32 noundef returned %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/h2o/deps/brotli/c/enc/extr_encode.c_WrapPosition.c' source_filename = "AnghaBench/h2o/deps/brotli/c/enc/extr_encode.c_WrapPosition.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 @WrapPosition], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @WrapPosition(i32 noundef returned %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)"}
h2o_deps_brotli_c_enc_extr_encode.c_WrapPosition
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_vfe8x.c_vfe_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_vfe8x.c_vfe_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" @vfe_syncdata = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vfe_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vfe_init(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @vfe_syncdata, align 4, !tbaa !5 %4 = tail call i32 @vfe_cmd_init(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @msm_camio_enable(ptr noundef %1) #2 br label %8 8: ; preds = %2, %6 %9 = phi i32 [ %7, %6 ], [ %4, %2 ] ret i32 %9 } declare i32 @vfe_cmd_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msm_camio_enable(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_vfe8x.c_vfe_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_vfe8x.c_vfe_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vfe_syncdata = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vfe_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vfe_init(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @vfe_syncdata, align 4, !tbaa !6 %4 = tail call i32 @vfe_cmd_init(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @msm_camio_enable(ptr noundef %1) #2 br label %8 8: ; preds = %2, %6 %9 = phi i32 [ %7, %6 ], [ %4, %2 ] ret i32 %9 } declare i32 @vfe_cmd_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msm_camio_enable(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_staging_dream_camera_extr_msm_vfe8x.c_vfe_init
; ModuleID = 'AnghaBench/linux/mm/extr_page-writeback.c_redirty_page_for_writepage.c' source_filename = "AnghaBench/linux/mm/extr_page-writeback.c_redirty_page_for_writepage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @redirty_page_for_writepage(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @__set_page_dirty_nobuffers(ptr noundef %1) #2 %6 = tail call i32 @account_page_redirty(ptr noundef %1) #2 ret i32 %5 } declare i32 @__set_page_dirty_nobuffers(ptr noundef) local_unnamed_addr #1 declare i32 @account_page_redirty(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 = !{!"writeback_control", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/mm/extr_page-writeback.c_redirty_page_for_writepage.c' source_filename = "AnghaBench/linux/mm/extr_page-writeback.c_redirty_page_for_writepage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @redirty_page_for_writepage(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @__set_page_dirty_nobuffers(ptr noundef %1) #2 %6 = tail call i32 @account_page_redirty(ptr noundef %1) #2 ret i32 %5 } declare i32 @__set_page_dirty_nobuffers(ptr noundef) local_unnamed_addr #1 declare i32 @account_page_redirty(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 = !{!"writeback_control", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_mm_extr_page-writeback.c_redirty_page_for_writepage
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_http.c_bind_socket.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_http.c_bind_socket.c" target datalayout = "e-m:e-p270:32:32-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 @bind_socket], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bind_socket(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null %5 = icmp eq i64 %1, 0 %6 = and i1 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @bind_socket_ai(ptr noundef null, i32 noundef 0) #2 br label %15 9: ; preds = %3 %10 = tail call ptr @make_addrinfo(ptr noundef %0, i64 noundef %1) #2 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %9 %13 = tail call i32 @bind_socket_ai(ptr noundef nonnull %10, i32 noundef %2) #2 %14 = tail call i32 @evutil_freeaddrinfo(ptr noundef nonnull %10) #2 br label %15 15: ; preds = %9, %12, %7 %16 = phi i32 [ %8, %7 ], [ %13, %12 ], [ -1, %9 ] ret i32 %16 } declare i32 @bind_socket_ai(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @make_addrinfo(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @evutil_freeaddrinfo(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/libevent/extr_http.c_bind_socket.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_http.c_bind_socket.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 @bind_socket], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bind_socket(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null %5 = icmp eq i64 %1, 0 %6 = and i1 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @bind_socket_ai(ptr noundef null, i32 noundef 0) #2 br label %15 9: ; preds = %3 %10 = tail call ptr @make_addrinfo(ptr noundef %0, i64 noundef %1) #2 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %9 %13 = tail call i32 @bind_socket_ai(ptr noundef nonnull %10, i32 noundef %2) #2 %14 = tail call i32 @evutil_freeaddrinfo(ptr noundef nonnull %10) #2 br label %15 15: ; preds = %9, %12, %7 %16 = phi i32 [ %8, %7 ], [ %13, %12 ], [ -1, %9 ] ret i32 %16 } declare i32 @bind_socket_ai(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @make_addrinfo(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @evutil_freeaddrinfo(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_libevent_extr_http.c_bind_socket
; ModuleID = 'AnghaBench/openssl/test/extr_asn1_encode_test.c_setup_tests.c' source_filename = "AnghaBench/openssl/test/extr_asn1_encode_test.c_setup_tests.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @test_long_32bit = dso_local local_unnamed_addr global i32 0, align 4 @test_long_64bit = dso_local local_unnamed_addr global i32 0, align 4 @test_int32 = dso_local local_unnamed_addr global i32 0, align 4 @test_uint32 = dso_local local_unnamed_addr global i32 0, align 4 @test_int64 = dso_local local_unnamed_addr global i32 0, align 4 @test_uint64 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @setup_tests() local_unnamed_addr #0 { %1 = load i32, ptr @test_long_32bit, align 4, !tbaa !5 %2 = tail call i32 @ADD_TEST(i32 noundef %1) #2 %3 = load i32, ptr @test_long_64bit, align 4, !tbaa !5 %4 = tail call i32 @ADD_TEST(i32 noundef %3) #2 %5 = load i32, ptr @test_int32, align 4, !tbaa !5 %6 = tail call i32 @ADD_TEST(i32 noundef %5) #2 %7 = load i32, ptr @test_uint32, align 4, !tbaa !5 %8 = tail call i32 @ADD_TEST(i32 noundef %7) #2 %9 = load i32, ptr @test_int64, align 4, !tbaa !5 %10 = tail call i32 @ADD_TEST(i32 noundef %9) #2 %11 = load i32, ptr @test_uint64, align 4, !tbaa !5 %12 = tail call i32 @ADD_TEST(i32 noundef %11) #2 ret i32 1 } declare i32 @ADD_TEST(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/openssl/test/extr_asn1_encode_test.c_setup_tests.c' source_filename = "AnghaBench/openssl/test/extr_asn1_encode_test.c_setup_tests.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @test_long_32bit = common local_unnamed_addr global i32 0, align 4 @test_long_64bit = common local_unnamed_addr global i32 0, align 4 @test_int32 = common local_unnamed_addr global i32 0, align 4 @test_uint32 = common local_unnamed_addr global i32 0, align 4 @test_int64 = common local_unnamed_addr global i32 0, align 4 @test_uint64 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @setup_tests() local_unnamed_addr #0 { %1 = load i32, ptr @test_long_32bit, align 4, !tbaa !6 %2 = tail call i32 @ADD_TEST(i32 noundef %1) #2 %3 = load i32, ptr @test_long_64bit, align 4, !tbaa !6 %4 = tail call i32 @ADD_TEST(i32 noundef %3) #2 %5 = load i32, ptr @test_int32, align 4, !tbaa !6 %6 = tail call i32 @ADD_TEST(i32 noundef %5) #2 %7 = load i32, ptr @test_uint32, align 4, !tbaa !6 %8 = tail call i32 @ADD_TEST(i32 noundef %7) #2 %9 = load i32, ptr @test_int64, align 4, !tbaa !6 %10 = tail call i32 @ADD_TEST(i32 noundef %9) #2 %11 = load i32, ptr @test_uint64, align 4, !tbaa !6 %12 = tail call i32 @ADD_TEST(i32 noundef %11) #2 ret i32 1 } declare i32 @ADD_TEST(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"}
openssl_test_extr_asn1_encode_test.c_setup_tests
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_RB_STENCIL_CONTROL_ZFAIL_BF.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_RB_STENCIL_CONTROL_ZFAIL_BF.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF(i32 noundef %0) #0 { %2 = load i32, ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_RB_STENCIL_CONTROL_ZFAIL_BF.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_RB_STENCIL_CONTROL_ZFAIL_BF.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT = common local_unnamed_addr global i32 0, align 4 @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF(i32 noundef %0) #0 { %2 = load i32, ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A4XX_RB_STENCIL_CONTROL_ZFAIL_BF__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a4xx.xml.h_A4XX_RB_STENCIL_CONTROL_ZFAIL_BF
; ModuleID = 'AnghaBench/linux/drivers/parport/extr_ieee1284_ops.c_parport_ieee1284_epp_read_data.c' source_filename = "AnghaBench/linux/drivers/parport/extr_ieee1284_ops.c_parport_ieee1284_epp_read_data.c" target datalayout = "e-m:e-p270:32:32-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 } @PARPORT_CONTROL_STROBE = dso_local local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_AUTOFD = dso_local local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_SELECT = dso_local local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_INIT = dso_local local_unnamed_addr global i32 0, align 4 @PARPORT_STATUS_BUSY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @parport_ieee1284_epp_read_data(ptr noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @PARPORT_CONTROL_STROBE, align 4, !tbaa !5 %6 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !5 %7 = or i32 %6, %5 %8 = load i32, ptr @PARPORT_CONTROL_SELECT, align 4, !tbaa !5 %9 = or i32 %7, %8 %10 = load i32, ptr @PARPORT_CONTROL_INIT, align 4, !tbaa !5 %11 = or i32 %9, %10 %12 = tail call i32 @parport_frob_control(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2 %13 = load ptr, ptr %0, align 8, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = tail call i32 %15(ptr noundef nonnull %0) #2 %17 = icmp eq i64 %2, 0 br i1 %17, label %44, label %18 18: ; preds = %4 %19 = trunc i64 %2 to i32 br label %20 20: ; preds = %18, %36 %21 = phi i32 [ %37, %36 ], [ 0, %18 ] %22 = phi ptr [ %39, %36 ], [ %1, %18 ] %23 = phi i64 [ %38, %36 ], [ %2, %18 ] %24 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !5 %25 = tail call i32 @parport_frob_control(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %24) #2 %26 = load i32, ptr @PARPORT_STATUS_BUSY, align 4, !tbaa !5 %27 = tail call i64 @parport_wait_peripheral(ptr noundef nonnull %0, i32 noundef %26, i32 noundef 0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %41 29: ; preds = %20 %30 = tail call zeroext i8 @parport_read_data(ptr noundef nonnull %0) #2 store i8 %30, ptr %22, align 1, !tbaa !14 %31 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !5 %32 = tail call i32 @parport_frob_control(ptr noundef nonnull %0, i32 noundef %31, i32 noundef 0) #2 %33 = load i32, ptr @PARPORT_STATUS_BUSY, align 4, !tbaa !5 %34 = tail call i64 @parport_poll_peripheral(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %33, i32 noundef 5) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %29 %37 = add i32 %21, 1 %38 = add i64 %23, -1 %39 = getelementptr inbounds i8, ptr %22, i64 1 %40 = icmp eq i64 %38, 0 br i1 %40, label %41, label %20, !llvm.loop !15 41: ; preds = %29, %20, %36 %42 = phi i32 [ %19, %36 ], [ %21, %20 ], [ %21, %29 ] %43 = zext i32 %42 to i64 br label %44 44: ; preds = %41, %4 %45 = phi i64 [ 0, %4 ], [ %43, %41 ] %46 = load ptr, ptr %0, align 8, !tbaa !9 %47 = load ptr, ptr %46, align 8, !tbaa !17 %48 = tail call i32 %47(ptr noundef nonnull %0) #2 ret i64 %45 } declare i32 @parport_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parport_wait_peripheral(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare zeroext i8 @parport_read_data(ptr noundef) local_unnamed_addr #1 declare i64 @parport_poll_peripheral(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"parport", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!13, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/parport/extr_ieee1284_ops.c_parport_ieee1284_epp_read_data.c' source_filename = "AnghaBench/linux/drivers/parport/extr_ieee1284_ops.c_parport_ieee1284_epp_read_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PARPORT_CONTROL_STROBE = common local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_AUTOFD = common local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_SELECT = common local_unnamed_addr global i32 0, align 4 @PARPORT_CONTROL_INIT = common local_unnamed_addr global i32 0, align 4 @PARPORT_STATUS_BUSY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i64 0, 4294967296) i64 @parport_ieee1284_epp_read_data(ptr noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @PARPORT_CONTROL_STROBE, align 4, !tbaa !6 %6 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !6 %7 = or i32 %6, %5 %8 = load i32, ptr @PARPORT_CONTROL_SELECT, align 4, !tbaa !6 %9 = or i32 %7, %8 %10 = load i32, ptr @PARPORT_CONTROL_INIT, align 4, !tbaa !6 %11 = or i32 %9, %10 %12 = tail call i32 @parport_frob_control(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2 %13 = load ptr, ptr %0, align 8, !tbaa !10 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = tail call i32 %15(ptr noundef nonnull %0) #2 %17 = icmp eq i64 %2, 0 br i1 %17, label %44, label %18 18: ; preds = %4 %19 = trunc i64 %2 to i32 br label %20 20: ; preds = %18, %36 %21 = phi i32 [ %37, %36 ], [ 0, %18 ] %22 = phi ptr [ %39, %36 ], [ %1, %18 ] %23 = phi i64 [ %38, %36 ], [ %2, %18 ] %24 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !6 %25 = tail call i32 @parport_frob_control(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %24) #2 %26 = load i32, ptr @PARPORT_STATUS_BUSY, align 4, !tbaa !6 %27 = tail call i64 @parport_wait_peripheral(ptr noundef nonnull %0, i32 noundef %26, i32 noundef 0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %41 29: ; preds = %20 %30 = tail call zeroext i8 @parport_read_data(ptr noundef nonnull %0) #2 store i8 %30, ptr %22, align 1, !tbaa !15 %31 = load i32, ptr @PARPORT_CONTROL_AUTOFD, align 4, !tbaa !6 %32 = tail call i32 @parport_frob_control(ptr noundef nonnull %0, i32 noundef %31, i32 noundef 0) #2 %33 = load i32, ptr @PARPORT_STATUS_BUSY, align 4, !tbaa !6 %34 = tail call i64 @parport_poll_peripheral(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %33, i32 noundef 5) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %29 %37 = add i32 %21, 1 %38 = add i64 %23, -1 %39 = getelementptr inbounds i8, ptr %22, i64 1 %40 = icmp eq i64 %38, 0 br i1 %40, label %41, label %20, !llvm.loop !16 41: ; preds = %29, %20, %36 %42 = phi i32 [ %19, %36 ], [ %21, %20 ], [ %21, %29 ] %43 = zext i32 %42 to i64 br label %44 44: ; preds = %41, %4 %45 = phi i64 [ 0, %4 ], [ %43, %41 ] %46 = load ptr, ptr %0, align 8, !tbaa !10 %47 = load ptr, ptr %46, align 8, !tbaa !18 %48 = tail call i32 %47(ptr noundef nonnull %0) #2 ret i64 %45 } declare i32 @parport_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parport_wait_peripheral(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare zeroext i8 @parport_read_data(ptr noundef) local_unnamed_addr #1 declare i64 @parport_poll_peripheral(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"parport", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!14, !12, i64 0}
linux_drivers_parport_extr_ieee1284_ops.c_parport_ieee1284_epp_read_data
; ModuleID = 'AnghaBench/radare2/libr/lang/extr_prust.c_lang_rust_init.c' source_filename = "AnghaBench/radare2/libr/lang/extr_prust.c_lang_rust_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @lang_rust_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @lang_rust_init(ptr nocapture readnone %0) #0 { ret i32 1 } 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/radare2/libr/lang/extr_prust.c_lang_rust_init.c' source_filename = "AnghaBench/radare2/libr/lang/extr_prust.c_lang_rust_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @lang_rust_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @lang_rust_init(ptr nocapture readnone %0) #0 { ret i32 1 } 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)"}
radare2_libr_lang_extr_prust.c_lang_rust_init
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dcompiler_43/extr_bytecodewriter.c_add_constB.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3dcompiler_43/extr_bytecodewriter.c_add_constB.c" target datalayout = "e-m:e-p270:32:32-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.bwriter_shader = type { i32, ptr } %struct.constant = type { ptr, i32 } @.str = private unnamed_addr constant [36 x i8] c"Failed to grow the constants array\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"Failed to allocate the constants array\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Failed to allocate a new constant\0A\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @add_constB(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.bwriter_shader, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = shl i32 %4, 3 %10 = add i32 %9, 8 %11 = tail call ptr @d3dcompiler_realloc(ptr noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %6 %14 = tail call i32 @ERR(ptr noundef nonnull @.str) #2 br label %36 15: ; preds = %6 store ptr %11, ptr %7, align 8, !tbaa !11 br label %22 16: ; preds = %3 %17 = tail call ptr @d3dcompiler_alloc(i32 noundef 8) #2 %18 = getelementptr inbounds %struct.bwriter_shader, ptr %0, i64 0, i32 1 store ptr %17, ptr %18, align 8, !tbaa !11 %19 = icmp eq ptr %17, null br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2 br label %36 22: ; preds = %15, %16 %23 = tail call ptr @d3dcompiler_alloc(i32 noundef 16) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %22 %26 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2 br label %36 27: ; preds = %22 %28 = getelementptr inbounds %struct.constant, ptr %23, i64 0, i32 1 store i32 %1, ptr %28, align 8, !tbaa !12 %29 = load ptr, ptr %23, align 8, !tbaa !14 store i32 %2, ptr %29, align 4, !tbaa !15 %30 = getelementptr inbounds %struct.bwriter_shader, ptr %0, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !11 %32 = load i32, ptr %0, align 8, !tbaa !5 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 store ptr %23, ptr %34, align 8, !tbaa !17 %35 = add nsw i32 %32, 1 store i32 %35, ptr %0, align 8, !tbaa !5 br label %36 36: ; preds = %13, %27, %25, %20 %37 = phi ptr [ @TRUE, %27 ], [ @FALSE, %25 ], [ @FALSE, %20 ], [ @FALSE, %13 ] %38 = load i32, ptr %37, align 4, !tbaa !18 ret i32 %38 } declare ptr @d3dcompiler_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef) local_unnamed_addr #1 declare ptr @d3dcompiler_alloc(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 = !{!"bwriter_shader", !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 8} !13 = !{!"constant", !10, i64 0, !7, i64 8} !14 = !{!13, !10, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0} !17 = !{!10, !10, i64 0} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dcompiler_43/extr_bytecodewriter.c_add_constB.c' source_filename = "AnghaBench/reactos/dll/directx/wine/d3dcompiler_43/extr_bytecodewriter.c_add_constB.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [36 x i8] c"Failed to grow the constants array\0A\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"Failed to allocate the constants array\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Failed to allocate a new constant\0A\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @add_constB(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = shl i32 %4, 3 %10 = add i32 %9, 8 %11 = tail call ptr @d3dcompiler_realloc(ptr noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %6 %14 = tail call i32 @ERR(ptr noundef nonnull @.str) #2 br label %36 15: ; preds = %6 store ptr %11, ptr %7, align 8, !tbaa !12 br label %22 16: ; preds = %3 %17 = tail call ptr @d3dcompiler_alloc(i32 noundef 8) #2 %18 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %17, ptr %18, align 8, !tbaa !12 %19 = icmp eq ptr %17, null br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2 br label %36 22: ; preds = %15, %16 %23 = tail call ptr @d3dcompiler_alloc(i32 noundef 16) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %22 %26 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2 br label %36 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 8 store i32 %1, ptr %28, align 8, !tbaa !13 %29 = load ptr, ptr %23, align 8, !tbaa !15 store i32 %2, ptr %29, align 4, !tbaa !16 %30 = getelementptr inbounds i8, ptr %0, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !12 %32 = load i32, ptr %0, align 8, !tbaa !6 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 store ptr %23, ptr %34, align 8, !tbaa !18 %35 = add nsw i32 %32, 1 store i32 %35, ptr %0, align 8, !tbaa !6 br label %36 36: ; preds = %13, %27, %25, %20 %37 = phi ptr [ @TRUE, %27 ], [ @FALSE, %25 ], [ @FALSE, %20 ], [ @FALSE, %13 ] %38 = load i32, ptr %37, align 4, !tbaa !19 ret i32 %38 } declare ptr @d3dcompiler_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef) local_unnamed_addr #1 declare ptr @d3dcompiler_alloc(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 = !{!"bwriter_shader", !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 8} !14 = !{!"constant", !11, i64 0, !8, i64 8} !15 = !{!14, !11, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_2__", !8, i64 0} !18 = !{!11, !11, i64 0} !19 = !{!8, !8, i64 0}
reactos_dll_directx_wine_d3dcompiler_43_extr_bytecodewriter.c_add_constB
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_thread-stack.c_thread_stack__pop_cp.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_thread-stack.c_thread_stack__pop_cp.c" target datalayout = "e-m:e-p270:32:32-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.thread_stack = type { i32, ptr } %struct.thread_stack_entry = type { i64, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @thread_stack__pop_cp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @thread_stack__pop_cp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef readnone %5) #0 { %7 = load i32, ptr %1, align 8, !tbaa !5 switch i32 %7, label %8 [ i32 0, label %59 i32 1, label %11 ] 8: ; preds = %6 %9 = getelementptr inbounds %struct.thread_stack, ptr %1, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !11 br label %18 11: ; preds = %6 %12 = getelementptr inbounds %struct.thread_stack, ptr %1, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = getelementptr inbounds %struct.thread_stack_entry, ptr %13, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = icmp eq ptr %16, %5 br i1 %17, label %56, label %18 18: ; preds = %8, %11 %19 = phi ptr [ %10, %8 ], [ %13, %11 ] %20 = sext i32 %7 to i64 %21 = getelementptr %struct.thread_stack_entry, ptr %19, i64 %20 %22 = getelementptr %struct.thread_stack_entry, ptr %21, i64 -1 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = icmp eq i64 %23, %2 br i1 %24, label %25, label %31 25: ; preds = %18 %26 = getelementptr %struct.thread_stack_entry, ptr %21, i64 -1, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = add nsw i32 %7, -1 br label %56 31: ; preds = %25, %18 %32 = add nsw i32 %7, -1 %33 = icmp eq i32 %32, 0 br i1 %33, label %59, label %34 34: ; preds = %31 %35 = sext i32 %32 to i64 br label %36 36: ; preds = %34, %46 %37 = phi i64 [ %38, %46 ], [ %35, %34 ] %38 = add i64 %37, -1 %39 = getelementptr inbounds %struct.thread_stack_entry, ptr %19, i64 %38 %40 = load i64, ptr %39, align 8, !tbaa !17 %41 = icmp eq i64 %40, %2 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = getelementptr inbounds %struct.thread_stack_entry, ptr %19, i64 %38, i32 1 %44 = load i64, ptr %43, align 8, !tbaa !18 %45 = icmp eq i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42, %36 %47 = icmp eq i64 %38, 0 br i1 %47, label %59, label %36, !llvm.loop !19 48: ; preds = %42, %53 %49 = load i32, ptr %1, align 8, !tbaa !5 %50 = sext i32 %49 to i64 %51 = icmp ult i64 %37, %50 %52 = add nsw i32 %49, -1 br i1 %51, label %53, label %56 53: ; preds = %48 store i32 %52, ptr %1, align 8, !tbaa !5 %54 = tail call i32 @thread_stack__call_return(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %52, i64 noundef %3, i64 noundef %4, i32 noundef 1) #2 %55 = icmp eq i32 %54, 0 br i1 %55, label %48, label %59, !llvm.loop !21 56: ; preds = %48, %11, %29 %57 = phi i32 [ %30, %29 ], [ 0, %11 ], [ %52, %48 ] store i32 %57, ptr %1, align 8, !tbaa !5 %58 = tail call i32 @thread_stack__call_return(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %57, i64 noundef %3, i64 noundef %4, i32 noundef 0) #2 br label %59 59: ; preds = %46, %53, %56, %31, %6 %60 = phi i32 [ 1, %6 ], [ 1, %31 ], [ %58, %56 ], [ %54, %53 ], [ 1, %46 ] ret i32 %60 } declare i32 @thread_stack__call_return(ptr noundef, ptr noundef, i32 noundef, i64 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 0} !6 = !{!"thread_stack", !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, !10, i64 16} !13 = !{!"thread_stack_entry", !14, i64 0, !14, i64 8, !10, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_2__", !10, i64 0} !17 = !{!13, !14, i64 0} !18 = !{!13, !14, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_thread-stack.c_thread_stack__pop_cp.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_thread-stack.c_thread_stack__pop_cp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.thread_stack_entry = type { i64, i64, ptr } @llvm.used = appending global [1 x ptr] [ptr @thread_stack__pop_cp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @thread_stack__pop_cp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef readnone %5) #0 { %7 = load i32, ptr %1, align 8, !tbaa !6 switch i32 %7, label %8 [ i32 0, label %59 i32 1, label %11 ] 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !12 br label %18 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %13, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = icmp eq ptr %16, %5 br i1 %17, label %56, label %18 18: ; preds = %8, %11 %19 = phi ptr [ %10, %8 ], [ %13, %11 ] %20 = sext i32 %7 to i64 %21 = getelementptr %struct.thread_stack_entry, ptr %19, i64 %20 %22 = getelementptr i8, ptr %21, i64 -24 %23 = load i64, ptr %22, align 8, !tbaa !18 %24 = icmp eq i64 %23, %2 br i1 %24, label %25, label %31 25: ; preds = %18 %26 = getelementptr i8, ptr %21, i64 -16 %27 = load i64, ptr %26, align 8, !tbaa !19 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = add nsw i32 %7, -1 br label %56 31: ; preds = %25, %18 %32 = add nsw i32 %7, -1 %33 = icmp eq i32 %32, 0 br i1 %33, label %59, label %34 34: ; preds = %31 %35 = sext i32 %32 to i64 br label %36 36: ; preds = %34, %46 %37 = phi i64 [ %38, %46 ], [ %35, %34 ] %38 = add i64 %37, -1 %39 = getelementptr inbounds %struct.thread_stack_entry, ptr %19, i64 %38 %40 = load i64, ptr %39, align 8, !tbaa !18 %41 = icmp eq i64 %40, %2 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = getelementptr inbounds i8, ptr %39, i64 8 %44 = load i64, ptr %43, align 8, !tbaa !19 %45 = icmp eq i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42, %36 %47 = icmp eq i64 %38, 0 br i1 %47, label %59, label %36, !llvm.loop !20 48: ; preds = %42, %53 %49 = load i32, ptr %1, align 8, !tbaa !6 %50 = sext i32 %49 to i64 %51 = icmp ult i64 %37, %50 %52 = add nsw i32 %49, -1 br i1 %51, label %53, label %56 53: ; preds = %48 store i32 %52, ptr %1, align 8, !tbaa !6 %54 = tail call i32 @thread_stack__call_return(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %52, i64 noundef %3, i64 noundef %4, i32 noundef 1) #2 %55 = icmp eq i32 %54, 0 br i1 %55, label %48, label %59, !llvm.loop !22 56: ; preds = %48, %11, %29 %57 = phi i32 [ %30, %29 ], [ 0, %11 ], [ %52, %48 ] store i32 %57, ptr %1, align 8, !tbaa !6 %58 = tail call i32 @thread_stack__call_return(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %57, i64 noundef %3, i64 noundef %4, i32 noundef 0) #2 br label %59 59: ; preds = %46, %53, %56, %31, %6 %60 = phi i32 [ 1, %6 ], [ 1, %31 ], [ %58, %56 ], [ %54, %53 ], [ 1, %46 ] ret i32 %60 } declare i32 @thread_stack__call_return(ptr noundef, ptr noundef, i32 noundef, i64 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 0} !7 = !{!"thread_stack", !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, !11, i64 16} !14 = !{!"thread_stack_entry", !15, i64 0, !15, i64 8, !11, i64 16} !15 = !{!"long", !9, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_2__", !11, i64 0} !18 = !{!14, !15, i64 0} !19 = !{!14, !15, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21}
linux_tools_perf_util_extr_thread-stack.c_thread_stack__pop_cp
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_generic-adc-battery.c_gab_charged.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_generic-adc-battery.c_gab_charged.c" target datalayout = "e-m:e-p270:32:32-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.gab = type { i32, ptr } @JITTER_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gab_charged], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gab_charged(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.gab, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @JITTER_DEFAULT, align 4 %8 = select i1 %6, i32 %7, i32 %5 %9 = tail call i32 @msecs_to_jiffies(i32 noundef %8) #2 %10 = tail call i32 @schedule_delayed_work(ptr noundef %1, i32 noundef %9) #2 %11 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !13 ret i32 %11 } declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(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 = !{!"gab", !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 = !{!"gab_platform_data", !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_generic-adc-battery.c_gab_charged.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_generic-adc-battery.c_gab_charged.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JITTER_DEFAULT = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gab_charged], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gab_charged(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @JITTER_DEFAULT, align 4 %8 = select i1 %6, i32 %7, i32 %5 %9 = tail call i32 @msecs_to_jiffies(i32 noundef %8) #2 %10 = tail call i32 @schedule_delayed_work(ptr noundef %1, i32 noundef %9) #2 %11 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !14 ret i32 %11 } declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(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 = !{!"gab", !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 = !{!"gab_platform_data", !8, i64 0} !14 = !{!8, !8, i64 0}
linux_drivers_power_supply_extr_generic-adc-battery.c_gab_charged
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_X509CRL.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_X509CRL.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PEM_STRING_X509_CRL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @try_decode_X509CRL], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @try_decode_X509CRL(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3, ptr nocapture readnone %4, ptr nocapture noundef writeonly %5, ptr nocapture readnone %6, ptr nocapture readnone %7) #0 { %9 = alloca ptr, align 8 store ptr %2, ptr %9, align 8, !tbaa !5 %10 = icmp eq ptr %0, null br i1 %10, label %16, label %11 11: ; preds = %8 %12 = load i32, ptr @PEM_STRING_X509_CRL, align 4, !tbaa !9 %13 = tail call i64 @strcmp(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 store i32 1, ptr %5, align 4, !tbaa !9 br label %16 16: ; preds = %15, %8 %17 = call ptr @d2i_X509_CRL(ptr noundef null, ptr noundef nonnull %9, i64 noundef %3) #2 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16 store i32 1, ptr %5, align 4, !tbaa !9 %20 = call ptr @OSSL_STORE_INFO_new_CRL(ptr noundef nonnull %17) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %16, %19 %23 = call i32 @X509_CRL_free(ptr noundef %17) #2 br label %24 24: ; preds = %19, %22, %11 %25 = phi ptr [ null, %11 ], [ null, %22 ], [ %20, %19 ] ret ptr %25 } declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @d2i_X509_CRL(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @OSSL_STORE_INFO_new_CRL(ptr noundef) local_unnamed_addr #1 declare i32 @X509_CRL_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_X509CRL.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_X509CRL.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PEM_STRING_X509_CRL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @try_decode_X509CRL], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @try_decode_X509CRL(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3, ptr nocapture readnone %4, ptr nocapture noundef writeonly %5, ptr nocapture readnone %6, ptr nocapture readnone %7) #0 { %9 = alloca ptr, align 8 store ptr %2, ptr %9, align 8, !tbaa !6 %10 = icmp eq ptr %0, null br i1 %10, label %16, label %11 11: ; preds = %8 %12 = load i32, ptr @PEM_STRING_X509_CRL, align 4, !tbaa !10 %13 = tail call i64 @strcmp(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 store i32 1, ptr %5, align 4, !tbaa !10 br label %16 16: ; preds = %15, %8 %17 = call ptr @d2i_X509_CRL(ptr noundef null, ptr noundef nonnull %9, i64 noundef %3) #2 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16 store i32 1, ptr %5, align 4, !tbaa !10 %20 = call ptr @OSSL_STORE_INFO_new_CRL(ptr noundef nonnull %17) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %16, %19 %23 = call i32 @X509_CRL_free(ptr noundef %17) #2 br label %24 24: ; preds = %19, %22, %11 %25 = phi ptr [ null, %11 ], [ null, %22 ], [ %20, %19 ] ret ptr %25 } declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @d2i_X509_CRL(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @OSSL_STORE_INFO_new_CRL(ptr noundef) local_unnamed_addr #1 declare i32 @X509_CRL_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_crypto_openssl_crypto_store_extr_loader_file.c_try_decode_X509CRL
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_unset_inherit_on_fork.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_unset_inherit_on_fork.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PR_FORK = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_RESET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @proc_unset_inherit_on_fork(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PR_FORK, align 4, !tbaa !5 %3 = load i32, ptr @FLAG_RESET, align 4, !tbaa !5 %4 = tail call i32 @proc_modify_flag(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @proc_modify_flag(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_unset_inherit_on_fork.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_procfs.c_proc_unset_inherit_on_fork.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PR_FORK = common local_unnamed_addr global i32 0, align 4 @FLAG_RESET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @proc_unset_inherit_on_fork(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PR_FORK, align 4, !tbaa !6 %3 = load i32, ptr @FLAG_RESET, align 4, !tbaa !6 %4 = tail call i32 @proc_modify_flag(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @proc_modify_flag(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gdb_gdb_extr_procfs.c_proc_unset_inherit_on_fork
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-wiimote-modules.c_wiimod_builtin_mp_probe.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-wiimote-modules.c_wiimod_builtin_mp_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @WIIPROTO_FLAG_BUILTIN_MP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wiimod_builtin_mp_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @wiimod_builtin_mp_probe(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %1, i64 noundef undef) #2 %4 = load i32, ptr @WIIPROTO_FLAG_BUILTIN_MP, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = or i32 %6, %4 store i32 %7, ptr %5, align 4, !tbaa !9 %8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %1, i64 noundef undef) #2 ret i32 0 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"wiimote_data", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-wiimote-modules.c_wiimod_builtin_mp_probe.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-wiimote-modules.c_wiimod_builtin_mp_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WIIPROTO_FLAG_BUILTIN_MP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wiimod_builtin_mp_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @wiimod_builtin_mp_probe(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %1, i64 noundef undef) #2 %4 = load i32, ptr @WIIPROTO_FLAG_BUILTIN_MP, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = or i32 %6, %4 store i32 %7, ptr %5, align 4, !tbaa !10 %8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %1, i64 noundef undef) #2 ret i32 0 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"wiimote_data", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
linux_drivers_hid_extr_hid-wiimote-modules.c_wiimod_builtin_mp_probe
; ModuleID = 'AnghaBench/linux/sound/soc/generic/extr_audio-graph-card.c_graph_get_dais_count.c' source_filename = "AnghaBench/linux/sound/soc/generic/extr_audio-graph-card.c_graph_get_dais_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.link_info = type { i32, i32, i32 } @graph_count_noml = dso_local local_unnamed_addr global i32 0, align 4 @graph_count_dpcm = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"link %d, dais %d, ccnf %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @graph_get_dais_count], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @graph_get_dais_count(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @simple_priv_to_dev(ptr noundef %0) #2 %4 = load i32, ptr @graph_count_noml, align 4, !tbaa !5 %5 = load i32, ptr @graph_count_dpcm, align 4, !tbaa !5 %6 = tail call i32 @graph_for_each_link(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %5) #2 %7 = getelementptr inbounds %struct.link_info, ptr %1, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = getelementptr inbounds %struct.link_info, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = load i32, ptr %1, align 4, !tbaa !12 %12 = tail call i32 @dev_dbg(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %10, i32 noundef %11) #2 ret void } declare ptr @simple_priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @graph_for_each_link(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"link_info", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/generic/extr_audio-graph-card.c_graph_get_dais_count.c' source_filename = "AnghaBench/linux/sound/soc/generic/extr_audio-graph-card.c_graph_get_dais_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @graph_count_noml = common local_unnamed_addr global i32 0, align 4 @graph_count_dpcm = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"link %d, dais %d, ccnf %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @graph_get_dais_count], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @graph_get_dais_count(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @simple_priv_to_dev(ptr noundef %0) #2 %4 = load i32, ptr @graph_count_noml, align 4, !tbaa !6 %5 = load i32, ptr @graph_count_dpcm, align 4, !tbaa !6 %6 = tail call i32 @graph_for_each_link(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = load i32, ptr %1, align 4, !tbaa !13 %12 = tail call i32 @dev_dbg(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %10, i32 noundef %11) #2 ret void } declare ptr @simple_priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @graph_for_each_link(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"link_info", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 0}
linux_sound_soc_generic_extr_audio-graph-card.c_graph_get_dais_count
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_build_hdr_descs_arr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_build_hdr_descs_arr.c" target datalayout = "e-m:e-p270:32:32-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.ibmvnic_tx_buff = type { i64, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @build_hdr_descs_arr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @build_hdr_descs_arr(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = alloca [3 x i32], align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %4, i8 0, i64 12, i1 false) %5 = getelementptr inbounds %struct.ibmvnic_tx_buff, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.ibmvnic_tx_buff, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = call i32 @build_hdr_data(i32 noundef %2, i32 noundef %8, ptr noundef nonnull %4, ptr noundef %6) #4 %10 = load i64, ptr %0, align 8, !tbaa !13 %11 = add nsw i64 %10, 1 %12 = call i64 @create_hdr_descs(i32 noundef %2, ptr noundef %6, i32 noundef %9, ptr noundef nonnull %4, i64 noundef %11) #4 %13 = load i32, ptr %1, align 4, !tbaa !14 %14 = trunc i64 %12 to i32 %15 = add i32 %13, %14 store i32 %15, ptr %1, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @build_hdr_data(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @create_hdr_descs(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ibmvnic_tx_buff", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!6, !7, i64 0} !14 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_build_hdr_descs_arr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ibm/extr_ibmvnic.c_build_hdr_descs_arr.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 @build_hdr_descs_arr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @build_hdr_descs_arr(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = alloca [3 x i32], align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %4, i8 0, i64 12, i1 false) %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = call i32 @build_hdr_data(i32 noundef %2, i32 noundef %8, ptr noundef nonnull %4, ptr noundef %6) #4 %10 = load i64, ptr %0, align 8, !tbaa !14 %11 = add nsw i64 %10, 1 %12 = call i64 @create_hdr_descs(i32 noundef %2, ptr noundef %6, i32 noundef %9, ptr noundef nonnull %4, i64 noundef %11) #4 %13 = load i32, ptr %1, align 4, !tbaa !15 %14 = trunc i64 %12 to i32 %15 = add i32 %13, %14 store i32 %15, ptr %1, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @build_hdr_data(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @create_hdr_descs(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ibmvnic_tx_buff", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!7, !8, i64 0} !15 = !{!12, !12, i64 0}
linux_drivers_net_ethernet_ibm_extr_ibmvnic.c_build_hdr_descs_arr
; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_file_stream.c_filestream_get_vfs_handle.c' source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_file_stream.c_filestream_get_vfs_handle.c" target datalayout = "e-m:e-p270:32:32-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 ptr @filestream_get_vfs_handle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = inttoptr i64 %2 to ptr ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_file_stream.c_filestream_get_vfs_handle.c' source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_file_stream.c_filestream_get_vfs_handle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @filestream_get_vfs_handle(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = inttoptr i64 %2 to ptr ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
RetroArch_libretro-common_streams_extr_file_stream.c_filestream_get_vfs_handle
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_tftp.c_tftp_seek.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_tftp.c_tftp_seek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EOFFSET = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tftp_seek], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal i32 @tftp_seek(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 switch i32 %2, label %8 [ i32 128, label %10 i32 129, label %5 ] 5: ; preds = %3 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = add nsw i32 %6, %1 br label %10 8: ; preds = %3 %9 = load i32, ptr @EOFFSET, align 4, !tbaa !13 store i32 %9, ptr @errno, align 4, !tbaa !13 br label %12 10: ; preds = %3, %5 %11 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %11, ptr %4, align 4, !tbaa !10 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ -1, %8 ], [ %11, %10 ] ret i32 %13 } 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 = !{!"open_file", !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 = !{!"tftp_handle", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_tftp.c_tftp_seek.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_tftp.c_tftp_seek.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOFFSET = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tftp_seek], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @tftp_seek(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 switch i32 %2, label %8 [ i32 128, label %10 i32 129, label %5 ] 5: ; preds = %3 %6 = load i32, ptr %4, align 4, !tbaa !11 %7 = add nsw i32 %6, %1 br label %10 8: ; preds = %3 %9 = load i32, ptr @EOFFSET, align 4, !tbaa !14 store i32 %9, ptr @errno, align 4, !tbaa !14 br label %12 10: ; preds = %3, %5 %11 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %11, ptr %4, align 4, !tbaa !11 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ -1, %8 ], [ %11, %10 ] ret i32 %13 } 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 = !{!"open_file", !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 = !{!"tftp_handle", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
freebsd_stand_libsa_extr_tftp.c_tftp_seek
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pcf8591.c_pcf8591_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pcf8591.c_pcf8591_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @pcf8591_attr_group = dso_local global i32 0, align 4 @input_mode = dso_local local_unnamed_addr global i32 0, align 4 @dev_attr_in2_input = dso_local global i32 0, align 4 @dev_attr_in3_input = dso_local global i32 0, align 4 @pcf8591_attr_group_opt = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcf8591_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pcf8591_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %34 9: ; preds = %2 %10 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %4) #2 %11 = tail call i32 @mutex_init(ptr noundef nonnull %4) #2 %12 = tail call i32 @pcf8591_init_client(ptr noundef %0) #2 %13 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %31 15: ; preds = %9 %16 = load i32, ptr @input_mode, align 4, !tbaa !5 %17 = icmp eq i32 %16, 3 br i1 %17, label %34, label %18 18: ; preds = %15 %19 = tail call i32 @device_create_file(ptr noundef %0, ptr noundef nonnull @dev_attr_in2_input) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %18 %22 = load i32, ptr @input_mode, align 4, !tbaa !5 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %21 %25 = tail call i32 @device_create_file(ptr noundef %0, ptr noundef nonnull @dev_attr_in3_input) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %24, %18 %28 = phi i32 [ %19, %18 ], [ %25, %24 ] %29 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group_opt) #2 %30 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group) #2 br label %31 31: ; preds = %9, %27 %32 = phi i32 [ %13, %9 ], [ %28, %27 ] %33 = tail call i32 @kfree(ptr noundef nonnull %4) #2 br label %34 34: ; preds = %15, %6, %31, %21, %24 %35 = phi i32 [ 0, %24 ], [ 0, %21 ], [ %32, %31 ], [ %8, %6 ], [ 0, %15 ] ret i32 %35 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @pcf8591_init_client(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_create_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pcf8591.c_pcf8591_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_pcf8591.c_pcf8591_probe.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 @pcf8591_attr_group = common global i32 0, align 4 @input_mode = common local_unnamed_addr global i32 0, align 4 @dev_attr_in2_input = common global i32 0, align 4 @dev_attr_in3_input = common global i32 0, align 4 @pcf8591_attr_group_opt = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pcf8591_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pcf8591_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %34 9: ; preds = %2 %10 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %4) #2 %11 = tail call i32 @mutex_init(ptr noundef nonnull %4) #2 %12 = tail call i32 @pcf8591_init_client(ptr noundef %0) #2 %13 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %31 15: ; preds = %9 %16 = load i32, ptr @input_mode, align 4, !tbaa !6 %17 = icmp eq i32 %16, 3 br i1 %17, label %34, label %18 18: ; preds = %15 %19 = tail call i32 @device_create_file(ptr noundef %0, ptr noundef nonnull @dev_attr_in2_input) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %18 %22 = load i32, ptr @input_mode, align 4, !tbaa !6 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %21 %25 = tail call i32 @device_create_file(ptr noundef %0, ptr noundef nonnull @dev_attr_in3_input) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %24, %18 %28 = phi i32 [ %19, %18 ], [ %25, %24 ] %29 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group_opt) #2 %30 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @pcf8591_attr_group) #2 br label %31 31: ; preds = %9, %27 %32 = phi i32 [ %13, %9 ], [ %28, %27 ] %33 = tail call i32 @kfree(ptr noundef nonnull %4) #2 br label %34 34: ; preds = %15, %6, %31, %21, %24 %35 = phi i32 [ 0, %24 ], [ 0, %21 ], [ %32, %31 ], [ %8, %6 ], [ 0, %15 ] ret i32 %35 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @pcf8591_init_client(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_create_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_hwmon_extr_pcf8591.c_pcf8591_probe
; ModuleID = 'AnghaBench/sway/sway/commands/bar/extr_pango_markup.c_bar_cmd_pango_markup.c' source_filename = "AnghaBench/sway/sway/commands/bar/extr_pango_markup.c_bar_cmd_pango_markup.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @.str = private unnamed_addr constant [13 x i8] c"pango_markup\00", align 1 @EXPECTED_EQUAL_TO = dso_local local_unnamed_addr global i32 0, align 4 @config = dso_local local_unnamed_addr global ptr null, align 8 @SWAY_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Enabling pango markup for bar: %s\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Disabling pango markup for bar: %s\00", align 1 @CMD_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @bar_cmd_pango_markup(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @EXPECTED_EQUAL_TO, align 4, !tbaa !5 %4 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef 1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %23 6: ; preds = %2 %7 = load ptr, ptr %1, align 8, !tbaa !9 %8 = load ptr, ptr @config, align 8, !tbaa !9 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = tail call i64 @parse_boolean(ptr noundef %7, i64 noundef %11) #2 %13 = load ptr, ptr @config, align 8, !tbaa !9 %14 = load ptr, ptr %13, align 8, !tbaa !11 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 0, i32 1 store i64 %12, ptr %15, align 8, !tbaa !13 %16 = icmp eq i64 %12, 0 %17 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !5 %18 = load i32, ptr %14, align 8, !tbaa !16 %19 = select i1 %16, ptr @.str.2, ptr @.str.1 %20 = tail call i32 @sway_log(i32 noundef %17, ptr noundef nonnull %19, i32 noundef %18) #2 %21 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !5 %22 = tail call ptr @cmd_results_new(i32 noundef %21, ptr noundef null) #2 br label %23 23: ; preds = %2, %6 %24 = phi ptr [ %22, %6 ], [ %4, %2 ] ret ptr %24 } declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parse_boolean(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sway_log(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cmd_results_new(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"TYPE_3__", !6, i64 0, !15, i64 8} !15 = !{!"long", !7, i64 0} !16 = !{!14, !6, i64 0}
; ModuleID = 'AnghaBench/sway/sway/commands/bar/extr_pango_markup.c_bar_cmd_pango_markup.c' source_filename = "AnghaBench/sway/sway/commands/bar/extr_pango_markup.c_bar_cmd_pango_markup.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 [13 x i8] c"pango_markup\00", align 1 @EXPECTED_EQUAL_TO = common local_unnamed_addr global i32 0, align 4 @config = common local_unnamed_addr global ptr null, align 8 @SWAY_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Enabling pango markup for bar: %s\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Disabling pango markup for bar: %s\00", align 1 @CMD_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @bar_cmd_pango_markup(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @EXPECTED_EQUAL_TO, align 4, !tbaa !6 %4 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef 1) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %23 6: ; preds = %2 %7 = load ptr, ptr %1, align 8, !tbaa !10 %8 = load ptr, ptr @config, align 8, !tbaa !10 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = tail call i64 @parse_boolean(ptr noundef %7, i64 noundef %11) #2 %13 = load ptr, ptr @config, align 8, !tbaa !10 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = getelementptr inbounds i8, ptr %14, i64 8 store i64 %12, ptr %15, align 8, !tbaa !14 %16 = icmp eq i64 %12, 0 %17 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !6 %18 = load i32, ptr %14, align 8, !tbaa !17 %19 = select i1 %16, ptr @.str.2, ptr @.str.1 %20 = tail call i32 @sway_log(i32 noundef %17, ptr noundef nonnull %19, i32 noundef %18) #2 %21 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !6 %22 = tail call ptr @cmd_results_new(i32 noundef %21, ptr noundef null) #2 br label %23 23: ; preds = %2, %6 %24 = phi ptr [ %22, %6 ], [ %4, %2 ] ret ptr %24 } declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parse_boolean(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sway_log(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cmd_results_new(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_3__", !7, i64 0, !16, i64 8} !16 = !{!"long", !8, i64 0} !17 = !{!15, !7, i64 0}
sway_sway_commands_bar_extr_pango_markup.c_bar_cmd_pango_markup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_isr.c_qla4_83xx_interrupt_service_routine.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_isr.c_qla4_83xx_interrupt_service_routine.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @qla4_83xx_interrupt_service_routine(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = tail call i32 @readl(ptr noundef %7) #2 %9 = tail call i32 @qla4xxx_isr_decode_mailbox(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1 %12 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %11) #2 br label %15 13: ; preds = %2 %14 = tail call i32 @qla4xxx_process_response_queue(ptr noundef %0) #2 br label %15 15: ; preds = %13, %4 %16 = load ptr, ptr %0, align 8, !tbaa !5 %17 = tail call i32 @writel(i32 noundef 0, ptr noundef %16) #2 ret void } declare i32 @qla4xxx_isr_decode_mailbox(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4xxx_process_response_queue(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 = !{!"scsi_qla_host", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !7, i64 8} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_isr.c_qla4_83xx_interrupt_service_routine.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_isr.c_qla4_83xx_interrupt_service_routine.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 @qla4_83xx_interrupt_service_routine(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @readl(ptr noundef %7) #2 %9 = tail call i32 @qla4xxx_isr_decode_mailbox(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %11) #2 br label %15 13: ; preds = %2 %14 = tail call i32 @qla4xxx_process_response_queue(ptr noundef %0) #2 br label %15 15: ; preds = %13, %4 %16 = load ptr, ptr %0, align 8, !tbaa !6 %17 = tail call i32 @writel(i32 noundef 0, ptr noundef %16) #2 ret void } declare i32 @qla4xxx_isr_decode_mailbox(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qla4xxx_process_response_queue(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 = !{!"scsi_qla_host", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !8, i64 8} !13 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_scsi_qla4xxx_extr_ql4_isr.c_qla4_83xx_interrupt_service_routine
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_alps.c_alps_command_mode_send_nibble.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_alps.c_alps_command_mode_send_nibble.c" target datalayout = "e-m:e-p270:32:32-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.psmouse = type { ptr, %struct.ps2dev } %struct.ps2dev = type { i32 } %struct.TYPE_2__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @alps_command_mode_send_nibble], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @alps_command_mode_send_nibble(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca [4 x i8], align 1 %4 = getelementptr inbounds %struct.psmouse, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = icmp sgt i32 %1, 15 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #3 %9 = load ptr, ptr %5, align 8, !tbaa !12 %10 = sext i32 %1 to i64 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = and i32 %12, 3840 %14 = icmp eq i32 %13, 0 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10, i32 1 %16 = select i1 %14, ptr %15, ptr %3 %17 = call i64 @ps2_command(ptr noundef nonnull %4, ptr noundef nonnull %16, i32 noundef %12) #3 %18 = icmp ne i64 %17, 0 %19 = sext i1 %18 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %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 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i64 @ps2_command(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"psmouse", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"ps2dev", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"alps_data", !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_alps.c_alps_command_mode_send_nibble.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_alps.c_alps_command_mode_send_nibble.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 } @llvm.used = appending global [1 x ptr] [ptr @alps_command_mode_send_nibble], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @alps_command_mode_send_nibble(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca [4 x i8], align 1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = icmp sgt i32 %1, 15 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #3 %9 = load ptr, ptr %5, align 8, !tbaa !13 %10 = sext i32 %1 to i64 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = and i32 %12, 3840 %14 = icmp eq i32 %13, 0 %15 = getelementptr inbounds i8, ptr %11, i64 4 %16 = select i1 %14, ptr %15, ptr %3 %17 = call i64 @ps2_command(ptr noundef nonnull %4, ptr noundef nonnull %16, i32 noundef %12) #3 %18 = icmp ne i64 %17, 0 %19 = sext i1 %18 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %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 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i64 @ps2_command(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"psmouse", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"ps2dev", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"alps_data", !8, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_2__", !12, i64 0, !12, i64 4}
linux_drivers_input_mouse_extr_alps.c_alps_command_mode_send_nibble
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_dw2gencfi.c_cfi_parse_reg.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_dw2gencfi.c_cfi_parse_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"bad register expression\00", align 1 @input_line_pointer = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cfi_parse_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cfi_parse_reg() #0 { %1 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = call i32 @expression_and_evaluate(ptr noundef nonnull %1) #3 %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = and i32 %3, -2 %5 = icmp eq i32 %4, 128 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !10 br label %12 9: ; preds = %0 %10 = call i32 @_(ptr noundef nonnull @.str) #3 %11 = call i32 @as_bad(i32 noundef %10) #3 br label %12 12: ; preds = %9, %6 %13 = phi i32 [ 0, %9 ], [ %8, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @expression_and_evaluate(ptr noundef) local_unnamed_addr #2 declare i32 @as_bad(i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_dw2gencfi.c_cfi_parse_reg.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_dw2gencfi.c_cfi_parse_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"bad register expression\00", align 1 @input_line_pointer = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @cfi_parse_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cfi_parse_reg() #0 { %1 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %2 = call i32 @expression_and_evaluate(ptr noundef nonnull %1) #3 %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = and i32 %3, -2 %5 = icmp eq i32 %4, 128 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !11 br label %12 9: ; preds = %0 %10 = call i32 @_(ptr noundef nonnull @.str) #3 %11 = call i32 @as_bad(i32 noundef %10) #3 br label %12 12: ; preds = %9, %6 %13 = phi i32 [ 0, %9 ], [ %8, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @expression_and_evaluate(ptr noundef) local_unnamed_addr #2 declare i32 @as_bad(i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
freebsd_contrib_binutils_gas_extr_dw2gencfi.c_cfi_parse_reg
; ModuleID = 'AnghaBench/linux/kernel/extr_signal.c_task_set_jobctl_pending.c' source_filename = "AnghaBench/linux/kernel/extr_signal.c_task_set_jobctl_pending.c" target datalayout = "e-m:e-p270:32:32-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.task_struct = type { i32, i64 } @JOBCTL_PENDING_MASK = dso_local local_unnamed_addr global i64 0, align 8 @JOBCTL_STOP_CONSUME = dso_local local_unnamed_addr global i64 0, align 8 @JOBCTL_STOP_SIGMASK = dso_local local_unnamed_addr global i64 0, align 8 @JOBCTL_TRAPPING = dso_local local_unnamed_addr global i64 0, align 8 @PF_EXITING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @task_set_jobctl_pending(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @JOBCTL_PENDING_MASK, align 8, !tbaa !5 %4 = load i64, ptr @JOBCTL_STOP_CONSUME, align 8, !tbaa !5 %5 = or i64 %4, %3 %6 = load i64, ptr @JOBCTL_STOP_SIGMASK, align 8, !tbaa !5 %7 = or i64 %5, %6 %8 = load i64, ptr @JOBCTL_TRAPPING, align 8, !tbaa !5 %9 = or i64 %7, %8 %10 = xor i64 %9, -1 %11 = and i64 %10, %1 %12 = trunc i64 %11 to i32 %13 = tail call i32 @BUG_ON(i32 noundef %12) #2 %14 = load i64, ptr @JOBCTL_TRAPPING, align 8, !tbaa !5 %15 = and i64 %14, %1 %16 = icmp ne i64 %15, 0 %17 = load i64, ptr @JOBCTL_PENDING_MASK, align 8 %18 = and i64 %17, %1 %19 = icmp eq i64 %18, 0 %20 = select i1 %16, i1 %19, i1 false %21 = zext i1 %20 to i32 %22 = tail call i32 @BUG_ON(i32 noundef %21) #2 %23 = tail call i64 @fatal_signal_pending(ptr noundef %0) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %2 %26 = load i32, ptr %0, align 8, !tbaa !9 %27 = load i32, ptr @PF_EXITING, align 4, !tbaa !12 %28 = and i32 %27, %26 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i32 br label %31 31: ; preds = %25, %2 %32 = phi i32 [ 1, %2 ], [ %30, %25 ] %33 = tail call i64 @unlikely(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %51 35: ; preds = %31 %36 = load i64, ptr @JOBCTL_STOP_SIGMASK, align 8, !tbaa !5 %37 = and i64 %36, %1 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 %41 = load i64, ptr %40, align 8, !tbaa !13 br label %47 42: ; preds = %35 %43 = xor i64 %36, -1 %44 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 %45 = load i64, ptr %44, align 8, !tbaa !13 %46 = and i64 %45, %43 br label %47 47: ; preds = %39, %42 %48 = phi i64 [ %41, %39 ], [ %46, %42 ] %49 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 %50 = or i64 %48, %1 store i64 %50, ptr %49, align 8, !tbaa !13 br label %51 51: ; preds = %31, %47 %52 = phi i32 [ 1, %47 ], [ 0, %31 ] ret i32 %52 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i64 @fatal_signal_pending(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"task_struct", !11, i64 0, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/kernel/extr_signal.c_task_set_jobctl_pending.c' source_filename = "AnghaBench/linux/kernel/extr_signal.c_task_set_jobctl_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JOBCTL_PENDING_MASK = common local_unnamed_addr global i64 0, align 8 @JOBCTL_STOP_CONSUME = common local_unnamed_addr global i64 0, align 8 @JOBCTL_STOP_SIGMASK = common local_unnamed_addr global i64 0, align 8 @JOBCTL_TRAPPING = common local_unnamed_addr global i64 0, align 8 @PF_EXITING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @task_set_jobctl_pending(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @JOBCTL_PENDING_MASK, align 8, !tbaa !6 %4 = load i64, ptr @JOBCTL_STOP_CONSUME, align 8, !tbaa !6 %5 = or i64 %4, %3 %6 = load i64, ptr @JOBCTL_STOP_SIGMASK, align 8, !tbaa !6 %7 = or i64 %5, %6 %8 = load i64, ptr @JOBCTL_TRAPPING, align 8, !tbaa !6 %9 = or i64 %7, %8 %10 = xor i64 %9, -1 %11 = and i64 %10, %1 %12 = trunc i64 %11 to i32 %13 = tail call i32 @BUG_ON(i32 noundef %12) #2 %14 = load i64, ptr @JOBCTL_TRAPPING, align 8, !tbaa !6 %15 = and i64 %14, %1 %16 = icmp ne i64 %15, 0 %17 = load i64, ptr @JOBCTL_PENDING_MASK, align 8 %18 = and i64 %17, %1 %19 = icmp eq i64 %18, 0 %20 = select i1 %16, i1 %19, i1 false %21 = zext i1 %20 to i32 %22 = tail call i32 @BUG_ON(i32 noundef %21) #2 %23 = tail call i64 @fatal_signal_pending(ptr noundef %0) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %2 %26 = load i32, ptr %0, align 8, !tbaa !10 %27 = load i32, ptr @PF_EXITING, align 4, !tbaa !13 %28 = and i32 %27, %26 %29 = icmp ne i32 %28, 0 %30 = zext i1 %29 to i32 br label %31 31: ; preds = %25, %2 %32 = phi i32 [ 1, %2 ], [ %30, %25 ] %33 = tail call i64 @unlikely(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %51 35: ; preds = %31 %36 = load i64, ptr @JOBCTL_STOP_SIGMASK, align 8, !tbaa !6 %37 = and i64 %36, %1 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load i64, ptr %40, align 8, !tbaa !14 br label %47 42: ; preds = %35 %43 = xor i64 %36, -1 %44 = getelementptr inbounds i8, ptr %0, i64 8 %45 = load i64, ptr %44, align 8, !tbaa !14 %46 = and i64 %45, %43 br label %47 47: ; preds = %39, %42 %48 = phi i64 [ %41, %39 ], [ %46, %42 ] %49 = getelementptr inbounds i8, ptr %0, i64 8 %50 = or i64 %48, %1 store i64 %50, ptr %49, align 8, !tbaa !14 br label %51 51: ; preds = %31, %47 %52 = phi i32 [ 1, %47 ], [ 0, %31 ] ret i32 %52 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i64 @fatal_signal_pending(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"task_struct", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 8}
linux_kernel_extr_signal.c_task_set_jobctl_pending
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_emit-rtl.c_next_active_insn.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_emit-rtl.c_next_active_insn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i64 @next_active_insn(i64 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i64 %0, 0 br i1 %2, label %10, label %3 3: ; preds = %1, %7 %4 = phi i64 [ %5, %7 ], [ %0, %1 ] %5 = tail call i64 @NEXT_INSN(i64 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i64 @active_insn_p(i64 noundef %5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %3, label %10, !llvm.loop !5 10: ; preds = %3, %7, %1 %11 = phi i64 [ 0, %1 ], [ %5, %7 ], [ 0, %3 ] ret i64 %11 } declare i64 @NEXT_INSN(i64 noundef) local_unnamed_addr #1 declare i64 @active_insn_p(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_emit-rtl.c_next_active_insn.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_emit-rtl.c_next_active_insn.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 @next_active_insn(i64 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i64 %0, 0 br i1 %2, label %10, label %3 3: ; preds = %1, %7 %4 = phi i64 [ %5, %7 ], [ %0, %1 ] %5 = tail call i64 @NEXT_INSN(i64 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i64 @active_insn_p(i64 noundef %5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %3, label %10, !llvm.loop !6 10: ; preds = %3, %7, %1 %11 = phi i64 [ 0, %1 ], [ %5, %7 ], [ 0, %3 ] ret i64 %11 } declare i64 @NEXT_INSN(i64 noundef) local_unnamed_addr #1 declare i64 @active_insn_p(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_emit-rtl.c_next_active_insn
; ModuleID = 'AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_fast_isr.c' source_filename = "AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_fast_isr.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @FILTER_STRAY = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @FILTER_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @oce_fast_isr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @oce_fast_isr(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @FALSE, align 4, !tbaa !14 %10 = load i32, ptr @TRUE, align 4, !tbaa !14 %11 = tail call i32 @oce_arm_eq(i32 noundef %6, i32 noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %15 = tail call i32 @taskqueue_enqueue(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !5 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = add nsw i32 %17, 1 store i32 %18, ptr %16, align 4, !tbaa !16 br label %19 19: ; preds = %1, %4 %20 = phi ptr [ @FILTER_HANDLED, %4 ], [ @FILTER_STRAY, %1 ] %21 = load i32, ptr %20, align 4, !tbaa !14 ret i32 %21 } declare i32 @oce_arm_eq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 12, !10, 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 = !{!6, !10, i64 16} !12 = !{!13, !10, i64 4} !13 = !{!"TYPE_3__", !10, i64 0, !10, i64 4} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 12} !16 = !{!13, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_fast_isr.c' source_filename = "AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_fast_isr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FILTER_STRAY = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @FILTER_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @oce_fast_isr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @oce_fast_isr(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr @FALSE, align 4, !tbaa !15 %10 = load i32, ptr @TRUE, align 4, !tbaa !15 %11 = tail call i32 @oce_arm_eq(i32 noundef %6, i32 noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %0, i64 12 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = tail call i32 @taskqueue_enqueue(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !6 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = add nsw i32 %17, 1 store i32 %18, ptr %16, align 4, !tbaa !17 br label %19 19: ; preds = %1, %4 %20 = phi ptr [ @FILTER_HANDLED, %4 ], [ @FILTER_STRAY, %1 ] %21 = load i32, ptr %20, align 4, !tbaa !15 ret i32 %21 } declare i32 @oce_arm_eq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 12, !11, 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 = !{!7, !11, i64 16} !13 = !{!14, !11, i64 4} !14 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 12} !17 = !{!14, !11, i64 0}
freebsd_sys_dev_oce_extr_oce_if.c_oce_fast_isr
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryMetricTags.c' source_filename = "AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryMetricTags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TSDB_FUNC_TAGPRJ = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tscQueryMetricTags(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp slt i64 %2, 1 br i1 %3, label %16, label %8 4: ; preds = %8 %5 = add nuw nsw i64 %9, 1 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %14, !llvm.loop !11 8: ; preds = %1, %4 %9 = phi i64 [ %5, %4 ], [ 0, %1 ] %10 = tail call ptr @tscSqlExprGet(ptr noundef nonnull %0, i64 noundef %9) #2 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = load i64, ptr @TSDB_FUNC_TAGPRJ, align 8, !tbaa !15 %13 = icmp eq i64 %11, %12 br i1 %13, label %4, label %14 14: ; preds = %8, %4 %15 = zext i1 %13 to i32 br label %16 16: ; preds = %14, %1 %17 = phi i32 [ 1, %1 ], [ %15, %14 ] ret i32 %17 } declare ptr @tscSqlExprGet(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, !8, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_8__", !8, i64 0} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryMetricTags.c' source_filename = "AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryMetricTags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TSDB_FUNC_TAGPRJ = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @tscQueryMetricTags(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp slt i64 %2, 1 br i1 %3, label %16, label %8 4: ; preds = %8 %5 = add nuw nsw i64 %9, 1 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %14, !llvm.loop !12 8: ; preds = %1, %4 %9 = phi i64 [ %5, %4 ], [ 0, %1 ] %10 = tail call ptr @tscSqlExprGet(ptr noundef nonnull %0, i64 noundef %9) #2 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = load i64, ptr @TSDB_FUNC_TAGPRJ, align 8, !tbaa !16 %13 = icmp eq i64 %11, %12 br i1 %13, label %4, label %14 14: ; preds = %8, %4 %15 = zext i1 %13 to i32 br label %16 16: ; preds = %14, %1 %17 = phi i32 [ 1, %1 ], [ %15, %14 ] ret i32 %17 } declare ptr @tscSqlExprGet(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, !9, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !9, i64 0} !15 = !{!"TYPE_8__", !9, i64 0} !16 = !{!9, !9, i64 0}
TDengine_src_client_src_extr_tscUtil.c_tscQueryMetricTags
; ModuleID = 'AnghaBench/linux/sound/usb/extr_mixer_quirks.c_snd_rme_get_status1.c' source_filename = "AnghaBench/linux/sound/usb/extr_mixer_quirks.c_snd_rme_get_status1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SND_RME_GET_STATUS1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme_get_status1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_rme_get_status1(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @snd_usb_lock_shutdown(ptr noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i32, ptr @SND_RME_GET_STATUS1, align 4, !tbaa !12 %10 = tail call i32 @snd_rme_read_value(ptr noundef %5, i32 noundef %9, ptr noundef %1) #2 %11 = tail call i32 @snd_usb_unlock_shutdown(ptr noundef %5) #2 br label %12 12: ; preds = %2, %8 %13 = phi i32 [ %10, %8 ], [ %6, %2 ] ret i32 %13 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_usb_lock_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @snd_rme_read_value(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_usb_unlock_shutdown(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 = !{!"usb_mixer_elem_list", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/sound/usb/extr_mixer_quirks.c_snd_rme_get_status1.c' source_filename = "AnghaBench/linux/sound/usb/extr_mixer_quirks.c_snd_rme_get_status1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SND_RME_GET_STATUS1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_rme_get_status1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_rme_get_status1(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @snd_usb_lock_shutdown(ptr noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i32, ptr @SND_RME_GET_STATUS1, align 4, !tbaa !13 %10 = tail call i32 @snd_rme_read_value(ptr noundef %5, i32 noundef %9, ptr noundef %1) #2 %11 = tail call i32 @snd_usb_unlock_shutdown(ptr noundef %5) #2 br label %12 12: ; preds = %2, %8 %13 = phi i32 [ %10, %8 ], [ %6, %2 ] ret i32 %13 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_usb_lock_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @snd_rme_read_value(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_usb_unlock_shutdown(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 = !{!"usb_mixer_elem_list", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_sound_usb_extr_mixer_quirks.c_snd_rme_get_status1
; ModuleID = 'AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio.c' source_filename = "AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio.c" target datalayout = "e-m:e-p270:32:32-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 @s3c2416_setup_sdhci0_cfg_gpio(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @S3C2410_GPE(i32 noundef 5) #2 %4 = add nsw i32 %1, 2 %5 = tail call i32 @S3C_GPIO_SFN(i32 noundef 2) #2 %6 = tail call i32 @s3c_gpio_cfgrange_nopull(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @s3c_gpio_cfgrange_nopull(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @S3C2410_GPE(i32 noundef) local_unnamed_addr #1 declare i32 @S3C_GPIO_SFN(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio.c' source_filename = "AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio.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 @s3c2416_setup_sdhci0_cfg_gpio(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @S3C2410_GPE(i32 noundef 5) #2 %4 = add nsw i32 %1, 2 %5 = tail call i32 @S3C_GPIO_SFN(i32 noundef 2) #2 %6 = tail call i32 @s3c_gpio_cfgrange_nopull(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @s3c_gpio_cfgrange_nopull(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @S3C2410_GPE(i32 noundef) local_unnamed_addr #1 declare i32 @S3C_GPIO_SFN(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_arm_mach-s3c24xx_extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000_get_cable_length_82577.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000_get_cable_length_82577.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @I82577_PHY_DIAG_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @I82577_DSTATUS_CABLE_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @I82577_DSTATUS_CABLE_LENGTH_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CABLE_LENGTH_UNDEFINED = dso_local local_unnamed_addr global i32 0, align 4 @E1000_ERR_PHY = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @e1000_get_cable_length_82577(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @I82577_PHY_DIAG_STATUS, align 4, !tbaa !5 %4 = call i64 @e1e_rphy(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %1 %7 = load i32, ptr %2, align 4, !tbaa !5 %8 = load i32, ptr @I82577_DSTATUS_CABLE_LENGTH, align 4, !tbaa !5 %9 = and i32 %8, %7 %10 = load i32, ptr @I82577_DSTATUS_CABLE_LENGTH_SHIFT, align 4, !tbaa !5 %11 = ashr i32 %9, %10 %12 = load i32, ptr @E1000_CABLE_LENGTH_UNDEFINED, align 4, !tbaa !5 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %6 %15 = load i64, ptr @E1000_ERR_PHY, align 8, !tbaa !9 %16 = sub nsw i64 0, %15 br label %18 17: ; preds = %6 store i32 %11, ptr %0, align 4, !tbaa !11 br label %18 18: ; preds = %1, %17, %14 %19 = phi i64 [ %16, %14 ], [ 0, %17 ], [ %4, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i64 @e1e_rphy(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 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"e1000_phy_info", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000_get_cable_length_82577.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000_get_cable_length_82577.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I82577_PHY_DIAG_STATUS = common local_unnamed_addr global i32 0, align 4 @I82577_DSTATUS_CABLE_LENGTH = common local_unnamed_addr global i32 0, align 4 @I82577_DSTATUS_CABLE_LENGTH_SHIFT = common local_unnamed_addr global i32 0, align 4 @E1000_CABLE_LENGTH_UNDEFINED = common local_unnamed_addr global i32 0, align 4 @E1000_ERR_PHY = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @e1000_get_cable_length_82577(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @I82577_PHY_DIAG_STATUS, align 4, !tbaa !6 %4 = call i64 @e1e_rphy(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %1 %7 = load i32, ptr %2, align 4, !tbaa !6 %8 = load i32, ptr @I82577_DSTATUS_CABLE_LENGTH, align 4, !tbaa !6 %9 = and i32 %8, %7 %10 = load i32, ptr @I82577_DSTATUS_CABLE_LENGTH_SHIFT, align 4, !tbaa !6 %11 = ashr i32 %9, %10 %12 = load i32, ptr @E1000_CABLE_LENGTH_UNDEFINED, align 4, !tbaa !6 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %6 %15 = load i64, ptr @E1000_ERR_PHY, align 8, !tbaa !10 %16 = sub nsw i64 0, %15 br label %18 17: ; preds = %6 store i32 %11, ptr %0, align 4, !tbaa !12 br label %18 18: ; preds = %1, %17, %14 %19 = phi i64 [ %16, %14 ], [ 0, %17 ], [ %4, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i64 @e1e_rphy(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 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"e1000_phy_info", !7, i64 0}
linux_drivers_net_ethernet_intel_e1000e_extr_phy.c_e1000_get_cable_length_82577
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_load_lut_ext_max.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_load_lut_ext_max.c" target datalayout = "e-m:e-p270:32:32-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.intel_crtc = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ivb_load_lut_ext_max], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ivb_load_lut_ext_max(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.intel_crtc, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call ptr @to_i915(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 0) #2 %7 = tail call i32 @I915_WRITE(i32 noundef %6, i32 noundef 65536) #2 %8 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 1) #2 %9 = tail call i32 @I915_WRITE(i32 noundef %8, i32 noundef 65536) #2 %10 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 2) #2 %11 = tail call i32 @I915_WRITE(i32 noundef %10, i32 noundef 65536) #2 %12 = tail call i32 @INTEL_GEN(ptr noundef %4) #2 %13 = icmp sgt i32 %12, 9 br i1 %13, label %17, label %14 14: ; preds = %1 %15 = tail call i64 @IS_GEMINILAKE(ptr noundef %4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %14, %1 %18 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 0) #2 %19 = tail call i32 @I915_WRITE(i32 noundef %18, i32 noundef 65536) #2 %20 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 1) #2 %21 = tail call i32 @I915_WRITE(i32 noundef %20, i32 noundef 65536) #2 %22 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 2) #2 %23 = tail call i32 @I915_WRITE(i32 noundef %22, i32 noundef 65536) #2 br label %24 24: ; preds = %17, %14 ret void } declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PREC_PAL_EXT_GC_MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1 declare i64 @IS_GEMINILAKE(ptr noundef) local_unnamed_addr #1 declare i32 @PREC_PAL_EXT2_GC_MAX(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 4} !6 = !{!"intel_crtc", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_load_lut_ext_max.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_load_lut_ext_max.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 @ivb_load_lut_ext_max], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ivb_load_lut_ext_max(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call ptr @to_i915(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !12 %6 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 0) #2 %7 = tail call i32 @I915_WRITE(i32 noundef %6, i32 noundef 65536) #2 %8 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 1) #2 %9 = tail call i32 @I915_WRITE(i32 noundef %8, i32 noundef 65536) #2 %10 = tail call i32 @PREC_PAL_EXT_GC_MAX(i32 noundef %5, i32 noundef 2) #2 %11 = tail call i32 @I915_WRITE(i32 noundef %10, i32 noundef 65536) #2 %12 = tail call i32 @INTEL_GEN(ptr noundef %4) #2 %13 = icmp sgt i32 %12, 9 br i1 %13, label %17, label %14 14: ; preds = %1 %15 = tail call i64 @IS_GEMINILAKE(ptr noundef %4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %14, %1 %18 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 0) #2 %19 = tail call i32 @I915_WRITE(i32 noundef %18, i32 noundef 65536) #2 %20 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 1) #2 %21 = tail call i32 @I915_WRITE(i32 noundef %20, i32 noundef 65536) #2 %22 = tail call i32 @PREC_PAL_EXT2_GC_MAX(i32 noundef %5, i32 noundef 2) #2 %23 = tail call i32 @I915_WRITE(i32 noundef %22, i32 noundef 65536) #2 br label %24 24: ; preds = %17, %14 ret void } declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PREC_PAL_EXT_GC_MAX(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1 declare i64 @IS_GEMINILAKE(ptr noundef) local_unnamed_addr #1 declare i32 @PREC_PAL_EXT2_GC_MAX(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 4} !7 = !{!"intel_crtc", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_color.c_ivb_load_lut_ext_max
; ModuleID = 'AnghaBench/linux/net/core/extr_bpf_sk_storage.c___selem_unlink_sk.c' source_filename = "AnghaBench/linux/net/core/extr_bpf_sk_storage.c___selem_unlink_sk.c" target datalayout = "e-m:e-p270:32:32-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.bpf_sk_storage = type { ptr, ptr, i32 } %struct.sock = type { i32, i32 } %struct.bpf_sk_storage_map = type { i32, i64 } @rcu = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__selem_unlink_sk], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__selem_unlink_sk(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @SDATA(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.bpf_sk_storage, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = icmp eq i32 %2, 0 br i1 %9, label %14, label %10 10: ; preds = %3 %11 = load i32, ptr %6, align 8, !tbaa !13 %12 = getelementptr inbounds %struct.sock, ptr %8, i64 0, i32 1 %13 = tail call i32 @atomic_sub(i32 noundef %11, ptr noundef nonnull %12) #2 br label %14 14: ; preds = %10, %3 %15 = getelementptr inbounds %struct.bpf_sk_storage, ptr %0, i64 0, i32 2 %16 = tail call i32 @hlist_is_singular_node(ptr noundef %1, ptr noundef nonnull %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %14 %19 = getelementptr inbounds %struct.sock, ptr %8, i64 0, i32 1 %20 = tail call i32 @atomic_sub(i32 noundef 24, ptr noundef nonnull %19) #2 store ptr null, ptr %7, align 8, !tbaa !10 %21 = load i32, ptr %8, align 4, !tbaa !16 %22 = tail call i32 @RCU_INIT_POINTER(i32 noundef %21, ptr noundef null) #2 br label %23 23: ; preds = %18, %14 %24 = tail call i32 @hlist_del_init_rcu(ptr noundef %1) #2 %25 = load ptr, ptr %0, align 8, !tbaa !18 %26 = getelementptr inbounds %struct.bpf_sk_storage_map, ptr %6, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !19 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !20 %30 = tail call ptr @rcu_access_pointer(i32 noundef %29) #2 %31 = tail call ptr @SDATA(ptr noundef %1) #2 %32 = icmp eq ptr %30, %31 br i1 %32, label %33, label %39 33: ; preds = %23 %34 = load ptr, ptr %0, align 8, !tbaa !18 %35 = load i64, ptr %26, align 8, !tbaa !19 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !20 %38 = tail call i32 @RCU_INIT_POINTER(i32 noundef %37, ptr noundef null) #2 br label %39 39: ; preds = %33, %23 %40 = load i32, ptr @rcu, align 4, !tbaa !20 %41 = tail call i32 @kfree_rcu(ptr noundef %1, i32 noundef %40) #2 ret i32 %16 } declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare ptr @SDATA(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_is_singular_node(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del_init_rcu(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_access_pointer(i32 noundef) local_unnamed_addr #1 declare i32 @kfree_rcu(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_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"bpf_sk_storage", !12, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"bpf_sk_storage_map", !7, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"sock", !7, i64 0, !7, i64 4} !18 = !{!11, !12, i64 0} !19 = !{!14, !15, i64 8} !20 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/core/extr_bpf_sk_storage.c___selem_unlink_sk.c' source_filename = "AnghaBench/linux/net/core/extr_bpf_sk_storage.c___selem_unlink_sk.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rcu = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__selem_unlink_sk], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__selem_unlink_sk(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @SDATA(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq i32 %2, 0 br i1 %9, label %14, label %10 10: ; preds = %3 %11 = load i32, ptr %6, align 8, !tbaa !14 %12 = getelementptr inbounds i8, ptr %8, i64 4 %13 = tail call i32 @atomic_sub(i32 noundef %11, ptr noundef nonnull %12) #2 br label %14 14: ; preds = %10, %3 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = tail call i32 @hlist_is_singular_node(ptr noundef %1, ptr noundef nonnull %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %8, i64 4 %20 = tail call i32 @atomic_sub(i32 noundef 24, ptr noundef nonnull %19) #2 store ptr null, ptr %7, align 8, !tbaa !11 %21 = load i32, ptr %8, align 4, !tbaa !17 %22 = tail call i32 @RCU_INIT_POINTER(i32 noundef %21, ptr noundef null) #2 br label %23 23: ; preds = %18, %14 %24 = tail call i32 @hlist_del_init_rcu(ptr noundef %1) #2 %25 = load ptr, ptr %0, align 8, !tbaa !19 %26 = getelementptr inbounds i8, ptr %6, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !20 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = tail call ptr @rcu_access_pointer(i32 noundef %29) #2 %31 = tail call ptr @SDATA(ptr noundef %1) #2 %32 = icmp eq ptr %30, %31 br i1 %32, label %33, label %39 33: ; preds = %23 %34 = load ptr, ptr %0, align 8, !tbaa !19 %35 = load i64, ptr %26, align 8, !tbaa !20 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !21 %38 = tail call i32 @RCU_INIT_POINTER(i32 noundef %37, ptr noundef null) #2 br label %39 39: ; preds = %33, %23 %40 = load i32, ptr @rcu, align 4, !tbaa !21 %41 = tail call i32 @kfree_rcu(ptr noundef %1, i32 noundef %40) #2 ret i32 %16 } declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare ptr @SDATA(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_is_singular_node(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del_init_rcu(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_access_pointer(i32 noundef) local_unnamed_addr #1 declare i32 @kfree_rcu(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_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 8} !12 = !{!"bpf_sk_storage", !13, i64 0, !13, i64 8, !8, i64 16} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"bpf_sk_storage_map", !8, i64 0, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"sock", !8, i64 0, !8, i64 4} !19 = !{!12, !13, i64 0} !20 = !{!15, !16, i64 8} !21 = !{!8, !8, i64 0}
linux_net_core_extr_bpf_sk_storage.c___selem_unlink_sk
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_......fsbinfmt_elf.c_randomize_stack_top.c' source_filename = "AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_......fsbinfmt_elf.c_randomize_stack_top.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @current = dso_local local_unnamed_addr global ptr null, align 8 @PF_RANDOMIZE = dso_local local_unnamed_addr global i32 0, align 4 @ADDR_NO_RANDOMIZE = dso_local local_unnamed_addr global i32 0, align 4 @STACK_RND_MASK = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @randomize_stack_top], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @randomize_stack_top(i64 noundef %0) #0 { %2 = load ptr, ptr @current, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !9 %4 = load i32, ptr @PF_RANDOMIZE, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = load i32, ptr @ADDR_NO_RANDOMIZE, align 4, !tbaa !12 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %7 %14 = tail call i32 (...) @get_random_int() #2 %15 = load i32, ptr @STACK_RND_MASK, align 4, !tbaa !12 %16 = and i32 %15, %14 %17 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !12 %18 = shl i32 %16, %17 %19 = zext i32 %18 to i64 br label %20 20: ; preds = %13, %7, %1 %21 = phi i64 [ 0, %7 ], [ %19, %13 ], [ 0, %1 ] %22 = tail call i64 @PAGE_ALIGN(i64 noundef %0) #2 %23 = sub i64 %22, %21 ret i64 %23 } declare i32 @get_random_int(...) local_unnamed_addr #1 declare i64 @PAGE_ALIGN(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, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_......fsbinfmt_elf.c_randomize_stack_top.c' source_filename = "AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_......fsbinfmt_elf.c_randomize_stack_top.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current = common local_unnamed_addr global ptr null, align 8 @PF_RANDOMIZE = common local_unnamed_addr global i32 0, align 4 @ADDR_NO_RANDOMIZE = common local_unnamed_addr global i32 0, align 4 @STACK_RND_MASK = common local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @randomize_stack_top], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @randomize_stack_top(i64 noundef %0) #0 { %2 = load ptr, ptr @current, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = load i32, ptr @PF_RANDOMIZE, align 4, !tbaa !13 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %2, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = load i32, ptr @ADDR_NO_RANDOMIZE, align 4, !tbaa !13 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %7 %14 = tail call i32 @get_random_int() #2 %15 = load i32, ptr @STACK_RND_MASK, align 4, !tbaa !13 %16 = and i32 %15, %14 %17 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !13 %18 = shl i32 %16, %17 %19 = zext i32 %18 to i64 br label %20 20: ; preds = %13, %7, %1 %21 = phi i64 [ 0, %7 ], [ %19, %13 ], [ 0, %1 ] %22 = tail call i64 @PAGE_ALIGN(i64 noundef %0) #2 %23 = sub i64 %22, %21 ret i64 %23 } declare i32 @get_random_int(...) local_unnamed_addr #1 declare i64 @PAGE_ALIGN(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, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 4}
fastsocket_kernel_arch_parisc_kernel_extr_......fsbinfmt_elf.c_randomize_stack_top
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_vmur.c_urdev_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_vmur.c_urdev_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" %struct.ccw_device = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.urdev = type { ptr, i32, i32, i32, i32, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @urdev_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @urdev_alloc(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %20, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.ccw_device, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !9 %8 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 6 store i32 %7, ptr %8, align 4, !tbaa !12 %9 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 5 %10 = tail call i32 @ccw_device_get_id(ptr noundef %0, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 4 %12 = tail call i32 @mutex_init(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 3 %14 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 2 %16 = tail call i32 @spin_lock_init(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds %struct.urdev, ptr %3, i64 0, i32 1 %18 = tail call i32 @atomic_set(ptr noundef nonnull %17, i32 noundef 1) #2 store ptr %0, ptr %3, align 8, !tbaa !15 %19 = tail call i32 @get_device(ptr noundef %0) #2 br label %20 20: ; preds = %1, %5 ret ptr %3 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ccw_device_get_id(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_device(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 4} !10 = !{!"ccw_device", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!13, !6, i64 28} !13 = !{!"urdev", !14, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28} !14 = !{!"any pointer", !7, i64 0} !15 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_vmur.c_urdev_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_vmur.c_urdev_alloc.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 @llvm.used = appending global [1 x ptr] [ptr @urdev_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @urdev_alloc(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %20, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = getelementptr inbounds i8, ptr %3, i64 28 store i32 %7, ptr %8, align 4, !tbaa !13 %9 = getelementptr inbounds i8, ptr %3, i64 24 %10 = tail call i32 @ccw_device_get_id(ptr noundef %0, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds i8, ptr %3, i64 20 %12 = tail call i32 @mutex_init(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %3, i64 16 %14 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %3, i64 12 %16 = tail call i32 @spin_lock_init(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds i8, ptr %3, i64 8 %18 = tail call i32 @atomic_set(ptr noundef nonnull %17, i32 noundef 1) #2 store ptr %0, ptr %3, align 8, !tbaa !16 %19 = tail call i32 @get_device(ptr noundef %0) #2 br label %20 20: ; preds = %1, %5 ret ptr %3 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ccw_device_get_id(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_device(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 4} !11 = !{!"ccw_device", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!14, !7, i64 28} !14 = !{!"urdev", !15, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !15 = !{!"any pointer", !8, i64 0} !16 = !{!14, !15, i64 0}
fastsocket_kernel_drivers_s390_char_extr_vmur.c_urdev_alloc
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_SetException.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_SetException.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @MINOR = dso_local local_unnamed_addr global i32 0, align 4 @E_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @NO_MSG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @FM_MAC_SetException(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = inttoptr i64 %0 to ptr %5 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %6 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %4, i32 noundef %5) #2 %7 = load ptr, ptr %4, align 8, !tbaa !9 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call i32 %7(i64 noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %16 11: ; preds = %3 %12 = load i32, ptr @MINOR, align 4, !tbaa !5 %13 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !5 %14 = load i32, ptr @NO_MSG, align 4, !tbaa !5 %15 = tail call i32 @RETURN_ERROR(i32 noundef %12, i32 noundef %13, i32 noundef %14) #2 br label %16 16: ; preds = %11, %9 %17 = phi i32 [ %10, %9 ], [ undef, %11 ] ret i32 %17 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(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, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_SetException.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_SetException.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @MINOR = common local_unnamed_addr global i32 0, align 4 @E_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @NO_MSG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @FM_MAC_SetException(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = inttoptr i64 %0 to ptr %5 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %6 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %4, i32 noundef %5) #2 %7 = load ptr, ptr %4, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call i32 %7(i64 noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %16 11: ; preds = %3 %12 = load i32, ptr @MINOR, align 4, !tbaa !6 %13 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !6 %14 = load i32, ptr @NO_MSG, align 4, !tbaa !6 %15 = tail call i32 @RETURN_ERROR(i32 noundef %12, i32 noundef %13, i32 noundef %14) #2 br label %16 16: ; preds = %11, %9 %17 = phi i32 [ %10, %9 ], [ undef, %11 ] ret i32 %17 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(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, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
freebsd_sys_contrib_ncsw_Peripherals_FM_MAC_extr_fm_mac.c_FM_MAC_SetException
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_set_dirty_all.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_set_dirty_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, ptr } %struct.hda_jack_tbl = type { i32, i64 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @snd_hda_jack_set_dirty_all(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %54 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = and i32 %2, 3 %8 = icmp ult i32 %2, 4 br i1 %8, label %40, label %9 9: ; preds = %4 %10 = and i32 %2, 2147483644 br label %11 11: ; preds = %36, %9 %12 = phi ptr [ %6, %9 ], [ %37, %36 ] %13 = phi i32 [ 0, %9 ], [ %38, %36 ] %14 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %11 store i32 1, ptr %12, align 8, !tbaa !16 br label %18 18: ; preds = %11, %17 %19 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 1, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 1 store i32 1, ptr %23, align 8, !tbaa !16 br label %24 24: ; preds = %22, %18 %25 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 2, i32 1 %26 = load i64, ptr %25, align 8, !tbaa !13 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %24 %29 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 2 store i32 1, ptr %29, align 8, !tbaa !16 br label %30 30: ; preds = %28, %24 %31 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 3, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !13 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 3 store i32 1, ptr %35, align 8, !tbaa !16 br label %36 36: ; preds = %34, %30 %37 = getelementptr inbounds %struct.hda_jack_tbl, ptr %12, i64 4 %38 = add i32 %13, 4 %39 = icmp eq i32 %38, %10 br i1 %39, label %40, label %11, !llvm.loop !17 40: ; preds = %36, %4 %41 = phi ptr [ %6, %4 ], [ %37, %36 ] %42 = icmp eq i32 %7, 0 br i1 %42, label %54, label %43 43: ; preds = %40, %50 %44 = phi ptr [ %51, %50 ], [ %41, %40 ] %45 = phi i32 [ %52, %50 ], [ 0, %40 ] %46 = getelementptr inbounds %struct.hda_jack_tbl, ptr %44, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !13 %48 = icmp eq i64 %47, 0 br i1 %48, label %50, label %49 49: ; preds = %43 store i32 1, ptr %44, align 8, !tbaa !16 br label %50 50: ; preds = %49, %43 %51 = getelementptr inbounds %struct.hda_jack_tbl, ptr %44, i64 1 %52 = add i32 %45, 1 %53 = icmp eq i32 %52, %7 br i1 %53, label %54, label %43, !llvm.loop !19 54: ; preds = %40, %50, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"hda_codec", !7, i64 0} !7 = !{!"TYPE_2__", !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 = !{!6, !11, i64 8} !13 = !{!14, !15, i64 8} !14 = !{!"hda_jack_tbl", !8, i64 0, !15, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!14, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.unroll.disable"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_set_dirty_all.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_set_dirty_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @snd_hda_jack_set_dirty_all(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %59 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = icmp ult i32 %2, 5 br i1 %7, label %45, label %8 8: ; preds = %4 %9 = zext nneg i32 %2 to i64 %10 = and i64 %9, 3 %11 = icmp eq i64 %10, 0 %12 = select i1 %11, i64 4, i64 %10 %13 = sub nsw i64 %9, %12 %14 = trunc i64 %13 to i32 %15 = shl nsw i64 %13, 4 %16 = getelementptr i8, ptr %6, i64 %15 br label %17 17: ; preds = %42, %8 %18 = phi i64 [ 0, %8 ], [ %43, %42 ] %19 = shl i64 %18, 4 %20 = getelementptr i8, ptr %6, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 8 %22 = load <8 x i64>, ptr %21, align 8, !tbaa !14 %23 = shufflevector <8 x i64> %22, <8 x i64> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %24 = icmp ne <4 x i64> %23, zeroinitializer %25 = extractelement <4 x i1> %24, i64 0 br i1 %25, label %26, label %27 26: ; preds = %17 store i32 1, ptr %20, align 8, !tbaa !17 br label %27 27: ; preds = %26, %17 %28 = extractelement <4 x i1> %24, i64 1 br i1 %28, label %29, label %32 29: ; preds = %27 %30 = or disjoint i64 %19, 16 %31 = getelementptr i8, ptr %6, i64 %30 store i32 1, ptr %31, align 8, !tbaa !17 br label %32 32: ; preds = %29, %27 %33 = extractelement <4 x i1> %24, i64 2 br i1 %33, label %34, label %37 34: ; preds = %32 %35 = or disjoint i64 %19, 32 %36 = getelementptr i8, ptr %6, i64 %35 store i32 1, ptr %36, align 8, !tbaa !17 br label %37 37: ; preds = %34, %32 %38 = extractelement <4 x i1> %24, i64 3 br i1 %38, label %39, label %42 39: ; preds = %37 %40 = or disjoint i64 %19, 48 %41 = getelementptr i8, ptr %6, i64 %40 store i32 1, ptr %41, align 8, !tbaa !17 br label %42 42: ; preds = %39, %37 %43 = add nuw i64 %18, 4 %44 = icmp eq i64 %43, %13 br i1 %44, label %45, label %17, !llvm.loop !18 45: ; preds = %42, %4 %46 = phi i32 [ 0, %4 ], [ %14, %42 ] %47 = phi ptr [ %6, %4 ], [ %16, %42 ] br label %48 48: ; preds = %45, %55 %49 = phi i32 [ %56, %55 ], [ %46, %45 ] %50 = phi ptr [ %57, %55 ], [ %47, %45 ] %51 = getelementptr inbounds i8, ptr %50, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !14 %53 = icmp eq i64 %52, 0 br i1 %53, label %55, label %54 54: ; preds = %48 store i32 1, ptr %50, align 8, !tbaa !17 br label %55 55: ; preds = %48, %54 %56 = add nuw nsw i32 %49, 1 %57 = getelementptr inbounds i8, ptr %50, i64 16 %58 = icmp eq i32 %56, %2 br i1 %58, label %59, label %48, !llvm.loop !22 59: ; preds = %55, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"hda_codec", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!15, !16, i64 8} !15 = !{!"hda_jack_tbl", !9, i64 0, !16, i64 8} !16 = !{!"long", !10, i64 0} !17 = !{!15, !9, i64 0} !18 = distinct !{!18, !19, !20, !21} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!"llvm.loop.isvectorized", i32 1} !21 = !{!"llvm.loop.unroll.runtime.disable"} !22 = distinct !{!22, !19, !21, !20}
fastsocket_kernel_sound_pci_hda_extr_hda_jack.c_snd_hda_jack_set_dirty_all
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_intel.c_agp_intel_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_intel.c_agp_intel_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"agp\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @agp_intel_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @agp_intel_probe(i32 noundef %0) #0 { %2 = tail call i32 @device_get_unit(i32 noundef %0) #2 %3 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = tail call ptr @agp_intel_match(i32 noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull %6) #2 br label %10 10: ; preds = %5, %1, %8 %11 = phi ptr [ @BUS_PROBE_DEFAULT, %8 ], [ @ENXIO, %1 ], [ @ENXIO, %5 ] %12 = load i32, ptr %11, align 4, !tbaa !5 ret i32 %12 } declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare ptr @agp_intel_match(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_intel.c_agp_intel_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_intel.c_agp_intel_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"agp\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @agp_intel_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @agp_intel_probe(i32 noundef %0) #0 { %2 = tail call i32 @device_get_unit(i32 noundef %0) #2 %3 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = tail call ptr @agp_intel_match(i32 noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull %6) #2 br label %10 10: ; preds = %5, %1, %8 %11 = phi ptr [ @BUS_PROBE_DEFAULT, %8 ], [ @ENXIO, %1 ], [ @ENXIO, %5 ] %12 = load i32, ptr %11, align 4, !tbaa !6 ret i32 %12 } declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare ptr @agp_intel_match(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_agp_extr_agp_intel.c_agp_intel_probe