IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_64.c_smp_new_mmu_context_version.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_64.c_smp_new_mmu_context_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @xcall_new_mmu_context_version = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @smp_new_mmu_context_version() local_unnamed_addr #0 { %1 = tail call i32 @smp_cross_call(ptr noundef nonnull @xcall_new_mmu_context_version, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 ret void } declare i32 @smp_cross_call(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/arch/sparc/kernel/extr_smp_64.c_smp_new_mmu_context_version.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_64.c_smp_new_mmu_context_version.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xcall_new_mmu_context_version = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @smp_new_mmu_context_version() local_unnamed_addr #0 { %1 = tail call i32 @smp_cross_call(ptr noundef nonnull @xcall_new_mmu_context_version, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 ret void } declare i32 @smp_cross_call(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_arch_sparc_kernel_extr_smp_64.c_smp_new_mmu_context_version
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonmultithread.c_h2o_barrier_init.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonmultithread.c_h2o_barrier_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i64, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @h2o_barrier_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %4 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %3, ptr noundef null) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %6 = tail call i32 @pthread_cond_init(ptr noundef nonnull %5, ptr noundef null) #2 store i64 %1, ptr %0, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i64 %1, ptr %7, align 8, !tbaa !11 ret void } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonmultithread.c_h2o_barrier_init.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonmultithread.c_h2o_barrier_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @h2o_barrier_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 20 %4 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %3, ptr noundef null) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = tail call i32 @pthread_cond_init(ptr noundef nonnull %5, ptr noundef null) #2 store i64 %1, ptr %0, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %1, ptr %7, align 8, !tbaa !12 ret void } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8}
h2o_t_00unit_lib_common_extr_........libcommonmultithread.c_h2o_barrier_init
; ModuleID = 'AnghaBench/git/builtin/extr_submodule--helper.c_starts_with_dot_dot_slash.c' source_filename = "AnghaBench/git/builtin/extr_submodule--helper.c_starts_with_dot_dot_slash.c" target datalayout = "e-m:e-p270:32:32-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 @starts_with_dot_dot_slash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @starts_with_dot_dot_slash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 46 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 1 %6 = load i8, ptr %5, align 1, !tbaa !5 %7 = icmp eq i8 %6, 46 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 2 %10 = load i8, ptr %9, align 1, !tbaa !5 %11 = tail call i64 @is_dir_sep(i8 noundef signext %10) #2 %12 = icmp ne i64 %11, 0 %13 = zext i1 %12 to i32 br label %14 14: ; preds = %8, %4, %1 %15 = phi i32 [ 0, %4 ], [ 0, %1 ], [ %13, %8 ] ret i32 %15 } declare i64 @is_dir_sep(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/git/builtin/extr_submodule--helper.c_starts_with_dot_dot_slash.c' source_filename = "AnghaBench/git/builtin/extr_submodule--helper.c_starts_with_dot_dot_slash.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 @starts_with_dot_dot_slash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @starts_with_dot_dot_slash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 46 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 1 %6 = load i8, ptr %5, align 1, !tbaa !6 %7 = icmp eq i8 %6, 46 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 2 %10 = load i8, ptr %9, align 1, !tbaa !6 %11 = tail call i64 @is_dir_sep(i8 noundef signext %10) #2 %12 = icmp ne i64 %11, 0 %13 = zext i1 %12 to i32 br label %14 14: ; preds = %8, %4, %1 %15 = phi i32 [ 0, %4 ], [ 0, %1 ], [ %13, %8 ] ret i32 %15 } declare i64 @is_dir_sep(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
git_builtin_extr_submodule--helper.c_starts_with_dot_dot_slash
; ModuleID = 'AnghaBench/macvim/src/extr_syntax.c_syntax_sync_clear.c' source_filename = "AnghaBench/macvim/src/extr_syntax.c_syntax_sync_clear.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr, i64, i64, i64, i64, %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_10__ = type { i64 } @curwin = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @syntax_sync_clear], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @syntax_sync_clear() #0 { %1 = load ptr, ptr @curwin, align 8, !tbaa !5 %2 = load ptr, ptr %1, align 8, !tbaa !9 %3 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 6 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %0 %7 = zext nneg i32 %4 to i64 br label %8 8: ; preds = %6, %22 %9 = phi i64 [ %7, %6 ], [ %10, %22 ] %10 = add nsw i64 %9, -1 %11 = load ptr, ptr @curwin, align 8, !tbaa !5 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = tail call ptr @SYN_ITEMS(ptr noundef %12) #3 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %10 %15 = load i64, ptr %14, align 8, !tbaa !16 %16 = icmp eq i64 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %8 %18 = load ptr, ptr @curwin, align 8, !tbaa !5 %19 = load ptr, ptr %18, align 8, !tbaa !9 %20 = trunc i64 %10 to i32 %21 = tail call i32 @syn_remove_pattern(ptr noundef %19, i32 noundef %20) #3 br label %22 22: ; preds = %17, %8 %23 = icmp ugt i64 %9, 1 br i1 %23, label %8, label %24, !llvm.loop !18 24: ; preds = %22 %25 = load ptr, ptr @curwin, align 8, !tbaa !5 %26 = load ptr, ptr %25, align 8, !tbaa !9 br label %27 27: ; preds = %24, %0 %28 = phi ptr [ %26, %24 ], [ %2, %0 ] %29 = getelementptr inbounds %struct.TYPE_8__, ptr %28, i64 0, i32 2 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %28, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %29, i8 0, i64 32, i1 false) %31 = load ptr, ptr %30, align 8, !tbaa !20 %32 = tail call i32 @vim_regfree(ptr noundef %31) #3 %33 = load ptr, ptr @curwin, align 8, !tbaa !5 %34 = load ptr, ptr %33, align 8, !tbaa !9 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 0, i32 1 store ptr null, ptr %35, align 8, !tbaa !20 %36 = load ptr, ptr %34, align 8, !tbaa !21 %37 = tail call i32 @vim_free(ptr noundef %36) #3 %38 = load ptr, ptr @curwin, align 8, !tbaa !5 %39 = load ptr, ptr %38, align 8, !tbaa !9 store ptr null, ptr %39, align 8, !tbaa !21 %40 = load ptr, ptr @curwin, align 8, !tbaa !5 %41 = load ptr, ptr %40, align 8, !tbaa !9 %42 = tail call i32 @syn_stack_free_all(ptr noundef %41) #3 ret void } declare ptr @SYN_ITEMS(ptr noundef) local_unnamed_addr #1 declare i32 @syn_remove_pattern(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vim_regfree(ptr noundef) local_unnamed_addr #1 declare i32 @vim_free(ptr noundef) local_unnamed_addr #1 declare i32 @syn_stack_free_all(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_9__", !6, i64 0} !11 = !{!12, !15, i64 48} !12 = !{!"TYPE_8__", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48} !13 = !{!"long", !7, i64 0} !14 = !{!"TYPE_7__", !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_10__", !13, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!12, !6, i64 8} !21 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/macvim/src/extr_syntax.c_syntax_sync_clear.c' source_filename = "AnghaBench/macvim/src/extr_syntax.c_syntax_sync_clear.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i64 } @curwin = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @syntax_sync_clear], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @syntax_sync_clear() #0 { %1 = load ptr, ptr @curwin, align 8, !tbaa !6 %2 = load ptr, ptr %1, align 8, !tbaa !10 %3 = getelementptr inbounds i8, ptr %2, i64 48 %4 = load i32, ptr %3, align 8, !tbaa !12 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %0 %7 = zext nneg i32 %4 to i64 br label %8 8: ; preds = %6, %22 %9 = phi i64 [ %7, %6 ], [ %10, %22 ] %10 = add nsw i64 %9, -1 %11 = load ptr, ptr @curwin, align 8, !tbaa !6 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = tail call ptr @SYN_ITEMS(ptr noundef %12) #3 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %10 %15 = load i64, ptr %14, align 8, !tbaa !17 %16 = icmp eq i64 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %8 %18 = load ptr, ptr @curwin, align 8, !tbaa !6 %19 = load ptr, ptr %18, align 8, !tbaa !10 %20 = trunc nuw nsw i64 %10 to i32 %21 = tail call i32 @syn_remove_pattern(ptr noundef %19, i32 noundef %20) #3 br label %22 22: ; preds = %17, %8 %23 = icmp ugt i64 %9, 1 br i1 %23, label %8, label %24, !llvm.loop !19 24: ; preds = %22 %25 = load ptr, ptr @curwin, align 8, !tbaa !6 %26 = load ptr, ptr %25, align 8, !tbaa !10 br label %27 27: ; preds = %24, %0 %28 = phi ptr [ %26, %24 ], [ %2, %0 ] %29 = getelementptr inbounds i8, ptr %28, i64 16 %30 = getelementptr inbounds i8, ptr %28, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %29, i8 0, i64 32, i1 false) %31 = load ptr, ptr %30, align 8, !tbaa !21 %32 = tail call i32 @vim_regfree(ptr noundef %31) #3 %33 = load ptr, ptr @curwin, align 8, !tbaa !6 %34 = load ptr, ptr %33, align 8, !tbaa !10 %35 = getelementptr inbounds i8, ptr %34, i64 8 store ptr null, ptr %35, align 8, !tbaa !21 %36 = load ptr, ptr %34, align 8, !tbaa !22 %37 = tail call i32 @vim_free(ptr noundef %36) #3 %38 = load ptr, ptr @curwin, align 8, !tbaa !6 %39 = load ptr, ptr %38, align 8, !tbaa !10 store ptr null, ptr %39, align 8, !tbaa !22 %40 = load ptr, ptr @curwin, align 8, !tbaa !6 %41 = load ptr, ptr %40, align 8, !tbaa !10 %42 = tail call i32 @syn_stack_free_all(ptr noundef %41) #3 ret void } declare ptr @SYN_ITEMS(ptr noundef) local_unnamed_addr #1 declare i32 @syn_remove_pattern(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vim_regfree(ptr noundef) local_unnamed_addr #1 declare i32 @vim_free(ptr noundef) local_unnamed_addr #1 declare i32 @syn_stack_free_all(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_9__", !7, i64 0} !12 = !{!13, !16, i64 48} !13 = !{!"TYPE_8__", !7, i64 0, !7, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_7__", !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_10__", !14, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!13, !7, i64 8} !22 = !{!13, !7, i64 0}
macvim_src_extr_syntax.c_syntax_sync_clear
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_ethtool.c_get_adaptive_rx_setting.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_ethtool.c_get_adaptive_rx_setting.c" target datalayout = "e-m:e-p270:32:32-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.port_info = type { i64, ptr } %struct.sge_eth_rxq = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_adaptive_rx_setting], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_adaptive_rx_setting(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.port_info, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i64, ptr %2, align 8, !tbaa !14 %7 = getelementptr inbounds %struct.sge_eth_rxq, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !15 ret i32 %8 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"port_info", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"adapter", !13, i64 0} !13 = !{!"TYPE_3__", !10, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !18, i64 0} !16 = !{!"sge_eth_rxq", !17, i64 0} !17 = !{!"TYPE_4__", !18, i64 0} !18 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_ethtool.c_get_adaptive_rx_setting.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_ethtool.c_get_adaptive_rx_setting.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sge_eth_rxq = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @get_adaptive_rx_setting], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_adaptive_rx_setting(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr %2, align 8, !tbaa !15 %7 = getelementptr inbounds %struct.sge_eth_rxq, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !16 ret i32 %8 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"port_info", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"adapter", !14, i64 0} !14 = !{!"TYPE_3__", !11, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !19, i64 0} !17 = !{!"sge_eth_rxq", !18, i64 0} !18 = !{!"TYPE_4__", !19, i64 0} !19 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_chelsio_cxgb4_extr_cxgb4_ethtool.c_get_adaptive_rx_setting
; ModuleID = 'AnghaBench/lab/engine/code/client/extr_cl_keys.c_Key_KeynumToString.c' source_filename = "AnghaBench/lab/engine/code/client/extr_cl_keys.c_Key_KeynumToString.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i8*, i32 } @Key_KeynumToString.tinystr = internal global [5 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [16 x i8] c"<KEY NOT FOUND>\00", align 1 @MAX_KEYS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"<OUT OF RANGE>\00", align 1 @keynames = dso_local local_unnamed_addr global %struct.TYPE_3__* null, align 8 ; Function Attrs: nofree norecurse nosync nounwind uwtable define dso_local i8* @Key_KeynumToString(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, -1 br i1 %2, label %47, label %3 3: ; preds = %1 %4 = icmp sgt i32 %0, -1 %5 = load i32, i32* @MAX_KEYS, align 4 %6 = icmp sgt i32 %5, %0 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %8, label %47 8: ; preds = %3 %9 = add nsw i32 %0, -33 %10 = icmp ult i32 %9, 94 br i1 %10, label %11, label %12 11: ; preds = %8 switch i32 %0, label %42 [ i32 59, label %12 i32 34, label %12 ] 12: ; preds = %11, %11, %8 %13 = load %struct.TYPE_3__*, %struct.TYPE_3__** @keynames, align 8, !tbaa !5 %14 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %13, i64 0, i32 0 %15 = load i8*, i8** %14, align 8, !tbaa !9 %16 = icmp eq i8* %15, null br i1 %16, label %31, label %17 17: ; preds = %12 %18 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %13, i64 0, i32 1 %19 = load i32, i32* %18, align 8, !tbaa !12 %20 = icmp eq i32 %19, %0 br i1 %20, label %47, label %21 21: ; preds = %17, %27 %22 = phi %struct.TYPE_3__* [ %23, %27 ], [ %13, %17 ] %23 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %22, i64 1 %24 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %23, i64 0, i32 0 %25 = load i8*, i8** %24, align 8, !tbaa !9 %26 = icmp eq i8* %25, null br i1 %26, label %31, label %27, !llvm.loop !13 27: ; preds = %21 %28 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %22, i64 1, i32 1 %29 = load i32, i32* %28, align 8, !tbaa !12 %30 = icmp eq i32 %29, %0 br i1 %30, label %47, label %21, !llvm.loop !13 31: ; preds = %21, %12 %32 = lshr i32 %0, 4 %33 = and i32 %0, 15 store i8 48, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 0), align 1, !tbaa !15 store i8 120, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 1), align 1, !tbaa !15 %34 = icmp sgt i32 %0, 159 %35 = select i1 %34, i32 87, i32 48 %36 = add nuw nsw i32 %35, %32 %37 = trunc i32 %36 to i8 store i8 %37, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 2), align 1, !tbaa !15 %38 = icmp ugt i32 %33, 9 %39 = add nuw nsw i32 %33, 87 %40 = or i32 %33, 48 %41 = select i1 %38, i32 %39, i32 %40 br label %42 42: ; preds = %11, %31 %43 = phi i32 [ %41, %31 ], [ %0, %11 ] %44 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 3), %31 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 0), %11 ] %45 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 4), %31 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 1), %11 ] %46 = trunc i32 %43 to i8 store i8 %46, i8* %44, align 1, !tbaa !15 store i8 0, i8* %45, align 1, !tbaa !15 br label %47 47: ; preds = %27, %17, %42, %3, %1 %48 = phi i8* [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), %1 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), %3 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @Key_KeynumToString.tinystr, i64 0, i64 0), %42 ], [ %15, %17 ], [ %25, %27 ] ret i8* %48 } attributes #0 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/client/extr_cl_keys.c_Key_KeynumToString.c' source_filename = "AnghaBench/lab/engine/code/client/extr_cl_keys.c_Key_KeynumToString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Key_KeynumToString.tinystr = internal global [5 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [16 x i8] c"<KEY NOT FOUND>\00", align 1 @MAX_KEYS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"<OUT OF RANGE>\00", align 1 @keynames = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define nonnull ptr @Key_KeynumToString(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, -1 br i1 %2, label %46, label %3 3: ; preds = %1 %4 = icmp sgt i32 %0, -1 %5 = load i32, ptr @MAX_KEYS, align 4 %6 = icmp sgt i32 %5, %0 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %8, label %46 8: ; preds = %3 %9 = add nsw i32 %0, -33 %10 = icmp ult i32 %9, 94 br i1 %10, label %11, label %12 11: ; preds = %8 switch i32 %0, label %41 [ i32 59, label %12 i32 34, label %12 ] 12: ; preds = %11, %11, %8 %13 = load ptr, ptr @keynames, align 8, !tbaa !6 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = icmp eq ptr %14, null br i1 %15, label %29, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %13, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = icmp eq i32 %18, %0 br i1 %19, label %46, label %20 20: ; preds = %16, %25 %21 = phi ptr [ %22, %25 ], [ %13, %16 ] %22 = getelementptr inbounds i8, ptr %21, i64 16 %23 = load ptr, ptr %22, align 8, !tbaa !10 %24 = icmp eq ptr %23, null br i1 %24, label %29, label %25, !llvm.loop !14 25: ; preds = %20 %26 = getelementptr inbounds i8, ptr %21, i64 24 %27 = load i32, ptr %26, align 8, !tbaa !13 %28 = icmp eq i32 %27, %0 br i1 %28, label %46, label %20, !llvm.loop !14 29: ; preds = %20, %12 %30 = lshr i32 %0, 4 %31 = and i32 %0, 15 store i8 48, ptr @Key_KeynumToString.tinystr, align 1, !tbaa !16 store i8 120, ptr getelementptr inbounds (i8, ptr @Key_KeynumToString.tinystr, i64 1), align 1, !tbaa !16 %32 = icmp ugt i32 %0, 159 %33 = add nuw nsw i32 %30, 87 %34 = or disjoint i32 %30, 48 %35 = select i1 %32, i32 %33, i32 %34 %36 = trunc i32 %35 to i8 store i8 %36, ptr getelementptr inbounds (i8, ptr @Key_KeynumToString.tinystr, i64 2), align 1, !tbaa !16 %37 = icmp ugt i32 %31, 9 %38 = add nuw nsw i32 %31, 87 %39 = or disjoint i32 %31, 48 %40 = select i1 %37, i32 %38, i32 %39 br label %41 41: ; preds = %11, %29 %42 = phi i32 [ %40, %29 ], [ %0, %11 ] %43 = phi ptr [ getelementptr inbounds (i8, ptr @Key_KeynumToString.tinystr, i64 3), %29 ], [ @Key_KeynumToString.tinystr, %11 ] %44 = phi ptr [ getelementptr inbounds (i8, ptr @Key_KeynumToString.tinystr, i64 4), %29 ], [ getelementptr inbounds (i8, ptr @Key_KeynumToString.tinystr, i64 1), %11 ] %45 = trunc nuw nsw i32 %42 to i8 store i8 %45, ptr %43, align 1, !tbaa !16 store i8 0, ptr %44, align 1, !tbaa !16 br label %46 46: ; preds = %25, %16, %41, %3, %1 %47 = phi ptr [ @.str, %1 ], [ @.str.1, %3 ], [ @Key_KeynumToString.tinystr, %41 ], [ %14, %16 ], [ %23, %25 ] ret ptr %47 } 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, !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_3__", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!8, !8, i64 0}
lab_engine_code_client_extr_cl_keys.c_Key_KeynumToString
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/demux/extr_demux.c_WebPGetDemuxVersion.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/demux/extr_demux.c_WebPGetDemuxVersion.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DMUX_MAJ_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @DMUX_MIN_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @DMUX_REV_VERSION = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @WebPGetDemuxVersion() local_unnamed_addr #0 { %1 = load i32, ptr @DMUX_MAJ_VERSION, align 4, !tbaa !5 %2 = shl i32 %1, 16 %3 = load i32, ptr @DMUX_MIN_VERSION, align 4, !tbaa !5 %4 = shl i32 %3, 8 %5 = or i32 %4, %2 %6 = load i32, ptr @DMUX_REV_VERSION, align 4, !tbaa !5 %7 = or i32 %5, %6 ret i32 %7 } 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/sumatrapdf/ext/libwebp/src/demux/extr_demux.c_WebPGetDemuxVersion.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/demux/extr_demux.c_WebPGetDemuxVersion.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMUX_MAJ_VERSION = common local_unnamed_addr global i32 0, align 4 @DMUX_MIN_VERSION = common local_unnamed_addr global i32 0, align 4 @DMUX_REV_VERSION = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @WebPGetDemuxVersion() local_unnamed_addr #0 { %1 = load i32, ptr @DMUX_MAJ_VERSION, align 4, !tbaa !6 %2 = shl i32 %1, 16 %3 = load i32, ptr @DMUX_MIN_VERSION, align 4, !tbaa !6 %4 = shl i32 %3, 8 %5 = or i32 %4, %2 %6 = load i32, ptr @DMUX_REV_VERSION, align 4, !tbaa !6 %7 = or i32 %5, %6 ret i32 %7 } 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"}
sumatrapdf_ext_libwebp_src_demux_extr_demux.c_WebPGetDemuxVersion
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_wait_for_vblank.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_wait_for_vblank.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_wait_for_vblank], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @intel_wait_for_vblank(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @drm_wait_one_vblank(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @drm_wait_one_vblank(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)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_wait_for_vblank.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_wait_for_vblank.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @intel_wait_for_vblank], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @intel_wait_for_vblank(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @drm_wait_one_vblank(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @drm_wait_one_vblank(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)"}
linux_drivers_gpu_drm_i915_extr_displayintel_display_types.h_intel_wait_for_vblank
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5c_recovery_load_one_stripe.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5c_recovery_load_one_stripe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.stripe_head = type { i32, ptr } %struct.r5dev = type { i32 } @R5_Wantwrite = dso_local local_unnamed_addr global i32 0, align 4 @R5_InJournal = dso_local local_unnamed_addr global i32 0, align 4 @R5_UPTODATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @r5c_recovery_load_one_stripe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @r5c_recovery_load_one_stripe(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %24, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.stripe_head, ptr %1, i64 0, i32 1 %7 = sext i32 %3 to i64 br label %8 8: ; preds = %5, %21 %9 = phi i64 [ %7, %5 ], [ %10, %21 ] %10 = add nsw i64 %9, -1 %11 = load ptr, ptr %6, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.r5dev, ptr %11, i64 %10 %13 = load i32, ptr @R5_Wantwrite, align 4, !tbaa !12 %14 = tail call i64 @test_and_clear_bit(i32 noundef %13, ptr noundef %12) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %8 %17 = load i32, ptr @R5_InJournal, align 4, !tbaa !12 %18 = tail call i32 @set_bit(i32 noundef %17, ptr noundef %12) #2 %19 = load i32, ptr @R5_UPTODATE, align 4, !tbaa !12 %20 = tail call i32 @set_bit(i32 noundef %19, ptr noundef %12) #2 br label %21 21: ; preds = %16, %8 %22 = and i64 %10, 4294967295 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %8, !llvm.loop !13 24: ; preds = %21, %2 ret void } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"stripe_head", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5c_recovery_load_one_stripe.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5c_recovery_load_one_stripe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.r5dev = type { i32 } @R5_Wantwrite = common local_unnamed_addr global i32 0, align 4 @R5_InJournal = common local_unnamed_addr global i32 0, align 4 @R5_UPTODATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @r5c_recovery_load_one_stripe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @r5c_recovery_load_one_stripe(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %23, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = sext i32 %3 to i64 br label %8 8: ; preds = %5, %21 %9 = phi i64 [ %7, %5 ], [ %10, %21 ] %10 = add nsw i64 %9, -1 %11 = load ptr, ptr %6, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.r5dev, ptr %11, i64 %10 %13 = load i32, ptr @R5_Wantwrite, align 4, !tbaa !13 %14 = tail call i64 @test_and_clear_bit(i32 noundef %13, ptr noundef %12) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %8 %17 = load i32, ptr @R5_InJournal, align 4, !tbaa !13 %18 = tail call i32 @set_bit(i32 noundef %17, ptr noundef %12) #2 %19 = load i32, ptr @R5_UPTODATE, align 4, !tbaa !13 %20 = tail call i32 @set_bit(i32 noundef %19, ptr noundef %12) #2 br label %21 21: ; preds = %16, %8 %22 = icmp eq i64 %10, 0 br i1 %22, label %23, label %8, !llvm.loop !14 23: ; preds = %21, %2 ret void } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"stripe_head", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_drivers_md_extr_raid5-cache.c_r5c_recovery_load_one_stripe
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_set_acl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_set_acl.c" target datalayout = "e-m:e-p270:32:32-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.inode = type { i32, i32 } @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @POSIX_ACL_XATTR_ACCESS = dso_local local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_DEFAULT = dso_local local_unnamed_addr global ptr null, align 8 @EACCES = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENODATA = dso_local local_unnamed_addr global i32 0, align 4 @CURRENT_TIME_SEC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @reiserfs_set_acl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @reiserfs_set_acl(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = tail call i64 @S_ISLNK(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12 %13 = sub nsw i32 0, %12 br label %71 14: ; preds = %4 switch i32 %2, label %36 [ i32 129, label %15 i32 128, label %26 ] 15: ; preds = %14 %16 = load ptr, ptr @POSIX_ACL_XATTR_ACCESS, align 8, !tbaa !13 %17 = icmp eq ptr %3, null br i1 %17, label %50, label %18 18: ; preds = %15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %19 = load i32, ptr %7, align 4, !tbaa !9 store i32 %19, ptr %6, align 4, !tbaa !12 %20 = call i32 @posix_acl_equiv_mode(ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %21 = icmp sgt i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %6, align 4, !tbaa !12 store i32 %23, ptr %7, align 4, !tbaa !9 %24 = icmp eq i32 %20, 0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br i1 %24, label %50, label %40 25: ; preds = %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %71 26: ; preds = %14 %27 = load ptr, ptr @POSIX_ACL_XATTR_DEFAULT, align 8, !tbaa !13 %28 = load i32, ptr %7, align 4, !tbaa !9 %29 = tail call i32 @S_ISDIR(i32 noundef %28) #3 %30 = icmp eq i32 %29, 0 %31 = icmp eq ptr %3, null br i1 %30, label %32, label %39 32: ; preds = %26 %33 = load i32, ptr @EACCES, align 4 %34 = sub nsw i32 0, %33 %35 = select i1 %31, i32 0, i32 %34 br label %71 36: ; preds = %14 %37 = load i32, ptr @EINVAL, align 4, !tbaa !12 %38 = sub nsw i32 0, %37 br label %71 39: ; preds = %26 br i1 %31, label %50, label %40 40: ; preds = %22, %39 %41 = phi ptr [ %27, %39 ], [ %16, %22 ] %42 = call ptr @posix_acl_to_disk(ptr noundef nonnull %3, ptr noundef nonnull %5) #3 %43 = call i64 @IS_ERR(ptr noundef %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = load i64, ptr %5, align 8, !tbaa !5 br label %50 47: ; preds = %40 %48 = call i64 @PTR_ERR(ptr noundef %42) #3 %49 = trunc i64 %48 to i32 br label %71 50: ; preds = %45, %22, %15, %39 %51 = phi i64 [ %46, %45 ], [ 0, %39 ], [ 0, %15 ], [ 0, %22 ] %52 = phi ptr [ %41, %45 ], [ %27, %39 ], [ %16, %15 ], [ %16, %22 ] %53 = phi ptr [ %3, %45 ], [ null, %39 ], [ null, %15 ], [ null, %22 ] %54 = phi ptr [ %42, %45 ], [ null, %39 ], [ null, %15 ], [ null, %22 ] %55 = call i32 @reiserfs_xattr_set_handle(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %52, ptr noundef %54, i64 noundef %51, i32 noundef 0) #3 %56 = load i32, ptr @ENODATA, align 4, !tbaa !12 %57 = sub nsw i32 0, %56 %58 = icmp eq i32 %55, %57 br i1 %58, label %59, label %66 59: ; preds = %50 %60 = icmp eq i32 %2, 129 br i1 %60, label %61, label %64 61: ; preds = %59 %62 = load i32, ptr @CURRENT_TIME_SEC, align 4, !tbaa !12 store i32 %62, ptr %1, align 4, !tbaa !15 %63 = call i32 @mark_inode_dirty(ptr noundef nonnull %1) #3 br label %64 64: ; preds = %61, %59 %65 = call i32 @kfree(ptr noundef %54) #3 br label %69 66: ; preds = %50 %67 = call i32 @kfree(ptr noundef %54) #3 %68 = icmp eq i32 %55, 0 br i1 %68, label %69, label %71 69: ; preds = %64, %66 %70 = call i32 @set_cached_acl(ptr noundef nonnull %1, i32 noundef %2, ptr noundef %53) #3 br label %71 71: ; preds = %25, %66, %69, %47, %36, %32, %11 %72 = phi i32 [ %13, %11 ], [ %38, %36 ], [ %49, %47 ], [ %35, %32 ], [ %20, %25 ], [ 0, %69 ], [ %55, %66 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @posix_acl_equiv_mode(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare ptr @posix_acl_to_disk(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @reiserfs_xattr_set_handle(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mark_inode_dirty(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @set_cached_acl(ptr 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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"inode", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_set_acl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_set_acl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @POSIX_ACL_XATTR_ACCESS = common local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_DEFAULT = common local_unnamed_addr global ptr null, align 8 @EACCES = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENODATA = common local_unnamed_addr global i32 0, align 4 @CURRENT_TIME_SEC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @reiserfs_set_acl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @reiserfs_set_acl(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i64 @S_ISLNK(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13 %13 = sub nsw i32 0, %12 br label %71 14: ; preds = %4 switch i32 %2, label %36 [ i32 129, label %15 i32 128, label %26 ] 15: ; preds = %14 %16 = load ptr, ptr @POSIX_ACL_XATTR_ACCESS, align 8, !tbaa !14 %17 = icmp eq ptr %3, null br i1 %17, label %50, label %18 18: ; preds = %15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %19 = load i32, ptr %7, align 4, !tbaa !10 store i32 %19, ptr %6, align 4, !tbaa !13 %20 = call i32 @posix_acl_equiv_mode(ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %21 = icmp sgt i32 %20, -1 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %6, align 4, !tbaa !13 store i32 %23, ptr %7, align 4, !tbaa !10 %24 = icmp eq i32 %20, 0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br i1 %24, label %50, label %40 25: ; preds = %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %71 26: ; preds = %14 %27 = load ptr, ptr @POSIX_ACL_XATTR_DEFAULT, align 8, !tbaa !14 %28 = load i32, ptr %7, align 4, !tbaa !10 %29 = tail call i32 @S_ISDIR(i32 noundef %28) #3 %30 = icmp eq i32 %29, 0 %31 = icmp eq ptr %3, null br i1 %30, label %32, label %39 32: ; preds = %26 %33 = load i32, ptr @EACCES, align 4 %34 = sub nsw i32 0, %33 %35 = select i1 %31, i32 0, i32 %34 br label %71 36: ; preds = %14 %37 = load i32, ptr @EINVAL, align 4, !tbaa !13 %38 = sub nsw i32 0, %37 br label %71 39: ; preds = %26 br i1 %31, label %50, label %40 40: ; preds = %22, %39 %41 = phi ptr [ %27, %39 ], [ %16, %22 ] %42 = call ptr @posix_acl_to_disk(ptr noundef nonnull %3, ptr noundef nonnull %5) #3 %43 = call i64 @IS_ERR(ptr noundef %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = load i64, ptr %5, align 8, !tbaa !6 br label %50 47: ; preds = %40 %48 = call i64 @PTR_ERR(ptr noundef %42) #3 %49 = trunc i64 %48 to i32 br label %71 50: ; preds = %45, %22, %15, %39 %51 = phi i64 [ %46, %45 ], [ 0, %39 ], [ 0, %15 ], [ 0, %22 ] %52 = phi ptr [ %41, %45 ], [ %27, %39 ], [ %16, %15 ], [ %16, %22 ] %53 = phi ptr [ %3, %45 ], [ null, %39 ], [ null, %15 ], [ null, %22 ] %54 = phi ptr [ %42, %45 ], [ null, %39 ], [ null, %15 ], [ null, %22 ] %55 = call i32 @reiserfs_xattr_set_handle(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %52, ptr noundef %54, i64 noundef %51, i32 noundef 0) #3 %56 = load i32, ptr @ENODATA, align 4, !tbaa !13 %57 = sub nsw i32 0, %56 %58 = icmp eq i32 %55, %57 br i1 %58, label %59, label %66 59: ; preds = %50 %60 = icmp eq i32 %2, 129 br i1 %60, label %61, label %64 61: ; preds = %59 %62 = load i32, ptr @CURRENT_TIME_SEC, align 4, !tbaa !13 store i32 %62, ptr %1, align 4, !tbaa !16 %63 = call i32 @mark_inode_dirty(ptr noundef nonnull %1) #3 br label %64 64: ; preds = %61, %59 %65 = call i32 @kfree(ptr noundef %54) #3 br label %69 66: ; preds = %50 %67 = call i32 @kfree(ptr noundef %54) #3 %68 = icmp eq i32 %55, 0 br i1 %68, label %69, label %71 69: ; preds = %64, %66 %70 = call i32 @set_cached_acl(ptr noundef nonnull %1, i32 noundef %2, ptr noundef %53) #3 br label %71 71: ; preds = %25, %66, %69, %47, %36, %32, %11 %72 = phi i32 [ %13, %11 ], [ %38, %36 ], [ %49, %47 ], [ %35, %32 ], [ %20, %25 ], [ 0, %69 ], [ %55, %66 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @posix_acl_equiv_mode(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare ptr @posix_acl_to_disk(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @reiserfs_xattr_set_handle(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mark_inode_dirty(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @set_cached_acl(ptr 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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"inode", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!11, !12, i64 0}
fastsocket_kernel_fs_reiserfs_extr_xattr_acl.c_reiserfs_set_acl
; ModuleID = 'AnghaBench/freebsd/lib/libfigpar/extr_string_m.c_strtolower.c' source_filename = "AnghaBench/freebsd/lib/libfigpar/extr_string_m.c_strtolower.c" target datalayout = "e-m:e-p270:32:32-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 @strtolower(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = icmp eq i8 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3, %6 %7 = phi i8 [ %11, %6 ], [ %4, %3 ] %8 = phi ptr [ %10, %6 ], [ %0, %3 ] %9 = tail call signext i8 @tolower(i8 noundef signext %7) #2 store i8 %9, ptr %8, align 1, !tbaa !5 %10 = getelementptr inbounds i8, ptr %8, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !5 %12 = icmp eq i8 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !8 13: ; preds = %6, %3, %1 ret void } declare signext i8 @tolower(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/libfigpar/extr_string_m.c_strtolower.c' source_filename = "AnghaBench/freebsd/lib/libfigpar/extr_string_m.c_strtolower.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 @strtolower(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = icmp eq i8 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3, %6 %7 = phi i8 [ %11, %6 ], [ %4, %3 ] %8 = phi ptr [ %10, %6 ], [ %0, %3 ] %9 = tail call signext i8 @tolower(i8 noundef signext %7) #2 store i8 %9, ptr %8, align 1, !tbaa !6 %10 = getelementptr inbounds i8, ptr %8, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !6 %12 = icmp eq i8 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !9 13: ; preds = %6, %3, %1 ret void } declare signext i8 @tolower(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_lib_libfigpar_extr_string_m.c_strtolower
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/config/linux/extr_lock.c_gomp_tid.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/config/linux/extr_lock.c_gomp_tid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SYS_gettid = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gomp_tid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @gomp_tid() #0 { %1 = load i32, ptr @SYS_gettid, align 4, !tbaa !5 %2 = tail call i32 @syscall(i32 noundef %1) #2 ret i32 %2 } declare i32 @syscall(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libgomp/config/linux/extr_lock.c_gomp_tid.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libgomp/config/linux/extr_lock.c_gomp_tid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_gettid = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gomp_tid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @gomp_tid() #0 { %1 = load i32, ptr @SYS_gettid, align 4, !tbaa !6 %2 = tail call i32 @syscall(i32 noundef %1) #2 ret i32 %2 } declare i32 @syscall(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gcclibs_libgomp_config_linux_extr_lock.c_gomp_tid
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_queue_page_list.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_queue_page_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.gve_priv = type { i32, ptr, ptr } %struct.gve_queue_page_list = type { i32, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @gve_free_queue_page_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gve_free_queue_page_list(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.gve_priv, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds %struct.gve_queue_page_list, ptr %4, i64 %5 %7 = getelementptr inbounds %struct.gve_queue_page_list, ptr %4, i64 %5, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %46, label %10 10: ; preds = %2 %11 = getelementptr inbounds %struct.gve_queue_page_list, ptr %4, i64 %5, i32 2 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %40, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 8, !tbaa !14 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %36 17: ; preds = %14 %18 = getelementptr inbounds %struct.gve_priv, ptr %0, i64 0, i32 1 br label %19 19: ; preds = %17, %19 %20 = phi i64 [ 0, %17 ], [ %30, %19 ] %21 = load ptr, ptr %18, align 8, !tbaa !15 %22 = load ptr, ptr %7, align 8, !tbaa !11 %23 = getelementptr inbounds i32, ptr %22, i64 %20 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = load ptr, ptr %11, align 8, !tbaa !13 %26 = getelementptr inbounds i32, ptr %25, i64 %20 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = tail call i32 @gve_qpl_dma_dir(ptr noundef nonnull %0, i32 noundef %1) #2 %29 = tail call i32 @gve_free_page(ptr noundef %21, i32 noundef %24, i32 noundef %27, i32 noundef %28) #2 %30 = add nuw nsw i64 %20, 1 %31 = load i32, ptr %6, align 8, !tbaa !14 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %19, label %34, !llvm.loop !17 34: ; preds = %19 %35 = load ptr, ptr %11, align 8, !tbaa !13 br label %36 36: ; preds = %34, %14 %37 = phi ptr [ %35, %34 ], [ %12, %14 ] %38 = tail call i32 @kvfree(ptr noundef %37) #2 %39 = load ptr, ptr %7, align 8, !tbaa !11 br label %40 40: ; preds = %10, %36 %41 = phi ptr [ %8, %10 ], [ %39, %36 ] %42 = tail call i32 @kvfree(ptr noundef %41) #2 %43 = load i32, ptr %6, align 8, !tbaa !14 %44 = load i32, ptr %0, align 8, !tbaa !19 %45 = sub nsw i32 %44, %43 store i32 %45, ptr %0, align 8, !tbaa !19 br label %46 46: ; preds = %2, %40 ret void } declare i32 @gve_free_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gve_qpl_dma_dir(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"gve_priv", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"gve_queue_page_list", !7, i64 0, !10, i64 8, !10, i64 16} !13 = !{!12, !10, i64 16} !14 = !{!12, !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!7, !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_queue_page_list.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_free_queue_page_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.gve_queue_page_list = type { i32, ptr, ptr } @llvm.used = appending global [1 x ptr] [ptr @gve_free_queue_page_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gve_free_queue_page_list(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds %struct.gve_queue_page_list, ptr %4, i64 %5 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %46, label %10 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %6, i64 16 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = icmp eq ptr %12, null br i1 %13, label %40, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 8, !tbaa !15 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %36 17: ; preds = %14 %18 = getelementptr inbounds i8, ptr %0, i64 8 br label %19 19: ; preds = %17, %19 %20 = phi i64 [ 0, %17 ], [ %30, %19 ] %21 = load ptr, ptr %18, align 8, !tbaa !16 %22 = load ptr, ptr %7, align 8, !tbaa !12 %23 = getelementptr inbounds i32, ptr %22, i64 %20 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = load ptr, ptr %11, align 8, !tbaa !14 %26 = getelementptr inbounds i32, ptr %25, i64 %20 %27 = load i32, ptr %26, align 4, !tbaa !17 %28 = tail call i32 @gve_qpl_dma_dir(ptr noundef nonnull %0, i32 noundef %1) #2 %29 = tail call i32 @gve_free_page(ptr noundef %21, i32 noundef %24, i32 noundef %27, i32 noundef %28) #2 %30 = add nuw nsw i64 %20, 1 %31 = load i32, ptr %6, align 8, !tbaa !15 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %19, label %34, !llvm.loop !18 34: ; preds = %19 %35 = load ptr, ptr %11, align 8, !tbaa !14 br label %36 36: ; preds = %34, %14 %37 = phi ptr [ %35, %34 ], [ %12, %14 ] %38 = tail call i32 @kvfree(ptr noundef %37) #2 %39 = load ptr, ptr %7, align 8, !tbaa !12 br label %40 40: ; preds = %10, %36 %41 = phi ptr [ %8, %10 ], [ %39, %36 ] %42 = tail call i32 @kvfree(ptr noundef %41) #2 %43 = load i32, ptr %6, align 8, !tbaa !15 %44 = load i32, ptr %0, align 8, !tbaa !20 %45 = sub nsw i32 %44, %43 store i32 %45, ptr %0, align 8, !tbaa !20 br label %46 46: ; preds = %2, %40 ret void } declare i32 @gve_free_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gve_qpl_dma_dir(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"gve_priv", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"gve_queue_page_list", !8, i64 0, !11, i64 8, !11, i64 16} !14 = !{!13, !11, i64 16} !15 = !{!13, !8, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!8, !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_google_gve_extr_gve_main.c_gve_free_queue_page_list
; ModuleID = 'AnghaBench/linux/net/sctp/extr_sm_statefuns.c_sctp_sf_do_5_1B_init.c' source_filename = "AnghaBench/linux/net/sctp/extr_sm_statefuns.c_sctp_sf_do_5_1B_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sctp_chunk = type { ptr, ptr, %struct.TYPE_14__, %struct.TYPE_13__, ptr, i32 } %struct.TYPE_14__ = type { i32 } %struct.TYPE_13__ = type { ptr } %struct.TYPE_15__ = type { i32, i32 } @SCTP_MIB_OUTOFBLUES = dso_local local_unnamed_addr global i32 0, align 4 @CLOSING = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_CMD_SEND_PKT = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_MIB_OUTCTRLCHUNKS = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_CONSUME = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_NOMEM = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_CMD_NEW_ASOC = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_CMD_REPLY = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_CMD_DELETE_TCB = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_DELETE_TCB = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sctp_sf_do_5_1B_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = getelementptr inbounds %struct.sctp_chunk, ptr %4, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = tail call i64 @security_sctp_assoc_request(ptr noundef %1, ptr noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = tail call i32 @sctp_sf_pdiscard(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 14: ; preds = %6 %15 = getelementptr inbounds %struct.sctp_chunk, ptr %4, i64 0, i32 5 %16 = load i32, ptr %15, align 8, !tbaa !13 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = tail call i32 @sctp_sf_pdiscard(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 20: ; preds = %14 %21 = load i32, ptr %0, align 4, !tbaa !14 %22 = tail call ptr @sctp_sk(i32 noundef %21) #3 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = icmp eq ptr %23, %1 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @SCTP_MIB_OUTOFBLUES, align 4, !tbaa !19 %27 = tail call i32 @SCTP_INC_STATS(ptr noundef nonnull %0, i32 noundef %26) #3 %28 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 29: ; preds = %20 %30 = getelementptr inbounds %struct.sctp_chunk, ptr %4, i64 0, i32 4 %31 = load ptr, ptr %30, align 8, !tbaa !20 %32 = load i64, ptr %31, align 8, !tbaa !21 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %29 %35 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 36: ; preds = %29 %37 = tail call i32 @sctp_chunk_length_valid(ptr noundef nonnull %4, i32 noundef 4) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = tail call i32 @sctp_sf_pdiscard(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 41: ; preds = %36 %42 = load i32, ptr %1, align 4, !tbaa !24 %43 = load i32, ptr @CLOSING, align 4, !tbaa !19 %44 = tail call i64 @sctp_sstate(i32 noundef %42, i32 noundef %43) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %41 %47 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 48: ; preds = %41 store ptr null, ptr %7, align 8, !tbaa !27 %49 = load ptr, ptr %4, align 8, !tbaa !28 %50 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 0, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !29 %52 = call i32 @sctp_verify_init(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %51, ptr noundef %49, ptr noundef nonnull %4, ptr noundef nonnull %7) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %78 54: ; preds = %48 %55 = load ptr, ptr %7, align 8, !tbaa !27 %56 = icmp eq ptr %55, null br i1 %56, label %76, label %57 57: ; preds = %54 %58 = load ptr, ptr %55, align 8, !tbaa !28 %59 = getelementptr inbounds i32, ptr %58, i64 4 %60 = load i32, ptr %58, align 4, !tbaa !31 %61 = call i32 @ntohs(i32 noundef %60) #3 %62 = add i32 %61, -4 %63 = call ptr @sctp_abort_pkt_new(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %59, i32 noundef %62) #3 %64 = load ptr, ptr %7, align 8, !tbaa !27 %65 = call i32 @sctp_chunk_free(ptr noundef %64) #3 %66 = icmp eq ptr %63, null br i1 %66, label %74, label %67 67: ; preds = %57 %68 = load i32, ptr @SCTP_CMD_SEND_PKT, align 4, !tbaa !19 %69 = call i32 @SCTP_PACKET(ptr noundef nonnull %63) #3 %70 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %68, i32 noundef %69) #3 %71 = load i32, ptr @SCTP_MIB_OUTCTRLCHUNKS, align 4, !tbaa !19 %72 = call i32 @SCTP_INC_STATS(ptr noundef nonnull %0, i32 noundef %71) #3 %73 = load i32, ptr @SCTP_DISPOSITION_CONSUME, align 4, !tbaa !19 br label %142 74: ; preds = %57 %75 = load i32, ptr @SCTP_DISPOSITION_NOMEM, align 4, !tbaa !19 br label %142 76: ; preds = %54 %77 = call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 %3, ptr noundef nonnull %4, ptr noundef %5) #3 br label %142 78: ; preds = %48 %79 = load ptr, ptr %8, align 8, !tbaa !5 %80 = load i64, ptr %79, align 8, !tbaa !32 %81 = inttoptr i64 %80 to ptr %82 = getelementptr inbounds %struct.sctp_chunk, ptr %4, i64 0, i32 3 store ptr %81, ptr %82, align 8, !tbaa !34 %83 = call i32 @skb_pull(ptr noundef nonnull %79, i32 noundef 4) #3 %84 = getelementptr inbounds %struct.sctp_chunk, ptr %4, i64 0, i32 2 store i32 %83, ptr %84, align 8, !tbaa !35 %85 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !19 %86 = call ptr @sctp_make_temp_asoc(ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef %85) #3 %87 = icmp eq ptr %86, null br i1 %87, label %135, label %88 88: ; preds = %78 %89 = call i32 @sctp_source(ptr noundef nonnull %4) #3 %90 = call i32 @sctp_scope(i32 noundef %89) #3 %91 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !19 %92 = call i64 @sctp_assoc_set_bind_addr_from_ep(ptr noundef nonnull %86, i32 noundef %90, i32 noundef %91) #3 %93 = icmp slt i64 %92, 0 br i1 %93, label %133, label %94 94: ; preds = %88 %95 = call i32 @sctp_source(ptr noundef nonnull %4) #3 %96 = load ptr, ptr %4, align 8, !tbaa !28 %97 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !19 %98 = call i32 @sctp_process_init(ptr noundef nonnull %86, ptr noundef nonnull %4, i32 noundef %95, ptr noundef %96, i32 noundef %97) #3 %99 = icmp eq i32 %98, 0 br i1 %99, label %133, label %100 100: ; preds = %94 %101 = load ptr, ptr %7, align 8, !tbaa !27 %102 = icmp eq ptr %101, null br i1 %102, label %108, label %103 103: ; preds = %100 %104 = load ptr, ptr %101, align 8, !tbaa !28 %105 = load i32, ptr %104, align 4, !tbaa !31 %106 = call i32 @ntohs(i32 noundef %105) #3 %107 = add i32 %106, -4 br label %108 108: ; preds = %103, %100 %109 = phi i32 [ %107, %103 ], [ 0, %100 ] %110 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !19 %111 = call ptr @sctp_make_init_ack(ptr noundef nonnull %86, ptr noundef nonnull %4, i32 noundef %110, i32 noundef %109) #3 %112 = icmp eq ptr %111, null br i1 %112, label %133, label %113 113: ; preds = %108 %114 = load ptr, ptr %7, align 8, !tbaa !27 %115 = icmp eq ptr %114, null br i1 %115, label %122, label %116 116: ; preds = %113 %117 = load ptr, ptr %114, align 8, !tbaa !28 %118 = getelementptr inbounds i32, ptr %117, i64 4 %119 = call i32 @sctp_addto_chunk(ptr noundef nonnull %111, i32 noundef %109, ptr noundef nonnull %118) #3 %120 = load ptr, ptr %7, align 8, !tbaa !27 %121 = call i32 @sctp_chunk_free(ptr noundef %120) #3 br label %122 122: ; preds = %116, %113 %123 = load i32, ptr @SCTP_CMD_NEW_ASOC, align 4, !tbaa !19 %124 = call i32 @SCTP_ASOC(ptr noundef nonnull %86) #3 %125 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %123, i32 noundef %124) #3 %126 = load i32, ptr @SCTP_CMD_REPLY, align 4, !tbaa !19 %127 = call i32 @SCTP_CHUNK(ptr noundef nonnull %111) #3 %128 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %126, i32 noundef %127) #3 %129 = load i32, ptr @SCTP_CMD_DELETE_TCB, align 4, !tbaa !19 %130 = call i32 (...) @SCTP_NULL() #3 %131 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %129, i32 noundef %130) #3 %132 = load i32, ptr @SCTP_DISPOSITION_DELETE_TCB, align 4, !tbaa !19 br label %142 133: ; preds = %108, %94, %88 %134 = call i32 @sctp_association_free(ptr noundef nonnull %86) #3 br label %135 135: ; preds = %78, %133 %136 = load ptr, ptr %7, align 8, !tbaa !27 %137 = icmp eq ptr %136, null br i1 %137, label %140, label %138 138: ; preds = %135 %139 = call i32 @sctp_chunk_free(ptr noundef nonnull %136) #3 br label %140 140: ; preds = %138, %135 %141 = load i32, ptr @SCTP_DISPOSITION_NOMEM, align 4, !tbaa !19 br label %142 142: ; preds = %140, %122, %76, %74, %67, %46, %39, %34, %25, %18, %12 %143 = phi i32 [ %13, %12 ], [ %28, %25 ], [ %35, %34 ], [ %47, %46 ], [ %141, %140 ], [ %132, %122 ], [ %73, %67 ], [ %75, %74 ], [ %77, %76 ], [ %40, %39 ], [ %19, %18 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %143 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @security_sctp_assoc_request(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sctp_sf_pdiscard(ptr noundef, ptr noundef, ptr noundef, i32, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sctp_sk(i32 noundef) local_unnamed_addr #2 declare i32 @SCTP_INC_STATS(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_sf_tabort_8_4_8(ptr noundef, ptr noundef, ptr noundef, i32, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sctp_chunk_length_valid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sctp_sstate(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_verify_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sctp_abort_pkt_new(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ntohs(i32 noundef) local_unnamed_addr #2 declare i32 @sctp_chunk_free(ptr noundef) local_unnamed_addr #2 declare i32 @sctp_add_cmd_sf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SCTP_PACKET(ptr noundef) local_unnamed_addr #2 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sctp_make_temp_asoc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sctp_assoc_set_bind_addr_from_ep(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_scope(i32 noundef) local_unnamed_addr #2 declare i32 @sctp_source(ptr noundef) local_unnamed_addr #2 declare i32 @sctp_process_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sctp_make_init_ack(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_addto_chunk(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_ASOC(ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_CHUNK(ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_NULL(...) local_unnamed_addr #2 declare i32 @sctp_association_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"sctp_chunk", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24, !7, i64 32, !11, i64 40} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_14__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!"TYPE_13__", !7, i64 0} !13 = !{!6, !11, i64 40} !14 = !{!15, !11, i64 0} !15 = !{!"net", !16, i64 0} !16 = !{!"TYPE_10__", !11, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_17__", !7, i64 0} !19 = !{!11, !11, i64 0} !20 = !{!6, !7, i64 32} !21 = !{!22, !23, i64 0} !22 = !{!"TYPE_11__", !23, i64 0} !23 = !{!"long", !8, i64 0} !24 = !{!25, !11, i64 0} !25 = !{!"sctp_endpoint", !26, i64 0} !26 = !{!"TYPE_12__", !11, i64 0} !27 = !{!7, !7, i64 0} !28 = !{!6, !7, i64 0} !29 = !{!30, !11, i64 4} !30 = !{!"TYPE_15__", !11, i64 0, !11, i64 4} !31 = !{!30, !11, i64 0} !32 = !{!33, !23, i64 0} !33 = !{!"TYPE_16__", !23, i64 0} !34 = !{!6, !7, i64 24} !35 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/linux/net/sctp/extr_sm_statefuns.c_sctp_sf_do_5_1B_init.c' source_filename = "AnghaBench/linux/net/sctp/extr_sm_statefuns.c_sctp_sf_do_5_1B_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCTP_MIB_OUTOFBLUES = common local_unnamed_addr global i32 0, align 4 @CLOSING = common local_unnamed_addr global i32 0, align 4 @SCTP_CMD_SEND_PKT = common local_unnamed_addr global i32 0, align 4 @SCTP_MIB_OUTCTRLCHUNKS = common local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_CONSUME = common local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_NOMEM = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @SCTP_CMD_NEW_ASOC = common local_unnamed_addr global i32 0, align 4 @SCTP_CMD_REPLY = common local_unnamed_addr global i32 0, align 4 @SCTP_CMD_DELETE_TCB = common local_unnamed_addr global i32 0, align 4 @SCTP_DISPOSITION_DELETE_TCB = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sctp_sf_do_5_1B_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = tail call i64 @security_sctp_assoc_request(ptr noundef %1, ptr noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %6 %13 = and i64 %3, 4294967295 %14 = tail call i32 @sctp_sf_pdiscard(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 %13, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 15: ; preds = %6 %16 = getelementptr inbounds i8, ptr %4, i64 40 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = and i64 %3, 4294967295 %21 = tail call i32 @sctp_sf_pdiscard(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 %20, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 22: ; preds = %15 %23 = load i32, ptr %0, align 4, !tbaa !15 %24 = tail call ptr @sctp_sk(i32 noundef %23) #3 %25 = load ptr, ptr %24, align 8, !tbaa !18 %26 = icmp eq ptr %25, %1 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load i32, ptr @SCTP_MIB_OUTOFBLUES, align 4, !tbaa !20 %29 = tail call i32 @SCTP_INC_STATS(ptr noundef nonnull %0, i32 noundef %28) #3 %30 = and i64 %3, 4294967295 %31 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i64 %30, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 32: ; preds = %22 %33 = getelementptr inbounds i8, ptr %4, i64 32 %34 = load ptr, ptr %33, align 8, !tbaa !21 %35 = load i64, ptr %34, align 8, !tbaa !22 %36 = icmp eq i64 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %32 %38 = and i64 %3, 4294967295 %39 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i64 %38, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 40: ; preds = %32 %41 = tail call i32 @sctp_chunk_length_valid(ptr noundef nonnull %4, i32 noundef 4) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = and i64 %3, 4294967295 %45 = tail call i32 @sctp_sf_pdiscard(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i64 %44, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 46: ; preds = %40 %47 = load i32, ptr %1, align 4, !tbaa !25 %48 = load i32, ptr @CLOSING, align 4, !tbaa !20 %49 = tail call i64 @sctp_sstate(i32 noundef %47, i32 noundef %48) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %46 %52 = and i64 %3, 4294967295 %53 = tail call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i64 %52, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 54: ; preds = %46 store ptr null, ptr %7, align 8, !tbaa !28 %55 = load ptr, ptr %4, align 8, !tbaa !29 %56 = getelementptr inbounds i8, ptr %55, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !30 %58 = call i32 @sctp_verify_init(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %57, ptr noundef %55, ptr noundef nonnull %4, ptr noundef nonnull %7) #3 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %85 60: ; preds = %54 %61 = load ptr, ptr %7, align 8, !tbaa !28 %62 = icmp eq ptr %61, null br i1 %62, label %82, label %63 63: ; preds = %60 %64 = load ptr, ptr %61, align 8, !tbaa !29 %65 = getelementptr inbounds i8, ptr %64, i64 16 %66 = load i32, ptr %64, align 4, !tbaa !32 %67 = call i32 @ntohs(i32 noundef %66) #3 %68 = add i32 %67, -4 %69 = call ptr @sctp_abort_pkt_new(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %65, i32 noundef %68) #3 %70 = load ptr, ptr %7, align 8, !tbaa !28 %71 = call i32 @sctp_chunk_free(ptr noundef %70) #3 %72 = icmp eq ptr %69, null br i1 %72, label %80, label %73 73: ; preds = %63 %74 = load i32, ptr @SCTP_CMD_SEND_PKT, align 4, !tbaa !20 %75 = call i32 @SCTP_PACKET(ptr noundef nonnull %69) #3 %76 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %74, i32 noundef %75) #3 %77 = load i32, ptr @SCTP_MIB_OUTCTRLCHUNKS, align 4, !tbaa !20 %78 = call i32 @SCTP_INC_STATS(ptr noundef nonnull %0, i32 noundef %77) #3 %79 = load i32, ptr @SCTP_DISPOSITION_CONSUME, align 4, !tbaa !20 br label %149 80: ; preds = %63 %81 = load i32, ptr @SCTP_DISPOSITION_NOMEM, align 4, !tbaa !20 br label %149 82: ; preds = %60 %83 = and i64 %3, 4294967295 %84 = call i32 @sctp_sf_tabort_8_4_8(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i64 %83, ptr noundef nonnull %4, ptr noundef %5) #3 br label %149 85: ; preds = %54 %86 = load ptr, ptr %8, align 8, !tbaa !6 %87 = load i64, ptr %86, align 8, !tbaa !33 %88 = inttoptr i64 %87 to ptr %89 = getelementptr inbounds i8, ptr %4, i64 24 store ptr %88, ptr %89, align 8, !tbaa !35 %90 = call i32 @skb_pull(ptr noundef nonnull %86, i32 noundef 4) #3 %91 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %90, ptr %91, align 8, !tbaa !36 %92 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !20 %93 = call ptr @sctp_make_temp_asoc(ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef %92) #3 %94 = icmp eq ptr %93, null br i1 %94, label %142, label %95 95: ; preds = %85 %96 = call i32 @sctp_source(ptr noundef nonnull %4) #3 %97 = call i32 @sctp_scope(i32 noundef %96) #3 %98 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !20 %99 = call i64 @sctp_assoc_set_bind_addr_from_ep(ptr noundef nonnull %93, i32 noundef %97, i32 noundef %98) #3 %100 = icmp slt i64 %99, 0 br i1 %100, label %140, label %101 101: ; preds = %95 %102 = call i32 @sctp_source(ptr noundef nonnull %4) #3 %103 = load ptr, ptr %4, align 8, !tbaa !29 %104 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !20 %105 = call i32 @sctp_process_init(ptr noundef nonnull %93, ptr noundef nonnull %4, i32 noundef %102, ptr noundef %103, i32 noundef %104) #3 %106 = icmp eq i32 %105, 0 br i1 %106, label %140, label %107 107: ; preds = %101 %108 = load ptr, ptr %7, align 8, !tbaa !28 %109 = icmp eq ptr %108, null br i1 %109, label %115, label %110 110: ; preds = %107 %111 = load ptr, ptr %108, align 8, !tbaa !29 %112 = load i32, ptr %111, align 4, !tbaa !32 %113 = call i32 @ntohs(i32 noundef %112) #3 %114 = add i32 %113, -4 br label %115 115: ; preds = %110, %107 %116 = phi i32 [ %114, %110 ], [ 0, %107 ] %117 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !20 %118 = call ptr @sctp_make_init_ack(ptr noundef nonnull %93, ptr noundef nonnull %4, i32 noundef %117, i32 noundef %116) #3 %119 = icmp eq ptr %118, null br i1 %119, label %140, label %120 120: ; preds = %115 %121 = load ptr, ptr %7, align 8, !tbaa !28 %122 = icmp eq ptr %121, null br i1 %122, label %129, label %123 123: ; preds = %120 %124 = load ptr, ptr %121, align 8, !tbaa !29 %125 = getelementptr inbounds i8, ptr %124, i64 16 %126 = call i32 @sctp_addto_chunk(ptr noundef nonnull %118, i32 noundef %116, ptr noundef nonnull %125) #3 %127 = load ptr, ptr %7, align 8, !tbaa !28 %128 = call i32 @sctp_chunk_free(ptr noundef %127) #3 br label %129 129: ; preds = %123, %120 %130 = load i32, ptr @SCTP_CMD_NEW_ASOC, align 4, !tbaa !20 %131 = call i32 @SCTP_ASOC(ptr noundef nonnull %93) #3 %132 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %130, i32 noundef %131) #3 %133 = load i32, ptr @SCTP_CMD_REPLY, align 4, !tbaa !20 %134 = call i32 @SCTP_CHUNK(ptr noundef nonnull %118) #3 %135 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %133, i32 noundef %134) #3 %136 = load i32, ptr @SCTP_CMD_DELETE_TCB, align 4, !tbaa !20 %137 = call i32 @SCTP_NULL() #3 %138 = call i32 @sctp_add_cmd_sf(ptr noundef %5, i32 noundef %136, i32 noundef %137) #3 %139 = load i32, ptr @SCTP_DISPOSITION_DELETE_TCB, align 4, !tbaa !20 br label %149 140: ; preds = %115, %101, %95 %141 = call i32 @sctp_association_free(ptr noundef nonnull %93) #3 br label %142 142: ; preds = %85, %140 %143 = load ptr, ptr %7, align 8, !tbaa !28 %144 = icmp eq ptr %143, null br i1 %144, label %147, label %145 145: ; preds = %142 %146 = call i32 @sctp_chunk_free(ptr noundef nonnull %143) #3 br label %147 147: ; preds = %145, %142 %148 = load i32, ptr @SCTP_DISPOSITION_NOMEM, align 4, !tbaa !20 br label %149 149: ; preds = %147, %129, %82, %80, %73, %51, %43, %37, %27, %19, %12 %150 = phi i32 [ %14, %12 ], [ %31, %27 ], [ %39, %37 ], [ %53, %51 ], [ %148, %147 ], [ %139, %129 ], [ %79, %73 ], [ %81, %80 ], [ %84, %82 ], [ %45, %43 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %150 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @security_sctp_assoc_request(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sctp_sf_pdiscard(ptr noundef, ptr noundef, ptr noundef, i64, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sctp_sk(i32 noundef) local_unnamed_addr #2 declare i32 @SCTP_INC_STATS(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_sf_tabort_8_4_8(ptr noundef, ptr noundef, ptr noundef, i64, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sctp_chunk_length_valid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sctp_sstate(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_verify_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sctp_abort_pkt_new(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ntohs(i32 noundef) local_unnamed_addr #2 declare i32 @sctp_chunk_free(ptr noundef) local_unnamed_addr #2 declare i32 @sctp_add_cmd_sf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SCTP_PACKET(ptr noundef) local_unnamed_addr #2 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sctp_make_temp_asoc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sctp_assoc_set_bind_addr_from_ep(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_scope(i32 noundef) local_unnamed_addr #2 declare i32 @sctp_source(ptr noundef) local_unnamed_addr #2 declare i32 @sctp_process_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sctp_make_init_ack(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sctp_addto_chunk(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_ASOC(ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_CHUNK(ptr noundef) local_unnamed_addr #2 declare i32 @SCTP_NULL(...) local_unnamed_addr #2 declare i32 @sctp_association_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"sctp_chunk", !8, i64 0, !8, i64 8, !11, i64 16, !13, i64 24, !8, i64 32, !12, i64 40} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_14__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!"TYPE_13__", !8, i64 0} !14 = !{!7, !12, i64 40} !15 = !{!16, !12, i64 0} !16 = !{!"net", !17, i64 0} !17 = !{!"TYPE_10__", !12, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_17__", !8, i64 0} !20 = !{!12, !12, i64 0} !21 = !{!7, !8, i64 32} !22 = !{!23, !24, i64 0} !23 = !{!"TYPE_11__", !24, i64 0} !24 = !{!"long", !9, i64 0} !25 = !{!26, !12, i64 0} !26 = !{!"sctp_endpoint", !27, i64 0} !27 = !{!"TYPE_12__", !12, i64 0} !28 = !{!8, !8, i64 0} !29 = !{!7, !8, i64 0} !30 = !{!31, !12, i64 4} !31 = !{!"TYPE_15__", !12, i64 0, !12, i64 4} !32 = !{!31, !12, i64 0} !33 = !{!34, !24, i64 0} !34 = !{!"TYPE_16__", !24, i64 0} !35 = !{!7, !8, i64 24} !36 = !{!7, !12, i64 16}
linux_net_sctp_extr_sm_statefuns.c_sctp_sf_do_5_1B_init
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_is_txn_root.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_is_txn_root.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @svn_fs_is_txn_root(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_is_txn_root.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_is_txn_root.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @svn_fs_is_txn_root(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_fs_extr_fs-loader.c_svn_fs_is_txn_root
; ModuleID = 'AnghaBench/freebsd/sbin/fsck_msdosfs/extr_fat.c__readfat.c' source_filename = "AnghaBench/freebsd/sbin/fsck_msdosfs/extr_fat.c__readfat.c" target datalayout = "e-m:e-p270:32:32-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.bootblock = type { i32, i32, i32 } @.str = private unnamed_addr constant [31 x i8] c"No space for FAT sectors (%zu)\00", align 1 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Unable to read FAT\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_readfat], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @_readfat(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.bootblock, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call ptr @calloc(i32 noundef %5, i32 noundef %7) #2 store ptr %8, ptr %3, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %4 %11 = load i32, ptr %1, align 4, !tbaa !5 %12 = sext i32 %11 to i64 %13 = tail call i32 (ptr, ...) @perr(ptr noundef nonnull @.str, i64 noundef %12) #2 br label %40 14: ; preds = %4 %15 = getelementptr inbounds %struct.bootblock, ptr %1, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = load i32, ptr %1, align 4, !tbaa !5 %18 = mul nsw i32 %17, %2 %19 = add nsw i32 %18, %16 %20 = load i32, ptr %6, align 4, !tbaa !10 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr @SEEK_SET, align 4, !tbaa !14 %23 = tail call i32 @lseek(i32 noundef %0, i32 noundef %21, i32 noundef %22) #2 %24 = icmp eq i32 %23, %21 br i1 %24, label %25, label %36 25: ; preds = %14 %26 = load ptr, ptr %3, align 8, !tbaa !11 %27 = load i32, ptr %1, align 4, !tbaa !5 %28 = load i32, ptr %6, align 4, !tbaa !10 %29 = mul nsw i32 %28, %27 %30 = tail call i64 @read(i32 noundef %0, ptr noundef %26, i32 noundef %29) #2 %31 = load i32, ptr %1, align 4, !tbaa !5 %32 = load i32, ptr %6, align 4, !tbaa !10 %33 = mul nsw i32 %32, %31 %34 = sext i32 %33 to i64 %35 = icmp eq i64 %30, %34 br i1 %35, label %40, label %36 36: ; preds = %25, %14 %37 = tail call i32 (ptr, ...) @perr(ptr noundef nonnull @.str.1) #2 %38 = load ptr, ptr %3, align 8, !tbaa !11 %39 = tail call i32 @free(ptr noundef %38) #2 br label %40 40: ; preds = %25, %36, %10 %41 = phi i32 [ 0, %10 ], [ 0, %36 ], [ 1, %25 ] ret i32 %41 } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perr(ptr noundef, ...) local_unnamed_addr #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @read(i32 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 0} !6 = !{!"bootblock", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sbin/fsck_msdosfs/extr_fat.c__readfat.c' source_filename = "AnghaBench/freebsd/sbin/fsck_msdosfs/extr_fat.c__readfat.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"No space for FAT sectors (%zu)\00", align 1 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Unable to read FAT\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_readfat], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @_readfat(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call ptr @calloc(i32 noundef %5, i32 noundef %7) #2 store ptr %8, ptr %3, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %4 %11 = load i32, ptr %1, align 4, !tbaa !6 %12 = sext i32 %11 to i64 %13 = tail call i32 (ptr, ...) @perr(ptr noundef nonnull @.str, i64 noundef %12) #2 br label %40 14: ; preds = %4 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = load i32, ptr %1, align 4, !tbaa !6 %18 = mul nsw i32 %17, %2 %19 = add nsw i32 %18, %16 %20 = load i32, ptr %6, align 4, !tbaa !11 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr @SEEK_SET, align 4, !tbaa !15 %23 = tail call i32 @lseek(i32 noundef %0, i32 noundef %21, i32 noundef %22) #2 %24 = icmp eq i32 %23, %21 br i1 %24, label %25, label %36 25: ; preds = %14 %26 = load ptr, ptr %3, align 8, !tbaa !12 %27 = load i32, ptr %1, align 4, !tbaa !6 %28 = load i32, ptr %6, align 4, !tbaa !11 %29 = mul nsw i32 %28, %27 %30 = tail call i64 @read(i32 noundef %0, ptr noundef %26, i32 noundef %29) #2 %31 = load i32, ptr %1, align 4, !tbaa !6 %32 = load i32, ptr %6, align 4, !tbaa !11 %33 = mul nsw i32 %32, %31 %34 = sext i32 %33 to i64 %35 = icmp eq i64 %30, %34 br i1 %35, label %40, label %36 36: ; preds = %25, %14 %37 = tail call i32 (ptr, ...) @perr(ptr noundef nonnull @.str.1) #2 %38 = load ptr, ptr %3, align 8, !tbaa !12 %39 = tail call i32 @free(ptr noundef %38) #2 br label %40 40: ; preds = %25, %36, %10 %41 = phi i32 [ 0, %10 ], [ 0, %36 ], [ 1, %25 ] ret i32 %41 } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perr(ptr noundef, ...) local_unnamed_addr #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @read(i32 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 0} !7 = !{!"bootblock", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!8, !8, i64 0}
freebsd_sbin_fsck_msdosfs_extr_fat.c__readfat
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslcompile.c_CmDoCompile.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslcompile.c_CmDoCompile.c" target datalayout = "e-m:e-p270:32:32-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 [27 x i8] c"*** Total Compile time ***\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Open input and output files\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Preprocess input file\00", align 1 @AslGbl_PreprocessFlag = dso_local local_unnamed_addr global i64 0, align 8 @ASL_DEFINE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @AslGbl_CurrentLineNumber = dso_local local_unnamed_addr global i32 0, align 4 @AslGbl_LogicalLineNumber = dso_local local_unnamed_addr global i32 0, align 4 @AslGbl_PreprocessOnly = dso_local local_unnamed_addr global i64 0, align 8 @AE_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [39 x i8] c"Parse source code and build parse tree\00", align 1 @AslGbl_SyntaxError = dso_local local_unnamed_addr global i64 0, align 8 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [58 x i8] c"Compiler aborting due to parser-detected syntax error(s)\0A\00", align 1 @TRUE = dso_local local_unnamed_addr global ptr null, align 8 @AslGbl_ParserErrorDetected = dso_local local_unnamed_addr global ptr null, align 8 @AslGbl_ParseTreeRoot = dso_local local_unnamed_addr global ptr null, align 8 @ASL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ASL_MSG_COMPILER_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [41 x i8] c"- Could not resolve parse tree root node\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Flush source input\00", align 1 @AslGbl_PruneParseTree = dso_local local_unnamed_addr global i64 0, align 8 @AslGbl_PruneDepth = dso_local local_unnamed_addr global i32 0, align 4 @AslGbl_PruneType = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"Parse tree transforms\00", align 1 @ASL_DEBUG_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [25 x i8] c"\0AParse tree transforms\0A\0A\00", align 1 @ASL_WALK_VISIT_TWICE = dso_local local_unnamed_addr global i32 0, align 4 @TrAmlTransformWalkBegin = dso_local local_unnamed_addr global ptr null, align 8 @TrAmlTransformWalkEnd = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [21 x i8] c"Generate AML opcodes\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"Generating AML opcodes\0A\0A\00", align 1 @ASL_WALK_VISIT_UPWARD = dso_local local_unnamed_addr global i32 0, align 4 @OpcAmlOpcodeWalk = dso_local local_unnamed_addr global i32 0, align 4 @AE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @CmDoCompile() local_unnamed_addr #0 { %1 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str) #2 %2 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.1) #2 %3 = tail call i32 @UtEndEvent(i32 noundef %2) #2 %4 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.2) #2 %5 = load i64, ptr @AslGbl_PreprocessFlag, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %0 %8 = load i32, ptr @ASL_DEFINE, align 4, !tbaa !9 %9 = load i32, ptr @FALSE, align 4, !tbaa !9 %10 = tail call i32 @PrAddDefine(i32 noundef %8, ptr noundef nonnull @.str.3, i32 noundef %9) #2 %11 = tail call i32 (...) @PrDoPreprocess() #2 store i32 1, ptr @AslGbl_CurrentLineNumber, align 4, !tbaa !9 store i32 1, ptr @AslGbl_LogicalLineNumber, align 4, !tbaa !9 %12 = load i64, ptr @AslGbl_PreprocessOnly, align 8, !tbaa !5 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %66 14: ; preds = %7, %0 %15 = tail call i32 @UtEndEvent(i32 noundef %4) #2 %16 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.4) #2 %17 = tail call i32 (...) @AslCompilerparse() #2 %18 = tail call i32 @UtEndEvent(i32 noundef %16) #2 %19 = load i64, ptr @AslGbl_SyntaxError, align 8, !tbaa !5 %20 = icmp eq i64 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %14 %22 = load i32, ptr @stderr, align 4, !tbaa !9 %23 = tail call i32 @fprintf(i32 noundef %22, ptr noundef nonnull @.str.5) #2 %24 = tail call ptr (...) @FlGetCurrentFileNode() #2 %25 = load ptr, ptr @TRUE, align 8, !tbaa !11 store ptr %25, ptr %24, align 8, !tbaa !13 store ptr %25, ptr @AslGbl_ParserErrorDetected, align 8, !tbaa !11 %26 = tail call i32 (...) @LsDumpParseTree() #2 br label %66 27: ; preds = %14 %28 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !11 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr @ASL_ERROR, align 4, !tbaa !9 %32 = load i32, ptr @ASL_MSG_COMPILER_INTERNAL, align 4, !tbaa !9 %33 = tail call i32 @AslError(i32 noundef %31, i32 noundef %32, ptr noundef null, ptr noundef nonnull @.str.6) #2 br label %66 34: ; preds = %27 %35 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.7) #2 %36 = tail call i32 (...) @CmFlushSourceCode() #2 %37 = load i64, ptr @AslGbl_PruneParseTree, align 8, !tbaa !5 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load i32, ptr @AslGbl_PruneDepth, align 4, !tbaa !9 %41 = load i32, ptr @AslGbl_PruneType, align 4, !tbaa !9 %42 = tail call i32 @AslPruneParseTree(i32 noundef %40, i32 noundef %41) #2 br label %43 43: ; preds = %39, %34 %44 = tail call i32 (...) @LsDumpParseTree() #2 %45 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !11 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = tail call i32 @OpcGetIntegerWidth(i32 noundef %46) #2 %48 = tail call i32 @UtEndEvent(i32 noundef %35) #2 %49 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.8) #2 %50 = load i32, ptr @ASL_DEBUG_OUTPUT, align 4, !tbaa !9 %51 = tail call i32 @DbgPrint(i32 noundef %50, ptr noundef nonnull @.str.9) #2 %52 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !11 %53 = load i32, ptr @ASL_WALK_VISIT_TWICE, align 4, !tbaa !9 %54 = load ptr, ptr @TrAmlTransformWalkBegin, align 8, !tbaa !11 %55 = load i32, ptr @TrAmlTransformWalkEnd, align 4, !tbaa !9 %56 = tail call i32 @TrWalkParseTree(ptr noundef %52, i32 noundef %53, ptr noundef %54, i32 noundef %55, ptr noundef null) #2 %57 = tail call i32 @UtEndEvent(i32 noundef %49) #2 %58 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.10) #2 %59 = load i32, ptr @ASL_DEBUG_OUTPUT, align 4, !tbaa !9 %60 = tail call i32 @DbgPrint(i32 noundef %59, ptr noundef nonnull @.str.11) #2 %61 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !11 %62 = load i32, ptr @ASL_WALK_VISIT_UPWARD, align 4, !tbaa !9 %63 = load i32, ptr @OpcAmlOpcodeWalk, align 4, !tbaa !9 %64 = tail call i32 @TrWalkParseTree(ptr noundef %61, i32 noundef %62, ptr noundef null, i32 noundef %63, ptr noundef null) #2 %65 = tail call i32 @UtEndEvent(i32 noundef %58) #2 br label %66 66: ; preds = %21, %30, %7, %43 %67 = phi i32 [ %1, %43 ], [ %4, %7 ], [ %1, %30 ], [ %1, %21 ] %68 = phi ptr [ @AE_OK, %43 ], [ @AE_OK, %7 ], [ @AE_ERROR, %30 ], [ @AE_ERROR, %21 ] %69 = tail call i32 @UtEndEvent(i32 noundef %67) #2 %70 = load i32, ptr %68, align 4, !tbaa !9 ret i32 %70 } declare i32 @UtBeginEvent(ptr noundef) local_unnamed_addr #1 declare i32 @UtEndEvent(i32 noundef) local_unnamed_addr #1 declare i32 @PrAddDefine(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PrDoPreprocess(...) local_unnamed_addr #1 declare i32 @AslCompilerparse(...) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @FlGetCurrentFileNode(...) local_unnamed_addr #1 declare i32 @LsDumpParseTree(...) local_unnamed_addr #1 declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CmFlushSourceCode(...) local_unnamed_addr #1 declare i32 @AslPruneParseTree(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OpcGetIntegerWidth(i32 noundef) local_unnamed_addr #1 declare i32 @DbgPrint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TrWalkParseTree(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_7__", !12, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_8__", !17, i64 0} !17 = !{!"TYPE_6__", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslcompile.c_CmDoCompile.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslcompile.c_CmDoCompile.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 [27 x i8] c"*** Total Compile time ***\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Open input and output files\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Preprocess input file\00", align 1 @AslGbl_PreprocessFlag = common local_unnamed_addr global i64 0, align 8 @ASL_DEFINE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @AslGbl_CurrentLineNumber = common local_unnamed_addr global i32 0, align 4 @AslGbl_LogicalLineNumber = common local_unnamed_addr global i32 0, align 4 @AslGbl_PreprocessOnly = common local_unnamed_addr global i64 0, align 8 @AE_OK = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [39 x i8] c"Parse source code and build parse tree\00", align 1 @AslGbl_SyntaxError = common local_unnamed_addr global i64 0, align 8 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [58 x i8] c"Compiler aborting due to parser-detected syntax error(s)\0A\00", align 1 @TRUE = common local_unnamed_addr global ptr null, align 8 @AslGbl_ParserErrorDetected = common local_unnamed_addr global ptr null, align 8 @AslGbl_ParseTreeRoot = common local_unnamed_addr global ptr null, align 8 @ASL_ERROR = common local_unnamed_addr global i32 0, align 4 @ASL_MSG_COMPILER_INTERNAL = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [41 x i8] c"- Could not resolve parse tree root node\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Flush source input\00", align 1 @AslGbl_PruneParseTree = common local_unnamed_addr global i64 0, align 8 @AslGbl_PruneDepth = common local_unnamed_addr global i32 0, align 4 @AslGbl_PruneType = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"Parse tree transforms\00", align 1 @ASL_DEBUG_OUTPUT = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [25 x i8] c"\0AParse tree transforms\0A\0A\00", align 1 @ASL_WALK_VISIT_TWICE = common local_unnamed_addr global i32 0, align 4 @TrAmlTransformWalkBegin = common local_unnamed_addr global ptr null, align 8 @TrAmlTransformWalkEnd = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [21 x i8] c"Generate AML opcodes\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"Generating AML opcodes\0A\0A\00", align 1 @ASL_WALK_VISIT_UPWARD = common local_unnamed_addr global i32 0, align 4 @OpcAmlOpcodeWalk = common local_unnamed_addr global i32 0, align 4 @AE_ERROR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @CmDoCompile() local_unnamed_addr #0 { %1 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str) #2 %2 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.1) #2 %3 = tail call i32 @UtEndEvent(i32 noundef %2) #2 %4 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.2) #2 %5 = load i64, ptr @AslGbl_PreprocessFlag, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %0 %8 = load i32, ptr @ASL_DEFINE, align 4, !tbaa !10 %9 = load i32, ptr @FALSE, align 4, !tbaa !10 %10 = tail call i32 @PrAddDefine(i32 noundef %8, ptr noundef nonnull @.str.3, i32 noundef %9) #2 %11 = tail call i32 @PrDoPreprocess() #2 store i32 1, ptr @AslGbl_CurrentLineNumber, align 4, !tbaa !10 store i32 1, ptr @AslGbl_LogicalLineNumber, align 4, !tbaa !10 %12 = load i64, ptr @AslGbl_PreprocessOnly, align 8, !tbaa !6 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %66 14: ; preds = %7, %0 %15 = tail call i32 @UtEndEvent(i32 noundef %4) #2 %16 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.4) #2 %17 = tail call i32 @AslCompilerparse() #2 %18 = tail call i32 @UtEndEvent(i32 noundef %16) #2 %19 = load i64, ptr @AslGbl_SyntaxError, align 8, !tbaa !6 %20 = icmp eq i64 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %14 %22 = load i32, ptr @stderr, align 4, !tbaa !10 %23 = tail call i32 @fprintf(i32 noundef %22, ptr noundef nonnull @.str.5) #2 %24 = tail call ptr @FlGetCurrentFileNode() #2 %25 = load ptr, ptr @TRUE, align 8, !tbaa !12 store ptr %25, ptr %24, align 8, !tbaa !14 store ptr %25, ptr @AslGbl_ParserErrorDetected, align 8, !tbaa !12 %26 = tail call i32 @LsDumpParseTree() #2 br label %66 27: ; preds = %14 %28 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !12 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr @ASL_ERROR, align 4, !tbaa !10 %32 = load i32, ptr @ASL_MSG_COMPILER_INTERNAL, align 4, !tbaa !10 %33 = tail call i32 @AslError(i32 noundef %31, i32 noundef %32, ptr noundef null, ptr noundef nonnull @.str.6) #2 br label %66 34: ; preds = %27 %35 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.7) #2 %36 = tail call i32 @CmFlushSourceCode() #2 %37 = load i64, ptr @AslGbl_PruneParseTree, align 8, !tbaa !6 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load i32, ptr @AslGbl_PruneDepth, align 4, !tbaa !10 %41 = load i32, ptr @AslGbl_PruneType, align 4, !tbaa !10 %42 = tail call i32 @AslPruneParseTree(i32 noundef %40, i32 noundef %41) #2 br label %43 43: ; preds = %39, %34 %44 = tail call i32 @LsDumpParseTree() #2 %45 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !12 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = tail call i32 @OpcGetIntegerWidth(i32 noundef %46) #2 %48 = tail call i32 @UtEndEvent(i32 noundef %35) #2 %49 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.8) #2 %50 = load i32, ptr @ASL_DEBUG_OUTPUT, align 4, !tbaa !10 %51 = tail call i32 @DbgPrint(i32 noundef %50, ptr noundef nonnull @.str.9) #2 %52 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !12 %53 = load i32, ptr @ASL_WALK_VISIT_TWICE, align 4, !tbaa !10 %54 = load ptr, ptr @TrAmlTransformWalkBegin, align 8, !tbaa !12 %55 = load i32, ptr @TrAmlTransformWalkEnd, align 4, !tbaa !10 %56 = tail call i32 @TrWalkParseTree(ptr noundef %52, i32 noundef %53, ptr noundef %54, i32 noundef %55, ptr noundef null) #2 %57 = tail call i32 @UtEndEvent(i32 noundef %49) #2 %58 = tail call i32 @UtBeginEvent(ptr noundef nonnull @.str.10) #2 %59 = load i32, ptr @ASL_DEBUG_OUTPUT, align 4, !tbaa !10 %60 = tail call i32 @DbgPrint(i32 noundef %59, ptr noundef nonnull @.str.11) #2 %61 = load ptr, ptr @AslGbl_ParseTreeRoot, align 8, !tbaa !12 %62 = load i32, ptr @ASL_WALK_VISIT_UPWARD, align 4, !tbaa !10 %63 = load i32, ptr @OpcAmlOpcodeWalk, align 4, !tbaa !10 %64 = tail call i32 @TrWalkParseTree(ptr noundef %61, i32 noundef %62, ptr noundef null, i32 noundef %63, ptr noundef null) #2 %65 = tail call i32 @UtEndEvent(i32 noundef %58) #2 br label %66 66: ; preds = %21, %30, %7, %43 %67 = phi i32 [ %1, %43 ], [ %4, %7 ], [ %1, %30 ], [ %1, %21 ] %68 = phi ptr [ @AE_OK, %43 ], [ @AE_OK, %7 ], [ @AE_ERROR, %30 ], [ @AE_ERROR, %21 ] %69 = tail call i32 @UtEndEvent(i32 noundef %67) #2 %70 = load i32, ptr %68, align 4, !tbaa !10 ret i32 %70 } declare i32 @UtBeginEvent(ptr noundef) local_unnamed_addr #1 declare i32 @UtEndEvent(i32 noundef) local_unnamed_addr #1 declare i32 @PrAddDefine(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PrDoPreprocess(...) local_unnamed_addr #1 declare i32 @AslCompilerparse(...) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @FlGetCurrentFileNode(...) local_unnamed_addr #1 declare i32 @LsDumpParseTree(...) local_unnamed_addr #1 declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CmFlushSourceCode(...) local_unnamed_addr #1 declare i32 @AslPruneParseTree(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OpcGetIntegerWidth(i32 noundef) local_unnamed_addr #1 declare i32 @DbgPrint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TrWalkParseTree(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_7__", !13, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_8__", !18, i64 0} !18 = !{!"TYPE_6__", !11, i64 0}
freebsd_sys_contrib_dev_acpica_compiler_extr_aslcompile.c_CmDoCompile
; ModuleID = 'AnghaBench/openssl/test/extr_handshake_helper.c_verify_reject_cb.c' source_filename = "AnghaBench/openssl/test/extr_handshake_helper.c_verify_reject_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @X509_V_ERR_APPLICATION_VERIFICATION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @verify_reject_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @verify_reject_cb(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @X509_V_ERR_APPLICATION_VERIFICATION, align 4, !tbaa !5 %4 = tail call i32 @X509_STORE_CTX_set_error(ptr noundef %0, i32 noundef %3) #2 ret i32 0 } declare i32 @X509_STORE_CTX_set_error(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/openssl/test/extr_handshake_helper.c_verify_reject_cb.c' source_filename = "AnghaBench/openssl/test/extr_handshake_helper.c_verify_reject_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @X509_V_ERR_APPLICATION_VERIFICATION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @verify_reject_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @verify_reject_cb(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @X509_V_ERR_APPLICATION_VERIFICATION, align 4, !tbaa !6 %4 = tail call i32 @X509_STORE_CTX_set_error(ptr noundef %0, i32 noundef %3) #2 ret i32 0 } declare i32 @X509_STORE_CTX_set_error(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"}
openssl_test_extr_handshake_helper.c_verify_reject_cb
; ModuleID = 'AnghaBench/systemd/src/resolve/extr_dns-type.c_dns_type_may_wildcard.c' source_filename = "AnghaBench/systemd/src/resolve/extr_dns-type.c_dns_type_may_wildcard.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DNS_TYPE_NSEC3 = dso_local local_unnamed_addr global i32 0, align 4 @DNS_TYPE_SOA = dso_local local_unnamed_addr global i32 0, align 4 @DNS_TYPE_DNAME = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dns_type_may_wildcard(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @dns_type_is_pseudo(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = load i32, ptr @DNS_TYPE_NSEC3, align 4, !tbaa !5 %6 = load i32, ptr @DNS_TYPE_SOA, align 4, !tbaa !5 %7 = load i32, ptr @DNS_TYPE_DNAME, align 4, !tbaa !5 %8 = tail call i32 @IN_SET(i32 noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %1, %4 %12 = phi i32 [ %10, %4 ], [ 0, %1 ] ret i32 %12 } declare i64 @dns_type_is_pseudo(i32 noundef) local_unnamed_addr #1 declare i32 @IN_SET(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/systemd/src/resolve/extr_dns-type.c_dns_type_may_wildcard.c' source_filename = "AnghaBench/systemd/src/resolve/extr_dns-type.c_dns_type_may_wildcard.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DNS_TYPE_NSEC3 = common local_unnamed_addr global i32 0, align 4 @DNS_TYPE_SOA = common local_unnamed_addr global i32 0, align 4 @DNS_TYPE_DNAME = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @dns_type_may_wildcard(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @dns_type_is_pseudo(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = load i32, ptr @DNS_TYPE_NSEC3, align 4, !tbaa !6 %6 = load i32, ptr @DNS_TYPE_SOA, align 4, !tbaa !6 %7 = load i32, ptr @DNS_TYPE_DNAME, align 4, !tbaa !6 %8 = tail call i32 @IN_SET(i32 noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %1, %4 %12 = phi i32 [ %10, %4 ], [ 0, %1 ] ret i32 %12 } declare i64 @dns_type_is_pseudo(i32 noundef) local_unnamed_addr #1 declare i32 @IN_SET(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"}
systemd_src_resolve_extr_dns-type.c_dns_type_may_wildcard
; ModuleID = 'AnghaBench/RetroArch/libretro-common/formats/jpeg/extr_rjpeg.c_rjpeg_jpeg_decode_block_prog_dc.c' source_filename = "AnghaBench/RetroArch/libretro-common/formats/jpeg/extr_rjpeg.c_rjpeg_jpeg_decode_block_prog_dc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i64, i32, i64, i32, ptr } %struct.TYPE_8__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @rjpeg_jpeg_decode_block_prog_dc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rjpeg_jpeg_decode_block_prog_dc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %47 7: ; preds = %4 %8 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !12 %10 = icmp slt i32 %9, 16 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = tail call i32 @rjpeg_grow_buffer_unsafe(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %11, %7 %14 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %35 17: ; preds = %13 %18 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 128) #2 %19 = tail call i32 @rjpeg_jpeg_huff_decode(ptr noundef nonnull %0, ptr noundef %2) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @rjpeg_extend_receive(ptr noundef nonnull %0, i32 noundef %19) #2 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ %22, %21 ], [ 0, %17 ] %25 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = sext i32 %3 to i64 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !15 %30 = add nsw i32 %29, %24 store i32 %30, ptr %28, align 4, !tbaa !15 %31 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %32 = load i32, ptr %31, align 8, !tbaa !17 %33 = shl i32 %30, %32 %34 = trunc i32 %33 to i16 br label %45 35: ; preds = %13 %36 = tail call i64 @rjpeg_jpeg_get_bit(ptr noundef nonnull %0) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %47, label %38 38: ; preds = %35 %39 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %40 = load i32, ptr %39, align 8, !tbaa !17 %41 = shl nuw i32 1, %40 %42 = load i16, ptr %1, align 2, !tbaa !18 %43 = trunc i32 %41 to i16 %44 = add i16 %42, %43 br label %45 45: ; preds = %38, %23 %46 = phi i16 [ %34, %23 ], [ %44, %38 ] store i16 %46, ptr %1, align 2, !tbaa !18 br label %47 47: ; preds = %45, %35, %4 %48 = phi i32 [ 0, %4 ], [ 1, %35 ], [ 1, %45 ] ret i32 %48 } declare i32 @rjpeg_grow_buffer_unsafe(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rjpeg_jpeg_huff_decode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rjpeg_extend_receive(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @rjpeg_jpeg_get_bit(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_9__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 16} !14 = !{!6, !11, i64 32} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_8__", !10, i64 0} !17 = !{!6, !10, i64 24} !18 = !{!19, !19, i64 0} !19 = !{!"short", !8, i64 0}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/formats/jpeg/extr_rjpeg.c_rjpeg_jpeg_decode_block_prog_dc.c' source_filename = "AnghaBench/RetroArch/libretro-common/formats/jpeg/extr_rjpeg.c_rjpeg_jpeg_decode_block_prog_dc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @rjpeg_jpeg_decode_block_prog_dc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @rjpeg_jpeg_decode_block_prog_dc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %47 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !13 %10 = icmp slt i32 %9, 16 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = tail call i32 @rjpeg_grow_buffer_unsafe(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %11, %7 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %35 17: ; preds = %13 %18 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 128) #2 %19 = tail call i32 @rjpeg_jpeg_huff_decode(ptr noundef nonnull %0, ptr noundef %2) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @rjpeg_extend_receive(ptr noundef nonnull %0, i32 noundef %19) #2 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ %22, %21 ], [ 0, %17 ] %25 = getelementptr inbounds i8, ptr %0, i64 32 %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = sext i32 %3 to i64 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = add nsw i32 %29, %24 store i32 %30, ptr %28, align 4, !tbaa !16 %31 = getelementptr inbounds i8, ptr %0, i64 24 %32 = load i32, ptr %31, align 8, !tbaa !18 %33 = shl i32 %30, %32 %34 = trunc i32 %33 to i16 br label %45 35: ; preds = %13 %36 = tail call i64 @rjpeg_jpeg_get_bit(ptr noundef nonnull %0) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %47, label %38 38: ; preds = %35 %39 = getelementptr inbounds i8, ptr %0, i64 24 %40 = load i32, ptr %39, align 8, !tbaa !18 %41 = shl nuw i32 1, %40 %42 = load i16, ptr %1, align 2, !tbaa !19 %43 = trunc i32 %41 to i16 %44 = add i16 %42, %43 br label %45 45: ; preds = %38, %23 %46 = phi i16 [ %34, %23 ], [ %44, %38 ] store i16 %46, ptr %1, align 2, !tbaa !19 br label %47 47: ; preds = %45, %35, %4 %48 = phi i32 [ 0, %4 ], [ 1, %35 ], [ 1, %45 ] ret i32 %48 } declare i32 @rjpeg_grow_buffer_unsafe(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rjpeg_jpeg_huff_decode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rjpeg_extend_receive(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @rjpeg_jpeg_get_bit(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_9__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 16} !15 = !{!7, !12, i64 32} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_8__", !11, i64 0} !18 = !{!7, !11, i64 24} !19 = !{!20, !20, i64 0} !20 = !{!"short", !9, i64 0}
RetroArch_libretro-common_formats_jpeg_extr_rjpeg.c_rjpeg_jpeg_decode_block_prog_dc
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3590_read_dev_chars.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3590_read_dev_chars.c" target datalayout = "e-m:e-p270:32:32-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.tape_request = type { i32, i32, i32 } @TO_RDC = dso_local local_unnamed_addr global i32 0, align 4 @CCW_CMD_RDC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tape_3590_read_dev_chars], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tape_3590_read_dev_chars(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @tape_alloc_request(i32 noundef 1, i32 noundef 4) #2 %4 = tail call i64 @IS_ERR(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @PTR_ERR(ptr noundef %3) #2 br label %23 8: ; preds = %2 %9 = load i32, ptr @TO_RDC, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.tape_request, ptr %3, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !9 %11 = getelementptr inbounds %struct.tape_request, ptr %3, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = load i32, ptr @CCW_CMD_RDC, align 4, !tbaa !5 %14 = load i32, ptr %3, align 4, !tbaa !12 %15 = tail call i32 @tape_ccw_end(i32 noundef %12, i32 noundef %13, i32 noundef 4, i32 noundef %14) #2 %16 = tail call i32 @tape_do_io(ptr noundef %0, ptr noundef nonnull %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = load i32, ptr %3, align 4, !tbaa !12 %20 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %19, i32 noundef 4) #2 br label %21 21: ; preds = %18, %8 %22 = tail call i32 @tape_free_request(ptr noundef nonnull %3) #2 br label %23 23: ; preds = %21, %6 %24 = phi i32 [ %7, %6 ], [ %16, %21 ] ret i32 %24 } declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_do_io(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_free_request(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"tape_request", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3590_read_dev_chars.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_3590.c_tape_3590_read_dev_chars.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TO_RDC = common local_unnamed_addr global i32 0, align 4 @CCW_CMD_RDC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tape_3590_read_dev_chars], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tape_3590_read_dev_chars(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @tape_alloc_request(i32 noundef 1, i32 noundef 4) #2 %4 = tail call i64 @IS_ERR(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @PTR_ERR(ptr noundef %3) #2 br label %23 8: ; preds = %2 %9 = load i32, ptr @TO_RDC, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %9, ptr %10, align 4, !tbaa !10 %11 = getelementptr inbounds i8, ptr %3, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = load i32, ptr @CCW_CMD_RDC, align 4, !tbaa !6 %14 = load i32, ptr %3, align 4, !tbaa !13 %15 = tail call i32 @tape_ccw_end(i32 noundef %12, i32 noundef %13, i32 noundef 4, i32 noundef %14) #2 %16 = tail call i32 @tape_do_io(ptr noundef %0, ptr noundef nonnull %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = load i32, ptr %3, align 4, !tbaa !13 %20 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %19, i32 noundef 4) #2 br label %21 21: ; preds = %18, %8 %22 = tail call i32 @tape_free_request(ptr noundef nonnull %3) #2 br label %23 23: ; preds = %21, %6 %24 = phi i32 [ %7, %6 ], [ %16, %21 ] ret i32 %24 } declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_do_io(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_free_request(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"tape_request", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_s390_char_extr_tape_3590.c_tape_3590_read_dev_chars
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image_section_cache.c_worker_add_file_map.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image_section_cache.c_worker_add_file_map.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pte_internal = dso_local local_unnamed_addr global i32 0, align 4 @num_iterations = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"name\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @worker_add_file_map], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @worker_add_file_map(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = icmp eq ptr %0, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @num_iterations, align 4, !tbaa !5 %7 = icmp sgt i32 %6, 0 br i1 %7, label %15, label %47 8: ; preds = %1 %9 = load i32, ptr @pte_internal, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %47 11: ; preds = %43 %12 = add nuw nsw i32 %16, 1 %13 = load i32, ptr @num_iterations, align 4, !tbaa !5 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %47, !llvm.loop !9 15: ; preds = %5, %11 %16 = phi i32 [ %12, %11 ], [ 0, %5 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %17 = urem i32 %16, 7 %18 = icmp ult i32 %17, 4 %19 = select i1 %18, i32 4096, i32 8192 %20 = urem i32 %16, 5 %21 = icmp ult i32 %20, 3 %22 = select i1 %21, i32 4096, i32 8192 %23 = urem i32 %16, 3 %24 = icmp ult i32 %23, 2 %25 = select i1 %24, i32 4096, i32 8192 %26 = call i32 @pt_iscache_add_file(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %22, i32 noundef %25) #3 %27 = icmp slt i32 %26, 0 br i1 %27, label %41, label %28 28: ; preds = %15 %29 = call i32 @pt_iscache_lookup(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %26) #3 %30 = icmp slt i32 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %28 %32 = load i32, ptr %3, align 4, !tbaa !5 %33 = icmp eq i32 %32, %25 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr @pte_internal, align 4, !tbaa !5 %36 = sub nsw i32 0, %35 br label %41 37: ; preds = %31 %38 = load ptr, ptr %2, align 8, !tbaa !11 %39 = call i32 @pt_section_map(ptr noundef %38) #3 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %15, %28, %37, %34 %42 = phi i32 [ %36, %34 ], [ %26, %15 ], [ %29, %28 ], [ %39, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %47 43: ; preds = %37 %44 = load ptr, ptr %2, align 8, !tbaa !11 %45 = call i32 @pt_section_unmap(ptr noundef %44) #3 %46 = icmp sgt i32 %45, -1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br i1 %46, label %11, label %47 47: ; preds = %43, %11, %5, %41, %8 %48 = phi i32 [ %10, %8 ], [ %42, %41 ], [ 0, %5 ], [ %45, %43 ], [ 0, %11 ] ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_iscache_add_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pt_iscache_lookup(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pt_section_map(ptr noundef) local_unnamed_addr #2 declare i32 @pt_section_unmap(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image_section_cache.c_worker_add_file_map.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image_section_cache.c_worker_add_file_map.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pte_internal = common local_unnamed_addr global i32 0, align 4 @num_iterations = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"name\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @worker_add_file_map], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @worker_add_file_map(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = icmp eq ptr %0, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @num_iterations, align 4, !tbaa !6 %7 = icmp sgt i32 %6, 0 br i1 %7, label %15, label %47 8: ; preds = %1 %9 = load i32, ptr @pte_internal, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %47 11: ; preds = %43 %12 = add nuw nsw i32 %16, 1 %13 = load i32, ptr @num_iterations, align 4, !tbaa !6 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %47, !llvm.loop !10 15: ; preds = %5, %11 %16 = phi i32 [ %12, %11 ], [ 0, %5 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %17 = urem i32 %16, 7 %18 = icmp ult i32 %17, 4 %19 = select i1 %18, i32 4096, i32 8192 %20 = urem i32 %16, 5 %21 = icmp ult i32 %20, 3 %22 = select i1 %21, i32 4096, i32 8192 %23 = urem i32 %16, 3 %24 = icmp ult i32 %23, 2 %25 = select i1 %24, i32 4096, i32 8192 %26 = call i32 @pt_iscache_add_file(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %22, i32 noundef %25) #3 %27 = icmp slt i32 %26, 0 br i1 %27, label %41, label %28 28: ; preds = %15 %29 = call i32 @pt_iscache_lookup(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %26) #3 %30 = icmp slt i32 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %28 %32 = load i32, ptr %3, align 4, !tbaa !6 %33 = icmp eq i32 %32, %25 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr @pte_internal, align 4, !tbaa !6 %36 = sub nsw i32 0, %35 br label %41 37: ; preds = %31 %38 = load ptr, ptr %2, align 8, !tbaa !12 %39 = call i32 @pt_section_map(ptr noundef %38) #3 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %15, %28, %37, %34 %42 = phi i32 [ %36, %34 ], [ %26, %15 ], [ %29, %28 ], [ %39, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %47 43: ; preds = %37 %44 = load ptr, ptr %2, align 8, !tbaa !12 %45 = call i32 @pt_section_unmap(ptr noundef %44) #3 %46 = icmp sgt i32 %45, -1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br i1 %46, label %11, label %47 47: ; preds = %43, %11, %5, %41, %8 %48 = phi i32 [ %10, %8 ], [ %42, %41 ], [ 0, %5 ], [ %45, %43 ], [ 0, %11 ] ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_iscache_add_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pt_iscache_lookup(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pt_section_map(ptr noundef) local_unnamed_addr #2 declare i32 @pt_section_unmap(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-image_section_cache.c_worker_add_file_map
; ModuleID = 'AnghaBench/git/extr_line-log.c_same_paths_in_pathspec_and_range.c' source_filename = "AnghaBench/git/extr_line-log.c_same_paths_in_pathspec_and_range.c" target datalayout = "e-m:e-p270:32:32-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.pathspec = type { i32, ptr } %struct.TYPE_2__ = type { i32 } %struct.line_log_data = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @same_paths_in_pathspec_and_range], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @same_paths_in_pathspec_and_range(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 %5 = icmp ne ptr %1, null %6 = and i1 %4, %5 br i1 %6, label %7, label %27 7: ; preds = %2 %8 = getelementptr inbounds %struct.pathspec, ptr %0, i64 0, i32 1 br label %9 9: ; preds = %7, %18 %10 = phi i64 [ 0, %7 ], [ %19, %18 ] %11 = phi ptr [ %1, %7 ], [ %21, %18 ] %12 = load ptr, ptr %8, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = load i32, ptr %11, align 8, !tbaa !14 %16 = tail call i64 @strcmp(i32 noundef %14, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %9 %19 = add nuw nsw i64 %10, 1 %20 = getelementptr inbounds %struct.line_log_data, ptr %11, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = load i32, ptr %0, align 8, !tbaa !5 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %19, %23 %25 = icmp ne ptr %21, null %26 = select i1 %24, i1 %25, i1 false br i1 %26, label %9, label %27, !llvm.loop !17 27: ; preds = %18, %2 %28 = phi i1 [ %4, %2 ], [ %24, %18 ] %29 = phi i1 [ %5, %2 ], [ %25, %18 ] %30 = select i1 %28, i1 true, i1 %29 %31 = xor i1 %30, true %32 = zext i1 %31 to i32 br label %33 33: ; preds = %9, %27 %34 = phi i32 [ %32, %27 ], [ 0, %9 ] ret i32 %34 } declare i64 @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, !7, i64 0} !6 = !{!"pathspec", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"line_log_data", !7, i64 0, !10, i64 8} !16 = !{!15, !10, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/git/extr_line-log.c_same_paths_in_pathspec_and_range.c' source_filename = "AnghaBench/git/extr_line-log.c_same_paths_in_pathspec_and_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @same_paths_in_pathspec_and_range], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @same_paths_in_pathspec_and_range(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 %5 = icmp ne ptr %1, null %6 = and i1 %4, %5 br i1 %6, label %7, label %27 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 br label %9 9: ; preds = %7, %18 %10 = phi i64 [ 0, %7 ], [ %19, %18 ] %11 = phi ptr [ %1, %7 ], [ %21, %18 ] %12 = load ptr, ptr %8, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = load i32, ptr %11, align 8, !tbaa !15 %16 = tail call i64 @strcmp(i32 noundef %14, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %9 %19 = add nuw nsw i64 %10, 1 %20 = getelementptr inbounds i8, ptr %11, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = load i32, ptr %0, align 8, !tbaa !6 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %19, %23 %25 = icmp ne ptr %21, null %26 = select i1 %24, i1 %25, i1 false br i1 %26, label %9, label %27, !llvm.loop !18 27: ; preds = %18, %2 %28 = phi i1 [ %4, %2 ], [ %24, %18 ] %29 = phi i1 [ %5, %2 ], [ %25, %18 ] %30 = select i1 %28, i1 true, i1 %29 %31 = xor i1 %30, true %32 = zext i1 %31 to i32 br label %33 33: ; preds = %9, %27 %34 = phi i32 [ %32, %27 ], [ 0, %9 ] ret i32 %34 } declare i64 @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, !8, i64 0} !7 = !{!"pathspec", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"line_log_data", !8, i64 0, !11, i64 8} !17 = !{!16, !11, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
git_extr_line-log.c_same_paths_in_pathspec_and_range
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_cs53l32a.c_cs53l32a_read.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_cs53l32a.c_cs53l32a_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @cs53l32a_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cs53l32a_read(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %3, i32 noundef %1) #2 ret i32 %4 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(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/fastsocket/kernel/drivers/media/video/extr_cs53l32a.c_cs53l32a_read.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_cs53l32a.c_cs53l32a_read.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 @cs53l32a_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cs53l32a_read(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %3, i32 noundef %1) #2 ret i32 %4 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(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)"}
fastsocket_kernel_drivers_media_video_extr_cs53l32a.c_cs53l32a_read
; ModuleID = 'AnghaBench/libgit2/tests/refs/branches/extr_move.c_test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one.c' source_filename = "AnghaBench/libgit2/tests/refs/branches/extr_move.c_test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GIT_BUF_INIT = dso_local local_unnamed_addr global i32 0, align 4 @repo = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"branch.master.remote\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"branch.master.merge\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"refs/heads/br2\00", align 1 @GIT_EEXISTS = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"master\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"cannot-fetch\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"refs/heads/track-local\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !5 store i32 %6, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = load i32, ptr @repo, align 4, !tbaa !5 %8 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %7) #3 %9 = call i32 @cl_git_pass(i32 noundef %8) #3 %10 = load ptr, ptr %3, align 8, !tbaa !9 %11 = call i32 @git_config_get_string_buf(ptr noundef nonnull %4, ptr noundef %10, ptr noundef nonnull @.str) #3 %12 = call i32 @cl_git_pass(i32 noundef %11) #3 %13 = call ptr @git_buf_detach(ptr noundef nonnull %4) #3 %14 = load ptr, ptr %3, align 8, !tbaa !9 %15 = call i32 @git_config_get_string_buf(ptr noundef nonnull %4, ptr noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = call ptr @git_buf_detach(ptr noundef nonnull %4) #3 %18 = load ptr, ptr %3, align 8, !tbaa !9 %19 = call i32 @git_config_free(ptr noundef %18) #3 %20 = load i32, ptr @repo, align 4, !tbaa !5 %21 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %20, ptr noundef nonnull @.str.2) #3 %22 = call i32 @cl_git_pass(i32 noundef %21) #3 %23 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !5 %24 = load ptr, ptr %1, align 8, !tbaa !9 %25 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %24, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %26 = call i32 @cl_assert_equal_i(i32 noundef %23, i32 noundef %25) #3 %27 = call ptr (...) @git_error_last() #3 %28 = load ptr, ptr %27, align 8, !tbaa !11 %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 %31 = call i32 @cl_assert(i32 noundef %30) #3 %32 = load i32, ptr @repo, align 4, !tbaa !5 %33 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = call i32 @cl_git_pass(i32 noundef %33) #3 %35 = load ptr, ptr %3, align 8, !tbaa !9 %36 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %35, ptr noundef nonnull @.str) #3 %37 = call i32 @cl_git_pass(i32 noundef %36) #3 %38 = load ptr, ptr %5, align 8, !tbaa !9 %39 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %38) #3 %40 = load ptr, ptr %3, align 8, !tbaa !9 %41 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %40, ptr noundef nonnull @.str.1) #3 %42 = call i32 @cl_git_pass(i32 noundef %41) #3 %43 = load ptr, ptr %5, align 8, !tbaa !9 %44 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %43) #3 %45 = load ptr, ptr %3, align 8, !tbaa !9 %46 = call i32 @git_config_free(ptr noundef %45) #3 %47 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !5 %48 = load ptr, ptr %1, align 8, !tbaa !9 %49 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %48, ptr noundef nonnull @.str.4, i32 noundef 0) #3 %50 = call i32 @cl_assert_equal_i(i32 noundef %47, i32 noundef %49) #3 %51 = call ptr (...) @git_error_last() #3 %52 = load ptr, ptr %51, align 8, !tbaa !11 %53 = icmp ne ptr %52, null %54 = zext i1 %53 to i32 %55 = call i32 @cl_assert(i32 noundef %54) #3 %56 = load i32, ptr @repo, align 4, !tbaa !5 %57 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %56) #3 %58 = call i32 @cl_git_pass(i32 noundef %57) #3 %59 = load ptr, ptr %3, align 8, !tbaa !9 %60 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %59, ptr noundef nonnull @.str) #3 %61 = call i32 @cl_git_pass(i32 noundef %60) #3 %62 = load ptr, ptr %5, align 8, !tbaa !9 %63 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %62) #3 %64 = load ptr, ptr %3, align 8, !tbaa !9 %65 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %64, ptr noundef nonnull @.str.1) #3 %66 = call i32 @cl_git_pass(i32 noundef %65) #3 %67 = load ptr, ptr %5, align 8, !tbaa !9 %68 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %67) #3 %69 = load ptr, ptr %3, align 8, !tbaa !9 %70 = call i32 @git_config_free(ptr noundef %69) #3 %71 = load ptr, ptr %1, align 8, !tbaa !9 %72 = call i32 @git_reference_free(ptr noundef %71) #3 %73 = load i32, ptr @repo, align 4, !tbaa !5 %74 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %73, ptr noundef nonnull @.str.5) #3 %75 = call i32 @cl_git_pass(i32 noundef %74) #3 %76 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !5 %77 = load ptr, ptr %1, align 8, !tbaa !9 %78 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %77, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %79 = call i32 @cl_assert_equal_i(i32 noundef %76, i32 noundef %78) #3 %80 = call ptr (...) @git_error_last() #3 %81 = load ptr, ptr %80, align 8, !tbaa !11 %82 = icmp ne ptr %81, null %83 = zext i1 %82 to i32 %84 = call i32 @cl_assert(i32 noundef %83) #3 %85 = load i32, ptr @repo, align 4, !tbaa !5 %86 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %85) #3 %87 = call i32 @cl_git_pass(i32 noundef %86) #3 %88 = load ptr, ptr %3, align 8, !tbaa !9 %89 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %88, ptr noundef nonnull @.str) #3 %90 = call i32 @cl_git_pass(i32 noundef %89) #3 %91 = load ptr, ptr %5, align 8, !tbaa !9 %92 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %91) #3 %93 = load ptr, ptr %3, align 8, !tbaa !9 %94 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %93, ptr noundef nonnull @.str.1) #3 %95 = call i32 @cl_git_pass(i32 noundef %94) #3 %96 = load ptr, ptr %5, align 8, !tbaa !9 %97 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %96) #3 %98 = call i32 @git__free(ptr noundef %13) #3 %99 = call i32 @git__free(ptr noundef %17) #3 %100 = load ptr, ptr %1, align 8, !tbaa !9 %101 = call i32 @git_reference_free(ptr noundef %100) #3 %102 = load ptr, ptr %3, align 8, !tbaa !9 %103 = call i32 @git_config_free(ptr noundef %102) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_config_snapshot(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_config_get_string_buf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git_buf_detach(ptr noundef) local_unnamed_addr #2 declare i32 @git_config_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_i(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_branch_move(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #2 declare ptr @git_error_last(...) local_unnamed_addr #2 declare i32 @git_config_get_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_s(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git__free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/refs/branches/extr_move.c_test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one.c' source_filename = "AnghaBench/libgit2/tests/refs/branches/extr_move.c_test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GIT_BUF_INIT = common local_unnamed_addr global i32 0, align 4 @repo = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"branch.master.remote\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"branch.master.merge\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"refs/heads/br2\00", align 1 @GIT_EEXISTS = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"master\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"cannot-fetch\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"refs/heads/track-local\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @GIT_BUF_INIT, align 4, !tbaa !6 store i32 %6, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = load i32, ptr @repo, align 4, !tbaa !6 %8 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %7) #3 %9 = call i32 @cl_git_pass(i32 noundef %8) #3 %10 = load ptr, ptr %3, align 8, !tbaa !10 %11 = call i32 @git_config_get_string_buf(ptr noundef nonnull %4, ptr noundef %10, ptr noundef nonnull @.str) #3 %12 = call i32 @cl_git_pass(i32 noundef %11) #3 %13 = call ptr @git_buf_detach(ptr noundef nonnull %4) #3 %14 = load ptr, ptr %3, align 8, !tbaa !10 %15 = call i32 @git_config_get_string_buf(ptr noundef nonnull %4, ptr noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = call ptr @git_buf_detach(ptr noundef nonnull %4) #3 %18 = load ptr, ptr %3, align 8, !tbaa !10 %19 = call i32 @git_config_free(ptr noundef %18) #3 %20 = load i32, ptr @repo, align 4, !tbaa !6 %21 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %20, ptr noundef nonnull @.str.2) #3 %22 = call i32 @cl_git_pass(i32 noundef %21) #3 %23 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !6 %24 = load ptr, ptr %1, align 8, !tbaa !10 %25 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %24, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %26 = call i32 @cl_assert_equal_i(i32 noundef %23, i32 noundef %25) #3 %27 = call ptr @git_error_last() #3 %28 = load ptr, ptr %27, align 8, !tbaa !12 %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 %31 = call i32 @cl_assert(i32 noundef %30) #3 %32 = load i32, ptr @repo, align 4, !tbaa !6 %33 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = call i32 @cl_git_pass(i32 noundef %33) #3 %35 = load ptr, ptr %3, align 8, !tbaa !10 %36 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %35, ptr noundef nonnull @.str) #3 %37 = call i32 @cl_git_pass(i32 noundef %36) #3 %38 = load ptr, ptr %5, align 8, !tbaa !10 %39 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %38) #3 %40 = load ptr, ptr %3, align 8, !tbaa !10 %41 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %40, ptr noundef nonnull @.str.1) #3 %42 = call i32 @cl_git_pass(i32 noundef %41) #3 %43 = load ptr, ptr %5, align 8, !tbaa !10 %44 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %43) #3 %45 = load ptr, ptr %3, align 8, !tbaa !10 %46 = call i32 @git_config_free(ptr noundef %45) #3 %47 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !6 %48 = load ptr, ptr %1, align 8, !tbaa !10 %49 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %48, ptr noundef nonnull @.str.4, i32 noundef 0) #3 %50 = call i32 @cl_assert_equal_i(i32 noundef %47, i32 noundef %49) #3 %51 = call ptr @git_error_last() #3 %52 = load ptr, ptr %51, align 8, !tbaa !12 %53 = icmp ne ptr %52, null %54 = zext i1 %53 to i32 %55 = call i32 @cl_assert(i32 noundef %54) #3 %56 = load i32, ptr @repo, align 4, !tbaa !6 %57 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %56) #3 %58 = call i32 @cl_git_pass(i32 noundef %57) #3 %59 = load ptr, ptr %3, align 8, !tbaa !10 %60 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %59, ptr noundef nonnull @.str) #3 %61 = call i32 @cl_git_pass(i32 noundef %60) #3 %62 = load ptr, ptr %5, align 8, !tbaa !10 %63 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %62) #3 %64 = load ptr, ptr %3, align 8, !tbaa !10 %65 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %64, ptr noundef nonnull @.str.1) #3 %66 = call i32 @cl_git_pass(i32 noundef %65) #3 %67 = load ptr, ptr %5, align 8, !tbaa !10 %68 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %67) #3 %69 = load ptr, ptr %3, align 8, !tbaa !10 %70 = call i32 @git_config_free(ptr noundef %69) #3 %71 = load ptr, ptr %1, align 8, !tbaa !10 %72 = call i32 @git_reference_free(ptr noundef %71) #3 %73 = load i32, ptr @repo, align 4, !tbaa !6 %74 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %73, ptr noundef nonnull @.str.5) #3 %75 = call i32 @cl_git_pass(i32 noundef %74) #3 %76 = load i32, ptr @GIT_EEXISTS, align 4, !tbaa !6 %77 = load ptr, ptr %1, align 8, !tbaa !10 %78 = call i32 @git_branch_move(ptr noundef nonnull %2, ptr noundef %77, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %79 = call i32 @cl_assert_equal_i(i32 noundef %76, i32 noundef %78) #3 %80 = call ptr @git_error_last() #3 %81 = load ptr, ptr %80, align 8, !tbaa !12 %82 = icmp ne ptr %81, null %83 = zext i1 %82 to i32 %84 = call i32 @cl_assert(i32 noundef %83) #3 %85 = load i32, ptr @repo, align 4, !tbaa !6 %86 = call i32 @git_repository_config_snapshot(ptr noundef nonnull %3, i32 noundef %85) #3 %87 = call i32 @cl_git_pass(i32 noundef %86) #3 %88 = load ptr, ptr %3, align 8, !tbaa !10 %89 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %88, ptr noundef nonnull @.str) #3 %90 = call i32 @cl_git_pass(i32 noundef %89) #3 %91 = load ptr, ptr %5, align 8, !tbaa !10 %92 = call i32 @cl_assert_equal_s(ptr noundef %13, ptr noundef %91) #3 %93 = load ptr, ptr %3, align 8, !tbaa !10 %94 = call i32 @git_config_get_string(ptr noundef nonnull %5, ptr noundef %93, ptr noundef nonnull @.str.1) #3 %95 = call i32 @cl_git_pass(i32 noundef %94) #3 %96 = load ptr, ptr %5, align 8, !tbaa !10 %97 = call i32 @cl_assert_equal_s(ptr noundef %17, ptr noundef %96) #3 %98 = call i32 @git__free(ptr noundef %13) #3 %99 = call i32 @git__free(ptr noundef %17) #3 %100 = load ptr, ptr %1, align 8, !tbaa !10 %101 = call i32 @git_reference_free(ptr noundef %100) #3 %102 = load ptr, ptr %3, align 8, !tbaa !10 %103 = call i32 @git_config_free(ptr noundef %102) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_config_snapshot(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_config_get_string_buf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git_buf_detach(ptr noundef) local_unnamed_addr #2 declare i32 @git_config_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_i(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_branch_move(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #2 declare ptr @git_error_last(...) local_unnamed_addr #2 declare i32 @git_config_get_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_s(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git__free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0}
libgit2_tests_refs_branches_extr_move.c_test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one
; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_markdown.c_parse_htmlblock.c' source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_markdown.c_parse_htmlblock.c" target datalayout = "e-m:e-p270:32:32-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.buf = type { ptr, i64, i32, i32, i32 } %struct.sd_markdown = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @.str = private unnamed_addr constant [4 x i8] c"ins\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"del\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_htmlblock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @parse_htmlblock(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.buf, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = getelementptr inbounds i8, ptr %6, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 0, i64 24, i1 false) store ptr %2, ptr %6, align 8, !tbaa !5 %8 = icmp ult i64 %3, 2 br i1 %8, label %139, label %9 9: ; preds = %5 %10 = load i8, ptr %2, align 1, !tbaa !12 %11 = icmp eq i8 %10, 60 br i1 %11, label %12, label %139 12: ; preds = %9, %16 %13 = phi i64 [ %17, %16 ], [ 1, %9 ] %14 = getelementptr inbounds i8, ptr %2, i64 %13 %15 = load i8, ptr %14, align 1, !tbaa !12 switch i8 %15, label %16 [ i8 62, label %19 i8 32, label %19 ] 16: ; preds = %12 %17 = add nuw i64 %13, 1 %18 = icmp eq i64 %17, %3 br i1 %18, label %25, label %12, !llvm.loop !13 19: ; preds = %12, %12 %20 = getelementptr inbounds i8, ptr %2, i64 1 %21 = trunc i64 %13 to i32 %22 = add nsw i32 %21, -1 %23 = tail call ptr @find_block_tag(ptr noundef nonnull %20, i32 noundef %22) #4 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %116 25: ; preds = %16, %19 %26 = icmp ugt i64 %3, 5 br i1 %26, label %27, label %76 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %2, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !12 %30 = icmp eq i8 %29, 33 br i1 %30, label %31, label %81 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %2, i64 2 %33 = load i8, ptr %32, align 1, !tbaa !12 %34 = icmp eq i8 %33, 45 br i1 %34, label %35, label %139 35: ; preds = %31 %36 = getelementptr inbounds i8, ptr %2, i64 3 %37 = load i8, ptr %36, align 1, !tbaa !12 %38 = icmp eq i8 %37, 45 br i1 %38, label %39, label %139 39: ; preds = %35, %52 %40 = phi i64 [ %53, %52 ], [ 5, %35 ] %41 = getelementptr i8, ptr %2, i64 %40 %42 = getelementptr i8, ptr %41, i64 -2 %43 = load i8, ptr %42, align 1, !tbaa !12 %44 = icmp eq i8 %43, 45 br i1 %44, label %45, label %52 45: ; preds = %39 %46 = getelementptr i8, ptr %41, i64 -1 %47 = load i8, ptr %46, align 1, !tbaa !12 %48 = icmp eq i8 %47, 45 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i8, ptr %41, align 1, !tbaa !12 %51 = icmp eq i8 %50, 62 br i1 %51, label %55, label %52 52: ; preds = %45, %39, %49 %53 = add nuw i64 %40, 1 %54 = icmp eq i64 %53, %3 br i1 %54, label %55, label %39, !llvm.loop !15 55: ; preds = %49, %52 %56 = phi i64 [ %40, %49 ], [ %3, %52 ] %57 = add i64 %56, 1 %58 = icmp ult i64 %57, %3 br i1 %58, label %59, label %76 59: ; preds = %55 %60 = getelementptr inbounds i8, ptr %2, i64 %57 %61 = sub i64 %3, %57 %62 = tail call i64 @is_empty(ptr noundef nonnull %60, i64 noundef %61) #4 %63 = icmp eq i64 %62, 0 br i1 %63, label %76, label %64 64: ; preds = %59 %65 = add i64 %62, %57 %66 = getelementptr inbounds %struct.buf, ptr %6, i64 0, i32 1 store i64 %65, ptr %66, align 8, !tbaa !16 %67 = icmp eq i32 %4, 0 br i1 %67, label %139, label %68 68: ; preds = %64 %69 = getelementptr inbounds %struct.sd_markdown, ptr %1, i64 0, i32 1 %70 = load ptr, ptr %69, align 8, !tbaa !17 %71 = icmp eq ptr %70, null br i1 %71, label %139, label %72 72: ; preds = %68 %73 = load i32, ptr %1, align 8, !tbaa !20 %74 = call i32 %70(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %73) #4 %75 = load i64, ptr %66, align 8, !tbaa !16 br label %139 76: ; preds = %55, %59, %25 %77 = icmp ugt i64 %3, 4 br i1 %77, label %78, label %139 78: ; preds = %76 %79 = getelementptr inbounds i8, ptr %2, i64 1 %80 = load i8, ptr %79, align 1, !tbaa !12 br label %81 81: ; preds = %78, %27 %82 = phi i8 [ %80, %78 ], [ %29, %27 ] switch i8 %82, label %139 [ i8 104, label %83 i8 72, label %83 ] 83: ; preds = %81, %81 %84 = getelementptr inbounds i8, ptr %2, i64 2 %85 = load i8, ptr %84, align 1, !tbaa !12 switch i8 %85, label %139 [ i8 114, label %86 i8 82, label %86 ] 86: ; preds = %83, %83 br label %87 87: ; preds = %86, %92 %88 = phi i64 [ %93, %92 ], [ 3, %86 ] %89 = getelementptr inbounds i8, ptr %2, i64 %88 %90 = load i8, ptr %89, align 1, !tbaa !12 %91 = icmp eq i8 %90, 62 br i1 %91, label %95, label %92 92: ; preds = %87 %93 = add nuw i64 %88, 1 %94 = icmp eq i64 %93, %3 br i1 %94, label %95, label %87, !llvm.loop !21 95: ; preds = %87, %92 %96 = phi i64 [ %88, %87 ], [ %3, %92 ] %97 = add i64 %96, 1 %98 = icmp ult i64 %97, %3 br i1 %98, label %99, label %139 99: ; preds = %95 %100 = getelementptr inbounds i8, ptr %2, i64 %97 %101 = sub i64 %3, %97 %102 = tail call i64 @is_empty(ptr noundef nonnull %100, i64 noundef %101) #4 %103 = icmp eq i64 %102, 0 br i1 %103, label %139, label %104 104: ; preds = %99 %105 = add i64 %102, %97 %106 = getelementptr inbounds %struct.buf, ptr %6, i64 0, i32 1 store i64 %105, ptr %106, align 8, !tbaa !16 %107 = icmp eq i32 %4, 0 br i1 %107, label %139, label %108 108: ; preds = %104 %109 = getelementptr inbounds %struct.sd_markdown, ptr %1, i64 0, i32 1 %110 = load ptr, ptr %109, align 8, !tbaa !17 %111 = icmp eq ptr %110, null br i1 %111, label %139, label %112 112: ; preds = %108 %113 = load i32, ptr %1, align 8, !tbaa !20 %114 = call i32 %110(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %113) #4 %115 = load i64, ptr %106, align 8, !tbaa !16 br label %139 116: ; preds = %19 %117 = tail call i64 @htmlblock_end(ptr noundef nonnull %23, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i32 noundef 1) #4 %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %128 119: ; preds = %116 %120 = tail call i64 @strcmp(ptr noundef nonnull %23, ptr noundef nonnull @.str) #4 %121 = icmp eq i64 %120, 0 br i1 %121, label %139, label %122 122: ; preds = %119 %123 = tail call i64 @strcmp(ptr noundef nonnull %23, ptr noundef nonnull @.str.1) #4 %124 = icmp eq i64 %123, 0 br i1 %124, label %139, label %125 125: ; preds = %122 %126 = tail call i64 @htmlblock_end(ptr noundef nonnull %23, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i32 noundef 0) #4 %127 = icmp eq i64 %126, 0 br i1 %127, label %139, label %128 128: ; preds = %116, %125 %129 = phi i64 [ %126, %125 ], [ %117, %116 ] %130 = getelementptr inbounds %struct.buf, ptr %6, i64 0, i32 1 store i64 %129, ptr %130, align 8, !tbaa !16 %131 = icmp eq i32 %4, 0 br i1 %131, label %139, label %132 132: ; preds = %128 %133 = getelementptr inbounds %struct.sd_markdown, ptr %1, i64 0, i32 1 %134 = load ptr, ptr %133, align 8, !tbaa !17 %135 = icmp eq ptr %134, null br i1 %135, label %139, label %136 136: ; preds = %132 %137 = load i32, ptr %1, align 8, !tbaa !20 %138 = call i32 %134(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %137) #4 br label %139 139: ; preds = %35, %31, %104, %108, %112, %64, %68, %72, %119, %122, %128, %132, %136, %125, %76, %99, %95, %81, %83, %5, %9 %140 = phi i64 [ 0, %9 ], [ 0, %5 ], [ 0, %83 ], [ 0, %81 ], [ 0, %95 ], [ 0, %99 ], [ 0, %76 ], [ 0, %125 ], [ %129, %136 ], [ %129, %132 ], [ %129, %128 ], [ 0, %122 ], [ 0, %119 ], [ %75, %72 ], [ %65, %68 ], [ %65, %64 ], [ %115, %112 ], [ %105, %108 ], [ %105, %104 ], [ 0, %31 ], [ 0, %35 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 ret i64 %140 } ; 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 ptr @find_block_tag(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @is_empty(ptr noundef, i64 noundef) local_unnamed_addr #3 declare i64 @htmlblock_end(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !7, i64 0} !6 = !{!"buf", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !11, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = !{!6, !10, i64 8} !17 = !{!18, !7, i64 8} !18 = !{!"sd_markdown", !11, i64 0, !19, i64 8} !19 = !{!"TYPE_2__", !7, i64 0} !20 = !{!18, !11, i64 0} !21 = distinct !{!21, !14}
; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_markdown.c_parse_htmlblock.c' source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_markdown.c_parse_htmlblock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.buf = type { ptr, i64, i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"ins\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"del\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parse_htmlblock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @parse_htmlblock(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.buf, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = getelementptr inbounds i8, ptr %6, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 0, i64 24, i1 false) store ptr %2, ptr %6, align 8, !tbaa !6 %8 = icmp ult i64 %3, 2 br i1 %8, label %136, label %9 9: ; preds = %5 %10 = load i8, ptr %2, align 1, !tbaa !13 %11 = icmp eq i8 %10, 60 br i1 %11, label %12, label %136 12: ; preds = %9, %16 %13 = phi i64 [ %17, %16 ], [ 1, %9 ] %14 = getelementptr inbounds i8, ptr %2, i64 %13 %15 = load i8, ptr %14, align 1, !tbaa !13 switch i8 %15, label %16 [ i8 62, label %19 i8 32, label %19 ] 16: ; preds = %12 %17 = add nuw i64 %13, 1 %18 = icmp eq i64 %17, %3 br i1 %18, label %25, label %12, !llvm.loop !14 19: ; preds = %12, %12 %20 = getelementptr inbounds i8, ptr %2, i64 1 %21 = trunc i64 %13 to i32 %22 = add nsw i32 %21, -1 %23 = tail call ptr @find_block_tag(ptr noundef nonnull %20, i32 noundef %22) #4 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %114 25: ; preds = %16, %19 %26 = icmp ugt i64 %3, 5 br i1 %26, label %27, label %75 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %2, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !13 %30 = icmp eq i8 %29, 33 br i1 %30, label %31, label %80 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %2, i64 2 %33 = load i8, ptr %32, align 1, !tbaa !13 %34 = icmp eq i8 %33, 45 br i1 %34, label %35, label %136 35: ; preds = %31 %36 = getelementptr inbounds i8, ptr %2, i64 3 %37 = load i8, ptr %36, align 1, !tbaa !13 %38 = icmp eq i8 %37, 45 br i1 %38, label %39, label %136 39: ; preds = %35, %52 %40 = phi i64 [ %53, %52 ], [ 5, %35 ] %41 = getelementptr i8, ptr %2, i64 %40 %42 = getelementptr i8, ptr %41, i64 -2 %43 = load i8, ptr %42, align 1, !tbaa !13 %44 = icmp eq i8 %43, 45 br i1 %44, label %45, label %52 45: ; preds = %39 %46 = getelementptr i8, ptr %41, i64 -1 %47 = load i8, ptr %46, align 1, !tbaa !13 %48 = icmp eq i8 %47, 45 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i8, ptr %41, align 1, !tbaa !13 %51 = icmp eq i8 %50, 62 br i1 %51, label %55, label %52 52: ; preds = %45, %39, %49 %53 = add nuw i64 %40, 1 %54 = icmp eq i64 %53, %3 br i1 %54, label %55, label %39, !llvm.loop !16 55: ; preds = %49, %52 %56 = phi i64 [ %40, %49 ], [ %3, %52 ] %57 = add i64 %56, 1 %58 = icmp ult i64 %57, %3 br i1 %58, label %59, label %75 59: ; preds = %55 %60 = getelementptr inbounds i8, ptr %2, i64 %57 %61 = sub i64 %3, %57 %62 = tail call i64 @is_empty(ptr noundef nonnull %60, i64 noundef %61) #4 %63 = icmp eq i64 %62, 0 br i1 %63, label %75, label %64 64: ; preds = %59 %65 = add i64 %62, %57 store i64 %65, ptr %7, align 8, !tbaa !17 %66 = icmp eq i32 %4, 0 br i1 %66, label %136, label %67 67: ; preds = %64 %68 = getelementptr inbounds i8, ptr %1, i64 8 %69 = load ptr, ptr %68, align 8, !tbaa !18 %70 = icmp eq ptr %69, null br i1 %70, label %136, label %71 71: ; preds = %67 %72 = load i32, ptr %1, align 8, !tbaa !21 %73 = call i32 %69(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %72) #4 %74 = load i64, ptr %7, align 8, !tbaa !17 br label %136 75: ; preds = %55, %59, %25 %76 = icmp ugt i64 %3, 4 br i1 %76, label %77, label %136 77: ; preds = %75 %78 = getelementptr inbounds i8, ptr %2, i64 1 %79 = load i8, ptr %78, align 1, !tbaa !13 br label %80 80: ; preds = %77, %27 %81 = phi i8 [ %79, %77 ], [ %29, %27 ] switch i8 %81, label %136 [ i8 104, label %82 i8 72, label %82 ] 82: ; preds = %80, %80 %83 = getelementptr inbounds i8, ptr %2, i64 2 %84 = load i8, ptr %83, align 1, !tbaa !13 switch i8 %84, label %136 [ i8 114, label %85 i8 82, label %85 ] 85: ; preds = %82, %82 br label %86 86: ; preds = %85, %91 %87 = phi i64 [ %92, %91 ], [ 3, %85 ] %88 = getelementptr inbounds i8, ptr %2, i64 %87 %89 = load i8, ptr %88, align 1, !tbaa !13 %90 = icmp eq i8 %89, 62 br i1 %90, label %94, label %91 91: ; preds = %86 %92 = add nuw i64 %87, 1 %93 = icmp eq i64 %92, %3 br i1 %93, label %94, label %86, !llvm.loop !22 94: ; preds = %86, %91 %95 = phi i64 [ %87, %86 ], [ %3, %91 ] %96 = add i64 %95, 1 %97 = icmp ult i64 %96, %3 br i1 %97, label %98, label %136 98: ; preds = %94 %99 = getelementptr inbounds i8, ptr %2, i64 %96 %100 = sub i64 %3, %96 %101 = tail call i64 @is_empty(ptr noundef nonnull %99, i64 noundef %100) #4 %102 = icmp eq i64 %101, 0 br i1 %102, label %136, label %103 103: ; preds = %98 %104 = add i64 %101, %96 store i64 %104, ptr %7, align 8, !tbaa !17 %105 = icmp eq i32 %4, 0 br i1 %105, label %136, label %106 106: ; preds = %103 %107 = getelementptr inbounds i8, ptr %1, i64 8 %108 = load ptr, ptr %107, align 8, !tbaa !18 %109 = icmp eq ptr %108, null br i1 %109, label %136, label %110 110: ; preds = %106 %111 = load i32, ptr %1, align 8, !tbaa !21 %112 = call i32 %108(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %111) #4 %113 = load i64, ptr %7, align 8, !tbaa !17 br label %136 114: ; preds = %19 %115 = tail call i64 @htmlblock_end(ptr noundef nonnull %23, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i32 noundef 1) #4 %116 = icmp eq i64 %115, 0 br i1 %116, label %117, label %126 117: ; preds = %114 %118 = tail call i64 @strcmp(ptr noundef nonnull %23, ptr noundef nonnull @.str) #4 %119 = icmp eq i64 %118, 0 br i1 %119, label %136, label %120 120: ; preds = %117 %121 = tail call i64 @strcmp(ptr noundef nonnull %23, ptr noundef nonnull @.str.1) #4 %122 = icmp eq i64 %121, 0 br i1 %122, label %136, label %123 123: ; preds = %120 %124 = tail call i64 @htmlblock_end(ptr noundef nonnull %23, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i32 noundef 0) #4 %125 = icmp eq i64 %124, 0 br i1 %125, label %136, label %126 126: ; preds = %114, %123 %127 = phi i64 [ %124, %123 ], [ %115, %114 ] store i64 %127, ptr %7, align 8, !tbaa !17 %128 = icmp eq i32 %4, 0 br i1 %128, label %136, label %129 129: ; preds = %126 %130 = getelementptr inbounds i8, ptr %1, i64 8 %131 = load ptr, ptr %130, align 8, !tbaa !18 %132 = icmp eq ptr %131, null br i1 %132, label %136, label %133 133: ; preds = %129 %134 = load i32, ptr %1, align 8, !tbaa !21 %135 = call i32 %131(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %134) #4 br label %136 136: ; preds = %35, %31, %103, %106, %110, %64, %67, %71, %117, %120, %126, %129, %133, %123, %75, %98, %94, %80, %82, %5, %9 %137 = phi i64 [ 0, %9 ], [ 0, %5 ], [ 0, %82 ], [ 0, %80 ], [ 0, %94 ], [ 0, %98 ], [ 0, %75 ], [ 0, %123 ], [ %127, %133 ], [ %127, %129 ], [ %127, %126 ], [ 0, %120 ], [ 0, %117 ], [ %74, %71 ], [ %65, %67 ], [ %65, %64 ], [ %113, %110 ], [ %104, %106 ], [ %104, %103 ], [ 0, %31 ], [ 0, %35 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 ret i64 %137 } ; 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 ptr @find_block_tag(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @is_empty(ptr noundef, i64 noundef) local_unnamed_addr #3 declare i64 @htmlblock_end(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !8, i64 0} !7 = !{!"buf", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!9, !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = !{!7, !11, i64 8} !18 = !{!19, !8, i64 8} !19 = !{!"sd_markdown", !12, i64 0, !20, i64 8} !20 = !{!"TYPE_2__", !8, i64 0} !21 = !{!19, !12, i64 0} !22 = distinct !{!22, !15}
redcarpet_ext_redcarpet_extr_markdown.c_parse_htmlblock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-vbi.c_vidioc_querycap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-vbi.c_vidioc_querycap.c" target datalayout = "e-m:e-p270:32:32-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.v4l2_capability = type { i32, i64, i32, i32, i32 } %struct.saa7164_dev = type { i64, i32, i32 } %struct.TYPE_2__ = type { i32 } @saa7164_boards = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"PCI:%s\00", align 1 @V4L2_CAP_VBI_CAPTURE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CAP_READWRITE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CAP_TUNER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_querycap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vidioc_querycap(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.v4l2_capability, ptr %2, i64 0, i32 4 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.saa7164_dev, ptr %6, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !18 %11 = tail call i32 @strcpy(i32 noundef %8, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.v4l2_capability, ptr %2, i64 0, i32 3 %13 = load i32, ptr %12, align 4, !tbaa !20 %14 = load ptr, ptr @saa7164_boards, align 8, !tbaa !21 %15 = load i64, ptr %6, align 8, !tbaa !22 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !23 %18 = tail call i32 @strlcpy(i32 noundef %13, i32 noundef %17, i32 noundef 4) #2 %19 = getelementptr inbounds %struct.v4l2_capability, ptr %2, i64 0, i32 2 %20 = load i32, ptr %19, align 8, !tbaa !25 %21 = getelementptr inbounds %struct.saa7164_dev, ptr %6, i64 0, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !26 %23 = tail call ptr @pci_name(i32 noundef %22) #2 %24 = tail call i32 @sprintf(i32 noundef %20, ptr noundef nonnull @.str, ptr noundef %23) #2 %25 = load i32, ptr @V4L2_CAP_VBI_CAPTURE, align 4, !tbaa !27 %26 = load i32, ptr @V4L2_CAP_READWRITE, align 4, !tbaa !27 %27 = or i32 %26, %25 store i32 %27, ptr %2, align 8, !tbaa !28 %28 = load i32, ptr @V4L2_CAP_TUNER, align 4, !tbaa !27 %29 = or i32 %28, %27 store i32 %29, ptr %2, align 8, !tbaa !28 %30 = getelementptr inbounds %struct.v4l2_capability, ptr %2, i64 0, i32 1 store i64 0, ptr %30, align 8, !tbaa !29 ret i32 0 } declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pci_name(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 = !{!"file", !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 = !{!"saa7164_vbi_fh", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"saa7164_port", !7, i64 0} !14 = !{!15, !16, i64 24} !15 = !{!"v4l2_capability", !16, i64 0, !17, i64 8, !16, i64 16, !16, i64 20, !16, i64 24} !16 = !{!"int", !8, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!19, !16, i64 12} !19 = !{!"saa7164_dev", !17, i64 0, !16, i64 8, !16, i64 12} !20 = !{!15, !16, i64 20} !21 = !{!7, !7, i64 0} !22 = !{!19, !17, i64 0} !23 = !{!24, !16, i64 0} !24 = !{!"TYPE_2__", !16, i64 0} !25 = !{!15, !16, i64 16} !26 = !{!19, !16, i64 8} !27 = !{!16, !16, i64 0} !28 = !{!15, !16, i64 0} !29 = !{!15, !17, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-vbi.c_vidioc_querycap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-vbi.c_vidioc_querycap.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 } @saa7164_boards = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"PCI:%s\00", align 1 @V4L2_CAP_VBI_CAPTURE = common local_unnamed_addr global i32 0, align 4 @V4L2_CAP_READWRITE = common local_unnamed_addr global i32 0, align 4 @V4L2_CAP_TUNER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vidioc_querycap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vidioc_querycap(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %2, i64 24 %8 = load i32, ptr %7, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %6, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !19 %11 = tail call i32 @strcpy(i32 noundef %8, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %2, i64 20 %13 = load i32, ptr %12, align 4, !tbaa !21 %14 = load ptr, ptr @saa7164_boards, align 8, !tbaa !22 %15 = load i64, ptr %6, align 8, !tbaa !23 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !24 %18 = tail call i32 @strlcpy(i32 noundef %13, i32 noundef %17, i32 noundef 4) #2 %19 = getelementptr inbounds i8, ptr %2, i64 16 %20 = load i32, ptr %19, align 8, !tbaa !26 %21 = getelementptr inbounds i8, ptr %6, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !27 %23 = tail call ptr @pci_name(i32 noundef %22) #2 %24 = tail call i32 @sprintf(i32 noundef %20, ptr noundef nonnull @.str, ptr noundef %23) #2 %25 = load i32, ptr @V4L2_CAP_VBI_CAPTURE, align 4, !tbaa !28 %26 = load i32, ptr @V4L2_CAP_READWRITE, align 4, !tbaa !28 %27 = or i32 %26, %25 store i32 %27, ptr %2, align 8, !tbaa !29 %28 = load i32, ptr @V4L2_CAP_TUNER, align 4, !tbaa !28 %29 = or i32 %28, %27 store i32 %29, ptr %2, align 8, !tbaa !29 %30 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %30, align 8, !tbaa !30 ret i32 0 } declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pci_name(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 = !{!"file", !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 = !{!"saa7164_vbi_fh", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"saa7164_port", !8, i64 0} !15 = !{!16, !17, i64 24} !16 = !{!"v4l2_capability", !17, i64 0, !18, i64 8, !17, i64 16, !17, i64 20, !17, i64 24} !17 = !{!"int", !9, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!20, !17, i64 12} !20 = !{!"saa7164_dev", !18, i64 0, !17, i64 8, !17, i64 12} !21 = !{!16, !17, i64 20} !22 = !{!8, !8, i64 0} !23 = !{!20, !18, i64 0} !24 = !{!25, !17, i64 0} !25 = !{!"TYPE_2__", !17, i64 0} !26 = !{!16, !17, i64 16} !27 = !{!20, !17, i64 8} !28 = !{!17, !17, i64 0} !29 = !{!16, !17, i64 0} !30 = !{!16, !18, i64 8}
fastsocket_kernel_drivers_media_video_saa7164_extr_saa7164-vbi.c_vidioc_querycap
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_fgetvp_exec.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_fgetvp_exec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FEXEC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fgetvp_exec(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @FEXEC, align 4, !tbaa !5 %6 = tail call i32 @_fgetvp(ptr noundef %0, i32 noundef %1, i32 noundef %5, ptr noundef %2, ptr noundef %3) #2 ret i32 %6 } declare i32 @_fgetvp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_fgetvp_exec.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_fgetvp_exec.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FEXEC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fgetvp_exec(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @FEXEC, align 4, !tbaa !6 %6 = tail call i32 @_fgetvp(ptr noundef %0, i32 noundef %1, i32 noundef %5, ptr noundef %2, ptr noundef %3) #2 ret i32 %6 } declare i32 @_fgetvp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_kern_extr_kern_descrip.c_fgetvp_exec
; ModuleID = 'AnghaBench/tig/src/extr_graph-v2.c_graph_generate_symbols.c' source_filename = "AnghaBench/tig/src/extr_graph-v2.c_graph_generate_symbols.c" target datalayout = "e-m:e-p270:32:32-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.graph_v2 = type { i32, ptr, i32, %struct.graph_row, %struct.graph_row, %struct.graph_row, %struct.graph_row } %struct.graph_row = type { i32, ptr } %struct.graph_column = type { ptr, %struct.graph_symbol } %struct.graph_symbol = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @graph_generate_symbols], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @graph_generate_symbols(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 6 %4 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 5 %5 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 4 %6 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 3 %7 = tail call i32 @commits_in_row(ptr noundef nonnull %6) #2 %8 = icmp slt i32 %7, 1 %9 = zext i1 %8 to i32 %10 = icmp sgt i32 %7, 1 %11 = zext i1 %10 to i32 %12 = load i32, ptr %4, align 8, !tbaa !5 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %116 14: ; preds = %2 %15 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 5, i32 1 %16 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 4, i32 1 %17 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 1 %18 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 6, i32 1 br label %19 19: ; preds = %14, %108 %20 = phi i64 [ 0, %14 ], [ %82, %108 ] %21 = load ptr, ptr %15, align 8, !tbaa !11 %22 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20 %23 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1 %24 = load ptr, ptr %16, align 8, !tbaa !11 %25 = getelementptr inbounds %struct.graph_column, ptr %24, i64 %20 %26 = load ptr, ptr %25, align 8, !tbaa !12 %27 = load i32, ptr %0, align 8, !tbaa !15 %28 = zext i32 %27 to i64 %29 = icmp eq i64 %20, %28 %30 = zext i1 %29 to i32 store i32 %30, ptr %23, align 8, !tbaa !17 br i1 %29, label %31, label %35 31: ; preds = %19 %32 = getelementptr inbounds %struct.graph_column, ptr %24, i64 %20, i32 1, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !18 %34 = icmp ne i32 %33, 0 br label %35 35: ; preds = %31, %19 %36 = phi i1 [ false, %19 ], [ %34, %31 ] %37 = zext i1 %36 to i32 %38 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 1 store i32 %37, ptr %38, align 4, !tbaa !19 %39 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 2 store i32 %9, ptr %39, align 8, !tbaa !20 %40 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 3 store i32 %11, ptr %40, align 4, !tbaa !21 %41 = trunc i64 %20 to i32 %42 = tail call ptr @continued_down(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %41) #2 %43 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 20 store ptr %42, ptr %43, align 8, !tbaa !22 %44 = tail call ptr @continued_down(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %41) #2 %45 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 19 store ptr %44, ptr %45, align 8, !tbaa !23 %46 = load i32, ptr %0, align 8, !tbaa !15 %47 = tail call ptr @continued_right(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %46) #2 %48 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 18 store ptr %47, ptr %48, align 8, !tbaa !24 %49 = load i32, ptr %0, align 8, !tbaa !15 %50 = tail call ptr @continued_left(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %49) #2 %51 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 17 store ptr %50, ptr %51, align 8, !tbaa !25 %52 = load i32, ptr %3, align 8, !tbaa !5 %53 = tail call ptr @continued_left(ptr noundef nonnull %3, i32 noundef %41, i32 noundef %52) #2 %54 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 16 store ptr %53, ptr %54, align 8, !tbaa !26 %55 = tail call i32 @parent_down(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %41) #2 %56 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 15 store i32 %55, ptr %56, align 8, !tbaa !27 %57 = load i32, ptr %0, align 8, !tbaa !15 %58 = sext i32 %57 to i64 %59 = icmp sgt i64 %20, %58 br i1 %59, label %60, label %63 60: ; preds = %35 %61 = tail call i64 @parent_right(ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %41) #2 %62 = icmp ne i64 %61, 0 br label %63 63: ; preds = %60, %35 %64 = phi i1 [ false, %35 ], [ %62, %60 ] %65 = zext i1 %64 to i32 %66 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 4 store i32 %65, ptr %66, align 8, !tbaa !28 %67 = tail call i32 @below_commit(i32 noundef %41, ptr noundef nonnull %0) #2 %68 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 14 store i32 %67, ptr %68, align 4, !tbaa !29 %69 = load i32, ptr %0, align 8, !tbaa !15 %70 = load ptr, ptr %17, align 8, !tbaa !30 %71 = tail call i32 @flanked(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %69, ptr noundef %70) #2 %72 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 13 store i32 %71, ptr %72, align 8, !tbaa !31 %73 = tail call ptr @continued_right(ptr noundef nonnull %5, i32 noundef %41, i32 noundef 0) #2 %74 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 12 store ptr %73, ptr %74, align 8, !tbaa !32 %75 = load ptr, ptr %22, align 8, !tbaa !12 %76 = load ptr, ptr %17, align 8, !tbaa !30 %77 = icmp eq ptr %75, %76 %78 = zext i1 %77 to i32 %79 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 5 store i32 %78, ptr %79, align 4, !tbaa !33 %80 = tail call ptr @shift_left(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %41) #2 %81 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 9 store ptr %80, ptr %81, align 8, !tbaa !34 %82 = add nuw nsw i64 %20, 1 %83 = load i32, ptr %4, align 8, !tbaa !5 %84 = sext i32 %83 to i64 %85 = icmp slt i64 %82, %84 br i1 %85, label %86, label %89 86: ; preds = %63 %87 = trunc i64 %82 to i32 %88 = tail call ptr @shift_left(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %87) #2 br label %89 89: ; preds = %63, %86 %90 = phi ptr [ %88, %86 ], [ null, %63 ] %91 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 11 store ptr %90, ptr %91, align 8, !tbaa !35 %92 = load ptr, ptr %18, align 8, !tbaa !11 %93 = getelementptr inbounds %struct.graph_column, ptr %92, i64 %20, i32 1, i32 9 %94 = load ptr, ptr %93, align 8, !tbaa !36 %95 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 10 store ptr %94, ptr %95, align 8, !tbaa !37 %96 = tail call i32 @new_column(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %41) #2 %97 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 8 store i32 %96, ptr %97, align 8, !tbaa !38 %98 = load ptr, ptr %15, align 8, !tbaa !11 %99 = getelementptr inbounds %struct.graph_column, ptr %98, i64 %20 %100 = tail call i64 @graph_column_has_commit(ptr noundef %99) #2 %101 = icmp eq i64 %100, 0 %102 = zext i1 %101 to i32 %103 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 6 store i32 %102, ptr %103, align 8, !tbaa !39 %104 = tail call i64 @graph_column_has_commit(ptr noundef nonnull %22) #2 %105 = icmp eq i64 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %89 %107 = load ptr, ptr %22, align 8, !tbaa !12 br label %108 108: ; preds = %106, %89 %109 = phi ptr [ %107, %106 ], [ %26, %89 ] %110 = tail call i32 @get_color(ptr noundef nonnull %0, ptr noundef %109) #2 %111 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20, i32 1, i32 7 store i32 %110, ptr %111, align 4, !tbaa !40 %112 = tail call i32 @graph_canvas_append_symbol(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %23) #2 %113 = load i32, ptr %4, align 8, !tbaa !5 %114 = sext i32 %113 to i64 %115 = icmp slt i64 %82, %114 br i1 %115, label %19, label %116, !llvm.loop !41 116: ; preds = %108, %2 %117 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 2 %118 = getelementptr inbounds %struct.graph_v2, ptr %0, i64 0, i32 1 %119 = load ptr, ptr %118, align 8, !tbaa !30 %120 = tail call i32 @colors_remove_id(ptr noundef nonnull %117, ptr noundef %119) #2 ret void } declare i32 @commits_in_row(ptr noundef) local_unnamed_addr #1 declare ptr @continued_down(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @continued_right(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @continued_left(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parent_down(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parent_right(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @below_commit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @flanked(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @shift_left(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @new_column(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @graph_column_has_commit(ptr noundef) local_unnamed_addr #1 declare i32 @get_color(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @graph_canvas_append_symbol(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @colors_remove_id(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"graph_row", !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 0} !13 = !{!"graph_column", !10, i64 0, !14, i64 8} !14 = !{!"graph_symbol", !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, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120} !15 = !{!16, !7, i64 0} !16 = !{!"graph_v2", !7, i64 0, !10, i64 8, !7, i64 16, !6, i64 24, !6, i64 40, !6, i64 56, !6, i64 72} !17 = !{!14, !7, i64 0} !18 = !{!13, !7, i64 12} !19 = !{!14, !7, i64 4} !20 = !{!14, !7, i64 8} !21 = !{!14, !7, i64 12} !22 = !{!14, !10, i64 120} !23 = !{!14, !10, i64 112} !24 = !{!14, !10, i64 104} !25 = !{!14, !10, i64 96} !26 = !{!14, !10, i64 88} !27 = !{!14, !7, i64 80} !28 = !{!14, !7, i64 16} !29 = !{!14, !7, i64 76} !30 = !{!16, !10, i64 8} !31 = !{!14, !7, i64 72} !32 = !{!14, !10, i64 64} !33 = !{!14, !7, i64 20} !34 = !{!14, !10, i64 40} !35 = !{!14, !10, i64 56} !36 = !{!13, !10, i64 48} !37 = !{!14, !10, i64 48} !38 = !{!14, !7, i64 32} !39 = !{!14, !7, i64 24} !40 = !{!14, !7, i64 28} !41 = distinct !{!41, !42} !42 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/tig/src/extr_graph-v2.c_graph_generate_symbols.c' source_filename = "AnghaBench/tig/src/extr_graph-v2.c_graph_generate_symbols.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.graph_column = type { ptr, %struct.graph_symbol } %struct.graph_symbol = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr } @llvm.used = appending global [1 x ptr] [ptr @graph_generate_symbols], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @graph_generate_symbols(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 72 %4 = getelementptr inbounds i8, ptr %0, i64 56 %5 = getelementptr inbounds i8, ptr %0, i64 40 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = tail call i32 @commits_in_row(ptr noundef nonnull %6) #2 %8 = icmp slt i32 %7, 1 %9 = zext i1 %8 to i32 %10 = icmp sgt i32 %7, 1 %11 = zext i1 %10 to i32 %12 = load i32, ptr %4, align 8, !tbaa !6 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %116 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %0, i64 64 %16 = getelementptr inbounds i8, ptr %0, i64 48 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = getelementptr inbounds i8, ptr %0, i64 80 br label %19 19: ; preds = %14, %108 %20 = phi i64 [ 0, %14 ], [ %82, %108 ] %21 = load ptr, ptr %15, align 8, !tbaa !12 %22 = getelementptr inbounds %struct.graph_column, ptr %21, i64 %20 %23 = getelementptr inbounds i8, ptr %22, i64 8 %24 = load ptr, ptr %16, align 8, !tbaa !12 %25 = getelementptr inbounds %struct.graph_column, ptr %24, i64 %20 %26 = load ptr, ptr %25, align 8, !tbaa !13 %27 = load i32, ptr %0, align 8, !tbaa !16 %28 = zext i32 %27 to i64 %29 = icmp eq i64 %20, %28 %30 = zext i1 %29 to i32 store i32 %30, ptr %23, align 8, !tbaa !18 br i1 %29, label %31, label %35 31: ; preds = %19 %32 = getelementptr inbounds %struct.graph_column, ptr %24, i64 %20, i32 1, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !19 %34 = icmp ne i32 %33, 0 br label %35 35: ; preds = %31, %19 %36 = phi i1 [ false, %19 ], [ %34, %31 ] %37 = zext i1 %36 to i32 %38 = getelementptr inbounds i8, ptr %22, i64 12 store i32 %37, ptr %38, align 4, !tbaa !20 %39 = getelementptr inbounds i8, ptr %22, i64 16 store i32 %9, ptr %39, align 8, !tbaa !21 %40 = getelementptr inbounds i8, ptr %22, i64 20 store i32 %11, ptr %40, align 4, !tbaa !22 %41 = trunc nuw nsw i64 %20 to i32 %42 = tail call ptr @continued_down(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %41) #2 %43 = getelementptr inbounds i8, ptr %22, i64 128 store ptr %42, ptr %43, align 8, !tbaa !23 %44 = tail call ptr @continued_down(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %41) #2 %45 = getelementptr inbounds i8, ptr %22, i64 120 store ptr %44, ptr %45, align 8, !tbaa !24 %46 = load i32, ptr %0, align 8, !tbaa !16 %47 = tail call ptr @continued_right(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %46) #2 %48 = getelementptr inbounds i8, ptr %22, i64 112 store ptr %47, ptr %48, align 8, !tbaa !25 %49 = load i32, ptr %0, align 8, !tbaa !16 %50 = tail call ptr @continued_left(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %49) #2 %51 = getelementptr inbounds i8, ptr %22, i64 104 store ptr %50, ptr %51, align 8, !tbaa !26 %52 = load i32, ptr %3, align 8, !tbaa !6 %53 = tail call ptr @continued_left(ptr noundef nonnull %3, i32 noundef %41, i32 noundef %52) #2 %54 = getelementptr inbounds i8, ptr %22, i64 96 store ptr %53, ptr %54, align 8, !tbaa !27 %55 = tail call i32 @parent_down(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %41) #2 %56 = getelementptr inbounds i8, ptr %22, i64 88 store i32 %55, ptr %56, align 8, !tbaa !28 %57 = load i32, ptr %0, align 8, !tbaa !16 %58 = sext i32 %57 to i64 %59 = icmp sgt i64 %20, %58 br i1 %59, label %60, label %63 60: ; preds = %35 %61 = tail call i64 @parent_right(ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef %41) #2 %62 = icmp ne i64 %61, 0 br label %63 63: ; preds = %60, %35 %64 = phi i1 [ false, %35 ], [ %62, %60 ] %65 = zext i1 %64 to i32 %66 = getelementptr inbounds i8, ptr %22, i64 24 store i32 %65, ptr %66, align 8, !tbaa !29 %67 = tail call i32 @below_commit(i32 noundef %41, ptr noundef nonnull %0) #2 %68 = getelementptr inbounds i8, ptr %22, i64 84 store i32 %67, ptr %68, align 4, !tbaa !30 %69 = load i32, ptr %0, align 8, !tbaa !16 %70 = load ptr, ptr %17, align 8, !tbaa !31 %71 = tail call i32 @flanked(ptr noundef nonnull %4, i32 noundef %41, i32 noundef %69, ptr noundef %70) #2 %72 = getelementptr inbounds i8, ptr %22, i64 80 store i32 %71, ptr %72, align 8, !tbaa !32 %73 = tail call ptr @continued_right(ptr noundef nonnull %5, i32 noundef %41, i32 noundef 0) #2 %74 = getelementptr inbounds i8, ptr %22, i64 72 store ptr %73, ptr %74, align 8, !tbaa !33 %75 = load ptr, ptr %22, align 8, !tbaa !13 %76 = load ptr, ptr %17, align 8, !tbaa !31 %77 = icmp eq ptr %75, %76 %78 = zext i1 %77 to i32 %79 = getelementptr inbounds i8, ptr %22, i64 28 store i32 %78, ptr %79, align 4, !tbaa !34 %80 = tail call ptr @shift_left(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %41) #2 %81 = getelementptr inbounds i8, ptr %22, i64 48 store ptr %80, ptr %81, align 8, !tbaa !35 %82 = add nuw nsw i64 %20, 1 %83 = load i32, ptr %4, align 8, !tbaa !6 %84 = sext i32 %83 to i64 %85 = icmp slt i64 %82, %84 br i1 %85, label %86, label %89 86: ; preds = %63 %87 = trunc nuw nsw i64 %82 to i32 %88 = tail call ptr @shift_left(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %87) #2 br label %89 89: ; preds = %63, %86 %90 = phi ptr [ %88, %86 ], [ null, %63 ] %91 = getelementptr inbounds i8, ptr %22, i64 64 store ptr %90, ptr %91, align 8, !tbaa !36 %92 = load ptr, ptr %18, align 8, !tbaa !12 %93 = getelementptr inbounds %struct.graph_column, ptr %92, i64 %20, i32 1, i32 9 %94 = load ptr, ptr %93, align 8, !tbaa !37 %95 = getelementptr inbounds i8, ptr %22, i64 56 store ptr %94, ptr %95, align 8, !tbaa !38 %96 = tail call i32 @new_column(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %41) #2 %97 = getelementptr inbounds i8, ptr %22, i64 40 store i32 %96, ptr %97, align 8, !tbaa !39 %98 = load ptr, ptr %15, align 8, !tbaa !12 %99 = getelementptr inbounds %struct.graph_column, ptr %98, i64 %20 %100 = tail call i64 @graph_column_has_commit(ptr noundef %99) #2 %101 = icmp eq i64 %100, 0 %102 = zext i1 %101 to i32 %103 = getelementptr inbounds i8, ptr %22, i64 32 store i32 %102, ptr %103, align 8, !tbaa !40 %104 = tail call i64 @graph_column_has_commit(ptr noundef nonnull %22) #2 %105 = icmp eq i64 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %89 %107 = load ptr, ptr %22, align 8, !tbaa !13 br label %108 108: ; preds = %106, %89 %109 = phi ptr [ %107, %106 ], [ %26, %89 ] %110 = tail call i32 @get_color(ptr noundef nonnull %0, ptr noundef %109) #2 %111 = getelementptr inbounds i8, ptr %22, i64 36 store i32 %110, ptr %111, align 4, !tbaa !41 %112 = tail call i32 @graph_canvas_append_symbol(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %23) #2 %113 = load i32, ptr %4, align 8, !tbaa !6 %114 = sext i32 %113 to i64 %115 = icmp slt i64 %82, %114 br i1 %115, label %19, label %116, !llvm.loop !42 116: ; preds = %108, %2 %117 = getelementptr inbounds i8, ptr %0, i64 16 %118 = getelementptr inbounds i8, ptr %0, i64 8 %119 = load ptr, ptr %118, align 8, !tbaa !31 %120 = tail call i32 @colors_remove_id(ptr noundef nonnull %117, ptr noundef %119) #2 ret void } declare i32 @commits_in_row(ptr noundef) local_unnamed_addr #1 declare ptr @continued_down(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @continued_right(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @continued_left(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parent_down(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @parent_right(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @below_commit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @flanked(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @shift_left(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @new_column(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @graph_column_has_commit(ptr noundef) local_unnamed_addr #1 declare i32 @get_color(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @graph_canvas_append_symbol(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @colors_remove_id(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"graph_row", !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 0} !14 = !{!"graph_column", !11, i64 0, !15, i64 8} !15 = !{!"graph_symbol", !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, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !8, i64 72, !8, i64 76, !8, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120} !16 = !{!17, !8, i64 0} !17 = !{!"graph_v2", !8, i64 0, !11, i64 8, !8, i64 16, !7, i64 24, !7, i64 40, !7, i64 56, !7, i64 72} !18 = !{!15, !8, i64 0} !19 = !{!14, !8, i64 12} !20 = !{!15, !8, i64 4} !21 = !{!15, !8, i64 8} !22 = !{!15, !8, i64 12} !23 = !{!15, !11, i64 120} !24 = !{!15, !11, i64 112} !25 = !{!15, !11, i64 104} !26 = !{!15, !11, i64 96} !27 = !{!15, !11, i64 88} !28 = !{!15, !8, i64 80} !29 = !{!15, !8, i64 16} !30 = !{!15, !8, i64 76} !31 = !{!17, !11, i64 8} !32 = !{!15, !8, i64 72} !33 = !{!15, !11, i64 64} !34 = !{!15, !8, i64 20} !35 = !{!15, !11, i64 40} !36 = !{!15, !11, i64 56} !37 = !{!14, !11, i64 48} !38 = !{!15, !11, i64 48} !39 = !{!15, !8, i64 32} !40 = !{!15, !8, i64 24} !41 = !{!15, !8, i64 28} !42 = distinct !{!42, !43} !43 = !{!"llvm.loop.mustprogress"}
tig_src_extr_graph-v2.c_graph_generate_symbols
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_get0_current_crl.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_get0_current_crl.c" target datalayout = "e-m:e-p270:32:32-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 @X509_STORE_CTX_get0_current_crl(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_get0_current_crl.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_get0_current_crl.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 @X509_STORE_CTX_get0_current_crl(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_crypto_x509_extr_x509_vfy.c_X509_STORE_CTX_get0_current_crl
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_hw.c_e1000_config_mac_to_phy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_hw.c_e1000_config_mac_to_phy.c" target datalayout = "e-m:e-p270:32:32-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.e1000_hw = type { i64, i32 } @.str = private unnamed_addr constant [24 x i8] c"e1000_config_mac_to_phy\00", align 1 @e1000_82544 = dso_local local_unnamed_addr global i64 0, align 8 @e1000_ce4100 = dso_local local_unnamed_addr global i64 0, align 8 @E1000_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @CTRL = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FRCSPD = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FRCDPX = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_SEL = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_ILOS = dso_local local_unnamed_addr global i32 0, align 4 @PHY_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @RTL_PHY_CTRL_FD = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FD = dso_local local_unnamed_addr global i32 0, align 4 @RTL_PHY_CTRL_SPD_100 = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_100 = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_10 = dso_local local_unnamed_addr global i32 0, align 4 @M88E1000_PHY_SPEC_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_DPLX = dso_local local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_SPEED = dso_local local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_1000MBS = dso_local local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_1000 = dso_local local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_100MBS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_config_mac_to_phy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @e1000_config_mac_to_phy(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @e_dbg(ptr noundef nonnull @.str) #3 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @e1000_82544, align 8, !tbaa !11 %6 = icmp slt i64 %4, %5 %7 = load i64, ptr @e1000_ce4100, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !12 br label %83 12: ; preds = %1 %13 = load i32, ptr @CTRL, align 4, !tbaa !12 %14 = tail call i32 @er32(i32 noundef %13) #3 %15 = load i32, ptr @E1000_CTRL_FRCSPD, align 4, !tbaa !12 %16 = load i32, ptr @E1000_CTRL_FRCDPX, align 4, !tbaa !12 %17 = or i32 %15, %14 %18 = or i32 %17, %16 %19 = load i32, ptr @E1000_CTRL_SPD_SEL, align 4, !tbaa !12 %20 = load i32, ptr @E1000_CTRL_ILOS, align 4, !tbaa !12 %21 = or i32 %20, %19 %22 = xor i32 %21, -1 %23 = and i32 %18, %22 %24 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !13 %26 = icmp eq i32 %25, 128 br i1 %26, label %27, label %49 27: ; preds = %12 %28 = load i32, ptr @PHY_CTRL, align 4, !tbaa !12 %29 = call i32 @e1000_read_phy_reg(ptr noundef nonnull %0, i32 noundef %28, ptr noundef nonnull %2) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %83 31: ; preds = %27 %32 = load i32, ptr %2, align 4, !tbaa !12 %33 = load i32, ptr @RTL_PHY_CTRL_FD, align 4, !tbaa !12 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 %36 = load i32, ptr @E1000_CTRL_FD, align 4, !tbaa !12 %37 = or i32 %36, %23 %38 = xor i32 %36, -1 %39 = and i32 %23, %38 %40 = select i1 %35, i32 %39, i32 %37 %41 = load i32, ptr @RTL_PHY_CTRL_SPD_100, align 4, !tbaa !12 %42 = and i32 %41, %32 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @E1000_CTRL_SPD_10, align 4 %45 = load i32, ptr @E1000_CTRL_SPD_100, align 4 %46 = select i1 %43, i32 %44, i32 %45 %47 = or i32 %46, %40 %48 = call i32 @e1000_config_collision_dist(ptr noundef nonnull %0) #3 br label %78 49: ; preds = %12 %50 = load i32, ptr @M88E1000_PHY_SPEC_STATUS, align 4, !tbaa !12 %51 = call i32 @e1000_read_phy_reg(ptr noundef nonnull %0, i32 noundef %50, ptr noundef nonnull %2) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %83 53: ; preds = %49 %54 = load i32, ptr %2, align 4, !tbaa !12 %55 = load i32, ptr @M88E1000_PSSR_DPLX, align 4, !tbaa !12 %56 = and i32 %55, %54 %57 = icmp eq i32 %56, 0 %58 = load i32, ptr @E1000_CTRL_FD, align 4, !tbaa !12 %59 = or i32 %58, %23 %60 = xor i32 %58, -1 %61 = and i32 %23, %60 %62 = select i1 %57, i32 %61, i32 %59 %63 = call i32 @e1000_config_collision_dist(ptr noundef nonnull %0) #3 %64 = load i32, ptr %2, align 4, !tbaa !12 %65 = load i32, ptr @M88E1000_PSSR_SPEED, align 4, !tbaa !12 %66 = and i32 %65, %64 %67 = load i32, ptr @M88E1000_PSSR_1000MBS, align 4, !tbaa !12 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %72 69: ; preds = %53 %70 = load i32, ptr @E1000_CTRL_SPD_1000, align 4, !tbaa !12 %71 = or i32 %70, %62 br label %78 72: ; preds = %53 %73 = load i32, ptr @M88E1000_PSSR_100MBS, align 4, !tbaa !12 %74 = icmp eq i32 %66, %73 br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load i32, ptr @E1000_CTRL_SPD_100, align 4, !tbaa !12 %77 = or i32 %76, %62 br label %78 78: ; preds = %69, %75, %72, %31 %79 = phi i32 [ %47, %31 ], [ %71, %69 ], [ %77, %75 ], [ %62, %72 ] %80 = load i32, ptr @CTRL, align 4, !tbaa !12 %81 = call i32 @ew32(i32 noundef %80, i32 noundef %79) #3 %82 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !12 br label %83 83: ; preds = %49, %27, %78, %10 %84 = phi i32 [ %11, %10 ], [ %82, %78 ], [ %29, %27 ], [ %51, %49 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %84 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @e_dbg(ptr noundef) local_unnamed_addr #2 declare i32 @er32(i32 noundef) local_unnamed_addr #2 declare i32 @e1000_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @e1000_config_collision_dist(ptr noundef) local_unnamed_addr #2 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"e1000_hw", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_hw.c_e1000_config_mac_to_phy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_hw.c_e1000_config_mac_to_phy.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 [24 x i8] c"e1000_config_mac_to_phy\00", align 1 @e1000_82544 = common local_unnamed_addr global i64 0, align 8 @e1000_ce4100 = common local_unnamed_addr global i64 0, align 8 @E1000_SUCCESS = common local_unnamed_addr global i32 0, align 4 @CTRL = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FRCSPD = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FRCDPX = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_SEL = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_ILOS = common local_unnamed_addr global i32 0, align 4 @PHY_CTRL = common local_unnamed_addr global i32 0, align 4 @RTL_PHY_CTRL_FD = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_FD = common local_unnamed_addr global i32 0, align 4 @RTL_PHY_CTRL_SPD_100 = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_100 = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_10 = common local_unnamed_addr global i32 0, align 4 @M88E1000_PHY_SPEC_STATUS = common local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_DPLX = common local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_SPEED = common local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_1000MBS = common local_unnamed_addr global i32 0, align 4 @E1000_CTRL_SPD_1000 = common local_unnamed_addr global i32 0, align 4 @M88E1000_PSSR_100MBS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e1000_config_mac_to_phy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @e1000_config_mac_to_phy(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @e_dbg(ptr noundef nonnull @.str) #3 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @e1000_82544, align 8, !tbaa !12 %6 = icmp slt i64 %4, %5 %7 = load i64, ptr @e1000_ce4100, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !13 br label %83 12: ; preds = %1 %13 = load i32, ptr @CTRL, align 4, !tbaa !13 %14 = tail call i32 @er32(i32 noundef %13) #3 %15 = load i32, ptr @E1000_CTRL_FRCSPD, align 4, !tbaa !13 %16 = load i32, ptr @E1000_CTRL_FRCDPX, align 4, !tbaa !13 %17 = or i32 %15, %14 %18 = or i32 %17, %16 %19 = load i32, ptr @E1000_CTRL_SPD_SEL, align 4, !tbaa !13 %20 = load i32, ptr @E1000_CTRL_ILOS, align 4, !tbaa !13 %21 = or i32 %20, %19 %22 = xor i32 %21, -1 %23 = and i32 %18, %22 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !14 %26 = icmp eq i32 %25, 128 br i1 %26, label %27, label %49 27: ; preds = %12 %28 = load i32, ptr @PHY_CTRL, align 4, !tbaa !13 %29 = call i32 @e1000_read_phy_reg(ptr noundef nonnull %0, i32 noundef %28, ptr noundef nonnull %2) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %83 31: ; preds = %27 %32 = load i32, ptr %2, align 4, !tbaa !13 %33 = load i32, ptr @RTL_PHY_CTRL_FD, align 4, !tbaa !13 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 %36 = load i32, ptr @E1000_CTRL_FD, align 4, !tbaa !13 %37 = or i32 %36, %23 %38 = xor i32 %36, -1 %39 = and i32 %23, %38 %40 = select i1 %35, i32 %39, i32 %37 %41 = load i32, ptr @RTL_PHY_CTRL_SPD_100, align 4, !tbaa !13 %42 = and i32 %41, %32 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @E1000_CTRL_SPD_10, align 4 %45 = load i32, ptr @E1000_CTRL_SPD_100, align 4 %46 = select i1 %43, i32 %44, i32 %45 %47 = or i32 %46, %40 %48 = call i32 @e1000_config_collision_dist(ptr noundef nonnull %0) #3 br label %78 49: ; preds = %12 %50 = load i32, ptr @M88E1000_PHY_SPEC_STATUS, align 4, !tbaa !13 %51 = call i32 @e1000_read_phy_reg(ptr noundef nonnull %0, i32 noundef %50, ptr noundef nonnull %2) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %83 53: ; preds = %49 %54 = load i32, ptr %2, align 4, !tbaa !13 %55 = load i32, ptr @M88E1000_PSSR_DPLX, align 4, !tbaa !13 %56 = and i32 %55, %54 %57 = icmp eq i32 %56, 0 %58 = load i32, ptr @E1000_CTRL_FD, align 4, !tbaa !13 %59 = or i32 %58, %23 %60 = xor i32 %58, -1 %61 = and i32 %23, %60 %62 = select i1 %57, i32 %61, i32 %59 %63 = call i32 @e1000_config_collision_dist(ptr noundef nonnull %0) #3 %64 = load i32, ptr %2, align 4, !tbaa !13 %65 = load i32, ptr @M88E1000_PSSR_SPEED, align 4, !tbaa !13 %66 = and i32 %65, %64 %67 = load i32, ptr @M88E1000_PSSR_1000MBS, align 4, !tbaa !13 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %72 69: ; preds = %53 %70 = load i32, ptr @E1000_CTRL_SPD_1000, align 4, !tbaa !13 %71 = or i32 %70, %62 br label %78 72: ; preds = %53 %73 = load i32, ptr @M88E1000_PSSR_100MBS, align 4, !tbaa !13 %74 = icmp eq i32 %66, %73 br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load i32, ptr @E1000_CTRL_SPD_100, align 4, !tbaa !13 %77 = or i32 %76, %62 br label %78 78: ; preds = %69, %75, %72, %31 %79 = phi i32 [ %47, %31 ], [ %71, %69 ], [ %77, %75 ], [ %62, %72 ] %80 = load i32, ptr @CTRL, align 4, !tbaa !13 %81 = call i32 @ew32(i32 noundef %80, i32 noundef %79) #3 %82 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !13 br label %83 83: ; preds = %49, %27, %78, %10 %84 = phi i32 [ %11, %10 ], [ %82, %78 ], [ %29, %27 ], [ %51, %49 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %84 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @e_dbg(ptr noundef) local_unnamed_addr #2 declare i32 @er32(i32 noundef) local_unnamed_addr #2 declare i32 @e1000_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @e1000_config_collision_dist(ptr noundef) local_unnamed_addr #2 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"e1000_hw", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_net_e1000_extr_e1000_hw.c_e1000_config_mac_to_phy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_capabilities_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_capabilities_check.c" target datalayout = "e-m:e-p270:32:32-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.phone_capability = type { i64, i64 } %struct.TYPE_5__ = type { i32, ptr } %struct.TYPE_4__ = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @capabilities_check], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @capabilities_check(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.phone_capability, ptr %1, i64 0, i32 1 %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %24 6: ; preds = %2 %7 = load i64, ptr %1, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = zext nneg i32 %4 to i64 br label %11 11: ; preds = %6, %21 %12 = phi i64 [ 0, %6 ], [ %22, %21 ] %13 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = icmp eq i64 %7, %14 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load i64, ptr %3, align 8, !tbaa !17 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %12, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !18 %20 = icmp eq i64 %17, %19 br i1 %20, label %24, label %21 21: ; preds = %11, %16 %22 = add nuw nsw i64 %12, 1 %23 = icmp eq i64 %22, %10 br i1 %23, label %24, label %11, !llvm.loop !19 24: ; preds = %21, %16, %2 %25 = phi i32 [ 0, %2 ], [ 1, %16 ], [ 0, %21 ] ret i32 %25 } 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 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"phone_capability", !13, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_4__", !13, i64 0, !13, i64 8} !17 = !{!12, !13, i64 8} !18 = !{!16, !13, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_capabilities_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_capabilities_check.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 { i64, i64 } @llvm.used = appending global [1 x ptr] [ptr @capabilities_check], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @capabilities_check(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %24 6: ; preds = %2 %7 = load i64, ptr %1, align 8, !tbaa !12 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = zext nneg i32 %4 to i64 br label %11 11: ; preds = %6, %21 %12 = phi i64 [ 0, %6 ], [ %22, %21 ] %13 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = icmp eq i64 %7, %14 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load i64, ptr %3, align 8, !tbaa !18 %18 = getelementptr inbounds i8, ptr %13, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !19 %20 = icmp eq i64 %17, %19 br i1 %20, label %24, label %21 21: ; preds = %11, %16 %22 = add nuw nsw i64 %12, 1 %23 = icmp eq i64 %22, %10 br i1 %23, label %24, label %11, !llvm.loop !20 24: ; preds = %21, %16, %2 %25 = phi i32 [ 0, %2 ], [ 1, %16 ], [ 0, %21 ] ret i32 %25 } 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 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"phone_capability", !14, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_4__", !14, i64 0, !14, i64 8} !18 = !{!13, !14, i64 8} !19 = !{!17, !14, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_telephony_extr_ixj.c_capabilities_check
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/extr_secretbox_xsalsa20poly1305.c_crypto_secretbox_xsalsa20poly1305_noncebytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/extr_secretbox_xsalsa20poly1305.c_crypto_secretbox_xsalsa20poly1305_noncebytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_secretbox_xsalsa20poly1305_NONCEBYTES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @crypto_secretbox_xsalsa20poly1305_noncebytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_secretbox_xsalsa20poly1305_NONCEBYTES, align 8, !tbaa !5 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/extr_secretbox_xsalsa20poly1305.c_crypto_secretbox_xsalsa20poly1305_noncebytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/extr_secretbox_xsalsa20poly1305.c_crypto_secretbox_xsalsa20poly1305_noncebytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_secretbox_xsalsa20poly1305_NONCEBYTES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @crypto_secretbox_xsalsa20poly1305_noncebytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_secretbox_xsalsa20poly1305_NONCEBYTES, align 8, !tbaa !6 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libsodium_src_libsodium_crypto_secretbox_xsalsa20poly1305_extr_secretbox_xsalsa20poly1305.c_crypto_secretbox_xsalsa20poly1305_noncebytes
; ModuleID = 'AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay_commands.c_OverlayCreate.c' source_filename = "AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay_commands.c_OverlayCreate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, %struct.TYPE_5__, i32, i32, i64, i64 } %struct.TYPE_5__ = type { ptr } @STYLE_NO_DEFAULTS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @OverlayCreate() local_unnamed_addr #0 { %1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 40) #3 %2 = icmp eq ptr %1, null br i1 %2, label %13, label %3 3: ; preds = %0 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) store i32 255, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 store i32 0, ptr %5, align 4, !tbaa !13 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 4 %7 = tail call i32 @VLC_FOURCC(i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0) #3 %8 = tail call i32 @video_format_Setup(ptr noundef nonnull %6, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1) #3 %9 = load i32, ptr @STYLE_NO_DEFAULTS, align 4, !tbaa !14 %10 = tail call i32 @text_style_Create(i32 noundef %9) #3 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3 store i32 %10, ptr %11, align 8, !tbaa !15 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2 store ptr null, ptr %12, align 8, !tbaa !16 br label %13 13: ; preds = %0, %3 ret ptr %1 } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_format_Setup(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VLC_FOURCC(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) local_unnamed_addr #1 declare i32 @text_style_Create(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay_commands.c_OverlayCreate.c' source_filename = "AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay_commands.c_OverlayCreate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STYLE_NO_DEFAULTS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @OverlayCreate() local_unnamed_addr #0 { %1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 40) #3 %2 = icmp eq ptr %1, null br i1 %2, label %12, label %3 3: ; preds = %0 %4 = getelementptr inbounds i8, ptr %1, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) store <2 x i32> <i32 255, i32 0>, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 20 %6 = tail call i32 @VLC_FOURCC(i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0, i8 noundef signext 0) #3 %7 = tail call i32 @video_format_Setup(ptr noundef nonnull %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1) #3 %8 = load i32, ptr @STYLE_NO_DEFAULTS, align 4, !tbaa !6 %9 = tail call i32 @text_style_Create(i32 noundef %8) #3 %10 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %9, ptr %10, align 8, !tbaa !10 %11 = getelementptr inbounds i8, ptr %1, i64 8 store ptr null, ptr %11, align 8, !tbaa !15 br label %12 12: ; preds = %0, %3 ret ptr %1 } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_format_Setup(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VLC_FOURCC(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) local_unnamed_addr #1 declare i32 @text_style_Create(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20, !14, i64 24, !14, i64 32} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !13, i64 8}
vlc_modules_spu_dynamicoverlay_extr_dynamicoverlay_commands.c_OverlayCreate
; ModuleID = 'AnghaBench/freebsd/contrib/ee/extr_ee.c_nextline.c' source_filename = "AnghaBench/freebsd/contrib/ee/extr_ee.c_nextline.c" target datalayout = "e-m:e-p270:32:32-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 } @curr_line = dso_local local_unnamed_addr global ptr null, align 8 @absolute_lin = dso_local local_unnamed_addr global i32 0, align 4 @point = dso_local local_unnamed_addr global i32 0, align 4 @position = dso_local local_unnamed_addr global i32 0, align 4 @scr_vert = dso_local local_unnamed_addr global i64 0, align 8 @last_line = dso_local local_unnamed_addr global i64 0, align 8 @text_win = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @nextline() local_unnamed_addr #0 { %1 = load ptr, ptr @curr_line, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !9 store ptr %3, ptr @curr_line, align 8, !tbaa !5 %4 = load i32, ptr @absolute_lin, align 4, !tbaa !12 %5 = add nsw i32 %4, 1 store i32 %5, ptr @absolute_lin, align 4, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !13 store i32 %7, ptr @point, align 4, !tbaa !12 store i32 1, ptr @position, align 4, !tbaa !12 %8 = load i64, ptr @scr_vert, align 8, !tbaa !14 %9 = load i64, ptr @last_line, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %26 11: ; preds = %0 %12 = load i32, ptr @text_win, align 4, !tbaa !12 %13 = tail call i32 @wmove(i32 noundef %12, i64 noundef 0, i32 noundef 0) #2 %14 = load i32, ptr @text_win, align 4, !tbaa !12 %15 = tail call i32 @wdeleteln(i32 noundef %14) #2 %16 = load i32, ptr @text_win, align 4, !tbaa !12 %17 = load i64, ptr @last_line, align 8, !tbaa !14 %18 = tail call i32 @wmove(i32 noundef %16, i64 noundef %17, i32 noundef 0) #2 %19 = load i32, ptr @text_win, align 4, !tbaa !12 %20 = tail call i32 @wclrtobot(i32 noundef %19) #2 %21 = load i64, ptr @last_line, align 8, !tbaa !14 %22 = load i32, ptr @point, align 4, !tbaa !12 %23 = load ptr, ptr @curr_line, align 8, !tbaa !5 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = tail call i32 @draw_line(i64 noundef %21, i32 noundef 0, i32 noundef %22, i32 noundef 1, i32 noundef %24) #2 br label %28 26: ; preds = %0 %27 = add nsw i64 %8, 1 store i64 %27, ptr @scr_vert, align 8, !tbaa !14 br label %28 28: ; preds = %26, %11 ret void } declare i32 @wmove(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wdeleteln(i32 noundef) local_unnamed_addr #1 declare i32 @wclrtobot(i32 noundef) local_unnamed_addr #1 declare i32 @draw_line(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 4} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ee/extr_ee.c_nextline.c' source_filename = "AnghaBench/freebsd/contrib/ee/extr_ee.c_nextline.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @curr_line = common local_unnamed_addr global ptr null, align 8 @absolute_lin = common local_unnamed_addr global i32 0, align 4 @point = common local_unnamed_addr global i32 0, align 4 @position = common local_unnamed_addr global i32 0, align 4 @scr_vert = common local_unnamed_addr global i64 0, align 8 @last_line = common local_unnamed_addr global i64 0, align 8 @text_win = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @nextline() local_unnamed_addr #0 { %1 = load ptr, ptr @curr_line, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !10 store ptr %3, ptr @curr_line, align 8, !tbaa !6 %4 = load i32, ptr @absolute_lin, align 4, !tbaa !13 %5 = add nsw i32 %4, 1 store i32 %5, ptr @absolute_lin, align 4, !tbaa !13 %6 = getelementptr inbounds i8, ptr %3, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !14 store i32 %7, ptr @point, align 4, !tbaa !13 store i32 1, ptr @position, align 4, !tbaa !13 %8 = load i64, ptr @scr_vert, align 8, !tbaa !15 %9 = load i64, ptr @last_line, align 8, !tbaa !15 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %26 11: ; preds = %0 %12 = load i32, ptr @text_win, align 4, !tbaa !13 %13 = tail call i32 @wmove(i32 noundef %12, i64 noundef 0, i32 noundef 0) #2 %14 = load i32, ptr @text_win, align 4, !tbaa !13 %15 = tail call i32 @wdeleteln(i32 noundef %14) #2 %16 = load i32, ptr @text_win, align 4, !tbaa !13 %17 = load i64, ptr @last_line, align 8, !tbaa !15 %18 = tail call i32 @wmove(i32 noundef %16, i64 noundef %17, i32 noundef 0) #2 %19 = load i32, ptr @text_win, align 4, !tbaa !13 %20 = tail call i32 @wclrtobot(i32 noundef %19) #2 %21 = load i64, ptr @last_line, align 8, !tbaa !15 %22 = load i32, ptr @point, align 4, !tbaa !13 %23 = load ptr, ptr @curr_line, align 8, !tbaa !6 %24 = load i32, ptr %23, align 8, !tbaa !17 %25 = tail call i32 @draw_line(i64 noundef %21, i32 noundef 0, i32 noundef %22, i32 noundef 1, i32 noundef %24) #2 br label %28 26: ; preds = %0 %27 = add nsw i64 %8, 1 store i64 %27, ptr @scr_vert, align 8, !tbaa !15 br label %28 28: ; preds = %26, %11 ret void } declare i32 @wmove(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wdeleteln(i32 noundef) local_unnamed_addr #1 declare i32 @wclrtobot(i32 noundef) local_unnamed_addr #1 declare i32 @draw_line(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!11, !12, i64 0}
freebsd_contrib_ee_extr_ee.c_nextline
; ModuleID = 'AnghaBench/systemd/src/shared/extr_dissect-image.c_decrypted_image_relinquish.c' source_filename = "AnghaBench/systemd/src/shared/extr_dissect-image.c_decrypted_image_relinquish.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @decrypted_image_relinquish(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 ret i32 0 } declare i32 @assert(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/systemd/src/shared/extr_dissect-image.c_decrypted_image_relinquish.c' source_filename = "AnghaBench/systemd/src/shared/extr_dissect-image.c_decrypted_image_relinquish.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @decrypted_image_relinquish(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 ret i32 0 } declare i32 @assert(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)"}
systemd_src_shared_extr_dissect-image.c_decrypted_image_relinquish
; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_parameters.c_iscsi_dump_conn_ops.c' source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_parameters.c_iscsi_dump_conn_ops.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.iscsi_conn_ops = type { ptr, i64, i64 } @.str = private unnamed_addr constant [18 x i8] c"HeaderDigest: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"CRC32C\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"DataDigest: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"MaxRecvDataSegmentLength: %u\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @iscsi_dump_conn_ops(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.iscsi_conn_ops, ptr %0, i64 0, i32 2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 %5 = select i1 %4, ptr @.str.2, ptr @.str.1 %6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.iscsi_conn_ops, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.2, ptr @.str.1 %11 = tail call i32 @pr_debug(ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !12 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str.4, ptr noundef %12) #2 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"iscsi_conn_ops", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_parameters.c_iscsi_dump_conn_ops.c' source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_parameters.c_iscsi_dump_conn_ops.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 [18 x i8] c"HeaderDigest: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"CRC32C\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"DataDigest: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"MaxRecvDataSegmentLength: %u\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @iscsi_dump_conn_ops(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 %5 = select i1 %4, ptr @.str.2, ptr @.str.1 %6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.2, ptr @.str.1 %11 = tail call i32 @pr_debug(ptr noundef nonnull @.str.3, ptr noundef nonnull %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !13 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str.4, ptr noundef %12) #2 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"iscsi_conn_ops", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0}
linux_drivers_target_iscsi_extr_iscsi_target_parameters.c_iscsi_dump_conn_ops
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispcsi2.c_csi2_queue.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispcsi2.c_csi2_queue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ISP_VIDEO_DMAQUEUE_UNDERRUN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @csi2_queue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @csi2_queue(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !10 %5 = tail call i32 @csi2_set_outaddr(ptr noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %3, align 4, !tbaa !13 %7 = load i32, ptr @ISP_VIDEO_DMAQUEUE_UNDERRUN, align 4, !tbaa !16 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = tail call i32 @csi2_if_enable(ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 1) #2 %12 = tail call i32 @csi2_ctx_enable(ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 0, i32 noundef 1) #2 %13 = tail call i32 @isp_video_dmaqueue_flags_clr(ptr noundef nonnull %3) #2 br label %14 14: ; preds = %10, %2 ret i32 0 } declare i32 @csi2_set_outaddr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csi2_if_enable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csi2_ctx_enable(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isp_video_dmaqueue_flags_clr(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 = !{!"isp_video", !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 = !{!"isp_buffer", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"isp_csi2_device", !15, i64 0} !15 = !{!"TYPE_2__", !12, i64 0} !16 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispcsi2.c_csi2_queue.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispcsi2.c_csi2_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ISP_VIDEO_DMAQUEUE_UNDERRUN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @csi2_queue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @csi2_queue(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !11 %5 = tail call i32 @csi2_set_outaddr(ptr noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %3, align 4, !tbaa !14 %7 = load i32, ptr @ISP_VIDEO_DMAQUEUE_UNDERRUN, align 4, !tbaa !17 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = tail call i32 @csi2_if_enable(ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 1) #2 %12 = tail call i32 @csi2_ctx_enable(ptr noundef nonnull %3, ptr noundef nonnull %3, i32 noundef 0, i32 noundef 1) #2 %13 = tail call i32 @isp_video_dmaqueue_flags_clr(ptr noundef nonnull %3) #2 br label %14 14: ; preds = %10, %2 ret i32 0 } declare i32 @csi2_set_outaddr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csi2_if_enable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csi2_ctx_enable(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isp_video_dmaqueue_flags_clr(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 = !{!"isp_video", !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 = !{!"isp_buffer", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"isp_csi2_device", !16, i64 0} !16 = !{!"TYPE_2__", !13, i64 0} !17 = !{!13, !13, i64 0}
linux_drivers_media_platform_omap3isp_extr_ispcsi2.c_csi2_queue
; ModuleID = 'AnghaBench/kphp-kdb/money/extr_money-engine.c_sigint_handler.c' source_filename = "AnghaBench/kphp-kdb/money/extr_money-engine.c_sigint_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" @global_engine_status = dso_local local_unnamed_addr global i32 0, align 4 @SIGINT = dso_local local_unnamed_addr global i32 0, align 4 @pending_signals = dso_local local_unnamed_addr global i32 0, align 4 @quit_at = dso_local local_unnamed_addr global i64 0, align 8 @now = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sigint_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sigint_handler(i32 %0) #0 { %2 = load i32, ptr @global_engine_status, align 4, !tbaa !5 %3 = icmp eq i32 %2, 1 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr @SIGINT, align 4, !tbaa !5 %6 = shl nuw i32 1, %5 %7 = load i32, ptr @pending_signals, align 4, !tbaa !5 %8 = or i32 %7, %6 store i32 %8, ptr @pending_signals, align 4, !tbaa !5 br label %18 9: ; preds = %1 store i32 2, ptr @global_engine_status, align 4, !tbaa !5 %10 = load i64, ptr @quit_at, align 8, !tbaa !9 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i64, ptr @now, align 8, !tbaa !9 %14 = add nsw i64 %13, 3 store i64 %14, ptr @quit_at, align 8, !tbaa !9 br label %15 15: ; preds = %12, %9 %16 = load i32, ptr @SIGINT, align 4, !tbaa !5 %17 = tail call i32 @signal(i32 noundef %16, ptr noundef nonnull @sigint_handler) #2 br label %18 18: ; preds = %15, %4 ret void } declare i32 @signal(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/money/extr_money-engine.c_sigint_handler.c' source_filename = "AnghaBench/kphp-kdb/money/extr_money-engine.c_sigint_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @global_engine_status = common local_unnamed_addr global i32 0, align 4 @SIGINT = common local_unnamed_addr global i32 0, align 4 @pending_signals = common local_unnamed_addr global i32 0, align 4 @quit_at = common local_unnamed_addr global i64 0, align 8 @now = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @sigint_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sigint_handler(i32 %0) #0 { %2 = load i32, ptr @global_engine_status, align 4, !tbaa !6 %3 = icmp eq i32 %2, 1 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr @SIGINT, align 4, !tbaa !6 %6 = shl nuw i32 1, %5 %7 = load i32, ptr @pending_signals, align 4, !tbaa !6 %8 = or i32 %7, %6 store i32 %8, ptr @pending_signals, align 4, !tbaa !6 br label %18 9: ; preds = %1 store i32 2, ptr @global_engine_status, align 4, !tbaa !6 %10 = load i64, ptr @quit_at, align 8, !tbaa !10 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i64, ptr @now, align 8, !tbaa !10 %14 = add nsw i64 %13, 3 store i64 %14, ptr @quit_at, align 8, !tbaa !10 br label %15 15: ; preds = %12, %9 %16 = load i32, ptr @SIGINT, align 4, !tbaa !6 %17 = tail call i32 @signal(i32 noundef %16, ptr noundef nonnull @sigint_handler) #2 br label %18 18: ; preds = %15, %4 ret void } declare i32 @signal(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}
kphp-kdb_money_extr_money-engine.c_sigint_handler
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_lp8727_charger.c_lp8727_write_byte.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_lp8727_charger.c_lp8727_write_byte.c" target datalayout = "e-m:e-p270:32:32-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.lp8727_chg = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @lp8727_write_byte], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lp8727_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @mutex_lock(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.lp8727_chg, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %6, i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret i32 %7 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_write_byte_data(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"lp8727_chg", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_lp8727_charger.c_lp8727_write_byte.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_lp8727_charger.c_lp8727_write_byte.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 @lp8727_write_byte], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lp8727_write_byte(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @mutex_lock(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %6, i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret i32 %7 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_write_byte_data(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"lp8727_chg", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_power_supply_extr_lp8727_charger.c_lp8727_write_byte
; ModuleID = 'AnghaBench/openwrt/scripts/config/extr_conf.c_check_conf.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_conf.c_check_conf.c" target datalayout = "e-m:e-p270:32:32-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.menu = type { ptr, ptr, ptr } @yes = dso_local local_unnamed_addr global i64 0, align 8 @input_mode = dso_local local_unnamed_addr global i64 0, align 8 @listnewconfig = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1 @CONFIG_ = dso_local local_unnamed_addr global ptr null, align 8 @olddefconfig = dso_local local_unnamed_addr global i64 0, align 8 @conf_cnt = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"*\0A* Restart config...\0A*\0A\00", align 1 @rootEntry = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_conf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @check_conf(ptr noundef %0) #0 { %2 = tail call i32 @menu_is_visible(ptr noundef %0) #3 %3 = icmp eq i32 %2, 0 br i1 %3, label %56, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.menu, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %48, label %8 8: ; preds = %4 %9 = tail call i32 @sym_has_value(ptr noundef nonnull %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %48 11: ; preds = %8 %12 = tail call i64 @sym_is_changable(ptr noundef nonnull %6) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = tail call i64 @sym_is_choice(ptr noundef nonnull %6) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %48, label %17 17: ; preds = %14 %18 = tail call i64 @sym_get_tristate_value(ptr noundef nonnull %6) #3 %19 = load i64, ptr @yes, align 8, !tbaa !10 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %48 21: ; preds = %17, %11 %22 = load i64, ptr @input_mode, align 8, !tbaa !10 %23 = load i64, ptr @listnewconfig, align 8, !tbaa !10 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load i64, ptr %6, align 8, !tbaa !12 %27 = icmp eq i64 %26, 0 br i1 %27, label %48, label %28 28: ; preds = %25 %29 = tail call i32 @sym_is_choice_value(ptr noundef nonnull %6) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %48 31: ; preds = %28 %32 = load ptr, ptr @CONFIG_, align 8, !tbaa !14 %33 = load i64, ptr %6, align 8, !tbaa !12 %34 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %32, i64 noundef %33) br label %48 35: ; preds = %21 %36 = load i64, ptr @olddefconfig, align 8, !tbaa !10 %37 = icmp eq i64 %22, %36 br i1 %37, label %48, label %38 38: ; preds = %35 %39 = load i32, ptr @conf_cnt, align 4, !tbaa !15 %40 = add nsw i32 %39, 1 store i32 %40, ptr @conf_cnt, align 4, !tbaa !15 %41 = icmp eq i32 %39, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = tail call ptr @_(ptr noundef nonnull @.str.2) #3 %44 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %43) br label %45 45: ; preds = %42, %38 %46 = tail call i32 @menu_get_parent_menu(ptr noundef nonnull %0) #3 store i32 %46, ptr @rootEntry, align 4, !tbaa !15 %47 = tail call i32 @conf(i32 noundef %46) #3 br label %48 48: ; preds = %14, %17, %35, %45, %25, %28, %31, %8, %4 %49 = getelementptr inbounds %struct.menu, ptr %0, i64 0, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !14 %51 = icmp eq ptr %50, null br i1 %51, label %56, label %52 52: ; preds = %48, %52 %53 = phi ptr [ %54, %52 ], [ %50, %48 ] tail call void @check_conf(ptr noundef nonnull %53) %54 = load ptr, ptr %53, align 8, !tbaa !14 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %52, !llvm.loop !17 56: ; preds = %52, %48, %1 ret void } declare i32 @menu_is_visible(ptr noundef) local_unnamed_addr #1 declare i32 @sym_has_value(ptr noundef) local_unnamed_addr #1 declare i64 @sym_is_changable(ptr noundef) local_unnamed_addr #1 declare i64 @sym_is_choice(ptr noundef) local_unnamed_addr #1 declare i64 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1 declare i32 @sym_is_choice_value(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2 declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @menu_get_parent_menu(ptr noundef) local_unnamed_addr #1 declare i32 @conf(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"menu", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"symbol", !11, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openwrt/scripts/config/extr_conf.c_check_conf.c' source_filename = "AnghaBench/openwrt/scripts/config/extr_conf.c_check_conf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @yes = common local_unnamed_addr global i64 0, align 8 @input_mode = common local_unnamed_addr global i64 0, align 8 @listnewconfig = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1 @CONFIG_ = common local_unnamed_addr global ptr null, align 8 @olddefconfig = common local_unnamed_addr global i64 0, align 8 @conf_cnt = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"*\0A* Restart config...\0A*\0A\00", align 1 @rootEntry = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @check_conf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @check_conf(ptr noundef %0) #0 { %2 = tail call i32 @menu_is_visible(ptr noundef %0) #3 %3 = icmp eq i32 %2, 0 br i1 %3, label %56, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %48, label %8 8: ; preds = %4 %9 = tail call i32 @sym_has_value(ptr noundef nonnull %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %48 11: ; preds = %8 %12 = tail call i64 @sym_is_changable(ptr noundef nonnull %6) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = tail call i64 @sym_is_choice(ptr noundef nonnull %6) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %48, label %17 17: ; preds = %14 %18 = tail call i64 @sym_get_tristate_value(ptr noundef nonnull %6) #3 %19 = load i64, ptr @yes, align 8, !tbaa !11 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %48 21: ; preds = %17, %11 %22 = load i64, ptr @input_mode, align 8, !tbaa !11 %23 = load i64, ptr @listnewconfig, align 8, !tbaa !11 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load i64, ptr %6, align 8, !tbaa !13 %27 = icmp eq i64 %26, 0 br i1 %27, label %48, label %28 28: ; preds = %25 %29 = tail call i32 @sym_is_choice_value(ptr noundef nonnull %6) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %48 31: ; preds = %28 %32 = load ptr, ptr @CONFIG_, align 8, !tbaa !15 %33 = load i64, ptr %6, align 8, !tbaa !13 %34 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %32, i64 noundef %33) br label %48 35: ; preds = %21 %36 = load i64, ptr @olddefconfig, align 8, !tbaa !11 %37 = icmp eq i64 %22, %36 br i1 %37, label %48, label %38 38: ; preds = %35 %39 = load i32, ptr @conf_cnt, align 4, !tbaa !16 %40 = add nsw i32 %39, 1 store i32 %40, ptr @conf_cnt, align 4, !tbaa !16 %41 = icmp eq i32 %39, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = tail call ptr @_(ptr noundef nonnull @.str.2) #3 %44 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %43) br label %45 45: ; preds = %42, %38 %46 = tail call i32 @menu_get_parent_menu(ptr noundef nonnull %0) #3 store i32 %46, ptr @rootEntry, align 4, !tbaa !16 %47 = tail call i32 @conf(i32 noundef %46) #3 br label %48 48: ; preds = %14, %17, %35, %45, %25, %28, %31, %8, %4 %49 = getelementptr inbounds i8, ptr %0, i64 8 %50 = load ptr, ptr %49, align 8, !tbaa !15 %51 = icmp eq ptr %50, null br i1 %51, label %56, label %52 52: ; preds = %48, %52 %53 = phi ptr [ %54, %52 ], [ %50, %48 ] tail call void @check_conf(ptr noundef nonnull %53) %54 = load ptr, ptr %53, align 8, !tbaa !15 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %52, !llvm.loop !18 56: ; preds = %52, %48, %1 ret void } declare i32 @menu_is_visible(ptr noundef) local_unnamed_addr #1 declare i32 @sym_has_value(ptr noundef) local_unnamed_addr #1 declare i64 @sym_is_changable(ptr noundef) local_unnamed_addr #1 declare i64 @sym_is_choice(ptr noundef) local_unnamed_addr #1 declare i64 @sym_get_tristate_value(ptr noundef) local_unnamed_addr #1 declare i32 @sym_is_choice_value(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2 declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @menu_get_parent_menu(ptr noundef) local_unnamed_addr #1 declare i32 @conf(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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"menu", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"symbol", !12, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
openwrt_scripts_config_extr_conf.c_check_conf
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_copy_csign.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_copy_csign.c" target datalayout = "e-m:e-p270:32:32-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 @dpp_copy_csign], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dpp_copy_csign(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 %4 = call i32 @i2d_PUBKEY(ptr noundef %1, ptr noundef nonnull %3) #3 %5 = icmp slt i32 %4, 1 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = call i32 @wpabuf_free(i32 noundef %7) #3 %9 = load ptr, ptr %3, align 8, !tbaa !5 %10 = call i32 @wpabuf_alloc_copy(ptr noundef %9, i32 noundef %4) #3 store i32 %10, ptr %0, align 4, !tbaa !9 %11 = load ptr, ptr %3, align 8, !tbaa !5 %12 = call i32 @OPENSSL_free(ptr noundef %11) #3 br label %13 13: ; preds = %2, %6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2d_PUBKEY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_free(i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_alloc_copy(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"dpp_authentication", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_copy_csign.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_copy_csign.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 @dpp_copy_csign], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dpp_copy_csign(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 %4 = call i32 @i2d_PUBKEY(ptr noundef %1, ptr noundef nonnull %3) #3 %5 = icmp slt i32 %4, 1 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = call i32 @wpabuf_free(i32 noundef %7) #3 %9 = load ptr, ptr %3, align 8, !tbaa !6 %10 = call i32 @wpabuf_alloc_copy(ptr noundef %9, i32 noundef %4) #3 store i32 %10, ptr %0, align 4, !tbaa !10 %11 = load ptr, ptr %3, align 8, !tbaa !6 %12 = call i32 @OPENSSL_free(ptr noundef %11) #3 br label %13 13: ; preds = %2, %6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2d_PUBKEY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_free(i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_alloc_copy(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"dpp_authentication", !12, i64 0} !12 = !{!"int", !8, i64 0}
freebsd_contrib_wpa_src_common_extr_dpp.c_dpp_copy_csign
; ModuleID = 'AnghaBench/linux/drivers/input/serio/extr_rpckbd.c_rpckbd_probe.c' source_filename = "AnghaBench/linux/drivers/input/serio/extr_rpckbd.c_rpckbd_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.rpckbd_data = type { i32, i32, i32, i32, ptr, %struct.TYPE_4__, i32, i32, i32, %struct.TYPE_3__ } %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32 } %struct.serio = type { i32, i32, i32, i32, ptr, %struct.TYPE_4__, i32, i32, i32, %struct.TYPE_3__ } @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @SERIO_8042 = dso_local local_unnamed_addr global i32 0, align 4 @rpckbd_write = dso_local local_unnamed_addr global i32 0, align 4 @rpckbd_open = dso_local local_unnamed_addr global i32 0, align 4 @rpckbd_close = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"RiscPC PS/2 kbd port\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"rpckbd/serio0\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rpckbd_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rpckbd_probe(ptr noundef %0) #0 { %2 = tail call i32 @platform_get_irq(ptr noundef %0, i32 noundef 0) #2 %3 = icmp slt i32 %2, 1 br i1 %3, label %4, label %9 4: ; preds = %1 %5 = icmp eq i32 %2, 0 %6 = load i32, ptr @ENXIO, align 4 %7 = sub nsw i32 0, %6 %8 = select i1 %5, i32 %7, i32 %2 br label %50 9: ; preds = %1 %10 = tail call i32 @platform_get_irq(ptr noundef %0, i32 noundef 1) #2 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = icmp eq i32 %10, 0 %14 = load i32, ptr @ENXIO, align 4 %15 = sub nsw i32 0, %14 %16 = select i1 %13, i32 %15, i32 %10 br label %50 17: ; preds = %9 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %19 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %18) #2 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %21 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %20) #2 %22 = icmp ne ptr %19, null %23 = icmp ne ptr %21, null %24 = select i1 %22, i1 %23, i1 false br i1 %24, label %30, label %25 25: ; preds = %17 %26 = tail call i32 @kfree(ptr noundef %21) #2 %27 = tail call i32 @kfree(ptr noundef %19) #2 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %29 = sub nsw i32 0, %28 br label %50 30: ; preds = %17 store i32 %2, ptr %21, align 8, !tbaa !9 %31 = getelementptr inbounds %struct.rpckbd_data, ptr %21, i64 0, i32 1 store i32 %10, ptr %31, align 4, !tbaa !14 %32 = load i32, ptr @SERIO_8042, align 4, !tbaa !5 %33 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 9 store i32 %32, ptr %33, align 4, !tbaa !15 %34 = load i32, ptr @rpckbd_write, align 4, !tbaa !5 %35 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 8 store i32 %34, ptr %35, align 8, !tbaa !17 %36 = load i32, ptr @rpckbd_open, align 4, !tbaa !5 %37 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 7 store i32 %36, ptr %37, align 4, !tbaa !18 %38 = load i32, ptr @rpckbd_close, align 4, !tbaa !5 %39 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 6 store i32 %38, ptr %39, align 8, !tbaa !19 %40 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 5 store ptr %0, ptr %40, align 8, !tbaa !20 %41 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 4 store ptr %21, ptr %41, align 8, !tbaa !21 %42 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 3 %43 = load i32, ptr %42, align 4, !tbaa !22 %44 = tail call i32 @strlcpy(i32 noundef %43, ptr noundef nonnull @.str, i32 noundef 4) #2 %45 = getelementptr inbounds %struct.serio, ptr %19, i64 0, i32 2 %46 = load i32, ptr %45, align 8, !tbaa !23 %47 = tail call i32 @strlcpy(i32 noundef %46, ptr noundef nonnull @.str.1, i32 noundef 4) #2 %48 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %19) #2 %49 = tail call i32 @serio_register_port(ptr noundef nonnull %19) #2 br label %50 50: ; preds = %30, %25, %12, %4 %51 = phi i32 [ %8, %4 ], [ %16, %12 ], [ 0, %30 ], [ %29, %25 ] ret i32 %51 } declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @serio_register_port(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"rpckbd_data", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !13, i64 44} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_4__", !11, i64 0} !13 = !{!"TYPE_3__", !6, i64 0} !14 = !{!10, !6, i64 4} !15 = !{!16, !6, i64 44} !16 = !{!"serio", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !13, i64 44} !17 = !{!16, !6, i64 40} !18 = !{!16, !6, i64 36} !19 = !{!16, !6, i64 32} !20 = !{!16, !11, i64 24} !21 = !{!16, !11, i64 16} !22 = !{!16, !6, i64 12} !23 = !{!16, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/input/serio/extr_rpckbd.c_rpckbd_probe.c' source_filename = "AnghaBench/linux/drivers/input/serio/extr_rpckbd.c_rpckbd_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @SERIO_8042 = common local_unnamed_addr global i32 0, align 4 @rpckbd_write = common local_unnamed_addr global i32 0, align 4 @rpckbd_open = common local_unnamed_addr global i32 0, align 4 @rpckbd_close = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"RiscPC PS/2 kbd port\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"rpckbd/serio0\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rpckbd_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rpckbd_probe(ptr noundef %0) #0 { %2 = tail call i32 @platform_get_irq(ptr noundef %0, i32 noundef 0) #2 %3 = icmp slt i32 %2, 1 br i1 %3, label %4, label %9 4: ; preds = %1 %5 = icmp eq i32 %2, 0 %6 = load i32, ptr @ENXIO, align 4 %7 = sub nsw i32 0, %6 %8 = select i1 %5, i32 %7, i32 %2 br label %50 9: ; preds = %1 %10 = tail call i32 @platform_get_irq(ptr noundef %0, i32 noundef 1) #2 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = icmp eq i32 %10, 0 %14 = load i32, ptr @ENXIO, align 4 %15 = sub nsw i32 0, %14 %16 = select i1 %13, i32 %15, i32 %10 br label %50 17: ; preds = %9 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %19 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %18) #2 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %21 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %20) #2 %22 = icmp ne ptr %19, null %23 = icmp ne ptr %21, null %24 = select i1 %22, i1 %23, i1 false br i1 %24, label %30, label %25 25: ; preds = %17 %26 = tail call i32 @kfree(ptr noundef %21) #2 %27 = tail call i32 @kfree(ptr noundef %19) #2 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %29 = sub nsw i32 0, %28 br label %50 30: ; preds = %17 store i32 %2, ptr %21, align 8, !tbaa !10 %31 = getelementptr inbounds i8, ptr %21, i64 4 store i32 %10, ptr %31, align 4, !tbaa !15 %32 = load i32, ptr @SERIO_8042, align 4, !tbaa !6 %33 = getelementptr inbounds i8, ptr %19, i64 44 store i32 %32, ptr %33, align 4, !tbaa !16 %34 = load i32, ptr @rpckbd_write, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %19, i64 40 store i32 %34, ptr %35, align 8, !tbaa !18 %36 = load i32, ptr @rpckbd_open, align 4, !tbaa !6 %37 = getelementptr inbounds i8, ptr %19, i64 36 store i32 %36, ptr %37, align 4, !tbaa !19 %38 = load i32, ptr @rpckbd_close, align 4, !tbaa !6 %39 = getelementptr inbounds i8, ptr %19, i64 32 store i32 %38, ptr %39, align 8, !tbaa !20 %40 = getelementptr inbounds i8, ptr %19, i64 24 store ptr %0, ptr %40, align 8, !tbaa !21 %41 = getelementptr inbounds i8, ptr %19, i64 16 store ptr %21, ptr %41, align 8, !tbaa !22 %42 = getelementptr inbounds i8, ptr %19, i64 12 %43 = load i32, ptr %42, align 4, !tbaa !23 %44 = tail call i32 @strlcpy(i32 noundef %43, ptr noundef nonnull @.str, i32 noundef 4) #2 %45 = getelementptr inbounds i8, ptr %19, i64 8 %46 = load i32, ptr %45, align 8, !tbaa !24 %47 = tail call i32 @strlcpy(i32 noundef %46, ptr noundef nonnull @.str.1, i32 noundef 4) #2 %48 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %19) #2 %49 = tail call i32 @serio_register_port(ptr noundef nonnull %19) #2 br label %50 50: ; preds = %30, %25, %12, %4 %51 = phi i32 [ %8, %4 ], [ %16, %12 ], [ 0, %30 ], [ %29, %25 ] ret i32 %51 } declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @serio_register_port(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rpckbd_data", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !14, i64 44} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_4__", !12, i64 0} !14 = !{!"TYPE_3__", !7, i64 0} !15 = !{!11, !7, i64 4} !16 = !{!17, !7, i64 44} !17 = !{!"serio", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !14, i64 44} !18 = !{!17, !7, i64 40} !19 = !{!17, !7, i64 36} !20 = !{!17, !7, i64 32} !21 = !{!17, !12, i64 24} !22 = !{!17, !12, i64 16} !23 = !{!17, !7, i64 12} !24 = !{!17, !7, i64 8}
linux_drivers_input_serio_extr_rpckbd.c_rpckbd_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ecryptfs/extr_inode.c_ecryptfs_link.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ecryptfs/extr_inode.c_ecryptfs_link.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ecryptfs_link], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ecryptfs_link(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @i_size_read(ptr noundef %4) #2 %6 = tail call ptr @ecryptfs_dentry_to_lower(ptr noundef nonnull %0) #2 %7 = tail call ptr @ecryptfs_dentry_to_lower(ptr noundef %2) #2 %8 = tail call i32 @dget(ptr noundef %6) #2 %9 = tail call i32 @dget(ptr noundef %7) #2 %10 = tail call ptr @lock_parent(ptr noundef %7) #2 %11 = load ptr, ptr %10, align 8, !tbaa !5 %12 = tail call i32 @vfs_link(ptr noundef %6, ptr noundef %11, ptr noundef %7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %32 14: ; preds = %3 %15 = load ptr, ptr %7, align 8, !tbaa !5 %16 = icmp eq ptr %15, null br i1 %16, label %32, label %17 17: ; preds = %14 %18 = load i32, ptr %1, align 4, !tbaa !10 %19 = tail call i32 @ecryptfs_interpose(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %18, i32 noundef 0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load ptr, ptr %7, align 8, !tbaa !5 %23 = tail call i32 @fsstack_copy_attr_times(ptr noundef nonnull %1, ptr noundef %22) #2 %24 = load ptr, ptr %7, align 8, !tbaa !5 %25 = tail call i32 @fsstack_copy_inode_size(ptr noundef nonnull %1, ptr noundef %24) #2 %26 = load ptr, ptr %0, align 8, !tbaa !5 %27 = tail call ptr @ecryptfs_inode_to_lower(ptr noundef %26) #2 %28 = load i32, ptr %27, align 4, !tbaa !13 %29 = load ptr, ptr %0, align 8, !tbaa !5 store i32 %28, ptr %29, align 4, !tbaa !15 %30 = load ptr, ptr %2, align 8, !tbaa !5 %31 = tail call i32 @i_size_write(ptr noundef %30, i32 noundef %5) #2 br label %32 32: ; preds = %17, %3, %14, %21 %33 = phi i32 [ %12, %3 ], [ %19, %17 ], [ 0, %21 ], [ 0, %14 ] %34 = tail call i32 @unlock_dir(ptr noundef nonnull %10) #2 %35 = tail call i32 @dput(ptr noundef %7) #2 %36 = tail call i32 @dput(ptr noundef %6) #2 %37 = tail call i32 @d_drop(ptr noundef %6) #2 %38 = tail call i32 @d_drop(ptr noundef %2) #2 %39 = tail call i32 @d_drop(ptr noundef nonnull %0) #2 ret i32 %33 } declare i32 @i_size_read(ptr noundef) local_unnamed_addr #1 declare ptr @ecryptfs_dentry_to_lower(ptr noundef) local_unnamed_addr #1 declare i32 @dget(ptr noundef) local_unnamed_addr #1 declare ptr @lock_parent(ptr noundef) local_unnamed_addr #1 declare i32 @vfs_link(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ecryptfs_interpose(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsstack_copy_attr_times(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fsstack_copy_inode_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ecryptfs_inode_to_lower(ptr noundef) local_unnamed_addr #1 declare i32 @i_size_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unlock_dir(ptr noundef) local_unnamed_addr #1 declare i32 @dput(ptr noundef) local_unnamed_addr #1 declare i32 @d_drop(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 = !{!"dentry", !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 = !{!"inode", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_9__", !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_8__", !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ecryptfs/extr_inode.c_ecryptfs_link.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ecryptfs/extr_inode.c_ecryptfs_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ecryptfs_link], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ecryptfs_link(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @i_size_read(ptr noundef %4) #2 %6 = tail call ptr @ecryptfs_dentry_to_lower(ptr noundef nonnull %0) #2 %7 = tail call ptr @ecryptfs_dentry_to_lower(ptr noundef %2) #2 %8 = tail call i32 @dget(ptr noundef %6) #2 %9 = tail call i32 @dget(ptr noundef %7) #2 %10 = tail call ptr @lock_parent(ptr noundef %7) #2 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = tail call i32 @vfs_link(ptr noundef %6, ptr noundef %11, ptr noundef %7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %32 14: ; preds = %3 %15 = load ptr, ptr %7, align 8, !tbaa !6 %16 = icmp eq ptr %15, null br i1 %16, label %32, label %17 17: ; preds = %14 %18 = load i32, ptr %1, align 4, !tbaa !11 %19 = tail call i32 @ecryptfs_interpose(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %18, i32 noundef 0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load ptr, ptr %7, align 8, !tbaa !6 %23 = tail call i32 @fsstack_copy_attr_times(ptr noundef nonnull %1, ptr noundef %22) #2 %24 = load ptr, ptr %7, align 8, !tbaa !6 %25 = tail call i32 @fsstack_copy_inode_size(ptr noundef nonnull %1, ptr noundef %24) #2 %26 = load ptr, ptr %0, align 8, !tbaa !6 %27 = tail call ptr @ecryptfs_inode_to_lower(ptr noundef %26) #2 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = load ptr, ptr %0, align 8, !tbaa !6 store i32 %28, ptr %29, align 4, !tbaa !16 %30 = load ptr, ptr %2, align 8, !tbaa !6 %31 = tail call i32 @i_size_write(ptr noundef %30, i32 noundef %5) #2 br label %32 32: ; preds = %17, %3, %14, %21 %33 = phi i32 [ %12, %3 ], [ %19, %17 ], [ 0, %21 ], [ 0, %14 ] %34 = tail call i32 @unlock_dir(ptr noundef nonnull %10) #2 %35 = tail call i32 @dput(ptr noundef %7) #2 %36 = tail call i32 @dput(ptr noundef %6) #2 %37 = tail call i32 @d_drop(ptr noundef %6) #2 %38 = tail call i32 @d_drop(ptr noundef %2) #2 %39 = tail call i32 @d_drop(ptr noundef nonnull %0) #2 ret i32 %33 } declare i32 @i_size_read(ptr noundef) local_unnamed_addr #1 declare ptr @ecryptfs_dentry_to_lower(ptr noundef) local_unnamed_addr #1 declare i32 @dget(ptr noundef) local_unnamed_addr #1 declare ptr @lock_parent(ptr noundef) local_unnamed_addr #1 declare i32 @vfs_link(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ecryptfs_interpose(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsstack_copy_attr_times(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fsstack_copy_inode_size(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ecryptfs_inode_to_lower(ptr noundef) local_unnamed_addr #1 declare i32 @i_size_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unlock_dir(ptr noundef) local_unnamed_addr #1 declare i32 @dput(ptr noundef) local_unnamed_addr #1 declare i32 @d_drop(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 = !{!"dentry", !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 = !{!"inode", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_9__", !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_8__", !13, i64 0}
fastsocket_kernel_fs_ecryptfs_extr_inode.c_ecryptfs_link
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pci-tegra.c_tegra_msi_map.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pci-tegra.c_tegra_msi_map.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @tegra_msi_irq_chip = dso_local global i32 0, align 4 @handle_simple_irq = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_msi_map], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tegra_msi_map(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 { %4 = load i32, ptr @handle_simple_irq, align 4, !tbaa !5 %5 = tail call i32 @irq_set_chip_and_handler(i32 noundef %1, ptr noundef nonnull @tegra_msi_irq_chip, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = tail call i32 @irq_set_chip_data(i32 noundef %1, i32 noundef %6) #2 %8 = tail call i32 (...) @tegra_cpuidle_pcie_irqs_in_use() #2 ret i32 0 } declare i32 @irq_set_chip_and_handler(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_chip_data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tegra_cpuidle_pcie_irqs_in_use(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"irq_domain", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pci-tegra.c_tegra_msi_map.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pci-tegra.c_tegra_msi_map.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tegra_msi_irq_chip = common global i32 0, align 4 @handle_simple_irq = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tegra_msi_map], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @tegra_msi_map(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 { %4 = load i32, ptr @handle_simple_irq, align 4, !tbaa !6 %5 = tail call i32 @irq_set_chip_and_handler(i32 noundef %1, ptr noundef nonnull @tegra_msi_irq_chip, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = tail call i32 @irq_set_chip_data(i32 noundef %1, i32 noundef %6) #2 %8 = tail call i32 @tegra_cpuidle_pcie_irqs_in_use() #2 ret i32 0 } declare i32 @irq_set_chip_and_handler(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_chip_data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tegra_cpuidle_pcie_irqs_in_use(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"irq_domain", !7, i64 0}
linux_drivers_pci_controller_extr_pci-tegra.c_tegra_msi_map
; ModuleID = 'AnghaBench/linux/sound/hda/extr_hdac_stream.c_snd_hdac_stream_clear.c' source_filename = "AnghaBench/linux/sound/hda/extr_hdac_stream.c_snd_hdac_stream_clear.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SD_CTL = dso_local local_unnamed_addr global i32 0, align 4 @SD_CTL_DMA_START = dso_local local_unnamed_addr global i32 0, align 4 @SD_INT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SD_STS = dso_local local_unnamed_addr global i32 0, align 4 @SD_CTL_3B = dso_local local_unnamed_addr global i32 0, align 4 @SD_CTL_STRIPE_MASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @snd_hdac_stream_clear(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SD_CTL, align 4, !tbaa !5 %3 = load i32, ptr @SD_CTL_DMA_START, align 4, !tbaa !5 %4 = load i32, ptr @SD_INT_MASK, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = tail call i32 @snd_hdac_stream_updateb(ptr noundef %0, i32 noundef %2, i32 noundef %5, i32 noundef 0) #2 %7 = load i32, ptr @SD_STS, align 4, !tbaa !5 %8 = load i32, ptr @SD_INT_MASK, align 4, !tbaa !5 %9 = tail call i32 @snd_hdac_stream_writeb(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @SD_CTL_3B, align 4, !tbaa !5 %11 = load i32, ptr @SD_CTL_STRIPE_MASK, align 4, !tbaa !5 %12 = tail call i32 @snd_hdac_stream_updateb(ptr noundef %0, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 store i32 0, ptr %0, align 4, !tbaa !9 ret void } declare i32 @snd_hdac_stream_updateb(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hdac_stream_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"hdac_stream", !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/hda/extr_hdac_stream.c_snd_hdac_stream_clear.c' source_filename = "AnghaBench/linux/sound/hda/extr_hdac_stream.c_snd_hdac_stream_clear.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SD_CTL = common local_unnamed_addr global i32 0, align 4 @SD_CTL_DMA_START = common local_unnamed_addr global i32 0, align 4 @SD_INT_MASK = common local_unnamed_addr global i32 0, align 4 @SD_STS = common local_unnamed_addr global i32 0, align 4 @SD_CTL_3B = common local_unnamed_addr global i32 0, align 4 @SD_CTL_STRIPE_MASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @snd_hdac_stream_clear(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SD_CTL, align 4, !tbaa !6 %3 = load i32, ptr @SD_CTL_DMA_START, align 4, !tbaa !6 %4 = load i32, ptr @SD_INT_MASK, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = tail call i32 @snd_hdac_stream_updateb(ptr noundef %0, i32 noundef %2, i32 noundef %5, i32 noundef 0) #2 %7 = load i32, ptr @SD_STS, align 4, !tbaa !6 %8 = load i32, ptr @SD_INT_MASK, align 4, !tbaa !6 %9 = tail call i32 @snd_hdac_stream_writeb(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @SD_CTL_3B, align 4, !tbaa !6 %11 = load i32, ptr @SD_CTL_STRIPE_MASK, align 4, !tbaa !6 %12 = tail call i32 @snd_hdac_stream_updateb(ptr noundef %0, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 store i32 0, ptr %0, align 4, !tbaa !10 ret void } declare i32 @snd_hdac_stream_updateb(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hdac_stream_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"hdac_stream", !7, i64 0}
linux_sound_hda_extr_hdac_stream.c_snd_hdac_stream_clear
; ModuleID = 'AnghaBench/linux/sound/usb/misc/extr_ua101.c_enable_iso_interface.c' source_filename = "AnghaBench/linux/sound/usb/misc/extr_ua101.c_enable_iso_interface.c" target datalayout = "e-m:e-p270:32:32-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.ua101 = type { ptr, ptr } %struct.TYPE_5__ = type { i32, i32 } @.str = private unnamed_addr constant [43 x i8] c"cannot initialize interface; error %d: %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @enable_iso_interface], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @enable_iso_interface(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.ua101, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds ptr, ptr %4, i64 %5 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = icmp eq i32 %9, 1 br i1 %10, label %21, label %11 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !17 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = tail call i32 @usb_set_interface(ptr noundef %12, i32 noundef %14, i32 noundef 1) #2 %16 = icmp sgt i32 %15, -1 br i1 %16, label %21, label %17 17: ; preds = %11 %18 = load ptr, ptr %0, align 8, !tbaa !17 %19 = tail call i32 @usb_error_string(i32 noundef %15) #2 %20 = tail call i32 @dev_err(ptr noundef %18, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %19) #2 br label %21 21: ; preds = %2, %11, %17 %22 = phi i32 [ %15, %17 ], [ 0, %11 ], [ 0, %2 ] ret i32 %22 } declare i32 @usb_set_interface(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_error_string(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"ua101", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"usb_host_interface", !15, i64 0} !15 = !{!"TYPE_5__", !16, i64 0, !16, i64 4} !16 = !{!"int", !8, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!14, !16, i64 4}
; ModuleID = 'AnghaBench/linux/sound/usb/misc/extr_ua101.c_enable_iso_interface.c' source_filename = "AnghaBench/linux/sound/usb/misc/extr_ua101.c_enable_iso_interface.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 [43 x i8] c"cannot initialize interface; error %d: %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @enable_iso_interface], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @enable_iso_interface(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds ptr, ptr %4, i64 %5 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = icmp eq i32 %9, 1 br i1 %10, label %21, label %11 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !18 %13 = getelementptr inbounds i8, ptr %8, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !19 %15 = tail call i32 @usb_set_interface(ptr noundef %12, i32 noundef %14, i32 noundef 1) #2 %16 = icmp sgt i32 %15, -1 br i1 %16, label %21, label %17 17: ; preds = %11 %18 = load ptr, ptr %0, align 8, !tbaa !18 %19 = tail call i32 @usb_error_string(i32 noundef %15) #2 %20 = tail call i32 @dev_err(ptr noundef %18, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %19) #2 br label %21 21: ; preds = %2, %11, %17 %22 = phi i32 [ %15, %17 ], [ 0, %11 ], [ 0, %2 ] ret i32 %22 } declare i32 @usb_set_interface(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_error_string(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"ua101", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!15, !17, i64 0} !15 = !{!"usb_host_interface", !16, i64 0} !16 = !{!"TYPE_5__", !17, i64 0, !17, i64 4} !17 = !{!"int", !9, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!15, !17, i64 4}
linux_sound_usb_misc_extr_ua101.c_enable_iso_interface
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawAllSpritesInterlace.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawAllSpritesInterlace.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, %struct.PicoVideo } %struct.PicoVideo = type { ptr } @Pico = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @DrawScanline = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DrawAllSpritesInterlace], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @DrawAllSpritesInterlace(i32 noundef %0, i32 %1) #0 { %3 = alloca [80 x ptr], align 16 %4 = load i32, ptr @DrawScanline, align 4, !tbaa !5 %5 = shl i32 %4, 1 call void @llvm.lifetime.start.p0(i64 640, ptr nonnull %3) #3 %6 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @Pico, i64 0, i32 1), align 8, !tbaa !9 %7 = getelementptr inbounds i32, ptr %6, i64 5 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = getelementptr inbounds i32, ptr %6, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = and i32 %10, 1 %12 = xor i32 %11, 127 %13 = and i32 %12, %8 %14 = shl nuw nsw i32 %13, 8 %15 = load i64, ptr @Pico, align 8, !tbaa !12 br label %21 16: ; preds = %56 %17 = add nuw nsw i32 %23, 1 %18 = icmp ult i32 %23, 79 %19 = icmp slt i32 %57, 21 %20 = select i1 %18, i1 %19, i1 false br i1 %20, label %21, label %61, !llvm.loop !15 21: ; preds = %2, %16 %22 = phi i32 [ 0, %2 ], [ %57, %16 ] %23 = phi i32 [ 0, %2 ], [ %17, %16 ] %24 = phi i32 [ 0, %2 ], [ %59, %16 ] %25 = shl nuw nsw i32 %24, 2 %26 = add nuw nsw i32 %25, %14 %27 = and i32 %26, 32764 %28 = zext nneg i32 %27 to i64 %29 = add nsw i64 %15, %28 %30 = inttoptr i64 %29 to ptr %31 = load i32, ptr %30, align 4, !tbaa !5 %32 = getelementptr inbounds i32, ptr %30, i64 1 %33 = load i32, ptr %32, align 4, !tbaa !5 %34 = lshr i32 %33, 15 %35 = and i32 %34, 1 %36 = icmp eq i32 %35, %0 br i1 %36, label %37, label %56 37: ; preds = %21 %38 = and i32 %31, 1023 %39 = add nsw i32 %38, -256 %40 = icmp slt i32 %5, %39 br i1 %40, label %56, label %41 41: ; preds = %37 %42 = lshr i32 %31, 20 %43 = and i32 %42, 48 %44 = add nuw nsw i32 %43, 16 %45 = add nsw i32 %44, %39 %46 = icmp slt i32 %5, %45 br i1 %46, label %47, label %56 47: ; preds = %41 %48 = lshr i32 %33, 16 %49 = and i32 %48, 511 %50 = add nsw i32 %49, -448 %51 = icmp ult i32 %50, -351 br i1 %51, label %56, label %52 52: ; preds = %47 %53 = add nsw i32 %22, 1 %54 = sext i32 %22 to i64 %55 = getelementptr inbounds [80 x ptr], ptr %3, i64 0, i64 %54 store ptr %30, ptr %55, align 8, !tbaa !17 br label %56 56: ; preds = %47, %37, %41, %21, %52 %57 = phi i32 [ %22, %21 ], [ %22, %37 ], [ %22, %41 ], [ %22, %47 ], [ %53, %52 ] %58 = lshr i32 %31, 16 %59 = and i32 %58, 127 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %16 61: ; preds = %56, %16 %62 = icmp sgt i32 %57, 0 br i1 %62, label %63, label %72 63: ; preds = %61 %64 = zext nneg i32 %57 to i64 br label %65 65: ; preds = %63, %65 %66 = phi i64 [ %64, %63 ], [ %67, %65 ] %67 = add nsw i64 %66, -1 %68 = getelementptr inbounds [80 x ptr], ptr %3, i64 0, i64 %67 %69 = load ptr, ptr %68, align 8, !tbaa !17 %70 = tail call i32 @DrawSpriteInterlace(ptr noundef %69) #3 %71 = icmp ugt i64 %66, 1 br i1 %71, label %65, label %72, !llvm.loop !18 72: ; preds = %65, %61 call void @llvm.lifetime.end.p0(i64 640, 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DrawSpriteInterlace(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"PicoVideo", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !10, i64 8} !14 = !{!"long", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!11, !11, i64 0} !18 = distinct !{!18, !16}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawAllSpritesInterlace.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawAllSpritesInterlace.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, %struct.PicoVideo } %struct.PicoVideo = type { ptr } @Pico = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @DrawScanline = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DrawAllSpritesInterlace], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @DrawAllSpritesInterlace(i32 noundef %0, i32 %1) #0 { %3 = alloca [80 x ptr], align 8 %4 = load i32, ptr @DrawScanline, align 4, !tbaa !6 %5 = shl i32 %4, 1 call void @llvm.lifetime.start.p0(i64 640, ptr nonnull %3) #3 %6 = load ptr, ptr getelementptr inbounds (i8, ptr @Pico, i64 8), align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %6, i64 20 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %6, i64 48 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = and i32 %10, 1 %12 = xor i32 %11, 127 %13 = and i32 %12, %8 %14 = shl nuw nsw i32 %13, 8 %15 = load i64, ptr @Pico, align 8, !tbaa !13 br label %21 16: ; preds = %56 %17 = add nuw nsw i32 %23, 1 %18 = icmp ult i32 %23, 79 %19 = icmp slt i32 %57, 21 %20 = select i1 %18, i1 %19, i1 false br i1 %20, label %21, label %61, !llvm.loop !16 21: ; preds = %2, %16 %22 = phi i32 [ 0, %2 ], [ %57, %16 ] %23 = phi i32 [ 0, %2 ], [ %17, %16 ] %24 = phi i32 [ 0, %2 ], [ %59, %16 ] %25 = shl nuw nsw i32 %24, 2 %26 = add nuw nsw i32 %25, %14 %27 = and i32 %26, 32764 %28 = zext nneg i32 %27 to i64 %29 = add nsw i64 %15, %28 %30 = inttoptr i64 %29 to ptr %31 = load i32, ptr %30, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %30, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !6 %34 = lshr i32 %33, 15 %35 = and i32 %34, 1 %36 = icmp eq i32 %35, %0 br i1 %36, label %37, label %56 37: ; preds = %21 %38 = and i32 %31, 1023 %39 = add nsw i32 %38, -256 %40 = icmp slt i32 %5, %39 br i1 %40, label %56, label %41 41: ; preds = %37 %42 = lshr i32 %31, 20 %43 = and i32 %42, 48 %44 = add nuw nsw i32 %43, 16 %45 = add nsw i32 %44, %39 %46 = icmp slt i32 %5, %45 br i1 %46, label %47, label %56 47: ; preds = %41 %48 = lshr i32 %33, 16 %49 = and i32 %48, 511 %50 = add nsw i32 %49, -448 %51 = icmp ult i32 %50, -351 br i1 %51, label %56, label %52 52: ; preds = %47 %53 = add nsw i32 %22, 1 %54 = sext i32 %22 to i64 %55 = getelementptr inbounds [80 x ptr], ptr %3, i64 0, i64 %54 store ptr %30, ptr %55, align 8, !tbaa !18 br label %56 56: ; preds = %47, %37, %41, %21, %52 %57 = phi i32 [ %22, %21 ], [ %22, %37 ], [ %22, %41 ], [ %22, %47 ], [ %53, %52 ] %58 = lshr i32 %31, 16 %59 = and i32 %58, 127 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %16 61: ; preds = %56, %16 %62 = icmp sgt i32 %57, 0 br i1 %62, label %63, label %72 63: ; preds = %61 %64 = zext nneg i32 %57 to i64 br label %65 65: ; preds = %63, %65 %66 = phi i64 [ %64, %63 ], [ %67, %65 ] %67 = add nsw i64 %66, -1 %68 = getelementptr inbounds [80 x ptr], ptr %3, i64 0, i64 %67 %69 = load ptr, ptr %68, align 8, !tbaa !18 %70 = tail call i32 @DrawSpriteInterlace(ptr noundef %69) #3 %71 = icmp ugt i64 %66, 1 br i1 %71, label %65, label %72, !llvm.loop !19 72: ; preds = %65, %61 call void @llvm.lifetime.end.p0(i64 640, 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DrawSpriteInterlace(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"PicoVideo", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0, !11, i64 8} !15 = !{!"long", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!12, !12, i64 0} !19 = distinct !{!19, !17}
Provenance_Cores_PicoDrive_pico_extr_draw.c_DrawAllSpritesInterlace
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_algapi.c_crypto_alloc_instance.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_algapi.c_crypto_alloc_instance.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CRYPTO_ALG_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CRYPTO_ALG_ASYNC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @crypto_alloc_instance(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @crypto_alloc_instance2(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %4 = tail call i64 @IS_ERR(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %16 6: ; preds = %2 %7 = tail call ptr @crypto_instance_ctx(ptr noundef %3) #2 %8 = load i32, ptr @CRYPTO_ALG_TYPE_MASK, align 4, !tbaa !5 %9 = load i32, ptr @CRYPTO_ALG_ASYNC, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = tail call i32 @crypto_init_spawn(ptr noundef %7, ptr noundef %1, ptr noundef %3, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %6 %14 = tail call i32 @kfree(ptr noundef %3) #2 %15 = tail call ptr @ERR_PTR(i32 noundef %11) #2 br label %16 16: ; preds = %13, %2, %6 %17 = phi ptr [ %3, %6 ], [ %3, %2 ], [ %15, %13 ] ret ptr %17 } declare ptr @crypto_alloc_instance2(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_instance_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_init_spawn(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(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/crypto/extr_algapi.c_crypto_alloc_instance.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_algapi.c_crypto_alloc_instance.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_ALG_TYPE_MASK = common local_unnamed_addr global i32 0, align 4 @CRYPTO_ALG_ASYNC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @crypto_alloc_instance(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @crypto_alloc_instance2(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %4 = tail call i64 @IS_ERR(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %16 6: ; preds = %2 %7 = tail call ptr @crypto_instance_ctx(ptr noundef %3) #2 %8 = load i32, ptr @CRYPTO_ALG_TYPE_MASK, align 4, !tbaa !6 %9 = load i32, ptr @CRYPTO_ALG_ASYNC, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = tail call i32 @crypto_init_spawn(ptr noundef %7, ptr noundef %1, ptr noundef %3, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %6 %14 = tail call i32 @kfree(ptr noundef %3) #2 %15 = tail call ptr @ERR_PTR(i32 noundef %11) #2 br label %16 16: ; preds = %13, %2, %6 %17 = phi ptr [ %3, %6 ], [ %3, %2 ], [ %15, %13 ] ret ptr %17 } declare ptr @crypto_alloc_instance2(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_instance_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_init_spawn(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(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_crypto_extr_algapi.c_crypto_alloc_instance
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_mld_newpack.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_mld_newpack.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.in6_addr = type { i32 } %struct.mld2_report = type { i64, i64, i64, i64, i32 } @IPPROTO_ICMPV6 = dso_local local_unnamed_addr global i32 0, align 4 @IPV6_TLV_ROUTERALERT = dso_local local_unnamed_addr global i32 0, align 4 @IPV6_TLV_PADN = dso_local local_unnamed_addr global i32 0, align 4 @IFA_F_TENTATIVE = dso_local local_unnamed_addr global i32 0, align 4 @in6addr_any = dso_local global %struct.in6_addr zeroinitializer, align 4 @mld2_all_mcr = dso_local global i32 0, align 4 @NEXTHDR_HOP = dso_local local_unnamed_addr global i32 0, align 4 @ICMPV6_MLD2_REPORT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mld_newpack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mld_newpack(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.in6_addr, align 4 %4 = alloca i32, align 4 %5 = alloca [8 x i32], align 16 %6 = tail call ptr @dev_net(ptr noundef %0) #4 %7 = load ptr, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4 %8 = load i32, ptr @IPPROTO_ICMPV6, align 4, !tbaa !11 store i32 %8, ptr %5, align 16, !tbaa !11 %9 = getelementptr inbounds i32, ptr %5, i64 1 store i32 0, ptr %9, align 4, !tbaa !11 %10 = getelementptr inbounds i32, ptr %5, i64 2 %11 = load i32, ptr @IPV6_TLV_ROUTERALERT, align 4, !tbaa !11 store i32 %11, ptr %10, align 8, !tbaa !11 %12 = getelementptr inbounds i32, ptr %5, i64 3 store i32 2, ptr %12, align 4, !tbaa !11 %13 = getelementptr inbounds i32, ptr %5, i64 4 store i32 0, ptr %13, align 16, !tbaa !11 %14 = getelementptr inbounds i32, ptr %5, i64 5 store i32 0, ptr %14, align 4, !tbaa !11 %15 = getelementptr inbounds i32, ptr %5, i64 6 %16 = load i32, ptr @IPV6_TLV_PADN, align 4, !tbaa !11 store i32 %16, ptr %15, align 8, !tbaa !11 %17 = getelementptr inbounds i32, ptr %5, i64 7 store i32 0, ptr %17, align 4, !tbaa !11 %18 = sext i32 %1 to i64 %19 = tail call i64 @LL_ALLOCATED_SPACE(ptr noundef %0) #4 %20 = add nsw i64 %19, %18 %21 = call ptr @sock_alloc_send_skb(ptr noundef %7, i64 noundef %20, i32 noundef 1, ptr noundef nonnull %4) #4 %22 = icmp eq ptr %21, null br i1 %22, label %43, label %23 23: ; preds = %2 %24 = call i32 @LL_RESERVED_SPACE(ptr noundef %0) #4 %25 = call i32 @skb_reserve(ptr noundef nonnull %21, i32 noundef %24) #4 %26 = load i32, ptr @IFA_F_TENTATIVE, align 4, !tbaa !11 %27 = call i64 @ipv6_get_lladdr(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %26) #4 %28 = icmp eq i64 %27, 0 %29 = select i1 %28, ptr %3, ptr @in6addr_any %30 = load i32, ptr @NEXTHDR_HOP, align 4, !tbaa !11 %31 = call i32 @ip6_nd_hdr(ptr noundef %7, ptr noundef nonnull %21, ptr noundef %0, ptr noundef nonnull %29, ptr noundef nonnull @mld2_all_mcr, i32 noundef %30, i32 noundef 0) #4 %32 = call i32 @skb_put(ptr noundef nonnull %21, i32 noundef 32) #4 %33 = call i32 @memcpy(i32 noundef %32, ptr noundef nonnull %5, i32 noundef 32) #4 %34 = call i64 @skb_tail_pointer(ptr noundef nonnull %21) #4 %35 = load i64, ptr %21, align 8, !tbaa !13 %36 = sub nsw i64 %34, %35 %37 = call i32 @skb_set_transport_header(ptr noundef nonnull %21, i64 noundef %36) #4 %38 = call i32 @skb_put(ptr noundef nonnull %21, i32 noundef 40) #4 %39 = call i64 @skb_transport_header(ptr noundef nonnull %21) #4 %40 = inttoptr i64 %39 to ptr %41 = load i32, ptr @ICMPV6_MLD2_REPORT, align 4, !tbaa !11 %42 = getelementptr inbounds %struct.mld2_report, ptr %40, i64 0, i32 4 store i32 %41, ptr %42, align 8, !tbaa !16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %40, i8 0, i64 32, i1 false) br label %43 43: ; preds = %2, %23 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret ptr %21 } ; 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_net(ptr noundef) local_unnamed_addr #2 declare ptr @sock_alloc_send_skb(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @LL_ALLOCATED_SPACE(ptr noundef) local_unnamed_addr #2 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LL_RESERVED_SPACE(ptr noundef) local_unnamed_addr #2 declare i64 @ipv6_get_lladdr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ip6_nd_hdr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_set_transport_header(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @skb_tail_pointer(ptr noundef) local_unnamed_addr #2 declare i64 @skb_transport_header(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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, !8, i64 0} !6 = !{!"net", !7, i64 0} !7 = !{!"TYPE_2__", !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, !15, i64 0} !14 = !{!"sk_buff", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !12, i64 32} !17 = !{!"mld2_report", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !12, i64 32}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_mld_newpack.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_mld_newpack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.in6_addr = type { i32 } @IPPROTO_ICMPV6 = common local_unnamed_addr global i32 0, align 4 @IPV6_TLV_ROUTERALERT = common local_unnamed_addr global i32 0, align 4 @IPV6_TLV_PADN = common local_unnamed_addr global i32 0, align 4 @IFA_F_TENTATIVE = common local_unnamed_addr global i32 0, align 4 @in6addr_any = common global %struct.in6_addr zeroinitializer, align 4 @mld2_all_mcr = common global i32 0, align 4 @NEXTHDR_HOP = common local_unnamed_addr global i32 0, align 4 @ICMPV6_MLD2_REPORT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mld_newpack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mld_newpack(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.in6_addr, align 4 %4 = alloca i32, align 4 %5 = alloca [8 x i32], align 4 %6 = tail call ptr @dev_net(ptr noundef %0) #4 %7 = load ptr, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4 %8 = load i32, ptr @IPPROTO_ICMPV6, align 4, !tbaa !12 store i32 %8, ptr %5, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %5, i64 4 store i32 0, ptr %9, align 4, !tbaa !12 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load i32, ptr @IPV6_TLV_ROUTERALERT, align 4, !tbaa !12 store i32 %11, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %5, i64 12 store <2 x i32> <i32 2, i32 0>, ptr %12, align 4, !tbaa !12 %13 = getelementptr inbounds i8, ptr %5, i64 20 store i32 0, ptr %13, align 4, !tbaa !12 %14 = getelementptr inbounds i8, ptr %5, i64 24 %15 = load i32, ptr @IPV6_TLV_PADN, align 4, !tbaa !12 store i32 %15, ptr %14, align 4, !tbaa !12 %16 = getelementptr inbounds i8, ptr %5, i64 28 store i32 0, ptr %16, align 4, !tbaa !12 %17 = sext i32 %1 to i64 %18 = tail call i64 @LL_ALLOCATED_SPACE(ptr noundef %0) #4 %19 = add nsw i64 %18, %17 %20 = call ptr @sock_alloc_send_skb(ptr noundef %7, i64 noundef %19, i32 noundef 1, ptr noundef nonnull %4) #4 %21 = icmp eq ptr %20, null br i1 %21, label %42, label %22 22: ; preds = %2 %23 = call i32 @LL_RESERVED_SPACE(ptr noundef %0) #4 %24 = call i32 @skb_reserve(ptr noundef nonnull %20, i32 noundef %23) #4 %25 = load i32, ptr @IFA_F_TENTATIVE, align 4, !tbaa !12 %26 = call i64 @ipv6_get_lladdr(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %25) #4 %27 = icmp eq i64 %26, 0 %28 = select i1 %27, ptr %3, ptr @in6addr_any %29 = load i32, ptr @NEXTHDR_HOP, align 4, !tbaa !12 %30 = call i32 @ip6_nd_hdr(ptr noundef %7, ptr noundef nonnull %20, ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull @mld2_all_mcr, i32 noundef %29, i32 noundef 0) #4 %31 = call i32 @skb_put(ptr noundef nonnull %20, i32 noundef 32) #4 %32 = call i32 @memcpy(i32 noundef %31, ptr noundef nonnull %5, i32 noundef 32) #4 %33 = call i64 @skb_tail_pointer(ptr noundef nonnull %20) #4 %34 = load i64, ptr %20, align 8, !tbaa !14 %35 = sub nsw i64 %33, %34 %36 = call i32 @skb_set_transport_header(ptr noundef nonnull %20, i64 noundef %35) #4 %37 = call i32 @skb_put(ptr noundef nonnull %20, i32 noundef 40) #4 %38 = call i64 @skb_transport_header(ptr noundef nonnull %20) #4 %39 = inttoptr i64 %38 to ptr %40 = load i32, ptr @ICMPV6_MLD2_REPORT, align 4, !tbaa !12 %41 = getelementptr inbounds i8, ptr %39, i64 32 store i32 %40, ptr %41, align 8, !tbaa !17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %39, i8 0, i64 32, i1 false) br label %42 42: ; preds = %2, %22 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret ptr %20 } ; 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_net(ptr noundef) local_unnamed_addr #2 declare ptr @sock_alloc_send_skb(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @LL_ALLOCATED_SPACE(ptr noundef) local_unnamed_addr #2 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LL_RESERVED_SPACE(ptr noundef) local_unnamed_addr #2 declare i64 @ipv6_get_lladdr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ip6_nd_hdr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_set_transport_header(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @skb_tail_pointer(ptr noundef) local_unnamed_addr #2 declare i64 @skb_transport_header(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"net", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"sk_buff", !16, i64 0} !16 = !{!"long", !10, i64 0} !17 = !{!18, !13, i64 32} !18 = !{!"mld2_report", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !13, i64 32}
fastsocket_kernel_net_ipv6_extr_mcast.c_mld_newpack
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_set_std_hw_rates.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_set_std_hw_rates.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_ice1712 = type { ptr, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @ICE_EEP2_ACLINK = dso_local local_unnamed_addr global i64 0, align 8 @VT1724_CFG_PRO_I2S = dso_local local_unnamed_addr global i32 0, align 4 @ICE_EEP2_I2S = dso_local local_unnamed_addr global i64 0, align 8 @hw_constraints_rates_192 = dso_local global i32 0, align 4 @hw_constraints_rates_96 = dso_local global i32 0, align 4 @hw_constraints_rates_48 = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_std_hw_rates], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @set_std_hw_rates(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr @ICE_EEP2_ACLINK, align 8, !tbaa !12 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !14 %7 = load i32, ptr @VT1724_CFG_PRO_I2S, align 4, !tbaa !14 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %21, label %10 10: ; preds = %1 %11 = load i64, ptr @ICE_EEP2_I2S, align 8, !tbaa !12 %12 = getelementptr inbounds i32, ptr %3, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = and i32 %13, 8 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %10 %17 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = icmp eq i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %16, %10 br label %21 21: ; preds = %1, %16, %20 %22 = phi ptr [ @hw_constraints_rates_96, %20 ], [ @hw_constraints_rates_192, %16 ], [ @hw_constraints_rates_48, %1 ] store ptr %22, ptr %0, align 8, !tbaa !16 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"snd_ice1712", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_set_std_hw_rates.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_set_std_hw_rates.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ICE_EEP2_ACLINK = common local_unnamed_addr global i64 0, align 8 @VT1724_CFG_PRO_I2S = common local_unnamed_addr global i32 0, align 4 @ICE_EEP2_I2S = common local_unnamed_addr global i64 0, align 8 @hw_constraints_rates_192 = common global i32 0, align 4 @hw_constraints_rates_96 = common global i32 0, align 4 @hw_constraints_rates_48 = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_std_hw_rates], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @set_std_hw_rates(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr @ICE_EEP2_ACLINK, align 8, !tbaa !13 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !15 %7 = load i32, ptr @VT1724_CFG_PRO_I2S, align 4, !tbaa !15 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %21, label %10 10: ; preds = %1 %11 = load i64, ptr @ICE_EEP2_I2S, align 8, !tbaa !13 %12 = getelementptr inbounds i32, ptr %3, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = and i32 %13, 8 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = icmp eq i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %16, %10 br label %21 21: ; preds = %1, %16, %20 %22 = phi ptr [ @hw_constraints_rates_96, %20 ], [ @hw_constraints_rates_192, %16 ], [ @hw_constraints_rates_48, %1 ] store ptr %22, ptr %0, align 8, !tbaa !17 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"snd_ice1712", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 0}
fastsocket_kernel_sound_pci_ice1712_extr_ice1724.c_set_std_hw_rates
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_fontdef_cns.c_SimHei_Bold_Init.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_fontdef_cns.c_SimHei_Bold_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" @HPDF_OK = dso_local local_unnamed_addr global i64 0, align 8 @HPDF_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @HPDF_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @SimHei_Bold_Init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @SimHei_Bold_Init(i32 noundef %0) #0 { %2 = tail call i64 @SimHei_Init(i32 noundef %0) #2 %3 = load i64, ptr @HPDF_OK, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr @HPDF_TRUE, align 4, !tbaa !9 %7 = load i32, ptr @HPDF_FALSE, align 4, !tbaa !9 %8 = tail call i64 @HPDF_CIDFontDef_ChangeStyle(i32 noundef %0, i32 noundef %6, i32 noundef %7) #2 br label %9 9: ; preds = %1, %5 %10 = phi i64 [ %8, %5 ], [ %2, %1 ] ret i64 %10 } declare i64 @SimHei_Init(i32 noundef) local_unnamed_addr #1 declare i64 @HPDF_CIDFontDef_ChangeStyle(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_fontdef_cns.c_SimHei_Bold_Init.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_fontdef_cns.c_SimHei_Bold_Init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HPDF_OK = common local_unnamed_addr global i64 0, align 8 @HPDF_TRUE = common local_unnamed_addr global i32 0, align 4 @HPDF_FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SimHei_Bold_Init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @SimHei_Bold_Init(i32 noundef %0) #0 { %2 = tail call i64 @SimHei_Init(i32 noundef %0) #2 %3 = load i64, ptr @HPDF_OK, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr @HPDF_TRUE, align 4, !tbaa !10 %7 = load i32, ptr @HPDF_FALSE, align 4, !tbaa !10 %8 = tail call i64 @HPDF_CIDFontDef_ChangeStyle(i32 noundef %0, i32 noundef %6, i32 noundef %7) #2 br label %9 9: ; preds = %1, %5 %10 = phi i64 [ %8, %5 ], [ %2, %1 ] ret i64 %10 } declare i64 @SimHei_Init(i32 noundef) local_unnamed_addr #1 declare i64 @HPDF_CIDFontDef_ChangeStyle(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 = !{!"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}
poco_PDF_src_extr_hpdf_fontdef_cns.c_SimHei_Bold_Init
; ModuleID = 'AnghaBench/sqlcipher/ext/expert/extr_sqlite3expert.c_expertConnect.c' source_filename = "AnghaBench/sqlcipher/ext/expert/extr_sqlite3expert.c_expertConnect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { ptr, ptr } @.str = private unnamed_addr constant [16 x i8] c"internal error!\00", align 1 @SQLITE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_NOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @expertConnect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @expertConnect(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5) #0 { %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = icmp eq i32 %2, 4 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call ptr @sqlite3_mprintf(ptr noundef nonnull @.str) #3 store ptr %10, ptr %5, align 8, !tbaa !5 br label %41 11: ; preds = %6 %12 = getelementptr inbounds ptr, ptr %3, i64 3 %13 = load ptr, ptr %12, align 8, !tbaa !5 %14 = tail call ptr @expertDequote(ptr noundef %13) #3 %15 = icmp eq ptr %14, null br i1 %15, label %41, label %16 16: ; preds = %11 %17 = tail call i32 @sqlite3_declare_vtab(ptr noundef %0, ptr noundef nonnull %14) #3 store i32 %17, ptr %7, align 4, !tbaa !9 %18 = load i32, ptr @SQLITE_OK, align 4, !tbaa !9 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = call ptr @idxMalloc(ptr noundef nonnull %7, i32 noundef 16) #3 %22 = load i32, ptr %7, align 4, !tbaa !9 %23 = load i32, ptr @SQLITE_OK, align 4, !tbaa !9 br label %24 24: ; preds = %20, %16 %25 = phi i32 [ %23, %20 ], [ %18, %16 ] %26 = phi i32 [ %22, %20 ], [ %17, %16 ] %27 = phi ptr [ %21, %20 ], [ null, %16 ] %28 = icmp eq i32 %26, %25 br i1 %28, label %29, label %39 29: ; preds = %24 %30 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1 store ptr %1, ptr %30, align 8, !tbaa !11 %31 = load ptr, ptr %1, align 8, !tbaa !13 store ptr %31, ptr %27, align 8, !tbaa !15 %32 = load i32, ptr %31, align 4, !tbaa !16 %33 = getelementptr inbounds ptr, ptr %3, i64 2 %34 = load ptr, ptr %33, align 8, !tbaa !5 %35 = call i64 @sqlite3_stricmp(i32 noundef %32, ptr noundef %34) #3 %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) #3 br label %39 39: ; preds = %29, %24 %40 = call i32 @sqlite3_free(ptr noundef nonnull %14) #3 br label %41 41: ; preds = %11, %39, %9 %42 = phi ptr [ @SQLITE_ERROR, %9 ], [ %7, %39 ], [ @SQLITE_NOMEM, %11 ] %43 = phi ptr [ null, %9 ], [ %27, %39 ], [ null, %11 ] %44 = load i32, ptr %42, align 4, !tbaa !9 store ptr %43, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 ret i32 %44 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sqlite3_mprintf(ptr noundef) local_unnamed_addr #2 declare ptr @expertDequote(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_declare_vtab(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @idxMalloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_stricmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"TYPE_7__", !6, i64 0, !6, i64 8} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_6__", !6, i64 0} !15 = !{!12, !6, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"TYPE_5__", !10, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/expert/extr_sqlite3expert.c_expertConnect.c' source_filename = "AnghaBench/sqlcipher/ext/expert/extr_sqlite3expert.c_expertConnect.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"internal error!\00", align 1 @SQLITE_ERROR = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @SQLITE_NOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @expertConnect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @expertConnect(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5) #0 { %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = icmp eq i32 %2, 4 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call ptr @sqlite3_mprintf(ptr noundef nonnull @.str) #3 store ptr %10, ptr %5, align 8, !tbaa !6 br label %41 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %3, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = tail call ptr @expertDequote(ptr noundef %13) #3 %15 = icmp eq ptr %14, null br i1 %15, label %41, label %16 16: ; preds = %11 %17 = tail call i32 @sqlite3_declare_vtab(ptr noundef %0, ptr noundef nonnull %14) #3 store i32 %17, ptr %7, align 4, !tbaa !10 %18 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = call ptr @idxMalloc(ptr noundef nonnull %7, i32 noundef 16) #3 %22 = load i32, ptr %7, align 4, !tbaa !10 %23 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 br label %24 24: ; preds = %20, %16 %25 = phi i32 [ %23, %20 ], [ %18, %16 ] %26 = phi i32 [ %22, %20 ], [ %17, %16 ] %27 = phi ptr [ %21, %20 ], [ null, %16 ] %28 = icmp eq i32 %26, %25 br i1 %28, label %29, label %39 29: ; preds = %24 %30 = getelementptr inbounds i8, ptr %27, i64 8 store ptr %1, ptr %30, align 8, !tbaa !12 %31 = load ptr, ptr %1, align 8, !tbaa !14 store ptr %31, ptr %27, align 8, !tbaa !16 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = getelementptr inbounds i8, ptr %3, i64 16 %34 = load ptr, ptr %33, align 8, !tbaa !6 %35 = call i64 @sqlite3_stricmp(i32 noundef %32, ptr noundef %34) #3 %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) #3 br label %39 39: ; preds = %29, %24 %40 = call i32 @sqlite3_free(ptr noundef nonnull %14) #3 br label %41 41: ; preds = %11, %39, %9 %42 = phi ptr [ @SQLITE_ERROR, %9 ], [ %7, %39 ], [ @SQLITE_NOMEM, %11 ] %43 = phi ptr [ null, %9 ], [ %27, %39 ], [ null, %11 ] %44 = load i32, ptr %42, align 4, !tbaa !10 store ptr %43, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 ret i32 %44 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sqlite3_mprintf(ptr noundef) local_unnamed_addr #2 declare ptr @expertDequote(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_declare_vtab(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @idxMalloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_stricmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0} !16 = !{!13, !7, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_5__", !11, i64 0}
sqlcipher_ext_expert_extr_sqlite3expert.c_expertConnect
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_dev.c_rtl8187_cmd_reset.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_dev.c_rtl8187_cmd_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ieee80211_hw = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @RTL818X_CMD_RESET = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Reset timeout!\0A\00", align 1 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @RTL818X_EEPROM_CMD_LOAD = dso_local local_unnamed_addr global i32 0, align 4 @RTL818X_EEPROM_CMD_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"eeprom reset timeout!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8187_cmd_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rtl8187_cmd_reset(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.ieee80211_hw, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %6 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef nonnull %5) #2 %7 = and i32 %6, 2 %8 = load i32, ptr @RTL818X_CMD_RESET, align 4, !tbaa !13 %9 = or i32 %7, %8 %10 = load ptr, ptr %3, align 8, !tbaa !11 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1 %12 = tail call i32 @rtl818x_iowrite8(ptr noundef nonnull %3, ptr noundef nonnull %11, i32 noundef %9) #2 br label %13 13: ; preds = %13, %1 %14 = phi i32 [ 10, %1 ], [ %22, %13 ] %15 = tail call i32 @msleep(i32 noundef 2) #2 %16 = load ptr, ptr %3, align 8, !tbaa !11 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1 %18 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef nonnull %17) #2 %19 = load i32, ptr @RTL818X_CMD_RESET, align 4, !tbaa !13 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 %22 = add nsw i32 %14, -1 %23 = icmp eq i32 %22, 0 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %25, label %13, !llvm.loop !14 25: ; preds = %13 br i1 %21, label %26, label %42 26: ; preds = %25 %27 = load ptr, ptr %3, align 8, !tbaa !11 %28 = load i32, ptr @RTL818X_EEPROM_CMD_LOAD, align 4, !tbaa !13 %29 = tail call i32 @rtl818x_iowrite8(ptr noundef nonnull %3, ptr noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %30, %26 %31 = phi i32 [ 10, %26 ], [ %38, %30 ] %32 = tail call i32 @msleep(i32 noundef 4) #2 %33 = load ptr, ptr %3, align 8, !tbaa !11 %34 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef %33) #2 %35 = load i32, ptr @RTL818X_EEPROM_CMD_CONFIG, align 4, !tbaa !13 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 %38 = add nsw i32 %31, -1 %39 = icmp eq i32 %38, 0 %40 = select i1 %37, i1 true, i1 %39 br i1 %40, label %41, label %30, !llvm.loop !16 41: ; preds = %30 br i1 %37, label %48, label %42 42: ; preds = %41, %25 %43 = phi ptr [ @.str, %25 ], [ @.str.1, %41 ] %44 = load i32, ptr %0, align 8, !tbaa !17 %45 = tail call i32 @wiphy_err(i32 noundef %44, ptr noundef nonnull %43) #2 %46 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13 %47 = sub nsw i32 0, %46 br label %48 48: ; preds = %42, %41 %49 = phi i32 [ 0, %41 ], [ %47, %42 ] ret i32 %49 } declare i32 @rtl818x_ioread8(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl818x_iowrite8(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @wiphy_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"ieee80211_hw", !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 = !{!"rtl8187_priv", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_dev.c_rtl8187_cmd_reset.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_dev.c_rtl8187_cmd_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTL818X_CMD_RESET = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Reset timeout!\0A\00", align 1 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @RTL818X_EEPROM_CMD_LOAD = common local_unnamed_addr global i32 0, align 4 @RTL818X_EEPROM_CMD_CONFIG = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"eeprom reset timeout!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtl8187_cmd_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rtl8187_cmd_reset(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef nonnull %5) #2 %7 = and i32 %6, 2 %8 = load i32, ptr @RTL818X_CMD_RESET, align 4, !tbaa !14 %9 = or i32 %7, %8 %10 = load ptr, ptr %3, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = tail call i32 @rtl818x_iowrite8(ptr noundef nonnull %3, ptr noundef nonnull %11, i32 noundef %9) #2 br label %13 13: ; preds = %13, %1 %14 = phi i32 [ 10, %1 ], [ %22, %13 ] %15 = tail call i32 @msleep(i32 noundef 2) #2 %16 = load ptr, ptr %3, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %16, i64 4 %18 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef nonnull %17) #2 %19 = load i32, ptr @RTL818X_CMD_RESET, align 4, !tbaa !14 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 %22 = add nsw i32 %14, -1 %23 = icmp eq i32 %22, 0 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %25, label %13, !llvm.loop !15 25: ; preds = %13 br i1 %21, label %26, label %42 26: ; preds = %25 %27 = load ptr, ptr %3, align 8, !tbaa !12 %28 = load i32, ptr @RTL818X_EEPROM_CMD_LOAD, align 4, !tbaa !14 %29 = tail call i32 @rtl818x_iowrite8(ptr noundef nonnull %3, ptr noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %30, %26 %31 = phi i32 [ 10, %26 ], [ %38, %30 ] %32 = tail call i32 @msleep(i32 noundef 4) #2 %33 = load ptr, ptr %3, align 8, !tbaa !12 %34 = tail call i32 @rtl818x_ioread8(ptr noundef nonnull %3, ptr noundef %33) #2 %35 = load i32, ptr @RTL818X_EEPROM_CMD_CONFIG, align 4, !tbaa !14 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 %38 = add nsw i32 %31, -1 %39 = icmp eq i32 %38, 0 %40 = select i1 %37, i1 true, i1 %39 br i1 %40, label %41, label %30, !llvm.loop !17 41: ; preds = %30 br i1 %37, label %48, label %42 42: ; preds = %41, %25 %43 = phi ptr [ @.str, %25 ], [ @.str.1, %41 ] %44 = load i32, ptr %0, align 8, !tbaa !18 %45 = tail call i32 @wiphy_err(i32 noundef %44, ptr noundef nonnull %43) #2 %46 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14 %47 = sub nsw i32 0, %46 br label %48 48: ; preds = %42, %41 %49 = phi i32 [ 0, %41 ], [ %47, %42 ] ret i32 %49 } declare i32 @rtl818x_ioread8(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl818x_iowrite8(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @wiphy_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"ieee80211_hw", !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 = !{!"rtl8187_priv", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16} !18 = !{!7, !8, i64 0}
linux_drivers_net_wireless_realtek_rtl818x_rtl8187_extr_dev.c_rtl8187_cmd_reset
; ModuleID = 'AnghaBench/linux/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.c' source_filename = "AnghaBench/linux/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_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" ; Function Attrs: nounwind uwtable define dso_local void @alpha_write_fp_reg(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp ult i64 %0, 32 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = trunc i64 %0 to i32 %6 = tail call i32 @LDT(i32 noundef %5, i64 noundef %1) #2 br label %7 7: ; preds = %2, %4 ret void } declare i32 @LDT(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)"}
; ModuleID = 'AnghaBench/linux/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.c' source_filename = "AnghaBench/linux/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.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 @alpha_write_fp_reg(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp ult i64 %0, 32 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = trunc nuw i64 %0 to i32 %6 = tail call i32 @LDT(i32 noundef %5, i64 noundef %1) #2 br label %7 7: ; preds = %2, %4 ret void } declare i32 @LDT(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)"}
linux_arch_alpha_lib_extr_fpreg.c_alpha_write_fp_reg
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_wait.c_autoremove_wake_function.c' source_filename = "AnghaBench/linux/kernel/sched/extr_wait.c_autoremove_wake_function.c" target datalayout = "e-m:e-p270:32:32-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 @autoremove_wake_function(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @default_wake_function(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @list_del_init(ptr noundef %0) #2 br label %9 9: ; preds = %7, %4 ret i32 %5 } declare i32 @default_wake_function(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(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/kernel/sched/extr_wait.c_autoremove_wake_function.c' source_filename = "AnghaBench/linux/kernel/sched/extr_wait.c_autoremove_wake_function.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 @autoremove_wake_function(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @default_wake_function(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @list_del_init(ptr noundef %0) #2 br label %9 9: ; preds = %7, %4 ret i32 %5 } declare i32 @default_wake_function(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(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_kernel_sched_extr_wait.c_autoremove_wake_function
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_disable_hwecc.c' source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_disable_hwecc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AR934X_NFC_CTRL_ECC_EN = dso_local local_unnamed_addr global i32 0, align 4 @AR934X_NFC_CTRL_CUSTOM_SIZE_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ar934x_nfc_disable_hwecc], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @ar934x_nfc_disable_hwecc(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @AR934X_NFC_CTRL_ECC_EN, align 4, !tbaa !5 %3 = xor i32 %2, -1 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = and i32 %4, %3 store i32 %5, ptr %0, align 4, !tbaa !9 %6 = load i32, ptr @AR934X_NFC_CTRL_CUSTOM_SIZE_EN, align 4, !tbaa !5 %7 = or i32 %6, %5 store i32 %7, ptr %0, align 4, !tbaa !9 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ar934x_nfc", !6, i64 0}
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_disable_hwecc.c' source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_disable_hwecc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AR934X_NFC_CTRL_ECC_EN = common local_unnamed_addr global i32 0, align 4 @AR934X_NFC_CTRL_CUSTOM_SIZE_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ar934x_nfc_disable_hwecc], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @ar934x_nfc_disable_hwecc(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @AR934X_NFC_CTRL_ECC_EN, align 4, !tbaa !6 %3 = xor i32 %2, -1 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = and i32 %4, %3 store i32 %5, ptr %0, align 4, !tbaa !10 %6 = load i32, ptr @AR934X_NFC_CTRL_CUSTOM_SIZE_EN, align 4, !tbaa !6 %7 = or i32 %6, %5 store i32 %7, ptr %0, align 4, !tbaa !10 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ar934x_nfc", !7, i64 0}
openwrt_target_linux_ar71xx_files_drivers_mtd_nand_extr_ar934x_nfc.c_ar934x_nfc_disable_hwecc
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_chunkline_non_comment_RR.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_chunkline_non_comment_RR.c" target datalayout = "e-m:e-p270:32:32-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 @chunkline_non_comment_RR], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @chunkline_non_comment_RR(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i64 @chunkline_get_line_collated(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %4, %10 %8 = tail call i64 @chunkline_is_comment_line_or_empty(ptr noundef %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7, %13, %16 %11 = tail call i64 @chunkline_get_line_collated(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %19, label %7, !llvm.loop !5 13: ; preds = %7 %14 = tail call i64 @http_parse_origin(ptr noundef %2, ptr noundef %3) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %10 16: ; preds = %13 %17 = tail call i64 @http_parse_ttl(ptr noundef %2, ptr noundef %3) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %10 19: ; preds = %16, %10, %4 %20 = phi i32 [ 0, %4 ], [ 0, %10 ], [ 1, %16 ] ret i32 %20 } declare i64 @chunkline_get_line_collated(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @chunkline_is_comment_line_or_empty(ptr noundef) local_unnamed_addr #1 declare i64 @http_parse_origin(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @http_parse_ttl(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_chunkline_non_comment_RR.c' source_filename = "AnghaBench/freebsd/contrib/unbound/services/extr_authzone.c_chunkline_non_comment_RR.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 @chunkline_non_comment_RR], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @chunkline_non_comment_RR(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i64 @chunkline_get_line_collated(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %4, %10 %8 = tail call i64 @chunkline_is_comment_line_or_empty(ptr noundef %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7, %13, %16 %11 = tail call i64 @chunkline_get_line_collated(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %19, label %7, !llvm.loop !6 13: ; preds = %7 %14 = tail call i64 @http_parse_origin(ptr noundef %2, ptr noundef %3) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %10 16: ; preds = %13 %17 = tail call i64 @http_parse_ttl(ptr noundef %2, ptr noundef %3) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %10 19: ; preds = %16, %10, %4 %20 = phi i32 [ 0, %4 ], [ 0, %10 ], [ 1, %16 ] ret i32 %20 } declare i64 @chunkline_get_line_collated(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @chunkline_is_comment_line_or_empty(ptr noundef) local_unnamed_addr #1 declare i64 @http_parse_origin(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @http_parse_ttl(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_services_extr_authzone.c_chunkline_non_comment_RR
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_strscan.c_lj_strscan_scan.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_strscan.c_lj_strscan_scan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { double, i32, i32 } @STRSCAN_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @STRSCAN_NUM = dso_local local_unnamed_addr global i64 0, align 8 @STRSCAN_INT = dso_local local_unnamed_addr global i64 0, align 8 @LJ_CHAR_DIGIT = dso_local local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_C = dso_local local_unnamed_addr global i32 0, align 4 @LJ_CHAR_XDIGIT = dso_local local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_IMAG = dso_local local_unnamed_addr global i32 0, align 4 @STRSCAN_IMAG = dso_local local_unnamed_addr global i64 0, align 8 @STRSCAN_U32 = dso_local local_unnamed_addr global i64 0, align 8 @STRSCAN_I64 = dso_local local_unnamed_addr global i64 0, align 8 @STRSCAN_OPT_LL = dso_local local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_TONUM = dso_local local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_TOINT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @lj_strscan_scan(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_10__, align 8 %5 = load i8, ptr %0, align 1, !tbaa !5 %6 = tail call i64 @lj_char_isdigit(i8 noundef signext %5) #3 %7 = icmp eq i64 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i64 @LJ_UNLIKELY(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %113, label %11 11: ; preds = %3, %11 %12 = phi ptr [ %16, %11 ], [ %0, %3 ] %13 = load i8, ptr %12, align 1, !tbaa !5 %14 = tail call i64 @lj_char_isspace(i8 noundef signext %13) #3 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds i8, ptr %12, i64 1 br i1 %15, label %17, label %11, !llvm.loop !8 17: ; preds = %11 %18 = load i8, ptr %12, align 1, !tbaa !5 switch i8 %18, label %23 [ i8 43, label %19 i8 45, label %19 ] 19: ; preds = %17, %17 %20 = icmp eq i8 %18, 45 %21 = zext i1 %20 to i32 %22 = load i8, ptr %16, align 1, !tbaa !5 br label %23 23: ; preds = %17, %19 %24 = phi i8 [ %22, %19 ], [ %18, %17 ] %25 = phi i32 [ %21, %19 ], [ 0, %17 ] %26 = phi ptr [ %16, %19 ], [ %12, %17 ] %27 = icmp sgt i8 %24, 64 %28 = zext i1 %27 to i32 %29 = tail call i64 @LJ_UNLIKELY(i32 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %113, label %31 31: ; preds = %23 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %32 = call i32 @setnanV(ptr noundef nonnull %4) #3 %33 = load i8, ptr %26, align 1, !tbaa !5 %34 = call i64 @casecmp(i8 noundef signext %33, i8 noundef zeroext 105) #3 %35 = icmp eq i64 %34, 0 br i1 %35, label %79, label %36 36: ; preds = %31 %37 = getelementptr inbounds i8, ptr %26, i64 1 %38 = load i8, ptr %37, align 1, !tbaa !5 %39 = call i64 @casecmp(i8 noundef signext %38, i8 noundef zeroext 110) #3 %40 = icmp eq i64 %39, 0 br i1 %40, label %79, label %41 41: ; preds = %36 %42 = getelementptr inbounds i8, ptr %26, i64 2 %43 = load i8, ptr %42, align 1, !tbaa !5 %44 = call i64 @casecmp(i8 noundef signext %43, i8 noundef zeroext 102) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %79, label %46 46: ; preds = %41 %47 = icmp eq i32 %25, 0 br i1 %47, label %50, label %48 48: ; preds = %46 %49 = call i32 @setminfV(ptr noundef nonnull %4) #3 br label %52 50: ; preds = %46 %51 = call i32 @setpinfV(ptr noundef nonnull %4) #3 br label %52 52: ; preds = %50, %48 %53 = getelementptr inbounds i8, ptr %26, i64 3 %54 = load i8, ptr %53, align 1, !tbaa !5 %55 = call i64 @casecmp(i8 noundef signext %54, i8 noundef zeroext 105) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %95, label %57 57: ; preds = %52 %58 = getelementptr inbounds i8, ptr %26, i64 4 %59 = load i8, ptr %58, align 1, !tbaa !5 %60 = call i64 @casecmp(i8 noundef signext %59, i8 noundef zeroext 110) #3 %61 = icmp eq i64 %60, 0 br i1 %61, label %95, label %62 62: ; preds = %57 %63 = getelementptr inbounds i8, ptr %26, i64 5 %64 = load i8, ptr %63, align 1, !tbaa !5 %65 = call i64 @casecmp(i8 noundef signext %64, i8 noundef zeroext 105) #3 %66 = icmp eq i64 %65, 0 br i1 %66, label %95, label %67 67: ; preds = %62 %68 = getelementptr inbounds i8, ptr %26, i64 6 %69 = load i8, ptr %68, align 1, !tbaa !5 %70 = call i64 @casecmp(i8 noundef signext %69, i8 noundef zeroext 116) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %95, label %72 72: ; preds = %67 %73 = getelementptr inbounds i8, ptr %26, i64 7 %74 = load i8, ptr %73, align 1, !tbaa !5 %75 = call i64 @casecmp(i8 noundef signext %74, i8 noundef zeroext 121) #3 %76 = icmp eq i64 %75, 0 %77 = getelementptr inbounds i8, ptr %26, i64 8 %78 = select i1 %76, ptr %53, ptr %77 br label %95 79: ; preds = %41, %36, %31 %80 = load i8, ptr %26, align 1, !tbaa !5 %81 = call i64 @casecmp(i8 noundef signext %80, i8 noundef zeroext 110) #3 %82 = icmp eq i64 %81, 0 br i1 %82, label %95, label %83 83: ; preds = %79 %84 = getelementptr inbounds i8, ptr %26, i64 1 %85 = load i8, ptr %84, align 1, !tbaa !5 %86 = call i64 @casecmp(i8 noundef signext %85, i8 noundef zeroext 97) #3 %87 = icmp eq i64 %86, 0 br i1 %87, label %95, label %88 88: ; preds = %83 %89 = getelementptr inbounds i8, ptr %26, i64 2 %90 = load i8, ptr %89, align 1, !tbaa !5 %91 = call i64 @casecmp(i8 noundef signext %90, i8 noundef zeroext 110) #3 %92 = icmp eq i64 %91, 0 %93 = select i1 %92, i64 0, i64 3 %94 = getelementptr inbounds i8, ptr %26, i64 %93 br label %95 95: ; preds = %88, %72, %79, %83, %52, %57, %62, %67 %96 = phi ptr [ %94, %88 ], [ %78, %72 ], [ %26, %79 ], [ %26, %83 ], [ %53, %52 ], [ %53, %57 ], [ %53, %62 ], [ %53, %67 ] br label %97 97: ; preds = %95, %97 %98 = phi ptr [ %102, %97 ], [ %96, %95 ] %99 = load i8, ptr %98, align 1, !tbaa !5 %100 = call i64 @lj_char_isspace(i8 noundef signext %99) #3 %101 = icmp eq i64 %100, 0 %102 = getelementptr inbounds i8, ptr %98, i64 1 br i1 %101, label %103, label %97, !llvm.loop !10 103: ; preds = %97 %104 = load i8, ptr %98, align 1, !tbaa !5 %105 = icmp eq i8 %104, 0 br i1 %105, label %106, label %110 106: ; preds = %103 %107 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2 %108 = load i32, ptr %107, align 4, !tbaa !11 %109 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 2 store i32 %108, ptr %109, align 4, !tbaa !11 br label %110 110: ; preds = %103, %106 %111 = phi ptr [ @STRSCAN_NUM, %106 ], [ @STRSCAN_ERROR, %103 ] %112 = load i64, ptr %111, align 8, !tbaa !15 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %457 113: ; preds = %23, %3 %114 = phi i32 [ %25, %23 ], [ 0, %3 ] %115 = phi ptr [ %26, %23 ], [ %0, %3 ] %116 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %117 = load i32, ptr @LJ_CHAR_DIGIT, align 4, !tbaa !17 %118 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !17 %119 = and i32 %118, %2 %120 = icmp eq i32 %119, 0 %121 = load i8, ptr %115, align 1, !tbaa !5 %122 = freeze i8 %121 %123 = icmp eq i8 %122, 48 %124 = select i1 %123, i32 0, i32 10 %125 = select i1 %120, i32 10, i32 %124 %126 = icmp slt i8 %122, 49 %127 = zext i1 %126 to i32 %128 = tail call i64 @LJ_UNLIKELY(i32 noundef %127) #3 %129 = icmp eq i64 %128, 0 br i1 %129, label %165, label %130 130: ; preds = %113 %131 = load i8, ptr %115, align 1, !tbaa !5 %132 = icmp eq i8 %131, 48 br i1 %132, label %133, label %148 133: ; preds = %130 %134 = getelementptr inbounds i8, ptr %115, i64 1 %135 = load i8, ptr %134, align 1, !tbaa !5 %136 = tail call i64 @casecmp(i8 noundef signext %135, i8 noundef zeroext 120) #3 %137 = icmp eq i64 %136, 0 br i1 %137, label %141, label %138 138: ; preds = %133 %139 = load i32, ptr @LJ_CHAR_XDIGIT, align 4, !tbaa !17 %140 = getelementptr inbounds i8, ptr %115, i64 2 br label %148 141: ; preds = %133 %142 = load i8, ptr %134, align 1, !tbaa !5 %143 = tail call i64 @casecmp(i8 noundef signext %142, i8 noundef zeroext 98) #3 %144 = icmp eq i64 %143, 0 br i1 %144, label %148, label %145 145: ; preds = %141 %146 = load i32, ptr @LJ_CHAR_DIGIT, align 4, !tbaa !17 %147 = getelementptr inbounds i8, ptr %115, i64 2 br label %148 148: ; preds = %138, %145, %141, %130 %149 = phi i32 [ %139, %138 ], [ %146, %145 ], [ %117, %141 ], [ %117, %130 ] %150 = phi i32 [ 16, %138 ], [ 2, %145 ], [ %125, %141 ], [ %125, %130 ] %151 = phi ptr [ %140, %138 ], [ %147, %145 ], [ %115, %141 ], [ %115, %130 ] br label %152 152: ; preds = %161, %148 %153 = phi ptr [ null, %148 ], [ %162, %161 ] %154 = phi i32 [ 0, %148 ], [ %163, %161 ] %155 = phi ptr [ %151, %148 ], [ %164, %161 ] %156 = load i8, ptr %155, align 1, !tbaa !5 switch i8 %156, label %165 [ i8 48, label %161 i8 46, label %157 ] 157: ; preds = %152 %158 = icmp eq ptr %153, null br i1 %158, label %161, label %159 159: ; preds = %157 %160 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 161: ; preds = %157, %152 %162 = phi ptr [ %153, %152 ], [ %155, %157 ] %163 = phi i32 [ 1, %152 ], [ %154, %157 ] %164 = getelementptr inbounds i8, ptr %155, i64 1 br label %152 165: ; preds = %152, %113 %166 = phi i32 [ %117, %113 ], [ %149, %152 ] %167 = phi i32 [ %125, %113 ], [ %150, %152 ] %168 = phi ptr [ null, %113 ], [ %153, %152 ] %169 = phi i32 [ 0, %113 ], [ %154, %152 ] %170 = phi ptr [ %115, %113 ], [ %155, %152 ] br label %171 171: ; preds = %194, %165 %172 = phi ptr [ %168, %165 ], [ %195, %194 ] %173 = phi i32 [ 0, %165 ], [ %196, %194 ] %174 = phi i32 [ 0, %165 ], [ %197, %194 ] %175 = phi ptr [ %170, %165 ], [ %198, %194 ] %176 = load i8, ptr %175, align 1, !tbaa !5 %177 = tail call i32 @lj_char_isa(i8 noundef signext %176, i32 noundef %166) #3 %178 = tail call i64 @LJ_LIKELY(i32 noundef %177) #3 %179 = icmp eq i64 %178, 0 br i1 %179, label %187, label %180 180: ; preds = %171 %181 = mul nsw i32 %174, 10 %182 = load i8, ptr %175, align 1, !tbaa !5 %183 = and i8 %182, 15 %184 = zext nneg i8 %183 to i32 %185 = add nsw i32 %181, %184 %186 = add nsw i32 %173, 1 br label %194 187: ; preds = %171 %188 = load i8, ptr %175, align 1, !tbaa !5 %189 = icmp eq i8 %188, 46 br i1 %189, label %190, label %199 190: ; preds = %187 %191 = icmp eq ptr %172, null br i1 %191, label %194, label %192 192: ; preds = %190 %193 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 194: ; preds = %190, %180 %195 = phi ptr [ %172, %180 ], [ %175, %190 ] %196 = phi i32 [ %186, %180 ], [ %173, %190 ] %197 = phi i32 [ %185, %180 ], [ %174, %190 ] %198 = getelementptr inbounds i8, ptr %175, i64 1 br label %171 199: ; preds = %187 %200 = or i32 %173, %169 %201 = icmp eq i32 %200, 0 br i1 %201, label %202, label %204 202: ; preds = %199 %203 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 204: ; preds = %199 %205 = icmp eq ptr %172, null br i1 %205, label %233, label %206 206: ; preds = %204 %207 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !15 %208 = icmp eq i32 %173, 0 br i1 %208, label %233, label %209 209: ; preds = %206 %210 = getelementptr inbounds i8, ptr %175, i64 -1 %211 = ptrtoint ptr %172 to i64 %212 = ptrtoint ptr %210 to i64 %213 = sub i64 %211, %212 %214 = trunc i64 %213 to i32 %215 = icmp slt i32 %214, 0 br i1 %215, label %216, label %227 216: ; preds = %209, %222 %217 = phi i32 [ %224, %222 ], [ %214, %209 ] %218 = phi i32 [ %225, %222 ], [ %173, %209 ] %219 = phi ptr [ %223, %222 ], [ %210, %209 ] %220 = load i8, ptr %219, align 1, !tbaa !5 %221 = icmp eq i8 %220, 48 br i1 %221, label %222, label %227 222: ; preds = %216 %223 = getelementptr inbounds i8, ptr %219, i64 -1 %224 = add nsw i32 %217, 1 %225 = add nsw i32 %218, -1 %226 = icmp slt i32 %217, -1 br i1 %226, label %216, label %227, !llvm.loop !18 227: ; preds = %216, %222, %209 %228 = phi i32 [ %173, %209 ], [ %225, %222 ], [ %218, %216 ] %229 = phi i32 [ %214, %209 ], [ 0, %222 ], [ %217, %216 ] %230 = icmp eq i32 %167, 16 %231 = shl nsw i32 %229, 2 %232 = select i1 %230, i32 %231, i32 %229 br label %233 233: ; preds = %227, %206, %204 %234 = phi i64 [ %207, %206 ], [ %116, %204 ], [ %207, %227 ] %235 = phi i32 [ 0, %206 ], [ %173, %204 ], [ %228, %227 ] %236 = phi i32 [ 0, %206 ], [ 0, %204 ], [ %232, %227 ] %237 = icmp sgt i32 %167, 9 br i1 %237, label %238, label %291 238: ; preds = %233 %239 = icmp eq i32 %167, 16 %240 = select i1 %239, i8 112, i8 101 %241 = tail call i64 @casecmp(i8 noundef signext %188, i8 noundef zeroext %240) #3 %242 = icmp eq i64 %241, 0 br i1 %242, label %291, label %243 243: ; preds = %238 %244 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !15 %245 = getelementptr inbounds i8, ptr %175, i64 1 %246 = load i8, ptr %245, align 1, !tbaa !5 switch i8 %246, label %252 [ i8 43, label %247 i8 45, label %247 ] 247: ; preds = %243, %243 %248 = getelementptr inbounds i8, ptr %175, i64 2 %249 = icmp eq i8 %246, 45 %250 = zext i1 %249 to i32 %251 = load i8, ptr %248, align 1, !tbaa !5 br label %252 252: ; preds = %243, %247 %253 = phi i8 [ %251, %247 ], [ %246, %243 ] %254 = phi i32 [ %250, %247 ], [ 0, %243 ] %255 = phi ptr [ %248, %247 ], [ %245, %243 ] %256 = tail call i64 @lj_char_isdigit(i8 noundef signext %253) #3 %257 = icmp eq i64 %256, 0 br i1 %257, label %258, label %260 258: ; preds = %252 %259 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 260: ; preds = %252 %261 = load i8, ptr %255, align 1, !tbaa !5 %262 = and i8 %261, 15 %263 = zext nneg i8 %262 to i32 %264 = getelementptr inbounds i8, ptr %255, i64 1 %265 = load i8, ptr %264, align 1, !tbaa !5 %266 = tail call i64 @lj_char_isdigit(i8 noundef signext %265) #3 %267 = icmp eq i64 %266, 0 br i1 %267, label %284, label %268 268: ; preds = %260, %278 %269 = phi ptr [ %280, %278 ], [ %264, %260 ] %270 = phi i32 [ %279, %278 ], [ %263, %260 ] %271 = icmp slt i32 %270, 65536 br i1 %271, label %272, label %278 272: ; preds = %268 %273 = mul nsw i32 %270, 10 %274 = load i8, ptr %269, align 1, !tbaa !5 %275 = and i8 %274, 15 %276 = zext nneg i8 %275 to i32 %277 = add nsw i32 %273, %276 br label %278 278: ; preds = %272, %268 %279 = phi i32 [ %277, %272 ], [ %270, %268 ] %280 = getelementptr inbounds i8, ptr %269, i64 1 %281 = load i8, ptr %280, align 1, !tbaa !5 %282 = tail call i64 @lj_char_isdigit(i8 noundef signext %281) #3 %283 = icmp eq i64 %282, 0 br i1 %283, label %284, label %268, !llvm.loop !19 284: ; preds = %278, %260 %285 = phi i32 [ %263, %260 ], [ %279, %278 ] %286 = phi ptr [ %264, %260 ], [ %280, %278 ] %287 = icmp eq i32 %254, 0 %288 = sub nsw i32 0, %285 %289 = select i1 %287, i32 %285, i32 %288 %290 = add nsw i32 %289, %236 br label %291 291: ; preds = %284, %238, %233 %292 = phi i64 [ %244, %284 ], [ %234, %238 ], [ %234, %233 ] %293 = phi i32 [ %290, %284 ], [ %236, %238 ], [ %236, %233 ] %294 = phi ptr [ %286, %284 ], [ %175, %238 ], [ %175, %233 ] %295 = load i8, ptr %294, align 1, !tbaa !5 %296 = icmp eq i8 %295, 0 br i1 %296, label %396, label %297 297: ; preds = %291 %298 = tail call i64 @casecmp(i8 noundef signext %295, i8 noundef zeroext 105) #3 %299 = icmp eq i64 %298, 0 br i1 %299, label %309, label %300 300: ; preds = %297 %301 = load i32, ptr @STRSCAN_OPT_IMAG, align 4, !tbaa !17 %302 = and i32 %301, %2 %303 = icmp eq i32 %302, 0 br i1 %303, label %304, label %306 304: ; preds = %300 %305 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 306: ; preds = %300 %307 = getelementptr inbounds i8, ptr %294, i64 1 %308 = load i64, ptr @STRSCAN_IMAG, align 8, !tbaa !15 br label %382 309: ; preds = %297 %310 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %311 = icmp eq i64 %292, %310 br i1 %311, label %312, label %382 312: ; preds = %309 %313 = load i8, ptr %294, align 1, !tbaa !5 %314 = tail call i64 @casecmp(i8 noundef signext %313, i8 noundef zeroext 117) #3 %315 = icmp ne i64 %314, 0 %316 = load i64, ptr @STRSCAN_U32, align 8 %317 = select i1 %315, i64 %316, i64 %292 %318 = zext i1 %315 to i64 %319 = getelementptr inbounds i8, ptr %294, i64 %318 %320 = load i8, ptr %319, align 1, !tbaa !5 %321 = tail call i64 @casecmp(i8 noundef signext %320, i8 noundef zeroext 108) #3 %322 = icmp eq i64 %321, 0 br i1 %322, label %345, label %323 323: ; preds = %312 %324 = getelementptr inbounds i8, ptr %319, i64 1 %325 = load i8, ptr %324, align 1, !tbaa !5 %326 = tail call i64 @casecmp(i8 noundef signext %325, i8 noundef zeroext 108) #3 %327 = icmp eq i64 %326, 0 br i1 %327, label %334, label %328 328: ; preds = %323 %329 = getelementptr inbounds i8, ptr %319, i64 2 %330 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !15 %331 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %332 = add i64 %330, %317 %333 = sub i64 %332, %331 br label %345 334: ; preds = %323 %335 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !17 %336 = and i32 %335, %2 %337 = icmp eq i32 %336, 0 br i1 %337, label %338, label %340 338: ; preds = %334 %339 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 340: ; preds = %334 %341 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !15 %342 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %343 = add i64 %341, %317 %344 = sub i64 %343, %342 br label %345 345: ; preds = %328, %340, %312 %346 = phi i64 [ %333, %328 ], [ %344, %340 ], [ %317, %312 ] %347 = phi ptr [ %329, %328 ], [ %324, %340 ], [ %319, %312 ] %348 = load i8, ptr %347, align 1, !tbaa !5 %349 = tail call i64 @casecmp(i8 noundef signext %348, i8 noundef zeroext 117) #3 %350 = icmp eq i64 %349, 0 br i1 %350, label %351, label %353 351: ; preds = %345 %352 = load i64, ptr @STRSCAN_U32, align 8, !tbaa !15 br label %364 353: ; preds = %345 %354 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %355 = icmp eq i64 %346, %354 %356 = load i64, ptr @STRSCAN_I64, align 8 %357 = icmp eq i64 %346, %356 %358 = select i1 %355, i1 true, i1 %357 %359 = load i64, ptr @STRSCAN_U32, align 8, !tbaa !15 br i1 %358, label %360, label %364 360: ; preds = %353 %361 = getelementptr inbounds i8, ptr %347, i64 1 %362 = sub i64 %346, %354 %363 = add i64 %362, %359 br label %364 364: ; preds = %351, %353, %360 %365 = phi i64 [ %359, %360 ], [ %352, %351 ], [ %359, %353 ] %366 = phi i64 [ %363, %360 ], [ %346, %351 ], [ %346, %353 ] %367 = phi ptr [ %361, %360 ], [ %347, %351 ], [ %347, %353 ] %368 = icmp eq i64 %366, %365 br i1 %368, label %369, label %373 369: ; preds = %364 %370 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !17 %371 = and i32 %370, %2 %372 = icmp eq i32 %371, 0 br i1 %372, label %380, label %373 373: ; preds = %369, %364 %374 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !15 %375 = icmp slt i64 %366, %374 br i1 %375, label %382, label %376 376: ; preds = %373 %377 = load i32, ptr @STRSCAN_OPT_LL, align 4, !tbaa !17 %378 = and i32 %377, %2 %379 = icmp eq i32 %378, 0 br i1 %379, label %380, label %382 380: ; preds = %376, %369 %381 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 382: ; preds = %309, %376, %373, %306 %383 = phi i64 [ %308, %306 ], [ %366, %376 ], [ %366, %373 ], [ %292, %309 ] %384 = phi ptr [ %307, %306 ], [ %367, %376 ], [ %367, %373 ], [ %294, %309 ] br label %385 385: ; preds = %385, %382 %386 = phi ptr [ %384, %382 ], [ %390, %385 ] %387 = load i8, ptr %386, align 1, !tbaa !5 %388 = tail call i64 @lj_char_isspace(i8 noundef signext %387) #3 %389 = icmp eq i64 %388, 0 %390 = getelementptr inbounds i8, ptr %386, i64 1 br i1 %389, label %391, label %385, !llvm.loop !20 391: ; preds = %385 %392 = load i8, ptr %386, align 1, !tbaa !5 %393 = icmp eq i8 %392, 0 br i1 %393, label %396, label %394 394: ; preds = %391 %395 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !15 br label %457 396: ; preds = %391, %291 %397 = phi i64 [ %383, %391 ], [ %292, %291 ] %398 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 %399 = icmp eq i64 %397, %398 %400 = icmp eq i32 %167, 10 %401 = and i1 %400, %399 br i1 %401, label %402, label %424 402: ; preds = %396 %403 = icmp slt i32 %235, 10 br i1 %403, label %412, label %404 404: ; preds = %402 %405 = icmp eq i32 %235, 10 br i1 %405, label %406, label %424 406: ; preds = %404 %407 = load i8, ptr %170, align 1, !tbaa !5 %408 = icmp slt i8 %407, 51 %409 = or i32 %114, -2147483648 %410 = icmp ult i32 %174, %409 %411 = select i1 %408, i1 %410, i1 false br i1 %411, label %412, label %424 412: ; preds = %406, %402 %413 = icmp eq i32 %114, 0 %414 = sub nsw i32 0, %174 %415 = select i1 %413, i32 %174, i32 %414 %416 = load i32, ptr @STRSCAN_OPT_TONUM, align 4, !tbaa !17 %417 = and i32 %416, %2 %418 = icmp eq i32 %417, 0 br i1 %418, label %422, label %419 419: ; preds = %412 %420 = sitofp i32 %415 to double store double %420, ptr %1, align 8, !tbaa !21 %421 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !15 br label %457 422: ; preds = %412 %423 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1 store i32 %415, ptr %423, align 8, !tbaa !22 br label %457 424: ; preds = %406, %404, %396 %425 = icmp ne i32 %167, 0 %426 = load i64, ptr @STRSCAN_NUM, align 8 %427 = icmp eq i64 %397, %426 %428 = select i1 %425, i1 true, i1 %427 %429 = load i64, ptr @STRSCAN_IMAG, align 8 %430 = icmp eq i64 %397, %429 %431 = select i1 %428, i1 true, i1 %430 br i1 %431, label %434, label %432 432: ; preds = %424 %433 = tail call i64 @strscan_oct(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %114, i32 noundef %235) #3 br label %457 434: ; preds = %424 switch i32 %167, label %439 [ i32 16, label %435 i32 2, label %437 ] 435: ; preds = %434 %436 = tail call i64 @strscan_hex(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 437: ; preds = %434 %438 = tail call i64 @strscan_bin(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 439: ; preds = %434 %440 = tail call i64 @strscan_dec(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 441: ; preds = %437, %439, %435 %442 = phi i64 [ %436, %435 ], [ %438, %437 ], [ %440, %439 ] %443 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !15 %444 = icmp eq i64 %442, %443 br i1 %444, label %445, label %457 445: ; preds = %441 %446 = load i32, ptr @STRSCAN_OPT_TOINT, align 4, !tbaa !17 %447 = and i32 %446, %2 %448 = icmp eq i32 %447, 0 br i1 %448, label %457, label %449 449: ; preds = %445 %450 = load double, ptr %1, align 8, !tbaa !21 %451 = tail call i32 @lj_num2int(double noundef %450) #3 %452 = sitofp i32 %451 to double %453 = fcmp une double %450, %452 br i1 %453, label %457, label %454 454: ; preds = %449 %455 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1 store i32 %451, ptr %455, align 8, !tbaa !22 %456 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !15 br label %457 457: ; preds = %419, %422, %449, %441, %445, %454, %258, %159, %192, %202, %304, %338, %380, %394, %432, %110 %458 = phi i64 [ %112, %110 ], [ %160, %159 ], [ %193, %192 ], [ %395, %394 ], [ %456, %454 ], [ %433, %432 ], [ %305, %304 ], [ %381, %380 ], [ %339, %338 ], [ %203, %202 ], [ %259, %258 ], [ %442, %445 ], [ %442, %441 ], [ %442, %449 ], [ %421, %419 ], [ %397, %422 ] ret i64 %458 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @LJ_UNLIKELY(i32 noundef) local_unnamed_addr #2 declare i64 @lj_char_isdigit(i8 noundef signext) local_unnamed_addr #2 declare i64 @lj_char_isspace(i8 noundef signext) local_unnamed_addr #2 declare i32 @setnanV(ptr noundef) local_unnamed_addr #2 declare i64 @casecmp(i8 noundef signext, i8 noundef zeroext) local_unnamed_addr #2 declare i32 @setminfV(ptr noundef) local_unnamed_addr #2 declare i32 @setpinfV(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @LJ_LIKELY(i32 noundef) local_unnamed_addr #2 declare i32 @lj_char_isa(i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_oct(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_hex(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_bin(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_dec(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lj_num2int(double noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9} !11 = !{!12, !14, i64 12} !12 = !{!"TYPE_10__", !13, i64 0, !14, i64 8, !14, i64 12} !13 = !{!"double", !6, i64 0} !14 = !{!"int", !6, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !6, i64 0} !17 = !{!14, !14, i64 0} !18 = distinct !{!18, !9} !19 = distinct !{!19, !9} !20 = distinct !{!20, !9} !21 = !{!12, !13, i64 0} !22 = !{!12, !14, i64 8}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_strscan.c_lj_strscan_scan.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_strscan.c_lj_strscan_scan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { double, i32, i32 } @STRSCAN_ERROR = common local_unnamed_addr global i64 0, align 8 @STRSCAN_NUM = common local_unnamed_addr global i64 0, align 8 @STRSCAN_INT = common local_unnamed_addr global i64 0, align 8 @LJ_CHAR_DIGIT = common local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_C = common local_unnamed_addr global i32 0, align 4 @LJ_CHAR_XDIGIT = common local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_IMAG = common local_unnamed_addr global i32 0, align 4 @STRSCAN_IMAG = common local_unnamed_addr global i64 0, align 8 @STRSCAN_U32 = common local_unnamed_addr global i64 0, align 8 @STRSCAN_I64 = common local_unnamed_addr global i64 0, align 8 @STRSCAN_OPT_LL = common local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_TONUM = common local_unnamed_addr global i32 0, align 4 @STRSCAN_OPT_TOINT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @lj_strscan_scan(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_10__, align 8 %5 = load i8, ptr %0, align 1, !tbaa !6 %6 = tail call i64 @lj_char_isdigit(i8 noundef signext %5) #3 %7 = icmp eq i64 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i64 @LJ_UNLIKELY(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %113, label %11 11: ; preds = %3, %11 %12 = phi ptr [ %16, %11 ], [ %0, %3 ] %13 = load i8, ptr %12, align 1, !tbaa !6 %14 = tail call i64 @lj_char_isspace(i8 noundef signext %13) #3 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds i8, ptr %12, i64 1 br i1 %15, label %17, label %11, !llvm.loop !9 17: ; preds = %11 %18 = load i8, ptr %12, align 1, !tbaa !6 switch i8 %18, label %23 [ i8 43, label %19 i8 45, label %19 ] 19: ; preds = %17, %17 %20 = icmp eq i8 %18, 45 %21 = zext i1 %20 to i32 %22 = load i8, ptr %16, align 1, !tbaa !6 br label %23 23: ; preds = %17, %19 %24 = phi i8 [ %22, %19 ], [ %18, %17 ] %25 = phi i32 [ %21, %19 ], [ 0, %17 ] %26 = phi ptr [ %16, %19 ], [ %12, %17 ] %27 = icmp sgt i8 %24, 64 %28 = zext i1 %27 to i32 %29 = tail call i64 @LJ_UNLIKELY(i32 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %113, label %31 31: ; preds = %23 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %32 = call i32 @setnanV(ptr noundef nonnull %4) #3 %33 = load i8, ptr %26, align 1, !tbaa !6 %34 = call i64 @casecmp(i8 noundef signext %33, i8 noundef zeroext 105) #3 %35 = icmp eq i64 %34, 0 br i1 %35, label %79, label %36 36: ; preds = %31 %37 = getelementptr inbounds i8, ptr %26, i64 1 %38 = load i8, ptr %37, align 1, !tbaa !6 %39 = call i64 @casecmp(i8 noundef signext %38, i8 noundef zeroext 110) #3 %40 = icmp eq i64 %39, 0 br i1 %40, label %79, label %41 41: ; preds = %36 %42 = getelementptr inbounds i8, ptr %26, i64 2 %43 = load i8, ptr %42, align 1, !tbaa !6 %44 = call i64 @casecmp(i8 noundef signext %43, i8 noundef zeroext 102) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %79, label %46 46: ; preds = %41 %47 = icmp eq i32 %25, 0 br i1 %47, label %50, label %48 48: ; preds = %46 %49 = call i32 @setminfV(ptr noundef nonnull %4) #3 br label %52 50: ; preds = %46 %51 = call i32 @setpinfV(ptr noundef nonnull %4) #3 br label %52 52: ; preds = %50, %48 %53 = getelementptr inbounds i8, ptr %26, i64 3 %54 = load i8, ptr %53, align 1, !tbaa !6 %55 = call i64 @casecmp(i8 noundef signext %54, i8 noundef zeroext 105) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %95, label %57 57: ; preds = %52 %58 = getelementptr inbounds i8, ptr %26, i64 4 %59 = load i8, ptr %58, align 1, !tbaa !6 %60 = call i64 @casecmp(i8 noundef signext %59, i8 noundef zeroext 110) #3 %61 = icmp eq i64 %60, 0 br i1 %61, label %95, label %62 62: ; preds = %57 %63 = getelementptr inbounds i8, ptr %26, i64 5 %64 = load i8, ptr %63, align 1, !tbaa !6 %65 = call i64 @casecmp(i8 noundef signext %64, i8 noundef zeroext 105) #3 %66 = icmp eq i64 %65, 0 br i1 %66, label %95, label %67 67: ; preds = %62 %68 = getelementptr inbounds i8, ptr %26, i64 6 %69 = load i8, ptr %68, align 1, !tbaa !6 %70 = call i64 @casecmp(i8 noundef signext %69, i8 noundef zeroext 116) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %95, label %72 72: ; preds = %67 %73 = getelementptr inbounds i8, ptr %26, i64 7 %74 = load i8, ptr %73, align 1, !tbaa !6 %75 = call i64 @casecmp(i8 noundef signext %74, i8 noundef zeroext 121) #3 %76 = icmp eq i64 %75, 0 %77 = getelementptr inbounds i8, ptr %26, i64 8 %78 = select i1 %76, ptr %53, ptr %77 br label %95 79: ; preds = %41, %36, %31 %80 = load i8, ptr %26, align 1, !tbaa !6 %81 = call i64 @casecmp(i8 noundef signext %80, i8 noundef zeroext 110) #3 %82 = icmp eq i64 %81, 0 br i1 %82, label %95, label %83 83: ; preds = %79 %84 = getelementptr inbounds i8, ptr %26, i64 1 %85 = load i8, ptr %84, align 1, !tbaa !6 %86 = call i64 @casecmp(i8 noundef signext %85, i8 noundef zeroext 97) #3 %87 = icmp eq i64 %86, 0 br i1 %87, label %95, label %88 88: ; preds = %83 %89 = getelementptr inbounds i8, ptr %26, i64 2 %90 = load i8, ptr %89, align 1, !tbaa !6 %91 = call i64 @casecmp(i8 noundef signext %90, i8 noundef zeroext 110) #3 %92 = icmp eq i64 %91, 0 %93 = select i1 %92, i64 0, i64 3 %94 = getelementptr inbounds i8, ptr %26, i64 %93 br label %95 95: ; preds = %88, %72, %79, %83, %52, %57, %62, %67 %96 = phi ptr [ %94, %88 ], [ %78, %72 ], [ %26, %79 ], [ %26, %83 ], [ %53, %52 ], [ %53, %57 ], [ %53, %62 ], [ %53, %67 ] br label %97 97: ; preds = %95, %97 %98 = phi ptr [ %102, %97 ], [ %96, %95 ] %99 = load i8, ptr %98, align 1, !tbaa !6 %100 = call i64 @lj_char_isspace(i8 noundef signext %99) #3 %101 = icmp eq i64 %100, 0 %102 = getelementptr inbounds i8, ptr %98, i64 1 br i1 %101, label %103, label %97, !llvm.loop !11 103: ; preds = %97 %104 = load i8, ptr %98, align 1, !tbaa !6 %105 = icmp eq i8 %104, 0 br i1 %105, label %106, label %110 106: ; preds = %103 %107 = getelementptr inbounds i8, ptr %4, i64 12 %108 = load i32, ptr %107, align 4, !tbaa !12 %109 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %108, ptr %109, align 4, !tbaa !12 br label %110 110: ; preds = %103, %106 %111 = phi ptr [ @STRSCAN_NUM, %106 ], [ @STRSCAN_ERROR, %103 ] %112 = load i64, ptr %111, align 8, !tbaa !16 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %457 113: ; preds = %23, %3 %114 = phi i32 [ %25, %23 ], [ 0, %3 ] %115 = phi ptr [ %26, %23 ], [ %0, %3 ] %116 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %117 = load i32, ptr @LJ_CHAR_DIGIT, align 4, !tbaa !18 %118 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !18 %119 = and i32 %118, %2 %120 = icmp eq i32 %119, 0 %121 = load i8, ptr %115, align 1, !tbaa !6 %122 = freeze i8 %121 %123 = icmp eq i8 %122, 48 %124 = select i1 %123, i32 0, i32 10 %125 = select i1 %120, i32 10, i32 %124 %126 = icmp slt i8 %122, 49 %127 = zext i1 %126 to i32 %128 = tail call i64 @LJ_UNLIKELY(i32 noundef %127) #3 %129 = icmp eq i64 %128, 0 br i1 %129, label %165, label %130 130: ; preds = %113 %131 = load i8, ptr %115, align 1, !tbaa !6 %132 = icmp eq i8 %131, 48 br i1 %132, label %133, label %148 133: ; preds = %130 %134 = getelementptr inbounds i8, ptr %115, i64 1 %135 = load i8, ptr %134, align 1, !tbaa !6 %136 = tail call i64 @casecmp(i8 noundef signext %135, i8 noundef zeroext 120) #3 %137 = icmp eq i64 %136, 0 br i1 %137, label %141, label %138 138: ; preds = %133 %139 = load i32, ptr @LJ_CHAR_XDIGIT, align 4, !tbaa !18 %140 = getelementptr inbounds i8, ptr %115, i64 2 br label %148 141: ; preds = %133 %142 = load i8, ptr %134, align 1, !tbaa !6 %143 = tail call i64 @casecmp(i8 noundef signext %142, i8 noundef zeroext 98) #3 %144 = icmp eq i64 %143, 0 br i1 %144, label %148, label %145 145: ; preds = %141 %146 = load i32, ptr @LJ_CHAR_DIGIT, align 4, !tbaa !18 %147 = getelementptr inbounds i8, ptr %115, i64 2 br label %148 148: ; preds = %138, %145, %141, %130 %149 = phi i32 [ %139, %138 ], [ %146, %145 ], [ %117, %141 ], [ %117, %130 ] %150 = phi i32 [ 16, %138 ], [ 2, %145 ], [ %125, %141 ], [ %125, %130 ] %151 = phi ptr [ %140, %138 ], [ %147, %145 ], [ %115, %141 ], [ %115, %130 ] br label %152 152: ; preds = %161, %148 %153 = phi ptr [ null, %148 ], [ %162, %161 ] %154 = phi i32 [ 0, %148 ], [ %163, %161 ] %155 = phi ptr [ %151, %148 ], [ %164, %161 ] %156 = load i8, ptr %155, align 1, !tbaa !6 switch i8 %156, label %165 [ i8 48, label %161 i8 46, label %157 ] 157: ; preds = %152 %158 = icmp eq ptr %153, null br i1 %158, label %161, label %159 159: ; preds = %157 %160 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 161: ; preds = %157, %152 %162 = phi ptr [ %153, %152 ], [ %155, %157 ] %163 = phi i32 [ 1, %152 ], [ %154, %157 ] %164 = getelementptr inbounds i8, ptr %155, i64 1 br label %152 165: ; preds = %152, %113 %166 = phi i32 [ %117, %113 ], [ %149, %152 ] %167 = phi i32 [ %125, %113 ], [ %150, %152 ] %168 = phi ptr [ null, %113 ], [ %153, %152 ] %169 = phi i32 [ 0, %113 ], [ %154, %152 ] %170 = phi ptr [ %115, %113 ], [ %155, %152 ] br label %171 171: ; preds = %194, %165 %172 = phi ptr [ %168, %165 ], [ %195, %194 ] %173 = phi i32 [ 0, %165 ], [ %196, %194 ] %174 = phi i32 [ 0, %165 ], [ %197, %194 ] %175 = phi ptr [ %170, %165 ], [ %198, %194 ] %176 = load i8, ptr %175, align 1, !tbaa !6 %177 = tail call i32 @lj_char_isa(i8 noundef signext %176, i32 noundef %166) #3 %178 = tail call i64 @LJ_LIKELY(i32 noundef %177) #3 %179 = icmp eq i64 %178, 0 br i1 %179, label %187, label %180 180: ; preds = %171 %181 = mul nsw i32 %174, 10 %182 = load i8, ptr %175, align 1, !tbaa !6 %183 = and i8 %182, 15 %184 = zext nneg i8 %183 to i32 %185 = add nsw i32 %181, %184 %186 = add nsw i32 %173, 1 br label %194 187: ; preds = %171 %188 = load i8, ptr %175, align 1, !tbaa !6 %189 = icmp eq i8 %188, 46 br i1 %189, label %190, label %199 190: ; preds = %187 %191 = icmp eq ptr %172, null br i1 %191, label %194, label %192 192: ; preds = %190 %193 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 194: ; preds = %190, %180 %195 = phi ptr [ %172, %180 ], [ %175, %190 ] %196 = phi i32 [ %186, %180 ], [ %173, %190 ] %197 = phi i32 [ %185, %180 ], [ %174, %190 ] %198 = getelementptr inbounds i8, ptr %175, i64 1 br label %171 199: ; preds = %187 %200 = or i32 %173, %169 %201 = icmp eq i32 %200, 0 br i1 %201, label %202, label %204 202: ; preds = %199 %203 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 204: ; preds = %199 %205 = icmp eq ptr %172, null br i1 %205, label %233, label %206 206: ; preds = %204 %207 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !16 %208 = icmp eq i32 %173, 0 br i1 %208, label %233, label %209 209: ; preds = %206 %210 = getelementptr inbounds i8, ptr %175, i64 -1 %211 = ptrtoint ptr %172 to i64 %212 = ptrtoint ptr %210 to i64 %213 = sub i64 %211, %212 %214 = trunc i64 %213 to i32 %215 = icmp slt i32 %214, 0 br i1 %215, label %216, label %227 216: ; preds = %209, %222 %217 = phi i32 [ %224, %222 ], [ %214, %209 ] %218 = phi i32 [ %225, %222 ], [ %173, %209 ] %219 = phi ptr [ %223, %222 ], [ %210, %209 ] %220 = load i8, ptr %219, align 1, !tbaa !6 %221 = icmp eq i8 %220, 48 br i1 %221, label %222, label %227 222: ; preds = %216 %223 = getelementptr inbounds i8, ptr %219, i64 -1 %224 = add nuw nsw i32 %217, 1 %225 = add nsw i32 %218, -1 %226 = icmp slt i32 %217, -1 br i1 %226, label %216, label %227, !llvm.loop !19 227: ; preds = %216, %222, %209 %228 = phi i32 [ %173, %209 ], [ %225, %222 ], [ %218, %216 ] %229 = phi i32 [ %214, %209 ], [ 0, %222 ], [ %217, %216 ] %230 = icmp eq i32 %167, 16 %231 = shl nsw i32 %229, 2 %232 = select i1 %230, i32 %231, i32 %229 br label %233 233: ; preds = %227, %206, %204 %234 = phi i64 [ %207, %206 ], [ %116, %204 ], [ %207, %227 ] %235 = phi i32 [ 0, %206 ], [ %173, %204 ], [ %228, %227 ] %236 = phi i32 [ 0, %206 ], [ 0, %204 ], [ %232, %227 ] %237 = icmp sgt i32 %167, 9 br i1 %237, label %238, label %291 238: ; preds = %233 %239 = icmp eq i32 %167, 16 %240 = select i1 %239, i8 112, i8 101 %241 = tail call i64 @casecmp(i8 noundef signext %188, i8 noundef zeroext %240) #3 %242 = icmp eq i64 %241, 0 br i1 %242, label %291, label %243 243: ; preds = %238 %244 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !16 %245 = getelementptr inbounds i8, ptr %175, i64 1 %246 = load i8, ptr %245, align 1, !tbaa !6 switch i8 %246, label %252 [ i8 43, label %247 i8 45, label %247 ] 247: ; preds = %243, %243 %248 = getelementptr inbounds i8, ptr %175, i64 2 %249 = icmp eq i8 %246, 45 %250 = zext i1 %249 to i32 %251 = load i8, ptr %248, align 1, !tbaa !6 br label %252 252: ; preds = %243, %247 %253 = phi i8 [ %251, %247 ], [ %246, %243 ] %254 = phi i32 [ %250, %247 ], [ 0, %243 ] %255 = phi ptr [ %248, %247 ], [ %245, %243 ] %256 = tail call i64 @lj_char_isdigit(i8 noundef signext %253) #3 %257 = icmp eq i64 %256, 0 br i1 %257, label %258, label %260 258: ; preds = %252 %259 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 260: ; preds = %252 %261 = load i8, ptr %255, align 1, !tbaa !6 %262 = and i8 %261, 15 %263 = zext nneg i8 %262 to i32 %264 = getelementptr inbounds i8, ptr %255, i64 1 %265 = load i8, ptr %264, align 1, !tbaa !6 %266 = tail call i64 @lj_char_isdigit(i8 noundef signext %265) #3 %267 = icmp eq i64 %266, 0 br i1 %267, label %284, label %268 268: ; preds = %260, %278 %269 = phi ptr [ %280, %278 ], [ %264, %260 ] %270 = phi i32 [ %279, %278 ], [ %263, %260 ] %271 = icmp slt i32 %270, 65536 br i1 %271, label %272, label %278 272: ; preds = %268 %273 = mul nsw i32 %270, 10 %274 = load i8, ptr %269, align 1, !tbaa !6 %275 = and i8 %274, 15 %276 = zext nneg i8 %275 to i32 %277 = add nsw i32 %273, %276 br label %278 278: ; preds = %272, %268 %279 = phi i32 [ %277, %272 ], [ %270, %268 ] %280 = getelementptr inbounds i8, ptr %269, i64 1 %281 = load i8, ptr %280, align 1, !tbaa !6 %282 = tail call i64 @lj_char_isdigit(i8 noundef signext %281) #3 %283 = icmp eq i64 %282, 0 br i1 %283, label %284, label %268, !llvm.loop !20 284: ; preds = %278, %260 %285 = phi i32 [ %263, %260 ], [ %279, %278 ] %286 = phi ptr [ %264, %260 ], [ %280, %278 ] %287 = icmp eq i32 %254, 0 %288 = sub nsw i32 0, %285 %289 = select i1 %287, i32 %285, i32 %288 %290 = add nsw i32 %289, %236 br label %291 291: ; preds = %284, %238, %233 %292 = phi i64 [ %244, %284 ], [ %234, %238 ], [ %234, %233 ] %293 = phi i32 [ %290, %284 ], [ %236, %238 ], [ %236, %233 ] %294 = phi ptr [ %286, %284 ], [ %175, %238 ], [ %175, %233 ] %295 = load i8, ptr %294, align 1, !tbaa !6 %296 = icmp eq i8 %295, 0 br i1 %296, label %396, label %297 297: ; preds = %291 %298 = tail call i64 @casecmp(i8 noundef signext %295, i8 noundef zeroext 105) #3 %299 = icmp eq i64 %298, 0 br i1 %299, label %309, label %300 300: ; preds = %297 %301 = load i32, ptr @STRSCAN_OPT_IMAG, align 4, !tbaa !18 %302 = and i32 %301, %2 %303 = icmp eq i32 %302, 0 br i1 %303, label %304, label %306 304: ; preds = %300 %305 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 306: ; preds = %300 %307 = getelementptr inbounds i8, ptr %294, i64 1 %308 = load i64, ptr @STRSCAN_IMAG, align 8, !tbaa !16 br label %382 309: ; preds = %297 %310 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %311 = icmp eq i64 %292, %310 br i1 %311, label %312, label %382 312: ; preds = %309 %313 = load i8, ptr %294, align 1, !tbaa !6 %314 = tail call i64 @casecmp(i8 noundef signext %313, i8 noundef zeroext 117) #3 %315 = icmp ne i64 %314, 0 %316 = load i64, ptr @STRSCAN_U32, align 8 %317 = select i1 %315, i64 %316, i64 %292 %318 = zext i1 %315 to i64 %319 = getelementptr inbounds i8, ptr %294, i64 %318 %320 = load i8, ptr %319, align 1, !tbaa !6 %321 = tail call i64 @casecmp(i8 noundef signext %320, i8 noundef zeroext 108) #3 %322 = icmp eq i64 %321, 0 br i1 %322, label %345, label %323 323: ; preds = %312 %324 = getelementptr inbounds i8, ptr %319, i64 1 %325 = load i8, ptr %324, align 1, !tbaa !6 %326 = tail call i64 @casecmp(i8 noundef signext %325, i8 noundef zeroext 108) #3 %327 = icmp eq i64 %326, 0 br i1 %327, label %334, label %328 328: ; preds = %323 %329 = getelementptr inbounds i8, ptr %319, i64 2 %330 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !16 %331 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %332 = add i64 %330, %317 %333 = sub i64 %332, %331 br label %345 334: ; preds = %323 %335 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !18 %336 = and i32 %335, %2 %337 = icmp eq i32 %336, 0 br i1 %337, label %338, label %340 338: ; preds = %334 %339 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 340: ; preds = %334 %341 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !16 %342 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %343 = add i64 %341, %317 %344 = sub i64 %343, %342 br label %345 345: ; preds = %328, %340, %312 %346 = phi i64 [ %333, %328 ], [ %344, %340 ], [ %317, %312 ] %347 = phi ptr [ %329, %328 ], [ %324, %340 ], [ %319, %312 ] %348 = load i8, ptr %347, align 1, !tbaa !6 %349 = tail call i64 @casecmp(i8 noundef signext %348, i8 noundef zeroext 117) #3 %350 = icmp eq i64 %349, 0 br i1 %350, label %351, label %353 351: ; preds = %345 %352 = load i64, ptr @STRSCAN_U32, align 8, !tbaa !16 br label %364 353: ; preds = %345 %354 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %355 = icmp eq i64 %346, %354 %356 = load i64, ptr @STRSCAN_I64, align 8 %357 = icmp eq i64 %346, %356 %358 = select i1 %355, i1 true, i1 %357 %359 = load i64, ptr @STRSCAN_U32, align 8, !tbaa !16 br i1 %358, label %360, label %364 360: ; preds = %353 %361 = getelementptr inbounds i8, ptr %347, i64 1 %362 = sub i64 %346, %354 %363 = add i64 %362, %359 br label %364 364: ; preds = %351, %353, %360 %365 = phi i64 [ %359, %360 ], [ %352, %351 ], [ %359, %353 ] %366 = phi i64 [ %363, %360 ], [ %346, %351 ], [ %346, %353 ] %367 = phi ptr [ %361, %360 ], [ %347, %351 ], [ %347, %353 ] %368 = icmp eq i64 %366, %365 br i1 %368, label %369, label %373 369: ; preds = %364 %370 = load i32, ptr @STRSCAN_OPT_C, align 4, !tbaa !18 %371 = and i32 %370, %2 %372 = icmp eq i32 %371, 0 br i1 %372, label %380, label %373 373: ; preds = %369, %364 %374 = load i64, ptr @STRSCAN_I64, align 8, !tbaa !16 %375 = icmp slt i64 %366, %374 br i1 %375, label %382, label %376 376: ; preds = %373 %377 = load i32, ptr @STRSCAN_OPT_LL, align 4, !tbaa !18 %378 = and i32 %377, %2 %379 = icmp eq i32 %378, 0 br i1 %379, label %380, label %382 380: ; preds = %376, %369 %381 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 382: ; preds = %309, %376, %373, %306 %383 = phi i64 [ %308, %306 ], [ %366, %376 ], [ %366, %373 ], [ %292, %309 ] %384 = phi ptr [ %307, %306 ], [ %367, %376 ], [ %367, %373 ], [ %294, %309 ] br label %385 385: ; preds = %385, %382 %386 = phi ptr [ %384, %382 ], [ %390, %385 ] %387 = load i8, ptr %386, align 1, !tbaa !6 %388 = tail call i64 @lj_char_isspace(i8 noundef signext %387) #3 %389 = icmp eq i64 %388, 0 %390 = getelementptr inbounds i8, ptr %386, i64 1 br i1 %389, label %391, label %385, !llvm.loop !21 391: ; preds = %385 %392 = load i8, ptr %386, align 1, !tbaa !6 %393 = icmp eq i8 %392, 0 br i1 %393, label %396, label %394 394: ; preds = %391 %395 = load i64, ptr @STRSCAN_ERROR, align 8, !tbaa !16 br label %457 396: ; preds = %391, %291 %397 = phi i64 [ %383, %391 ], [ %292, %291 ] %398 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 %399 = icmp eq i64 %397, %398 %400 = icmp eq i32 %167, 10 %401 = and i1 %400, %399 br i1 %401, label %402, label %424 402: ; preds = %396 %403 = icmp slt i32 %235, 10 br i1 %403, label %412, label %404 404: ; preds = %402 %405 = icmp eq i32 %235, 10 br i1 %405, label %406, label %424 406: ; preds = %404 %407 = load i8, ptr %170, align 1, !tbaa !6 %408 = icmp slt i8 %407, 51 %409 = or i32 %114, -2147483648 %410 = icmp ult i32 %174, %409 %411 = select i1 %408, i1 %410, i1 false br i1 %411, label %412, label %424 412: ; preds = %406, %402 %413 = icmp eq i32 %114, 0 %414 = sub nsw i32 0, %174 %415 = select i1 %413, i32 %174, i32 %414 %416 = load i32, ptr @STRSCAN_OPT_TONUM, align 4, !tbaa !18 %417 = and i32 %416, %2 %418 = icmp eq i32 %417, 0 br i1 %418, label %422, label %419 419: ; preds = %412 %420 = sitofp i32 %415 to double store double %420, ptr %1, align 8, !tbaa !22 %421 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !16 br label %457 422: ; preds = %412 %423 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %415, ptr %423, align 8, !tbaa !23 br label %457 424: ; preds = %406, %404, %396 %425 = icmp ne i32 %167, 0 %426 = load i64, ptr @STRSCAN_NUM, align 8 %427 = icmp eq i64 %397, %426 %428 = select i1 %425, i1 true, i1 %427 %429 = load i64, ptr @STRSCAN_IMAG, align 8 %430 = icmp eq i64 %397, %429 %431 = select i1 %428, i1 true, i1 %430 br i1 %431, label %434, label %432 432: ; preds = %424 %433 = tail call i64 @strscan_oct(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %114, i32 noundef %235) #3 br label %457 434: ; preds = %424 switch i32 %167, label %439 [ i32 16, label %435 i32 2, label %437 ] 435: ; preds = %434 %436 = tail call i64 @strscan_hex(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 437: ; preds = %434 %438 = tail call i64 @strscan_bin(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 439: ; preds = %434 %440 = tail call i64 @strscan_dec(ptr noundef nonnull %170, ptr noundef %1, i64 noundef %397, i32 noundef %2, i32 noundef %293, i32 noundef %114, i32 noundef %235) #3 br label %441 441: ; preds = %437, %439, %435 %442 = phi i64 [ %436, %435 ], [ %438, %437 ], [ %440, %439 ] %443 = load i64, ptr @STRSCAN_NUM, align 8, !tbaa !16 %444 = icmp eq i64 %442, %443 br i1 %444, label %445, label %457 445: ; preds = %441 %446 = load i32, ptr @STRSCAN_OPT_TOINT, align 4, !tbaa !18 %447 = and i32 %446, %2 %448 = icmp eq i32 %447, 0 br i1 %448, label %457, label %449 449: ; preds = %445 %450 = load double, ptr %1, align 8, !tbaa !22 %451 = tail call i32 @lj_num2int(double noundef %450) #3 %452 = sitofp i32 %451 to double %453 = fcmp une double %450, %452 br i1 %453, label %457, label %454 454: ; preds = %449 %455 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %451, ptr %455, align 8, !tbaa !23 %456 = load i64, ptr @STRSCAN_INT, align 8, !tbaa !16 br label %457 457: ; preds = %419, %422, %449, %441, %445, %454, %258, %159, %192, %202, %304, %338, %380, %394, %432, %110 %458 = phi i64 [ %112, %110 ], [ %160, %159 ], [ %193, %192 ], [ %395, %394 ], [ %456, %454 ], [ %433, %432 ], [ %305, %304 ], [ %381, %380 ], [ %339, %338 ], [ %203, %202 ], [ %259, %258 ], [ %442, %445 ], [ %442, %441 ], [ %442, %449 ], [ %421, %419 ], [ %397, %422 ] ret i64 %458 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @LJ_UNLIKELY(i32 noundef) local_unnamed_addr #2 declare i64 @lj_char_isdigit(i8 noundef signext) local_unnamed_addr #2 declare i64 @lj_char_isspace(i8 noundef signext) local_unnamed_addr #2 declare i32 @setnanV(ptr noundef) local_unnamed_addr #2 declare i64 @casecmp(i8 noundef signext, i8 noundef zeroext) local_unnamed_addr #2 declare i32 @setminfV(ptr noundef) local_unnamed_addr #2 declare i32 @setpinfV(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @LJ_LIKELY(i32 noundef) local_unnamed_addr #2 declare i32 @lj_char_isa(i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_oct(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_hex(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_bin(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @strscan_dec(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lj_num2int(double noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10} !12 = !{!13, !15, i64 12} !13 = !{!"TYPE_10__", !14, i64 0, !15, i64 8, !15, i64 12} !14 = !{!"double", !7, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !7, i64 0} !18 = !{!15, !15, i64 0} !19 = distinct !{!19, !10} !20 = distinct !{!20, !10} !21 = distinct !{!21, !10} !22 = !{!13, !14, i64 0} !23 = !{!13, !15, i64 8}
xLua_build_luajit-2.1.0b3_src_extr_lj_strscan.c_lj_strscan_scan
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_qgroup.c_btrfs_qgroup_trace_extent.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_qgroup.c_btrfs_qgroup_trace_extent.c" target datalayout = "e-m:e-p270:32:32-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.btrfs_trans_handle = type { ptr, ptr } %struct.btrfs_qgroup_extent_record = type { ptr, i64, i64 } @BTRFS_FS_QUOTA_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @btrfs_qgroup_trace_extent(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.btrfs_trans_handle, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr @BTRFS_FS_QUOTA_ENABLED, align 4, !tbaa !10 %8 = tail call i32 @test_bit(i32 noundef %7, ptr noundef %6) #2 %9 = icmp eq i32 %8, 0 %10 = icmp eq i64 %1, 0 %11 = or i1 %10, %9 %12 = icmp eq i64 %2, 0 %13 = or i1 %12, %11 br i1 %13, label %32, label %14 14: ; preds = %4 %15 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %3) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %19 = sub nsw i32 0, %18 br label %32 20: ; preds = %14 %21 = load ptr, ptr %0, align 8, !tbaa !12 %22 = getelementptr inbounds %struct.btrfs_qgroup_extent_record, ptr %15, i64 0, i32 2 store i64 %1, ptr %22, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.btrfs_qgroup_extent_record, ptr %15, i64 0, i32 1 store i64 %2, ptr %23, align 8, !tbaa !16 store ptr null, ptr %15, align 8, !tbaa !17 %24 = tail call i32 @spin_lock(ptr noundef %21) #2 %25 = tail call i32 @btrfs_qgroup_trace_extent_nolock(ptr noundef %6, ptr noundef %21, ptr noundef nonnull %15) #2 %26 = tail call i32 @spin_unlock(ptr noundef %21) #2 %27 = icmp sgt i32 %25, 0 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = tail call i32 @kfree(ptr noundef nonnull %15) #2 br label %32 30: ; preds = %20 %31 = tail call i32 @btrfs_qgroup_trace_extent_post(ptr noundef %6, ptr noundef nonnull %15) #2 br label %32 32: ; preds = %4, %30, %28, %17 %33 = phi i32 [ 0, %28 ], [ %31, %30 ], [ %19, %17 ], [ 0, %4 ] ret i32 %33 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_qgroup_trace_extent_nolock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_qgroup_trace_extent_post(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"btrfs_trans_handle", !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 = !{!6, !7, i64 0} !13 = !{!14, !15, i64 16} !14 = !{!"btrfs_qgroup_extent_record", !7, i64 0, !15, i64 8, !15, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_qgroup.c_btrfs_qgroup_trace_extent.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_qgroup.c_btrfs_qgroup_trace_extent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTRFS_FS_QUOTA_ENABLED = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @btrfs_qgroup_trace_extent(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr @BTRFS_FS_QUOTA_ENABLED, align 4, !tbaa !11 %8 = tail call i32 @test_bit(i32 noundef %7, ptr noundef %6) #2 %9 = icmp eq i32 %8, 0 %10 = icmp eq i64 %1, 0 %11 = or i1 %10, %9 %12 = icmp eq i64 %2, 0 %13 = or i1 %12, %11 br i1 %13, label %32, label %14 14: ; preds = %4 %15 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %3) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %32 20: ; preds = %14 %21 = load ptr, ptr %0, align 8, !tbaa !13 %22 = getelementptr inbounds i8, ptr %15, i64 16 store i64 %1, ptr %22, align 8, !tbaa !14 %23 = getelementptr inbounds i8, ptr %15, i64 8 store i64 %2, ptr %23, align 8, !tbaa !17 store ptr null, ptr %15, align 8, !tbaa !18 %24 = tail call i32 @spin_lock(ptr noundef %21) #2 %25 = tail call i32 @btrfs_qgroup_trace_extent_nolock(ptr noundef %6, ptr noundef %21, ptr noundef nonnull %15) #2 %26 = tail call i32 @spin_unlock(ptr noundef %21) #2 %27 = icmp sgt i32 %25, 0 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = tail call i32 @kfree(ptr noundef nonnull %15) #2 br label %32 30: ; preds = %20 %31 = tail call i32 @btrfs_qgroup_trace_extent_post(ptr noundef %6, ptr noundef nonnull %15) #2 br label %32 32: ; preds = %4, %30, %28, %17 %33 = phi i32 [ 0, %28 ], [ %31, %30 ], [ %19, %17 ], [ 0, %4 ] ret i32 %33 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_qgroup_trace_extent_nolock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_qgroup_trace_extent_post(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"btrfs_trans_handle", !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 = !{!7, !8, i64 0} !14 = !{!15, !16, i64 16} !15 = !{!"btrfs_qgroup_extent_record", !8, i64 0, !16, i64 8, !16, i64 16} !16 = !{!"long", !9, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!15, !8, i64 0}
linux_fs_btrfs_extr_qgroup.c_btrfs_qgroup_trace_extent
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_xmit.c_rtw_xmit_thread.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_xmit.c_rtw_xmit_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" @_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"RTW_XMIT_THREAD\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @rtw_xmit_thread(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @thread_enter(ptr noundef nonnull @.str) #2 br label %3 3: ; preds = %3, %1 %4 = tail call i64 @rtw_hal_xmit_thread_handler(ptr noundef %0) #2 %5 = tail call i32 (...) @flush_signals_thread() #2 %6 = load i64, ptr @_SUCCESS, align 8, !tbaa !5 %7 = icmp eq i64 %6, %4 br i1 %7, label %3, label %8, !llvm.loop !9 8: ; preds = %3 %9 = tail call i32 @complete(ptr noundef %0) #2 %10 = tail call i32 (...) @thread_exit() #2 ret i32 undef } declare i32 @thread_enter(ptr noundef) local_unnamed_addr #1 declare i64 @rtw_hal_xmit_thread_handler(ptr noundef) local_unnamed_addr #1 declare i32 @flush_signals_thread(...) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @thread_exit(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_xmit.c_rtw_xmit_thread.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_xmit.c_rtw_xmit_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"RTW_XMIT_THREAD\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rtw_xmit_thread(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @thread_enter(ptr noundef nonnull @.str) #2 br label %3 3: ; preds = %3, %1 %4 = tail call i64 @rtw_hal_xmit_thread_handler(ptr noundef %0) #2 %5 = tail call i32 @flush_signals_thread() #2 %6 = load i64, ptr @_SUCCESS, align 8, !tbaa !6 %7 = icmp eq i64 %6, %4 br i1 %7, label %3, label %8, !llvm.loop !10 8: ; preds = %3 %9 = tail call i32 @complete(ptr noundef %0) #2 %10 = tail call i32 @thread_exit() #2 ret i32 undef } declare i32 @thread_enter(ptr noundef) local_unnamed_addr #1 declare i64 @rtw_hal_xmit_thread_handler(ptr noundef) local_unnamed_addr #1 declare i32 @flush_signals_thread(...) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @thread_exit(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_rtl8723bs_core_extr_rtw_xmit.c_rtw_xmit_thread
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_main.c_be_process_rx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_main.c_be_process_rx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.be_rx_obj = type { %struct.TYPE_2__, %struct.be_queue_info, ptr } %struct.TYPE_2__ = type { i32 } %struct.be_queue_info = type { i32 } %struct.be_rx_compl_info = type { i64, i64, i32 } @RX_FRAGS_REFILL_WM = dso_local local_unnamed_addr global i64 0, align 8 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @be_process_rx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @be_process_rx(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.be_rx_obj, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.be_rx_obj, ptr %0, i64 0, i32 1 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %65 8: ; preds = %3, %49 %9 = phi i32 [ %51, %49 ], [ 0, %3 ] %10 = tail call ptr @be_rx_compl_get(ptr noundef %0) #2 %11 = icmp eq ptr %10, null br i1 %11, label %53, label %12 12: ; preds = %8 %13 = load i64, ptr %10, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %49 18: ; preds = %12 %19 = getelementptr inbounds %struct.be_rx_compl_info, ptr %10, i64 0, i32 2 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = icmp eq i32 %20, 0 %22 = zext i1 %21 to i32 %23 = tail call i64 @unlikely(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %18 %26 = tail call i32 @be_rx_compl_discard(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 27: ; preds = %18 %28 = getelementptr inbounds %struct.be_rx_compl_info, ptr %10, i64 0, i32 1 %29 = load i64, ptr %28, align 8, !tbaa !17 %30 = load i64, ptr %5, align 8, !tbaa !18 %31 = icmp eq i64 %29, %30 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = tail call i32 @lancer_chip(ptr noundef nonnull %5) #2 %34 = icmp eq i32 %33, 0 br label %35 35: ; preds = %32, %27 %36 = phi i1 [ false, %27 ], [ %34, %32 ] %37 = zext i1 %36 to i32 %38 = tail call i64 @unlikely(i32 noundef %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %35 %41 = tail call i32 @be_rx_compl_discard(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 42: ; preds = %35 %43 = tail call i64 @do_gro(ptr noundef nonnull %10) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %42 %46 = tail call i32 @be_rx_compl_process_gro(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %10) #2 br label %49 47: ; preds = %42 %48 = tail call i32 @be_rx_compl_process(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 49: ; preds = %45, %47, %12, %40, %25 %50 = tail call i32 @be_rx_stats_update(ptr noundef %0, ptr noundef nonnull %10) #2 %51 = add nuw nsw i32 %9, 1 %52 = icmp eq i32 %51, %2 br i1 %52, label %55, label %8, !llvm.loop !20 53: ; preds = %8 %54 = icmp eq i32 %9, 0 br i1 %54, label %65, label %55 55: ; preds = %49, %53 %56 = phi i32 [ %9, %53 ], [ %2, %49 ] %57 = load i32, ptr %6, align 4, !tbaa !22 %58 = tail call i32 @be_cq_notify(ptr noundef %5, i32 noundef %57, i32 noundef 1, i32 noundef %56) #2 %59 = tail call i64 @atomic_read(ptr noundef %0) #2 %60 = load i64, ptr @RX_FRAGS_REFILL_WM, align 8, !tbaa !23 %61 = icmp slt i64 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %55 %63 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !24 %64 = tail call i32 @be_post_rx_frags(ptr noundef nonnull %0, i32 noundef %63) #2 br label %65 65: ; preds = %3, %55, %62, %53 %66 = phi i32 [ %56, %55 ], [ %56, %62 ], [ 0, %53 ], [ 0, %3 ] ret i32 %66 } declare ptr @be_rx_compl_get(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_discard(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lancer_chip(ptr noundef) local_unnamed_addr #1 declare i64 @do_gro(ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_process_gro(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_stats_update(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_cq_notify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @be_post_rx_frags(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, !12, i64 8} !6 = !{!"be_rx_obj", !7, i64 0, !11, i64 4, !12, i64 8} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"be_queue_info", !8, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"be_rx_compl_info", !15, i64 0, !15, i64 8, !8, i64 16} !15 = !{!"long", !9, i64 0} !16 = !{!14, !8, i64 16} !17 = !{!14, !15, i64 8} !18 = !{!19, !15, i64 0} !19 = !{!"be_adapter", !15, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!11, !8, i64 0} !23 = !{!15, !15, i64 0} !24 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_main.c_be_process_rx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_main.c_be_process_rx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RX_FRAGS_REFILL_WM = common local_unnamed_addr global i64 0, align 8 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @be_process_rx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @be_process_rx(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %65 8: ; preds = %3, %49 %9 = phi i32 [ %51, %49 ], [ 0, %3 ] %10 = tail call ptr @be_rx_compl_get(ptr noundef %0) #2 %11 = icmp eq ptr %10, null br i1 %11, label %53, label %12 12: ; preds = %8 %13 = load i64, ptr %10, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %49 18: ; preds = %12 %19 = getelementptr inbounds i8, ptr %10, i64 16 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = icmp eq i32 %20, 0 %22 = zext i1 %21 to i32 %23 = tail call i64 @unlikely(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %18 %26 = tail call i32 @be_rx_compl_discard(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 27: ; preds = %18 %28 = getelementptr inbounds i8, ptr %10, i64 8 %29 = load i64, ptr %28, align 8, !tbaa !18 %30 = load i64, ptr %5, align 8, !tbaa !19 %31 = icmp eq i64 %29, %30 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = tail call i32 @lancer_chip(ptr noundef nonnull %5) #2 %34 = icmp eq i32 %33, 0 br label %35 35: ; preds = %32, %27 %36 = phi i1 [ false, %27 ], [ %34, %32 ] %37 = zext i1 %36 to i32 %38 = tail call i64 @unlikely(i32 noundef %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %35 %41 = tail call i32 @be_rx_compl_discard(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 42: ; preds = %35 %43 = tail call i64 @do_gro(ptr noundef nonnull %10) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %42 %46 = tail call i32 @be_rx_compl_process_gro(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %10) #2 br label %49 47: ; preds = %42 %48 = tail call i32 @be_rx_compl_process(ptr noundef %0, ptr noundef nonnull %10) #2 br label %49 49: ; preds = %45, %47, %12, %40, %25 %50 = tail call i32 @be_rx_stats_update(ptr noundef %0, ptr noundef nonnull %10) #2 %51 = add nuw nsw i32 %9, 1 %52 = icmp eq i32 %51, %2 br i1 %52, label %55, label %8, !llvm.loop !21 53: ; preds = %8 %54 = icmp eq i32 %9, 0 br i1 %54, label %65, label %55 55: ; preds = %49, %53 %56 = phi i32 [ %9, %53 ], [ %2, %49 ] %57 = load i32, ptr %6, align 4, !tbaa !23 %58 = tail call i32 @be_cq_notify(ptr noundef %5, i32 noundef %57, i32 noundef 1, i32 noundef %56) #2 %59 = tail call i64 @atomic_read(ptr noundef %0) #2 %60 = load i64, ptr @RX_FRAGS_REFILL_WM, align 8, !tbaa !24 %61 = icmp slt i64 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %55 %63 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !25 %64 = tail call i32 @be_post_rx_frags(ptr noundef nonnull %0, i32 noundef %63) #2 br label %65 65: ; preds = %3, %55, %62, %53 %66 = phi i32 [ %56, %55 ], [ %56, %62 ], [ 0, %53 ], [ 0, %3 ] ret i32 %66 } declare ptr @be_rx_compl_get(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_discard(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lancer_chip(ptr noundef) local_unnamed_addr #1 declare i64 @do_gro(ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_process_gro(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_compl_process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_rx_stats_update(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be_cq_notify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @be_post_rx_frags(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, !13, i64 8} !7 = !{!"be_rx_obj", !8, i64 0, !12, i64 4, !13, i64 8} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"be_queue_info", !9, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"be_rx_compl_info", !16, i64 0, !16, i64 8, !9, i64 16} !16 = !{!"long", !10, i64 0} !17 = !{!15, !9, i64 16} !18 = !{!15, !16, i64 8} !19 = !{!20, !16, i64 0} !20 = !{!"be_adapter", !16, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!12, !9, i64 0} !24 = !{!16, !16, i64 0} !25 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_net_benet_extr_be_main.c_be_process_rx
; ModuleID = 'AnghaBench/linux/drivers/s390/char/extr_sclp.c_sclp_restore.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_sclp.c_sclp_restore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCLP_PM_EVENT_RESTORE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sclp_restore], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sclp_restore(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @SCLP_PM_EVENT_RESTORE, align 4, !tbaa !5 %3 = tail call i32 @sclp_undo_suspend(i32 noundef %2) #2 ret i32 %3 } declare i32 @sclp_undo_suspend(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/s390/char/extr_sclp.c_sclp_restore.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_sclp.c_sclp_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCLP_PM_EVENT_RESTORE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sclp_restore], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sclp_restore(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @SCLP_PM_EVENT_RESTORE, align 4, !tbaa !6 %3 = tail call i32 @sclp_undo_suspend(i32 noundef %2) #2 ret i32 %3 } declare i32 @sclp_undo_suspend(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_s390_char_extr_sclp.c_sclp_restore
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_pngtest.c_set_location.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_pngtest.c_set_location.c" target datalayout = "e-m:e-p270:32:32-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.user_chunk_data = type { ptr, ptr } @after_IDAT = dso_local local_unnamed_addr global i32 0, align 4 @PNG_INFO_PLTE = dso_local local_unnamed_addr global i32 0, align 4 @before_IDAT = dso_local local_unnamed_addr global i32 0, align 4 @before_PLTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_location], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @set_location(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = and i32 %5, %2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %3 %9 = getelementptr inbounds i32, ptr %4, i64 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = and i32 %10, %2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %8 %14 = getelementptr inbounds %struct.user_chunk_data, ptr %1, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = icmp eq ptr %15, null br i1 %16, label %24, label %17 17: ; preds = %13 %18 = load i32, ptr @PNG_INFO_PLTE, align 4, !tbaa !10 %19 = tail call i64 @png_get_valid(i32 noundef %0, ptr noundef nonnull %15, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @before_PLTE, ptr @before_IDAT %22 = load ptr, ptr %1, align 8, !tbaa !5 %23 = load i32, ptr %22, align 4, !tbaa !10 br label %24 24: ; preds = %17, %13 %25 = phi i32 [ %5, %13 ], [ %23, %17 ] %26 = phi ptr [ %4, %13 ], [ %22, %17 ] %27 = phi ptr [ @after_IDAT, %13 ], [ %21, %17 ] %28 = load i32, ptr %27, align 4, !tbaa !10 %29 = or i32 %28, %2 %30 = icmp ne i32 %25, 0 %31 = zext i1 %30 to i64 %32 = getelementptr inbounds i32, ptr %26, i64 %31 store i32 %29, ptr %32, align 4, !tbaa !10 br label %33 33: ; preds = %24, %3, %8 %34 = phi i32 [ 0, %8 ], [ 0, %3 ], [ 1, %24 ] ret i32 %34 } declare i64 @png_get_valid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"user_chunk_data", !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 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_pngtest.c_set_location.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_pngtest.c_set_location.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @after_IDAT = common local_unnamed_addr global i32 0, align 4 @PNG_INFO_PLTE = common local_unnamed_addr global i32 0, align 4 @before_IDAT = common local_unnamed_addr global i32 0, align 4 @before_PLTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_location], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @set_location(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = and i32 %5, %2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %4, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = and i32 %10, %2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = icmp eq ptr %15, null br i1 %16, label %24, label %17 17: ; preds = %13 %18 = load i32, ptr @PNG_INFO_PLTE, align 4, !tbaa !11 %19 = tail call i64 @png_get_valid(i32 noundef %0, ptr noundef nonnull %15, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @before_PLTE, ptr @before_IDAT %22 = load ptr, ptr %1, align 8, !tbaa !6 %23 = load i32, ptr %22, align 4, !tbaa !11 br label %24 24: ; preds = %17, %13 %25 = phi i32 [ %5, %13 ], [ %23, %17 ] %26 = phi ptr [ %4, %13 ], [ %22, %17 ] %27 = phi ptr [ @after_IDAT, %13 ], [ %21, %17 ] %28 = load i32, ptr %27, align 4, !tbaa !11 %29 = or i32 %28, %2 %30 = icmp eq i32 %25, 0 %31 = select i1 %30, i64 0, i64 4 %32 = getelementptr inbounds i8, ptr %26, i64 %31 store i32 %29, ptr %32, align 4, !tbaa !11 br label %33 33: ; preds = %24, %3, %8 %34 = phi i32 [ 0, %8 ], [ 0, %3 ], [ 1, %24 ] ret i32 %34 } declare i64 @png_get_valid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"user_chunk_data", !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 = !{!7, !8, i64 8}
Provenance_Cores_Mupen64Plus_png_extr_pngtest.c_set_location
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_def.h_sdev_to_zfcp.c' source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_def.h_sdev_to_zfcp.c" target datalayout = "e-m:e-p270:32:32-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 @sdev_to_zfcp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @sdev_to_zfcp(ptr noundef %0) #0 { %2 = tail call ptr @scsi_transport_device_data(ptr noundef %0) #2 ret ptr %2 } declare ptr @scsi_transport_device_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_def.h_sdev_to_zfcp.c' source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_def.h_sdev_to_zfcp.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 @sdev_to_zfcp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @sdev_to_zfcp(ptr noundef %0) #0 { %2 = tail call ptr @scsi_transport_device_data(ptr noundef %0) #2 ret ptr %2 } declare ptr @scsi_transport_device_data(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_s390_scsi_extr_zfcp_def.h_sdev_to_zfcp
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lstrlib.c_end_capture.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lstrlib.c_end_capture.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @CAP_UNFINISHED = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @end_capture], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @end_capture(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @capture_to_close(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = sext i32 %4 to i64 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %6 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %6, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !10 %10 = sext i32 %9 to i64 %11 = sub nsw i64 0, %10 %12 = getelementptr inbounds i8, ptr %1, i64 %11 store ptr %12, ptr %7, align 8, !tbaa !13 %13 = tail call ptr @match(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load ptr, ptr @CAP_UNFINISHED, align 8, !tbaa !14 %17 = load ptr, ptr %0, align 8, !tbaa !5 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i64 %6 store ptr %16, ptr %18, align 8, !tbaa !13 br label %19 19: ; preds = %15, %3 ret ptr %13 } declare i32 @capture_to_close(ptr noundef) local_unnamed_addr #1 declare ptr @match(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_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 8} !11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lstrlib.c_end_capture.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lstrlib.c_end_capture.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { ptr, i32 } @CAP_UNFINISHED = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @end_capture], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @end_capture(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @capture_to_close(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = sext i32 %4 to i64 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !11 %10 = sext i32 %9 to i64 %11 = sub nsw i64 0, %10 %12 = getelementptr inbounds i8, ptr %1, i64 %11 store ptr %12, ptr %7, align 8, !tbaa !14 %13 = tail call ptr @match(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load ptr, ptr @CAP_UNFINISHED, align 8, !tbaa !15 %17 = load ptr, ptr %0, align 8, !tbaa !6 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i64 %6 store ptr %16, ptr %18, align 8, !tbaa !14 br label %19 19: ; preds = %15, %3 ret ptr %13 } declare i32 @capture_to_close(ptr noundef) local_unnamed_addr #1 declare ptr @match(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_6__", !8, i64 0, !13, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !8, i64 0} !15 = !{!8, !8, i64 0}
xLua_build_lua-5.3.5_src_extr_lstrlib.c_end_capture
; ModuleID = 'AnghaBench/macvim/src/extr_workshop.c_workshop_delete_mark.c' source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_delete_mark.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"sign unplace %d file=%s\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @WS_TRACE = dso_local local_unnamed_addr global i32 0, align 4 @WS_TRACE_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @workshop_delete_mark(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BUFSIZ, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = call i32 @vim_snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %0) #2 %7 = load i32, ptr @TRUE, align 4, !tbaa !5 %8 = call i32 @coloncmd(ptr noundef nonnull %5, i32 noundef %7) #2 ret void } declare i32 @vim_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @coloncmd(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/macvim/src/extr_workshop.c_workshop_delete_mark.c' source_filename = "AnghaBench/macvim/src/extr_workshop.c_workshop_delete_mark.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUFSIZ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"sign unplace %d file=%s\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 @WS_TRACE = common local_unnamed_addr global i32 0, align 4 @WS_TRACE_VERBOSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @workshop_delete_mark(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BUFSIZ, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = call i32 @vim_snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %0) #2 %7 = load i32, ptr @TRUE, align 4, !tbaa !6 %8 = call i32 @coloncmd(ptr noundef nonnull %5, i32 noundef %7) #2 ret void } declare i32 @vim_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @coloncmd(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"}
macvim_src_extr_workshop.c_workshop_delete_mark
; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_w_wad.c_strupr.c' source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_w_wad.c_strupr.c" target datalayout = "e-m:e-p270:32:32-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 @strupr(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %9, %4 ], [ %2, %1 ] %6 = phi ptr [ %8, %4 ], [ %0, %1 ] %7 = tail call signext i8 @toupper(i8 noundef signext %5) #2 store i8 %7, ptr %6, align 1, !tbaa !5 %8 = getelementptr inbounds i8, ptr %6, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !5 %10 = icmp eq i8 %9, 0 br i1 %10, label %11, label %4, !llvm.loop !8 11: ; preds = %4, %1 ret void } declare signext i8 @toupper(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_w_wad.c_strupr.c' source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_w_wad.c_strupr.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 @strupr(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %9, %4 ], [ %2, %1 ] %6 = phi ptr [ %8, %4 ], [ %0, %1 ] %7 = tail call signext i8 @toupper(i8 noundef signext %5) #2 store i8 %7, ptr %6, align 1, !tbaa !6 %8 = getelementptr inbounds i8, ptr %6, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = icmp eq i8 %9, 0 br i1 %10, label %11, label %4, !llvm.loop !9 11: ; preds = %4, %1 ret void } declare signext i8 @toupper(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
DOOM_linuxdoom-1.10_extr_w_wad.c_strupr
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/ergodone/extr_twimaster.c_i2c_start.c' source_filename = "AnghaBench/qmk_firmware/keyboards/ergodone/extr_twimaster.c_i2c_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TWINT = dso_local local_unnamed_addr global i32 0, align 4 @TWSTA = dso_local local_unnamed_addr global i32 0, align 4 @TWEN = dso_local local_unnamed_addr global i32 0, align 4 @TWCR = dso_local local_unnamed_addr global i32 0, align 4 @TW_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @TW_START = dso_local local_unnamed_addr global i32 0, align 4 @TW_REP_START = dso_local local_unnamed_addr global i32 0, align 4 @TWDR = dso_local local_unnamed_addr global i8 0, align 1 @TW_MT_SLA_ACK = dso_local local_unnamed_addr global i32 0, align 4 @TW_MR_SLA_ACK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define dso_local zeroext i8 @i2c_start(i8 noundef zeroext %0) local_unnamed_addr #0 { %2 = load i32, ptr @TWINT, align 4, !tbaa !5 %3 = shl nuw i32 1, %2 %4 = load i32, ptr @TWSTA, align 4, !tbaa !5 %5 = shl nuw i32 1, %4 %6 = load i32, ptr @TWEN, align 4, !tbaa !5 %7 = shl nuw i32 1, %6 %8 = or i32 %3, %5 %9 = or i32 %8, %7 store i32 %9, ptr @TWCR, align 4, !tbaa !5 %10 = and i32 %9, %3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13, !llvm.loop !9 12: ; preds = %1, %12 br label %12 13: ; preds = %1 %14 = load i32, ptr @TW_STATUS, align 4, !tbaa !5 %15 = and i32 %14, 248 %16 = load i32, ptr @TW_START, align 4, !tbaa !5 %17 = icmp eq i32 %15, %16 %18 = load i32, ptr @TW_REP_START, align 4 %19 = icmp eq i32 %15, %18 %20 = select i1 %17, i1 true, i1 %19 br i1 %20, label %21, label %29 21: ; preds = %13 store i8 %0, ptr @TWDR, align 1, !tbaa !11 %22 = or i32 %7, %3 store i32 %22, ptr @TWCR, align 4, !tbaa !5 %23 = load i32, ptr @TW_MT_SLA_ACK, align 4, !tbaa !5 %24 = icmp ne i32 %15, %23 %25 = load i32, ptr @TW_MR_SLA_ACK, align 4 %26 = icmp ne i32 %15, %25 %27 = select i1 %24, i1 %26, i1 false %28 = zext i1 %27 to i8 br label %29 29: ; preds = %21, %13 %30 = phi i8 [ 1, %13 ], [ %28, %21 ] ret i8 %30 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, 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"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/ergodone/extr_twimaster.c_i2c_start.c' source_filename = "AnghaBench/qmk_firmware/keyboards/ergodone/extr_twimaster.c_i2c_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TWINT = common local_unnamed_addr global i32 0, align 4 @TWSTA = common local_unnamed_addr global i32 0, align 4 @TWEN = common local_unnamed_addr global i32 0, align 4 @TWCR = common local_unnamed_addr global i32 0, align 4 @TW_STATUS = common local_unnamed_addr global i32 0, align 4 @TW_START = common local_unnamed_addr global i32 0, align 4 @TW_REP_START = common local_unnamed_addr global i32 0, align 4 @TWDR = common local_unnamed_addr global i8 0, align 1 @TW_MT_SLA_ACK = common local_unnamed_addr global i32 0, align 4 @TW_MR_SLA_ACK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define zeroext range(i8 0, 2) i8 @i2c_start(i8 noundef zeroext %0) local_unnamed_addr #0 { %2 = load i32, ptr @TWINT, align 4, !tbaa !6 %3 = shl nuw i32 1, %2 %4 = load i32, ptr @TWSTA, align 4, !tbaa !6 %5 = shl nuw i32 1, %4 %6 = load i32, ptr @TWEN, align 4, !tbaa !6 %7 = shl nuw i32 1, %6 %8 = or i32 %3, %5 %9 = or i32 %8, %7 store i32 %9, ptr @TWCR, align 4, !tbaa !6 %10 = load i32, ptr @TW_STATUS, align 4, !tbaa !6 %11 = and i32 %10, 248 %12 = load i32, ptr @TW_START, align 4, !tbaa !6 %13 = icmp eq i32 %11, %12 %14 = load i32, ptr @TW_REP_START, align 4 %15 = icmp eq i32 %11, %14 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %17, label %25 17: ; preds = %1 store i8 %0, ptr @TWDR, align 1, !tbaa !10 %18 = or i32 %7, %3 store i32 %18, ptr @TWCR, align 4, !tbaa !6 %19 = load i32, ptr @TW_MT_SLA_ACK, align 4, !tbaa !6 %20 = icmp ne i32 %11, %19 %21 = load i32, ptr @TW_MR_SLA_ACK, align 4 %22 = icmp ne i32 %11, %21 %23 = select i1 %20, i1 %22, i1 false %24 = zext i1 %23 to i8 br label %25 25: ; preds = %17, %1 %26 = phi i8 [ 1, %1 ], [ %24, %17 ] ret i8 %26 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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"} !10 = !{!8, !8, i64 0}
qmk_firmware_keyboards_ergodone_extr_twimaster.c_i2c_start
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/arm/extr_w90p910_ether.c_w90p910_get_settings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/arm/extr_w90p910_ether.c_w90p910_get_settings.c" target datalayout = "e-m:e-p270:32:32-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 @w90p910_get_settings], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @w90p910_get_settings(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = tail call i32 @mii_ethtool_gset(ptr noundef %3, ptr noundef %1) #2 ret i32 %4 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mii_ethtool_gset(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/arm/extr_w90p910_ether.c_w90p910_get_settings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/arm/extr_w90p910_ether.c_w90p910_get_settings.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 @w90p910_get_settings], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @w90p910_get_settings(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = tail call i32 @mii_ethtool_gset(ptr noundef %3, ptr noundef %1) #2 ret i32 %4 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mii_ethtool_gset(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_arm_extr_w90p910_ether.c_w90p910_get_settings
; ModuleID = 'AnghaBench/linux/arch/arm64/kernel/extr_kgdb.c___kgdb_notify.c' source_filename = "AnghaBench/linux/arch/arm64/kernel/extr_kgdb.c___kgdb_notify.c" target datalayout = "e-m:e-p270:32:32-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.die_args = type { i32, ptr } @NOTIFY_DONE = dso_local local_unnamed_addr global i32 0, align 4 @NOTIFY_STOP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__kgdb_notify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__kgdb_notify(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = getelementptr inbounds %struct.die_args, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = tail call i64 @kgdb_handle_exception(i32 noundef 1, i32 noundef %5, i64 noundef %1, ptr noundef %4) #2 %7 = icmp eq i64 %6, 0 %8 = load i32, ptr @NOTIFY_STOP, align 4 %9 = load i32, ptr @NOTIFY_DONE, align 4 %10 = select i1 %7, i32 %8, i32 %9 ret i32 %10 } declare i64 @kgdb_handle_exception(i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"die_args", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/arm64/kernel/extr_kgdb.c___kgdb_notify.c' source_filename = "AnghaBench/linux/arch/arm64/kernel/extr_kgdb.c___kgdb_notify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NOTIFY_DONE = common local_unnamed_addr global i32 0, align 4 @NOTIFY_STOP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__kgdb_notify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__kgdb_notify(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %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 !12 %6 = tail call i64 @kgdb_handle_exception(i32 noundef 1, i32 noundef %5, i64 noundef %1, ptr noundef %4) #2 %7 = icmp eq i64 %6, 0 %8 = load i32, ptr @NOTIFY_STOP, align 4 %9 = load i32, ptr @NOTIFY_DONE, align 4 %10 = select i1 %7, i32 %8, i32 %9 ret i32 %10 } declare i64 @kgdb_handle_exception(i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"die_args", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
linux_arch_arm64_kernel_extr_kgdb.c___kgdb_notify
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-subdev.c_call_s_frame_interval.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-subdev.c_call_s_frame_interval.c" target datalayout = "e-m:e-p270:32:32-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 @call_s_frame_interval], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @call_s_frame_interval(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @check_frame_interval(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = tail call i32 %8(ptr noundef nonnull %0, ptr noundef %1) #2 %10 = zext i32 %9 to i64 br label %11 11: ; preds = %2, %5 %12 = phi i64 [ %10, %5 ], [ %3, %2 ] %13 = trunc i64 %12 to i32 ret i32 %13 } declare i64 @check_frame_interval(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_subdev", !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_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-subdev.c_call_s_frame_interval.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-subdev.c_call_s_frame_interval.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 @call_s_frame_interval], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @call_s_frame_interval(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @check_frame_interval(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = tail call i32 %8(ptr noundef nonnull %0, ptr noundef %1) #2 %10 = zext i32 %9 to i64 br label %11 11: ; preds = %2, %5 %12 = phi i64 [ %10, %5 ], [ %3, %2 ] %13 = trunc i64 %12 to i32 ret i32 %13 } declare i64 @check_frame_interval(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_subdev", !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_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
linux_drivers_media_v4l2-core_extr_v4l2-subdev.c_call_s_frame_interval
; ModuleID = 'AnghaBench/GloVe/src/extr_cooccur.c_merge_write.c' source_filename = "AnghaBench/GloVe/src/extr_cooccur.c_merge_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64, i64 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @merge_write(ptr nocapture noundef readonly byval(%struct.TYPE_5__) align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %19 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %19 13: ; preds = %7 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %15 = load i64, ptr %14, align 8, !tbaa !11 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2 %17 = load i64, ptr %16, align 8, !tbaa !11 %18 = add nsw i64 %17, %15 store i64 %18, ptr %16, align 8, !tbaa !11 br label %21 19: ; preds = %7, %3 %20 = tail call i32 @fwrite(ptr noundef nonnull %1, i32 noundef 4, i32 noundef 1, ptr noundef %2) #3 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %0, i64 24, i1 false), !tbaa.struct !12 br label %21 21: ; preds = %19, %13 %22 = phi i32 [ 0, %13 ], [ 1, %19 ] ret i32 %22 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 16} !12 = !{i64 0, i64 8, !13, i64 8, i64 8, !13, i64 16, i64 8, !13} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/GloVe/src/extr_cooccur.c_merge_write.c' source_filename = "AnghaBench/GloVe/src/extr_cooccur.c_merge_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @merge_write(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %19 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %19 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = getelementptr inbounds i8, ptr %1, i64 16 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = add nsw i64 %17, %15 store i64 %18, ptr %16, align 8, !tbaa !12 br label %21 19: ; preds = %7, %3 %20 = tail call i32 @fwrite(ptr noundef nonnull %1, i32 noundef 4, i32 noundef 1, ptr noundef %2) #3 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %0, i64 24, i1 false), !tbaa.struct !13 br label %21 21: ; preds = %19, %13 %22 = phi i32 [ 0, %13 ], [ 1, %19 ] ret i32 %22 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 16} !13 = !{i64 0, i64 8, !14, i64 8, i64 8, !14, i64 16, i64 8, !14} !14 = !{!8, !8, i64 0}
GloVe_src_extr_cooccur.c_merge_write
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_da9052_bl.c_da9052_backlight_update_status.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_da9052_bl.c_da9052_backlight_update_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.da9052_bl = type { i32, i32 } @DA9052_WLEDS_ON = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @da9052_backlight_update_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @da9052_backlight_update_status(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @bl_get_data(ptr noundef nonnull %0) #2 store i32 %2, ptr %3, align 4, !tbaa !11 %4 = load i32, ptr @DA9052_WLEDS_ON, align 4, !tbaa !13 %5 = getelementptr inbounds %struct.da9052_bl, ptr %3, i64 0, i32 1 store i32 %4, ptr %5, align 4, !tbaa !14 %6 = tail call i32 @da9052_adjust_wled_brightness(ptr noundef nonnull %3) #2 ret i32 %6 } declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @da9052_adjust_wled_brightness(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"backlight_device", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"da9052_bl", !8, i64 0, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!12, !8, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_da9052_bl.c_da9052_backlight_update_status.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_da9052_bl.c_da9052_backlight_update_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DA9052_WLEDS_ON = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @da9052_backlight_update_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @da9052_backlight_update_status(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @bl_get_data(ptr noundef nonnull %0) #2 store i32 %2, ptr %3, align 4, !tbaa !12 %4 = load i32, ptr @DA9052_WLEDS_ON, align 4, !tbaa !14 %5 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %4, ptr %5, align 4, !tbaa !15 %6 = tail call i32 @da9052_adjust_wled_brightness(ptr noundef nonnull %3) #2 ret i32 %6 } declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @da9052_adjust_wled_brightness(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"backlight_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"da9052_bl", !9, i64 0, !9, i64 4} !14 = !{!9, !9, i64 0} !15 = !{!13, !9, i64 4}
linux_drivers_video_backlight_extr_da9052_bl.c_da9052_backlight_update_status
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_mount.c_xfs_mod_delalloc.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_mount.c_xfs_mod_delalloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @XFS_DELALLOC_BATCH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @xfs_mod_delalloc(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @XFS_DELALLOC_BATCH, align 4, !tbaa !5 %4 = tail call i32 @percpu_counter_add_batch(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 ret void } declare i32 @percpu_counter_add_batch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_mount.c_xfs_mod_delalloc.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_mount.c_xfs_mod_delalloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFS_DELALLOC_BATCH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @xfs_mod_delalloc(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @XFS_DELALLOC_BATCH, align 4, !tbaa !6 %4 = tail call i32 @percpu_counter_add_batch(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2 ret void } declare i32 @percpu_counter_add_batch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_fs_xfs_extr_xfs_mount.c_xfs_mod_delalloc
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nfnetlink_log.c___instance_destroy.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nfnetlink_log.c___instance_destroy.c" target datalayout = "e-m:e-p270:32:32-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.nfulnl_instance = type { i32, i64, i32, i32 } @NFULNL_COPY_DISABLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__instance_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__instance_destroy(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.nfulnl_instance, ptr %0, i64 0, i32 3 %3 = tail call i32 @hlist_del_rcu(ptr noundef nonnull %2) #2 %4 = tail call i32 @spin_lock(ptr noundef %0) #2 %5 = load i32, ptr @NFULNL_COPY_DISABLED, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.nfulnl_instance, ptr %0, i64 0, i32 2 store i32 %5, ptr %6, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.nfulnl_instance, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @__nfulnl_flush(ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %1 %13 = tail call i32 @spin_unlock(ptr noundef nonnull %0) #2 %14 = tail call i32 @instance_put(ptr noundef nonnull %0) #2 ret void } declare i32 @hlist_del_rcu(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__nfulnl_flush(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @instance_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"nfulnl_instance", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nfnetlink_log.c___instance_destroy.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nfnetlink_log.c___instance_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFULNL_COPY_DISABLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__instance_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__instance_destroy(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 20 %3 = tail call i32 @hlist_del_rcu(ptr noundef nonnull %2) #2 %4 = tail call i32 @spin_lock(ptr noundef %0) #2 %5 = load i32, ptr @NFULNL_COPY_DISABLED, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %5, ptr %6, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @__nfulnl_flush(ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %1 %13 = tail call i32 @spin_unlock(ptr noundef nonnull %0) #2 %14 = tail call i32 @instance_put(ptr noundef nonnull %0) #2 ret void } declare i32 @hlist_del_rcu(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__nfulnl_flush(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @instance_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"nfulnl_instance", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8}
linux_net_netfilter_extr_nfnetlink_log.c___instance_destroy
; ModuleID = 'AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_pending_instances.c' source_filename = "AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_pending_instances.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @uv_pipe_pending_instances(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_pending_instances.c' source_filename = "AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_pending_instances.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @uv_pipe_pending_instances(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
libuv_src_unix_extr_pipe.c_uv_pipe_pending_instances
; ModuleID = 'AnghaBench/linux/drivers/misc/sgi-xp/extr_xp_main.c_xpc_connect.c' source_filename = "AnghaBench/linux/drivers/misc/sgi-xp/extr_xp_main.c_xpc_connect.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.xpc_registration = type { i32, ptr, ptr, i64, i64, i64, i64 } @XPC_MAX_NCHANNELS = dso_local local_unnamed_addr global i32 0, align 4 @XPC_MSG_MAX_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @xpPayloadTooBig = dso_local local_unnamed_addr global i32 0, align 4 @xpc_registrations = dso_local local_unnamed_addr global ptr null, align 8 @xpInterrupted = dso_local local_unnamed_addr global i32 0, align 4 @xpAlreadyRegistered = dso_local local_unnamed_addr global i32 0, align 4 @xpc_interface = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @xpSuccess = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @xpc_connect(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #0 { %8 = icmp slt i32 %0, 0 %9 = load i32, ptr @XPC_MAX_NCHANNELS, align 4 %10 = icmp sle i32 %9, %0 %11 = select i1 %8, i1 true, i1 %10 %12 = zext i1 %11 to i32 %13 = tail call i32 @DBUG_ON(i32 noundef %12) #2 %14 = icmp eq i64 %3, 0 %15 = icmp eq i64 %4, 0 %16 = or i1 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 @DBUG_ON(i32 noundef %17) #2 %19 = icmp eq ptr %1, null %20 = zext i1 %19 to i32 %21 = tail call i32 @DBUG_ON(i32 noundef %20) #2 %22 = icmp eq i64 %5, 0 %23 = icmp sgt i64 %6, %5 %24 = or i1 %22, %23 %25 = zext i1 %24 to i32 %26 = tail call i32 @DBUG_ON(i32 noundef %25) #2 %27 = tail call i64 @XPC_MSG_SIZE(i64 noundef %3) #2 %28 = load i64, ptr @XPC_MSG_MAX_SIZE, align 8, !tbaa !5 %29 = icmp sgt i64 %27, %28 br i1 %29, label %54, label %30 30: ; preds = %7 %31 = load ptr, ptr @xpc_registrations, align 8, !tbaa !9 %32 = sext i32 %0 to i64 %33 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32 %34 = tail call i64 @mutex_lock_interruptible(ptr noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %54 36: ; preds = %30 %37 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !11 %39 = icmp eq ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @mutex_unlock(ptr noundef nonnull %33) #2 br label %54 42: ; preds = %36 %43 = tail call i64 @XPC_MSG_SIZE(i64 noundef %3) #2 %44 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 6 store i64 %43, ptr %44, align 8, !tbaa !14 %45 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 5 store i64 %4, ptr %45, align 8, !tbaa !15 %46 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 4 store i64 %5, ptr %46, align 8, !tbaa !16 %47 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 3 store i64 %6, ptr %47, align 8, !tbaa !17 %48 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32, i32 2 store ptr %2, ptr %48, align 8, !tbaa !18 store ptr %1, ptr %37, align 8, !tbaa !11 %49 = tail call i32 @mutex_unlock(ptr noundef nonnull %33) #2 %50 = load ptr, ptr @xpc_interface, align 8, !tbaa !19 %51 = icmp eq ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %42 %53 = tail call i32 %50(i32 noundef %0) #2 br label %54 54: ; preds = %42, %52, %30, %7, %40 %55 = phi ptr [ @xpAlreadyRegistered, %40 ], [ @xpPayloadTooBig, %7 ], [ @xpInterrupted, %30 ], [ @xpSuccess, %52 ], [ @xpSuccess, %42 ] %56 = load i32, ptr %55, align 4, !tbaa !21 ret i32 %56 } declare i32 @DBUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @XPC_MSG_SIZE(i64 noundef) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"xpc_registration", !13, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48} !13 = !{!"int", !7, i64 0} !14 = !{!12, !6, i64 48} !15 = !{!12, !6, i64 40} !16 = !{!12, !6, i64 32} !17 = !{!12, !6, i64 24} !18 = !{!12, !10, i64 16} !19 = !{!20, !10, i64 0} !20 = !{!"TYPE_2__", !10, i64 0} !21 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/misc/sgi-xp/extr_xp_main.c_xpc_connect.c' source_filename = "AnghaBench/linux/drivers/misc/sgi-xp/extr_xp_main.c_xpc_connect.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 { ptr } %struct.xpc_registration = type { i32, ptr, ptr, i64, i64, i64, i64 } @XPC_MAX_NCHANNELS = common local_unnamed_addr global i32 0, align 4 @XPC_MSG_MAX_SIZE = common local_unnamed_addr global i64 0, align 8 @xpPayloadTooBig = common local_unnamed_addr global i32 0, align 4 @xpc_registrations = common local_unnamed_addr global ptr null, align 8 @xpInterrupted = common local_unnamed_addr global i32 0, align 4 @xpAlreadyRegistered = common local_unnamed_addr global i32 0, align 4 @xpc_interface = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @xpSuccess = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @xpc_connect(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #0 { %8 = icmp slt i32 %0, 0 %9 = load i32, ptr @XPC_MAX_NCHANNELS, align 4 %10 = icmp sle i32 %9, %0 %11 = select i1 %8, i1 true, i1 %10 %12 = zext i1 %11 to i32 %13 = tail call i32 @DBUG_ON(i32 noundef %12) #2 %14 = icmp eq i64 %3, 0 %15 = icmp eq i64 %4, 0 %16 = or i1 %14, %15 %17 = zext i1 %16 to i32 %18 = tail call i32 @DBUG_ON(i32 noundef %17) #2 %19 = icmp eq ptr %1, null %20 = zext i1 %19 to i32 %21 = tail call i32 @DBUG_ON(i32 noundef %20) #2 %22 = icmp eq i64 %5, 0 %23 = icmp sgt i64 %6, %5 %24 = or i1 %22, %23 %25 = zext i1 %24 to i32 %26 = tail call i32 @DBUG_ON(i32 noundef %25) #2 %27 = tail call i64 @XPC_MSG_SIZE(i64 noundef %3) #2 %28 = load i64, ptr @XPC_MSG_MAX_SIZE, align 8, !tbaa !6 %29 = icmp sgt i64 %27, %28 br i1 %29, label %54, label %30 30: ; preds = %7 %31 = load ptr, ptr @xpc_registrations, align 8, !tbaa !10 %32 = sext i32 %0 to i64 %33 = getelementptr inbounds %struct.xpc_registration, ptr %31, i64 %32 %34 = tail call i64 @mutex_lock_interruptible(ptr noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %54 36: ; preds = %30 %37 = getelementptr inbounds i8, ptr %33, i64 8 %38 = load ptr, ptr %37, align 8, !tbaa !12 %39 = icmp eq ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @mutex_unlock(ptr noundef nonnull %33) #2 br label %54 42: ; preds = %36 %43 = tail call i64 @XPC_MSG_SIZE(i64 noundef %3) #2 %44 = getelementptr inbounds i8, ptr %33, i64 48 store i64 %43, ptr %44, align 8, !tbaa !15 %45 = getelementptr inbounds i8, ptr %33, i64 40 store i64 %4, ptr %45, align 8, !tbaa !16 %46 = getelementptr inbounds i8, ptr %33, i64 32 store i64 %5, ptr %46, align 8, !tbaa !17 %47 = getelementptr inbounds i8, ptr %33, i64 24 store i64 %6, ptr %47, align 8, !tbaa !18 %48 = getelementptr inbounds i8, ptr %33, i64 16 store ptr %2, ptr %48, align 8, !tbaa !19 store ptr %1, ptr %37, align 8, !tbaa !12 %49 = tail call i32 @mutex_unlock(ptr noundef nonnull %33) #2 %50 = load ptr, ptr @xpc_interface, align 8, !tbaa !20 %51 = icmp eq ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %42 %53 = tail call i32 %50(i32 noundef %0) #2 br label %54 54: ; preds = %42, %52, %30, %7, %40 %55 = phi ptr [ @xpAlreadyRegistered, %40 ], [ @xpPayloadTooBig, %7 ], [ @xpInterrupted, %30 ], [ @xpSuccess, %52 ], [ @xpSuccess, %42 ] %56 = load i32, ptr %55, align 4, !tbaa !22 ret i32 %56 } declare i32 @DBUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @XPC_MSG_SIZE(i64 noundef) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"xpc_registration", !14, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48} !14 = !{!"int", !8, i64 0} !15 = !{!13, !7, i64 48} !16 = !{!13, !7, i64 40} !17 = !{!13, !7, i64 32} !18 = !{!13, !7, i64 24} !19 = !{!13, !11, i64 16} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_2__", !11, i64 0} !22 = !{!14, !14, i64 0}
linux_drivers_misc_sgi-xp_extr_xp_main.c_xpc_connect
; ModuleID = 'AnghaBench/freebsd/usr.sbin/nscd/extr_query.c_on_transform_request_read1.c' source_filename = "AnghaBench/freebsd/usr.sbin/nscd/extr_query.c_on_transform_request_read1.c" target datalayout = "e-m:e-p270:32:32-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.query_state = type { i64, ptr, i32, i32 } %struct.cache_transform_request = type { i64, i64, ptr } @CET_TRANSFORM_REQUEST = dso_local local_unnamed_addr global i32 0, align 4 @TT_USER = dso_local local_unnamed_addr global i64 0, align 8 @TT_ALL = dso_local local_unnamed_addr global i64 0, align 8 @on_transform_request_read2 = dso_local local_unnamed_addr global i32 0, align 4 @on_transform_request_process = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @on_transform_request_read1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @on_transform_request_read1(ptr noundef %0) #0 { %2 = tail call i32 @TRACE_IN(ptr noundef nonnull @on_transform_request_read1) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %45, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.query_state, ptr %0, i64 0, i32 3 %7 = load i32, ptr @CET_TRANSFORM_REQUEST, align 4, !tbaa !12 %8 = tail call i32 @init_comm_element(ptr noundef nonnull %6, i32 noundef %7) #2 %9 = tail call ptr @get_cache_transform_request(ptr noundef nonnull %6) #2 %10 = getelementptr inbounds %struct.query_state, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %9, i32 noundef 8) #2 %13 = load ptr, ptr %10, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.cache_transform_request, ptr %9, i64 0, i32 1 %15 = tail call i32 %13(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 4) #2 %16 = add nsw i32 %15, %12 %17 = icmp eq i32 %16, 12 br i1 %17, label %18, label %47 18: ; preds = %5 %19 = load i64, ptr %14, align 8, !tbaa !14 %20 = load i64, ptr @TT_USER, align 8, !tbaa !16 %21 = icmp eq i64 %19, %20 %22 = load i64, ptr @TT_ALL, align 8 %23 = icmp eq i64 %19, %22 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %25, label %47 25: ; preds = %18 %26 = load i64, ptr %9, align 8, !tbaa !17 %27 = icmp eq i64 %26, 0 br i1 %27, label %42, label %28 28: ; preds = %25 %29 = tail call i64 @BUFSIZE_INVALID(i64 noundef %26) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %28 %32 = load i64, ptr %9, align 8, !tbaa !17 %33 = add nsw i64 %32, 1 %34 = tail call ptr @calloc(i32 noundef 1, i64 noundef %33) #2 %35 = getelementptr inbounds %struct.cache_transform_request, ptr %9, i64 0, i32 2 store ptr %34, ptr %35, align 8, !tbaa !18 %36 = icmp ne ptr %34, null %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = load i32, ptr @on_transform_request_read2, align 4, !tbaa !12 %40 = getelementptr inbounds %struct.query_state, ptr %0, i64 0, i32 2 store i32 %39, ptr %40, align 8, !tbaa !19 %41 = load i64, ptr %9, align 8, !tbaa !17 br label %45 42: ; preds = %25 %43 = load i32, ptr @on_transform_request_process, align 4, !tbaa !12 %44 = getelementptr inbounds %struct.query_state, ptr %0, i64 0, i32 2 store i32 %43, ptr %44, align 8, !tbaa !19 br label %45 45: ; preds = %31, %42, %1 %46 = phi i64 [ 12, %1 ], [ 0, %42 ], [ %41, %31 ] store i64 %46, ptr %0, align 8, !tbaa !5 br label %47 47: ; preds = %28, %18, %5, %45 %48 = phi i32 [ 0, %45 ], [ -1, %5 ], [ -1, %18 ], [ -1, %28 ] %49 = tail call i32 @TRACE_OUT(ptr noundef nonnull @on_transform_request_read1) #2 ret i32 %48 } declare i32 @TRACE_IN(ptr noundef) local_unnamed_addr #1 declare i32 @init_comm_element(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @get_cache_transform_request(ptr noundef) local_unnamed_addr #1 declare i32 @TRACE_OUT(ptr noundef) local_unnamed_addr #1 declare i64 @BUFSIZE_INVALID(i64 noundef) local_unnamed_addr #1 declare ptr @calloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"query_state", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20} !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 = !{!11, !11, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!15, !7, i64 8} !15 = !{!"cache_transform_request", !7, i64 0, !7, i64 8, !10, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!15, !7, i64 0} !18 = !{!15, !10, i64 16} !19 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/nscd/extr_query.c_on_transform_request_read1.c' source_filename = "AnghaBench/freebsd/usr.sbin/nscd/extr_query.c_on_transform_request_read1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CET_TRANSFORM_REQUEST = common local_unnamed_addr global i32 0, align 4 @TT_USER = common local_unnamed_addr global i64 0, align 8 @TT_ALL = common local_unnamed_addr global i64 0, align 8 @on_transform_request_read2 = common local_unnamed_addr global i32 0, align 4 @on_transform_request_process = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @on_transform_request_read1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @on_transform_request_read1(ptr noundef %0) #0 { %2 = tail call i32 @TRACE_IN(ptr noundef nonnull @on_transform_request_read1) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %45, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 20 %7 = load i32, ptr @CET_TRANSFORM_REQUEST, align 4, !tbaa !13 %8 = tail call i32 @init_comm_element(ptr noundef nonnull %6, i32 noundef %7) #2 %9 = tail call ptr @get_cache_transform_request(ptr noundef nonnull %6) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %9, i32 noundef 8) #2 %13 = load ptr, ptr %10, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %9, i64 8 %15 = tail call i32 %13(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 4) #2 %16 = add nsw i32 %15, %12 %17 = icmp eq i32 %16, 12 br i1 %17, label %18, label %47 18: ; preds = %5 %19 = load i64, ptr %14, align 8, !tbaa !15 %20 = load i64, ptr @TT_USER, align 8, !tbaa !17 %21 = icmp eq i64 %19, %20 %22 = load i64, ptr @TT_ALL, align 8 %23 = icmp eq i64 %19, %22 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %25, label %47 25: ; preds = %18 %26 = load i64, ptr %9, align 8, !tbaa !18 %27 = icmp eq i64 %26, 0 br i1 %27, label %42, label %28 28: ; preds = %25 %29 = tail call i64 @BUFSIZE_INVALID(i64 noundef %26) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %28 %32 = load i64, ptr %9, align 8, !tbaa !18 %33 = add nsw i64 %32, 1 %34 = tail call ptr @calloc(i32 noundef 1, i64 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %9, i64 16 store ptr %34, ptr %35, align 8, !tbaa !19 %36 = icmp ne ptr %34, null %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = load i32, ptr @on_transform_request_read2, align 4, !tbaa !13 %40 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %39, ptr %40, align 8, !tbaa !20 %41 = load i64, ptr %9, align 8, !tbaa !18 br label %45 42: ; preds = %25 %43 = load i32, ptr @on_transform_request_process, align 4, !tbaa !13 %44 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %43, ptr %44, align 8, !tbaa !20 br label %45 45: ; preds = %31, %42, %1 %46 = phi i64 [ 12, %1 ], [ 0, %42 ], [ %41, %31 ] store i64 %46, ptr %0, align 8, !tbaa !6 br label %47 47: ; preds = %28, %18, %5, %45 %48 = phi i32 [ 0, %45 ], [ -1, %5 ], [ -1, %18 ], [ -1, %28 ] %49 = tail call i32 @TRACE_OUT(ptr noundef nonnull @on_transform_request_read1) #2 ret i32 %48 } declare i32 @TRACE_IN(ptr noundef) local_unnamed_addr #1 declare i32 @init_comm_element(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @get_cache_transform_request(ptr noundef) local_unnamed_addr #1 declare i32 @TRACE_OUT(ptr noundef) local_unnamed_addr #1 declare i64 @BUFSIZE_INVALID(i64 noundef) local_unnamed_addr #1 declare ptr @calloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"query_state", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20} !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 = !{!12, !12, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!16, !8, i64 8} !16 = !{!"cache_transform_request", !8, i64 0, !8, i64 8, !11, i64 16} !17 = !{!8, !8, i64 0} !18 = !{!16, !8, i64 0} !19 = !{!16, !11, i64 16} !20 = !{!7, !12, i64 16}
freebsd_usr.sbin_nscd_extr_query.c_on_transform_request_read1
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.c_mv88e6390_watchdog_action.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.c_mv88e6390_watchdog_action.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mv88e6xxx_chip = type { ptr, i32 } @MV88E6390_G2_WDOG_CTL = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_G2_WDOG_CTL_PTR_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Watchdog event: 0x%04x\00", align 1 @MV88E6390_G2_WDOG_CTL_DATA_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_G2_WDOG_CTL_PTR_HISTORY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Watchdog history: 0x%04x\00", align 1 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mv88e6390_watchdog_action], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mv88e6390_watchdog_action(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !5 %5 = load i32, ptr @MV88E6390_G2_WDOG_CTL_PTR_EVENT, align 4, !tbaa !5 %6 = tail call i32 @mv88e6xxx_g2_write(ptr noundef %0, i32 noundef %4, i32 noundef %5) #3 %7 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !5 %8 = call i32 @mv88e6xxx_g2_read(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = getelementptr inbounds %struct.mv88e6xxx_chip, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !9 %11 = load i32, ptr %3, align 4, !tbaa !5 %12 = load i32, ptr @MV88E6390_G2_WDOG_CTL_DATA_MASK, align 4, !tbaa !5 %13 = and i32 %12, %11 %14 = call i32 @dev_info(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %13) #3 %15 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !5 %16 = load i32, ptr @MV88E6390_G2_WDOG_CTL_PTR_HISTORY, align 4, !tbaa !5 %17 = call i32 @mv88e6xxx_g2_write(ptr noundef %0, i32 noundef %15, i32 noundef %16) #3 %18 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !5 %19 = call i32 @mv88e6xxx_g2_read(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3) #3 %20 = load i32, ptr %9, align 8, !tbaa !9 %21 = load i32, ptr %3, align 4, !tbaa !5 %22 = load i32, ptr @MV88E6390_G2_WDOG_CTL_DATA_MASK, align 4, !tbaa !5 %23 = and i32 %22, %21 %24 = call i32 @dev_info(i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef %23) #3 %25 = load ptr, ptr %0, align 8, !tbaa !12 %26 = load ptr, ptr %25, align 8, !tbaa !13 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = icmp eq ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %2 %30 = call i32 %27(ptr noundef nonnull %0) #3 br label %31 31: ; preds = %29, %2 %32 = call i32 @mv88e6390_watchdog_setup(ptr noundef nonnull %0) #3 %33 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, 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 @mv88e6xxx_g2_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mv88e6xxx_g2_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mv88e6390_watchdog_setup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"mv88e6xxx_chip", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_4__", !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_3__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.c_mv88e6390_watchdog_action.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_global2.c_mv88e6390_watchdog_action.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MV88E6390_G2_WDOG_CTL = common local_unnamed_addr global i32 0, align 4 @MV88E6390_G2_WDOG_CTL_PTR_EVENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Watchdog event: 0x%04x\00", align 1 @MV88E6390_G2_WDOG_CTL_DATA_MASK = common local_unnamed_addr global i32 0, align 4 @MV88E6390_G2_WDOG_CTL_PTR_HISTORY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Watchdog history: 0x%04x\00", align 1 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mv88e6390_watchdog_action], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mv88e6390_watchdog_action(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !6 %5 = load i32, ptr @MV88E6390_G2_WDOG_CTL_PTR_EVENT, align 4, !tbaa !6 %6 = tail call i32 @mv88e6xxx_g2_write(ptr noundef %0, i32 noundef %4, i32 noundef %5) #3 %7 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !6 %8 = call i32 @mv88e6xxx_g2_read(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !10 %11 = load i32, ptr %3, align 4, !tbaa !6 %12 = load i32, ptr @MV88E6390_G2_WDOG_CTL_DATA_MASK, align 4, !tbaa !6 %13 = and i32 %12, %11 %14 = call i32 @dev_info(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %13) #3 %15 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !6 %16 = load i32, ptr @MV88E6390_G2_WDOG_CTL_PTR_HISTORY, align 4, !tbaa !6 %17 = call i32 @mv88e6xxx_g2_write(ptr noundef %0, i32 noundef %15, i32 noundef %16) #3 %18 = load i32, ptr @MV88E6390_G2_WDOG_CTL, align 4, !tbaa !6 %19 = call i32 @mv88e6xxx_g2_read(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3) #3 %20 = load i32, ptr %9, align 8, !tbaa !10 %21 = load i32, ptr %3, align 4, !tbaa !6 %22 = load i32, ptr @MV88E6390_G2_WDOG_CTL_DATA_MASK, align 4, !tbaa !6 %23 = and i32 %22, %21 %24 = call i32 @dev_info(i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef %23) #3 %25 = load ptr, ptr %0, align 8, !tbaa !13 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = load ptr, ptr %26, align 8, !tbaa !16 %28 = icmp eq ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %2 %30 = call i32 %27(ptr noundef nonnull %0) #3 br label %31 31: ; preds = %29, %2 %32 = call i32 @mv88e6390_watchdog_setup(ptr noundef nonnull %0) #3 %33 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, 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 @mv88e6xxx_g2_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mv88e6xxx_g2_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mv88e6390_watchdog_setup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"mv88e6xxx_chip", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_4__", !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_3__", !12, i64 0}
linux_drivers_net_dsa_mv88e6xxx_extr_global2.c_mv88e6390_watchdog_action
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_txend_to_xpa_off_apply.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_txend_to_xpa_off_apply.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AR_PHY_XPA_TIMING_CTL = dso_local local_unnamed_addr global i32 0, align 4 @AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF = dso_local local_unnamed_addr global i32 0, align 4 @AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ar9003_hw_txend_to_xpa_off_apply], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ar9003_hw_txend_to_xpa_off_apply(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @ar9003_modal_header(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr @AR_PHY_XPA_TIMING_CTL, align 4, !tbaa !10 %6 = load i32, ptr @AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF, align 4, !tbaa !10 %7 = tail call i32 @REG_RMW_FIELD(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %4) #2 %8 = load i32, ptr @AR_PHY_XPA_TIMING_CTL, align 4, !tbaa !10 %9 = load i32, ptr @AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF, align 4, !tbaa !10 %10 = tail call i32 @REG_RMW_FIELD(ptr noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %4) #2 ret void } declare ptr @ar9003_modal_header(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_RMW_FIELD(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 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_txend_to_xpa_off_apply.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_txend_to_xpa_off_apply.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AR_PHY_XPA_TIMING_CTL = common local_unnamed_addr global i32 0, align 4 @AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF = common local_unnamed_addr global i32 0, align 4 @AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ar9003_hw_txend_to_xpa_off_apply], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ar9003_hw_txend_to_xpa_off_apply(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @ar9003_modal_header(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr @AR_PHY_XPA_TIMING_CTL, align 4, !tbaa !11 %6 = load i32, ptr @AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF, align 4, !tbaa !11 %7 = tail call i32 @REG_RMW_FIELD(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %4) #2 %8 = load i32, ptr @AR_PHY_XPA_TIMING_CTL, align 4, !tbaa !11 %9 = load i32, ptr @AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF, align 4, !tbaa !11 %10 = tail call i32 @REG_RMW_FIELD(ptr noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %4) #2 ret void } declare ptr @ar9003_modal_header(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_RMW_FIELD(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 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_wireless_ath_ath9k_extr_ar9003_eeprom.c_ar9003_hw_txend_to_xpa_off_apply
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_io_apic.c_ioapic_write_entry.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_io_apic.c_ioapic_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" @ioapic_lock = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ioapic_write_entry(i32 noundef %0, i32 noundef %1, i32 %2) local_unnamed_addr #0 { %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ioapic_lock, i64 noundef undef) #2 %5 = tail call i32 @__ioapic_write_entry(i32 noundef %0, i32 noundef %1, i32 %2) #2 %6 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ioapic_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__ioapic_write_entry(i32 noundef, i32 noundef, i32) 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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_io_apic.c_ioapic_write_entry.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/apic/extr_io_apic.c_ioapic_write_entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ioapic_lock = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ioapic_write_entry(i32 noundef %0, i32 noundef %1, i64 %2) local_unnamed_addr #0 { %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ioapic_lock, i64 noundef undef) #2 %5 = and i64 %2, 4294967295 %6 = tail call i32 @__ioapic_write_entry(i32 noundef %0, i32 noundef %1, i64 %5) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ioapic_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__ioapic_write_entry(i32 noundef, i32 noundef, i64) 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)"}
fastsocket_kernel_arch_x86_kernel_apic_extr_io_apic.c_ioapic_write_entry
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_rfbi.c_rfbi_set_timings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_rfbi.c_rfbi_set_timings.c" target datalayout = "e-m:e-p270:32:32-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.extif_timings = type { ptr, i32 } @RFBI_ONOFF_TIME0 = dso_local local_unnamed_addr global i32 0, align 4 @RFBI_CYCLE_TIME0 = dso_local local_unnamed_addr global i32 0, align 4 @RFBI_CONFIG0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rfbi_set_timings], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rfbi_set_timings(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.extif_timings, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 @rfbi_enable_clocks(i32 noundef 1) #2 %8 = load i32, ptr @RFBI_ONOFF_TIME0, align 4, !tbaa !11 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i32 @rfbi_write_reg(i32 noundef %8, i32 noundef %10) #2 %12 = load i32, ptr @RFBI_CYCLE_TIME0, align 4, !tbaa !11 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = getelementptr inbounds i32, ptr %13, i64 1 %15 = load i32, ptr %14, align 4, !tbaa !11 %16 = tail call i32 @rfbi_write_reg(i32 noundef %12, i32 noundef %15) #2 %17 = load i32, ptr @RFBI_CONFIG0, align 4, !tbaa !11 %18 = tail call i32 @rfbi_read_reg(i32 noundef %17) #2 %19 = and i32 %18, -17 %20 = load ptr, ptr %0, align 8, !tbaa !12 %21 = getelementptr inbounds i32, ptr %20, i64 2 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = icmp eq i32 %22, 0 %24 = select i1 %23, i32 0, i32 16 %25 = or disjoint i32 %24, %19 %26 = load i32, ptr @RFBI_CONFIG0, align 4, !tbaa !11 %27 = tail call i32 @rfbi_write_reg(i32 noundef %26, i32 noundef %25) #2 %28 = tail call i32 (...) @rfbi_print_timings() #2 %29 = tail call i32 @rfbi_enable_clocks(i32 noundef 0) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_enable_clocks(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_read_reg(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_print_timings(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"extif_timings", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_rfbi.c_rfbi_set_timings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_rfbi.c_rfbi_set_timings.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RFBI_ONOFF_TIME0 = common local_unnamed_addr global i32 0, align 4 @RFBI_CYCLE_TIME0 = common local_unnamed_addr global i32 0, align 4 @RFBI_CONFIG0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rfbi_set_timings], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rfbi_set_timings(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 @rfbi_enable_clocks(i32 noundef 1) #2 %8 = load i32, ptr @RFBI_ONOFF_TIME0, align 4, !tbaa !12 %9 = load ptr, ptr %0, align 8, !tbaa !13 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = tail call i32 @rfbi_write_reg(i32 noundef %8, i32 noundef %10) #2 %12 = load i32, ptr @RFBI_CYCLE_TIME0, align 4, !tbaa !12 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = tail call i32 @rfbi_write_reg(i32 noundef %12, i32 noundef %15) #2 %17 = load i32, ptr @RFBI_CONFIG0, align 4, !tbaa !12 %18 = tail call i32 @rfbi_read_reg(i32 noundef %17) #2 %19 = and i32 %18, -17 %20 = load ptr, ptr %0, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %20, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = icmp eq i32 %22, 0 %24 = select i1 %23, i32 0, i32 16 %25 = or disjoint i32 %24, %19 %26 = load i32, ptr @RFBI_CONFIG0, align 4, !tbaa !12 %27 = tail call i32 @rfbi_write_reg(i32 noundef %26, i32 noundef %25) #2 %28 = tail call i32 @rfbi_print_timings() #2 %29 = tail call i32 @rfbi_enable_clocks(i32 noundef 0) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_enable_clocks(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_read_reg(i32 noundef) local_unnamed_addr #1 declare i32 @rfbi_print_timings(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"extif_timings", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_video_omap_extr_rfbi.c_rfbi_set_timings
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/dreamcast/sh2rec/extr_sh2rec_htab.c_hash_addr.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/dreamcast/sh2rec/extr_sh2rec_htab.c_hash_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SH2REC_HTAB_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hash_addr], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @hash_addr(i32 noundef %0) #0 { %2 = lshr i32 %0, 2 %3 = xor i32 %2, 663608940 %4 = load i32, ptr @SH2REC_HTAB_ENTRIES, align 4, !tbaa !5 %5 = add i32 %4, 1073741823 %6 = and i32 %5, %3 ret i32 %6 } 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/Provenance/Cores/Yabause/yabause/src/dreamcast/sh2rec/extr_sh2rec_htab.c_hash_addr.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/dreamcast/sh2rec/extr_sh2rec_htab.c_hash_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SH2REC_HTAB_ENTRIES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hash_addr], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 1073741824) i32 @hash_addr(i32 noundef %0) #0 { %2 = lshr i32 %0, 2 %3 = xor i32 %2, 663608940 %4 = load i32, ptr @SH2REC_HTAB_ENTRIES, align 4, !tbaa !6 %5 = add i32 %4, 1073741823 %6 = and i32 %5, %3 ret i32 %6 } 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"}
Provenance_Cores_Yabause_yabause_src_dreamcast_sh2rec_extr_sh2rec_htab.c_hash_addr
; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_next_test.c' source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_next_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" %struct.testsuite = type { i64, i64, i64, i64, i64, i64, i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64, ptr } %struct.TYPE_3__ = type { ptr } @.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"--quiet\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-V\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"--write-junit-xml\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Output of '%s':\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @next_test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @next_test(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 7 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %53 9: ; preds = %4 %10 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 7, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = add nsw i64 %5, 1 store i64 %12, ptr %2, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %5 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = tail call i32 @argv_array_pushl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %14, ptr noundef null) #2 %16 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 6 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %9 %20 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %19, %9 %22 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 5 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %27 27: ; preds = %25, %21 %28 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 4 %29 = load i64, ptr %28, align 8, !tbaa !18 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.3) #2 br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 3 %35 = load i64, ptr %34, align 8, !tbaa !19 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %33 %38 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.4) #2 br label %39 39: ; preds = %37, %33 %40 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 2 %41 = load i64, ptr %40, align 8, !tbaa !20 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %39 %44 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.5) #2 br label %45 45: ; preds = %43, %39 %46 = getelementptr inbounds %struct.testsuite, ptr %2, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !21 %48 = icmp eq i64 %47, 0 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.6) #2 br label %51 51: ; preds = %49, %45 %52 = tail call i32 @strbuf_addf(ptr noundef %1, ptr noundef nonnull @.str.7, ptr noundef %14) #2 store ptr %14, ptr %3, align 8, !tbaa !22 br label %53 53: ; preds = %4, %51 %54 = phi i32 [ 1, %51 ], [ 0, %4 ] ret i32 %54 } declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"testsuite", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !7, i64 0, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 56} !13 = !{!6, !11, i64 64} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_3__", !11, i64 0} !16 = !{!6, !7, i64 48} !17 = !{!6, !7, i64 40} !18 = !{!6, !7, i64 32} !19 = !{!6, !7, i64 24} !20 = !{!6, !7, i64 16} !21 = !{!6, !7, i64 8} !22 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/git/t/helper/extr_test-run-command.c_next_test.c' source_filename = "AnghaBench/git/t/helper/extr_test-run-command.c_next_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr } @.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"--quiet\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-V\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"--write-junit-xml\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Output of '%s':\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @next_test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @next_test(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 56 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %53 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %2, i64 64 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = add nsw i64 %5, 1 store i64 %12, ptr %2, align 8, !tbaa !6 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 %5 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @argv_array_pushl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %14, ptr noundef null) #2 %16 = getelementptr inbounds i8, ptr %2, i64 48 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %9 %20 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %19, %9 %22 = getelementptr inbounds i8, ptr %2, i64 40 %23 = load i64, ptr %22, align 8, !tbaa !18 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %27 27: ; preds = %25, %21 %28 = getelementptr inbounds i8, ptr %2, i64 32 %29 = load i64, ptr %28, align 8, !tbaa !19 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.3) #2 br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds i8, ptr %2, i64 24 %35 = load i64, ptr %34, align 8, !tbaa !20 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %33 %38 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.4) #2 br label %39 39: ; preds = %37, %33 %40 = getelementptr inbounds i8, ptr %2, i64 16 %41 = load i64, ptr %40, align 8, !tbaa !21 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %39 %44 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.5) #2 br label %45 45: ; preds = %43, %39 %46 = getelementptr inbounds i8, ptr %2, i64 8 %47 = load i64, ptr %46, align 8, !tbaa !22 %48 = icmp eq i64 %47, 0 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call i32 @argv_array_push(ptr noundef %0, ptr noundef nonnull @.str.6) #2 br label %51 51: ; preds = %49, %45 %52 = tail call i32 @strbuf_addf(ptr noundef %1, ptr noundef nonnull @.str.7, ptr noundef %14) #2 store ptr %14, ptr %3, align 8, !tbaa !23 br label %53 53: ; preds = %4, %51 %54 = phi i32 [ 1, %51 ], [ 0, %4 ] ret i32 %54 } declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"testsuite", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !11, i64 56} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 56} !14 = !{!7, !12, i64 64} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_3__", !12, i64 0} !17 = !{!7, !8, i64 48} !18 = !{!7, !8, i64 40} !19 = !{!7, !8, i64 32} !20 = !{!7, !8, i64 24} !21 = !{!7, !8, i64 16} !22 = !{!7, !8, i64 8} !23 = !{!12, !12, i64 0}
git_t_helper_extr_test-run-command.c_next_test
; ModuleID = 'AnghaBench/linux/net/nfc/extr_llcp_core.c_nfc_llcp_local_put.c' source_filename = "AnghaBench/linux/net/nfc/extr_llcp_core.c_nfc_llcp_local_put.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @local_release = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nfc_llcp_local_put(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr @local_release, align 4, !tbaa !5 %5 = tail call i32 @kref_put(ptr noundef nonnull %0, i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 %7 = phi i32 [ %5, %3 ], [ 0, %1 ] ret i32 %7 } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/nfc/extr_llcp_core.c_nfc_llcp_local_put.c' source_filename = "AnghaBench/linux/net/nfc/extr_llcp_core.c_nfc_llcp_local_put.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @local_release = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @nfc_llcp_local_put(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr @local_release, align 4, !tbaa !6 %5 = tail call i32 @kref_put(ptr noundef nonnull %0, i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 %7 = phi i32 [ %5, %3 ], [ 0, %1 ] ret i32 %7 } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_nfc_extr_llcp_core.c_nfc_llcp_local_put
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c___nfs4_file_put_access.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c___nfs4_file_put_access.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @O_RDWR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__nfs4_file_put_access], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__nfs4_file_put_access(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = tail call i64 @atomic_dec_and_test(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %2 %9 = tail call i32 @nfs4_file_put_fd(ptr noundef nonnull %0, i32 noundef %1) #2 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = sub nsw i32 1, %1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = tail call i64 @atomic_read(ptr noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @O_RDWR, align 4, !tbaa !10 %18 = tail call i32 @nfs4_file_put_fd(ptr noundef nonnull %0, i32 noundef %17) #2 br label %19 19: ; preds = %8, %16, %2 ret void } declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1 declare i32 @nfs4_file_put_fd(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @atomic_read(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 = !{!"nfs4_file", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c___nfs4_file_put_access.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c___nfs4_file_put_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @O_RDWR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__nfs4_file_put_access], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__nfs4_file_put_access(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = tail call i64 @atomic_dec_and_test(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %2 %9 = tail call i32 @nfs4_file_put_fd(ptr noundef nonnull %0, i32 noundef %1) #2 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = sub nsw i32 1, %1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = tail call i64 @atomic_read(ptr noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @O_RDWR, align 4, !tbaa !11 %18 = tail call i32 @nfs4_file_put_fd(ptr noundef nonnull %0, i32 noundef %17) #2 br label %19 19: ; preds = %8, %16, %2 ret void } declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1 declare i32 @nfs4_file_put_fd(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @atomic_read(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 = !{!"nfs4_file", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
fastsocket_kernel_fs_nfsd_extr_nfs4state.c___nfs4_file_put_access
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_marvell.c_linkmode_adv_to_fiber_adv_t.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_marvell.c_linkmode_adv_to_fiber_adv_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ETHTOOL_LINK_MODE_1000baseT_Half_BIT = dso_local local_unnamed_addr global i32 0, align 4 @ADVERTISE_FIBER_1000HALF = dso_local local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_1000baseT_Full_BIT = dso_local local_unnamed_addr global i32 0, align 4 @ADVERTISE_FIBER_1000FULL = dso_local local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_Asym_Pause_BIT = dso_local local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_Pause_BIT = dso_local local_unnamed_addr global i32 0, align 4 @LPA_PAUSE_ASYM_FIBER = dso_local local_unnamed_addr global i32 0, align 4 @ADVERTISE_PAUSE_FIBER = dso_local local_unnamed_addr global i32 0, align 4 @ADVERTISE_PAUSE_ASYM_FIBER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @linkmode_adv_to_fiber_adv_t], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @linkmode_adv_to_fiber_adv_t(ptr noundef %0) #0 { %2 = load i32, ptr @ETHTOOL_LINK_MODE_1000baseT_Half_BIT, align 4, !tbaa !5 %3 = tail call i64 @linkmode_test_bit(i32 noundef %2, ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @ADVERTISE_FIBER_1000HALF, align 4 %6 = select i1 %4, i32 0, i32 %5 %7 = load i32, ptr @ETHTOOL_LINK_MODE_1000baseT_Full_BIT, align 4, !tbaa !5 %8 = tail call i64 @linkmode_test_bit(i32 noundef %7, ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @ADVERTISE_FIBER_1000FULL, align 4 %11 = select i1 %9, i32 0, i32 %10 %12 = or i32 %11, %6 %13 = load i32, ptr @ETHTOOL_LINK_MODE_Asym_Pause_BIT, align 4, !tbaa !5 %14 = tail call i64 @linkmode_test_bit(i32 noundef %13, ptr noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %1 %17 = load i32, ptr @ETHTOOL_LINK_MODE_Pause_BIT, align 4, !tbaa !5 %18 = tail call i64 @linkmode_test_bit(i32 noundef %17, ptr noundef %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load i32, ptr @LPA_PAUSE_ASYM_FIBER, align 4, !tbaa !5 %22 = or i32 %21, %12 br label %33 23: ; preds = %16, %1 %24 = load i32, ptr @ETHTOOL_LINK_MODE_Pause_BIT, align 4, !tbaa !5 %25 = tail call i64 @linkmode_test_bit(i32 noundef %24, ptr noundef %0) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %23 %28 = load i32, ptr @ADVERTISE_PAUSE_FIBER, align 4, !tbaa !5 %29 = load i32, ptr @ADVERTISE_PAUSE_ASYM_FIBER, align 4, !tbaa !5 %30 = xor i32 %29, -1 %31 = and i32 %28, %30 %32 = or i32 %31, %12 br label %33 33: ; preds = %23, %27, %20 %34 = phi i32 [ %22, %20 ], [ %32, %27 ], [ %12, %23 ] ret i32 %34 } declare i64 @linkmode_test_bit(i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_marvell.c_linkmode_adv_to_fiber_adv_t.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_marvell.c_linkmode_adv_to_fiber_adv_t.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETHTOOL_LINK_MODE_1000baseT_Half_BIT = common local_unnamed_addr global i32 0, align 4 @ADVERTISE_FIBER_1000HALF = common local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_1000baseT_Full_BIT = common local_unnamed_addr global i32 0, align 4 @ADVERTISE_FIBER_1000FULL = common local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_Asym_Pause_BIT = common local_unnamed_addr global i32 0, align 4 @ETHTOOL_LINK_MODE_Pause_BIT = common local_unnamed_addr global i32 0, align 4 @LPA_PAUSE_ASYM_FIBER = common local_unnamed_addr global i32 0, align 4 @ADVERTISE_PAUSE_FIBER = common local_unnamed_addr global i32 0, align 4 @ADVERTISE_PAUSE_ASYM_FIBER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @linkmode_adv_to_fiber_adv_t], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @linkmode_adv_to_fiber_adv_t(ptr noundef %0) #0 { %2 = load i32, ptr @ETHTOOL_LINK_MODE_1000baseT_Half_BIT, align 4, !tbaa !6 %3 = tail call i64 @linkmode_test_bit(i32 noundef %2, ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @ADVERTISE_FIBER_1000HALF, align 4 %6 = select i1 %4, i32 0, i32 %5 %7 = load i32, ptr @ETHTOOL_LINK_MODE_1000baseT_Full_BIT, align 4, !tbaa !6 %8 = tail call i64 @linkmode_test_bit(i32 noundef %7, ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @ADVERTISE_FIBER_1000FULL, align 4 %11 = select i1 %9, i32 0, i32 %10 %12 = or i32 %11, %6 %13 = load i32, ptr @ETHTOOL_LINK_MODE_Asym_Pause_BIT, align 4, !tbaa !6 %14 = tail call i64 @linkmode_test_bit(i32 noundef %13, ptr noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %1 %17 = load i32, ptr @ETHTOOL_LINK_MODE_Pause_BIT, align 4, !tbaa !6 %18 = tail call i64 @linkmode_test_bit(i32 noundef %17, ptr noundef %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load i32, ptr @LPA_PAUSE_ASYM_FIBER, align 4, !tbaa !6 %22 = or i32 %21, %12 br label %33 23: ; preds = %16, %1 %24 = load i32, ptr @ETHTOOL_LINK_MODE_Pause_BIT, align 4, !tbaa !6 %25 = tail call i64 @linkmode_test_bit(i32 noundef %24, ptr noundef %0) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %23 %28 = load i32, ptr @ADVERTISE_PAUSE_FIBER, align 4, !tbaa !6 %29 = load i32, ptr @ADVERTISE_PAUSE_ASYM_FIBER, align 4, !tbaa !6 %30 = xor i32 %29, -1 %31 = and i32 %28, %30 %32 = or i32 %31, %12 br label %33 33: ; preds = %23, %27, %20 %34 = phi i32 [ %22, %20 ], [ %32, %27 ], [ %12, %23 ] ret i32 %34 } declare i64 @linkmode_test_bit(i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_phy_extr_marvell.c_linkmode_adv_to_fiber_adv_t
; ModuleID = 'AnghaBench/RetroArch/deps/7zip/extr_Bra.c_PPC_Convert.c' source_filename = "AnghaBench/RetroArch/deps/7zip/extr_Bra.c_PPC_Convert.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local i64 @PPC_Convert(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp ult i64 %1, 4 br i1 %5, label %50, label %6 6: ; preds = %4 %7 = add i64 %1, -4 %8 = icmp eq i32 %3, 0 br label %9 9: ; preds = %6, %47 %10 = phi i64 [ 0, %6 ], [ %48, %47 ] %11 = getelementptr inbounds i32, ptr %0, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !5 %13 = and i32 %12, -4 %14 = icmp eq i32 %13, 72 br i1 %14, label %15, label %47 15: ; preds = %9 %16 = or disjoint i64 %10, 3 %17 = getelementptr inbounds i32, ptr %0, i64 %16 %18 = load i32, ptr %17, align 4, !tbaa !5 %19 = and i32 %18, 3 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %47 21: ; preds = %15 %22 = shl nuw nsw i32 %12, 24 %23 = and i32 %22, 50331648 %24 = or disjoint i64 %10, 1 %25 = getelementptr inbounds i32, ptr %0, i64 %24 %26 = load i32, ptr %25, align 4, !tbaa !5 %27 = shl i32 %26, 16 %28 = or disjoint i64 %10, 2 %29 = getelementptr inbounds i32, ptr %0, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !5 %31 = shl i32 %30, 8 %32 = and i32 %18, -4 %33 = or i32 %32, %23 %34 = or i32 %33, %27 %35 = or i32 %34, %31 %36 = trunc i64 %10 to i32 %37 = add nsw i32 %36, %2 %38 = sub i32 0, %37 %39 = select i1 %8, i32 %38, i32 %37 %40 = add i32 %35, %39 %41 = lshr i32 %40, 24 %42 = and i32 %41, 3 %43 = or disjoint i32 %42, 72 store i32 %43, ptr %11, align 4, !tbaa !5 %44 = ashr i32 %40, 16 store i32 %44, ptr %25, align 4, !tbaa !5 %45 = ashr i32 %40, 8 store i32 %45, ptr %29, align 4, !tbaa !5 %46 = or i32 %40, 1 store i32 %46, ptr %17, align 4, !tbaa !5 br label %47 47: ; preds = %9, %15, %21 %48 = add nuw i64 %10, 4 %49 = icmp ugt i64 %48, %7 br i1 %49, label %50, label %9, !llvm.loop !9 50: ; preds = %47, %4 %51 = phi i64 [ 0, %4 ], [ %48, %47 ] ret i64 %51 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/deps/7zip/extr_Bra.c_PPC_Convert.c' source_filename = "AnghaBench/RetroArch/deps/7zip/extr_Bra.c_PPC_Convert.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(argmem: readwrite) uwtable(sync) define i64 @PPC_Convert(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp ult i64 %1, 4 br i1 %5, label %51, label %6 6: ; preds = %4 %7 = add i64 %1, -4 %8 = icmp eq i32 %3, 0 br label %9 9: ; preds = %6, %48 %10 = phi i64 [ 0, %6 ], [ %49, %48 ] %11 = getelementptr inbounds i32, ptr %0, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !6 %13 = and i32 %12, -4 %14 = icmp eq i32 %13, 72 br i1 %14, label %15, label %48 15: ; preds = %9 %16 = or disjoint i64 %10, 3 %17 = getelementptr inbounds i32, ptr %0, i64 %16 %18 = load i32, ptr %17, align 4, !tbaa !6 %19 = and i32 %18, 3 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %48 21: ; preds = %15 %22 = shl nuw nsw i32 %12, 24 %23 = and i32 %22, 50331648 %24 = or disjoint i64 %10, 1 %25 = getelementptr inbounds i32, ptr %0, i64 %24 %26 = load i32, ptr %25, align 4, !tbaa !6 %27 = shl i32 %26, 16 %28 = or disjoint i64 %10, 2 %29 = getelementptr inbounds i32, ptr %0, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !6 %31 = shl i32 %30, 8 %32 = and i32 %18, -4 %33 = or i32 %32, %23 %34 = or i32 %33, %27 %35 = or i32 %34, %31 %36 = trunc i64 %10 to i32 %37 = add nsw i32 %36, %2 %38 = sub i32 0, %37 %39 = select i1 %8, i32 %38, i32 %37 %40 = add i32 %35, %39 %41 = lshr i32 %40, 24 %42 = and i32 %41, 3 %43 = or disjoint i32 %42, 72 store i32 %43, ptr %11, align 4, !tbaa !6 %44 = insertelement <2 x i32> poison, i32 %40, i64 0 %45 = shufflevector <2 x i32> %44, <2 x i32> poison, <2 x i32> zeroinitializer %46 = ashr <2 x i32> %45, <i32 16, i32 8> store <2 x i32> %46, ptr %25, align 4, !tbaa !6 %47 = or i32 %40, 1 store i32 %47, ptr %17, align 4, !tbaa !6 br label %48 48: ; preds = %9, %15, %21 %49 = add nuw i64 %10, 4 %50 = icmp ugt i64 %49, %7 br i1 %50, label %51, label %9, !llvm.loop !10 51: ; preds = %48, %4 %52 = phi i64 [ 0, %4 ], [ %49, %48 ] ret i64 %52 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
RetroArch_deps_7zip_extr_Bra.c_PPC_Convert
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_cx23885-alsa.c_dsp_buffer_free.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_cx23885-alsa.c_dsp_buffer_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cx23885_audio_dev = type { i64, ptr, i32 } %struct.cx23885_riscmem = type { i32, i32, i32 } @.str = private unnamed_addr constant [16 x i8] c"Freeing buffer\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsp_buffer_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dsp_buffer_free(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #3 %6 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str) #3 %7 = tail call i32 @cx23885_alsa_dma_unmap(ptr noundef nonnull %0) #3 %8 = getelementptr inbounds %struct.cx23885_audio_dev, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = tail call i32 @cx23885_alsa_dma_free(ptr noundef %9) #3 %11 = load ptr, ptr %8, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.cx23885_audio_dev, ptr %0, i64 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.cx23885_riscmem, ptr %11, i64 0, i32 2 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.cx23885_riscmem, ptr %11, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = load i32, ptr %11, align 4, !tbaa !17 %19 = tail call i32 @pci_free_consistent(i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %18) #3 %20 = load ptr, ptr %8, align 8, !tbaa !12 %21 = tail call i32 @kfree(ptr noundef %20) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) ret i32 0 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cx23885_alsa_dma_unmap(ptr noundef) local_unnamed_addr #1 declare i32 @cx23885_alsa_dma_free(ptr noundef) local_unnamed_addr #1 declare i32 @pci_free_consistent(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cx23885_audio_dev", !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, !10, i64 8} !13 = !{!6, !11, i64 16} !14 = !{!15, !11, i64 8} !15 = !{!"cx23885_riscmem", !11, i64 0, !11, i64 4, !11, i64 8} !16 = !{!15, !11, i64 4} !17 = !{!15, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_cx23885-alsa.c_dsp_buffer_free.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_cx23885-alsa.c_dsp_buffer_free.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"Freeing buffer\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dsp_buffer_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dsp_buffer_free(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #3 %6 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str) #3 %7 = tail call i32 @cx23885_alsa_dma_unmap(ptr noundef nonnull %0) #3 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = tail call i32 @cx23885_alsa_dma_free(ptr noundef %9) #3 %11 = load ptr, ptr %8, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %11, i64 8 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds i8, ptr %11, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = load i32, ptr %11, align 4, !tbaa !18 %19 = tail call i32 @pci_free_consistent(i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %18) #3 %20 = load ptr, ptr %8, align 8, !tbaa !13 %21 = tail call i32 @kfree(ptr noundef %20) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) ret i32 0 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cx23885_alsa_dma_unmap(ptr noundef) local_unnamed_addr #1 declare i32 @cx23885_alsa_dma_free(ptr noundef) local_unnamed_addr #1 declare i32 @pci_free_consistent(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cx23885_audio_dev", !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, !11, i64 8} !14 = !{!7, !12, i64 16} !15 = !{!16, !12, i64 8} !16 = !{!"cx23885_riscmem", !12, i64 0, !12, i64 4, !12, i64 8} !17 = !{!16, !12, i64 4} !18 = !{!16, !12, i64 0}
linux_drivers_media_pci_cx23885_extr_cx23885-alsa.c_dsp_buffer_free
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_gdth.c_gdth_search_vortex.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_gdth.c_gdth_search_vortex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCI_DEVICE_ID_VORTEX_GDT6555 = dso_local local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDT6x17RP = dso_local local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTMAXRP = dso_local local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTNEWRX = dso_local local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTNEWRX2 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gdth_search_vortex], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @gdth_search_vortex(i64 noundef %0) #0 { %2 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDT6555, align 8, !tbaa !5 %3 = icmp slt i64 %2, %0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDT6x17RP, align 8, !tbaa !5 %6 = icmp sgt i64 %5, %0 %7 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTMAXRP, align 8 %8 = icmp slt i64 %7, %0 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %10, label %17 10: ; preds = %4 %11 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTNEWRX, align 8, !tbaa !5 %12 = icmp eq i64 %11, %0 %13 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTNEWRX2, align 8 %14 = icmp eq i64 %13, %0 %15 = select i1 %12, i1 true, i1 %14 %16 = zext i1 %15 to i32 br label %17 17: ; preds = %10, %4, %1 %18 = phi i32 [ 1, %1 ], [ 1, %4 ], [ %16, %10 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_gdth.c_gdth_search_vortex.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_gdth.c_gdth_search_vortex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCI_DEVICE_ID_VORTEX_GDT6555 = common local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDT6x17RP = common local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTMAXRP = common local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTNEWRX = common local_unnamed_addr global i64 0, align 8 @PCI_DEVICE_ID_VORTEX_GDTNEWRX2 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @gdth_search_vortex], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @gdth_search_vortex(i64 noundef %0) #0 { %2 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDT6555, align 8, !tbaa !6 %3 = icmp slt i64 %2, %0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDT6x17RP, align 8, !tbaa !6 %6 = icmp sgt i64 %5, %0 %7 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTMAXRP, align 8 %8 = icmp slt i64 %7, %0 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %10, label %17 10: ; preds = %4 %11 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTNEWRX, align 8, !tbaa !6 %12 = icmp eq i64 %11, %0 %13 = load i64, ptr @PCI_DEVICE_ID_VORTEX_GDTNEWRX2, align 8 %14 = icmp eq i64 %13, %0 %15 = select i1 %12, i1 true, i1 %14 %16 = zext i1 %15 to i32 br label %17 17: ; preds = %10, %4, %1 %18 = phi i32 [ 1, %1 ], [ 1, %4 ], [ %16, %10 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_extr_gdth.c_gdth_search_vortex
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_show_help.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_show_help.c" target datalayout = "e-m:e-p270:32:32-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 [83 x i8] c"%s <ip> <port> <sip> <sport> [-u username] [-p userpass] [-v <p321|p320|321|310>]\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @show_help(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #3 %3 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_show_help.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_159.c_show_help.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 [83 x i8] c"%s <ip> <port> <sip> <sport> [-u username] [-p userpass] [-v <p321|p320|321|310>]\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @show_help(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #3 %3 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
exploitdb_exploits_windows_remote_extr_159.c_show_help
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_wmaenc.c_apply_window_and_mdct.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_wmaenc.c_apply_window_and_mdct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_13__ = type { i32, i64 } %struct.TYPE_11__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_12__ = type { ptr } %struct.TYPE_10__ = type { ptr, ptr, ptr } @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Input contains NaN/+-Inf\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @apply_window_and_mdct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @apply_window_and_mdct(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = inttoptr i64 %6 to ptr %8 = load i32, ptr %1, align 8, !tbaa !14 %9 = load i32, ptr %4, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !17 %12 = sub nsw i32 %9, %11 %13 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 7 %14 = load ptr, ptr %13, align 8, !tbaa !18 %15 = sext i32 %12 to i64 %16 = getelementptr inbounds %struct.TYPE_12__, ptr %14, i64 %15 %17 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !19 %19 = getelementptr inbounds ptr, ptr %18, i64 %15 %20 = load ptr, ptr %19, align 8, !tbaa !20 %21 = shl nuw i32 1, %11 %22 = sitofp i32 %21 to double %23 = fdiv double 6.553600e+04, %22 %24 = fptrunc double %23 to float %25 = load i32, ptr %0, align 8, !tbaa !21 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %87 27: ; preds = %2 %28 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 4 %29 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 5 %30 = sext i32 %21 to i64 %31 = shl i32 4, %11 %32 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 6 %33 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 3 br label %39 34: ; preds = %39 %35 = add nuw nsw i64 %40, 1 %36 = load i32, ptr %0, align 8, !tbaa !21 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %39, label %87, !llvm.loop !22 39: ; preds = %27, %34 %40 = phi i64 [ 0, %27 ], [ %35, %34 ] %41 = load ptr, ptr %28, align 8, !tbaa !24 %42 = load ptr, ptr %29, align 8, !tbaa !25 %43 = getelementptr inbounds i32, ptr %42, i64 %40 %44 = load i32, ptr %43, align 4, !tbaa !26 %45 = tail call i32 @memcpy(ptr noundef %41, i32 noundef %44, i32 noundef %31) #2 %46 = load ptr, ptr %32, align 8, !tbaa !27 %47 = getelementptr inbounds %struct.TYPE_10__, ptr %46, i64 0, i32 2 %48 = load ptr, ptr %47, align 8, !tbaa !28 %49 = load ptr, ptr %29, align 8, !tbaa !25 %50 = getelementptr inbounds i32, ptr %49, i64 %40 %51 = load i32, ptr %50, align 4, !tbaa !26 %52 = getelementptr inbounds ptr, ptr %7, i64 %40 %53 = load ptr, ptr %52, align 8, !tbaa !20 %54 = tail call i32 %48(i32 noundef %51, ptr noundef %53, float noundef %24, i32 noundef %8) #2 %55 = load ptr, ptr %32, align 8, !tbaa !27 %56 = getelementptr inbounds %struct.TYPE_10__, ptr %55, i64 0, i32 1 %57 = load ptr, ptr %56, align 8, !tbaa !30 %58 = load ptr, ptr %28, align 8, !tbaa !24 %59 = getelementptr inbounds i32, ptr %58, i64 %30 %60 = load ptr, ptr %29, align 8, !tbaa !25 %61 = getelementptr inbounds i32, ptr %60, i64 %40 %62 = load i32, ptr %61, align 4, !tbaa !26 %63 = tail call i32 %57(ptr noundef nonnull %59, i32 noundef %62, ptr noundef %20, i32 noundef %8) #2 %64 = load ptr, ptr %32, align 8, !tbaa !27 %65 = load ptr, ptr %64, align 8, !tbaa !31 %66 = load ptr, ptr %29, align 8, !tbaa !25 %67 = getelementptr inbounds i32, ptr %66, i64 %40 %68 = load i32, ptr %67, align 4, !tbaa !26 %69 = tail call i32 %65(i32 noundef %68, i32 noundef %68, ptr noundef %20, i32 noundef %8) #2 %70 = load ptr, ptr %16, align 8, !tbaa !32 %71 = load ptr, ptr %33, align 8, !tbaa !34 %72 = getelementptr inbounds ptr, ptr %71, i64 %40 %73 = load ptr, ptr %72, align 8, !tbaa !20 %74 = load ptr, ptr %28, align 8, !tbaa !24 %75 = tail call i32 %70(ptr noundef nonnull %16, ptr noundef %73, ptr noundef %74) #2 %76 = load ptr, ptr %33, align 8, !tbaa !34 %77 = getelementptr inbounds ptr, ptr %76, i64 %40 %78 = load ptr, ptr %77, align 8, !tbaa !20 %79 = load i32, ptr %78, align 4, !tbaa !26 %80 = tail call i32 @isfinite(i32 noundef %79) #2 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %34 82: ; preds = %39 %83 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !26 %84 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %83, ptr noundef nonnull @.str) #2 %85 = load i32, ptr @EINVAL, align 4, !tbaa !26 %86 = tail call i32 @AVERROR(i32 noundef %85) #2 br label %87 87: ; preds = %34, %2, %82 %88 = phi i32 [ %86, %82 ], [ 0, %2 ], [ 0, %34 ] ret i32 %88 } declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isfinite(i32 noundef) local_unnamed_addr #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AVERROR(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 = !{!"TYPE_14__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_13__", !7, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!12, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48} !17 = !{!16, !7, i64 4} !18 = !{!16, !10, i64 48} !19 = !{!16, !10, i64 8} !20 = !{!10, !10, i64 0} !21 = !{!6, !7, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!16, !10, i64 24} !25 = !{!16, !10, i64 32} !26 = !{!7, !7, i64 0} !27 = !{!16, !10, i64 40} !28 = !{!29, !10, i64 16} !29 = !{!"TYPE_10__", !10, i64 0, !10, i64 8, !10, i64 16} !30 = !{!29, !10, i64 8} !31 = !{!29, !10, i64 0} !32 = !{!33, !10, i64 0} !33 = !{!"TYPE_12__", !10, i64 0} !34 = !{!16, !10, i64 16}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_wmaenc.c_apply_window_and_mdct.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_wmaenc.c_apply_window_and_mdct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { ptr } @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Input contains NaN/+-Inf\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @apply_window_and_mdct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @apply_window_and_mdct(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = inttoptr i64 %6 to ptr %8 = load i32, ptr %1, align 8, !tbaa !15 %9 = load i32, ptr %4, align 8, !tbaa !16 %10 = getelementptr inbounds i8, ptr %4, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = sub nsw i32 %9, %11 %13 = getelementptr inbounds i8, ptr %4, i64 48 %14 = load ptr, ptr %13, align 8, !tbaa !19 %15 = sext i32 %12 to i64 %16 = getelementptr inbounds %struct.TYPE_12__, ptr %14, i64 %15 %17 = getelementptr inbounds i8, ptr %4, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !20 %19 = getelementptr inbounds ptr, ptr %18, i64 %15 %20 = load ptr, ptr %19, align 8, !tbaa !21 %21 = shl nuw i32 1, %11 %22 = sitofp i32 %21 to double %23 = fdiv double 6.553600e+04, %22 %24 = fptrunc double %23 to float %25 = load i32, ptr %0, align 8, !tbaa !22 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %87 27: ; preds = %2 %28 = getelementptr inbounds i8, ptr %4, i64 24 %29 = getelementptr inbounds i8, ptr %4, i64 32 %30 = sext i32 %21 to i64 %31 = shl i32 4, %11 %32 = getelementptr inbounds i8, ptr %4, i64 40 %33 = getelementptr inbounds i8, ptr %4, i64 16 br label %39 34: ; preds = %39 %35 = add nuw nsw i64 %40, 1 %36 = load i32, ptr %0, align 8, !tbaa !22 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %39, label %87, !llvm.loop !23 39: ; preds = %27, %34 %40 = phi i64 [ 0, %27 ], [ %35, %34 ] %41 = load ptr, ptr %28, align 8, !tbaa !25 %42 = load ptr, ptr %29, align 8, !tbaa !26 %43 = getelementptr inbounds i32, ptr %42, i64 %40 %44 = load i32, ptr %43, align 4, !tbaa !27 %45 = tail call i32 @memcpy(ptr noundef %41, i32 noundef %44, i32 noundef %31) #2 %46 = load ptr, ptr %32, align 8, !tbaa !28 %47 = getelementptr inbounds i8, ptr %46, i64 16 %48 = load ptr, ptr %47, align 8, !tbaa !29 %49 = load ptr, ptr %29, align 8, !tbaa !26 %50 = getelementptr inbounds i32, ptr %49, i64 %40 %51 = load i32, ptr %50, align 4, !tbaa !27 %52 = getelementptr inbounds ptr, ptr %7, i64 %40 %53 = load ptr, ptr %52, align 8, !tbaa !21 %54 = tail call i32 %48(i32 noundef %51, ptr noundef %53, float noundef %24, i32 noundef %8) #2 %55 = load ptr, ptr %32, align 8, !tbaa !28 %56 = getelementptr inbounds i8, ptr %55, i64 8 %57 = load ptr, ptr %56, align 8, !tbaa !31 %58 = load ptr, ptr %28, align 8, !tbaa !25 %59 = getelementptr inbounds i32, ptr %58, i64 %30 %60 = load ptr, ptr %29, align 8, !tbaa !26 %61 = getelementptr inbounds i32, ptr %60, i64 %40 %62 = load i32, ptr %61, align 4, !tbaa !27 %63 = tail call i32 %57(ptr noundef nonnull %59, i32 noundef %62, ptr noundef %20, i32 noundef %8) #2 %64 = load ptr, ptr %32, align 8, !tbaa !28 %65 = load ptr, ptr %64, align 8, !tbaa !32 %66 = load ptr, ptr %29, align 8, !tbaa !26 %67 = getelementptr inbounds i32, ptr %66, i64 %40 %68 = load i32, ptr %67, align 4, !tbaa !27 %69 = tail call i32 %65(i32 noundef %68, i32 noundef %68, ptr noundef %20, i32 noundef %8) #2 %70 = load ptr, ptr %16, align 8, !tbaa !33 %71 = load ptr, ptr %33, align 8, !tbaa !35 %72 = getelementptr inbounds ptr, ptr %71, i64 %40 %73 = load ptr, ptr %72, align 8, !tbaa !21 %74 = load ptr, ptr %28, align 8, !tbaa !25 %75 = tail call i32 %70(ptr noundef nonnull %16, ptr noundef %73, ptr noundef %74) #2 %76 = load ptr, ptr %33, align 8, !tbaa !35 %77 = getelementptr inbounds ptr, ptr %76, i64 %40 %78 = load ptr, ptr %77, align 8, !tbaa !21 %79 = load i32, ptr %78, align 4, !tbaa !27 %80 = tail call i32 @isfinite(i32 noundef %79) #2 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %34 82: ; preds = %39 %83 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !27 %84 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %83, ptr noundef nonnull @.str) #2 %85 = load i32, ptr @EINVAL, align 4, !tbaa !27 %86 = tail call i32 @AVERROR(i32 noundef %85) #2 br label %87 87: ; preds = %34, %2, %82 %88 = phi i32 [ %86, %82 ], [ 0, %2 ], [ 0, %34 ] ret i32 %88 } declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isfinite(i32 noundef) local_unnamed_addr #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AVERROR(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 = !{!"TYPE_14__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_13__", !8, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!13, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48} !18 = !{!17, !8, i64 4} !19 = !{!17, !11, i64 48} !20 = !{!17, !11, i64 8} !21 = !{!11, !11, i64 0} !22 = !{!7, !8, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!17, !11, i64 24} !26 = !{!17, !11, i64 32} !27 = !{!8, !8, i64 0} !28 = !{!17, !11, i64 40} !29 = !{!30, !11, i64 16} !30 = !{!"TYPE_10__", !11, i64 0, !11, i64 8, !11, i64 16} !31 = !{!30, !11, i64 8} !32 = !{!30, !11, i64 0} !33 = !{!34, !11, i64 0} !34 = !{!"TYPE_12__", !11, i64 0} !35 = !{!17, !11, i64 16}
FFmpeg_libavcodec_extr_wmaenc.c_apply_window_and_mdct
; ModuleID = 'AnghaBench/openwrt/package/boot/rbcfg/src/extr_cyg_crc32.c_cyg_crc32_accumulate.c' source_filename = "AnghaBench/openwrt/package/boot/rbcfg/src/extr_cyg_crc32.c_cyg_crc32_accumulate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crc32_tab = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local zeroext i8 @cyg_crc32_accumulate(i8 noundef zeroext %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %64 5: ; preds = %3 %6 = load ptr, ptr @crc32_tab, align 8, !tbaa !5 %7 = zext nneg i32 %2 to i64 %8 = and i64 %7, 3 %9 = icmp ult i32 %2, 4 br i1 %9, label %46, label %10 10: ; preds = %5 %11 = and i64 %7, 2147483644 br label %12 12: ; preds = %12, %10 %13 = phi i64 [ 0, %10 ], [ %43, %12 ] %14 = phi i8 [ %0, %10 ], [ %42, %12 ] %15 = phi i64 [ 0, %10 ], [ %44, %12 ] %16 = getelementptr inbounds i8, ptr %1, i64 %13 %17 = load i8, ptr %16, align 1, !tbaa !9 %18 = xor i8 %17, %14 %19 = zext i8 %18 to i64 %20 = getelementptr inbounds i8, ptr %6, i64 %19 %21 = load i8, ptr %20, align 1, !tbaa !9 %22 = or disjoint i64 %13, 1 %23 = getelementptr inbounds i8, ptr %1, i64 %22 %24 = load i8, ptr %23, align 1, !tbaa !9 %25 = xor i8 %24, %21 %26 = zext i8 %25 to i64 %27 = getelementptr inbounds i8, ptr %6, i64 %26 %28 = load i8, ptr %27, align 1, !tbaa !9 %29 = or disjoint i64 %13, 2 %30 = getelementptr inbounds i8, ptr %1, i64 %29 %31 = load i8, ptr %30, align 1, !tbaa !9 %32 = xor i8 %31, %28 %33 = zext i8 %32 to i64 %34 = getelementptr inbounds i8, ptr %6, i64 %33 %35 = load i8, ptr %34, align 1, !tbaa !9 %36 = or disjoint i64 %13, 3 %37 = getelementptr inbounds i8, ptr %1, i64 %36 %38 = load i8, ptr %37, align 1, !tbaa !9 %39 = xor i8 %38, %35 %40 = zext i8 %39 to i64 %41 = getelementptr inbounds i8, ptr %6, i64 %40 %42 = load i8, ptr %41, align 1, !tbaa !9 %43 = add nuw nsw i64 %13, 4 %44 = add i64 %15, 4 %45 = icmp eq i64 %44, %11 br i1 %45, label %46, label %12, !llvm.loop !10 46: ; preds = %12, %5 %47 = phi i8 [ undef, %5 ], [ %42, %12 ] %48 = phi i64 [ 0, %5 ], [ %43, %12 ] %49 = phi i8 [ %0, %5 ], [ %42, %12 ] %50 = icmp eq i64 %8, 0 br i1 %50, label %64, label %51 51: ; preds = %46, %51 %52 = phi i64 [ %61, %51 ], [ %48, %46 ] %53 = phi i8 [ %60, %51 ], [ %49, %46 ] %54 = phi i64 [ %62, %51 ], [ 0, %46 ] %55 = getelementptr inbounds i8, ptr %1, i64 %52 %56 = load i8, ptr %55, align 1, !tbaa !9 %57 = xor i8 %56, %53 %58 = zext i8 %57 to i64 %59 = getelementptr inbounds i8, ptr %6, i64 %58 %60 = load i8, ptr %59, align 1, !tbaa !9 %61 = add nuw nsw i64 %52, 1 %62 = add i64 %54, 1 %63 = icmp eq i64 %62, %8 br i1 %63, label %64, label %51, !llvm.loop !12 64: ; preds = %46, %51, %3 %65 = phi i8 [ %0, %3 ], [ %47, %46 ], [ %60, %51 ] ret i8 %65 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.unroll.disable"}
; ModuleID = 'AnghaBench/openwrt/package/boot/rbcfg/src/extr_cyg_crc32.c_cyg_crc32_accumulate.c' source_filename = "AnghaBench/openwrt/package/boot/rbcfg/src/extr_cyg_crc32.c_cyg_crc32_accumulate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crc32_tab = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define zeroext i8 @cyg_crc32_accumulate(i8 noundef zeroext %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %19 5: ; preds = %3 %6 = load ptr, ptr @crc32_tab, align 8, !tbaa !6 %7 = zext nneg i32 %2 to i64 br label %8 8: ; preds = %5, %8 %9 = phi i64 [ 0, %5 ], [ %17, %8 ] %10 = phi i8 [ %0, %5 ], [ %16, %8 ] %11 = getelementptr inbounds i8, ptr %1, i64 %9 %12 = load i8, ptr %11, align 1, !tbaa !10 %13 = xor i8 %12, %10 %14 = zext i8 %13 to i64 %15 = getelementptr inbounds i8, ptr %6, i64 %14 %16 = load i8, ptr %15, align 1, !tbaa !10 %17 = add nuw nsw i64 %9, 1 %18 = icmp eq i64 %17, %7 br i1 %18, label %19, label %8, !llvm.loop !11 19: ; preds = %8, %3 %20 = phi i8 [ %0, %3 ], [ %16, %8 ] ret i8 %20 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
openwrt_package_boot_rbcfg_src_extr_cyg_crc32.c_cyg_crc32_accumulate
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_45010.c_load_prog.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_45010.c_load_prog.c" target datalayout = "e-m:e-p270:32:32-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_insn = type { i32 } @BPF_DW = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_10 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_1 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_9 = dso_local local_unnamed_addr global i32 0, align 4 @mapfd = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_6 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_7 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_8 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_2 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_0 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_JNE = dso_local local_unnamed_addr global i32 0, align 4 @BPF_REG_3 = dso_local local_unnamed_addr global i32 0, align 4 @BPF_PROG_TYPE_SOCKET_FILTER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"GPL\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_prog], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @load_prog() #0 { %1 = alloca [21 x %struct.bpf_insn], align 16 call void @llvm.lifetime.start.p0(i64 84, ptr nonnull %1) #3 %2 = tail call i32 (...) @BPF_DISABLE_VERIFIER() #3 store i32 %2, ptr %1, align 16 %3 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 1 %4 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %5 = load i32, ptr @BPF_REG_10, align 4, !tbaa !5 %6 = load i32, ptr @BPF_REG_1, align 4, !tbaa !5 %7 = tail call i32 @BPF_STX_MEM(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef -16) #3 store i32 %7, ptr %3, align 4 %8 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 2 %9 = load i32, ptr @BPF_REG_9, align 4, !tbaa !5 %10 = load i32, ptr @mapfd, align 4, !tbaa !5 %11 = tail call i32 @BPF_LD_MAP_FD(i32 noundef %9, i32 noundef %10) #3 store i32 %11, ptr %8, align 8 %12 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 3 %13 = load i32, ptr @BPF_REG_6, align 4, !tbaa !5 %14 = tail call i32 @BPF_MAP_GET(i32 noundef 0, i32 noundef %13) #3 store i32 %14, ptr %12, align 4 %15 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 4 %16 = load i32, ptr @BPF_REG_7, align 4, !tbaa !5 %17 = tail call i32 @BPF_MAP_GET(i32 noundef 1, i32 noundef %16) #3 store i32 %17, ptr %15, align 16 %18 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 5 %19 = load i32, ptr @BPF_REG_8, align 4, !tbaa !5 %20 = tail call i32 @BPF_MAP_GET(i32 noundef 2, i32 noundef %19) #3 store i32 %20, ptr %18, align 4 %21 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 6 %22 = load i32, ptr @BPF_REG_2, align 4, !tbaa !5 %23 = load i32, ptr @BPF_REG_0, align 4, !tbaa !5 %24 = tail call i32 @BPF_MOV64_REG(i32 noundef %22, i32 noundef %23) #3 store i32 %24, ptr %21, align 8 %25 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 7 %26 = load i32, ptr @BPF_REG_0, align 4, !tbaa !5 %27 = tail call i32 @BPF_MOV64_IMM(i32 noundef %26, i32 noundef 0) #3 store i32 %27, ptr %25, align 4 %28 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 8 %29 = load i32, ptr @BPF_JNE, align 4, !tbaa !5 %30 = load i32, ptr @BPF_REG_6, align 4, !tbaa !5 %31 = tail call i32 @BPF_JMP_IMM(i32 noundef %29, i32 noundef %30, i32 noundef 0, i32 noundef 2) #3 store i32 %31, ptr %28, align 16 %32 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 9 %33 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %34 = load i32, ptr @BPF_REG_2, align 4, !tbaa !5 %35 = load i32, ptr @BPF_REG_10, align 4, !tbaa !5 %36 = tail call i32 @BPF_STX_MEM(i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 0) #3 store i32 %36, ptr %32, align 4 %37 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 10 %38 = tail call i32 (...) @BPF_EXIT_INSN() #3 store i32 %38, ptr %37, align 8 %39 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 11 %40 = load i32, ptr @BPF_JNE, align 4, !tbaa !5 %41 = load i32, ptr @BPF_REG_6, align 4, !tbaa !5 %42 = tail call i32 @BPF_JMP_IMM(i32 noundef %40, i32 noundef %41, i32 noundef 1, i32 noundef 3) #3 store i32 %42, ptr %39, align 4 %43 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 12 %44 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %45 = load i32, ptr @BPF_REG_3, align 4, !tbaa !5 %46 = load i32, ptr @BPF_REG_10, align 4, !tbaa !5 %47 = tail call i32 @BPF_LDX_MEM(i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef -16) #3 store i32 %47, ptr %43, align 16 %48 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 13 %49 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %50 = load i32, ptr @BPF_REG_2, align 4, !tbaa !5 %51 = load i32, ptr @BPF_REG_3, align 4, !tbaa !5 %52 = tail call i32 @BPF_STX_MEM(i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef 0) #3 store i32 %52, ptr %48, align 4 %53 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 14 %54 = tail call i32 (...) @BPF_EXIT_INSN() #3 store i32 %54, ptr %53, align 8 %55 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 15 %56 = load i32, ptr @BPF_JNE, align 4, !tbaa !5 %57 = load i32, ptr @BPF_REG_6, align 4, !tbaa !5 %58 = tail call i32 @BPF_JMP_IMM(i32 noundef %56, i32 noundef %57, i32 noundef 2, i32 noundef 3) #3 store i32 %58, ptr %55, align 4 %59 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 16 %60 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %61 = load i32, ptr @BPF_REG_3, align 4, !tbaa !5 %62 = load i32, ptr @BPF_REG_7, align 4, !tbaa !5 %63 = tail call i32 @BPF_LDX_MEM(i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef 0) #3 store i32 %63, ptr %59, align 16 %64 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 17 %65 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %66 = load i32, ptr @BPF_REG_2, align 4, !tbaa !5 %67 = load i32, ptr @BPF_REG_3, align 4, !tbaa !5 %68 = tail call i32 @BPF_STX_MEM(i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef 0) #3 store i32 %68, ptr %64, align 4 %69 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 18 %70 = tail call i32 (...) @BPF_EXIT_INSN() #3 store i32 %70, ptr %69, align 8 %71 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 19 %72 = load i32, ptr @BPF_DW, align 4, !tbaa !5 %73 = load i32, ptr @BPF_REG_7, align 4, !tbaa !5 %74 = load i32, ptr @BPF_REG_8, align 4, !tbaa !5 %75 = tail call i32 @BPF_STX_MEM(i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef 0) #3 store i32 %75, ptr %71, align 4 %76 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 20 %77 = tail call i32 (...) @BPF_EXIT_INSN() #3 store i32 %77, ptr %76, align 16 %78 = load i32, ptr @BPF_PROG_TYPE_SOCKET_FILTER, align 4, !tbaa !5 %79 = call i32 @bpf_prog_load(i32 noundef %78, ptr noundef nonnull %1, i32 noundef 84, ptr noundef nonnull @.str, i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 84, ptr nonnull %1) #3 ret i32 %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BPF_DISABLE_VERIFIER(...) local_unnamed_addr #2 declare i32 @BPF_STX_MEM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_LD_MAP_FD(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MAP_GET(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MOV64_REG(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MOV64_IMM(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_JMP_IMM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_EXIT_INSN(...) local_unnamed_addr #2 declare i32 @BPF_LDX_MEM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bpf_prog_load(i32 noundef, ptr noundef, i32 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_45010.c_load_prog.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_45010.c_load_prog.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.bpf_insn = type { i32 } @BPF_DW = common local_unnamed_addr global i32 0, align 4 @BPF_REG_10 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_1 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_9 = common local_unnamed_addr global i32 0, align 4 @mapfd = common local_unnamed_addr global i32 0, align 4 @BPF_REG_6 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_7 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_8 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_2 = common local_unnamed_addr global i32 0, align 4 @BPF_REG_0 = common local_unnamed_addr global i32 0, align 4 @BPF_JNE = common local_unnamed_addr global i32 0, align 4 @BPF_REG_3 = common local_unnamed_addr global i32 0, align 4 @BPF_PROG_TYPE_SOCKET_FILTER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"GPL\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @load_prog], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @load_prog() #0 { %1 = alloca [21 x %struct.bpf_insn], align 4 call void @llvm.lifetime.start.p0(i64 84, ptr nonnull %1) #3 %2 = tail call i32 @BPF_DISABLE_VERIFIER() #3 store i32 %2, ptr %1, align 4 %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %5 = load i32, ptr @BPF_REG_10, align 4, !tbaa !6 %6 = load i32, ptr @BPF_REG_1, align 4, !tbaa !6 %7 = tail call i32 @BPF_STX_MEM(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef -16) #3 store i32 %7, ptr %3, align 4 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load i32, ptr @BPF_REG_9, align 4, !tbaa !6 %10 = load i32, ptr @mapfd, align 4, !tbaa !6 %11 = tail call i32 @BPF_LD_MAP_FD(i32 noundef %9, i32 noundef %10) #3 store i32 %11, ptr %8, align 4 %12 = getelementptr inbounds i8, ptr %1, i64 12 %13 = load i32, ptr @BPF_REG_6, align 4, !tbaa !6 %14 = tail call i32 @BPF_MAP_GET(i32 noundef 0, i32 noundef %13) #3 store i32 %14, ptr %12, align 4 %15 = getelementptr inbounds i8, ptr %1, i64 16 %16 = load i32, ptr @BPF_REG_7, align 4, !tbaa !6 %17 = tail call i32 @BPF_MAP_GET(i32 noundef 1, i32 noundef %16) #3 store i32 %17, ptr %15, align 4 %18 = getelementptr inbounds i8, ptr %1, i64 20 %19 = load i32, ptr @BPF_REG_8, align 4, !tbaa !6 %20 = tail call i32 @BPF_MAP_GET(i32 noundef 2, i32 noundef %19) #3 store i32 %20, ptr %18, align 4 %21 = getelementptr inbounds i8, ptr %1, i64 24 %22 = load i32, ptr @BPF_REG_2, align 4, !tbaa !6 %23 = load i32, ptr @BPF_REG_0, align 4, !tbaa !6 %24 = tail call i32 @BPF_MOV64_REG(i32 noundef %22, i32 noundef %23) #3 store i32 %24, ptr %21, align 4 %25 = getelementptr inbounds i8, ptr %1, i64 28 %26 = load i32, ptr @BPF_REG_0, align 4, !tbaa !6 %27 = tail call i32 @BPF_MOV64_IMM(i32 noundef %26, i32 noundef 0) #3 store i32 %27, ptr %25, align 4 %28 = getelementptr inbounds i8, ptr %1, i64 32 %29 = load i32, ptr @BPF_JNE, align 4, !tbaa !6 %30 = load i32, ptr @BPF_REG_6, align 4, !tbaa !6 %31 = tail call i32 @BPF_JMP_IMM(i32 noundef %29, i32 noundef %30, i32 noundef 0, i32 noundef 2) #3 store i32 %31, ptr %28, align 4 %32 = getelementptr inbounds i8, ptr %1, i64 36 %33 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %34 = load i32, ptr @BPF_REG_2, align 4, !tbaa !6 %35 = load i32, ptr @BPF_REG_10, align 4, !tbaa !6 %36 = tail call i32 @BPF_STX_MEM(i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 0) #3 store i32 %36, ptr %32, align 4 %37 = getelementptr inbounds i8, ptr %1, i64 40 %38 = tail call i32 @BPF_EXIT_INSN() #3 store i32 %38, ptr %37, align 4 %39 = getelementptr inbounds i8, ptr %1, i64 44 %40 = load i32, ptr @BPF_JNE, align 4, !tbaa !6 %41 = load i32, ptr @BPF_REG_6, align 4, !tbaa !6 %42 = tail call i32 @BPF_JMP_IMM(i32 noundef %40, i32 noundef %41, i32 noundef 1, i32 noundef 3) #3 store i32 %42, ptr %39, align 4 %43 = getelementptr inbounds i8, ptr %1, i64 48 %44 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %45 = load i32, ptr @BPF_REG_3, align 4, !tbaa !6 %46 = load i32, ptr @BPF_REG_10, align 4, !tbaa !6 %47 = tail call i32 @BPF_LDX_MEM(i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef -16) #3 store i32 %47, ptr %43, align 4 %48 = getelementptr inbounds i8, ptr %1, i64 52 %49 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %50 = load i32, ptr @BPF_REG_2, align 4, !tbaa !6 %51 = load i32, ptr @BPF_REG_3, align 4, !tbaa !6 %52 = tail call i32 @BPF_STX_MEM(i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef 0) #3 store i32 %52, ptr %48, align 4 %53 = getelementptr inbounds i8, ptr %1, i64 56 %54 = tail call i32 @BPF_EXIT_INSN() #3 store i32 %54, ptr %53, align 4 %55 = getelementptr inbounds i8, ptr %1, i64 60 %56 = load i32, ptr @BPF_JNE, align 4, !tbaa !6 %57 = load i32, ptr @BPF_REG_6, align 4, !tbaa !6 %58 = tail call i32 @BPF_JMP_IMM(i32 noundef %56, i32 noundef %57, i32 noundef 2, i32 noundef 3) #3 store i32 %58, ptr %55, align 4 %59 = getelementptr inbounds i8, ptr %1, i64 64 %60 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %61 = load i32, ptr @BPF_REG_3, align 4, !tbaa !6 %62 = load i32, ptr @BPF_REG_7, align 4, !tbaa !6 %63 = tail call i32 @BPF_LDX_MEM(i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef 0) #3 store i32 %63, ptr %59, align 4 %64 = getelementptr inbounds i8, ptr %1, i64 68 %65 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %66 = load i32, ptr @BPF_REG_2, align 4, !tbaa !6 %67 = load i32, ptr @BPF_REG_3, align 4, !tbaa !6 %68 = tail call i32 @BPF_STX_MEM(i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef 0) #3 store i32 %68, ptr %64, align 4 %69 = getelementptr inbounds i8, ptr %1, i64 72 %70 = tail call i32 @BPF_EXIT_INSN() #3 store i32 %70, ptr %69, align 4 %71 = getelementptr inbounds i8, ptr %1, i64 76 %72 = load i32, ptr @BPF_DW, align 4, !tbaa !6 %73 = load i32, ptr @BPF_REG_7, align 4, !tbaa !6 %74 = load i32, ptr @BPF_REG_8, align 4, !tbaa !6 %75 = tail call i32 @BPF_STX_MEM(i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef 0) #3 store i32 %75, ptr %71, align 4 %76 = getelementptr inbounds i8, ptr %1, i64 80 %77 = tail call i32 @BPF_EXIT_INSN() #3 store i32 %77, ptr %76, align 4 %78 = load i32, ptr @BPF_PROG_TYPE_SOCKET_FILTER, align 4, !tbaa !6 %79 = call i32 @bpf_prog_load(i32 noundef %78, ptr noundef nonnull %1, i32 noundef 84, ptr noundef nonnull @.str, i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 84, ptr nonnull %1) #3 ret i32 %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BPF_DISABLE_VERIFIER(...) local_unnamed_addr #2 declare i32 @BPF_STX_MEM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_LD_MAP_FD(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MAP_GET(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MOV64_REG(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_MOV64_IMM(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_JMP_IMM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BPF_EXIT_INSN(...) local_unnamed_addr #2 declare i32 @BPF_LDX_MEM(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bpf_prog_load(i32 noundef, ptr noundef, i32 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
exploitdb_exploits_linux_local_extr_45010.c_load_prog
; ModuleID = 'AnghaBench/brotli/c/dec/extr_state.c_BrotliDecoderStateCleanup.c' source_filename = "AnghaBench/brotli/c/dec/extr_state.c_BrotliDecoderStateCleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @BrotliDecoderStateCleanup(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @BrotliDecoderStateCleanupAfterMetablock(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @BROTLI_DECODER_FREE(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = tail call i32 @BROTLI_DECODER_FREE(ptr noundef nonnull %0, i32 noundef %6) #2 ret void } declare i32 @BrotliDecoderStateCleanupAfterMetablock(ptr noundef) local_unnamed_addr #1 declare i32 @BROTLI_DECODER_FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/brotli/c/dec/extr_state.c_BrotliDecoderStateCleanup.c' source_filename = "AnghaBench/brotli/c/dec/extr_state.c_BrotliDecoderStateCleanup.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 @BrotliDecoderStateCleanup(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @BrotliDecoderStateCleanupAfterMetablock(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @BROTLI_DECODER_FREE(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = tail call i32 @BROTLI_DECODER_FREE(ptr noundef nonnull %0, i32 noundef %6) #2 ret void } declare i32 @BrotliDecoderStateCleanupAfterMetablock(ptr noundef) local_unnamed_addr #1 declare i32 @BROTLI_DECODER_FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
brotli_c_dec_extr_state.c_BrotliDecoderStateCleanup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_sunvdc.c_vdc_send_attr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_sunvdc.c_vdc_send_attr.c" target datalayout = "e-m:e-p270:32:32-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.vio_disk_attr_info = type { i32, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32 } %struct.vdc_port = type { i32, i32, i32 } @VIO_TYPE_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @VIO_SUBTYPE_INFO = dso_local local_unnamed_addr global i32 0, align 4 @VIO_ATTR_INFO = dso_local local_unnamed_addr global i32 0, align 4 @VIO_DRING_MODE = dso_local local_unnamed_addr global i32 0, align 4 @HS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"SEND ATTR xfer_mode[0x%x] blksz[%u] max_xfer[%llu]\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vdc_send_attr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vdc_send_attr(ptr noundef %0) #0 { %2 = alloca %struct.vio_disk_attr_info, align 4 %3 = tail call ptr @to_vdc_port(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 28) #3 %5 = load i32, ptr @VIO_TYPE_CTRL, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 3 %7 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 3, i32 3 store i32 %5, ptr %7, align 4, !tbaa !9 %8 = load i32, ptr @VIO_SUBTYPE_INFO, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 3, i32 2 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = load i32, ptr @VIO_ATTR_INFO, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 3, i32 1 store i32 %10, ptr %11, align 4, !tbaa !13 %12 = call i32 @vio_send_sid(ptr noundef %0) #3 store i32 %12, ptr %6, align 4, !tbaa !14 %13 = load i32, ptr @VIO_DRING_MODE, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 2 store i32 %13, ptr %14, align 4, !tbaa !15 %15 = getelementptr inbounds %struct.vdc_port, ptr %3, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds %struct.vio_disk_attr_info, ptr %2, i64 0, i32 1 store i32 %16, ptr %17, align 4, !tbaa !18 %18 = getelementptr inbounds %struct.vdc_port, ptr %3, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !19 store i32 %19, ptr %2, align 4, !tbaa !20 %20 = load i32, ptr @HS, align 4, !tbaa !5 %21 = call i32 @viodbg(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %16, i32 noundef %19) #3 %22 = call i32 @vio_ldc_send(ptr noundef %3, ptr noundef nonnull %2, i32 noundef 28) #3 call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_vdc_port(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vio_send_sid(ptr noundef) local_unnamed_addr #2 declare i32 @viodbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vio_ldc_send(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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"vio_disk_attr_info", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !12 = !{!10, !6, i64 20} !13 = !{!10, !6, i64 16} !14 = !{!10, !6, i64 12} !15 = !{!10, !6, i64 8} !16 = !{!17, !6, i64 8} !17 = !{!"vdc_port", !6, i64 0, !6, i64 4, !6, i64 8} !18 = !{!10, !6, i64 4} !19 = !{!17, !6, i64 4} !20 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_sunvdc.c_vdc_send_attr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_sunvdc.c_vdc_send_attr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vio_disk_attr_info = type { i32, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @VIO_TYPE_CTRL = common local_unnamed_addr global i32 0, align 4 @VIO_SUBTYPE_INFO = common local_unnamed_addr global i32 0, align 4 @VIO_ATTR_INFO = common local_unnamed_addr global i32 0, align 4 @VIO_DRING_MODE = common local_unnamed_addr global i32 0, align 4 @HS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"SEND ATTR xfer_mode[0x%x] blksz[%u] max_xfer[%llu]\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vdc_send_attr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vdc_send_attr(ptr noundef %0) #0 { %2 = alloca %struct.vio_disk_attr_info, align 4 %3 = tail call ptr @to_vdc_port(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 28) #3 %5 = load i32, ptr @VIO_TYPE_CTRL, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 12 %7 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %5, ptr %7, align 4, !tbaa !10 %8 = load i32, ptr @VIO_SUBTYPE_INFO, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = load i32, ptr @VIO_ATTR_INFO, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %10, ptr %11, align 4, !tbaa !14 %12 = call i32 @vio_send_sid(ptr noundef %0) #3 store i32 %12, ptr %6, align 4, !tbaa !15 %13 = load i32, ptr @VIO_DRING_MODE, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %13, ptr %14, align 4, !tbaa !16 %15 = getelementptr inbounds i8, ptr %3, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %16, ptr %17, align 4, !tbaa !19 %18 = getelementptr inbounds i8, ptr %3, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !20 store i32 %19, ptr %2, align 4, !tbaa !21 %20 = load i32, ptr @HS, align 4, !tbaa !6 %21 = call i32 @viodbg(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %16, i32 noundef %19) #3 %22 = call i32 @vio_ldc_send(ptr noundef %3, ptr noundef nonnull %2, i32 noundef 28) #3 call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_vdc_port(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vio_send_sid(ptr noundef) local_unnamed_addr #2 declare i32 @viodbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vio_ldc_send(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"vio_disk_attr_info", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 12} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !13 = !{!11, !7, i64 20} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 12} !16 = !{!11, !7, i64 8} !17 = !{!18, !7, i64 8} !18 = !{!"vdc_port", !7, i64 0, !7, i64 4, !7, i64 8} !19 = !{!11, !7, i64 4} !20 = !{!18, !7, i64 4} !21 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_block_extr_sunvdc.c_vdc_send_attr
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_adau1977-spi.c_adau1977_spi_switch_mode.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_adau1977-spi.c_adau1977_spi_switch_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @adau1977_spi_switch_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @adau1977_spi_switch_mode(ptr noundef %0) #0 { %2 = tail call ptr @to_spi_device(ptr noundef %0) #2 %3 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 %4 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 %5 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 ret void } declare ptr @to_spi_device(ptr noundef) local_unnamed_addr #1 declare i32 @spi_w8r8(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_adau1977-spi.c_adau1977_spi_switch_mode.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_adau1977-spi.c_adau1977_spi_switch_mode.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 @adau1977_spi_switch_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @adau1977_spi_switch_mode(ptr noundef %0) #0 { %2 = tail call ptr @to_spi_device(ptr noundef %0) #2 %3 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 %4 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 %5 = tail call i32 @spi_w8r8(ptr noundef %2, i32 noundef 0) #2 ret void } declare ptr @to_spi_device(ptr noundef) local_unnamed_addr #1 declare i32 @spi_w8r8(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_soc_codecs_extr_adau1977-spi.c_adau1977_spi_switch_mode
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4vf/extr_sge.c_write_sgl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4vf/extr_sge.c_write_sgl.c" target datalayout = "e-m:e-p270:32:32-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.ulptx_sge_pair = type { ptr, ptr } %struct.ulptx_sgl = type { ptr, ptr, ptr, ptr } %struct.skb_shared_info = type { i32, ptr } %struct.sge_txq = type { ptr, i64 } @MAX_SKB_FRAGS = dso_local local_unnamed_addr global i32 0, align 4 @ULP_TX_SC_DSGL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_sgl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_sgl(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5) #0 { %7 = tail call ptr @skb_shinfo(ptr noundef %0) #2 %8 = load i32, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr @MAX_SKB_FRAGS, align 4, !tbaa !11 %10 = sdiv i32 %9, 2 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = alloca %struct.ulptx_sge_pair, i64 %12, align 16 %14 = tail call i32 @skb_headlen(ptr noundef %0) #2 %15 = sub i32 %14, %4 %16 = tail call i64 @likely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %6 %19 = tail call ptr @htonl(i32 noundef %15) #2 %20 = getelementptr inbounds %struct.ulptx_sgl, ptr %2, i64 0, i32 3 store ptr %19, ptr %20, align 8, !tbaa !12 %21 = load i64, ptr %5, align 8, !tbaa !14 %22 = zext i32 %4 to i64 %23 = add nsw i64 %21, %22 %24 = tail call ptr @cpu_to_be64(i64 noundef %23) #2 %25 = add i32 %8, 1 br label %35 26: ; preds = %6 %27 = getelementptr inbounds %struct.skb_shared_info, ptr %7, i64 0, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !16 %29 = tail call i32 @skb_frag_size(ptr noundef %28) #2 %30 = tail call ptr @htonl(i32 noundef %29) #2 %31 = getelementptr inbounds %struct.ulptx_sgl, ptr %2, i64 0, i32 3 store ptr %30, ptr %31, align 8, !tbaa !12 %32 = getelementptr inbounds i64, ptr %5, i64 1 %33 = load i64, ptr %32, align 8, !tbaa !14 %34 = tail call ptr @cpu_to_be64(i64 noundef %33) #2 br label %35 35: ; preds = %26, %18 %36 = phi ptr [ %34, %26 ], [ %24, %18 ] %37 = phi i32 [ %8, %26 ], [ %25, %18 ] %38 = getelementptr inbounds %struct.ulptx_sgl, ptr %2, i64 0, i32 2 store ptr %36, ptr %38, align 8 %39 = load i32, ptr @ULP_TX_SC_DSGL, align 4, !tbaa !11 %40 = tail call i32 @ULPTX_CMD_V(i32 noundef %39) #2 %41 = tail call i32 @ULPTX_NSGE_V(i32 noundef %37) #2 %42 = or i32 %41, %40 %43 = tail call ptr @htonl(i32 noundef %42) #2 %44 = getelementptr inbounds %struct.ulptx_sgl, ptr %2, i64 0, i32 1 store ptr %43, ptr %44, align 8, !tbaa !17 %45 = add i32 %37, -1 %46 = icmp eq i32 %45, 0 %47 = zext i1 %46 to i32 %48 = tail call i64 @likely(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %161 50: ; preds = %35 %51 = getelementptr inbounds %struct.sge_txq, ptr %1, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !18 %53 = inttoptr i64 %52 to ptr %54 = icmp ult ptr %53, %3 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = load ptr, ptr %2, align 8, !tbaa !20 br label %57 57: ; preds = %50, %55 %58 = phi ptr [ %56, %55 ], [ %13, %50 ] %59 = load i32, ptr %7, align 8, !tbaa !5 %60 = icmp ne i32 %45, %59 %61 = zext i1 %60 to i32 %62 = icmp ugt i32 %45, 1 br i1 %62, label %63, label %100 63: ; preds = %57 %64 = getelementptr inbounds %struct.skb_shared_info, ptr %7, i64 0, i32 1 %65 = zext i1 %60 to i64 br label %66 66: ; preds = %63, %66 %67 = phi i64 [ %65, %63 ], [ %88, %66 ] %68 = phi ptr [ %58, %63 ], [ %96, %66 ] %69 = phi i32 [ %45, %63 ], [ %95, %66 ] %70 = load ptr, ptr %64, align 8, !tbaa !16 %71 = getelementptr inbounds i32, ptr %70, i64 %67 %72 = tail call i32 @skb_frag_size(ptr noundef %71) #2 %73 = tail call ptr @cpu_to_be32(i32 noundef %72) #2 %74 = getelementptr inbounds %struct.ulptx_sge_pair, ptr %68, i64 0, i32 1 %75 = load ptr, ptr %74, align 8, !tbaa !21 store ptr %73, ptr %75, align 8, !tbaa !23 %76 = load ptr, ptr %64, align 8, !tbaa !16 %77 = add nuw i64 %67, 1 %78 = and i64 %77, 4294967295 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = tail call i32 @skb_frag_size(ptr noundef %79) #2 %81 = tail call ptr @cpu_to_be32(i32 noundef %80) #2 %82 = load ptr, ptr %74, align 8, !tbaa !21 %83 = getelementptr inbounds ptr, ptr %82, i64 1 store ptr %81, ptr %83, align 8, !tbaa !23 %84 = getelementptr inbounds i64, ptr %5, i64 %78 %85 = load i64, ptr %84, align 8, !tbaa !14 %86 = tail call ptr @cpu_to_be64(i64 noundef %85) #2 %87 = load ptr, ptr %68, align 8, !tbaa !24 store ptr %86, ptr %87, align 8, !tbaa !23 %88 = add nuw nsw i64 %67, 2 %89 = and i64 %88, 4294967295 %90 = getelementptr inbounds i64, ptr %5, i64 %89 %91 = load i64, ptr %90, align 8, !tbaa !14 %92 = tail call ptr @cpu_to_be64(i64 noundef %91) #2 %93 = load ptr, ptr %68, align 8, !tbaa !24 %94 = getelementptr inbounds ptr, ptr %93, i64 1 store ptr %92, ptr %94, align 8, !tbaa !23 %95 = add i32 %69, -2 %96 = getelementptr inbounds %struct.ulptx_sge_pair, ptr %68, i64 1 %97 = icmp ugt i32 %95, 1 br i1 %97, label %66, label %98, !llvm.loop !25 98: ; preds = %66 %99 = trunc i64 %88 to i32 br label %100 100: ; preds = %98, %57 %101 = phi i32 [ %45, %57 ], [ %95, %98 ] %102 = phi ptr [ %58, %57 ], [ %96, %98 ] %103 = phi i32 [ %61, %57 ], [ %99, %98 ] %104 = icmp eq i32 %101, 0 br i1 %104, label %123, label %105 105: ; preds = %100 %106 = getelementptr inbounds %struct.skb_shared_info, ptr %7, i64 0, i32 1 %107 = load ptr, ptr %106, align 8, !tbaa !16 %108 = zext i32 %103 to i64 %109 = getelementptr inbounds i32, ptr %107, i64 %108 %110 = tail call i32 @skb_frag_size(ptr noundef %109) #2 %111 = tail call ptr @cpu_to_be32(i32 noundef %110) #2 %112 = getelementptr inbounds %struct.ulptx_sge_pair, ptr %102, i64 0, i32 1 %113 = load ptr, ptr %112, align 8, !tbaa !21 store ptr %111, ptr %113, align 8, !tbaa !23 %114 = tail call ptr @cpu_to_be32(i32 noundef 0) #2 %115 = load ptr, ptr %112, align 8, !tbaa !21 %116 = getelementptr inbounds ptr, ptr %115, i64 1 store ptr %114, ptr %116, align 8, !tbaa !23 %117 = add i32 %103, 1 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds i64, ptr %5, i64 %118 %120 = load i64, ptr %119, align 8, !tbaa !14 %121 = tail call ptr @cpu_to_be64(i64 noundef %120) #2 %122 = load ptr, ptr %102, align 8, !tbaa !24 store ptr %121, ptr %122, align 8, !tbaa !23 br label %123 123: ; preds = %105, %100 %124 = load i64, ptr %51, align 8, !tbaa !18 %125 = inttoptr i64 %124 to ptr %126 = icmp ult ptr %125, %3 %127 = zext i1 %126 to i32 %128 = tail call i64 @unlikely(i32 noundef %127) #2 %129 = icmp eq i64 %128, 0 br i1 %129, label %155, label %130 130: ; preds = %123 %131 = load i64, ptr %51, align 8, !tbaa !18 %132 = load ptr, ptr %2, align 8, !tbaa !20 %133 = ptrtoint ptr %132 to i64 %134 = sub i64 %131, %133 %135 = lshr exact i64 %134, 4 %136 = trunc i64 %135 to i32 %137 = tail call i64 @likely(i32 noundef %136) #2 %138 = icmp eq i64 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %130 %140 = load ptr, ptr %2, align 8, !tbaa !20 %141 = call i32 @memcpy(ptr noundef %140, ptr noundef nonnull %13, i32 noundef %136) #2 br label %142 142: ; preds = %139, %130 %143 = load i64, ptr %51, align 8, !tbaa !18 %144 = ptrtoint ptr %3 to i64 %145 = sub i64 %144, %143 %146 = lshr exact i64 %145, 4 %147 = trunc i64 %146 to i32 %148 = load ptr, ptr %1, align 8, !tbaa !27 %149 = and i64 %135, 4294967295 %150 = getelementptr inbounds %struct.ulptx_sge_pair, ptr %13, i64 %149 %151 = call i32 @memcpy(ptr noundef %148, ptr noundef nonnull %150, i32 noundef %147) #2 %152 = load ptr, ptr %1, align 8, !tbaa !27 %153 = and i64 %146, 4294967295 %154 = getelementptr inbounds i8, ptr %152, i64 %153 br label %155 155: ; preds = %142, %123 %156 = phi ptr [ %154, %142 ], [ %3, %123 ] %157 = ptrtoint ptr %156 to i64 %158 = and i64 %157, 8 %159 = icmp eq i64 %158, 0 br i1 %159, label %161, label %160 160: ; preds = %155 store i64 0, ptr %156, align 8, !tbaa !14 br label %161 161: ; preds = %155, %160, %35 ret void } declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare ptr @htonl(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_be64(i64 noundef) local_unnamed_addr #1 declare i32 @skb_frag_size(ptr noundef) local_unnamed_addr #1 declare i32 @ULPTX_CMD_V(i32 noundef) local_unnamed_addr #1 declare i32 @ULPTX_NSGE_V(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"skb_shared_info", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !10, i64 24} !13 = !{!"ulptx_sgl", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!6, !10, i64 8} !17 = !{!13, !10, i64 8} !18 = !{!19, !15, i64 8} !19 = !{!"sge_txq", !10, i64 0, !15, i64 8} !20 = !{!13, !10, i64 0} !21 = !{!22, !10, i64 8} !22 = !{!"ulptx_sge_pair", !10, i64 0, !10, i64 8} !23 = !{!10, !10, i64 0} !24 = !{!22, !10, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!19, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4vf/extr_sge.c_write_sgl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4vf/extr_sge.c_write_sgl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ulptx_sge_pair = type { ptr, ptr } @MAX_SKB_FRAGS = common local_unnamed_addr global i32 0, align 4 @ULP_TX_SC_DSGL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_sgl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_sgl(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5) #0 { %7 = tail call ptr @skb_shinfo(ptr noundef %0) #2 %8 = load i32, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr @MAX_SKB_FRAGS, align 4, !tbaa !12 %10 = sdiv i32 %9, 2 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = alloca %struct.ulptx_sge_pair, i64 %12, align 8 %14 = tail call i32 @skb_headlen(ptr noundef %0) #2 %15 = sub i32 %14, %4 %16 = tail call i64 @likely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %6 %19 = tail call ptr @htonl(i32 noundef %15) #2 %20 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %19, ptr %20, align 8, !tbaa !13 %21 = load i64, ptr %5, align 8, !tbaa !15 %22 = zext i32 %4 to i64 %23 = add nsw i64 %21, %22 %24 = tail call ptr @cpu_to_be64(i64 noundef %23) #2 %25 = add i32 %8, 1 br label %35 26: ; preds = %6 %27 = getelementptr inbounds i8, ptr %7, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = tail call i32 @skb_frag_size(ptr noundef %28) #2 %30 = tail call ptr @htonl(i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %30, ptr %31, align 8, !tbaa !13 %32 = getelementptr inbounds i8, ptr %5, i64 8 %33 = load i64, ptr %32, align 8, !tbaa !15 %34 = tail call ptr @cpu_to_be64(i64 noundef %33) #2 br label %35 35: ; preds = %26, %18 %36 = phi ptr [ %34, %26 ], [ %24, %18 ] %37 = phi i32 [ %8, %26 ], [ %25, %18 ] %38 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %36, ptr %38, align 8 %39 = load i32, ptr @ULP_TX_SC_DSGL, align 4, !tbaa !12 %40 = tail call i32 @ULPTX_CMD_V(i32 noundef %39) #2 %41 = tail call i32 @ULPTX_NSGE_V(i32 noundef %37) #2 %42 = or i32 %41, %40 %43 = tail call ptr @htonl(i32 noundef %42) #2 %44 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %43, ptr %44, align 8, !tbaa !18 %45 = add i32 %37, -1 %46 = icmp eq i32 %45, 0 %47 = zext i1 %46 to i32 %48 = tail call i64 @likely(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %161 50: ; preds = %35 %51 = getelementptr inbounds i8, ptr %1, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !19 %53 = inttoptr i64 %52 to ptr %54 = icmp ult ptr %53, %3 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = load ptr, ptr %2, align 8, !tbaa !21 br label %57 57: ; preds = %50, %55 %58 = phi ptr [ %56, %55 ], [ %13, %50 ] %59 = load i32, ptr %7, align 8, !tbaa !6 %60 = icmp ne i32 %45, %59 %61 = zext i1 %60 to i32 %62 = icmp ugt i32 %45, 1 br i1 %62, label %63, label %100 63: ; preds = %57 %64 = getelementptr inbounds i8, ptr %7, i64 8 %65 = zext i1 %60 to i64 br label %66 66: ; preds = %63, %66 %67 = phi i64 [ %65, %63 ], [ %88, %66 ] %68 = phi ptr [ %58, %63 ], [ %96, %66 ] %69 = phi i32 [ %45, %63 ], [ %95, %66 ] %70 = load ptr, ptr %64, align 8, !tbaa !17 %71 = getelementptr inbounds i32, ptr %70, i64 %67 %72 = tail call i32 @skb_frag_size(ptr noundef %71) #2 %73 = tail call ptr @cpu_to_be32(i32 noundef %72) #2 %74 = getelementptr inbounds i8, ptr %68, i64 8 %75 = load ptr, ptr %74, align 8, !tbaa !22 store ptr %73, ptr %75, align 8, !tbaa !24 %76 = load ptr, ptr %64, align 8, !tbaa !17 %77 = add nuw i64 %67, 1 %78 = and i64 %77, 4294967295 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = tail call i32 @skb_frag_size(ptr noundef %79) #2 %81 = tail call ptr @cpu_to_be32(i32 noundef %80) #2 %82 = load ptr, ptr %74, align 8, !tbaa !22 %83 = getelementptr inbounds i8, ptr %82, i64 8 store ptr %81, ptr %83, align 8, !tbaa !24 %84 = getelementptr inbounds i64, ptr %5, i64 %78 %85 = load i64, ptr %84, align 8, !tbaa !15 %86 = tail call ptr @cpu_to_be64(i64 noundef %85) #2 %87 = load ptr, ptr %68, align 8, !tbaa !25 store ptr %86, ptr %87, align 8, !tbaa !24 %88 = add nuw nsw i64 %67, 2 %89 = and i64 %88, 4294967295 %90 = getelementptr inbounds i64, ptr %5, i64 %89 %91 = load i64, ptr %90, align 8, !tbaa !15 %92 = tail call ptr @cpu_to_be64(i64 noundef %91) #2 %93 = load ptr, ptr %68, align 8, !tbaa !25 %94 = getelementptr inbounds i8, ptr %93, i64 8 store ptr %92, ptr %94, align 8, !tbaa !24 %95 = add i32 %69, -2 %96 = getelementptr inbounds i8, ptr %68, i64 16 %97 = icmp ugt i32 %95, 1 br i1 %97, label %66, label %98, !llvm.loop !26 98: ; preds = %66 %99 = trunc i64 %88 to i32 br label %100 100: ; preds = %98, %57 %101 = phi i32 [ %45, %57 ], [ %95, %98 ] %102 = phi ptr [ %58, %57 ], [ %96, %98 ] %103 = phi i32 [ %61, %57 ], [ %99, %98 ] %104 = icmp eq i32 %101, 0 br i1 %104, label %123, label %105 105: ; preds = %100 %106 = getelementptr inbounds i8, ptr %7, i64 8 %107 = load ptr, ptr %106, align 8, !tbaa !17 %108 = zext i32 %103 to i64 %109 = getelementptr inbounds i32, ptr %107, i64 %108 %110 = tail call i32 @skb_frag_size(ptr noundef %109) #2 %111 = tail call ptr @cpu_to_be32(i32 noundef %110) #2 %112 = getelementptr inbounds i8, ptr %102, i64 8 %113 = load ptr, ptr %112, align 8, !tbaa !22 store ptr %111, ptr %113, align 8, !tbaa !24 %114 = tail call ptr @cpu_to_be32(i32 noundef 0) #2 %115 = load ptr, ptr %112, align 8, !tbaa !22 %116 = getelementptr inbounds i8, ptr %115, i64 8 store ptr %114, ptr %116, align 8, !tbaa !24 %117 = add i32 %103, 1 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds i64, ptr %5, i64 %118 %120 = load i64, ptr %119, align 8, !tbaa !15 %121 = tail call ptr @cpu_to_be64(i64 noundef %120) #2 %122 = load ptr, ptr %102, align 8, !tbaa !25 store ptr %121, ptr %122, align 8, !tbaa !24 br label %123 123: ; preds = %105, %100 %124 = load i64, ptr %51, align 8, !tbaa !19 %125 = inttoptr i64 %124 to ptr %126 = icmp ult ptr %125, %3 %127 = zext i1 %126 to i32 %128 = tail call i64 @unlikely(i32 noundef %127) #2 %129 = icmp eq i64 %128, 0 br i1 %129, label %155, label %130 130: ; preds = %123 %131 = load i64, ptr %51, align 8, !tbaa !19 %132 = load ptr, ptr %2, align 8, !tbaa !21 %133 = ptrtoint ptr %132 to i64 %134 = sub i64 %131, %133 %135 = lshr exact i64 %134, 4 %136 = trunc i64 %135 to i32 %137 = tail call i64 @likely(i32 noundef %136) #2 %138 = icmp eq i64 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %130 %140 = load ptr, ptr %2, align 8, !tbaa !21 %141 = call i32 @memcpy(ptr noundef %140, ptr noundef nonnull %13, i32 noundef %136) #2 br label %142 142: ; preds = %139, %130 %143 = load i64, ptr %51, align 8, !tbaa !19 %144 = ptrtoint ptr %3 to i64 %145 = sub i64 %144, %143 %146 = lshr exact i64 %145, 4 %147 = trunc i64 %146 to i32 %148 = load ptr, ptr %1, align 8, !tbaa !28 %149 = and i64 %135, 4294967295 %150 = getelementptr inbounds %struct.ulptx_sge_pair, ptr %13, i64 %149 %151 = call i32 @memcpy(ptr noundef %148, ptr noundef nonnull %150, i32 noundef %147) #2 %152 = load ptr, ptr %1, align 8, !tbaa !28 %153 = and i64 %146, 4294967295 %154 = getelementptr inbounds i8, ptr %152, i64 %153 br label %155 155: ; preds = %142, %123 %156 = phi ptr [ %154, %142 ], [ %3, %123 ] %157 = ptrtoint ptr %156 to i64 %158 = and i64 %157, 8 %159 = icmp eq i64 %158, 0 br i1 %159, label %161, label %160 160: ; preds = %155 store i64 0, ptr %156, align 8, !tbaa !15 br label %161 161: ; preds = %155, %160, %35 ret void } declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare ptr @htonl(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_be64(i64 noundef) local_unnamed_addr #1 declare i32 @skb_frag_size(ptr noundef) local_unnamed_addr #1 declare i32 @ULPTX_CMD_V(i32 noundef) local_unnamed_addr #1 declare i32 @ULPTX_NSGE_V(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"skb_shared_info", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !11, i64 24} !14 = !{!"ulptx_sgl", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!14, !11, i64 8} !19 = !{!20, !16, i64 8} !20 = !{!"sge_txq", !11, i64 0, !16, i64 8} !21 = !{!14, !11, i64 0} !22 = !{!23, !11, i64 8} !23 = !{!"ulptx_sge_pair", !11, i64 0, !11, i64 8} !24 = !{!11, !11, i64 0} !25 = !{!23, !11, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!20, !11, i64 0}
linux_drivers_net_ethernet_chelsio_cxgb4vf_extr_sge.c_write_sgl
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpiolib-sysfs.c_base_show.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpiolib-sysfs.c_base_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @base_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @base_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"gpio_chip", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpiolib-sysfs.c_base_show.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpiolib-sysfs.c_base_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @base_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @base_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"gpio_chip", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpio_extr_gpiolib-sysfs.c_base_show