IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/git/extr_commit-reach.c_repo_get_merge_bases.c' source_filename = "AnghaBench/git/extr_commit-reach.c_repo_get_merge_bases.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @repo_get_merge_bases(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 store ptr %2, ptr %4, align 8, !tbaa !5 %5 = call ptr @get_merge_bases_many_0(ptr noundef %0, ptr noundef %1, i32 noundef 1, ptr noundef nonnull %4, i32 noundef 1) #2 ret ptr %5 } declare ptr @get_merge_bases_many_0(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/git/extr_commit-reach.c_repo_get_merge_bases.c' source_filename = "AnghaBench/git/extr_commit-reach.c_repo_get_merge_bases.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @repo_get_merge_bases(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 store ptr %2, ptr %4, align 8, !tbaa !6 %5 = call ptr @get_merge_bases_many_0(ptr noundef %0, ptr noundef %1, i32 noundef 1, ptr noundef nonnull %4, i32 noundef 1) #2 ret ptr %5 } declare ptr @get_merge_bases_many_0(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
git_extr_commit-reach.c_repo_get_merge_bases
; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_sh.c_movl_pcdisp_reg.c' source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_sh.c_movl_pcdisp_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, ptr, i32 } @R_ANAL_OP_TYPE_LOAD = dso_local local_unnamed_addr global i32 0, align 4 @LONG_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"0x%x,[4],r%d,=\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @movl_pcdisp_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @movl_pcdisp_reg(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @R_ANAL_OP_TYPE_LOAD, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 5 store i32 %4, ptr %5, align 8, !tbaa !9 %6 = and i32 %2, 255 %7 = load i32, ptr @LONG_SIZE, align 4, !tbaa !5 %8 = tail call i32 @anal_pcrel_disp_mov(ptr noundef %0, ptr noundef %1, i32 noundef %6, i32 noundef %7) #2 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 4 %10 = load ptr, ptr %9, align 8, !tbaa !12 store i32 %8, ptr %10, align 4, !tbaa !5 %11 = tail call i32 @GET_TARGET_REG(i32 noundef %2) #2 %12 = tail call i32 @anal_fill_ai_rg(ptr noundef %0, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 store i32 %12, ptr %13, align 4, !tbaa !13 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %15 = shl nuw nsw i32 %6, 2 %16 = load i32, ptr %1, align 8, !tbaa !14 %17 = and i32 %16, -4 %18 = add nuw nsw i32 %15, 4 %19 = add i32 %18, %17 %20 = tail call i32 @GET_TARGET_REG(i32 noundef %2) #2 %21 = tail call i32 @r_strbuf_setf(ptr noundef nonnull %14, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %20) #2 %22 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !15 ret i32 %23 } declare i32 @anal_pcrel_disp_mov(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @anal_fill_ai_rg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_TARGET_REG(i32 noundef) local_unnamed_addr #1 declare i32 @r_strbuf_setf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !6, i64 12} !14 = !{!10, !6, i64 0} !15 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_sh.c_movl_pcdisp_reg.c' source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_sh.c_movl_pcdisp_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_ANAL_OP_TYPE_LOAD = common local_unnamed_addr global i32 0, align 4 @LONG_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"0x%x,[4],r%d,=\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @movl_pcdisp_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @movl_pcdisp_reg(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @R_ANAL_OP_TYPE_LOAD, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %4, ptr %5, align 8, !tbaa !10 %6 = and i32 %2, 255 %7 = load i32, ptr @LONG_SIZE, align 4, !tbaa !6 %8 = tail call i32 @anal_pcrel_disp_mov(ptr noundef %0, ptr noundef %1, i32 noundef %6, i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !13 store i32 %8, ptr %10, align 4, !tbaa !6 %11 = tail call i32 @GET_TARGET_REG(i32 noundef %2) #2 %12 = tail call i32 @anal_fill_ai_rg(ptr noundef %0, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %12, ptr %13, align 4, !tbaa !14 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = shl nuw nsw i32 %6, 2 %16 = load i32, ptr %1, align 8, !tbaa !15 %17 = and i32 %16, -4 %18 = add nuw nsw i32 %15, 4 %19 = add i32 %18, %17 %20 = tail call i32 @GET_TARGET_REG(i32 noundef %2) #2 %21 = tail call i32 @r_strbuf_setf(ptr noundef nonnull %14, ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %1, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !16 ret i32 %23 } declare i32 @anal_pcrel_disp_mov(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @anal_fill_ai_rg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_TARGET_REG(i32 noundef) local_unnamed_addr #1 declare i32 @r_strbuf_setf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !7, i64 12} !15 = !{!11, !7, i64 0} !16 = !{!11, !7, i64 4}
radare2_libr_anal_p_extr_anal_sh.c_movl_pcdisp_reg
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68010_move_fr_ccr.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68010_move_fr_ccr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M68010_PLUS = dso_local local_unnamed_addr global i32 0, align 4 @g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"move CCR, %s; (1+)\00", align 1 @g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d68010_move_fr_ccr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @d68010_move_fr_ccr() #0 { %1 = load i32, ptr @M68010_PLUS, align 4, !tbaa !5 %2 = tail call i32 @LIMIT_CPU_TYPES(i32 noundef %1) #2 %3 = load i32, ptr @g_dasm_str, align 4, !tbaa !5 %4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5 %5 = tail call ptr @get_ea_mode_str_8(i32 noundef %4) #2 %6 = tail call i32 @sprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %5) #2 ret void } declare i32 @LIMIT_CPU_TYPES(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(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/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68010_move_fr_ccr.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68010_move_fr_ccr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M68010_PLUS = common local_unnamed_addr global i32 0, align 4 @g_dasm_str = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"move CCR, %s; (1+)\00", align 1 @g_cpu_ir = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d68010_move_fr_ccr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @d68010_move_fr_ccr() #0 { %1 = load i32, ptr @M68010_PLUS, align 4, !tbaa !6 %2 = tail call i32 @LIMIT_CPU_TYPES(i32 noundef %1) #2 %3 = load i32, ptr @g_dasm_str, align 4, !tbaa !6 %4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6 %5 = tail call ptr @get_ea_mode_str_8(i32 noundef %4) #2 %6 = tail call i32 @sprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %5) #2 ret void } declare i32 @LIMIT_CPU_TYPES(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(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"}
Provenance_Cores_PicoDrive_cpu_musashi_extr_m68kdasm.c_d68010_move_fr_ccr
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/hcic/extr_hcicmds.c_btsnd_hcic_write_page_tout.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/hcic/extr_hcicmds.c_btsnd_hcic_write_page_tout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64 } @HCIC_PARAM_SIZE_WRITE_PARAM2 = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @HCIC_PREAMBLE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @HCI_WRITE_PAGE_TOUT = dso_local local_unnamed_addr global i32 0, align 4 @LOCAL_BR_EDR_CONTROLLER_ID = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @btsnd_hcic_write_page_tout(i32 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !5 %3 = tail call ptr @HCI_GET_CMD_BUF(i64 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %18, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 1 %7 = load i64, ptr @HCIC_PREAMBLE_SIZE, align 8, !tbaa !5 %8 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !5 %9 = add nsw i64 %8, %7 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 store i64 %9, ptr %10, align 8, !tbaa !9 store i64 0, ptr %3, align 8, !tbaa !11 %11 = load i32, ptr @HCI_WRITE_PAGE_TOUT, align 4, !tbaa !12 %12 = tail call i32 @UINT16_TO_STREAM(ptr noundef nonnull %6, i32 noundef %11) #2 %13 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !5 %14 = tail call i32 @UINT8_TO_STREAM(ptr noundef nonnull %6, i64 noundef %13) #2 %15 = tail call i32 @UINT16_TO_STREAM(ptr noundef nonnull %6, i32 noundef %0) #2 %16 = load i32, ptr @LOCAL_BR_EDR_CONTROLLER_ID, align 4, !tbaa !12 %17 = tail call i32 @btu_hcif_send_cmd(i32 noundef %16, ptr noundef nonnull %3) #2 br label %18 18: ; preds = %1, %5 %19 = phi ptr [ @TRUE, %5 ], [ @FALSE, %1 ] %20 = load i32, ptr %19, align 4, !tbaa !12 ret i32 %20 } declare ptr @HCI_GET_CMD_BUF(i64 noundef) local_unnamed_addr #1 declare i32 @UINT16_TO_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UINT8_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @btu_hcif_send_cmd(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, !6, i64 8} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 8} !11 = !{!10, !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/hcic/extr_hcicmds.c_btsnd_hcic_write_page_tout.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/hcic/extr_hcicmds.c_btsnd_hcic_write_page_tout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCIC_PARAM_SIZE_WRITE_PARAM2 = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i32 0, align 4 @HCIC_PREAMBLE_SIZE = common local_unnamed_addr global i64 0, align 8 @HCI_WRITE_PAGE_TOUT = common local_unnamed_addr global i32 0, align 4 @LOCAL_BR_EDR_CONTROLLER_ID = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @btsnd_hcic_write_page_tout(i32 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !6 %3 = tail call ptr @HCI_GET_CMD_BUF(i64 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %18, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %3, i64 16 %7 = load i64, ptr @HCIC_PREAMBLE_SIZE, align 8, !tbaa !6 %8 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !6 %9 = add nsw i64 %8, %7 %10 = getelementptr inbounds i8, ptr %3, i64 8 store i64 %9, ptr %10, align 8, !tbaa !10 store i64 0, ptr %3, align 8, !tbaa !12 %11 = load i32, ptr @HCI_WRITE_PAGE_TOUT, align 4, !tbaa !13 %12 = tail call i32 @UINT16_TO_STREAM(ptr noundef nonnull %6, i32 noundef %11) #2 %13 = load i64, ptr @HCIC_PARAM_SIZE_WRITE_PARAM2, align 8, !tbaa !6 %14 = tail call i32 @UINT8_TO_STREAM(ptr noundef nonnull %6, i64 noundef %13) #2 %15 = tail call i32 @UINT16_TO_STREAM(ptr noundef nonnull %6, i32 noundef %0) #2 %16 = load i32, ptr @LOCAL_BR_EDR_CONTROLLER_ID, align 4, !tbaa !13 %17 = tail call i32 @btu_hcif_send_cmd(i32 noundef %16, ptr noundef nonnull %3) #2 br label %18 18: ; preds = %1, %5 %19 = phi ptr [ @TRUE, %5 ], [ @FALSE, %1 ] %20 = load i32, ptr %19, align 4, !tbaa !13 ret i32 %20 } declare ptr @HCI_GET_CMD_BUF(i64 noundef) local_unnamed_addr #1 declare i32 @UINT16_TO_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UINT8_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @btu_hcif_send_cmd(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, !7, i64 8} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
esp-idf_components_bt_host_bluedroid_stack_hcic_extr_hcicmds.c_btsnd_hcic_write_page_tout
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/au88x0/extr_au88x0_a3d.c_a3dsrc_SetHrtfCurrent.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/au88x0/extr_au88x0_a3d.c_a3dsrc_SetHrtfCurrent.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @HRTF_SZ = dso_local local_unnamed_addr global i32 0, align 4 @A3D_B_HrtfCurrent = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @a3dsrc_SetHrtfCurrent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @a3dsrc_SetHrtfCurrent(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr @HRTF_SZ, align 4, !tbaa !11 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %33 9: ; preds = %3 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %29, %11 ] %13 = load i32, ptr %6, align 4, !tbaa !12 %14 = load i32, ptr %10, align 4, !tbaa !14 %15 = load i32, ptr %0, align 8, !tbaa !15 %16 = load i32, ptr @A3D_B_HrtfCurrent, align 4, !tbaa !11 %17 = tail call i64 @a3d_addrB(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = trunc i64 %12 to i32 %19 = shl i32 %18, 2 %20 = sext i32 %19 to i64 %21 = add nsw i64 %17, %20 %22 = getelementptr inbounds i32, ptr %2, i64 %12 %23 = load i32, ptr %22, align 4, !tbaa !11 %24 = shl i32 %23, 16 %25 = getelementptr inbounds i32, ptr %1, i64 %12 %26 = load i32, ptr %25, align 4, !tbaa !11 %27 = or i32 %24, %26 %28 = tail call i32 @hwwrite(i32 noundef %13, i64 noundef %21, i32 noundef %27) #2 %29 = add nuw nsw i64 %12, 1 %30 = load i32, ptr @HRTF_SZ, align 4, !tbaa !11 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %29, %31 br i1 %32, label %11, label %33, !llvm.loop !16 33: ; preds = %11, %3 ret void } declare i32 @hwwrite(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @a3d_addrB(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, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!6, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/au88x0/extr_au88x0_a3d.c_a3dsrc_SetHrtfCurrent.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/au88x0/extr_au88x0_a3d.c_a3dsrc_SetHrtfCurrent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HRTF_SZ = common local_unnamed_addr global i32 0, align 4 @A3D_B_HrtfCurrent = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @a3dsrc_SetHrtfCurrent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @a3dsrc_SetHrtfCurrent(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr @HRTF_SZ, align 4, !tbaa !12 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %33 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 4 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %29, %11 ] %13 = load i32, ptr %6, align 4, !tbaa !13 %14 = load i32, ptr %10, align 4, !tbaa !15 %15 = load i32, ptr %0, align 8, !tbaa !16 %16 = load i32, ptr @A3D_B_HrtfCurrent, align 4, !tbaa !12 %17 = tail call i64 @a3d_addrB(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = trunc nuw nsw i64 %12 to i32 %19 = shl i32 %18, 2 %20 = sext i32 %19 to i64 %21 = add nsw i64 %17, %20 %22 = getelementptr inbounds i32, ptr %2, i64 %12 %23 = load i32, ptr %22, align 4, !tbaa !12 %24 = shl i32 %23, 16 %25 = getelementptr inbounds i32, ptr %1, i64 %12 %26 = load i32, ptr %25, align 4, !tbaa !12 %27 = or i32 %24, %26 %28 = tail call i32 @hwwrite(i32 noundef %13, i64 noundef %21, i32 noundef %27) #2 %29 = add nuw nsw i64 %12, 1 %30 = load i32, ptr @HRTF_SZ, align 4, !tbaa !12 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %29, %31 br i1 %32, label %11, label %33, !llvm.loop !17 33: ; preds = %11, %3 ret void } declare i32 @hwwrite(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @a3d_addrB(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, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_4__", !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!7, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_pci_au88x0_extr_au88x0_a3d.c_a3dsrc_SetHrtfCurrent
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_api.c_e1000_reset_adaptive.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_api.c_e1000_reset_adaptive.c" target datalayout = "e-m:e-p270:32:32-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 @e1000_reset_adaptive(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @e1000_reset_adaptive_generic(ptr noundef %0) #2 ret void } declare i32 @e1000_reset_adaptive_generic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_api.c_e1000_reset_adaptive.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_api.c_e1000_reset_adaptive.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 @e1000_reset_adaptive(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @e1000_reset_adaptive_generic(ptr noundef %0) #2 ret void } declare i32 @e1000_reset_adaptive_generic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_e1000_extr_e1000_api.c_e1000_reset_adaptive
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_DSL_BSP_FWDownload.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_DSL_BSP_FWDownload.c" target datalayout = "e-m:e-p270:32:32-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 { i64, ptr } %struct.TYPE_8__ = type { i32, i32, ptr, ptr } %struct.TYPE_6__ = type { ptr, ptr, i32, i64, ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Firmware size is too small!\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Firmware size is too large!\0A\00", align 1 @FREE_ALL = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"Error: No memory space left.\0A\00", align 1 @XDATA_REGISTER = dso_local local_unnamed_addr global i32 0, align 4 @SDRAM_SEGMENT_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @FREE_RELOAD = dso_local local_unnamed_addr global ptr null, align 8 @FREE_SHOWTIME = dso_local local_unnamed_addr global ptr null, align 8 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [22 x i8] c"kmalloc memory fail!\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"-> IFX_MEI_BarUpdate()\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"Error: Firmware size=0! \0A\00", align 1 @DSL_DEV_MEI_ERR_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @DSL_DEV_MEI_ERR_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @DSL_BSP_FWDownload(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca %struct.TYPE_7__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 %7 = tail call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %8 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 3 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 %12 = tail call i32 @IFX_MEI_DMSG(ptr noundef nonnull @.str) #3 %13 = load i64, ptr %3, align 8, !tbaa !12 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %117 15: ; preds = %5 %16 = icmp ult i64 %2, 16 br i1 %16, label %17, label %19 17: ; preds = %15 %18 = tail call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.1) #3 br label %174 19: ; preds = %15 %20 = call i32 @copy_from_user(ptr noundef nonnull %6, ptr noundef %1, i64 noundef 16) #3 %21 = load i64, ptr %6, align 8, !tbaa !14 %22 = call i32 @le32_to_cpu(i64 noundef %21) #3 %23 = add nsw i32 %22, 8 %24 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 store i32 %23, ptr %24, align 8, !tbaa !16 %25 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %26 = load i32, ptr %25, align 8, !tbaa !16 %27 = icmp sgt i32 %26, 1048576 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.2) #3 br label %174 30: ; preds = %19 %31 = call i32 @IFX_MEI_ResetARC(ptr noundef %0) #3 %32 = call i32 @IFX_MEI_HaltArc(ptr noundef %0) #3 %33 = load i32, ptr @FREE_ALL, align 4, !tbaa !11 %34 = call i32 @IFX_MEI_DFEMemoryFree(ptr noundef %0, i32 noundef %33) #3 %35 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %36 = load i32, ptr %35, align 8, !tbaa !16 %37 = call i32 @IFX_MEI_DFEMemoryAlloc(ptr noundef %0, i32 noundef %36) #3 %38 = icmp slt i32 %37, 0 br i1 %38, label %45, label %39 39: ; preds = %30 %40 = icmp eq i32 %37, 0 br i1 %40, label %69, label %41 41: ; preds = %39 %42 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1 %43 = zext nneg i32 %37 to i64 %44 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !11 br label %47 45: ; preds = %30 %46 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.3) #3 br label %170 47: ; preds = %41, %65 %48 = phi i32 [ %44, %41 ], [ %66, %65 ] %49 = phi i64 [ 0, %41 ], [ %67, %65 ] %50 = zext i32 %48 to i64 %51 = icmp eq i64 %49, %50 br i1 %51, label %65, label %52 52: ; preds = %47 %53 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %54 = trunc i64 %49 to i32 %55 = mul nsw i32 %53, %54 %56 = load ptr, ptr %42, align 8, !tbaa !17 %57 = load i64, ptr %56, align 8, !tbaa !18 %58 = call i32 @le32_to_cpu(i64 noundef %57) #3 %59 = icmp slt i32 %55, %58 %60 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !11 %61 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %49, i32 4 %62 = load ptr, ptr @FREE_RELOAD, align 8 %63 = load ptr, ptr @FREE_SHOWTIME, align 8 %64 = select i1 %59, ptr %62, ptr %63 store ptr %64, ptr %61, align 8, !tbaa !20 br label %65 65: ; preds = %52, %47 %66 = phi i32 [ %48, %47 ], [ %60, %52 ] %67 = add nuw nsw i64 %49, 1 %68 = icmp eq i64 %67, %43 br i1 %68, label %69, label %47, !llvm.loop !22 69: ; preds = %65, %39 %70 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %71 = getelementptr inbounds %struct.TYPE_8__, ptr %70, i64 0, i32 1 store i32 %37, ptr %71, align 4, !tbaa !24 %72 = load ptr, ptr %9, align 8, !tbaa !25 %73 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %74 = getelementptr inbounds %struct.TYPE_8__, ptr %73, i64 0, i32 2 store ptr %72, ptr %74, align 8, !tbaa !26 %75 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %76 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %77 = call ptr @kmalloc(i32 noundef %75, i32 noundef %76) #3 %78 = icmp eq ptr %77, null br i1 %78, label %79, label %81 79: ; preds = %69 %80 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.4) #3 br label %170 81: ; preds = %69 %82 = ptrtoint ptr %77 to i64 %83 = and i64 %82, 1023 %84 = icmp eq i64 %83, 0 br i1 %84, label %99, label %85 85: ; preds = %81 %86 = call i32 @kfree(ptr noundef nonnull %77) #3 %87 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %88 = add nsw i32 %87, 1024 %89 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %90 = call ptr @kmalloc(i32 noundef %88, i32 noundef %89) #3 %91 = icmp eq ptr %90, null br i1 %91, label %92, label %94 92: ; preds = %85 %93 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.4) #3 br label %170 94: ; preds = %85 %95 = getelementptr inbounds i8, ptr %90, i64 1023 %96 = ptrtoint ptr %95 to i64 %97 = and i64 %96, -1024 %98 = inttoptr i64 %97 to ptr br label %99 99: ; preds = %81, %94 %100 = phi ptr [ %98, %94 ], [ %77, %81 ] %101 = phi ptr [ %90, %94 ], [ %77, %81 ] %102 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !11 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103 store ptr %100, ptr %104, align 8, !tbaa !25 %105 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103, i32 1 store ptr %101, ptr %105, align 8, !tbaa !27 %106 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %107 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103, i32 2 store i32 %106, ptr %107, align 8, !tbaa !28 %108 = load ptr, ptr @FREE_RELOAD, align 8, !tbaa !29 %109 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !11 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %110, i32 4 store ptr %108, ptr %111, align 8, !tbaa !20 %112 = call i32 @IFX_MEI_DMSG(ptr noundef nonnull @.str.5) #3 %113 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %114 = getelementptr inbounds %struct.TYPE_8__, ptr %113, i64 0, i32 1 %115 = load i32, ptr %114, align 4, !tbaa !24 %116 = call i32 @IFX_MEI_BarUpdate(ptr noundef %0, i32 noundef %115) #3 br label %123 117: ; preds = %5 %118 = tail call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %119 = load i32, ptr %118, align 8, !tbaa !16 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %123 121: ; preds = %117 %122 = tail call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.6) #3 br label %170 123: ; preds = %117, %99 %124 = icmp eq i64 %2, 0 br i1 %124, label %166, label %125 125: ; preds = %123, %160 %126 = phi i64 [ %161, %160 ], [ 0, %123 ] %127 = load i64, ptr %3, align 8, !tbaa !12 %128 = add i64 %127, %126 %129 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %130 = sext i32 %129 to i64 %131 = urem i64 %128, %130 %132 = udiv i64 %128, %130 %133 = shl i64 %132, 32 %134 = ashr exact i64 %133, 32 %135 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %134 %136 = load ptr, ptr %135, align 8, !tbaa !25 %137 = ptrtoint ptr %136 to i64 %138 = add i64 %131, %137 %139 = call i64 @KSEG1ADDR(i64 noundef %138) #3 %140 = inttoptr i64 %139 to ptr %141 = sub i64 %2, %126 %142 = add i64 %131, %141 %143 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !11 %144 = sext i32 %143 to i64 %145 = icmp ugt i64 %142, %144 %146 = sub nsw i64 %144, %131 %147 = select i1 %145, i64 %146, i64 %141 %148 = getelementptr inbounds i8, ptr %1, i64 %126 %149 = call i32 @copy_from_user(ptr noundef %140, ptr noundef %148, i64 noundef %147) #3 %150 = lshr i64 %147, 2 %151 = icmp ult i64 %147, 4 br i1 %151, label %160, label %152 152: ; preds = %125, %152 %153 = phi i64 [ %158, %152 ], [ 0, %125 ] %154 = getelementptr inbounds i64, ptr %140, i64 %153 %155 = load i64, ptr %154, align 8, !tbaa !12 %156 = call i32 @le32_to_cpu(i64 noundef %155) #3 %157 = sext i32 %156 to i64 store i64 %157, ptr %154, align 8, !tbaa !12 %158 = add nuw nsw i64 %153, 1 %159 = icmp ult i64 %158, %150 br i1 %159, label %152, label %160, !llvm.loop !30 160: ; preds = %152, %125 %161 = add i64 %147, %126 %162 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %134, i32 3 %163 = load i64, ptr %162, align 8, !tbaa !31 %164 = add i64 %163, %147 store i64 %164, ptr %162, align 8, !tbaa !31 %165 = icmp ult i64 %161, %2 br i1 %165, label %125, label %166, !llvm.loop !32 166: ; preds = %160, %123 %167 = load i64, ptr %3, align 8, !tbaa !12 %168 = add i64 %167, %2 store i64 %168, ptr %3, align 8, !tbaa !12 store i64 %2, ptr %4, align 8, !tbaa !12 %169 = load i32, ptr @DSL_DEV_MEI_ERR_SUCCESS, align 4, !tbaa !11 br label %174 170: ; preds = %121, %92, %79, %45 %171 = load i32, ptr @FREE_ALL, align 4, !tbaa !11 %172 = call i32 @IFX_MEI_DFEMemoryFree(ptr noundef %0, i32 noundef %171) #3 %173 = load i32, ptr @DSL_DEV_MEI_ERR_FAILURE, align 4, !tbaa !11 br label %174 174: ; preds = %170, %166, %28, %17 %175 = phi i32 [ %11, %17 ], [ %11, %28 ], [ %173, %170 ], [ %169, %166 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 ret i32 %175 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @DSL_DEV_PRIVATE(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DMSG(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_EMSG(ptr noundef) local_unnamed_addr #2 declare i32 @copy_from_user(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i64 noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_ResetARC(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_HaltArc(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DFEMemoryFree(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DFEMemoryAlloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_BarUpdate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @KSEG1ADDR(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !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 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_7__", !13, i64 0, !10, i64 8} !16 = !{!6, !7, i64 0} !17 = !{!15, !10, i64 8} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_5__", !13, i64 0} !20 = !{!21, !10, i64 32} !21 = !{!"TYPE_6__", !10, i64 0, !10, i64 8, !7, i64 16, !13, i64 24, !10, i64 32} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!6, !7, i64 4} !25 = !{!21, !10, i64 0} !26 = !{!6, !10, i64 8} !27 = !{!21, !10, i64 8} !28 = !{!21, !7, i64 16} !29 = !{!10, !10, i64 0} !30 = distinct !{!30, !23} !31 = !{!21, !13, i64 24} !32 = distinct !{!32, !23}
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_DSL_BSP_FWDownload.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_DSL_BSP_FWDownload.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i64, ptr } %struct.TYPE_6__ = type { ptr, ptr, i32, i64, ptr } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Firmware size is too small!\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Firmware size is too large!\0A\00", align 1 @FREE_ALL = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"Error: No memory space left.\0A\00", align 1 @XDATA_REGISTER = common local_unnamed_addr global i32 0, align 4 @SDRAM_SEGMENT_SIZE = common local_unnamed_addr global i32 0, align 4 @FREE_RELOAD = common local_unnamed_addr global ptr null, align 8 @FREE_SHOWTIME = common local_unnamed_addr global ptr null, align 8 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [22 x i8] c"kmalloc memory fail!\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"-> IFX_MEI_BarUpdate()\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"Error: Firmware size=0! \0A\00", align 1 @DSL_DEV_MEI_ERR_SUCCESS = common local_unnamed_addr global i32 0, align 4 @DSL_DEV_MEI_ERR_FAILURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @DSL_BSP_FWDownload(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca %struct.TYPE_7__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 %7 = tail call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %8 = getelementptr inbounds i8, ptr %7, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 %12 = tail call i32 @IFX_MEI_DMSG(ptr noundef nonnull @.str) #3 %13 = load i64, ptr %3, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %117 15: ; preds = %5 %16 = icmp ult i64 %2, 16 br i1 %16, label %17, label %19 17: ; preds = %15 %18 = tail call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.1) #3 br label %177 19: ; preds = %15 %20 = call i32 @copy_from_user(ptr noundef nonnull %6, ptr noundef %1, i64 noundef 16) #3 %21 = load i64, ptr %6, align 8, !tbaa !15 %22 = call i32 @le32_to_cpu(i64 noundef %21) #3 %23 = add nsw i32 %22, 8 %24 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 store i32 %23, ptr %24, align 8, !tbaa !17 %25 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = icmp sgt i32 %26, 1048576 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.2) #3 br label %177 30: ; preds = %19 %31 = call i32 @IFX_MEI_ResetARC(ptr noundef %0) #3 %32 = call i32 @IFX_MEI_HaltArc(ptr noundef %0) #3 %33 = load i32, ptr @FREE_ALL, align 4, !tbaa !12 %34 = call i32 @IFX_MEI_DFEMemoryFree(ptr noundef %0, i32 noundef %33) #3 %35 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %36 = load i32, ptr %35, align 8, !tbaa !17 %37 = call i32 @IFX_MEI_DFEMemoryAlloc(ptr noundef %0, i32 noundef %36) #3 %38 = icmp slt i32 %37, 0 br i1 %38, label %45, label %39 39: ; preds = %30 %40 = icmp eq i32 %37, 0 br i1 %40, label %69, label %41 41: ; preds = %39 %42 = getelementptr inbounds i8, ptr %6, i64 8 %43 = zext nneg i32 %37 to i64 %44 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !12 br label %47 45: ; preds = %30 %46 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.3) #3 br label %173 47: ; preds = %41, %65 %48 = phi i32 [ %44, %41 ], [ %66, %65 ] %49 = phi i64 [ 0, %41 ], [ %67, %65 ] %50 = zext i32 %48 to i64 %51 = icmp eq i64 %49, %50 br i1 %51, label %65, label %52 52: ; preds = %47 %53 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %54 = trunc nuw nsw i64 %49 to i32 %55 = mul nsw i32 %53, %54 %56 = load ptr, ptr %42, align 8, !tbaa !18 %57 = load i64, ptr %56, align 8, !tbaa !19 %58 = call i32 @le32_to_cpu(i64 noundef %57) #3 %59 = icmp slt i32 %55, %58 %60 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !12 %61 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %49, i32 4 %62 = load ptr, ptr @FREE_RELOAD, align 8 %63 = load ptr, ptr @FREE_SHOWTIME, align 8 %64 = select i1 %59, ptr %62, ptr %63 store ptr %64, ptr %61, align 8, !tbaa !21 br label %65 65: ; preds = %52, %47 %66 = phi i32 [ %48, %47 ], [ %60, %52 ] %67 = add nuw nsw i64 %49, 1 %68 = icmp eq i64 %67, %43 br i1 %68, label %69, label %47, !llvm.loop !23 69: ; preds = %65, %39 %70 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %71 = getelementptr inbounds i8, ptr %70, i64 4 store i32 %37, ptr %71, align 4, !tbaa !25 %72 = load ptr, ptr %9, align 8, !tbaa !26 %73 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %74 = getelementptr inbounds i8, ptr %73, i64 8 store ptr %72, ptr %74, align 8, !tbaa !27 %75 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %76 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %77 = call ptr @kmalloc(i32 noundef %75, i32 noundef %76) #3 %78 = icmp eq ptr %77, null br i1 %78, label %79, label %81 79: ; preds = %69 %80 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.4) #3 br label %173 81: ; preds = %69 %82 = ptrtoint ptr %77 to i64 %83 = and i64 %82, 1023 %84 = icmp eq i64 %83, 0 br i1 %84, label %99, label %85 85: ; preds = %81 %86 = call i32 @kfree(ptr noundef nonnull %77) #3 %87 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %88 = add nsw i32 %87, 1024 %89 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %90 = call ptr @kmalloc(i32 noundef %88, i32 noundef %89) #3 %91 = icmp eq ptr %90, null br i1 %91, label %92, label %94 92: ; preds = %85 %93 = call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.4) #3 br label %173 94: ; preds = %85 %95 = getelementptr inbounds i8, ptr %90, i64 1023 %96 = ptrtoint ptr %95 to i64 %97 = and i64 %96, -1024 %98 = inttoptr i64 %97 to ptr br label %99 99: ; preds = %81, %94 %100 = phi ptr [ %98, %94 ], [ %77, %81 ] %101 = phi ptr [ %90, %94 ], [ %77, %81 ] %102 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !12 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103 store ptr %100, ptr %104, align 8, !tbaa !26 %105 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103, i32 1 store ptr %101, ptr %105, align 8, !tbaa !28 %106 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %107 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %103, i32 2 store i32 %106, ptr %107, align 8, !tbaa !29 %108 = load ptr, ptr @FREE_RELOAD, align 8, !tbaa !30 %109 = load i32, ptr @XDATA_REGISTER, align 4, !tbaa !12 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %110, i32 4 store ptr %108, ptr %111, align 8, !tbaa !21 %112 = call i32 @IFX_MEI_DMSG(ptr noundef nonnull @.str.5) #3 %113 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %114 = getelementptr inbounds i8, ptr %113, i64 4 %115 = load i32, ptr %114, align 4, !tbaa !25 %116 = call i32 @IFX_MEI_BarUpdate(ptr noundef %0, i32 noundef %115) #3 br label %123 117: ; preds = %5 %118 = tail call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3 %119 = load i32, ptr %118, align 8, !tbaa !17 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %123 121: ; preds = %117 %122 = tail call i32 @IFX_MEI_EMSG(ptr noundef nonnull @.str.6) #3 br label %173 123: ; preds = %117, %99 %124 = icmp eq i64 %2, 0 br i1 %124, label %169, label %125 125: ; preds = %123, %163 %126 = phi i64 [ %164, %163 ], [ 0, %123 ] %127 = load i64, ptr %3, align 8, !tbaa !13 %128 = add i64 %127, %126 %129 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %130 = sext i32 %129 to i64 %131 = freeze i64 %128 %132 = freeze i64 %130 %133 = udiv i64 %131, %132 %134 = mul i64 %133, %132 %135 = sub i64 %131, %134 %136 = shl i64 %133, 32 %137 = ashr exact i64 %136, 32 %138 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %137 %139 = load ptr, ptr %138, align 8, !tbaa !26 %140 = ptrtoint ptr %139 to i64 %141 = add i64 %135, %140 %142 = call i64 @KSEG1ADDR(i64 noundef %141) #3 %143 = inttoptr i64 %142 to ptr %144 = sub i64 %2, %126 %145 = add i64 %135, %144 %146 = load i32, ptr @SDRAM_SEGMENT_SIZE, align 4, !tbaa !12 %147 = sext i32 %146 to i64 %148 = icmp ugt i64 %145, %147 %149 = sub nsw i64 %147, %135 %150 = select i1 %148, i64 %149, i64 %144 %151 = getelementptr inbounds i8, ptr %1, i64 %126 %152 = call i32 @copy_from_user(ptr noundef %143, ptr noundef %151, i64 noundef %150) #3 %153 = lshr i64 %150, 2 %154 = icmp ult i64 %150, 4 br i1 %154, label %163, label %155 155: ; preds = %125, %155 %156 = phi i64 [ %161, %155 ], [ 0, %125 ] %157 = getelementptr inbounds i64, ptr %143, i64 %156 %158 = load i64, ptr %157, align 8, !tbaa !13 %159 = call i32 @le32_to_cpu(i64 noundef %158) #3 %160 = sext i32 %159 to i64 store i64 %160, ptr %157, align 8, !tbaa !13 %161 = add nuw nsw i64 %156, 1 %162 = icmp ult i64 %161, %153 br i1 %162, label %155, label %163, !llvm.loop !31 163: ; preds = %155, %125 %164 = add i64 %150, %126 %165 = getelementptr inbounds i8, ptr %138, i64 24 %166 = load i64, ptr %165, align 8, !tbaa !32 %167 = add i64 %166, %150 store i64 %167, ptr %165, align 8, !tbaa !32 %168 = icmp ult i64 %164, %2 br i1 %168, label %125, label %169, !llvm.loop !33 169: ; preds = %163, %123 %170 = load i64, ptr %3, align 8, !tbaa !13 %171 = add i64 %170, %2 store i64 %171, ptr %3, align 8, !tbaa !13 store i64 %2, ptr %4, align 8, !tbaa !13 %172 = load i32, ptr @DSL_DEV_MEI_ERR_SUCCESS, align 4, !tbaa !12 br label %177 173: ; preds = %121, %92, %79, %45 %174 = load i32, ptr @FREE_ALL, align 4, !tbaa !12 %175 = call i32 @IFX_MEI_DFEMemoryFree(ptr noundef %0, i32 noundef %174) #3 %176 = load i32, ptr @DSL_DEV_MEI_ERR_FAILURE, align 4, !tbaa !12 br label %177 177: ; preds = %173, %169, %28, %17 %178 = phi i32 [ %11, %17 ], [ %11, %28 ], [ %176, %173 ], [ %172, %169 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 ret i32 %178 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @DSL_DEV_PRIVATE(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DMSG(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_EMSG(ptr noundef) local_unnamed_addr #2 declare i32 @copy_from_user(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i64 noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_ResetARC(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_HaltArc(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DFEMemoryFree(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_DFEMemoryAlloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @IFX_MEI_BarUpdate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @KSEG1ADDR(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !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 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_7__", !14, i64 0, !11, i64 8} !17 = !{!7, !8, i64 0} !18 = !{!16, !11, i64 8} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_5__", !14, i64 0} !21 = !{!22, !11, i64 32} !22 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !8, i64 16, !14, i64 24, !11, i64 32} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!7, !8, i64 4} !26 = !{!22, !11, i64 0} !27 = !{!7, !11, i64 8} !28 = !{!22, !11, i64 8} !29 = !{!22, !8, i64 16} !30 = !{!11, !11, i64 0} !31 = distinct !{!31, !24} !32 = !{!22, !14, i64 24} !33 = distinct !{!33, !24}
openwrt_package_kernel_lantiq_ltq-adsl-mei_src_extr_drv_mei_cpe.c_DSL_BSP_FWDownload
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_gencmd.c_vc_gencmd_until.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_gencmd.c_vc_gencmd_until.c" target datalayout = "e-m:e-p270:32:32-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 @vc_gencmd_until(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca [128 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = tail call i32 (...) @use_gencmd_service() #3 %10 = icmp sgt i32 %4, 0 br i1 %10, label %11, label %29 11: ; preds = %5, %25 %12 = phi i32 [ %27, %25 ], [ %4, %5 ] %13 = call i32 @vc_gencmd(ptr noundef nonnull %6, i32 noundef 128, ptr noundef %0) #3 %14 = call i64 @strstr(ptr noundef nonnull %6, ptr noundef %3) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %29 16: ; preds = %11 %17 = call i64 @vc_gencmd_string_property(ptr noundef nonnull %6, ptr noundef %1, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load ptr, ptr %8, align 8, !tbaa !5 %21 = load i32, ptr %7, align 4, !tbaa !9 %22 = sext i32 %21 to i64 %23 = call i64 @strncmp(ptr noundef %2, ptr noundef %20, i64 noundef %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %16, %19 %26 = call i32 @vcos_sleep(i32 noundef 10) #3 %27 = add nsw i32 %12, -10 %28 = icmp sgt i32 %12, 10 br i1 %28, label %11, label %29, !llvm.loop !11 29: ; preds = %25, %11, %19, %5 %30 = phi i32 [ 1, %5 ], [ 0, %19 ], [ 1, %11 ], [ 1, %25 ] %31 = call i32 (...) @release_gencmd_service() #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @use_gencmd_service(...) local_unnamed_addr #2 declare i32 @vc_gencmd(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @vc_gencmd_string_property(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @vcos_sleep(i32 noundef) local_unnamed_addr #2 declare i32 @release_gencmd_service(...) 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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_gencmd.c_vc_gencmd_until.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/vmcs_host/extr_vc_vchi_gencmd.c_vc_gencmd_until.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 @vc_gencmd_until(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca [128 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = tail call i32 @use_gencmd_service() #3 %10 = icmp sgt i32 %4, 0 br i1 %10, label %11, label %29 11: ; preds = %5, %25 %12 = phi i32 [ %27, %25 ], [ %4, %5 ] %13 = call i32 @vc_gencmd(ptr noundef nonnull %6, i32 noundef 128, ptr noundef %0) #3 %14 = call i64 @strstr(ptr noundef nonnull %6, ptr noundef %3) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %29 16: ; preds = %11 %17 = call i64 @vc_gencmd_string_property(ptr noundef nonnull %6, ptr noundef %1, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load ptr, ptr %8, align 8, !tbaa !6 %21 = load i32, ptr %7, align 4, !tbaa !10 %22 = sext i32 %21 to i64 %23 = call i64 @strncmp(ptr noundef %2, ptr noundef %20, i64 noundef %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %16, %19 %26 = call i32 @vcos_sleep(i32 noundef 10) #3 %27 = add nsw i32 %12, -10 %28 = icmp sgt i32 %12, 10 br i1 %28, label %11, label %29, !llvm.loop !12 29: ; preds = %25, %11, %19, %5 %30 = phi i32 [ 1, %5 ], [ 0, %19 ], [ 1, %11 ], [ 1, %25 ] %31 = call i32 @release_gencmd_service() #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @use_gencmd_service(...) local_unnamed_addr #2 declare i32 @vc_gencmd(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @vc_gencmd_string_property(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @vcos_sleep(i32 noundef) local_unnamed_addr #2 declare i32 @release_gencmd_service(...) 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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
RetroArch_gfx_include_userland_interface_vmcs_host_extr_vc_vchi_gencmd.c_vc_gencmd_until
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_debugfs.c_connector_debugfs_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_debugfs.c_connector_debugfs_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_4__ = type { i64, ptr } %struct.TYPE_5__ = type { i32, i32 } @DRM_MODE_CONNECTOR_DisplayPort = dso_local local_unnamed_addr global i64 0, align 8 @DRM_MODE_CONNECTOR_eDP = dso_local local_unnamed_addr global i64 0, align 8 @dp_debugfs_entries = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @connector_debugfs_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = load i64, ptr @DRM_MODE_CONNECTOR_DisplayPort, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @DRM_MODE_CONNECTOR_eDP, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %10, label %27 10: ; preds = %1 %11 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !14 %12 = tail call i32 @ARRAY_SIZE(ptr noundef %11) #2 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %10, %14 %15 = phi i64 [ %22, %14 ], [ 0, %10 ] %16 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !14 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 %15 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 %15, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = load i32, ptr %17, align 4, !tbaa !18 %21 = tail call i32 @debugfs_create_file(i32 noundef %19, i32 noundef 420, ptr noundef %3, ptr noundef nonnull %0, i32 noundef %20) #2 %22 = add nuw nsw i64 %15, 1 %23 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !14 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %22, %25 br i1 %26, label %14, label %27, !llvm.loop !19 27: ; preds = %14, %10, %1 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_create_file(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"amdgpu_dm_connector", !7, i64 0} !7 = !{!"TYPE_4__", !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 = !{!6, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!16, !17, i64 4} !16 = !{!"TYPE_5__", !17, i64 0, !17, i64 4} !17 = !{!"int", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_debugfs.c_connector_debugfs_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_debugfs.c_connector_debugfs_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32, i32 } @DRM_MODE_CONNECTOR_DisplayPort = common local_unnamed_addr global i64 0, align 8 @DRM_MODE_CONNECTOR_eDP = common local_unnamed_addr global i64 0, align 8 @dp_debugfs_entries = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @connector_debugfs_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !13 %5 = load i64, ptr @DRM_MODE_CONNECTOR_DisplayPort, align 8, !tbaa !14 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @DRM_MODE_CONNECTOR_eDP, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 br i1 %9, label %10, label %27 10: ; preds = %1 %11 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !15 %12 = tail call i32 @ARRAY_SIZE(ptr noundef %11) #2 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %10, %14 %15 = phi i64 [ %22, %14 ], [ 0, %10 ] %16 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 %15 %18 = getelementptr inbounds i8, ptr %17, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = load i32, ptr %17, align 4, !tbaa !19 %21 = tail call i32 @debugfs_create_file(i32 noundef %19, i32 noundef 420, ptr noundef %3, ptr noundef nonnull %0, i32 noundef %20) #2 %22 = add nuw nsw i64 %15, 1 %23 = load ptr, ptr @dp_debugfs_entries, align 8, !tbaa !15 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %22, %25 br i1 %26, label %14, label %27, !llvm.loop !20 27: ; preds = %14, %10, %1 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_create_file(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"amdgpu_dm_connector", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!17, !18, i64 4} !17 = !{!"TYPE_5__", !18, i64 0, !18, i64 4} !18 = !{!"int", !10, i64 0} !19 = !{!17, !18, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_amd_display_amdgpu_dm_extr_amdgpu_dm_debugfs.c_connector_debugfs_init
; ModuleID = 'AnghaBench/freebsd/usr.bin/hexdump/extr_display.c_peek.c' source_filename = "AnghaBench/freebsd/usr.bin/hexdump/extr_display.c_peek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @length = dso_local local_unnamed_addr global i32 0, align 4 @EOF = dso_local local_unnamed_addr global i32 0, align 4 @stdin = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @peek(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @length, align 4, !tbaa !5 %4 = icmp ne i32 %3, -1 %5 = zext i32 %3 to i64 %6 = icmp ult i64 %5, %1 %7 = and i1 %4, %6 %8 = sext i32 %3 to i64 %9 = select i1 %7, i64 %8, i64 %1 %10 = icmp eq i64 %9, 0 br i1 %10, label %35, label %11 11: ; preds = %2, %17 %12 = phi i64 [ %19, %17 ], [ 0, %2 ] %13 = phi ptr [ %18, %17 ], [ %0, %2 ] %14 = tail call i32 (...) @getchar() #2 %15 = load i32, ptr @EOF, align 4, !tbaa !5 %16 = icmp eq i32 %14, %15 br i1 %16, label %21, label %17 17: ; preds = %11 %18 = getelementptr inbounds i32, ptr %13, i64 1 store i32 %14, ptr %13, align 4, !tbaa !5 %19 = add nuw i64 %12, 1 %20 = icmp eq i64 %19, %9 br i1 %20, label %23, label %11, !llvm.loop !9 21: ; preds = %11 %22 = icmp eq i64 %12, 0 br i1 %22, label %35, label %23 23: ; preds = %17, %21 %24 = phi i64 [ %12, %21 ], [ %9, %17 ] %25 = phi ptr [ %13, %21 ], [ %18, %17 ] br label %26 26: ; preds = %23, %26 %27 = phi i64 [ %29, %26 ], [ %24, %23 ] %28 = phi ptr [ %30, %26 ], [ %25, %23 ] %29 = add i64 %27, -1 %30 = getelementptr inbounds i32, ptr %28, i64 -1 %31 = load i32, ptr %30, align 4, !tbaa !5 %32 = load i32, ptr @stdin, align 4, !tbaa !5 %33 = tail call i32 @ungetc(i32 noundef %31, i32 noundef %32) #2 %34 = icmp eq i64 %29, 0 br i1 %34, label %35, label %26, !llvm.loop !11 35: ; preds = %26, %2, %21 %36 = phi i64 [ 0, %21 ], [ 0, %2 ], [ %24, %26 ] ret i64 %36 } declare i32 @getchar(...) local_unnamed_addr #1 declare i32 @ungetc(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/freebsd/usr.bin/hexdump/extr_display.c_peek.c' source_filename = "AnghaBench/freebsd/usr.bin/hexdump/extr_display.c_peek.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @length = common local_unnamed_addr global i32 0, align 4 @EOF = common local_unnamed_addr global i32 0, align 4 @stdin = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @peek(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @length, align 4, !tbaa !6 %4 = icmp ne i32 %3, -1 %5 = zext i32 %3 to i64 %6 = icmp ult i64 %5, %1 %7 = and i1 %4, %6 %8 = sext i32 %3 to i64 %9 = select i1 %7, i64 %8, i64 %1 %10 = icmp eq i64 %9, 0 br i1 %10, label %35, label %11 11: ; preds = %2, %17 %12 = phi i64 [ %19, %17 ], [ 0, %2 ] %13 = phi ptr [ %18, %17 ], [ %0, %2 ] %14 = tail call i32 @getchar() #2 %15 = load i32, ptr @EOF, align 4, !tbaa !6 %16 = icmp eq i32 %14, %15 br i1 %16, label %21, label %17 17: ; preds = %11 %18 = getelementptr inbounds i8, ptr %13, i64 4 store i32 %14, ptr %13, align 4, !tbaa !6 %19 = add nuw i64 %12, 1 %20 = icmp eq i64 %19, %9 br i1 %20, label %23, label %11, !llvm.loop !10 21: ; preds = %11 %22 = icmp eq i64 %12, 0 br i1 %22, label %35, label %23 23: ; preds = %17, %21 %24 = phi i64 [ %12, %21 ], [ %9, %17 ] %25 = phi ptr [ %13, %21 ], [ %18, %17 ] br label %26 26: ; preds = %23, %26 %27 = phi i64 [ %29, %26 ], [ %24, %23 ] %28 = phi ptr [ %30, %26 ], [ %25, %23 ] %29 = add i64 %27, -1 %30 = getelementptr inbounds i8, ptr %28, i64 -4 %31 = load i32, ptr %30, align 4, !tbaa !6 %32 = load i32, ptr @stdin, align 4, !tbaa !6 %33 = tail call i32 @ungetc(i32 noundef %31, i32 noundef %32) #2 %34 = icmp eq i64 %29, 0 br i1 %34, label %35, label %26, !llvm.loop !12 35: ; preds = %26, %2, %21 %36 = phi i64 [ 0, %21 ], [ 0, %2 ], [ %24, %26 ] ret i64 %36 } declare i32 @getchar(...) local_unnamed_addr #1 declare i32 @ungetc(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
freebsd_usr.bin_hexdump_extr_display.c_peek
; ModuleID = 'AnghaBench/linux/sound/i2c/extr_cs8427.c_snd_cs8427_spdif_mask_info.c' source_filename = "AnghaBench/linux/sound/i2c/extr_cs8427.c_snd_cs8427_spdif_mask_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_ctl_elem_info = type { i32, i32 } @SNDRV_CTL_ELEM_TYPE_IEC958 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cs8427_spdif_mask_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @snd_cs8427_spdif_mask_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_IEC958, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !9 store i32 1, ptr %1, align 4, !tbaa !11 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"snd_ctl_elem_info", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/i2c/extr_cs8427.c_snd_cs8427_spdif_mask_info.c' source_filename = "AnghaBench/linux/sound/i2c/extr_cs8427.c_snd_cs8427_spdif_mask_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_CTL_ELEM_TYPE_IEC958 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_cs8427_spdif_mask_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @snd_cs8427_spdif_mask_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_IEC958, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %3, ptr %4, align 4, !tbaa !10 store i32 1, ptr %1, align 4, !tbaa !12 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"snd_ctl_elem_info", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
linux_sound_i2c_extr_cs8427.c_snd_cs8427_spdif_mask_info
; ModuleID = 'AnghaBench/linux/drivers/media/pci/tw686x/extr_tw686x-video.c_tw686x_g_fmt_vid_cap.c' source_filename = "AnghaBench/linux/drivers/media/pci/tw686x/extr_tw686x-video.c_tw686x_g_fmt_vid_cap.c" target datalayout = "e-m:e-p270:32:32-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.tw686x_video_channel = type { i32, i32, ptr, ptr } %struct.TYPE_7__ = type { i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32, i32 } @V4L2_COLORSPACE_SMPTE170M = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tw686x_g_fmt_vid_cap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @tw686x_g_fmt_vid_cap(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @video_drvdata(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.tw686x_video_channel, ptr %4, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr %4, align 8, !tbaa !11 store i32 %7, ptr %2, align 4, !tbaa !12 %8 = getelementptr inbounds %struct.tw686x_video_channel, ptr %4, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !16 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !17 %11 = load ptr, ptr %6, align 8, !tbaa !18 %12 = load i32, ptr %11, align 4, !tbaa !20 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 6 store i32 %12, ptr %13, align 4, !tbaa !22 %14 = getelementptr inbounds %struct.tw686x_video_channel, ptr %4, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !23 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !24 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 5 store i32 %17, ptr %18, align 4, !tbaa !26 %19 = load i32, ptr @V4L2_COLORSPACE_SMPTE170M, align 4, !tbaa !27 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 4 store i32 %19, ptr %20, align 4, !tbaa !28 %21 = load i32, ptr %15, align 4, !tbaa !29 %22 = mul nsw i32 %21, %7 %23 = sdiv i32 %22, 8 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2 store i32 %23, ptr %24, align 4, !tbaa !30 %25 = mul nsw i32 %23, %9 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 3 store i32 %25, ptr %26, align 4, !tbaa !31 ret i32 0 } declare ptr @video_drvdata(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 = !{!"tw686x_video_channel", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"v4l2_format", !14, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24} !16 = !{!6, !7, i64 4} !17 = !{!13, !7, i64 4} !18 = !{!19, !10, i64 0} !19 = !{!"tw686x_dev", !10, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_5__", !7, i64 0} !22 = !{!13, !7, i64 24} !23 = !{!6, !10, i64 8} !24 = !{!25, !7, i64 4} !25 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !26 = !{!13, !7, i64 20} !27 = !{!7, !7, i64 0} !28 = !{!13, !7, i64 16} !29 = !{!25, !7, i64 0} !30 = !{!13, !7, i64 8} !31 = !{!13, !7, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/tw686x/extr_tw686x-video.c_tw686x_g_fmt_vid_cap.c' source_filename = "AnghaBench/linux/drivers/media/pci/tw686x/extr_tw686x-video.c_tw686x_g_fmt_vid_cap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @V4L2_COLORSPACE_SMPTE170M = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tw686x_g_fmt_vid_cap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @tw686x_g_fmt_vid_cap(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @video_drvdata(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr %4, align 8, !tbaa !12 store i32 %7, ptr %2, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %4, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %9, ptr %10, align 4, !tbaa !18 %11 = load ptr, ptr %6, align 8, !tbaa !19 %12 = load i32, ptr %11, align 4, !tbaa !21 %13 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %12, ptr %13, align 4, !tbaa !23 %14 = getelementptr inbounds i8, ptr %4, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !24 %16 = getelementptr inbounds i8, ptr %15, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !25 %18 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %17, ptr %18, align 4, !tbaa !27 %19 = load i32, ptr @V4L2_COLORSPACE_SMPTE170M, align 4, !tbaa !28 %20 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %19, ptr %20, align 4, !tbaa !29 %21 = load i32, ptr %15, align 4, !tbaa !30 %22 = mul nsw i32 %21, %7 %23 = sdiv i32 %22, 8 %24 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %23, ptr %24, align 4, !tbaa !31 %25 = mul nsw i32 %23, %9 %26 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %25, ptr %26, align 4, !tbaa !32 ret i32 0 } declare ptr @video_drvdata(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 = !{!"tw686x_video_channel", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"v4l2_format", !15, i64 0} !15 = !{!"TYPE_8__", !16, i64 0} !16 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24} !17 = !{!7, !8, i64 4} !18 = !{!14, !8, i64 4} !19 = !{!20, !11, i64 0} !20 = !{!"tw686x_dev", !11, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_5__", !8, i64 0} !23 = !{!14, !8, i64 24} !24 = !{!7, !11, i64 8} !25 = !{!26, !8, i64 4} !26 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !27 = !{!14, !8, i64 20} !28 = !{!8, !8, i64 0} !29 = !{!14, !8, i64 16} !30 = !{!26, !8, i64 0} !31 = !{!14, !8, i64 8} !32 = !{!14, !8, i64 12}
linux_drivers_media_pci_tw686x_extr_tw686x-video.c_tw686x_g_fmt_vid_cap
; ModuleID = 'AnghaBench/freebsd/sys/fs/ext2fs/extr_ext2_csum.c_ext2_init_dirent_tail.c' source_filename = "AnghaBench/freebsd/sys/fs/ext2fs/extr_ext2_csum.c_ext2_init_dirent_tail.c" target datalayout = "e-m:e-p270:32:32-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.ext2fs_direct_tail = type { i32, i32 } @EXT2_FT_DIR_CSUM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ext2_init_dirent_tail(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2 store i32 8, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @EXT2_FT_DIR_CSUM, align 4, !tbaa !10 %4 = getelementptr inbounds %struct.ext2fs_direct_tail, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !11 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ext2fs_direct_tail", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/fs/ext2fs/extr_ext2_csum.c_ext2_init_dirent_tail.c' source_filename = "AnghaBench/freebsd/sys/fs/ext2fs/extr_ext2_csum.c_ext2_init_dirent_tail.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXT2_FT_DIR_CSUM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ext2_init_dirent_tail(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2 store i32 8, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @EXT2_FT_DIR_CSUM, align 4, !tbaa !11 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !12 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ext2fs_direct_tail", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
freebsd_sys_fs_ext2fs_extr_ext2_csum.c_ext2_init_dirent_tail
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu_helper.c_phm_irq_process.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu_helper.c_phm_irq_process.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.amdgpu_iv_entry = type { i64, i64 } @AMDGPU_IRQ_CLIENTID_LEGACY = dso_local local_unnamed_addr global i64 0, align 8 @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_LOW_TO_HIGH = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [55 x i8] c"GPU over temperature range detected on PCIe %d:%d.%d!\0A\00", align 1 @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_HIGH_TO_LOW = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [56 x i8] c"GPU under temperature range detected on PCIe %d:%d.%d!\0A\00", align 1 @VISLANDS30_IV_SRCID_GPIO_19 = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [59 x i8] c"GPU Critical Temperature Fault detected on PCIe %d:%d.%d!\0A\00", align 1 @SOC15_IH_CLIENTID_THM = dso_local local_unnamed_addr global i64 0, align 8 @SOC15_IH_CLIENTID_ROM_SMUIO = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @phm_irq_process(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.amdgpu_iv_entry, ptr %2, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = load i64, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 8, !tbaa !11 %8 = icmp eq i64 %4, %7 br i1 %8, label %9, label %51 9: ; preds = %3 %10 = load i64, ptr @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_LOW_TO_HIGH, align 8, !tbaa !11 %11 = icmp eq i64 %6, %10 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = tail call i32 @PCI_BUS_NUM(i32 noundef %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !12 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @PCI_SLOT(i32 noundef %17) #2 %19 = load ptr, ptr %0, align 8, !tbaa !12 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = tail call i32 @PCI_FUNC(i32 noundef %20) #2 %22 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %18, i32 noundef %21) #2 br label %83 23: ; preds = %9 %24 = load i64, ptr @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_HIGH_TO_LOW, align 8, !tbaa !11 %25 = icmp eq i64 %6, %24 br i1 %25, label %26, label %37 26: ; preds = %23 %27 = load ptr, ptr %0, align 8, !tbaa !12 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = tail call i32 @PCI_BUS_NUM(i32 noundef %28) #2 %30 = load ptr, ptr %0, align 8, !tbaa !12 %31 = load i32, ptr %30, align 4, !tbaa !15 %32 = tail call i32 @PCI_SLOT(i32 noundef %31) #2 %33 = load ptr, ptr %0, align 8, !tbaa !12 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = tail call i32 @PCI_FUNC(i32 noundef %34) #2 %36 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %29, i32 noundef %32, i32 noundef %35) #2 br label %83 37: ; preds = %23 %38 = load i64, ptr @VISLANDS30_IV_SRCID_GPIO_19, align 8, !tbaa !11 %39 = icmp eq i64 %6, %38 br i1 %39, label %40, label %83 40: ; preds = %37 %41 = load ptr, ptr %0, align 8, !tbaa !12 %42 = load i32, ptr %41, align 4, !tbaa !15 %43 = tail call i32 @PCI_BUS_NUM(i32 noundef %42) #2 %44 = load ptr, ptr %0, align 8, !tbaa !12 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = tail call i32 @PCI_SLOT(i32 noundef %45) #2 %47 = load ptr, ptr %0, align 8, !tbaa !12 %48 = load i32, ptr %47, align 4, !tbaa !15 %49 = tail call i32 @PCI_FUNC(i32 noundef %48) #2 %50 = tail call i32 @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %43, i32 noundef %46, i32 noundef %49) #2 br label %83 51: ; preds = %3 %52 = load i64, ptr @SOC15_IH_CLIENTID_THM, align 8, !tbaa !11 %53 = icmp eq i64 %4, %52 br i1 %53, label %54, label %69 54: ; preds = %51 %55 = icmp eq i64 %6, 0 %56 = load ptr, ptr %0, align 8, !tbaa !12 %57 = load i32, ptr %56, align 4, !tbaa !15 %58 = tail call i32 @PCI_BUS_NUM(i32 noundef %57) #2 %59 = load ptr, ptr %0, align 8, !tbaa !12 %60 = load i32, ptr %59, align 4, !tbaa !15 %61 = tail call i32 @PCI_SLOT(i32 noundef %60) #2 %62 = load ptr, ptr %0, align 8, !tbaa !12 %63 = load i32, ptr %62, align 4, !tbaa !15 %64 = tail call i32 @PCI_FUNC(i32 noundef %63) #2 br i1 %55, label %65, label %67 65: ; preds = %54 %66 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %58, i32 noundef %61, i32 noundef %64) #2 br label %83 67: ; preds = %54 %68 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %58, i32 noundef %61, i32 noundef %64) #2 br label %83 69: ; preds = %51 %70 = load i64, ptr @SOC15_IH_CLIENTID_ROM_SMUIO, align 8, !tbaa !11 %71 = icmp eq i64 %4, %70 br i1 %71, label %72, label %83 72: ; preds = %69 %73 = load ptr, ptr %0, align 8, !tbaa !12 %74 = load i32, ptr %73, align 4, !tbaa !15 %75 = tail call i32 @PCI_BUS_NUM(i32 noundef %74) #2 %76 = load ptr, ptr %0, align 8, !tbaa !12 %77 = load i32, ptr %76, align 4, !tbaa !15 %78 = tail call i32 @PCI_SLOT(i32 noundef %77) #2 %79 = load ptr, ptr %0, align 8, !tbaa !12 %80 = load i32, ptr %79, align 4, !tbaa !15 %81 = tail call i32 @PCI_FUNC(i32 noundef %80) #2 %82 = tail call i32 @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %75, i32 noundef %78, i32 noundef %81) #2 br label %83 83: ; preds = %67, %65, %72, %69, %12, %37, %40, %26 ret i32 0 } declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PCI_BUS_NUM(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_FUNC(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 = !{!"amdgpu_iv_entry", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"amdgpu_device", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_2__", !17, i64 0} !17 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu_helper.c_phm_irq_process.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu_helper.c_phm_irq_process.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AMDGPU_IRQ_CLIENTID_LEGACY = common local_unnamed_addr global i64 0, align 8 @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_LOW_TO_HIGH = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [55 x i8] c"GPU over temperature range detected on PCIe %d:%d.%d!\0A\00", align 1 @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_HIGH_TO_LOW = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [56 x i8] c"GPU under temperature range detected on PCIe %d:%d.%d!\0A\00", align 1 @VISLANDS30_IV_SRCID_GPIO_19 = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [59 x i8] c"GPU Critical Temperature Fault detected on PCIe %d:%d.%d!\0A\00", align 1 @SOC15_IH_CLIENTID_THM = common local_unnamed_addr global i64 0, align 8 @SOC15_IH_CLIENTID_ROM_SMUIO = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @phm_irq_process(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 8, !tbaa !12 %8 = icmp eq i64 %4, %7 br i1 %8, label %9, label %51 9: ; preds = %3 %10 = load i64, ptr @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_LOW_TO_HIGH, align 8, !tbaa !12 %11 = icmp eq i64 %6, %10 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = load i32, ptr %13, align 4, !tbaa !16 %15 = tail call i32 @PCI_BUS_NUM(i32 noundef %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !13 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 @PCI_SLOT(i32 noundef %17) #2 %19 = load ptr, ptr %0, align 8, !tbaa !13 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = tail call i32 @PCI_FUNC(i32 noundef %20) #2 %22 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %18, i32 noundef %21) #2 br label %83 23: ; preds = %9 %24 = load i64, ptr @VISLANDS30_IV_SRCID_CG_TSS_THERMAL_HIGH_TO_LOW, align 8, !tbaa !12 %25 = icmp eq i64 %6, %24 br i1 %25, label %26, label %37 26: ; preds = %23 %27 = load ptr, ptr %0, align 8, !tbaa !13 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = tail call i32 @PCI_BUS_NUM(i32 noundef %28) #2 %30 = load ptr, ptr %0, align 8, !tbaa !13 %31 = load i32, ptr %30, align 4, !tbaa !16 %32 = tail call i32 @PCI_SLOT(i32 noundef %31) #2 %33 = load ptr, ptr %0, align 8, !tbaa !13 %34 = load i32, ptr %33, align 4, !tbaa !16 %35 = tail call i32 @PCI_FUNC(i32 noundef %34) #2 %36 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %29, i32 noundef %32, i32 noundef %35) #2 br label %83 37: ; preds = %23 %38 = load i64, ptr @VISLANDS30_IV_SRCID_GPIO_19, align 8, !tbaa !12 %39 = icmp eq i64 %6, %38 br i1 %39, label %40, label %83 40: ; preds = %37 %41 = load ptr, ptr %0, align 8, !tbaa !13 %42 = load i32, ptr %41, align 4, !tbaa !16 %43 = tail call i32 @PCI_BUS_NUM(i32 noundef %42) #2 %44 = load ptr, ptr %0, align 8, !tbaa !13 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = tail call i32 @PCI_SLOT(i32 noundef %45) #2 %47 = load ptr, ptr %0, align 8, !tbaa !13 %48 = load i32, ptr %47, align 4, !tbaa !16 %49 = tail call i32 @PCI_FUNC(i32 noundef %48) #2 %50 = tail call i32 @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %43, i32 noundef %46, i32 noundef %49) #2 br label %83 51: ; preds = %3 %52 = load i64, ptr @SOC15_IH_CLIENTID_THM, align 8, !tbaa !12 %53 = icmp eq i64 %4, %52 br i1 %53, label %54, label %69 54: ; preds = %51 %55 = icmp eq i64 %6, 0 %56 = load ptr, ptr %0, align 8, !tbaa !13 %57 = load i32, ptr %56, align 4, !tbaa !16 %58 = tail call i32 @PCI_BUS_NUM(i32 noundef %57) #2 %59 = load ptr, ptr %0, align 8, !tbaa !13 %60 = load i32, ptr %59, align 4, !tbaa !16 %61 = tail call i32 @PCI_SLOT(i32 noundef %60) #2 %62 = load ptr, ptr %0, align 8, !tbaa !13 %63 = load i32, ptr %62, align 4, !tbaa !16 %64 = tail call i32 @PCI_FUNC(i32 noundef %63) #2 br i1 %55, label %65, label %67 65: ; preds = %54 %66 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %58, i32 noundef %61, i32 noundef %64) #2 br label %83 67: ; preds = %54 %68 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %58, i32 noundef %61, i32 noundef %64) #2 br label %83 69: ; preds = %51 %70 = load i64, ptr @SOC15_IH_CLIENTID_ROM_SMUIO, align 8, !tbaa !12 %71 = icmp eq i64 %4, %70 br i1 %71, label %72, label %83 72: ; preds = %69 %73 = load ptr, ptr %0, align 8, !tbaa !13 %74 = load i32, ptr %73, align 4, !tbaa !16 %75 = tail call i32 @PCI_BUS_NUM(i32 noundef %74) #2 %76 = load ptr, ptr %0, align 8, !tbaa !13 %77 = load i32, ptr %76, align 4, !tbaa !16 %78 = tail call i32 @PCI_SLOT(i32 noundef %77) #2 %79 = load ptr, ptr %0, align 8, !tbaa !13 %80 = load i32, ptr %79, align 4, !tbaa !16 %81 = tail call i32 @PCI_FUNC(i32 noundef %80) #2 %82 = tail call i32 @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %75, i32 noundef %78, i32 noundef %81) #2 br label %83 83: ; preds = %67, %65, %72, %69, %12, %37, %40, %26 ret i32 0 } declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PCI_BUS_NUM(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_FUNC(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 = !{!"amdgpu_iv_entry", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"amdgpu_device", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_2__", !18, i64 0} !18 = !{!"int", !9, i64 0}
linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_smu_helper.c_phm_irq_process
; ModuleID = 'AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy-kitten-php.c_kitten_php_current_count.c' source_filename = "AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy-kitten-php.c_kitten_php_current_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CurConf = dso_local local_unnamed_addr global ptr null, align 8 @KittenPhpNum = dso_local local_unnamed_addr global i64 0, align 8 @worker_tree = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kitten_php_current_count() local_unnamed_addr #0 { %1 = load ptr, ptr @CurConf, align 8, !tbaa !5 %2 = load ptr, ptr %1, align 8, !tbaa !9 %3 = load i64, ptr @KittenPhpNum, align 8, !tbaa !11 %4 = getelementptr inbounds ptr, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %0 %8 = load i32, ptr @worker_tree, align 4, !tbaa !13 %9 = tail call i32 @tree_count_worker(i32 noundef %8) #2 br label %10 10: ; preds = %0, %7 %11 = phi i32 [ %9, %7 ], [ -1, %0 ] ret i32 %11 } declare i32 @tree_count_worker(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 0} !10 = !{!"TYPE_2__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy-kitten-php.c_kitten_php_current_count.c' source_filename = "AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy-kitten-php.c_kitten_php_current_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CurConf = common local_unnamed_addr global ptr null, align 8 @KittenPhpNum = common local_unnamed_addr global i64 0, align 8 @worker_tree = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kitten_php_current_count() local_unnamed_addr #0 { %1 = load ptr, ptr @CurConf, align 8, !tbaa !6 %2 = load ptr, ptr %1, align 8, !tbaa !10 %3 = load i64, ptr @KittenPhpNum, align 8, !tbaa !12 %4 = getelementptr inbounds ptr, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %0 %8 = load i32, ptr @worker_tree, align 4, !tbaa !14 %9 = tail call i32 @tree_count_worker(i32 noundef %8) #2 br label %10 10: ; preds = %0, %7 %11 = phi i32 [ %9, %7 ], [ -1, %0 ] ret i32 %11 } declare i32 @tree_count_worker(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 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
kphp-kdb_rpc-proxy_extr_rpc-proxy-kitten-php.c_kitten_php_current_count
; ModuleID = 'AnghaBench/netdata/libnetdata/statistical/extr_..inlined.h_strncpyz.c' source_filename = "AnghaBench/netdata/libnetdata/statistical/extr_..inlined.h_strncpyz.c" target datalayout = "e-m:e-p270:32:32-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 @strncpyz], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal noundef ptr @strncpyz(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = load i8, ptr %1, align 1, !tbaa !5 %5 = icmp eq i8 %4, 0 %6 = icmp eq i64 %2, 0 %7 = or i1 %5, %6 br i1 %7, label %20, label %8 8: ; preds = %3, %8 %9 = phi i8 [ %16, %8 ], [ %4, %3 ] %10 = phi ptr [ %15, %8 ], [ %0, %3 ] %11 = phi i64 [ %13, %8 ], [ %2, %3 ] %12 = phi ptr [ %14, %8 ], [ %1, %3 ] %13 = add i64 %11, -1 %14 = getelementptr inbounds i8, ptr %12, i64 1 %15 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %9, ptr %10, align 1, !tbaa !5 %16 = load i8, ptr %14, align 1, !tbaa !5 %17 = icmp eq i8 %16, 0 %18 = icmp eq i64 %13, 0 %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %20, label %8, !llvm.loop !8 20: ; preds = %8, %3 %21 = phi ptr [ %0, %3 ], [ %15, %8 ] store i8 0, ptr %21, align 1, !tbaa !5 ret ptr %0 } attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/netdata/libnetdata/statistical/extr_..inlined.h_strncpyz.c' source_filename = "AnghaBench/netdata/libnetdata/statistical/extr_..inlined.h_strncpyz.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 @strncpyz], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef ptr @strncpyz(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = load i8, ptr %1, align 1, !tbaa !6 %5 = icmp eq i8 %4, 0 %6 = icmp eq i64 %2, 0 %7 = or i1 %5, %6 br i1 %7, label %20, label %8 8: ; preds = %3, %8 %9 = phi i8 [ %16, %8 ], [ %4, %3 ] %10 = phi ptr [ %15, %8 ], [ %0, %3 ] %11 = phi i64 [ %13, %8 ], [ %2, %3 ] %12 = phi ptr [ %14, %8 ], [ %1, %3 ] %13 = add i64 %11, -1 %14 = getelementptr inbounds i8, ptr %12, i64 1 %15 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %9, ptr %10, align 1, !tbaa !6 %16 = load i8, ptr %14, align 1, !tbaa !6 %17 = icmp eq i8 %16, 0 %18 = icmp eq i64 %13, 0 %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %20, label %8, !llvm.loop !9 20: ; preds = %8, %3 %21 = phi ptr [ %0, %3 ], [ %15, %8 ] store i8 0, ptr %21, align 1, !tbaa !6 ret ptr %0 } attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
netdata_libnetdata_statistical_extr_..inlined.h_strncpyz
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_directive.c_ngx_http_lua_shared_dict.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_directive.c_ngx_http_lua_shared_dict.c" target datalayout = "e-m:e-p270:32:32-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_19__ = type { i64 } %struct.TYPE_22__ = type { i32, ptr } %struct.TYPE_23__ = type { ptr, i32, ptr } %struct.TYPE_21__ = type { %struct.TYPE_19__, ptr, ptr } %struct.TYPE_20__ = type { ptr, i32 } @NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @NGX_OK = dso_local local_unnamed_addr global i64 0, align 8 @NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"invalid lua shared dict name \22%V\22\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"invalid lua shared dict size \22%V\22\00", align 1 @ngx_http_lua_module = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"lua_shared_dict \22%V\22 is already defined as \22%V\22\00", align 1 @ngx_http_lua_shdict_init_zone = dso_local local_unnamed_addr global i32 0, align 4 @NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @ngx_http_lua_shared_dict(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_19__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.TYPE_22__, ptr %2, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %18 8: ; preds = %3 %9 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !11 %11 = tail call ptr @ngx_palloc(i32 noundef %10, i32 noundef 4) #3 store ptr %11, ptr %5, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %60, label %13 13: ; preds = %8 %14 = load i32, ptr %9, align 8, !tbaa !11 %15 = tail call i64 @ngx_array_init(ptr noundef nonnull %11, i32 noundef %14, i32 noundef 2, i32 noundef 8) #3 %16 = load i64, ptr @NGX_OK, align 8, !tbaa !13 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %60 18: ; preds = %13, %3 %19 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 2 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = getelementptr inbounds %struct.TYPE_19__, ptr %21, i64 1 %23 = load i64, ptr %22, align 8, !tbaa !13 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !18 %27 = tail call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %26, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %22) #3 br label %60 28: ; preds = %18 store i64 %23, ptr %4, align 8, !tbaa !13 %29 = getelementptr inbounds %struct.TYPE_19__, ptr %21, i64 2 %30 = tail call i32 @ngx_parse_size(ptr noundef nonnull %29) #3 %31 = icmp slt i32 %30, 8192 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !18 %34 = tail call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %33, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %29) #3 br label %60 35: ; preds = %28 %36 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1 %37 = load i32, ptr %36, align 8, !tbaa !11 %38 = tail call ptr @ngx_pcalloc(i32 noundef %37, i32 noundef 24) #3 %39 = icmp eq ptr %38, null br i1 %39, label %60, label %40 40: ; preds = %35 store i64 %23, ptr %38, align 8, !tbaa !13 %41 = getelementptr inbounds %struct.TYPE_21__, ptr %38, i64 0, i32 2 store ptr %2, ptr %41, align 8, !tbaa !19 %42 = load ptr, ptr %0, align 8, !tbaa !22 %43 = getelementptr inbounds %struct.TYPE_21__, ptr %38, i64 0, i32 1 store ptr %42, ptr %43, align 8, !tbaa !23 %44 = zext nneg i32 %30 to i64 %45 = call ptr @ngx_http_lua_shared_memory_add(ptr noundef nonnull %0, ptr noundef nonnull %4, i64 noundef %44, ptr noundef nonnull @ngx_http_lua_module) #3 %46 = icmp eq ptr %45, null br i1 %46, label %60, label %47 47: ; preds = %40 %48 = load ptr, ptr %45, align 8, !tbaa !24 %49 = icmp eq ptr %48, null br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !18 %52 = call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %51, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef nonnull %4, ptr noundef nonnull %48) #3 br label %60 53: ; preds = %47 %54 = load i32, ptr @ngx_http_lua_shdict_init_zone, align 4, !tbaa !18 %55 = getelementptr inbounds %struct.TYPE_20__, ptr %45, i64 0, i32 1 store i32 %54, ptr %55, align 8, !tbaa !26 store ptr %38, ptr %45, align 8, !tbaa !24 %56 = load ptr, ptr %5, align 8, !tbaa !5 %57 = call ptr @ngx_array_push(ptr noundef %56) #3 %58 = icmp eq ptr %57, null br i1 %58, label %60, label %59 59: ; preds = %53 store ptr %45, ptr %57, align 8, !tbaa !27 store i32 1, ptr %2, align 8, !tbaa !28 br label %60 60: ; preds = %53, %40, %35, %13, %8, %59, %50, %32, %25 %61 = phi ptr [ @NGX_CONF_ERROR, %25 ], [ @NGX_CONF_ERROR, %32 ], [ @NGX_CONF_ERROR, %50 ], [ @NGX_CONF_OK, %59 ], [ @NGX_CONF_ERROR, %8 ], [ @NGX_CONF_ERROR, %13 ], [ @NGX_CONF_ERROR, %35 ], [ @NGX_CONF_ERROR, %40 ], [ @NGX_CONF_ERROR, %53 ] %62 = load ptr, ptr %61, align 8, !tbaa !27 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ngx_palloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ngx_parse_size(ptr noundef) local_unnamed_addr #2 declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_http_lua_shared_memory_add(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_22__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 8} !12 = !{!"TYPE_23__", !10, i64 0, !7, i64 8, !10, i64 16} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!12, !10, i64 16} !16 = !{!17, !10, i64 0} !17 = !{!"TYPE_17__", !10, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!20, !10, i64 16} !20 = !{!"TYPE_21__", !21, i64 0, !10, i64 8, !10, i64 16} !21 = !{!"TYPE_19__", !14, i64 0} !22 = !{!12, !10, i64 0} !23 = !{!20, !10, i64 8} !24 = !{!25, !10, i64 0} !25 = !{!"TYPE_20__", !10, i64 0, !7, i64 8} !26 = !{!25, !7, i64 8} !27 = !{!10, !10, i64 0} !28 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_directive.c_ngx_http_lua_shared_dict.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_directive.c_ngx_http_lua_shared_dict.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_19__ = type { i64 } @NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8 @NGX_OK = common local_unnamed_addr global i64 0, align 8 @NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"invalid lua shared dict name \22%V\22\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"invalid lua shared dict size \22%V\22\00", align 1 @ngx_http_lua_module = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"lua_shared_dict \22%V\22 is already defined as \22%V\22\00", align 1 @ngx_http_lua_shdict_init_zone = common local_unnamed_addr global i32 0, align 4 @NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ngx_http_lua_shared_dict(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_19__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %18 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call ptr @ngx_palloc(i32 noundef %10, i32 noundef 4) #3 store ptr %11, ptr %5, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %60, label %13 13: ; preds = %8 %14 = load i32, ptr %9, align 8, !tbaa !12 %15 = tail call i64 @ngx_array_init(ptr noundef nonnull %11, i32 noundef %14, i32 noundef 2, i32 noundef 8) #3 %16 = load i64, ptr @NGX_OK, align 8, !tbaa !14 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %60 18: ; preds = %13, %3 %19 = getelementptr inbounds i8, ptr %0, i64 16 %20 = load ptr, ptr %19, align 8, !tbaa !16 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %21, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !14 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19 %27 = tail call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %26, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %22) #3 br label %60 28: ; preds = %18 store i64 %23, ptr %4, align 8, !tbaa !14 %29 = getelementptr inbounds i8, ptr %21, i64 16 %30 = tail call i32 @ngx_parse_size(ptr noundef nonnull %29) #3 %31 = icmp slt i32 %30, 8192 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19 %34 = tail call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %33, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %29) #3 br label %60 35: ; preds = %28 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load i32, ptr %36, align 8, !tbaa !12 %38 = tail call ptr @ngx_pcalloc(i32 noundef %37, i32 noundef 24) #3 %39 = icmp eq ptr %38, null br i1 %39, label %60, label %40 40: ; preds = %35 store i64 %23, ptr %38, align 8, !tbaa !14 %41 = getelementptr inbounds i8, ptr %38, i64 16 store ptr %2, ptr %41, align 8, !tbaa !20 %42 = load ptr, ptr %0, align 8, !tbaa !23 %43 = getelementptr inbounds i8, ptr %38, i64 8 store ptr %42, ptr %43, align 8, !tbaa !24 %44 = zext nneg i32 %30 to i64 %45 = call ptr @ngx_http_lua_shared_memory_add(ptr noundef nonnull %0, ptr noundef nonnull %4, i64 noundef %44, ptr noundef nonnull @ngx_http_lua_module) #3 %46 = icmp eq ptr %45, null br i1 %46, label %60, label %47 47: ; preds = %40 %48 = load ptr, ptr %45, align 8, !tbaa !25 %49 = icmp eq ptr %48, null br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19 %52 = call i32 (i32, ptr, i32, ptr, ptr, ...) @ngx_conf_log_error(i32 noundef %51, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef nonnull %4, ptr noundef nonnull %48) #3 br label %60 53: ; preds = %47 %54 = load i32, ptr @ngx_http_lua_shdict_init_zone, align 4, !tbaa !19 %55 = getelementptr inbounds i8, ptr %45, i64 8 store i32 %54, ptr %55, align 8, !tbaa !27 store ptr %38, ptr %45, align 8, !tbaa !25 %56 = load ptr, ptr %5, align 8, !tbaa !6 %57 = call ptr @ngx_array_push(ptr noundef %56) #3 %58 = icmp eq ptr %57, null br i1 %58, label %60, label %59 59: ; preds = %53 store ptr %45, ptr %57, align 8, !tbaa !28 store i32 1, ptr %2, align 8, !tbaa !29 br label %60 60: ; preds = %53, %40, %35, %13, %8, %59, %50, %32, %25 %61 = phi ptr [ @NGX_CONF_ERROR, %25 ], [ @NGX_CONF_ERROR, %32 ], [ @NGX_CONF_ERROR, %50 ], [ @NGX_CONF_OK, %59 ], [ @NGX_CONF_ERROR, %8 ], [ @NGX_CONF_ERROR, %13 ], [ @NGX_CONF_ERROR, %35 ], [ @NGX_CONF_ERROR, %40 ], [ @NGX_CONF_ERROR, %53 ] %62 = load ptr, ptr %61, align 8, !tbaa !28 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ngx_palloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ngx_parse_size(ptr noundef) local_unnamed_addr #2 declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_http_lua_shared_memory_add(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_22__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 8} !13 = !{!"TYPE_23__", !11, i64 0, !8, i64 8, !11, i64 16} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!13, !11, i64 16} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_17__", !11, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!21, !11, i64 16} !21 = !{!"TYPE_21__", !22, i64 0, !11, i64 8, !11, i64 16} !22 = !{!"TYPE_19__", !15, i64 0} !23 = !{!13, !11, i64 0} !24 = !{!21, !11, i64 8} !25 = !{!26, !11, i64 0} !26 = !{!"TYPE_20__", !11, i64 0, !8, i64 8} !27 = !{!26, !8, i64 8} !28 = !{!11, !11, i64 0} !29 = !{!7, !8, i64 0}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_directive.c_ngx_http_lua_shared_dict
; ModuleID = 'AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_radix.c_radix_tree_delete.c' source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_radix.c_radix_tree_delete.c" target datalayout = "e-m:e-p270:32:32-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.radix_tree_root = type { i32, ptr } %struct.radix_tree_node = type { i64, ptr } @RADIX_TREE_MAX_HEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @M_RADIX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @radix_tree_delete(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @RADIX_TREE_MAX_HEIGHT, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 16 %6 = getelementptr inbounds %struct.radix_tree_root, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = load i32, ptr %0, align 8, !tbaa !12 %9 = tail call i64 @radix_max(ptr noundef nonnull %0) #2 %10 = icmp ult i64 %9, %1 br i1 %10, label %74, label %11 11: ; preds = %2 %12 = add nsw i32 %8, -1 %13 = icmp ne i32 %12, 0 %14 = icmp ne ptr %7, null %15 = select i1 %13, i1 %14, i1 false br i1 %15, label %16, label %33 16: ; preds = %11 %17 = sext i32 %12 to i64 br label %18 18: ; preds = %16, %18 %19 = phi i64 [ %17, %16 ], [ %28, %18 ] %20 = phi ptr [ %7, %16 ], [ %27, %18 ] %21 = getelementptr inbounds ptr, ptr %5, i64 %19 store ptr %20, ptr %21, align 8, !tbaa !13 %22 = getelementptr inbounds %struct.radix_tree_node, ptr %20, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = trunc i64 %19 to i32 %25 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef %24) #2 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8, !tbaa !13 %28 = add nsw i64 %19, -1 %29 = trunc i64 %28 to i32 %30 = icmp ne i32 %29, 0 %31 = icmp ne ptr %27, null %32 = select i1 %30, i1 %31, i1 false br i1 %32, label %18, label %33, !llvm.loop !17 33: ; preds = %18, %11 %34 = phi ptr [ %7, %11 ], [ %27, %18 ] %35 = phi i32 [ %12, %11 ], [ %29, %18 ] %36 = phi i1 [ %14, %11 ], [ %31, %18 ] %37 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef 0) #2 br i1 %36, label %38, label %74 38: ; preds = %33 %39 = getelementptr inbounds %struct.radix_tree_node, ptr %34, i64 0, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !14 %41 = shl i64 %37, 32 %42 = ashr exact i64 %41, 32 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8, !tbaa !13 %45 = icmp eq ptr %44, null br i1 %45, label %74, label %46 46: ; preds = %38 store ptr null, ptr %43, align 8, !tbaa !13 %47 = load i64, ptr %34, align 8, !tbaa !19 %48 = add nsw i64 %47, -1 store i64 %48, ptr %34, align 8, !tbaa !19 %49 = icmp sgt i64 %47, 1 br i1 %49, label %74, label %50 50: ; preds = %46 %51 = sext i32 %35 to i64 br label %52 52: ; preds = %50, %60 %53 = phi i64 [ %51, %50 ], [ %61, %60 ] %54 = phi ptr [ %34, %50 ], [ %63, %60 ] %55 = load i32, ptr @M_RADIX, align 4, !tbaa !5 %56 = tail call i32 @free(ptr noundef nonnull %54, i32 noundef %55) #2 %57 = load ptr, ptr %6, align 8, !tbaa !9 %58 = icmp eq ptr %54, %57 br i1 %58, label %59, label %60 59: ; preds = %52 store ptr null, ptr %6, align 8, !tbaa !9 store i32 0, ptr %0, align 8, !tbaa !12 br label %74 60: ; preds = %52 %61 = add i64 %53, 1 %62 = getelementptr inbounds ptr, ptr %5, i64 %61 %63 = load ptr, ptr %62, align 8, !tbaa !13 %64 = trunc i64 %61 to i32 %65 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef %64) #2 %66 = getelementptr inbounds %struct.radix_tree_node, ptr %63, i64 0, i32 1 %67 = load ptr, ptr %66, align 8, !tbaa !14 %68 = shl i64 %65, 32 %69 = ashr exact i64 %68, 32 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 store ptr null, ptr %70, align 8, !tbaa !13 %71 = load i64, ptr %63, align 8, !tbaa !19 %72 = add nsw i64 %71, -1 store i64 %72, ptr %63, align 8, !tbaa !19 %73 = icmp sgt i64 %71, 1 br i1 %73, label %74, label %52 74: ; preds = %60, %46, %33, %38, %59, %2 %75 = phi ptr [ null, %2 ], [ %44, %59 ], [ null, %38 ], [ null, %33 ], [ %44, %46 ], [ %44, %60 ] ret ptr %75 } declare i64 @radix_max(ptr noundef) local_unnamed_addr #1 declare i64 @radix_pos(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"radix_tree_root", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"radix_tree_node", !16, i64 0, !11, i64 8} !16 = !{!"long", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!15, !16, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_radix.c_radix_tree_delete.c' source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_radix.c_radix_tree_delete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RADIX_TREE_MAX_HEIGHT = common local_unnamed_addr global i32 0, align 4 @M_RADIX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @radix_tree_delete(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @RADIX_TREE_MAX_HEIGHT, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = tail call i64 @radix_max(ptr noundef nonnull %0) #2 %10 = icmp ult i64 %9, %1 br i1 %10, label %76, label %11 11: ; preds = %2 %12 = add nsw i32 %8, -1 %13 = icmp ne i32 %12, 0 %14 = icmp ne ptr %7, null %15 = select i1 %13, i1 %14, i1 false br i1 %15, label %16, label %35 16: ; preds = %11 %17 = sext i32 %12 to i64 br label %18 18: ; preds = %16, %18 %19 = phi i64 [ %17, %16 ], [ %28, %18 ] %20 = phi ptr [ %7, %16 ], [ %27, %18 ] %21 = getelementptr inbounds ptr, ptr %5, i64 %19 store ptr %20, ptr %21, align 8, !tbaa !14 %22 = getelementptr inbounds i8, ptr %20, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = trunc nsw i64 %19 to i32 %25 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef %24) #2 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = add nsw i64 %19, -1 %29 = icmp ne i64 %28, 0 %30 = icmp ne ptr %27, null %31 = select i1 %29, i1 %30, i1 false br i1 %31, label %18, label %32, !llvm.loop !18 32: ; preds = %18 %33 = trunc nsw i64 %28 to i32 %34 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef 0) #2 br i1 %30, label %37, label %76 35: ; preds = %11 %36 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef 0) #2 br i1 %14, label %37, label %76 37: ; preds = %32, %35 %38 = phi i64 [ %34, %32 ], [ %36, %35 ] %39 = phi i32 [ %33, %32 ], [ %12, %35 ] %40 = phi ptr [ %27, %32 ], [ %7, %35 ] %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = load ptr, ptr %41, align 8, !tbaa !15 %43 = shl i64 %38, 32 %44 = ashr exact i64 %43, 29 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8, !tbaa !14 %47 = icmp eq ptr %46, null br i1 %47, label %76, label %48 48: ; preds = %37 store ptr null, ptr %45, align 8, !tbaa !14 %49 = load i64, ptr %40, align 8, !tbaa !20 %50 = add nsw i64 %49, -1 store i64 %50, ptr %40, align 8, !tbaa !20 %51 = icmp sgt i64 %49, 1 br i1 %51, label %76, label %52 52: ; preds = %48 %53 = sext i32 %39 to i64 br label %54 54: ; preds = %52, %62 %55 = phi i64 [ %53, %52 ], [ %63, %62 ] %56 = phi ptr [ %40, %52 ], [ %65, %62 ] %57 = load i32, ptr @M_RADIX, align 4, !tbaa !6 %58 = tail call i32 @free(ptr noundef nonnull %56, i32 noundef %57) #2 %59 = load ptr, ptr %6, align 8, !tbaa !10 %60 = icmp eq ptr %56, %59 br i1 %60, label %61, label %62 61: ; preds = %54 store ptr null, ptr %6, align 8, !tbaa !10 store i32 0, ptr %0, align 8, !tbaa !13 br label %76 62: ; preds = %54 %63 = add nsw i64 %55, 1 %64 = getelementptr inbounds ptr, ptr %5, i64 %63 %65 = load ptr, ptr %64, align 8, !tbaa !14 %66 = trunc nsw i64 %63 to i32 %67 = tail call i64 @radix_pos(i64 noundef %1, i32 noundef %66) #2 %68 = getelementptr inbounds i8, ptr %65, i64 8 %69 = load ptr, ptr %68, align 8, !tbaa !15 %70 = shl i64 %67, 32 %71 = ashr exact i64 %70, 29 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store ptr null, ptr %72, align 8, !tbaa !14 %73 = load i64, ptr %65, align 8, !tbaa !20 %74 = add nsw i64 %73, -1 store i64 %74, ptr %65, align 8, !tbaa !20 %75 = icmp sgt i64 %73, 1 br i1 %75, label %76, label %54 76: ; preds = %62, %32, %48, %35, %37, %61, %2 %77 = phi ptr [ null, %2 ], [ %46, %61 ], [ null, %37 ], [ null, %35 ], [ %46, %48 ], [ null, %32 ], [ %46, %62 ] ret ptr %77 } declare i64 @radix_max(ptr noundef) local_unnamed_addr #1 declare i64 @radix_pos(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"radix_tree_root", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"radix_tree_node", !17, i64 0, !12, i64 8} !17 = !{!"long", !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!16, !17, i64 0}
freebsd_sys_compat_linuxkpi_common_src_extr_linux_radix.c_radix_tree_delete
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_stk8ba50.c_stk8ba50_read_raw.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_stk8ba50.c_stk8ba50_read_raw.c" target datalayout = "e-m:e-p270:32:32-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.stk8ba50_data = type { i64, i64, i32 } %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i32 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @STK8BA50_MODE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @STK8BA50_MODE_SUSPEND = dso_local local_unnamed_addr global i32 0, align 4 @STK8BA50_DATA_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT = dso_local local_unnamed_addr global i32 0, align 4 @stk8ba50_scale_table = dso_local local_unnamed_addr global ptr null, align 8 @IIO_VAL_INT_PLUS_MICRO = dso_local local_unnamed_addr global i32 0, align 4 @stk8ba50_samp_freq_table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @stk8ba50_read_raw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stk8ba50_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 switch i64 %4, label %54 [ i64 130, label %7 i64 128, label %41 i64 129, label %47 ] 7: ; preds = %5 %8 = tail call i32 @iio_buffer_enabled(ptr noundef %0) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i32, ptr @EBUSY, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %57 13: ; preds = %7 %14 = getelementptr inbounds %struct.stk8ba50_data, ptr %6, i64 0, i32 2 %15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2 %16 = load i32, ptr @STK8BA50_MODE_NORMAL, align 4, !tbaa !5 %17 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %16) #2 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %21 = load i32, ptr @EINVAL, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %57 23: ; preds = %13 %24 = load i32, ptr %1, align 4, !tbaa !9 %25 = tail call i32 @stk8ba50_read_accel(ptr noundef %6, i32 noundef %24) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load i32, ptr @STK8BA50_MODE_SUSPEND, align 4, !tbaa !5 %29 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %28) #2 %30 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %31 = load i32, ptr @EINVAL, align 4, !tbaa !5 %32 = sub nsw i32 0, %31 br label %57 33: ; preds = %23 %34 = load i32, ptr @STK8BA50_DATA_SHIFT, align 4, !tbaa !5 %35 = lshr i32 %25, %34 %36 = tail call i32 @sign_extend32(i32 noundef %35, i32 noundef 9) #2 store i32 %36, ptr %2, align 4, !tbaa !5 %37 = load i32, ptr @STK8BA50_MODE_SUSPEND, align 4, !tbaa !5 %38 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %37) #2 %39 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %40 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !5 br label %57 41: ; preds = %5 store i32 0, ptr %2, align 4, !tbaa !5 %42 = load ptr, ptr @stk8ba50_scale_table, align 8, !tbaa !11 %43 = load i64, ptr %6, align 8, !tbaa !13 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i64 %43 %45 = load i32, ptr %44, align 4, !tbaa !16 store i32 %45, ptr %3, align 4, !tbaa !5 %46 = load i32, ptr @IIO_VAL_INT_PLUS_MICRO, align 4, !tbaa !5 br label %57 47: ; preds = %5 %48 = load ptr, ptr @stk8ba50_samp_freq_table, align 8, !tbaa !11 %49 = getelementptr inbounds %struct.stk8ba50_data, ptr %6, i64 0, i32 1 %50 = load i64, ptr %49, align 8, !tbaa !18 %51 = getelementptr inbounds %struct.TYPE_4__, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4, !tbaa !19 store i32 %52, ptr %2, align 4, !tbaa !5 store i32 0, ptr %3, align 4, !tbaa !5 %53 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !5 br label %57 54: ; preds = %5 %55 = load i32, ptr @EINVAL, align 4, !tbaa !5 %56 = sub nsw i32 0, %55 br label %57 57: ; preds = %54, %47, %41, %33, %27, %19, %10 %58 = phi i32 [ %56, %54 ], [ %53, %47 ], [ %46, %41 ], [ %12, %10 ], [ %22, %19 ], [ %32, %27 ], [ %40, %33 ] ret i32 %58 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_buffer_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @stk8ba50_set_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @stk8ba50_read_accel(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sign_extend32(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 = !{!"iio_chan_spec", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"stk8ba50_data", !15, i64 0, !15, i64 8, !6, i64 16} !15 = !{!"long", !7, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_3__", !6, i64 0} !18 = !{!14, !15, i64 8} !19 = !{!20, !6, i64 0} !20 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_stk8ba50.c_stk8ba50_read_raw.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_stk8ba50.c_stk8ba50_read_raw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i32 } @EBUSY = common local_unnamed_addr global i32 0, align 4 @STK8BA50_MODE_NORMAL = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @STK8BA50_MODE_SUSPEND = common local_unnamed_addr global i32 0, align 4 @STK8BA50_DATA_SHIFT = common local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT = common local_unnamed_addr global i32 0, align 4 @stk8ba50_scale_table = common local_unnamed_addr global ptr null, align 8 @IIO_VAL_INT_PLUS_MICRO = common local_unnamed_addr global i32 0, align 4 @stk8ba50_samp_freq_table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @stk8ba50_read_raw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @stk8ba50_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 switch i64 %4, label %54 [ i64 130, label %7 i64 128, label %41 i64 129, label %47 ] 7: ; preds = %5 %8 = tail call i32 @iio_buffer_enabled(ptr noundef %0) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i32, ptr @EBUSY, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %57 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %6, i64 16 %15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2 %16 = load i32, ptr @STK8BA50_MODE_NORMAL, align 4, !tbaa !6 %17 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %16) #2 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %21 = load i32, ptr @EINVAL, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %57 23: ; preds = %13 %24 = load i32, ptr %1, align 4, !tbaa !10 %25 = tail call i32 @stk8ba50_read_accel(ptr noundef %6, i32 noundef %24) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load i32, ptr @STK8BA50_MODE_SUSPEND, align 4, !tbaa !6 %29 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %28) #2 %30 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %31 = load i32, ptr @EINVAL, align 4, !tbaa !6 %32 = sub nsw i32 0, %31 br label %57 33: ; preds = %23 %34 = load i32, ptr @STK8BA50_DATA_SHIFT, align 4, !tbaa !6 %35 = lshr i32 %25, %34 %36 = tail call i32 @sign_extend32(i32 noundef %35, i32 noundef 9) #2 store i32 %36, ptr %2, align 4, !tbaa !6 %37 = load i32, ptr @STK8BA50_MODE_SUSPEND, align 4, !tbaa !6 %38 = tail call i32 @stk8ba50_set_power(ptr noundef %6, i32 noundef %37) #2 %39 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2 %40 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !6 br label %57 41: ; preds = %5 store i32 0, ptr %2, align 4, !tbaa !6 %42 = load ptr, ptr @stk8ba50_scale_table, align 8, !tbaa !12 %43 = load i64, ptr %6, align 8, !tbaa !14 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i64 %43 %45 = load i32, ptr %44, align 4, !tbaa !17 store i32 %45, ptr %3, align 4, !tbaa !6 %46 = load i32, ptr @IIO_VAL_INT_PLUS_MICRO, align 4, !tbaa !6 br label %57 47: ; preds = %5 %48 = load ptr, ptr @stk8ba50_samp_freq_table, align 8, !tbaa !12 %49 = getelementptr inbounds i8, ptr %6, i64 8 %50 = load i64, ptr %49, align 8, !tbaa !19 %51 = getelementptr inbounds %struct.TYPE_4__, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4, !tbaa !20 store i32 %52, ptr %2, align 4, !tbaa !6 store i32 0, ptr %3, align 4, !tbaa !6 %53 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !6 br label %57 54: ; preds = %5 %55 = load i32, ptr @EINVAL, align 4, !tbaa !6 %56 = sub nsw i32 0, %55 br label %57 57: ; preds = %54, %47, %41, %33, %27, %19, %10 %58 = phi i32 [ %56, %54 ], [ %53, %47 ], [ %46, %41 ], [ %12, %10 ], [ %22, %19 ], [ %32, %27 ], [ %40, %33 ] ret i32 %58 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_buffer_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @stk8ba50_set_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @stk8ba50_read_accel(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sign_extend32(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 = !{!"iio_chan_spec", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"stk8ba50_data", !16, i64 0, !16, i64 8, !7, i64 16} !16 = !{!"long", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_3__", !7, i64 0} !19 = !{!15, !16, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_4__", !7, i64 0}
linux_drivers_iio_accel_extr_stk8ba50.c_stk8ba50_read_raw
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/extr_isci_domain.c_scif_cb_domain_reset_complete.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/extr_isci_domain.c_scif_cb_domain_reset_complete.c" target datalayout = "e-m:e-p270:32:32-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 @scif_cb_domain_reset_complete(i32 noundef %0, i32 noundef %1, i32 noundef %2) 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/freebsd/sys/dev/isci/extr_isci_domain.c_scif_cb_domain_reset_complete.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/extr_isci_domain.c_scif_cb_domain_reset_complete.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 @scif_cb_domain_reset_complete(i32 noundef %0, i32 noundef %1, i32 noundef %2) 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)"}
freebsd_sys_dev_isci_extr_isci_domain.c_scif_cb_domain_reset_complete
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_olpc_battery.c_olpc_bat_get_charge_now.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_olpc_battery.c_olpc_bat_get_charge_now.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.power_supply_propval = type { i32 } @EC_BAT_SOC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @olpc_bat_get_charge_now], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @olpc_bat_get_charge_now(ptr nocapture noundef writeonly %0) #0 { %2 = alloca i32, align 4 %3 = alloca %union.power_supply_propval, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @EC_BAT_SOC, align 4, !tbaa !5 %5 = call i32 @olpc_ec_cmd(i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 1) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %15 7: ; preds = %1 %8 = call i32 @olpc_bat_get_charge_full_design(ptr noundef nonnull %3) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = load i32, ptr %3, align 4, !tbaa !9 %13 = sdiv i32 %12, 100 %14 = mul nsw i32 %13, %11 store i32 %14, ptr %0, align 4, !tbaa !9 br label %15 15: ; preds = %7, %1, %10 %16 = phi i32 [ 0, %10 ], [ %5, %1 ], [ %8, %7 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @olpc_ec_cmd(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @olpc_bat_get_charge_full_design(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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_olpc_battery.c_olpc_bat_get_charge_now.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_olpc_battery.c_olpc_bat_get_charge_now.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.power_supply_propval = type { i32 } @EC_BAT_SOC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @olpc_bat_get_charge_now], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @olpc_bat_get_charge_now(ptr nocapture noundef writeonly %0) #0 { %2 = alloca i32, align 4 %3 = alloca %union.power_supply_propval, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @EC_BAT_SOC, align 4, !tbaa !6 %5 = call i32 @olpc_ec_cmd(i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 1) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %15 7: ; preds = %1 %8 = call i32 @olpc_bat_get_charge_full_design(ptr noundef nonnull %3) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = load i32, ptr %3, align 4, !tbaa !10 %13 = sdiv i32 %12, 100 %14 = mul nsw i32 %13, %11 store i32 %14, ptr %0, align 4, !tbaa !10 br label %15 15: ; preds = %7, %1, %10 %16 = phi i32 [ 0, %10 ], [ %5, %1 ], [ %8, %7 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @olpc_ec_cmd(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @olpc_bat_get_charge_full_design(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 = !{!8, !8, i64 0}
linux_drivers_power_supply_extr_olpc_battery.c_olpc_bat_get_charge_now
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_exynos_adc.c_exynos_adc_remove_devices.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_exynos_adc.c_exynos_adc_remove_devices.c" target datalayout = "e-m:e-p270:32:32-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 @exynos_adc_remove_devices], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @exynos_adc_remove_devices(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @to_platform_device(ptr noundef %0) #2 %4 = tail call i32 @platform_device_unregister(ptr noundef %3) #2 ret i32 0 } declare ptr @to_platform_device(ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_unregister(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_exynos_adc.c_exynos_adc_remove_devices.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_exynos_adc.c_exynos_adc_remove_devices.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 @exynos_adc_remove_devices], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @exynos_adc_remove_devices(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @to_platform_device(ptr noundef %0) #2 %4 = tail call i32 @platform_device_unregister(ptr noundef %3) #2 ret i32 0 } declare ptr @to_platform_device(ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_unregister(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_iio_adc_extr_exynos_adc.c_exynos_adc_remove_devices
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_init_copy.c' source_filename = "AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_init_copy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @dstr_init_copy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @dstr_init_copy(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @dstr_init(ptr noundef %0) #2 %4 = tail call i32 @dstr_copy(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @dstr_init(ptr noundef) local_unnamed_addr #1 declare i32 @dstr_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_init_copy.c' source_filename = "AnghaBench/obs-studio/libobs/callback/extr_..utildstr.h_dstr_init_copy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @dstr_init_copy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @dstr_init_copy(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @dstr_init(ptr noundef %0) #2 %4 = tail call i32 @dstr_copy(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @dstr_init(ptr noundef) local_unnamed_addr #1 declare i32 @dstr_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
obs-studio_libobs_callback_extr_..utildstr.h_dstr_init_copy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tg3.c__tg3_flag_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tg3.c__tg3_flag_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @_tg3_flag_set], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @_tg3_flag_set(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @set_bit(i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @set_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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tg3.c__tg3_flag_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tg3.c__tg3_flag_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @_tg3_flag_set], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @_tg3_flag_set(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @set_bit(i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @set_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)"}
fastsocket_kernel_drivers_net_extr_tg3.c__tg3_flag_set
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_inode.c_nilfs_inode_dirty.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_inode.c_nilfs_inode_dirty.c" target datalayout = "e-m:e-p270:32:32-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.nilfs_inode_info = type { i32, i32 } @NILFS_I_DIRTY = dso_local local_unnamed_addr global i32 0, align 4 @NILFS_I_BUSY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nilfs_inode_dirty(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @NILFS_I(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.nilfs_inode_info, ptr %2, i64 0, i32 1 %6 = tail call i32 @list_empty(ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = tail call i32 @spin_lock(ptr noundef %4) #2 %10 = load i32, ptr @NILFS_I_DIRTY, align 4, !tbaa !12 %11 = tail call i64 @test_bit(i32 noundef %10, ptr noundef %2) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load i32, ptr @NILFS_I_BUSY, align 4, !tbaa !12 %15 = tail call i64 @test_bit(i32 noundef %14, ptr noundef %2) #2 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %13, %8 %19 = phi i32 [ 1, %8 ], [ %17, %13 ] %20 = tail call i32 @spin_unlock(ptr noundef %4) #2 br label %21 21: ; preds = %18, %1 %22 = phi i32 [ 0, %1 ], [ %19, %18 ] ret i32 %22 } declare ptr @NILFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inode", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_inode.c_nilfs_inode_dirty.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_inode.c_nilfs_inode_dirty.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NILFS_I_DIRTY = common local_unnamed_addr global i32 0, align 4 @NILFS_I_BUSY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @nilfs_inode_dirty(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @NILFS_I(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds i8, ptr %2, i64 4 %6 = tail call i32 @list_empty(ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = tail call i32 @spin_lock(ptr noundef %4) #2 %10 = load i32, ptr @NILFS_I_DIRTY, align 4, !tbaa !13 %11 = tail call i64 @test_bit(i32 noundef %10, ptr noundef %2) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %8 %14 = load i32, ptr @NILFS_I_BUSY, align 4, !tbaa !13 %15 = tail call i64 @test_bit(i32 noundef %14, ptr noundef %2) #2 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %13, %8 %19 = phi i32 [ 1, %8 ], [ %17, %13 ] %20 = tail call i32 @spin_unlock(ptr noundef %4) #2 br label %21 21: ; preds = %18, %1 %22 = phi i32 [ 0, %1 ], [ %19, %18 ] ret i32 %22 } declare ptr @NILFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inode", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_fs_nilfs2_extr_inode.c_nilfs_inode_dirty
; ModuleID = 'AnghaBench/freebsd/sys/geom/extr_geom_subr.c_g_compare_names.c' source_filename = "AnghaBench/freebsd/sys/geom/extr_geom_subr.c_g_compare_names.c" target datalayout = "e-m:e-p270:32:32-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 @g_compare_names(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %19, label %5 5: ; preds = %2 %6 = tail call i32 @g_get_device_prefix_len(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %5 %9 = tail call i32 @g_get_device_prefix_len(ptr noundef %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %19, label %11 11: ; preds = %8 %12 = sext i32 %6 to i64 %13 = getelementptr inbounds i8, ptr %0, i64 %12 %14 = sext i32 %9 to i64 %15 = getelementptr inbounds i8, ptr %1, i64 %14 %16 = tail call i64 @strcmp(ptr noundef nonnull %13, ptr noundef nonnull %15) #2 %17 = icmp eq i64 %16, 0 %18 = zext i1 %17 to i32 br label %19 19: ; preds = %11, %8, %5, %2 %20 = phi i32 [ 1, %2 ], [ 0, %5 ], [ 0, %8 ], [ %18, %11 ] ret i32 %20 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_get_device_prefix_len(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/geom/extr_geom_subr.c_g_compare_names.c' source_filename = "AnghaBench/freebsd/sys/geom/extr_geom_subr.c_g_compare_names.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 @g_compare_names(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %19, label %5 5: ; preds = %2 %6 = tail call i32 @g_get_device_prefix_len(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %5 %9 = tail call i32 @g_get_device_prefix_len(ptr noundef %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %19, label %11 11: ; preds = %8 %12 = sext i32 %6 to i64 %13 = getelementptr inbounds i8, ptr %0, i64 %12 %14 = sext i32 %9 to i64 %15 = getelementptr inbounds i8, ptr %1, i64 %14 %16 = tail call i64 @strcmp(ptr noundef nonnull %13, ptr noundef nonnull %15) #2 %17 = icmp eq i64 %16, 0 %18 = zext i1 %17 to i32 br label %19 19: ; preds = %11, %8, %5, %2 %20 = phi i32 [ 1, %2 ], [ 0, %5 ], [ 0, %8 ], [ %18, %11 ] ret i32 %20 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_get_device_prefix_len(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_geom_extr_geom_subr.c_g_compare_names
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_set_lcd_status.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_set_lcd_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_lcd_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_lcd_status(ptr noundef %0) #0 { %2 = tail call ptr @bl_get_data(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @set_lcd_brightness(ptr noundef %2, i32 noundef %3) #2 ret i32 %4 } declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @set_lcd_brightness(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"backlight_device", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_set_lcd_status.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_set_lcd_status.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 @set_lcd_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @set_lcd_status(ptr noundef %0) #0 { %2 = tail call ptr @bl_get_data(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @set_lcd_brightness(ptr noundef %2, i32 noundef %3) #2 ret i32 %4 } declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @set_lcd_brightness(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"backlight_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_platform_x86_extr_toshiba_acpi.c_set_lcd_status
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_strap_condition.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_strap_condition.c" target datalayout = "e-m:e-p270:32:32-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.nvbios_init = type { i64, ptr } @.str = private unnamed_addr constant [50 x i8] c"STRAP_CONDITION\09(R[0x101000] & 0x%08x) == 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_strap_condition], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_strap_condition(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.nvbios_init, 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 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr %0, align 8, !tbaa !15 %7 = add nsw i64 %6, 1 %8 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !15 %10 = add nsw i64 %9, 5 %11 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %10) #2 %12 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %11) #2 %13 = load i64, ptr %0, align 8, !tbaa !15 %14 = add nsw i64 %13, 9 store i64 %14, ptr %0, align 8, !tbaa !15 %15 = tail call i32 @init_rd32(ptr noundef nonnull %0, i32 noundef 1052672) #2 %16 = and i32 %15, %8 %17 = icmp eq i32 %16, %11 br i1 %17, label %20, label %18 18: ; preds = %1 %19 = tail call i32 @init_exec_set(ptr noundef nonnull %0, i32 noundef 0) #2 br label %20 20: ; preds = %18, %1 ret void } declare i32 @nvbios_rd32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_exec_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"nvbios_init", !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 = !{!"TYPE_4__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_3__", !10, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_strap_condition.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_strap_condition.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 [50 x i8] c"STRAP_CONDITION\09(R[0x101000] & 0x%08x) == 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @init_strap_condition], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_strap_condition(ptr noundef %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 = load ptr, ptr %4, align 8, !tbaa !14 %6 = load i64, ptr %0, align 8, !tbaa !16 %7 = add nsw i64 %6, 1 %8 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !16 %10 = add nsw i64 %9, 5 %11 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %10) #2 %12 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %11) #2 %13 = load i64, ptr %0, align 8, !tbaa !16 %14 = add nsw i64 %13, 9 store i64 %14, ptr %0, align 8, !tbaa !16 %15 = tail call i32 @init_rd32(ptr noundef nonnull %0, i32 noundef 1052672) #2 %16 = and i32 %15, %8 %17 = icmp eq i32 %16, %11 br i1 %17, label %20, label %18 18: ; preds = %1 %19 = tail call i32 @init_exec_set(ptr noundef nonnull %0, i32 noundef 0) #2 br label %20 20: ; preds = %18, %1 ret void } declare i32 @nvbios_rd32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_exec_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"nvbios_init", !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 = !{!"TYPE_4__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_3__", !11, i64 0} !16 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_bios_extr_init.c_init_strap_condition
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_restore_cur.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_restore_cur.c" target datalayout = "e-m:e-p270:32:32-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.vc_data = type { i64, i32, i32, i64, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @restore_cur], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @restore_cur(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 21 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 20 %5 = load i32, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @gotoxy(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 %7 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 18 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 19 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 16 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 17 store i32 %11, ptr %12, align 4, !tbaa !15 %13 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 14 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 15 store i32 %14, ptr %15, align 4, !tbaa !17 %16 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 12 %17 = load i32, ptr %16, align 8, !tbaa !18 %18 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 13 store i32 %17, ptr %18, align 4, !tbaa !19 %19 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 10 %20 = load i32, ptr %19, align 8, !tbaa !20 %21 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 11 store i32 %20, ptr %21, align 4, !tbaa !21 %22 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 9 %23 = load i64, ptr %22, align 8, !tbaa !22 %24 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 3 store i64 %23, ptr %24, align 8, !tbaa !23 %25 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 7 %26 = load i32, ptr %25, align 4, !tbaa !24 %27 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 8 store i32 %26, ptr %27, align 8, !tbaa !25 %28 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 6 %29 = load i32, ptr %28, align 8, !tbaa !26 %30 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 1 store i32 %29, ptr %30, align 8, !tbaa !27 %31 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 5 %32 = load i32, ptr %31, align 4, !tbaa !28 %33 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 2 store i32 %32, ptr %33, align 4, !tbaa !29 %34 = icmp eq i64 %23, 0 %35 = select i1 %34, i32 %29, i32 %32 %36 = tail call i32 @set_translate(i32 noundef %35, ptr noundef nonnull %0) #2 %37 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 4 store i32 %36, ptr %37, align 8, !tbaa !30 %38 = tail call i32 @update_attr(ptr noundef nonnull %0) #2 store i64 0, ptr %0, align 8, !tbaa !31 ret void } declare i32 @gotoxy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_translate(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @update_attr(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 100} !6 = !{!"vc_data", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !7, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 96} !12 = !{!6, !10, i64 88} !13 = !{!6, !10, i64 92} !14 = !{!6, !10, i64 80} !15 = !{!6, !10, i64 84} !16 = !{!6, !10, i64 72} !17 = !{!6, !10, i64 76} !18 = !{!6, !10, i64 64} !19 = !{!6, !10, i64 68} !20 = !{!6, !10, i64 56} !21 = !{!6, !10, i64 60} !22 = !{!6, !7, i64 48} !23 = !{!6, !7, i64 16} !24 = !{!6, !10, i64 36} !25 = !{!6, !10, i64 40} !26 = !{!6, !10, i64 32} !27 = !{!6, !10, i64 8} !28 = !{!6, !10, i64 28} !29 = !{!6, !10, i64 12} !30 = !{!6, !10, i64 24} !31 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_restore_cur.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_vt.c_restore_cur.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 @restore_cur], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @restore_cur(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 100 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 96 %5 = load i32, ptr %4, align 8, !tbaa !12 %6 = tail call i32 @gotoxy(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 88 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %0, i64 92 store i32 %8, ptr %9, align 4, !tbaa !14 %10 = getelementptr inbounds i8, ptr %0, i64 80 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 84 store i32 %11, ptr %12, align 4, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 72 %14 = load i32, ptr %13, align 8, !tbaa !17 %15 = getelementptr inbounds i8, ptr %0, i64 76 store i32 %14, ptr %15, align 4, !tbaa !18 %16 = getelementptr inbounds i8, ptr %0, i64 64 %17 = load i32, ptr %16, align 8, !tbaa !19 %18 = getelementptr inbounds i8, ptr %0, i64 68 store i32 %17, ptr %18, align 4, !tbaa !20 %19 = getelementptr inbounds i8, ptr %0, i64 56 %20 = load i32, ptr %19, align 8, !tbaa !21 %21 = getelementptr inbounds i8, ptr %0, i64 60 store i32 %20, ptr %21, align 4, !tbaa !22 %22 = getelementptr inbounds i8, ptr %0, i64 48 %23 = load i64, ptr %22, align 8, !tbaa !23 %24 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %23, ptr %24, align 8, !tbaa !24 %25 = getelementptr inbounds i8, ptr %0, i64 36 %26 = load i32, ptr %25, align 4, !tbaa !25 %27 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %26, ptr %27, align 8, !tbaa !26 %28 = getelementptr inbounds i8, ptr %0, i64 32 %29 = load i32, ptr %28, align 8, !tbaa !27 %30 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %29, ptr %30, align 8, !tbaa !28 %31 = getelementptr inbounds i8, ptr %0, i64 28 %32 = load i32, ptr %31, align 4, !tbaa !29 %33 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %32, ptr %33, align 4, !tbaa !30 %34 = icmp eq i64 %23, 0 %35 = select i1 %34, i32 %29, i32 %32 %36 = tail call i32 @set_translate(i32 noundef %35, ptr noundef nonnull %0) #2 %37 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %36, ptr %37, align 8, !tbaa !31 %38 = tail call i32 @update_attr(ptr noundef nonnull %0) #2 store i64 0, ptr %0, align 8, !tbaa !32 ret void } declare i32 @gotoxy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_translate(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @update_attr(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 100} !7 = !{!"vc_data", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !8, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 96} !13 = !{!7, !11, i64 88} !14 = !{!7, !11, i64 92} !15 = !{!7, !11, i64 80} !16 = !{!7, !11, i64 84} !17 = !{!7, !11, i64 72} !18 = !{!7, !11, i64 76} !19 = !{!7, !11, i64 64} !20 = !{!7, !11, i64 68} !21 = !{!7, !11, i64 56} !22 = !{!7, !11, i64 60} !23 = !{!7, !8, i64 48} !24 = !{!7, !8, i64 16} !25 = !{!7, !11, i64 36} !26 = !{!7, !11, i64 40} !27 = !{!7, !11, i64 32} !28 = !{!7, !11, i64 8} !29 = !{!7, !11, i64 28} !30 = !{!7, !11, i64 12} !31 = !{!7, !11, i64 24} !32 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_char_extr_vt.c_restore_cur
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_extcon.c_is_extcon_property_supported.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon.c_is_extcon_property_supported.c" target datalayout = "e-m:e-p270:32:32-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 } @extcon_info = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_extcon_property_supported], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_extcon_property_supported(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @get_extcon_type(i32 noundef %1) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %2 %6 = load ptr, ptr @extcon_info, align 8, !tbaa !5 %7 = zext i32 %0 to i64 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = and i32 %9, %3 %11 = icmp ne i32 %10, 0 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %2, %5 %14 = phi i32 [ %12, %5 ], [ 0, %2 ] ret i32 %14 } declare i32 @get_extcon_type(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_extcon.c_is_extcon_property_supported.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon.c_is_extcon_property_supported.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 } @extcon_info = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @is_extcon_property_supported], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_extcon_property_supported(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @get_extcon_type(i32 noundef %1) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %2 %6 = load ptr, ptr @extcon_info, align 8, !tbaa !6 %7 = zext i32 %0 to i64 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = and i32 %9, %3 %11 = icmp ne i32 %10, 0 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %2, %5 %14 = phi i32 [ %12, %5 ], [ 0, %2 ] ret i32 %14 } declare i32 @get_extcon_type(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
linux_drivers_extcon_extr_extcon.c_is_extcon_property_supported
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dpll_mgr.c_ibx_dump_hw_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dpll_mgr.c_ibx_dump_hw_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intel_dpll_hw_state = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [64 x i8] c"dpll_hw_state: dpll: 0x%x, dpll_md: 0x%x, fp0: 0x%x, fp1: 0x%x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibx_dump_hw_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ibx_dump_hw_state(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.intel_dpll_hw_state, ptr %1, i64 0, i32 3 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.intel_dpll_hw_state, ptr %1, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.intel_dpll_hw_state, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = load i32, ptr %1, align 4, !tbaa !12 %10 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9) #2 ret void } declare i32 @DRM_DEBUG_KMS(ptr 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, !7, i64 12} !6 = !{!"intel_dpll_hw_state", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dpll_mgr.c_ibx_dump_hw_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dpll_mgr.c_ibx_dump_hw_state.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 [64 x i8] c"dpll_hw_state: dpll: 0x%x, dpll_md: 0x%x, fp0: 0x%x, fp1: 0x%x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ibx_dump_hw_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ibx_dump_hw_state(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 12 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr %1, align 4, !tbaa !13 %10 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9) #2 ret void } declare i32 @DRM_DEBUG_KMS(ptr 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, !8, i64 12} !7 = !{!"intel_dpll_hw_state", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_dpll_mgr.c_ibx_dump_hw_state
; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_lookup.c_namei_compound_available.c' source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_lookup.c_namei_compound_available.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NAMEI_COMPOUNDOPEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @namei_compound_available(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr @NAMEI_COMPOUNDOPEN, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @vnode_compound_open_available(i32 noundef %0) #2 br label %9 9: ; preds = %2, %7 %10 = phi i32 [ %8, %7 ], [ 0, %2 ] ret i32 %10 } declare i32 @vnode_compound_open_available(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 = !{!"nameidata", !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/darwin-xnu/bsd/vfs/extr_vfs_lookup.c_namei_compound_available.c' source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_lookup.c_namei_compound_available.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NAMEI_COMPOUNDOPEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @namei_compound_available(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr @NAMEI_COMPOUNDOPEN, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @vnode_compound_open_available(i32 noundef %0) #2 br label %9 9: ; preds = %2, %7 %10 = phi i32 [ %8, %7 ], [ 0, %2 ] ret i32 %10 } declare i32 @vnode_compound_open_available(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 = !{!"nameidata", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
darwin-xnu_bsd_vfs_extr_vfs_lookup.c_namei_compound_available
; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_isif.c_isif_restore_defaults.c' source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_isif.c_isif_restore_defaults.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @VPSS_CCDCIN = dso_local local_unnamed_addr global i32 0, align 4 @isif_cfg = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @.str = private unnamed_addr constant [35 x i8] c"\0Astarting isif_restore_defaults...\00", align 1 @isif_config_defaults = dso_local local_unnamed_addr global i32 0, align 4 @VPSS_CCDC_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @VPSS_IPIPEIF_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @VPSS_BL_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AEnd of isif_restore_defaults...\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @isif_restore_defaults], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @isif_restore_defaults() #0 { %1 = load i32, ptr @VPSS_CCDCIN, align 4, !tbaa !5 %2 = load i32, ptr @isif_cfg, align 4, !tbaa !9 %3 = tail call i32 @dev_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2 %4 = load i32, ptr @isif_config_defaults, align 4, !tbaa !5 store i32 %4, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @isif_cfg, i64 0, i32 1), align 4, !tbaa !12 %5 = load i32, ptr @VPSS_CCDC_CLOCK, align 4, !tbaa !5 %6 = tail call i32 @vpss_enable_clock(i32 noundef %5, i32 noundef 1) #2 %7 = load i32, ptr @VPSS_IPIPEIF_CLOCK, align 4, !tbaa !5 %8 = tail call i32 @vpss_enable_clock(i32 noundef %7, i32 noundef 1) #2 %9 = load i32, ptr @VPSS_BL_CLOCK, align 4, !tbaa !5 %10 = tail call i32 @vpss_enable_clock(i32 noundef %9, i32 noundef 1) #2 %11 = tail call i32 (...) @isif_config_gain_offset() #2 %12 = tail call i32 @vpss_select_ccdc_source(i32 noundef %1) #2 %13 = load i32, ptr @isif_cfg, align 4, !tbaa !9 %14 = tail call i32 @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vpss_enable_clock(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isif_config_gain_offset(...) local_unnamed_addr #1 declare i32 @vpss_select_ccdc_source(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_3__", !6, i64 0} !12 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_isif.c_isif_restore_defaults.c' source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_isif.c_isif_restore_defaults.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @VPSS_CCDCIN = common local_unnamed_addr global i32 0, align 4 @isif_cfg = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @.str = private unnamed_addr constant [35 x i8] c"\0Astarting isif_restore_defaults...\00", align 1 @isif_config_defaults = common local_unnamed_addr global i32 0, align 4 @VPSS_CCDC_CLOCK = common local_unnamed_addr global i32 0, align 4 @VPSS_IPIPEIF_CLOCK = common local_unnamed_addr global i32 0, align 4 @VPSS_BL_CLOCK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AEnd of isif_restore_defaults...\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @isif_restore_defaults], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @isif_restore_defaults() #0 { %1 = load i32, ptr @VPSS_CCDCIN, align 4, !tbaa !6 %2 = load i32, ptr @isif_cfg, align 4, !tbaa !10 %3 = tail call i32 @dev_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2 %4 = load i32, ptr @isif_config_defaults, align 4, !tbaa !6 store i32 %4, ptr getelementptr inbounds (i8, ptr @isif_cfg, i64 4), align 4, !tbaa !13 %5 = load i32, ptr @VPSS_CCDC_CLOCK, align 4, !tbaa !6 %6 = tail call i32 @vpss_enable_clock(i32 noundef %5, i32 noundef 1) #2 %7 = load i32, ptr @VPSS_IPIPEIF_CLOCK, align 4, !tbaa !6 %8 = tail call i32 @vpss_enable_clock(i32 noundef %7, i32 noundef 1) #2 %9 = load i32, ptr @VPSS_BL_CLOCK, align 4, !tbaa !6 %10 = tail call i32 @vpss_enable_clock(i32 noundef %9, i32 noundef 1) #2 %11 = tail call i32 @isif_config_gain_offset() #2 %12 = tail call i32 @vpss_select_ccdc_source(i32 noundef %1) #2 %13 = load i32, ptr @isif_cfg, align 4, !tbaa !10 %14 = tail call i32 @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vpss_enable_clock(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isif_config_gain_offset(...) local_unnamed_addr #1 declare i32 @vpss_select_ccdc_source(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_3__", !7, i64 0} !13 = !{!11, !7, i64 4}
linux_drivers_media_platform_davinci_extr_isif.c_isif_restore_defaults
; ModuleID = 'AnghaBench/tengine/src/mail/extr_ngx_mail_pop3_handler.c_ngx_mail_pop3_user.c' source_filename = "AnghaBench/tengine/src/mail/extr_ngx_mail_pop3_handler.c_ngx_mail_pop3_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i32, %struct.TYPE_14__, %struct.TYPE_10__ } %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_10__ = type { i32, ptr } %struct.TYPE_11__ = type { i32, i32 } %struct.TYPE_13__ = type { i32, i32 } @NGX_MAIL_PARSE_INVALID_COMMAND = dso_local local_unnamed_addr global i32 0, align 4 @NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @NGX_LOG_DEBUG_MAIL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pop3 login: \22%V\22\00", align 1 @ngx_pop3_user = dso_local local_unnamed_addr global i32 0, align 4 @NGX_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_mail_pop3_user], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ngx_mail_pop3_user(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %25 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.TYPE_11__, ptr %8, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 store i32 %10, ptr %11, align 8, !tbaa !16 %12 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !17 %14 = tail call ptr @ngx_pnalloc(i32 noundef %13, i32 noundef %10) #2 %15 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1, i32 1 store ptr %14, ptr %15, align 8, !tbaa !19 %16 = icmp eq ptr %14, null br i1 %16, label %25, label %17 17: ; preds = %6 %18 = load i32, ptr %8, align 4, !tbaa !20 %19 = load i32, ptr %11, align 8, !tbaa !16 %20 = tail call i32 @ngx_memcpy(ptr noundef nonnull %14, i32 noundef %18, i32 noundef %19) #2 %21 = load i32, ptr @NGX_LOG_DEBUG_MAIL, align 4, !tbaa !21 %22 = load i32, ptr %1, align 4, !tbaa !22 %23 = tail call i32 @ngx_log_debug1(i32 noundef %21, i32 noundef %22, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %11) #2 %24 = load i32, ptr @ngx_pop3_user, align 4, !tbaa !21 store i32 %24, ptr %0, align 8, !tbaa !23 br label %25 25: ; preds = %6, %2, %17 %26 = phi ptr [ @NGX_OK, %17 ], [ @NGX_MAIL_PARSE_INVALID_COMMAND, %2 ], [ @NGX_ERROR, %6 ] %27 = load i32, ptr %26, align 4, !tbaa !21 ret i32 %27 } declare ptr @ngx_pnalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !12, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_14__", !7, i64 0, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_10__", !7, i64 0, !11, i64 8} !13 = !{!6, !11, i64 32} !14 = !{!15, !7, i64 4} !15 = !{!"TYPE_11__", !7, i64 0, !7, i64 4} !16 = !{!6, !7, i64 8} !17 = !{!18, !7, i64 4} !18 = !{!"TYPE_13__", !7, i64 0, !7, i64 4} !19 = !{!6, !11, i64 16} !20 = !{!15, !7, i64 0} !21 = !{!7, !7, i64 0} !22 = !{!18, !7, i64 0} !23 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/tengine/src/mail/extr_ngx_mail_pop3_handler.c_ngx_mail_pop3_user.c' source_filename = "AnghaBench/tengine/src/mail/extr_ngx_mail_pop3_handler.c_ngx_mail_pop3_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NGX_MAIL_PARSE_INVALID_COMMAND = common local_unnamed_addr global i32 0, align 4 @NGX_ERROR = common local_unnamed_addr global i32 0, align 4 @NGX_LOG_DEBUG_MAIL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pop3 login: \22%V\22\00", align 1 @ngx_pop3_user = common local_unnamed_addr global i32 0, align 4 @NGX_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ngx_mail_pop3_user], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ngx_mail_pop3_user(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %25 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %10, ptr %11, align 8, !tbaa !17 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !18 %14 = tail call ptr @ngx_pnalloc(i32 noundef %13, i32 noundef %10) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %14, ptr %15, align 8, !tbaa !20 %16 = icmp eq ptr %14, null br i1 %16, label %25, label %17 17: ; preds = %6 %18 = load i32, ptr %8, align 4, !tbaa !21 %19 = load i32, ptr %11, align 8, !tbaa !17 %20 = tail call i32 @ngx_memcpy(ptr noundef nonnull %14, i32 noundef %18, i32 noundef %19) #2 %21 = load i32, ptr @NGX_LOG_DEBUG_MAIL, align 4, !tbaa !22 %22 = load i32, ptr %1, align 4, !tbaa !23 %23 = tail call i32 @ngx_log_debug1(i32 noundef %21, i32 noundef %22, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %11) #2 %24 = load i32, ptr @ngx_pop3_user, align 4, !tbaa !22 store i32 %24, ptr %0, align 8, !tbaa !24 br label %25 25: ; preds = %6, %2, %17 %26 = phi ptr [ @NGX_OK, %17 ], [ @NGX_MAIL_PARSE_INVALID_COMMAND, %2 ], [ @NGX_ERROR, %6 ] %27 = load i32, ptr %26, align 4, !tbaa !22 ret i32 %27 } declare ptr @ngx_pnalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !13, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_14__", !8, i64 0, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_10__", !8, i64 0, !12, i64 8} !14 = !{!7, !12, i64 32} !15 = !{!16, !8, i64 4} !16 = !{!"TYPE_11__", !8, i64 0, !8, i64 4} !17 = !{!7, !8, i64 8} !18 = !{!19, !8, i64 4} !19 = !{!"TYPE_13__", !8, i64 0, !8, i64 4} !20 = !{!7, !12, i64 16} !21 = !{!16, !8, i64 0} !22 = !{!8, !8, i64 0} !23 = !{!19, !8, i64 0} !24 = !{!7, !8, i64 0}
tengine_src_mail_extr_ngx_mail_pop3_handler.c_ngx_mail_pop3_user
; ModuleID = 'AnghaBench/radare2/libr/bin/pdb/extr_dbi.c_parse_dbg_header.c' source_filename = "AnghaBench/radare2/libr/bin/pdb/extr_dbi.c_parse_dbg_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_dbg_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @parse_dbg_header(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 10 %4 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 9 %6 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8 %8 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7 %10 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 %12 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %14 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %16 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %15) #2 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %18 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %17) #2 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %20 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %19) #2 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %22 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %21) #2 %23 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef %0) #2 ret void } declare i32 @stream_file_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/radare2/libr/bin/pdb/extr_dbi.c_parse_dbg_header.c' source_filename = "AnghaBench/radare2/libr/bin/pdb/extr_dbi.c_parse_dbg_header.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 @parse_dbg_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @parse_dbg_header(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 36 %6 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 28 %10 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %0, i64 20 %14 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %15) #2 %17 = getelementptr inbounds i8, ptr %0, i64 12 %18 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %17) #2 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %19) #2 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef nonnull %21) #2 %23 = tail call i32 @stream_file_read(ptr noundef %1, i32 noundef 2, ptr noundef %0) #2 ret void } declare i32 @stream_file_read(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)"}
radare2_libr_bin_pdb_extr_dbi.c_parse_dbg_header
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_mem.c_av_realloc.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_mem.c_av_realloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @max_alloc_size = dso_local local_unnamed_addr global i32 0, align 4 @ALIGN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable define dso_local noalias noundef ptr @av_realloc(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @max_alloc_size, align 4, !tbaa !5 %4 = add nsw i32 %3, -32 %5 = sext i32 %4 to i64 %6 = icmp ult i64 %5, %1 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = icmp eq i64 %1, 0 %9 = zext i1 %8 to i64 %10 = add i64 %9, %1 %11 = tail call ptr @realloc(ptr noundef %0, i64 noundef %10) #2 br label %12 12: ; preds = %2, %7 %13 = phi ptr [ %11, %7 ], [ null, %2 ] ret ptr %13 } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: 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" } attributes #1 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_mem.c_av_realloc.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_mem.c_av_realloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @max_alloc_size = common local_unnamed_addr global i32 0, align 4 @ALIGN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable(sync) define noalias noundef ptr @av_realloc(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @max_alloc_size, align 4, !tbaa !6 %4 = add nsw i32 %3, -32 %5 = sext i32 %4 to i64 %6 = icmp ult i64 %5, %1 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = tail call i64 @llvm.umax.i64(i64 %1, i64 1) %9 = tail call ptr @realloc(ptr noundef %0, i64 noundef %8) #3 br label %10 10: ; preds = %2, %7 %11 = phi ptr [ %9, %7 ], [ null, %2 ] ret ptr %11 } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { mustprogress nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: 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" } attributes #1 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
FFmpeg_libavutil_extr_mem.c_av_realloc
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_alter.c_ExecAlterOwnerStmt.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_alter.c_ExecAlterOwnerStmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i32, i32 } %struct.TYPE_16__ = type { i32, i64, i32 } @List = dso_local local_unnamed_addr global i32 0, align 4 @AccessExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4 @LargeObjectRelationId = dso_local local_unnamed_addr global i32 0, align 4 @LargeObjectMetadataRelationId = dso_local local_unnamed_addr global i32 0, align 4 @RowExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"unrecognized AlterOwnerStmt type: %d\00", align 1 @InvalidObjectAddress = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @ExecAlterOwnerStmt(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @get_rolespec_oid(i32 noundef %4, i32 noundef 0) #3 %6 = load i32, ptr %0, align 8, !tbaa !11 switch i32 %6, label %101 [ i32 148, label %7 i32 134, label %16 i32 128, label %25 i32 147, label %25 i32 145, label %35 i32 144, label %44 i32 146, label %53 i32 136, label %62 i32 132, label %71 i32 151, label %80 i32 150, label %80 i32 149, label %80 i32 143, label %80 i32 142, label %80 i32 141, label %80 i32 139, label %80 i32 140, label %80 i32 138, label %80 i32 137, label %80 i32 135, label %80 i32 133, label %80 i32 131, label %80 i32 129, label %80 i32 130, label %80 ] 7: ; preds = %1 %8 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @strVal(ptr noundef %10) #3 %12 = tail call i64 @AlterDatabaseOwner(i32 noundef %11, i32 noundef %5) #3 %13 = trunc i64 %12 to i32 %14 = lshr i64 %12, 32 %15 = trunc i64 %14 to i32 br label %106 16: ; preds = %1 %17 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = inttoptr i64 %18 to ptr %20 = tail call i32 @strVal(ptr noundef %19) #3 %21 = tail call i64 @AlterSchemaOwner(i32 noundef %20, i32 noundef %5) #3 %22 = trunc i64 %21 to i32 %23 = lshr i64 %21, 32 %24 = trunc i64 %23 to i32 br label %106 25: ; preds = %1, %1 %26 = load i32, ptr @List, align 4, !tbaa !13 %27 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %28 = load i64, ptr %27, align 8, !tbaa !12 %29 = tail call i32 @castNode(i32 noundef %26, i64 noundef %28) #3 %30 = load i32, ptr %0, align 8, !tbaa !11 %31 = tail call i64 @AlterTypeOwner(i32 noundef %29, i32 noundef %5, i32 noundef %30) #3 %32 = trunc i64 %31 to i32 %33 = lshr i64 %31, 32 %34 = trunc i64 %33 to i32 br label %106 35: ; preds = %1 %36 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %37 = load i64, ptr %36, align 8, !tbaa !12 %38 = inttoptr i64 %37 to ptr %39 = tail call i32 @strVal(ptr noundef %38) #3 %40 = tail call i64 @AlterForeignDataWrapperOwner(i32 noundef %39, i32 noundef %5) #3 %41 = trunc i64 %40 to i32 %42 = lshr i64 %40, 32 %43 = trunc i64 %42 to i32 br label %106 44: ; preds = %1 %45 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !12 %47 = inttoptr i64 %46 to ptr %48 = tail call i32 @strVal(ptr noundef %47) #3 %49 = tail call i64 @AlterForeignServerOwner(i32 noundef %48, i32 noundef %5) #3 %50 = trunc i64 %49 to i32 %51 = lshr i64 %49, 32 %52 = trunc i64 %51 to i32 br label %106 53: ; preds = %1 %54 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %55 = load i64, ptr %54, align 8, !tbaa !12 %56 = inttoptr i64 %55 to ptr %57 = tail call i32 @strVal(ptr noundef %56) #3 %58 = tail call i64 @AlterEventTriggerOwner(i32 noundef %57, i32 noundef %5) #3 %59 = trunc i64 %58 to i32 %60 = lshr i64 %58, 32 %61 = trunc i64 %60 to i32 br label %106 62: ; preds = %1 %63 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %64 = load i64, ptr %63, align 8, !tbaa !12 %65 = inttoptr i64 %64 to ptr %66 = tail call i32 @strVal(ptr noundef %65) #3 %67 = tail call i64 @AlterPublicationOwner(i32 noundef %66, i32 noundef %5) #3 %68 = trunc i64 %67 to i32 %69 = lshr i64 %67, 32 %70 = trunc i64 %69 to i32 br label %106 71: ; preds = %1 %72 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %73 = load i64, ptr %72, align 8, !tbaa !12 %74 = inttoptr i64 %73 to ptr %75 = tail call i32 @strVal(ptr noundef %74) #3 %76 = tail call i64 @AlterSubscriptionOwner(i32 noundef %75, i32 noundef %5) #3 %77 = trunc i64 %76 to i32 %78 = lshr i64 %76, 32 %79 = trunc i64 %78 to i32 br label %106 80: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %81 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %82 = load i64, ptr %81, align 8, !tbaa !12 %83 = load i32, ptr @AccessExclusiveLock, align 4, !tbaa !13 %84 = call i64 @get_object_address(i32 noundef %6, i64 noundef %82, ptr noundef nonnull %2, i32 noundef %83, i32 noundef 0) #3 %85 = trunc i64 %84 to i32 %86 = lshr i64 %84, 32 %87 = trunc i64 %86 to i32 %88 = load ptr, ptr %2, align 8, !tbaa !14 %89 = icmp eq ptr %88, null %90 = zext i1 %89 to i32 %91 = call i32 @Assert(i32 noundef %90) #3 %92 = load i32, ptr @LargeObjectRelationId, align 4, !tbaa !13 %93 = icmp eq i32 %92, %87 %94 = load i32, ptr @LargeObjectMetadataRelationId, align 4 %95 = select i1 %93, i32 %94, i32 %87 %96 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !13 %97 = call ptr @table_open(i32 noundef %95, i32 noundef %96) #3 %98 = call i32 @AlterObjectOwner_internal(ptr noundef %97, i32 noundef %85, i32 noundef %5) #3 %99 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !13 %100 = call i32 @table_close(ptr noundef %97, i32 noundef %99) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %106 101: ; preds = %1 %102 = load i32, ptr @ERROR, align 4, !tbaa !13 %103 = tail call i32 @elog(i32 noundef %102, ptr noundef nonnull @.str, i32 noundef %6) #3 %104 = load i32, ptr @InvalidObjectAddress, align 4, !tbaa.struct !16 %105 = load i32, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @InvalidObjectAddress, i64 0, i32 1), align 4, !tbaa.struct !17 br label %106 106: ; preds = %101, %80, %71, %62, %53, %44, %35, %25, %16, %7 %107 = phi i32 [ %104, %101 ], [ %85, %80 ], [ %77, %71 ], [ %68, %62 ], [ %59, %53 ], [ %50, %44 ], [ %41, %35 ], [ %32, %25 ], [ %22, %16 ], [ %13, %7 ] %108 = phi i32 [ %105, %101 ], [ %87, %80 ], [ %79, %71 ], [ %70, %62 ], [ %61, %53 ], [ %52, %44 ], [ %43, %35 ], [ %34, %25 ], [ %24, %16 ], [ %15, %7 ] %109 = zext i32 %108 to i64 %110 = shl nuw i64 %109, 32 %111 = zext i32 %107 to i64 %112 = or disjoint i64 %110, %111 ret i64 %112 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_rolespec_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterDatabaseOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strVal(ptr noundef) local_unnamed_addr #2 declare i64 @AlterSchemaOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterTypeOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @castNode(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @AlterForeignDataWrapperOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterForeignServerOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterEventTriggerOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterPublicationOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterSubscriptionOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @get_object_address(i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @Assert(i32 noundef) local_unnamed_addr #2 declare ptr @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AlterObjectOwner_internal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{i64 0, i64 4, !13, i64 4, i64 4, !13} !17 = !{i64 0, i64 4, !13}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_alter.c_ExecAlterOwnerStmt.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_alter.c_ExecAlterOwnerStmt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { i32, i32 } @List = common local_unnamed_addr global i32 0, align 4 @AccessExclusiveLock = common local_unnamed_addr global i32 0, align 4 @LargeObjectRelationId = common local_unnamed_addr global i32 0, align 4 @LargeObjectMetadataRelationId = common local_unnamed_addr global i32 0, align 4 @RowExclusiveLock = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"unrecognized AlterOwnerStmt type: %d\00", align 1 @InvalidObjectAddress = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @ExecAlterOwnerStmt(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @get_rolespec_oid(i32 noundef %4, i32 noundef 0) #3 %6 = load i32, ptr %0, align 8, !tbaa !12 switch i32 %6, label %101 [ i32 148, label %7 i32 134, label %16 i32 128, label %25 i32 147, label %25 i32 145, label %35 i32 144, label %44 i32 146, label %53 i32 136, label %62 i32 132, label %71 i32 151, label %80 i32 150, label %80 i32 149, label %80 i32 143, label %80 i32 142, label %80 i32 141, label %80 i32 139, label %80 i32 140, label %80 i32 138, label %80 i32 137, label %80 i32 135, label %80 i32 133, label %80 i32 131, label %80 i32 129, label %80 i32 130, label %80 ] 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @strVal(ptr noundef %10) #3 %12 = tail call i64 @AlterDatabaseOwner(i32 noundef %11, i32 noundef %5) #3 %13 = trunc i64 %12 to i32 %14 = lshr i64 %12, 32 %15 = trunc nuw i64 %14 to i32 br label %106 16: ; preds = %1 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !13 %19 = inttoptr i64 %18 to ptr %20 = tail call i32 @strVal(ptr noundef %19) #3 %21 = tail call i64 @AlterSchemaOwner(i32 noundef %20, i32 noundef %5) #3 %22 = trunc i64 %21 to i32 %23 = lshr i64 %21, 32 %24 = trunc nuw i64 %23 to i32 br label %106 25: ; preds = %1, %1 %26 = load i32, ptr @List, align 4, !tbaa !14 %27 = getelementptr inbounds i8, ptr %0, i64 8 %28 = load i64, ptr %27, align 8, !tbaa !13 %29 = tail call i32 @castNode(i32 noundef %26, i64 noundef %28) #3 %30 = load i32, ptr %0, align 8, !tbaa !12 %31 = tail call i64 @AlterTypeOwner(i32 noundef %29, i32 noundef %5, i32 noundef %30) #3 %32 = trunc i64 %31 to i32 %33 = lshr i64 %31, 32 %34 = trunc nuw i64 %33 to i32 br label %106 35: ; preds = %1 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load i64, ptr %36, align 8, !tbaa !13 %38 = inttoptr i64 %37 to ptr %39 = tail call i32 @strVal(ptr noundef %38) #3 %40 = tail call i64 @AlterForeignDataWrapperOwner(i32 noundef %39, i32 noundef %5) #3 %41 = trunc i64 %40 to i32 %42 = lshr i64 %40, 32 %43 = trunc nuw i64 %42 to i32 br label %106 44: ; preds = %1 %45 = getelementptr inbounds i8, ptr %0, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !13 %47 = inttoptr i64 %46 to ptr %48 = tail call i32 @strVal(ptr noundef %47) #3 %49 = tail call i64 @AlterForeignServerOwner(i32 noundef %48, i32 noundef %5) #3 %50 = trunc i64 %49 to i32 %51 = lshr i64 %49, 32 %52 = trunc nuw i64 %51 to i32 br label %106 53: ; preds = %1 %54 = getelementptr inbounds i8, ptr %0, i64 8 %55 = load i64, ptr %54, align 8, !tbaa !13 %56 = inttoptr i64 %55 to ptr %57 = tail call i32 @strVal(ptr noundef %56) #3 %58 = tail call i64 @AlterEventTriggerOwner(i32 noundef %57, i32 noundef %5) #3 %59 = trunc i64 %58 to i32 %60 = lshr i64 %58, 32 %61 = trunc nuw i64 %60 to i32 br label %106 62: ; preds = %1 %63 = getelementptr inbounds i8, ptr %0, i64 8 %64 = load i64, ptr %63, align 8, !tbaa !13 %65 = inttoptr i64 %64 to ptr %66 = tail call i32 @strVal(ptr noundef %65) #3 %67 = tail call i64 @AlterPublicationOwner(i32 noundef %66, i32 noundef %5) #3 %68 = trunc i64 %67 to i32 %69 = lshr i64 %67, 32 %70 = trunc nuw i64 %69 to i32 br label %106 71: ; preds = %1 %72 = getelementptr inbounds i8, ptr %0, i64 8 %73 = load i64, ptr %72, align 8, !tbaa !13 %74 = inttoptr i64 %73 to ptr %75 = tail call i32 @strVal(ptr noundef %74) #3 %76 = tail call i64 @AlterSubscriptionOwner(i32 noundef %75, i32 noundef %5) #3 %77 = trunc i64 %76 to i32 %78 = lshr i64 %76, 32 %79 = trunc nuw i64 %78 to i32 br label %106 80: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %81 = getelementptr inbounds i8, ptr %0, i64 8 %82 = load i64, ptr %81, align 8, !tbaa !13 %83 = load i32, ptr @AccessExclusiveLock, align 4, !tbaa !14 %84 = call i64 @get_object_address(i32 noundef %6, i64 noundef %82, ptr noundef nonnull %2, i32 noundef %83, i32 noundef 0) #3 %85 = trunc i64 %84 to i32 %86 = lshr i64 %84, 32 %87 = trunc nuw i64 %86 to i32 %88 = load ptr, ptr %2, align 8, !tbaa !15 %89 = icmp eq ptr %88, null %90 = zext i1 %89 to i32 %91 = call i32 @Assert(i32 noundef %90) #3 %92 = load i32, ptr @LargeObjectRelationId, align 4, !tbaa !14 %93 = icmp eq i32 %92, %87 %94 = load i32, ptr @LargeObjectMetadataRelationId, align 4 %95 = select i1 %93, i32 %94, i32 %87 %96 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !14 %97 = call ptr @table_open(i32 noundef %95, i32 noundef %96) #3 %98 = call i32 @AlterObjectOwner_internal(ptr noundef %97, i32 noundef %85, i32 noundef %5) #3 %99 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !14 %100 = call i32 @table_close(ptr noundef %97, i32 noundef %99) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %106 101: ; preds = %1 %102 = load i32, ptr @ERROR, align 4, !tbaa !14 %103 = tail call i32 @elog(i32 noundef %102, ptr noundef nonnull @.str, i32 noundef %6) #3 %104 = load i32, ptr @InvalidObjectAddress, align 4, !tbaa !14 %105 = load i32, ptr getelementptr inbounds (i8, ptr @InvalidObjectAddress, i64 4), align 4, !tbaa !14 br label %106 106: ; preds = %101, %80, %71, %62, %53, %44, %35, %25, %16, %7 %107 = phi i32 [ %104, %101 ], [ %85, %80 ], [ %77, %71 ], [ %68, %62 ], [ %59, %53 ], [ %50, %44 ], [ %41, %35 ], [ %32, %25 ], [ %22, %16 ], [ %13, %7 ] %108 = phi i32 [ %105, %101 ], [ %87, %80 ], [ %79, %71 ], [ %70, %62 ], [ %61, %53 ], [ %52, %44 ], [ %43, %35 ], [ %34, %25 ], [ %24, %16 ], [ %15, %7 ] %109 = zext i32 %108 to i64 %110 = shl nuw i64 %109, 32 %111 = zext i32 %107 to i64 %112 = or disjoint i64 %110, %111 ret i64 %112 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_rolespec_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterDatabaseOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strVal(ptr noundef) local_unnamed_addr #2 declare i64 @AlterSchemaOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterTypeOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @castNode(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @AlterForeignDataWrapperOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterForeignServerOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterEventTriggerOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterPublicationOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AlterSubscriptionOwner(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @get_object_address(i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @Assert(i32 noundef) local_unnamed_addr #2 declare ptr @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AlterObjectOwner_internal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elog(i32 noundef, ptr noundef, i32 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, !8, i64 16} !7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0}
postgres_src_backend_commands_extr_alter.c_ExecAlterOwnerStmt
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/network/extr_if_vtnet.c_vtnet_alloc_rxtx_queues.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/network/extr_if_vtnet.c_vtnet_alloc_rxtx_queues.c" target datalayout = "e-m:e-p270:32:32-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.vtnet_softc = type { i32, ptr, ptr } @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vtnet_alloc_rxtx_queues], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vtnet_alloc_rxtx_queues(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = shl i32 %2, 2 %4 = load i32, ptr @M_DEVBUF, align 4, !tbaa !11 %5 = load i32, ptr @M_NOWAIT, align 4, !tbaa !11 %6 = load i32, ptr @M_ZERO, align 4, !tbaa !11 %7 = or i32 %6, %5 %8 = tail call ptr @malloc(i32 noundef %3, i32 noundef %4, i32 noundef %7) #2 %9 = getelementptr inbounds %struct.vtnet_softc, ptr %0, i64 0, i32 2 store ptr %8, ptr %9, align 8, !tbaa !12 %10 = load i32, ptr @M_DEVBUF, align 4, !tbaa !11 %11 = load i32, ptr @M_NOWAIT, align 4, !tbaa !11 %12 = load i32, ptr @M_ZERO, align 4, !tbaa !11 %13 = or i32 %12, %11 %14 = tail call ptr @malloc(i32 noundef %3, i32 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.vtnet_softc, ptr %0, i64 0, i32 1 store ptr %14, ptr %15, align 8, !tbaa !13 %16 = load ptr, ptr %9, align 8, !tbaa !12 %17 = icmp eq ptr %16, null %18 = icmp eq ptr %14, null %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %22, label %20 20: ; preds = %1 %21 = icmp sgt i32 %2, 0 br i1 %21, label %27, label %34 22: ; preds = %1 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !11 br label %36 24: ; preds = %31 %25 = add nuw nsw i32 %28, 1 %26 = icmp eq i32 %25, %2 br i1 %26, label %34, label %27, !llvm.loop !14 27: ; preds = %20, %24 %28 = phi i32 [ %25, %24 ], [ 0, %20 ] %29 = tail call i32 @vtnet_init_rxq(ptr noundef nonnull %0, i32 noundef %28) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = tail call i32 @vtnet_init_txq(ptr noundef nonnull %0, i32 noundef %28) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %24, label %36 34: ; preds = %24, %20 %35 = tail call i32 @vtnet_setup_queue_sysctl(ptr noundef nonnull %0) #2 br label %36 36: ; preds = %31, %27, %34, %22 %37 = phi i32 [ %23, %22 ], [ 0, %34 ], [ %32, %31 ], [ %29, %27 ] ret i32 %37 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_init_rxq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_init_txq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_setup_queue_sysctl(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 = !{!"vtnet_softc", !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!6, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/network/extr_if_vtnet.c_vtnet_alloc_rxtx_queues.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/network/extr_if_vtnet.c_vtnet_alloc_rxtx_queues.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vtnet_alloc_rxtx_queues], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vtnet_alloc_rxtx_queues(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = shl i32 %2, 2 %4 = load i32, ptr @M_DEVBUF, align 4, !tbaa !12 %5 = load i32, ptr @M_NOWAIT, align 4, !tbaa !12 %6 = load i32, ptr @M_ZERO, align 4, !tbaa !12 %7 = or i32 %6, %5 %8 = tail call ptr @malloc(i32 noundef %3, i32 noundef %4, i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %8, ptr %9, align 8, !tbaa !13 %10 = load i32, ptr @M_DEVBUF, align 4, !tbaa !12 %11 = load i32, ptr @M_NOWAIT, align 4, !tbaa !12 %12 = load i32, ptr @M_ZERO, align 4, !tbaa !12 %13 = or i32 %12, %11 %14 = tail call ptr @malloc(i32 noundef %3, i32 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %14, ptr %15, align 8, !tbaa !14 %16 = load ptr, ptr %9, align 8, !tbaa !13 %17 = icmp eq ptr %16, null %18 = icmp eq ptr %14, null %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %22, label %20 20: ; preds = %1 %21 = icmp sgt i32 %2, 0 br i1 %21, label %27, label %34 22: ; preds = %1 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !12 br label %36 24: ; preds = %31 %25 = add nuw nsw i32 %28, 1 %26 = icmp eq i32 %25, %2 br i1 %26, label %34, label %27, !llvm.loop !15 27: ; preds = %20, %24 %28 = phi i32 [ %25, %24 ], [ 0, %20 ] %29 = tail call i32 @vtnet_init_rxq(ptr noundef nonnull %0, i32 noundef %28) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = tail call i32 @vtnet_init_txq(ptr noundef nonnull %0, i32 noundef %28) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %24, label %36 34: ; preds = %24, %20 %35 = tail call i32 @vtnet_setup_queue_sysctl(ptr noundef nonnull %0) #2 br label %36 36: ; preds = %31, %27, %34, %22 %37 = phi i32 [ %23, %22 ], [ 0, %34 ], [ %32, %31 ], [ %29, %27 ] ret i32 %37 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_init_rxq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_init_txq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vtnet_setup_queue_sysctl(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 = !{!"vtnet_softc", !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!7, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_virtio_network_extr_if_vtnet.c_vtnet_alloc_rxtx_queues
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setDate.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setDate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @JS_E_DATE_EXPECTED = dso_local local_unnamed_addr global i32 0, align 4 @JS_E_MISSING_ARG = dso_local local_unnamed_addr global i32 0, align 4 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Date_setDate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @Date_setDate(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 { %7 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3 %9 = tail call ptr @date_this(ptr noundef %1) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %6 %12 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !5 %13 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %12, ptr noundef null) #3 br label %40 14: ; preds = %6 %15 = icmp eq i32 %3, 0 br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !5 %18 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %17, ptr noundef null) #3 br label %40 19: ; preds = %14 %20 = load i32, ptr %4, align 4, !tbaa !5 %21 = call i32 @to_number(ptr noundef %0, i32 noundef %20, ptr noundef nonnull %7) #3 %22 = call i64 @FAILED(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %19 %25 = load i32, ptr %9, align 4, !tbaa !9 %26 = call double @local_time(i32 noundef %25, ptr noundef nonnull %9) #3 %27 = call i32 @year_from_time(double noundef %26) #3 %28 = call i32 @month_from_time(double noundef %26) #3 %29 = load double, ptr %7, align 8, !tbaa !11 %30 = call i32 @make_day(i32 noundef %27, i32 noundef %28, double noundef %29) #3 %31 = call i32 @time_within_day(double noundef %26) #3 %32 = call double @make_date(i32 noundef %30, i32 noundef %31) #3 %33 = call i32 @utc(double noundef %32, ptr noundef nonnull %9) #3 %34 = call i32 @time_clip(i32 noundef %33) #3 store i32 %34, ptr %9, align 4, !tbaa !9 %35 = icmp eq ptr %5, null br i1 %35, label %38, label %36 36: ; preds = %24 %37 = call i32 @jsval_number(i32 noundef %34) #3 store i32 %37, ptr %5, align 4, !tbaa !5 br label %38 38: ; preds = %36, %24 %39 = load i32, ptr @S_OK, align 4, !tbaa !5 br label %40 40: ; preds = %19, %38, %16, %11 %41 = phi i32 [ %39, %38 ], [ %18, %16 ], [ %13, %11 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @TRACE(ptr noundef) local_unnamed_addr #2 declare ptr @date_this(ptr noundef) local_unnamed_addr #2 declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAILED(i32 noundef) local_unnamed_addr #2 declare double @local_time(i32 noundef, ptr noundef) local_unnamed_addr #2 declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @make_day(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #2 declare i32 @year_from_time(double noundef) local_unnamed_addr #2 declare i32 @month_from_time(double noundef) local_unnamed_addr #2 declare i32 @time_within_day(double noundef) local_unnamed_addr #2 declare i32 @time_clip(i32 noundef) local_unnamed_addr #2 declare i32 @utc(double noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsval_number(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 0} !10 = !{!"TYPE_5__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"double", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setDate.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setDate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @JS_E_DATE_EXPECTED = common local_unnamed_addr global i32 0, align 4 @JS_E_MISSING_ARG = common local_unnamed_addr global i32 0, align 4 @S_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Date_setDate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @Date_setDate(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 { %7 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3 %9 = tail call ptr @date_this(ptr noundef %1) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %6 %12 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !6 %13 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %12, ptr noundef null) #3 br label %40 14: ; preds = %6 %15 = icmp eq i32 %3, 0 br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !6 %18 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %17, ptr noundef null) #3 br label %40 19: ; preds = %14 %20 = load i32, ptr %4, align 4, !tbaa !6 %21 = call i32 @to_number(ptr noundef %0, i32 noundef %20, ptr noundef nonnull %7) #3 %22 = call i64 @FAILED(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %19 %25 = load i32, ptr %9, align 4, !tbaa !10 %26 = call double @local_time(i32 noundef %25, ptr noundef nonnull %9) #3 %27 = call i32 @year_from_time(double noundef %26) #3 %28 = call i32 @month_from_time(double noundef %26) #3 %29 = load double, ptr %7, align 8, !tbaa !12 %30 = call i32 @make_day(i32 noundef %27, i32 noundef %28, double noundef %29) #3 %31 = call i32 @time_within_day(double noundef %26) #3 %32 = call double @make_date(i32 noundef %30, i32 noundef %31) #3 %33 = call i32 @utc(double noundef %32, ptr noundef nonnull %9) #3 %34 = call i32 @time_clip(i32 noundef %33) #3 store i32 %34, ptr %9, align 4, !tbaa !10 %35 = icmp eq ptr %5, null br i1 %35, label %38, label %36 36: ; preds = %24 %37 = call i32 @jsval_number(i32 noundef %34) #3 store i32 %37, ptr %5, align 4, !tbaa !6 br label %38 38: ; preds = %36, %24 %39 = load i32, ptr @S_OK, align 4, !tbaa !6 br label %40 40: ; preds = %19, %38, %16, %11 %41 = phi i32 [ %39, %38 ], [ %18, %16 ], [ %13, %11 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @TRACE(ptr noundef) local_unnamed_addr #2 declare ptr @date_this(ptr noundef) local_unnamed_addr #2 declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAILED(i32 noundef) local_unnamed_addr #2 declare double @local_time(i32 noundef, ptr noundef) local_unnamed_addr #2 declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @make_day(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #2 declare i32 @year_from_time(double noundef) local_unnamed_addr #2 declare i32 @month_from_time(double noundef) local_unnamed_addr #2 declare i32 @time_within_day(double noundef) local_unnamed_addr #2 declare i32 @time_clip(i32 noundef) local_unnamed_addr #2 declare i32 @utc(double noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsval_number(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 0} !11 = !{!"TYPE_5__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"double", !8, i64 0}
reactos_dll_win32_jscript_extr_date.c_Date_setDate
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_advansys.c_AdvResetChipAndSB.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_advansys.c_AdvResetChipAndSB.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i32 } @ADV_MAX_TID = dso_local local_unnamed_addr global i32 0, align 4 @ASC_MC_WDTR_ABLE = dso_local local_unnamed_addr global i32 0, align 4 @ASC_MC_SDTR_ABLE = dso_local local_unnamed_addr global i32 0, align 4 @ADV_CHIP_ASC38C1600 = dso_local local_unnamed_addr global i64 0, align 8 @ASC_MC_PPR_ABLE = dso_local local_unnamed_addr global i32 0, align 4 @ASC_MC_TAGQNG_ABLE = dso_local local_unnamed_addr global i32 0, align 4 @ASC_MC_NUMBER_OF_MAX_CMD = dso_local local_unnamed_addr global i64 0, align 8 @ASC_MC_BIOS_SIGNATURE = dso_local local_unnamed_addr global i32 0, align 4 @IOPW_RISC_CSR = dso_local local_unnamed_addr global i32 0, align 4 @ADV_RISC_CSR_STOP = dso_local local_unnamed_addr global i32 0, align 4 @IOPW_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4 @ADV_CTRL_REG_CMD_RESET = dso_local local_unnamed_addr global i32 0, align 4 @ADV_CTRL_REG_CMD_WR_IO_REG = dso_local local_unnamed_addr global i32 0, align 4 @ADV_CHIP_ASC38C0800 = dso_local local_unnamed_addr global i64 0, align 8 @ADV_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @ADV_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @AdvResetChipAndSB], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @AdvResetChipAndSB(ptr noundef %0) #0 { %2 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !5 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i32, i64 %4, align 16 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %7 = load i32, ptr %6, align 8, !tbaa !9 %8 = load i32, ptr @ASC_MC_WDTR_ABLE, align 4, !tbaa !5 %9 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %8, i64 noundef undef) #2 %10 = load i32, ptr @ASC_MC_SDTR_ABLE, align 4, !tbaa !5 %11 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %10, i64 noundef undef) #2 %12 = load i64, ptr %0, align 8, !tbaa !12 %13 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !13 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr @ASC_MC_PPR_ABLE, align 4, !tbaa !5 %17 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %16, i64 noundef 0) #2 br label %18 18: ; preds = %15, %1 %19 = load i32, ptr @ASC_MC_TAGQNG_ABLE, align 4, !tbaa !5 %20 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %19, i64 noundef undef) #2 %21 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !5 %22 = icmp slt i32 %21, 0 br i1 %22, label %34, label %23 23: ; preds = %18, %23 %24 = phi i64 [ %30, %23 ], [ 0, %18 ] %25 = load i64, ptr @ASC_MC_NUMBER_OF_MAX_CMD, align 8, !tbaa !13 %26 = add nsw i64 %25, %24 %27 = getelementptr inbounds i32, ptr %5, i64 %24 %28 = load i32, ptr %27, align 4, !tbaa !5 %29 = tail call i32 @AdvReadByteLram(i32 noundef %7, i64 noundef %26, i32 noundef %28) #2 %30 = add nuw nsw i64 %24, 1 %31 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !5 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %24, %32 br i1 %33, label %23, label %34, !llvm.loop !14 34: ; preds = %23, %18 %35 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !5 %36 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %35, i64 noundef undef) #2 %37 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !5 %38 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %37, i64 noundef 0) #2 %39 = load i32, ptr @IOPW_RISC_CSR, align 4, !tbaa !5 %40 = load i32, ptr @ADV_RISC_CSR_STOP, align 4, !tbaa !5 %41 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr @IOPW_CTRL_REG, align 4, !tbaa !5 %43 = load i32, ptr @ADV_CTRL_REG_CMD_RESET, align 4, !tbaa !5 %44 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %42, i32 noundef %43) #2 %45 = tail call i32 @mdelay(i32 noundef 100) #2 %46 = load i32, ptr @IOPW_CTRL_REG, align 4, !tbaa !5 %47 = load i32, ptr @ADV_CTRL_REG_CMD_WR_IO_REG, align 4, !tbaa !5 %48 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %46, i32 noundef %47) #2 %49 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 store i64 0, ptr %49, align 8, !tbaa !16 %50 = load i64, ptr %0, align 8, !tbaa !12 %51 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !13 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %34 %54 = tail call i32 @AdvInitAsc38C1600Driver(ptr noundef nonnull %0) #2 br label %62 55: ; preds = %34 %56 = load i64, ptr @ADV_CHIP_ASC38C0800, align 8, !tbaa !13 %57 = icmp eq i64 %50, %56 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = tail call i32 @AdvInitAsc38C0800Driver(ptr noundef nonnull %0) #2 br label %62 60: ; preds = %55 %61 = tail call i32 @AdvInitAsc3550Driver(ptr noundef nonnull %0) #2 br label %62 62: ; preds = %58, %60, %53 %63 = phi i32 [ %54, %53 ], [ %59, %58 ], [ %61, %60 ] %64 = load i32, ptr @ADV_TRUE, align 4 %65 = load i32, ptr @ADV_FALSE, align 4 %66 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !5 %67 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %66, i64 noundef undef) #2 %68 = load i32, ptr @ASC_MC_WDTR_ABLE, align 4, !tbaa !5 %69 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %68, i64 noundef undef) #2 %70 = load i32, ptr @ASC_MC_SDTR_ABLE, align 4, !tbaa !5 %71 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %70, i64 noundef undef) #2 %72 = load i64, ptr %0, align 8, !tbaa !12 %73 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !13 %74 = icmp eq i64 %72, %73 br i1 %74, label %75, label %78 75: ; preds = %62 %76 = load i32, ptr @ASC_MC_PPR_ABLE, align 4, !tbaa !5 %77 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %76, i64 noundef 0) #2 br label %78 78: ; preds = %75, %62 %79 = load i32, ptr @ASC_MC_TAGQNG_ABLE, align 4, !tbaa !5 %80 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %79, i64 noundef undef) #2 %81 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !5 %82 = icmp slt i32 %81, 0 br i1 %82, label %94, label %83 83: ; preds = %78, %83 %84 = phi i64 [ %90, %83 ], [ 0, %78 ] %85 = load i64, ptr @ASC_MC_NUMBER_OF_MAX_CMD, align 8, !tbaa !13 %86 = add nsw i64 %85, %84 %87 = getelementptr inbounds i32, ptr %5, i64 %84 %88 = load i32, ptr %87, align 4, !tbaa !5 %89 = tail call i32 @AdvWriteByteLram(i32 noundef %7, i64 noundef %86, i32 noundef %88) #2 %90 = add nuw nsw i64 %84, 1 %91 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !5 %92 = sext i32 %91 to i64 %93 = icmp slt i64 %84, %92 br i1 %93, label %83, label %94, !llvm.loop !17 94: ; preds = %83, %78 %95 = icmp eq i32 %63, 0 %96 = select i1 %95, i32 %64, i32 %65 ret i32 %96 } declare i32 @AdvReadWordLram(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @AdvReadByteLram(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AdvWriteWordLram(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @AdvWriteWordRegister(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc38C1600Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc38C0800Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc3550Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvWriteByteLram(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!10, !11, i64 8} !17 = distinct !{!17, !15}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_advansys.c_AdvResetChipAndSB.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_advansys.c_AdvResetChipAndSB.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADV_MAX_TID = common local_unnamed_addr global i32 0, align 4 @ASC_MC_WDTR_ABLE = common local_unnamed_addr global i32 0, align 4 @ASC_MC_SDTR_ABLE = common local_unnamed_addr global i32 0, align 4 @ADV_CHIP_ASC38C1600 = common local_unnamed_addr global i64 0, align 8 @ASC_MC_PPR_ABLE = common local_unnamed_addr global i32 0, align 4 @ASC_MC_TAGQNG_ABLE = common local_unnamed_addr global i32 0, align 4 @ASC_MC_NUMBER_OF_MAX_CMD = common local_unnamed_addr global i64 0, align 8 @ASC_MC_BIOS_SIGNATURE = common local_unnamed_addr global i32 0, align 4 @IOPW_RISC_CSR = common local_unnamed_addr global i32 0, align 4 @ADV_RISC_CSR_STOP = common local_unnamed_addr global i32 0, align 4 @IOPW_CTRL_REG = common local_unnamed_addr global i32 0, align 4 @ADV_CTRL_REG_CMD_RESET = common local_unnamed_addr global i32 0, align 4 @ADV_CTRL_REG_CMD_WR_IO_REG = common local_unnamed_addr global i32 0, align 4 @ADV_CHIP_ASC38C0800 = common local_unnamed_addr global i64 0, align 8 @ADV_TRUE = common local_unnamed_addr global i32 0, align 4 @ADV_FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @AdvResetChipAndSB], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @AdvResetChipAndSB(ptr noundef %0) #0 { %2 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !6 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i32, i64 %4, align 4 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !10 %8 = load i32, ptr @ASC_MC_WDTR_ABLE, align 4, !tbaa !6 %9 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %8, i64 noundef undef) #2 %10 = load i32, ptr @ASC_MC_SDTR_ABLE, align 4, !tbaa !6 %11 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %10, i64 noundef undef) #2 %12 = load i64, ptr %0, align 8, !tbaa !13 %13 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !14 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr @ASC_MC_PPR_ABLE, align 4, !tbaa !6 %17 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %16, i64 noundef 0) #2 br label %18 18: ; preds = %15, %1 %19 = load i32, ptr @ASC_MC_TAGQNG_ABLE, align 4, !tbaa !6 %20 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %19, i64 noundef undef) #2 %21 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !6 %22 = icmp slt i32 %21, 0 br i1 %22, label %34, label %23 23: ; preds = %18, %23 %24 = phi i64 [ %30, %23 ], [ 0, %18 ] %25 = load i64, ptr @ASC_MC_NUMBER_OF_MAX_CMD, align 8, !tbaa !14 %26 = add nsw i64 %25, %24 %27 = getelementptr inbounds i32, ptr %5, i64 %24 %28 = load i32, ptr %27, align 4, !tbaa !6 %29 = tail call i32 @AdvReadByteLram(i32 noundef %7, i64 noundef %26, i32 noundef %28) #2 %30 = add nuw nsw i64 %24, 1 %31 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !6 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %24, %32 br i1 %33, label %23, label %34, !llvm.loop !15 34: ; preds = %23, %18 %35 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !6 %36 = tail call i32 @AdvReadWordLram(i32 noundef %7, i32 noundef %35, i64 noundef undef) #2 %37 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !6 %38 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %37, i64 noundef 0) #2 %39 = load i32, ptr @IOPW_RISC_CSR, align 4, !tbaa !6 %40 = load i32, ptr @ADV_RISC_CSR_STOP, align 4, !tbaa !6 %41 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr @IOPW_CTRL_REG, align 4, !tbaa !6 %43 = load i32, ptr @ADV_CTRL_REG_CMD_RESET, align 4, !tbaa !6 %44 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %42, i32 noundef %43) #2 %45 = tail call i32 @mdelay(i32 noundef 100) #2 %46 = load i32, ptr @IOPW_CTRL_REG, align 4, !tbaa !6 %47 = load i32, ptr @ADV_CTRL_REG_CMD_WR_IO_REG, align 4, !tbaa !6 %48 = tail call i32 @AdvWriteWordRegister(i32 noundef %7, i32 noundef %46, i32 noundef %47) #2 %49 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %49, align 8, !tbaa !17 %50 = load i64, ptr %0, align 8, !tbaa !13 %51 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !14 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %34 %54 = tail call i32 @AdvInitAsc38C1600Driver(ptr noundef nonnull %0) #2 br label %62 55: ; preds = %34 %56 = load i64, ptr @ADV_CHIP_ASC38C0800, align 8, !tbaa !14 %57 = icmp eq i64 %50, %56 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = tail call i32 @AdvInitAsc38C0800Driver(ptr noundef nonnull %0) #2 br label %62 60: ; preds = %55 %61 = tail call i32 @AdvInitAsc3550Driver(ptr noundef nonnull %0) #2 br label %62 62: ; preds = %58, %60, %53 %63 = phi i32 [ %54, %53 ], [ %59, %58 ], [ %61, %60 ] %64 = load i32, ptr @ADV_TRUE, align 4 %65 = load i32, ptr @ADV_FALSE, align 4 %66 = load i32, ptr @ASC_MC_BIOS_SIGNATURE, align 4, !tbaa !6 %67 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %66, i64 noundef undef) #2 %68 = load i32, ptr @ASC_MC_WDTR_ABLE, align 4, !tbaa !6 %69 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %68, i64 noundef undef) #2 %70 = load i32, ptr @ASC_MC_SDTR_ABLE, align 4, !tbaa !6 %71 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %70, i64 noundef undef) #2 %72 = load i64, ptr %0, align 8, !tbaa !13 %73 = load i64, ptr @ADV_CHIP_ASC38C1600, align 8, !tbaa !14 %74 = icmp eq i64 %72, %73 br i1 %74, label %75, label %78 75: ; preds = %62 %76 = load i32, ptr @ASC_MC_PPR_ABLE, align 4, !tbaa !6 %77 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %76, i64 noundef 0) #2 br label %78 78: ; preds = %75, %62 %79 = load i32, ptr @ASC_MC_TAGQNG_ABLE, align 4, !tbaa !6 %80 = tail call i32 @AdvWriteWordLram(i32 noundef %7, i32 noundef %79, i64 noundef undef) #2 %81 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !6 %82 = icmp slt i32 %81, 0 br i1 %82, label %94, label %83 83: ; preds = %78, %83 %84 = phi i64 [ %90, %83 ], [ 0, %78 ] %85 = load i64, ptr @ASC_MC_NUMBER_OF_MAX_CMD, align 8, !tbaa !14 %86 = add nsw i64 %85, %84 %87 = getelementptr inbounds i32, ptr %5, i64 %84 %88 = load i32, ptr %87, align 4, !tbaa !6 %89 = tail call i32 @AdvWriteByteLram(i32 noundef %7, i64 noundef %86, i32 noundef %88) #2 %90 = add nuw nsw i64 %84, 1 %91 = load i32, ptr @ADV_MAX_TID, align 4, !tbaa !6 %92 = sext i32 %91 to i64 %93 = icmp slt i64 %84, %92 br i1 %93, label %83, label %94, !llvm.loop !18 94: ; preds = %83, %78 %95 = icmp eq i32 %63, 0 %96 = select i1 %95, i32 %64, i32 %65 ret i32 %96 } declare i32 @AdvReadWordLram(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @AdvReadByteLram(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AdvWriteWordLram(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @AdvWriteWordRegister(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc38C1600Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc38C0800Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvInitAsc3550Driver(ptr noundef) local_unnamed_addr #1 declare i32 @AdvWriteByteLram(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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__", !12, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!11, !12, i64 8} !18 = distinct !{!18, !16}
linux_drivers_scsi_extr_advansys.c_AdvResetChipAndSB
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_acg_disable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_acg_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i64 } @GNLD_ACG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vega10_acg_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vega10_acg_disable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i64, ptr @GNLD_ACG, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4, i32 2 %6 = load i64, ptr %5, align 8, !tbaa !14 %7 = icmp eq i64 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %10 = load i32, ptr %9, align 8, !tbaa !17 %11 = icmp eq i32 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %8 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = tail call i32 @vega10_enable_smc_features(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %2, align 8, !tbaa !10 %19 = load i64, ptr @GNLD_ACG, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %19 store i32 0, ptr %20, align 8, !tbaa !17 br label %21 21: ; preds = %12, %17, %8, %1 ret i32 0 } declare i32 @vega10_enable_smc_features(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pp_hwmgr", !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 = !{!"vega10_hwmgr", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"TYPE_2__", !16, i64 0, !16, i64 4, !13, i64 8} !16 = !{!"int", !8, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!15, !16, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_acg_disable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_acg_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i64 } @GNLD_ACG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vega10_acg_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vega10_acg_disable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load i64, ptr @GNLD_ACG, align 8, !tbaa !13 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !15 %8 = icmp eq i64 %7, 0 br i1 %8, label %21, label %9 9: ; preds = %1 %10 = load i32, ptr %5, align 8, !tbaa !18 %11 = icmp eq i32 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %5, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !19 %15 = tail call i32 @vega10_enable_smc_features(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %2, align 8, !tbaa !11 %19 = load i64, ptr @GNLD_ACG, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %19 store i32 0, ptr %20, align 8, !tbaa !18 br label %21 21: ; preds = %12, %17, %9, %1 ret i32 0 } declare i32 @vega10_enable_smc_features(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pp_hwmgr", !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 = !{!"vega10_hwmgr", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !14, i64 8} !16 = !{!"TYPE_2__", !17, i64 0, !17, i64 4, !14, i64 8} !17 = !{!"int", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!16, !17, i64 4}
linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_vega10_hwmgr.c_vega10_acg_disable
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_pixblockdsp_init_mips.c_ff_pixblockdsp_init_mips.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_pixblockdsp_init_mips.c_ff_pixblockdsp_init_mips.c" target datalayout = "e-m:e-p270:32:32-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 @ff_pixblockdsp_init_mips(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) 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/FFmpeg/libavcodec/mips/extr_pixblockdsp_init_mips.c_ff_pixblockdsp_init_mips.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_pixblockdsp_init_mips.c_ff_pixblockdsp_init_mips.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 @ff_pixblockdsp_init_mips(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) 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)"}
FFmpeg_libavcodec_mips_extr_pixblockdsp_init_mips.c_ff_pixblockdsp_init_mips
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_add_addr_hash.c' source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_add_addr_hash.c" target datalayout = "e-m:e-p270:32:32-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.inet6_ifaddr = type { i32, i32 } @addrconf_hash_lock = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"ipv6_add_addr: already assigned\0A\00", align 1 @EEXIST = dso_local local_unnamed_addr global i32 0, align 4 @inet6_addr_lst = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipv6_add_addr_hash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipv6_add_addr_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @dev_net(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.inet6_ifaddr, ptr %1, i64 0, i32 1 %5 = tail call i32 @inet6_addr_hash(i32 noundef %3, ptr noundef nonnull %4) #2 %6 = tail call i32 @spin_lock(ptr noundef nonnull @addrconf_hash_lock) #2 %7 = tail call i32 @dev_net(ptr noundef %0) #2 %8 = tail call i64 @ipv6_chk_same_addr(i32 noundef %7, ptr noundef nonnull %4, ptr noundef %0, i32 noundef %5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = tail call i32 @netdev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2 %12 = load i32, ptr @EEXIST, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 br label %19 14: ; preds = %2 %15 = load ptr, ptr @inet6_addr_lst, align 8, !tbaa !9 %16 = zext i32 %5 to i64 %17 = getelementptr inbounds i32, ptr %15, i64 %16 %18 = tail call i32 @hlist_add_head_rcu(ptr noundef %1, ptr noundef %17) #2 br label %19 19: ; preds = %14, %10 %20 = phi i32 [ %13, %10 ], [ 0, %14 ] %21 = tail call i32 @spin_unlock(ptr noundef nonnull @addrconf_hash_lock) #2 ret i32 %20 } declare i32 @inet6_addr_hash(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_net(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @ipv6_chk_same_addr(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_add_addr_hash.c' source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_add_addr_hash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @addrconf_hash_lock = common global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"ipv6_add_addr: already assigned\0A\00", align 1 @EEXIST = common local_unnamed_addr global i32 0, align 4 @inet6_addr_lst = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ipv6_add_addr_hash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ipv6_add_addr_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @dev_net(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %1, i64 4 %5 = tail call i32 @inet6_addr_hash(i32 noundef %3, ptr noundef nonnull %4) #2 %6 = tail call i32 @spin_lock(ptr noundef nonnull @addrconf_hash_lock) #2 %7 = tail call i32 @dev_net(ptr noundef %0) #2 %8 = tail call i64 @ipv6_chk_same_addr(i32 noundef %7, ptr noundef nonnull %4, ptr noundef %0, i32 noundef %5) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %2 %11 = tail call i32 @netdev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2 %12 = load i32, ptr @EEXIST, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 br label %19 14: ; preds = %2 %15 = load ptr, ptr @inet6_addr_lst, align 8, !tbaa !10 %16 = zext i32 %5 to i64 %17 = getelementptr inbounds i32, ptr %15, i64 %16 %18 = tail call i32 @hlist_add_head_rcu(ptr noundef %1, ptr noundef %17) #2 br label %19 19: ; preds = %14, %10 %20 = phi i32 [ %13, %10 ], [ 0, %14 ] %21 = tail call i32 @spin_unlock(ptr noundef nonnull @addrconf_hash_lock) #2 ret i32 %20 } declare i32 @inet6_addr_hash(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_net(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i64 @ipv6_chk_same_addr(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
linux_net_ipv6_extr_addrconf.c_ipv6_add_addr_hash
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_doDoes.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_doDoes.c" target datalayout = "e-m:e-p270:32:32-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 { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @doDoes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @doDoes(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 1 %6 = tail call i32 @PUSHPTR(ptr noundef nonnull %5) #2 %7 = tail call i32 @vmPushIP(ptr noundef nonnull %0, i64 noundef %4) #2 ret void } declare i32 @PUSHPTR(ptr noundef) local_unnamed_addr #1 declare i32 @vmPushIP(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !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_8__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_doDoes.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_doDoes.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 @doDoes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @doDoes(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load i64, ptr %3, align 8, !tbaa !13 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = tail call i32 @PUSHPTR(ptr noundef nonnull %5) #2 %7 = tail call i32 @vmPushIP(ptr noundef nonnull %0, i64 noundef %4) #2 ret void } declare i32 @PUSHPTR(ptr noundef) local_unnamed_addr #1 declare i32 @vmPushIP(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !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_8__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"long", !9, i64 0}
freebsd_stand_ficl_extr_words.c_doDoes
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_pm.c_read_pll_ref.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_pm.c_read_pll_ref.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @clk_src_crystal = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"bad pll 0x%06x\0A\00", align 1 @clk_src_href = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_pll_ref], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_pll_ref(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @nouveau_dev(ptr noundef %0) #2 %4 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %5 = tail call i32 @nv_rd32(ptr noundef %3, i32 noundef 49216) #2 switch i32 %1, label %12 [ i32 16424, label %14 i32 16416, label %6 i32 16392, label %7 i32 16432, label %8 i32 59408, label %9 ] 6: ; preds = %2 br label %14 7: ; preds = %2 br label %14 8: ; preds = %2 br label %14 9: ; preds = %2 %10 = load i32, ptr @clk_src_crystal, align 4, !tbaa !5 %11 = tail call i32 @read_clk(ptr noundef %0, i32 noundef %10) #2 br label %24 12: ; preds = %2 %13 = tail call i32 @NV_ERROR(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %24 14: ; preds = %2, %8, %7, %6 %15 = phi i32 [ 25, %8 ], [ 16, %7 ], [ 22, %6 ], [ 21, %2 ] %16 = shl nuw i32 1, %15 %17 = and i32 %5, %16 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load i32, ptr @clk_src_href, align 4, !tbaa !5 %21 = tail call i32 @read_clk(ptr noundef %0, i32 noundef %20) #2 br label %24 22: ; preds = %14 %23 = tail call i32 @read_pll_src(ptr noundef %0, i32 noundef %1) #2 br label %24 24: ; preds = %22, %19, %12, %9 %25 = phi i32 [ 0, %12 ], [ %11, %9 ], [ %21, %19 ], [ %23, %22 ] ret i32 %25 } declare ptr @nouveau_dev(ptr noundef) local_unnamed_addr #1 declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_clk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NV_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_pll_src(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_pm.c_read_pll_ref.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_pm.c_read_pll_ref.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @clk_src_crystal = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"bad pll 0x%06x\0A\00", align 1 @clk_src_href = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_pll_ref], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_pll_ref(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @nouveau_dev(ptr noundef %0) #2 %4 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %5 = tail call i32 @nv_rd32(ptr noundef %3, i32 noundef 49216) #2 switch i32 %1, label %12 [ i32 16424, label %14 i32 16416, label %6 i32 16392, label %7 i32 16432, label %8 i32 59408, label %9 ] 6: ; preds = %2 br label %14 7: ; preds = %2 br label %14 8: ; preds = %2 br label %14 9: ; preds = %2 %10 = load i32, ptr @clk_src_crystal, align 4, !tbaa !6 %11 = tail call i32 @read_clk(ptr noundef %0, i32 noundef %10) #2 br label %24 12: ; preds = %2 %13 = tail call i32 @NV_ERROR(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %24 14: ; preds = %2, %8, %7, %6 %15 = phi i32 [ 25, %8 ], [ 16, %7 ], [ 22, %6 ], [ 21, %2 ] %16 = shl nuw i32 1, %15 %17 = and i32 %5, %16 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load i32, ptr @clk_src_href, align 4, !tbaa !6 %21 = tail call i32 @read_clk(ptr noundef %0, i32 noundef %20) #2 br label %24 22: ; preds = %14 %23 = tail call i32 @read_pll_src(ptr noundef %0, i32 noundef %1) #2 br label %24 24: ; preds = %22, %19, %12, %9 %25 = phi i32 [ 0, %12 ], [ %11, %9 ], [ %21, %19 ], [ %23, %22 ] ret i32 %25 } declare ptr @nouveau_dev(ptr noundef) local_unnamed_addr #1 declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_clk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NV_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_pll_src(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nv50_pm.c_read_pll_ref
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/sh/extr_fsi.c_fsi_32data_push.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/sh/extr_fsi.c_fsi_32data_push.c" target datalayout = "e-m:e-p270:32:32-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.fsi_priv = type { i32, i64, i32 } @SM_INC = dso_local local_unnamed_addr global i32 0, align 4 @TS_32 = dso_local local_unnamed_addr global i32 0, align 4 @TM_BUR = dso_local local_unnamed_addr global i32 0, align 4 @DODT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @fsi_32data_push], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fsi_32data_push(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = sdiv i32 %6, 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i32, ptr %5, i64 %8 %10 = getelementptr inbounds %struct.fsi_priv, ptr %0, i64 0, i32 2 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i32 @dma_wait_for_completion(i32 noundef %11) #2 %13 = load i32, ptr %10, align 8, !tbaa !13 %14 = load i32, ptr @SM_INC, align 4, !tbaa !14 %15 = load i32, ptr @TS_32, align 4, !tbaa !14 %16 = load i32, ptr @TM_BUR, align 4, !tbaa !14 %17 = or i32 %14, %15 %18 = or i32 %17, %16 %19 = or i32 %18, 1024 %20 = tail call i32 @dma_configure_channel(i32 noundef %13, i32 noundef %19) #2 %21 = load i32, ptr %10, align 8, !tbaa !13 %22 = ptrtoint ptr %9 to i64 %23 = trunc i64 %22 to i32 %24 = getelementptr inbounds %struct.fsi_priv, ptr %0, i64 0, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !15 %26 = load i64, ptr @DODT, align 8, !tbaa !16 %27 = add nsw i64 %26, %25 %28 = trunc i64 %27 to i32 %29 = shl nsw i32 %2, 2 %30 = tail call i32 @dma_write(i32 noundef %21, i32 noundef %23, i32 noundef %28, i32 noundef %29) #2 ret void } declare i32 @dma_wait_for_completion(i32 noundef) local_unnamed_addr #1 declare i32 @dma_configure_channel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_write(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, !7, i64 0} !6 = !{!"snd_pcm_runtime", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"fsi_priv", !12, i64 0, !7, i64 8, !12, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!12, !12, i64 0} !15 = !{!11, !7, i64 8} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/sh/extr_fsi.c_fsi_32data_push.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/sh/extr_fsi.c_fsi_32data_push.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SM_INC = common local_unnamed_addr global i32 0, align 4 @TS_32 = common local_unnamed_addr global i32 0, align 4 @TM_BUR = common local_unnamed_addr global i32 0, align 4 @DODT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @fsi_32data_push], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fsi_32data_push(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = sdiv i32 %5, 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load i32, ptr %8, align 8, !tbaa !14 %10 = tail call i32 @dma_wait_for_completion(i32 noundef %9) #2 %11 = load i32, ptr %8, align 8, !tbaa !14 %12 = load i32, ptr @SM_INC, align 4, !tbaa !15 %13 = load i32, ptr @TS_32, align 4, !tbaa !15 %14 = load i32, ptr @TM_BUR, align 4, !tbaa !15 %15 = or i32 %12, %13 %16 = or i32 %15, %14 %17 = or i32 %16, 1024 %18 = tail call i32 @dma_configure_channel(i32 noundef %11, i32 noundef %17) #2 %19 = load i32, ptr %8, align 8, !tbaa !14 %20 = shl nsw i64 %7, 2 %21 = add i64 %20, %4 %22 = trunc i64 %21 to i32 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = load i64, ptr @DODT, align 8, !tbaa !17 %26 = add nsw i64 %25, %24 %27 = trunc i64 %26 to i32 %28 = shl nsw i32 %2, 2 %29 = tail call i32 @dma_write(i32 noundef %19, i32 noundef %22, i32 noundef %27, i32 noundef %28) #2 ret void } declare i32 @dma_wait_for_completion(i32 noundef) local_unnamed_addr #1 declare i32 @dma_configure_channel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_write(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, !8, i64 0} !7 = !{!"snd_pcm_runtime", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"fsi_priv", !13, i64 0, !8, i64 8, !13, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 16} !15 = !{!13, !13, i64 0} !16 = !{!12, !8, i64 8} !17 = !{!8, !8, i64 0}
fastsocket_kernel_sound_soc_sh_extr_fsi.c_fsi_32data_push
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_verbs.c_efa_alloc_hw_stats.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_verbs.c_efa_alloc_hw_stats.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @efa_stats_names = dso_local local_unnamed_addr global i32 0, align 4 @RDMA_HW_STATS_DEFAULT_LIFESPAN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @efa_alloc_hw_stats(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @efa_stats_names, align 4, !tbaa !5 %4 = tail call i32 @ARRAY_SIZE(i32 noundef %3) #2 %5 = load i32, ptr @RDMA_HW_STATS_DEFAULT_LIFESPAN, align 4, !tbaa !5 %6 = tail call ptr @rdma_alloc_hw_stats_struct(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 ret ptr %6 } declare ptr @rdma_alloc_hw_stats_struct(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_verbs.c_efa_alloc_hw_stats.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_verbs.c_efa_alloc_hw_stats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @efa_stats_names = common local_unnamed_addr global i32 0, align 4 @RDMA_HW_STATS_DEFAULT_LIFESPAN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @efa_alloc_hw_stats(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @efa_stats_names, align 4, !tbaa !6 %4 = tail call i32 @ARRAY_SIZE(i32 noundef %3) #2 %5 = load i32, ptr @RDMA_HW_STATS_DEFAULT_LIFESPAN, align 4, !tbaa !6 %6 = tail call ptr @rdma_alloc_hw_stats_struct(i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 ret ptr %6 } declare ptr @rdma_alloc_hw_stats_struct(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_infiniband_hw_efa_extr_efa_verbs.c_efa_alloc_hw_stats
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dmm32at.c_dmm32at_ai_cancel.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dmm32at.c_dmm32at_ai_cancel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DMM32AT_INTCLK_REG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dmm32at_ai_cancel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dmm32at_ai_cancel(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @DMM32AT_INTCLK_REG, align 8, !tbaa !10 %5 = add nsw i64 %4, %3 %6 = tail call i32 @outb(i32 noundef 0, i64 noundef %5) #2 ret i32 0 } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"comedi_device", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dmm32at.c_dmm32at_ai_cancel.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dmm32at.c_dmm32at_ai_cancel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMM32AT_INTCLK_REG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dmm32at_ai_cancel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dmm32at_ai_cancel(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @DMM32AT_INTCLK_REG, align 8, !tbaa !11 %5 = add nsw i64 %4, %3 %6 = tail call i32 @outb(i32 noundef 0, i64 noundef %5) #2 ret i32 0 } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"comedi_device", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_staging_comedi_drivers_extr_dmm32at.c_dmm32at_ai_cancel
; ModuleID = 'AnghaBench/vlc/lib/extr_media_player.c_libvlc_video_set_format_callbacks.c' source_filename = "AnghaBench/vlc/lib/extr_media_player.c_libvlc_video_set_format_callbacks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"vmem-setup\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"vmem-cleanup\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @libvlc_video_set_format_callbacks(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @var_SetAddress(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2 %5 = tail call i32 @var_SetAddress(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2 ret void } declare i32 @var_SetAddress(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/vlc/lib/extr_media_player.c_libvlc_video_set_format_callbacks.c' source_filename = "AnghaBench/vlc/lib/extr_media_player.c_libvlc_video_set_format_callbacks.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [11 x i8] c"vmem-setup\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"vmem-cleanup\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @libvlc_video_set_format_callbacks(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @var_SetAddress(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2 %5 = tail call i32 @var_SetAddress(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2 ret void } declare i32 @var_SetAddress(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)"}
vlc_lib_extr_media_player.c_libvlc_video_set_format_callbacks
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_alloc_bcast_station.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_alloc_bcast_station.c" target datalayout = "e-m:e-p270:32:32-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.il_priv = type { i32, ptr } %struct.TYPE_2__ = type { ptr, i32 } @il_bcast_addr = dso_local local_unnamed_addr global i32 0, align 4 @IL_INVALID_STATION = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [37 x i8] c"Unable to prepare broadcast station\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @IL_STA_DRIVER_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @IL_STA_BCAST = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"Unable to initialize rate scaling for bcast station.\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @il4965_alloc_bcast_station(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = load i32, ptr @il_bcast_addr, align 4, !tbaa !5 %4 = tail call i64 @il_prep_station(ptr noundef %0, i32 noundef %3, i32 noundef 0, ptr noundef null) #2 %5 = load i64, ptr @IL_INVALID_STATION, align 8, !tbaa !9 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = tail call i32 @IL_ERR(ptr noundef nonnull @.str) #2 %9 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %33 12: ; preds = %1 %13 = load i32, ptr @IL_STA_DRIVER_ACTIVE, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !11 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %4, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = or i32 %17, %13 store i32 %18, ptr %16, align 8, !tbaa !14 %19 = load i32, ptr @IL_STA_BCAST, align 4, !tbaa !5 %20 = or i32 %19, %18 store i32 %20, ptr %16, align 8, !tbaa !14 %21 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %22 = tail call ptr @il4965_sta_alloc_lq(ptr noundef %0, i64 noundef %4) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %12 %25 = tail call i32 @IL_ERR(ptr noundef nonnull @.str.1) #2 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %27 = sub nsw i32 0, %26 br label %33 28: ; preds = %12 %29 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2 %30 = load ptr, ptr %14, align 8, !tbaa !11 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %4 store ptr %22, ptr %31, align 8, !tbaa !16 %32 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2 br label %33 33: ; preds = %28, %24, %7 %34 = phi i32 [ %11, %7 ], [ 0, %28 ], [ %27, %24 ] ret i32 %34 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @il_prep_station(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IL_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @il4965_sta_alloc_lq(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"il_priv", !6, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !6, i64 8} !15 = !{!"TYPE_2__", !13, i64 0, !6, i64 8} !16 = !{!15, !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_alloc_bcast_station.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_alloc_bcast_station.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, i32 } @il_bcast_addr = common local_unnamed_addr global i32 0, align 4 @IL_INVALID_STATION = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [37 x i8] c"Unable to prepare broadcast station\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @IL_STA_DRIVER_ACTIVE = common local_unnamed_addr global i32 0, align 4 @IL_STA_BCAST = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"Unable to initialize rate scaling for bcast station.\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @il4965_alloc_bcast_station(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = load i32, ptr @il_bcast_addr, align 4, !tbaa !6 %4 = tail call i64 @il_prep_station(ptr noundef %0, i32 noundef %3, i32 noundef 0, ptr noundef null) #2 %5 = load i64, ptr @IL_INVALID_STATION, align 8, !tbaa !10 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = tail call i32 @IL_ERR(ptr noundef nonnull @.str) #2 %9 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %33 12: ; preds = %1 %13 = load i32, ptr @IL_STA_DRIVER_ACTIVE, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %4, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = or i32 %17, %13 store i32 %18, ptr %16, align 8, !tbaa !15 %19 = load i32, ptr @IL_STA_BCAST, align 4, !tbaa !6 %20 = or i32 %19, %18 store i32 %20, ptr %16, align 8, !tbaa !15 %21 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %22 = tail call ptr @il4965_sta_alloc_lq(ptr noundef %0, i64 noundef %4) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %12 %25 = tail call i32 @IL_ERR(ptr noundef nonnull @.str.1) #2 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %27 = sub nsw i32 0, %26 br label %33 28: ; preds = %12 %29 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2 %30 = load ptr, ptr %14, align 8, !tbaa !12 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %4 store ptr %22, ptr %31, align 8, !tbaa !17 %32 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2 br label %33 33: ; preds = %28, %24, %7 %34 = phi i32 [ %11, %7 ], [ 0, %28 ], [ %27, %24 ] ret i32 %34 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @il_prep_station(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IL_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @il4965_sta_alloc_lq(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"il_priv", !7, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 8} !16 = !{!"TYPE_2__", !14, i64 0, !7, i64 8} !17 = !{!16, !14, i64 0}
fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_4965-mac.c_il4965_alloc_bcast_station
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/class/extr_usbtmc.c_show_TermChar.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/class/extr_usbtmc.c_show_TermChar.c" target datalayout = "e-m:e-p270:32:32-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"%c\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @show_TermChar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_TermChar(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_usb_interface(ptr noundef %0) #2 %5 = tail call ptr @usb_get_intfdata(ptr noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_usb_interface(ptr noundef) local_unnamed_addr #1 declare ptr @usb_get_intfdata(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 = !{!"usbtmc_device_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/class/extr_usbtmc.c_show_TermChar.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/class/extr_usbtmc.c_show_TermChar.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"%c\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @show_TermChar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_TermChar(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_usb_interface(ptr noundef %0) #2 %5 = tail call ptr @usb_get_intfdata(ptr noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_usb_interface(ptr noundef) local_unnamed_addr #1 declare ptr @usb_get_intfdata(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 = !{!"usbtmc_device_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_usb_class_extr_usbtmc.c_show_TermChar
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_move_extents.c_ocfs2_probe_alloc_group.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_move_extents.c_ocfs2_probe_alloc_group.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ocfs2_group_desc = type { i64, i32, i32 } @.str = private unnamed_addr constant [47 x i8] c"found phys_cpos: %u to fit the wanted moving.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_probe_alloc_group], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ocfs2_probe_alloc_group(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5) #0 { %7 = load i32, ptr %2, align 4, !tbaa !5 %8 = load i64, ptr %1, align 8, !tbaa !9 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr %0, align 4, !tbaa !12 %11 = getelementptr inbounds %struct.ocfs2_group_desc, ptr %9, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = tail call i32 @le64_to_cpu(i32 noundef %12) #2 %14 = tail call i32 @ocfs2_blocks_to_clusters(i32 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.ocfs2_group_desc, ptr %9, i64 0, i32 1 %16 = load i32, ptr %15, align 8, !tbaa !16 %17 = tail call i32 @le16_to_cpu(i32 noundef %16) #2 %18 = icmp slt i32 %7, %17 br i1 %18, label %19, label %42 19: ; preds = %6, %34 %20 = phi i32 [ %36, %34 ], [ %7, %6 ] %21 = phi i32 [ %35, %34 ], [ 0, %6 ] %22 = load i64, ptr %9, align 8, !tbaa !17 %23 = inttoptr i64 %22 to ptr %24 = tail call i32 @ocfs2_test_bit(i32 noundef %20, ptr noundef %23) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %19 %27 = sub nsw i32 %20, %7 %28 = icmp sgt i32 %27, %4 br i1 %28, label %40, label %34 29: ; preds = %19 %30 = add nsw i32 %21, 1 %31 = icmp eq i32 %30, %3 br i1 %31, label %32, label %34 32: ; preds = %29 store i32 %20, ptr %2, align 4, !tbaa !5 %33 = add nsw i32 %20, %14 br label %40 34: ; preds = %26, %29 %35 = phi i32 [ %30, %29 ], [ 0, %26 ] %36 = add nsw i32 %20, 1 %37 = load i32, ptr %15, align 8, !tbaa !16 %38 = tail call i32 @le16_to_cpu(i32 noundef %37) #2 %39 = icmp slt i32 %36, %38 br i1 %39, label %19, label %42, !llvm.loop !18 40: ; preds = %26, %32 %41 = phi i32 [ %33, %32 ], [ 0, %26 ] store i32 %41, ptr %5, align 4, !tbaa !5 br label %42 42: ; preds = %34, %40, %6 %43 = load i32, ptr %5, align 4, !tbaa !5 %44 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %43) #2 ret void } declare i32 @ocfs2_blocks_to_clusters(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"buffer_head", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"inode", !6, i64 0} !14 = !{!15, !6, i64 12} !15 = !{!"ocfs2_group_desc", !11, i64 0, !6, i64 8, !6, i64 12} !16 = !{!15, !6, i64 8} !17 = !{!15, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_move_extents.c_ocfs2_probe_alloc_group.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_move_extents.c_ocfs2_probe_alloc_group.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 [47 x i8] c"found phys_cpos: %u to fit the wanted moving.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ocfs2_probe_alloc_group], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ocfs2_probe_alloc_group(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5) #0 { %7 = load i32, ptr %2, align 4, !tbaa !6 %8 = load i64, ptr %1, align 8, !tbaa !10 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr %0, align 4, !tbaa !13 %11 = getelementptr inbounds i8, ptr %9, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = tail call i32 @le64_to_cpu(i32 noundef %12) #2 %14 = tail call i32 @ocfs2_blocks_to_clusters(i32 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %9, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !17 %17 = tail call i32 @le16_to_cpu(i32 noundef %16) #2 %18 = icmp slt i32 %7, %17 br i1 %18, label %19, label %42 19: ; preds = %6, %34 %20 = phi i32 [ %36, %34 ], [ %7, %6 ] %21 = phi i32 [ %35, %34 ], [ 0, %6 ] %22 = load i64, ptr %9, align 8, !tbaa !18 %23 = inttoptr i64 %22 to ptr %24 = tail call i32 @ocfs2_test_bit(i32 noundef %20, ptr noundef %23) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %19 %27 = sub nsw i32 %20, %7 %28 = icmp sgt i32 %27, %4 br i1 %28, label %40, label %34 29: ; preds = %19 %30 = add nsw i32 %21, 1 %31 = icmp eq i32 %30, %3 br i1 %31, label %32, label %34 32: ; preds = %29 store i32 %20, ptr %2, align 4, !tbaa !6 %33 = add nsw i32 %20, %14 br label %40 34: ; preds = %26, %29 %35 = phi i32 [ %30, %29 ], [ 0, %26 ] %36 = add nsw i32 %20, 1 %37 = load i32, ptr %15, align 8, !tbaa !17 %38 = tail call i32 @le16_to_cpu(i32 noundef %37) #2 %39 = icmp slt i32 %36, %38 br i1 %39, label %19, label %42, !llvm.loop !19 40: ; preds = %26, %32 %41 = phi i32 [ %33, %32 ], [ 0, %26 ] store i32 %41, ptr %5, align 4, !tbaa !6 br label %42 42: ; preds = %34, %40, %6 %43 = load i32, ptr %5, align 4, !tbaa !6 %44 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %43) #2 ret void } declare i32 @ocfs2_blocks_to_clusters(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"buffer_head", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"inode", !7, i64 0} !15 = !{!16, !7, i64 12} !16 = !{!"ocfs2_group_desc", !12, i64 0, !7, i64 8, !7, i64 12} !17 = !{!16, !7, i64 8} !18 = !{!16, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_fs_ocfs2_extr_move_extents.c_ocfs2_probe_alloc_group
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_Destroy.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @HEADER_Destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @HEADER_Destroy(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @GetWindowTheme(i32 noundef %2) #2 %4 = tail call i32 @CloseThemeData(i32 noundef %3) #2 ret i32 0 } declare i32 @GetWindowTheme(i32 noundef) local_unnamed_addr #1 declare i32 @CloseThemeData(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_Destroy.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_Destroy.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 @HEADER_Destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @HEADER_Destroy(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @GetWindowTheme(i32 noundef %2) #2 %4 = tail call i32 @CloseThemeData(i32 noundef %3) #2 ret i32 0 } declare i32 @GetWindowTheme(i32 noundef) local_unnamed_addr #1 declare i32 @CloseThemeData(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_dll_win32_comctl32_extr_header.c_HEADER_Destroy
; ModuleID = 'AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_ExtractFileExtension.c' source_filename = "AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_ExtractFileExtension.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" ; Function Attrs: nounwind uwtable define dso_local void @ExtractFileExtension(i8* noundef %0, i8* noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @strlen(i8* noundef %0) #2 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds i8, i8* %0, i64 %4 br label %6 6: ; preds = %10, %2 %7 = phi i8* [ %5, %2 ], [ %8, %10 ] %8 = getelementptr inbounds i8, i8* %7, i64 -1 %9 = icmp eq i8* %8, %0 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, i8* %7, i64 -2 %12 = load i8, i8* %11, align 1, !tbaa !5 %13 = icmp eq i8 %12, 46 br i1 %13, label %15, label %6, !llvm.loop !8 14: ; preds = %6 store i8 0, i8* %1, align 1, !tbaa !5 br label %17 15: ; preds = %10 %16 = tail call i32 @strcpy(i8* noundef %1, i8* noundef nonnull %8) #2 br label %17 17: ; preds = %15, %14 ret void } declare i32 @strlen(i8* noundef) local_unnamed_addr #1 declare i32 @strcpy(i8* noundef, i8* noundef) local_unnamed_addr #1 attributes #0 = { 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" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_ExtractFileExtension.c' source_filename = "AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_ExtractFileExtension.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 @ExtractFileExtension(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @strlen(ptr noundef %0) #2 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds i8, ptr %0, i64 %4 %6 = getelementptr inbounds i8, ptr %5, i64 -1 br label %7 7: ; preds = %10, %2 %8 = phi ptr [ %6, %2 ], [ %11, %10 ] %9 = icmp eq ptr %8, %0 br i1 %9, label %14, label %10 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %8, i64 -1 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = icmp eq i8 %12, 46 br i1 %13, label %15, label %7, !llvm.loop !9 14: ; preds = %7 store i8 0, ptr %1, align 1, !tbaa !6 br label %17 15: ; preds = %10 %16 = tail call i32 @strcpy(ptr noundef %1, ptr noundef nonnull %8) #2 br label %17 17: ; preds = %15, %14 ret void } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
lab_engine_code_tools_asm_extr_cmdlib.c_ExtractFileExtension
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_inode.c_ext4_da_release_space.c' source_filename = "AnghaBench/linux/fs/ext4/extr_inode.c_ext4_da_release_space.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.ext4_inode_info = type { i32, i32 } @.str = private unnamed_addr constant [77 x i8] c"ext4_da_release_space: ino %lu, to_free %d with only %d reserved data blocks\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ext4_da_release_space(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call ptr @EXT4_SB(i32 noundef %4) #2 %6 = tail call ptr @EXT4_I(ptr noundef %0) #2 %7 = icmp eq i32 %1, 0 br i1 %7, label %35, label %8 8: ; preds = %2 %9 = tail call ptr @EXT4_I(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds %struct.ext4_inode_info, ptr %9, i64 0, i32 1 %11 = tail call i32 @spin_lock(ptr noundef nonnull %10) #2 %12 = tail call i32 @trace_ext4_da_release_space(ptr noundef nonnull %0, i32 noundef %1) #2 %13 = load i32, ptr %6, align 4, !tbaa !10 %14 = icmp slt i32 %13, %1 %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 %18 = load i32, ptr %6, align 4, !tbaa !10 br i1 %17, label %25, label %19 19: ; preds = %8 %20 = load i32, ptr %3, align 4, !tbaa !5 %21 = load i32, ptr %0, align 4, !tbaa !12 %22 = tail call i32 @ext4_warning(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %21, i32 noundef %1, i32 noundef %18) #2 %23 = tail call i32 @WARN_ON(i32 noundef 1) #2 %24 = load i32, ptr %6, align 4, !tbaa !10 br label %25 25: ; preds = %19, %8 %26 = phi i32 [ %24, %19 ], [ %18, %8 ] %27 = phi i32 [ %24, %19 ], [ %1, %8 ] %28 = sub nsw i32 %26, %27 store i32 %28, ptr %6, align 4, !tbaa !10 %29 = tail call i32 @percpu_counter_sub(ptr noundef %5, i32 noundef %27) #2 %30 = tail call ptr @EXT4_I(ptr noundef nonnull %0) #2 %31 = getelementptr inbounds %struct.ext4_inode_info, ptr %30, i64 0, i32 1 %32 = tail call i32 @spin_unlock(ptr noundef nonnull %31) #2 %33 = tail call i32 @EXT4_C2B(ptr noundef %5, i32 noundef %27) #2 %34 = tail call i32 @dquot_release_reservation_block(ptr noundef nonnull %0, i32 noundef %33) #2 br label %35 35: ; preds = %2, %25 ret void } declare ptr @EXT4_SB(i32 noundef) local_unnamed_addr #1 declare ptr @EXT4_I(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @trace_ext4_da_release_space(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ext4_warning(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @percpu_counter_sub(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dquot_release_reservation_block(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EXT4_C2B(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 = !{!"inode", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ext4_inode_info", !7, i64 0, !7, i64 4} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_inode.c_ext4_da_release_space.c' source_filename = "AnghaBench/linux/fs/ext4/extr_inode.c_ext4_da_release_space.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 [77 x i8] c"ext4_da_release_space: ino %lu, to_free %d with only %d reserved data blocks\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ext4_da_release_space(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call ptr @EXT4_SB(i32 noundef %4) #2 %6 = tail call ptr @EXT4_I(ptr noundef %0) #2 %7 = icmp eq i32 %1, 0 br i1 %7, label %35, label %8 8: ; preds = %2 %9 = tail call ptr @EXT4_I(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds i8, ptr %9, i64 4 %11 = tail call i32 @spin_lock(ptr noundef nonnull %10) #2 %12 = tail call i32 @trace_ext4_da_release_space(ptr noundef nonnull %0, i32 noundef %1) #2 %13 = load i32, ptr %6, align 4, !tbaa !11 %14 = icmp slt i32 %13, %1 %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 %18 = load i32, ptr %6, align 4, !tbaa !11 br i1 %17, label %25, label %19 19: ; preds = %8 %20 = load i32, ptr %3, align 4, !tbaa !6 %21 = load i32, ptr %0, align 4, !tbaa !13 %22 = tail call i32 @ext4_warning(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %21, i32 noundef %1, i32 noundef %18) #2 %23 = tail call i32 @WARN_ON(i32 noundef 1) #2 %24 = load i32, ptr %6, align 4, !tbaa !11 br label %25 25: ; preds = %19, %8 %26 = phi i32 [ %24, %19 ], [ %18, %8 ] %27 = phi i32 [ %24, %19 ], [ %1, %8 ] %28 = sub nsw i32 %26, %27 store i32 %28, ptr %6, align 4, !tbaa !11 %29 = tail call i32 @percpu_counter_sub(ptr noundef %5, i32 noundef %27) #2 %30 = tail call ptr @EXT4_I(ptr noundef nonnull %0) #2 %31 = getelementptr inbounds i8, ptr %30, i64 4 %32 = tail call i32 @spin_unlock(ptr noundef nonnull %31) #2 %33 = tail call i32 @EXT4_C2B(ptr noundef %5, i32 noundef %27) #2 %34 = tail call i32 @dquot_release_reservation_block(ptr noundef nonnull %0, i32 noundef %33) #2 br label %35 35: ; preds = %2, %25 ret void } declare ptr @EXT4_SB(i32 noundef) local_unnamed_addr #1 declare ptr @EXT4_I(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @trace_ext4_da_release_space(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ext4_warning(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @percpu_counter_sub(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dquot_release_reservation_block(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EXT4_C2B(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 = !{!"inode", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"ext4_inode_info", !8, i64 0, !8, i64 4} !13 = !{!7, !8, i64 0}
linux_fs_ext4_extr_inode.c_ext4_da_release_space
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_sli3_bsg_diag_loopback_mode.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_sli3_bsg_diag_loopback_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bsg_job = type { i32, ptr, ptr } %struct.fc_bsg_reply = type { i32, i64 } %struct.diag_mode_set = type { i64, i32 } %struct.lpfc_hba = type { i64, i32, i32, i32 } %struct.TYPE_15__ = type { i64, ptr, i32, %struct.TYPE_14__ } %struct.TYPE_14__ = type { %struct.TYPE_13__ } %struct.TYPE_13__ = type { i32 } @MBX_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @KERN_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @LOG_LIBDFC = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"2738 Received DIAG MODE request size:%d below the minimum size:%d\0A\00", align 1 @EINVAL = 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 @MBX_DOWN_LINK = dso_local local_unnamed_addr global i32 0, align 4 @OWN_HOST = dso_local local_unnamed_addr global ptr null, align 8 @LPFC_MBOX_TMO = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_LINK_DOWN = dso_local local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @INTERNAL_LOOP_BACK = dso_local local_unnamed_addr global i64 0, align 8 @FLAGS_LOCAL_LB = dso_local local_unnamed_addr global i32 0, align 4 @FLAGS_TOPOLOGY_MODE_LOOP = dso_local local_unnamed_addr global i32 0, align 4 @MBX_INIT_LINK = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @LS_LOOPBACK_MODE = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_HBA_READY = dso_local local_unnamed_addr global i64 0, align 8 @MBX_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_sli3_bsg_diag_loopback_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpfc_sli3_bsg_diag_loopback_mode(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.bsg_job, ptr %1, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.bsg_job, ptr %1, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !12 %8 = getelementptr inbounds %struct.fc_bsg_reply, ptr %6, i64 0, i32 1 store i64 0, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr %1, align 8, !tbaa !16 %10 = icmp ult i32 %9, 24 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @KERN_WARNING, align 4, !tbaa !12 %13 = load i32, ptr @LOG_LIBDFC, align 4, !tbaa !12 %14 = tail call i32 @lpfc_printf_log(ptr noundef %0, i32 noundef %12, i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef 24) #3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !12 %16 = sub nsw i32 0, %15 br label %128 17: ; preds = %2 %18 = tail call i32 @lpfc_bsg_diag_mode_enter(ptr noundef %0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %17 store i32 %18, ptr %6, align 8, !tbaa !17 br label %134 21: ; preds = %17 %22 = load i64, ptr %4, align 8, !tbaa !18 %23 = inttoptr i64 %22 to ptr %24 = load i64, ptr %23, align 8, !tbaa !22 %25 = getelementptr inbounds %struct.diag_mode_set, ptr %23, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !24 %27 = mul i32 %26, 100 %28 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !25 %30 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %31 = tail call ptr @mempool_alloc(i32 noundef %29, i32 noundef %30) #3 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %21 %34 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %35 = sub nsw i32 0, %34 br label %118 36: ; preds = %21 %37 = tail call i32 @memset(ptr noundef nonnull %31, i32 noundef 0, i32 noundef 24) #3 %38 = load i32, ptr @MBX_DOWN_LINK, align 4, !tbaa !12 %39 = getelementptr inbounds %struct.TYPE_15__, ptr %31, i64 0, i32 2 store i32 %38, ptr %39, align 8, !tbaa !27 %40 = load ptr, ptr @OWN_HOST, align 8, !tbaa !33 %41 = getelementptr inbounds %struct.TYPE_15__, ptr %31, i64 0, i32 1 store ptr %40, ptr %41, align 8, !tbaa !34 %42 = load i32, ptr @LPFC_MBOX_TMO, align 4, !tbaa !12 %43 = tail call i32 @lpfc_sli_issue_mbox_wait(ptr noundef nonnull %0, ptr noundef nonnull %31, i32 noundef %42) #3 %44 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !12 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %115 46: ; preds = %36 %47 = load i64, ptr %31, align 8, !tbaa !35 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %115 49: ; preds = %46 %50 = load i64, ptr %0, align 8, !tbaa !36 %51 = load i64, ptr @LPFC_LINK_DOWN, align 8, !tbaa !37 %52 = icmp eq i64 %50, %51 br i1 %52, label %68, label %53 53: ; preds = %49 %54 = or disjoint i32 %27, 1 %55 = tail call i32 @llvm.smax.i32(i32 %54, i32 0) br label %56 56: ; preds = %53, %62 %57 = phi i32 [ %63, %62 ], [ 0, %53 ] %58 = icmp eq i32 %57, %55 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !12 %61 = sub nsw i32 0, %60 br label %118 62: ; preds = %56 %63 = add nuw nsw i32 %57, 1 %64 = tail call i32 @msleep(i32 noundef 10) #3 %65 = load i64, ptr %0, align 8, !tbaa !36 %66 = load i64, ptr @LPFC_LINK_DOWN, align 8, !tbaa !37 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %56, !llvm.loop !38 68: ; preds = %62, %49 %69 = tail call i32 @memset(ptr noundef nonnull %31, i32 noundef 0, i32 noundef 24) #3 %70 = load i64, ptr @INTERNAL_LOOP_BACK, align 8, !tbaa !37 %71 = icmp eq i64 %24, %70 %72 = load i32, ptr @FLAGS_LOCAL_LB, align 4 %73 = load i32, ptr @FLAGS_TOPOLOGY_MODE_LOOP, align 4 %74 = select i1 %71, i32 %72, i32 %73 %75 = getelementptr inbounds %struct.TYPE_15__, ptr %31, i64 0, i32 3 store i32 %74, ptr %75, align 4 %76 = load i32, ptr @MBX_INIT_LINK, align 4, !tbaa !12 store i32 %76, ptr %39, align 8, !tbaa !27 %77 = load ptr, ptr @OWN_HOST, align 8, !tbaa !33 store ptr %77, ptr %41, align 8, !tbaa !34 %78 = load i32, ptr @LPFC_MBOX_TMO, align 4, !tbaa !12 %79 = tail call i32 @lpfc_sli_issue_mbox_wait(ptr noundef nonnull %0, ptr noundef nonnull %31, i32 noundef %78) #3 %80 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !12 %81 = icmp eq i32 %79, %80 br i1 %81, label %82, label %85 82: ; preds = %68 %83 = load i64, ptr %31, align 8, !tbaa !35 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %82, %68 %86 = load i32, ptr @ENODEV, align 4, !tbaa !12 %87 = sub nsw i32 0, %86 br label %118 88: ; preds = %82 %89 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2 %90 = tail call i32 @spin_lock_irq(ptr noundef nonnull %89) #3 %91 = load i32, ptr @LS_LOOPBACK_MODE, align 4, !tbaa !12 %92 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 3 %93 = load i32, ptr %92, align 8, !tbaa !40 %94 = or i32 %93, %91 store i32 %94, ptr %92, align 8, !tbaa !40 %95 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %89) #3 %96 = tail call i32 @msleep(i32 noundef 100) #3 %97 = load i64, ptr %0, align 8, !tbaa !36 %98 = load i64, ptr @LPFC_HBA_READY, align 8, !tbaa !37 %99 = icmp eq i64 %97, %98 br i1 %99, label %118, label %100 100: ; preds = %88 %101 = or disjoint i32 %27, 1 %102 = tail call i32 @llvm.smax.i32(i32 %101, i32 0) br label %103 103: ; preds = %100, %109 %104 = phi i32 [ %110, %109 ], [ 0, %100 ] %105 = icmp eq i32 %104, %102 br i1 %105, label %106, label %109 106: ; preds = %103 %107 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !12 %108 = sub nsw i32 0, %107 br label %118 109: ; preds = %103 %110 = add nuw nsw i32 %104, 1 %111 = tail call i32 @msleep(i32 noundef 10) #3 %112 = load i64, ptr %0, align 8, !tbaa !36 %113 = load i64, ptr @LPFC_HBA_READY, align 8, !tbaa !37 %114 = icmp eq i64 %112, %113 br i1 %114, label %118, label %103, !llvm.loop !41 115: ; preds = %46, %36 %116 = load i32, ptr @ENODEV, align 4, !tbaa !12 %117 = sub nsw i32 0, %116 br label %118 118: ; preds = %109, %88, %115, %106, %85, %59, %33 %119 = phi i32 [ %43, %59 ], [ %79, %85 ], [ %79, %106 ], [ %43, %115 ], [ %7, %33 ], [ %79, %88 ], [ %79, %109 ] %120 = phi i32 [ %61, %59 ], [ %87, %85 ], [ %108, %106 ], [ %117, %115 ], [ %35, %33 ], [ 0, %88 ], [ 0, %109 ] %121 = tail call i32 @lpfc_bsg_diag_mode_exit(ptr noundef %0) #3 %122 = load i32, ptr @MBX_TIMEOUT, align 4 %123 = icmp eq i32 %119, %122 %124 = select i1 %32, i1 true, i1 %123 br i1 %124, label %128, label %125 125: ; preds = %118 %126 = load i32, ptr %28, align 8, !tbaa !25 %127 = tail call i32 @mempool_free(ptr noundef nonnull %31, i32 noundef %126) #3 br label %128 128: ; preds = %118, %125, %11 %129 = phi i32 [ %16, %11 ], [ %120, %125 ], [ %120, %118 ] store i32 %129, ptr %6, align 8, !tbaa !17 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %134 131: ; preds = %128 %132 = load i64, ptr %8, align 8, !tbaa !13 %133 = tail call i32 @bsg_job_done(ptr noundef nonnull %1, i32 noundef 0, i64 noundef %132) #3 br label %134 134: ; preds = %20, %131, %128 %135 = phi i32 [ %18, %20 ], [ 0, %131 ], [ %129, %128 ] ret i32 %135 } declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_bsg_diag_mode_enter(ptr noundef) local_unnamed_addr #1 declare ptr @mempool_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_sli_issue_mbox_wait(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_bsg_diag_mode_exit(ptr noundef) local_unnamed_addr #1 declare i32 @mempool_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bsg_job_done(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"bsg_job", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"fc_bsg_reply", !7, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!14, !7, i64 0} !18 = !{!19, !15, i64 0} !19 = !{!"fc_bsg_request", !20, i64 0} !20 = !{!"TYPE_12__", !21, i64 0} !21 = !{!"TYPE_11__", !15, i64 0} !22 = !{!23, !15, i64 0} !23 = !{!"diag_mode_set", !15, i64 0, !7, i64 8} !24 = !{!23, !7, i64 8} !25 = !{!26, !7, i64 8} !26 = !{!"lpfc_hba", !15, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !27 = !{!28, !7, i64 16} !28 = !{!"TYPE_17__", !29, i64 0} !29 = !{!"TYPE_16__", !30, i64 0} !30 = !{!"TYPE_15__", !15, i64 0, !10, i64 8, !7, i64 16, !31, i64 20} !31 = !{!"TYPE_14__", !32, i64 0} !32 = !{!"TYPE_13__", !7, i64 0} !33 = !{!10, !10, i64 0} !34 = !{!28, !10, i64 8} !35 = !{!28, !15, i64 0} !36 = !{!26, !15, i64 0} !37 = !{!15, !15, i64 0} !38 = distinct !{!38, !39} !39 = !{!"llvm.loop.mustprogress"} !40 = !{!26, !7, i64 16} !41 = distinct !{!41, !39}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_sli3_bsg_diag_loopback_mode.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_sli3_bsg_diag_loopback_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MBX_SUCCESS = common local_unnamed_addr global i32 0, align 4 @KERN_WARNING = common local_unnamed_addr global i32 0, align 4 @LOG_LIBDFC = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"2738 Received DIAG MODE request size:%d below the minimum size:%d\0A\00", align 1 @EINVAL = 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 @MBX_DOWN_LINK = common local_unnamed_addr global i32 0, align 4 @OWN_HOST = common local_unnamed_addr global ptr null, align 8 @LPFC_MBOX_TMO = common local_unnamed_addr global i32 0, align 4 @LPFC_LINK_DOWN = common local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @INTERNAL_LOOP_BACK = common local_unnamed_addr global i64 0, align 8 @FLAGS_LOCAL_LB = common local_unnamed_addr global i32 0, align 4 @FLAGS_TOPOLOGY_MODE_LOOP = common local_unnamed_addr global i32 0, align 4 @MBX_INIT_LINK = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @LS_LOOPBACK_MODE = common local_unnamed_addr global i32 0, align 4 @LPFC_HBA_READY = common local_unnamed_addr global i64 0, align 8 @MBX_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpfc_sli3_bsg_diag_loopback_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lpfc_sli3_bsg_diag_loopback_mode(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %6, i64 8 store i64 0, ptr %8, align 8, !tbaa !14 %9 = load i32, ptr %1, align 8, !tbaa !17 %10 = icmp ult i32 %9, 24 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @KERN_WARNING, align 4, !tbaa !13 %13 = load i32, ptr @LOG_LIBDFC, align 4, !tbaa !13 %14 = tail call i32 @lpfc_printf_log(ptr noundef %0, i32 noundef %12, i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef 24) #3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !13 %16 = sub nsw i32 0, %15 br label %128 17: ; preds = %2 %18 = tail call i32 @lpfc_bsg_diag_mode_enter(ptr noundef %0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %17 store i32 %18, ptr %6, align 8, !tbaa !18 br label %134 21: ; preds = %17 %22 = load i64, ptr %4, align 8, !tbaa !19 %23 = inttoptr i64 %22 to ptr %24 = load i64, ptr %23, align 8, !tbaa !23 %25 = getelementptr inbounds i8, ptr %23, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !25 %27 = mul i32 %26, 100 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !26 %30 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %31 = tail call ptr @mempool_alloc(i32 noundef %29, i32 noundef %30) #3 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %21 %34 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %35 = sub nsw i32 0, %34 br label %118 36: ; preds = %21 %37 = tail call i32 @memset(ptr noundef nonnull %31, i32 noundef 0, i32 noundef 24) #3 %38 = load i32, ptr @MBX_DOWN_LINK, align 4, !tbaa !13 %39 = getelementptr inbounds i8, ptr %31, i64 16 store i32 %38, ptr %39, align 8, !tbaa !28 %40 = load ptr, ptr @OWN_HOST, align 8, !tbaa !34 %41 = getelementptr inbounds i8, ptr %31, i64 8 store ptr %40, ptr %41, align 8, !tbaa !35 %42 = load i32, ptr @LPFC_MBOX_TMO, align 4, !tbaa !13 %43 = tail call i32 @lpfc_sli_issue_mbox_wait(ptr noundef nonnull %0, ptr noundef nonnull %31, i32 noundef %42) #3 %44 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !13 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %115 46: ; preds = %36 %47 = load i64, ptr %31, align 8, !tbaa !36 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %115 49: ; preds = %46 %50 = load i64, ptr %0, align 8, !tbaa !37 %51 = load i64, ptr @LPFC_LINK_DOWN, align 8, !tbaa !38 %52 = icmp eq i64 %50, %51 br i1 %52, label %68, label %53 53: ; preds = %49 %54 = or disjoint i32 %27, 1 %55 = tail call i32 @llvm.smax.i32(i32 %54, i32 0) br label %56 56: ; preds = %53, %62 %57 = phi i32 [ %63, %62 ], [ 0, %53 ] %58 = icmp eq i32 %57, %55 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13 %61 = sub nsw i32 0, %60 br label %118 62: ; preds = %56 %63 = add nuw nsw i32 %57, 1 %64 = tail call i32 @msleep(i32 noundef 10) #3 %65 = load i64, ptr %0, align 8, !tbaa !37 %66 = load i64, ptr @LPFC_LINK_DOWN, align 8, !tbaa !38 %67 = icmp eq i64 %65, %66 br i1 %67, label %68, label %56, !llvm.loop !39 68: ; preds = %62, %49 %69 = tail call i32 @memset(ptr noundef nonnull %31, i32 noundef 0, i32 noundef 24) #3 %70 = load i64, ptr @INTERNAL_LOOP_BACK, align 8, !tbaa !38 %71 = icmp eq i64 %24, %70 %72 = load i32, ptr @FLAGS_LOCAL_LB, align 4 %73 = load i32, ptr @FLAGS_TOPOLOGY_MODE_LOOP, align 4 %74 = select i1 %71, i32 %72, i32 %73 %75 = getelementptr inbounds i8, ptr %31, i64 20 store i32 %74, ptr %75, align 4 %76 = load i32, ptr @MBX_INIT_LINK, align 4, !tbaa !13 store i32 %76, ptr %39, align 8, !tbaa !28 %77 = load ptr, ptr @OWN_HOST, align 8, !tbaa !34 store ptr %77, ptr %41, align 8, !tbaa !35 %78 = load i32, ptr @LPFC_MBOX_TMO, align 4, !tbaa !13 %79 = tail call i32 @lpfc_sli_issue_mbox_wait(ptr noundef nonnull %0, ptr noundef nonnull %31, i32 noundef %78) #3 %80 = load i32, ptr @MBX_SUCCESS, align 4, !tbaa !13 %81 = icmp eq i32 %79, %80 br i1 %81, label %82, label %85 82: ; preds = %68 %83 = load i64, ptr %31, align 8, !tbaa !36 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %82, %68 %86 = load i32, ptr @ENODEV, align 4, !tbaa !13 %87 = sub nsw i32 0, %86 br label %118 88: ; preds = %82 %89 = getelementptr inbounds i8, ptr %0, i64 12 %90 = tail call i32 @spin_lock_irq(ptr noundef nonnull %89) #3 %91 = load i32, ptr @LS_LOOPBACK_MODE, align 4, !tbaa !13 %92 = getelementptr inbounds i8, ptr %0, i64 16 %93 = load i32, ptr %92, align 8, !tbaa !41 %94 = or i32 %93, %91 store i32 %94, ptr %92, align 8, !tbaa !41 %95 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %89) #3 %96 = tail call i32 @msleep(i32 noundef 100) #3 %97 = load i64, ptr %0, align 8, !tbaa !37 %98 = load i64, ptr @LPFC_HBA_READY, align 8, !tbaa !38 %99 = icmp eq i64 %97, %98 br i1 %99, label %118, label %100 100: ; preds = %88 %101 = or disjoint i32 %27, 1 %102 = tail call i32 @llvm.smax.i32(i32 %101, i32 0) br label %103 103: ; preds = %100, %109 %104 = phi i32 [ %110, %109 ], [ 0, %100 ] %105 = icmp eq i32 %104, %102 br i1 %105, label %106, label %109 106: ; preds = %103 %107 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13 %108 = sub nsw i32 0, %107 br label %118 109: ; preds = %103 %110 = add nuw nsw i32 %104, 1 %111 = tail call i32 @msleep(i32 noundef 10) #3 %112 = load i64, ptr %0, align 8, !tbaa !37 %113 = load i64, ptr @LPFC_HBA_READY, align 8, !tbaa !38 %114 = icmp eq i64 %112, %113 br i1 %114, label %118, label %103, !llvm.loop !42 115: ; preds = %46, %36 %116 = load i32, ptr @ENODEV, align 4, !tbaa !13 %117 = sub nsw i32 0, %116 br label %118 118: ; preds = %109, %88, %115, %106, %85, %59, %33 %119 = phi i32 [ %43, %59 ], [ %79, %85 ], [ %79, %106 ], [ %43, %115 ], [ %7, %33 ], [ %79, %88 ], [ %79, %109 ] %120 = phi i32 [ %61, %59 ], [ %87, %85 ], [ %108, %106 ], [ %117, %115 ], [ %35, %33 ], [ 0, %88 ], [ 0, %109 ] %121 = tail call i32 @lpfc_bsg_diag_mode_exit(ptr noundef %0) #3 %122 = load i32, ptr @MBX_TIMEOUT, align 4 %123 = icmp eq i32 %119, %122 %124 = select i1 %32, i1 true, i1 %123 br i1 %124, label %128, label %125 125: ; preds = %118 %126 = load i32, ptr %28, align 8, !tbaa !26 %127 = tail call i32 @mempool_free(ptr noundef nonnull %31, i32 noundef %126) #3 br label %128 128: ; preds = %118, %125, %11 %129 = phi i32 [ %16, %11 ], [ %120, %125 ], [ %120, %118 ] store i32 %129, ptr %6, align 8, !tbaa !18 %130 = icmp eq i32 %129, 0 br i1 %130, label %131, label %134 131: ; preds = %128 %132 = load i64, ptr %8, align 8, !tbaa !14 %133 = tail call i32 @bsg_job_done(ptr noundef nonnull %1, i32 noundef 0, i64 noundef %132) #3 br label %134 134: ; preds = %20, %131, %128 %135 = phi i32 [ %18, %20 ], [ 0, %131 ], [ %129, %128 ] ret i32 %135 } declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_bsg_diag_mode_enter(ptr noundef) local_unnamed_addr #1 declare ptr @mempool_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_sli_issue_mbox_wait(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_bsg_diag_mode_exit(ptr noundef) local_unnamed_addr #1 declare i32 @mempool_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bsg_job_done(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"bsg_job", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"fc_bsg_reply", !8, i64 0, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!15, !8, i64 0} !19 = !{!20, !16, i64 0} !20 = !{!"fc_bsg_request", !21, i64 0} !21 = !{!"TYPE_12__", !22, i64 0} !22 = !{!"TYPE_11__", !16, i64 0} !23 = !{!24, !16, i64 0} !24 = !{!"diag_mode_set", !16, i64 0, !8, i64 8} !25 = !{!24, !8, i64 8} !26 = !{!27, !8, i64 8} !27 = !{!"lpfc_hba", !16, i64 0, !8, i64 8, !8, i64 12, !8, i64 16} !28 = !{!29, !8, i64 16} !29 = !{!"TYPE_17__", !30, i64 0} !30 = !{!"TYPE_16__", !31, i64 0} !31 = !{!"TYPE_15__", !16, i64 0, !11, i64 8, !8, i64 16, !32, i64 20} !32 = !{!"TYPE_14__", !33, i64 0} !33 = !{!"TYPE_13__", !8, i64 0} !34 = !{!11, !11, i64 0} !35 = !{!29, !11, i64 8} !36 = !{!29, !16, i64 0} !37 = !{!27, !16, i64 0} !38 = !{!16, !16, i64 0} !39 = distinct !{!39, !40} !40 = !{!"llvm.loop.mustprogress"} !41 = !{!27, !8, i64 16} !42 = distinct !{!42, !40}
linux_drivers_scsi_lpfc_extr_lpfc_bsg.c_lpfc_sli3_bsg_diag_loopback_mode
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_host_init.c' source_filename = "AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_host_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.ata_host = type { i32, ptr, ptr, i32, i32, i32 } @ATA_MAX_QUEUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ata_host_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 5 %5 = tail call i32 @spin_lock_init(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 4 %7 = tail call i32 @mutex_init(ptr noundef nonnull %6) #2 %8 = load i32, ptr @ATA_MAX_QUEUE, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 3 store i32 %8, ptr %9, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 2 store ptr %1, ptr %10, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.ata_host, ptr %0, i64 0, i32 1 store ptr %2, ptr %11, align 8, !tbaa !13 %12 = tail call i32 @kref_init(ptr noundef %0) #2 ret void } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @kref_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)"} !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 = !{!"ata_host", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 28, !6, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_host_init.c' source_filename = "AnghaBench/linux/drivers/ata/extr_libata-core.c_ata_host_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATA_MAX_QUEUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ata_host_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 32 %5 = tail call i32 @spin_lock_init(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds i8, ptr %0, i64 28 %7 = tail call i32 @mutex_init(ptr noundef nonnull %6) #2 %8 = load i32, ptr @ATA_MAX_QUEUE, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %8, ptr %9, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %1, ptr %10, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %2, ptr %11, align 8, !tbaa !14 %12 = tail call i32 @kref_init(ptr noundef %0) #2 ret void } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @kref_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)"} !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 = !{!"ata_host", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !7, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !12, i64 8}
linux_drivers_ata_extr_libata-core.c_ata_host_init
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_create_bridge.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_create_bridge.c" target datalayout = "e-m:e-p270:32:32-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.analogix_dp_device = type { i32, ptr } %struct.drm_bridge = type { ptr, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"failed to allocate for drm bridge\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @analogix_dp_bridge_funcs = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"failed to attach drm bridge\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @analogix_dp_create_bridge], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @analogix_dp_create_bridge(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %5 = tail call ptr @devm_kzalloc(i32 noundef %3, i32 noundef 16, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.analogix_dp_device, ptr %1, i64 0, i32 1 store ptr %5, ptr %8, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.drm_bridge, ptr %5, i64 0, i32 1 store ptr %1, ptr %9, align 8, !tbaa !14 store ptr @analogix_dp_bridge_funcs, ptr %5, align 8, !tbaa !16 %10 = load i32, ptr %1, align 8, !tbaa !17 %11 = tail call i32 @drm_bridge_attach(i32 noundef %10, ptr noundef nonnull %5, ptr noundef null) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7, %2 %14 = phi ptr [ @.str, %2 ], [ @.str.1, %7 ] %15 = phi ptr [ @ENOMEM, %2 ], [ @EINVAL, %7 ] %16 = tail call i32 @DRM_ERROR(ptr noundef nonnull %14) #2 %17 = load i32, ptr %15, align 4, !tbaa !10 %18 = sub nsw i32 0, %17 br label %19 19: ; preds = %13, %7 %20 = phi i32 [ 0, %7 ], [ %18, %13 ] ret i32 %20 } declare ptr @devm_kzalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_bridge_attach(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drm_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"analogix_dp_device", !7, i64 0, !13, i64 8} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"drm_bridge", !13, i64 0, !13, i64 8} !16 = !{!15, !13, i64 0} !17 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_create_bridge.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/analogix/extr_analogix_dp_core.c_analogix_dp_create_bridge.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"failed to allocate for drm bridge\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @analogix_dp_bridge_funcs = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"failed to attach drm bridge\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @analogix_dp_create_bridge], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @analogix_dp_create_bridge(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %5 = tail call ptr @devm_kzalloc(i32 noundef %3, i32 noundef 16, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %5, ptr %8, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %1, ptr %9, align 8, !tbaa !15 store ptr @analogix_dp_bridge_funcs, ptr %5, align 8, !tbaa !17 %10 = load i32, ptr %1, align 8, !tbaa !18 %11 = tail call i32 @drm_bridge_attach(i32 noundef %10, ptr noundef nonnull %5, ptr noundef null) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7, %2 %14 = phi ptr [ @.str, %2 ], [ @.str.1, %7 ] %15 = phi ptr [ @ENOMEM, %2 ], [ @EINVAL, %7 ] %16 = tail call i32 @DRM_ERROR(ptr noundef nonnull %14) #2 %17 = load i32, ptr %15, align 4, !tbaa !11 %18 = sub nsw i32 0, %17 br label %19 19: ; preds = %13, %7 %20 = phi i32 [ 0, %7 ], [ %18, %13 ] ret i32 %20 } declare ptr @devm_kzalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_bridge_attach(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drm_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"analogix_dp_device", !8, i64 0, !14, i64 8} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !14, i64 8} !16 = !{!"drm_bridge", !14, i64 0, !14, i64 8} !17 = !{!16, !14, i64 0} !18 = !{!13, !8, i64 0}
linux_drivers_gpu_drm_bridge_analogix_extr_analogix_dp_core.c_analogix_dp_create_bridge
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1e/extr_atl1e_main.c_atl1e_io_slot_reset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1e/extr_atl1e_main.c_atl1e_io_slot_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.atl1e_adapter = type { i32, i32 } @.str = private unnamed_addr constant [41 x i8] c"Cannot re-enable PCI device after reset\0A\00", align 1 @PCI_ERS_RESULT_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4 @PCI_D3hot = dso_local local_unnamed_addr global i32 0, align 4 @PCI_D3cold = dso_local local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_RECOVERED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atl1e_io_slot_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atl1e_io_slot_reset(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = tail call i64 @pci_enable_device(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.atl1e_adapter, ptr %3, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call i32 @netdev_err(i32 noundef %8, ptr noundef nonnull @.str) #2 br label %17 10: ; preds = %1 %11 = tail call i32 @pci_set_master(ptr noundef %0) #2 %12 = load i32, ptr @PCI_D3hot, align 4, !tbaa !10 %13 = tail call i32 @pci_enable_wake(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2 %14 = load i32, ptr @PCI_D3cold, align 4, !tbaa !10 %15 = tail call i32 @pci_enable_wake(ptr noundef %0, i32 noundef %14, i32 noundef 0) #2 %16 = tail call i32 @atl1e_reset_hw(ptr noundef %3) #2 br label %17 17: ; preds = %10, %6 %18 = phi ptr [ @PCI_ERS_RESULT_DISCONNECT, %6 ], [ @PCI_ERS_RESULT_RECOVERED, %10 ] %19 = load i32, ptr %18, align 4, !tbaa !10 ret i32 %19 } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @pci_enable_device(ptr noundef) local_unnamed_addr #1 declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1 declare i32 @pci_enable_wake(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atl1e_reset_hw(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 = !{!"atl1e_adapter", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1e/extr_atl1e_main.c_atl1e_io_slot_reset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1e/extr_atl1e_main.c_atl1e_io_slot_reset.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 [41 x i8] c"Cannot re-enable PCI device after reset\0A\00", align 1 @PCI_ERS_RESULT_DISCONNECT = common local_unnamed_addr global i32 0, align 4 @PCI_D3hot = common local_unnamed_addr global i32 0, align 4 @PCI_D3cold = common local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_RECOVERED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atl1e_io_slot_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atl1e_io_slot_reset(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = tail call i64 @pci_enable_device(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %3, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call i32 @netdev_err(i32 noundef %8, ptr noundef nonnull @.str) #2 br label %17 10: ; preds = %1 %11 = tail call i32 @pci_set_master(ptr noundef %0) #2 %12 = load i32, ptr @PCI_D3hot, align 4, !tbaa !11 %13 = tail call i32 @pci_enable_wake(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2 %14 = load i32, ptr @PCI_D3cold, align 4, !tbaa !11 %15 = tail call i32 @pci_enable_wake(ptr noundef %0, i32 noundef %14, i32 noundef 0) #2 %16 = tail call i32 @atl1e_reset_hw(ptr noundef %3) #2 br label %17 17: ; preds = %10, %6 %18 = phi ptr [ @PCI_ERS_RESULT_DISCONNECT, %6 ], [ @PCI_ERS_RESULT_RECOVERED, %10 ] %19 = load i32, ptr %18, align 4, !tbaa !11 ret i32 %19 } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @pci_enable_device(ptr noundef) local_unnamed_addr #1 declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1 declare i32 @pci_enable_wake(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atl1e_reset_hw(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 = !{!"atl1e_adapter", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_atheros_atl1e_extr_atl1e_main.c_atl1e_io_slot_reset
; ModuleID = 'AnghaBench/linux/kernel/extr_auditsc.c___audit_sockaddr.c' source_filename = "AnghaBench/linux/kernel/extr_auditsc.c___audit_sockaddr.c" target datalayout = "e-m:e-p270:32:32-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.audit_context = type { i32, ptr } @GFP_KERNEL = 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 @__audit_sockaddr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr (...) @audit_context() #2 %4 = getelementptr inbounds %struct.audit_context, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %15 7: ; preds = %2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %9 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %18 14: ; preds = %7 store ptr %9, ptr %4, align 8, !tbaa !5 br label %15 15: ; preds = %14, %2 %16 = phi ptr [ %9, %14 ], [ %5, %2 ] store i32 %0, ptr %3, align 8, !tbaa !12 %17 = tail call i32 @memcpy(ptr noundef nonnull %16, ptr noundef %1, i32 noundef %0) #2 br label %18 18: ; preds = %11, %15 %19 = phi i32 [ 0, %15 ], [ %13, %11 ] ret i32 %19 } declare ptr @audit_context(...) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"audit_context", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/extr_auditsc.c___audit_sockaddr.c' source_filename = "AnghaBench/linux/kernel/extr_auditsc.c___audit_sockaddr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @__audit_sockaddr(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @audit_context() #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %15 7: ; preds = %2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %9 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %7 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %13 = sub nsw i32 0, %12 br label %18 14: ; preds = %7 store ptr %9, ptr %4, align 8, !tbaa !6 br label %15 15: ; preds = %14, %2 %16 = phi ptr [ %9, %14 ], [ %5, %2 ] store i32 %0, ptr %3, align 8, !tbaa !13 %17 = tail call i32 @memcpy(ptr noundef nonnull %16, ptr noundef %1, i32 noundef %0) #2 br label %18 18: ; preds = %11, %15 %19 = phi i32 [ 0, %15 ], [ %13, %11 ] ret i32 %19 } declare ptr @audit_context(...) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"audit_context", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
linux_kernel_extr_auditsc.c___audit_sockaddr
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477.c_ksz9477_port_mmd_write.c' source_filename = "AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477.c_ksz9477_port_mmd_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" @REG_PORT_PHY_MMD_SETUP = dso_local local_unnamed_addr global i32 0, align 4 @PORT_MMD_OP_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @REG_PORT_PHY_MMD_INDEX_DATA = dso_local local_unnamed_addr global i32 0, align 4 @PORT_MMD_OP_DATA_NO_INCR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ksz9477_port_mmd_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ksz9477_port_mmd_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @REG_PORT_PHY_MMD_SETUP, align 4, !tbaa !5 %7 = load i32, ptr @PORT_MMD_OP_INDEX, align 4, !tbaa !5 %8 = tail call i32 @MMD_SETUP(i32 noundef %7, i32 noundef %2) #2 %9 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %6, i32 noundef %8) #2 %10 = load i32, ptr @REG_PORT_PHY_MMD_INDEX_DATA, align 4, !tbaa !5 %11 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %10, i32 noundef %3) #2 %12 = load i32, ptr @REG_PORT_PHY_MMD_SETUP, align 4, !tbaa !5 %13 = load i32, ptr @PORT_MMD_OP_DATA_NO_INCR, align 4, !tbaa !5 %14 = tail call i32 @MMD_SETUP(i32 noundef %13, i32 noundef %2) #2 %15 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %12, i32 noundef %14) #2 %16 = load i32, ptr @REG_PORT_PHY_MMD_INDEX_DATA, align 4, !tbaa !5 %17 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %16, i32 noundef %4) #2 ret void } declare i32 @ksz_pwrite16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MMD_SETUP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477.c_ksz9477_port_mmd_write.c' source_filename = "AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477.c_ksz9477_port_mmd_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_PORT_PHY_MMD_SETUP = common local_unnamed_addr global i32 0, align 4 @PORT_MMD_OP_INDEX = common local_unnamed_addr global i32 0, align 4 @REG_PORT_PHY_MMD_INDEX_DATA = common local_unnamed_addr global i32 0, align 4 @PORT_MMD_OP_DATA_NO_INCR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ksz9477_port_mmd_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ksz9477_port_mmd_write(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @REG_PORT_PHY_MMD_SETUP, align 4, !tbaa !6 %7 = load i32, ptr @PORT_MMD_OP_INDEX, align 4, !tbaa !6 %8 = tail call i32 @MMD_SETUP(i32 noundef %7, i32 noundef %2) #2 %9 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %6, i32 noundef %8) #2 %10 = load i32, ptr @REG_PORT_PHY_MMD_INDEX_DATA, align 4, !tbaa !6 %11 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %10, i32 noundef %3) #2 %12 = load i32, ptr @REG_PORT_PHY_MMD_SETUP, align 4, !tbaa !6 %13 = load i32, ptr @PORT_MMD_OP_DATA_NO_INCR, align 4, !tbaa !6 %14 = tail call i32 @MMD_SETUP(i32 noundef %13, i32 noundef %2) #2 %15 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %12, i32 noundef %14) #2 %16 = load i32, ptr @REG_PORT_PHY_MMD_INDEX_DATA, align 4, !tbaa !6 %17 = tail call i32 @ksz_pwrite16(ptr noundef %0, i32 noundef %1, i32 noundef %16, i32 noundef %4) #2 ret void } declare i32 @ksz_pwrite16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MMD_SETUP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_dsa_microchip_extr_ksz9477.c_ksz9477_port_mmd_write
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dispc.h_DISPC_TABLE_BA_OFFSET.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dispc.h_DISPC_TABLE_BA_OFFSET.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @DISPC_TABLE_BA_OFFSET], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @DISPC_TABLE_BA_OFFSET(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 131 br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 (...) @BUG() #2 br label %5 5: ; preds = %1, %3 %6 = phi i32 [ 56, %1 ], [ 0, %3 ] ret i32 %6 } declare i32 @BUG(...) 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/video/fbdev/omap2/omapfb/dss/extr_dispc.h_DISPC_TABLE_BA_OFFSET.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dispc.h_DISPC_TABLE_BA_OFFSET.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 @DISPC_TABLE_BA_OFFSET], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 57) i32 @DISPC_TABLE_BA_OFFSET(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 131 br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @BUG() #2 br label %5 5: ; preds = %1, %3 %6 = phi i32 [ 56, %1 ], [ 0, %3 ] ret i32 %6 } declare i32 @BUG(...) 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_video_fbdev_omap2_omapfb_dss_extr_dispc.h_DISPC_TABLE_BA_OFFSET
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_unblocking.c' source_filename = "AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_unblocking.c" target datalayout = "e-m:e-p270:32:32-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 @kvm_timer_unblocking], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kvm_timer_unblocking(ptr noundef %0) #0 { %2 = tail call ptr @vcpu_timer(ptr noundef %0) #2 %3 = tail call i32 @soft_timer_cancel(ptr noundef %2) #2 ret void } declare ptr @vcpu_timer(ptr noundef) local_unnamed_addr #1 declare i32 @soft_timer_cancel(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/virt/kvm/arm/extr_arch_timer.c_kvm_timer_unblocking.c' source_filename = "AnghaBench/linux/virt/kvm/arm/extr_arch_timer.c_kvm_timer_unblocking.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 @kvm_timer_unblocking], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kvm_timer_unblocking(ptr noundef %0) #0 { %2 = tail call ptr @vcpu_timer(ptr noundef %0) #2 %3 = tail call i32 @soft_timer_cancel(ptr noundef %2) #2 ret void } declare ptr @vcpu_timer(ptr noundef) local_unnamed_addr #1 declare i32 @soft_timer_cancel(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_virt_kvm_arm_extr_arch_timer.c_kvm_timer_unblocking
; ModuleID = 'AnghaBench/tg/extr_interface.c_do_chat_upgrade.c' source_filename = "AnghaBench/tg/extr_interface.c_do_chat_upgrade.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TLS = dso_local local_unnamed_addr global i32 0, align 4 @print_success_gw = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @do_chat_upgrade(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %1, 1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = icmp eq ptr %3, null br i1 %8, label %12, label %9 9: ; preds = %4 %10 = load i32, ptr %3, align 4, !tbaa !5 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4, !tbaa !5 br label %12 12: ; preds = %9, %4 %13 = load i32, ptr @TLS, align 4, !tbaa !10 %14 = load i32, ptr %2, align 4, !tbaa !11 %15 = load i32, ptr @print_success_gw, align 4, !tbaa !10 %16 = tail call i32 @tgl_do_upgrade_group(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %3) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tgl_do_upgrade_group(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"in_ev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"arg", !7, i64 0}
; ModuleID = 'AnghaBench/tg/extr_interface.c_do_chat_upgrade.c' source_filename = "AnghaBench/tg/extr_interface.c_do_chat_upgrade.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TLS = common local_unnamed_addr global i32 0, align 4 @print_success_gw = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @do_chat_upgrade(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %1, 1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = icmp eq ptr %3, null br i1 %8, label %12, label %9 9: ; preds = %4 %10 = load i32, ptr %3, align 4, !tbaa !6 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4, !tbaa !6 br label %12 12: ; preds = %9, %4 %13 = load i32, ptr @TLS, align 4, !tbaa !11 %14 = load i32, ptr %2, align 4, !tbaa !12 %15 = load i32, ptr @print_success_gw, align 4, !tbaa !11 %16 = tail call i32 @tgl_do_upgrade_group(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %3) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tgl_do_upgrade_group(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"in_ev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"arg", !8, i64 0}
tg_extr_interface.c_do_chat_upgrade
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_mt312.c_mt312_reset.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_mt312.c_mt312_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" @RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt312_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mt312_reset(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @RESET, align 4, !tbaa !5 %4 = icmp eq i64 %1, 0 %5 = select i1 %4, i32 64, i32 128 %6 = tail call i32 @mt312_writereg(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 ret i32 %6 } declare i32 @mt312_writereg(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/drivers/media/dvb-frontends/extr_mt312.c_mt312_reset.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_mt312.c_mt312_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt312_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mt312_reset(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @RESET, align 4, !tbaa !6 %4 = icmp eq i64 %1, 0 %5 = select i1 %4, i32 64, i32 128 %6 = tail call i32 @mt312_writereg(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 ret i32 %6 } declare i32 @mt312_writereg(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_drivers_media_dvb-frontends_extr_mt312.c_mt312_reset
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_libopenjpegdec.c_libopenjpeg_matches_pix_fmt.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_libopenjpegdec.c_libopenjpeg_matches_pix_fmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, i32, i32, ptr } %struct.TYPE_9__ = type { i32, ptr } %struct.TYPE_7__ = type { i32 } %struct.TYPE_8__ = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @libopenjpeg_matches_pix_fmt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @libopenjpeg_matches_pix_fmt(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call ptr @av_pix_fmt_desc_get(i32 noundef %1) #2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %100 7: ; preds = %2 switch i32 %4, label %100 [ i32 4, label %23 i32 3, label %18 i32 2, label %13 i32 1, label %8 ] 8: ; preds = %7 %9 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !14 br label %85 13: ; preds = %7 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 br label %63 18: ; preds = %7 %19 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3 %20 = load ptr, ptr %19, align 8, !tbaa !13 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !14 br label %41 23: ; preds = %7 %24 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3 %25 = load ptr, ptr %24, align 8, !tbaa !13 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 3 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !14 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %29, i64 3, i32 2 %31 = load i32, ptr %30, align 4, !tbaa !17 %32 = icmp slt i32 %27, %31 br i1 %32, label %100, label %33 33: ; preds = %23 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %29, i64 3 %35 = load i32, ptr %34, align 4, !tbaa !19 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %100 37: ; preds = %33 %38 = getelementptr inbounds %struct.TYPE_8__, ptr %29, i64 3, i32 1 %39 = load i32, ptr %38, align 4, !tbaa !20 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %100 41: ; preds = %18, %37 %42 = phi ptr [ %22, %18 ], [ %29, %37 ] %43 = phi ptr [ %20, %18 ], [ %25, %37 ] %44 = getelementptr inbounds %struct.TYPE_7__, ptr %43, i64 2 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = getelementptr inbounds %struct.TYPE_8__, ptr %42, i64 2, i32 2 %47 = load i32, ptr %46, align 4, !tbaa !17 %48 = icmp slt i32 %45, %47 br i1 %48, label %100, label %49 49: ; preds = %41 %50 = getelementptr inbounds %struct.TYPE_8__, ptr %42, i64 2 %51 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1 %52 = load i32, ptr %51, align 4, !tbaa !21 %53 = shl nuw i32 1, %52 %54 = load i32, ptr %50, align 4, !tbaa !19 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %100 56: ; preds = %49 %57 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 2 %58 = load i32, ptr %57, align 8, !tbaa !22 %59 = shl nuw i32 1, %58 %60 = getelementptr inbounds %struct.TYPE_8__, ptr %42, i64 2, i32 1 %61 = load i32, ptr %60, align 4, !tbaa !20 %62 = icmp eq i32 %59, %61 br i1 %62, label %63, label %100 63: ; preds = %13, %56 %64 = phi ptr [ %17, %13 ], [ %42, %56 ] %65 = phi ptr [ %15, %13 ], [ %43, %56 ] %66 = getelementptr inbounds %struct.TYPE_7__, ptr %65, i64 1 %67 = load i32, ptr %66, align 4, !tbaa !15 %68 = getelementptr inbounds %struct.TYPE_8__, ptr %64, i64 1, i32 2 %69 = load i32, ptr %68, align 4, !tbaa !17 %70 = icmp slt i32 %67, %69 br i1 %70, label %100, label %71 71: ; preds = %63 %72 = getelementptr inbounds %struct.TYPE_8__, ptr %64, i64 1 %73 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1 %74 = load i32, ptr %73, align 4, !tbaa !21 %75 = shl nuw i32 1, %74 %76 = load i32, ptr %72, align 4, !tbaa !19 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %100 78: ; preds = %71 %79 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 2 %80 = load i32, ptr %79, align 8, !tbaa !22 %81 = shl nuw i32 1, %80 %82 = getelementptr inbounds %struct.TYPE_8__, ptr %64, i64 1, i32 1 %83 = load i32, ptr %82, align 4, !tbaa !20 %84 = icmp eq i32 %81, %83 br i1 %84, label %85, label %100 85: ; preds = %8, %78 %86 = phi ptr [ %12, %8 ], [ %64, %78 ] %87 = phi ptr [ %10, %8 ], [ %65, %78 ] %88 = load i32, ptr %87, align 4, !tbaa !15 %89 = getelementptr inbounds %struct.TYPE_8__, ptr %86, i64 0, i32 2 %90 = load i32, ptr %89, align 4, !tbaa !17 %91 = icmp slt i32 %88, %90 br i1 %91, label %100, label %92 92: ; preds = %85 %93 = load i32, ptr %86, align 4, !tbaa !19 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %100 95: ; preds = %92 %96 = getelementptr inbounds %struct.TYPE_8__, ptr %86, i64 0, i32 1 %97 = load i32, ptr %96, align 4, !tbaa !20 %98 = icmp eq i32 %97, 1 %99 = zext i1 %98 to i32 br label %100 100: ; preds = %7, %71, %63, %56, %33, %23, %37, %41, %49, %95, %92, %85, %78, %2 %101 = phi i32 [ 0, %2 ], [ 1, %7 ], [ 0, %92 ], [ 0, %85 ], [ 0, %78 ], [ %99, %95 ], [ 0, %49 ], [ 0, %41 ], [ 0, %37 ], [ 0, %23 ], [ 0, %33 ], [ 0, %56 ], [ 0, %63 ], [ 0, %71 ] ret i32 %101 } declare ptr @av_pix_fmt_desc_get(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !13 = !{!6, !10, i64 16} !14 = !{!12, !10, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_7__", !7, i64 0} !17 = !{!18, !7, i64 8} !18 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8} !19 = !{!18, !7, i64 0} !20 = !{!18, !7, i64 4} !21 = !{!6, !7, i64 4} !22 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_libopenjpegdec.c_libopenjpeg_matches_pix_fmt.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_libopenjpegdec.c_libopenjpeg_matches_pix_fmt.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 @libopenjpeg_matches_pix_fmt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @libopenjpeg_matches_pix_fmt(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call ptr @av_pix_fmt_desc_get(i32 noundef %1) #2 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %100 7: ; preds = %2 switch i32 %4, label %100 [ i32 4, label %23 i32 3, label %18 i32 2, label %13 i32 1, label %8 ] 8: ; preds = %7 %9 = getelementptr inbounds i8, ptr %3, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !15 br label %85 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %3, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 br label %63 18: ; preds = %7 %19 = getelementptr inbounds i8, ptr %3, i64 16 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !15 br label %41 23: ; preds = %7 %24 = getelementptr inbounds i8, ptr %3, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = getelementptr inbounds i8, ptr %25, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = getelementptr inbounds i8, ptr %29, i64 44 %31 = load i32, ptr %30, align 4, !tbaa !18 %32 = icmp slt i32 %27, %31 br i1 %32, label %100, label %33 33: ; preds = %23 %34 = getelementptr inbounds i8, ptr %29, i64 36 %35 = load i32, ptr %34, align 4, !tbaa !20 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %100 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %29, i64 40 %39 = load i32, ptr %38, align 4, !tbaa !21 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %100 41: ; preds = %18, %37 %42 = phi ptr [ %22, %18 ], [ %29, %37 ] %43 = phi ptr [ %20, %18 ], [ %25, %37 ] %44 = getelementptr inbounds i8, ptr %43, i64 8 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = getelementptr inbounds i8, ptr %42, i64 32 %47 = load i32, ptr %46, align 4, !tbaa !18 %48 = icmp slt i32 %45, %47 br i1 %48, label %100, label %49 49: ; preds = %41 %50 = getelementptr inbounds i8, ptr %42, i64 24 %51 = getelementptr inbounds i8, ptr %3, i64 4 %52 = load i32, ptr %51, align 4, !tbaa !22 %53 = shl nuw i32 1, %52 %54 = load i32, ptr %50, align 4, !tbaa !20 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %100 56: ; preds = %49 %57 = getelementptr inbounds i8, ptr %3, i64 8 %58 = load i32, ptr %57, align 8, !tbaa !23 %59 = shl nuw i32 1, %58 %60 = getelementptr inbounds i8, ptr %42, i64 28 %61 = load i32, ptr %60, align 4, !tbaa !21 %62 = icmp eq i32 %59, %61 br i1 %62, label %63, label %100 63: ; preds = %13, %56 %64 = phi ptr [ %17, %13 ], [ %42, %56 ] %65 = phi ptr [ %15, %13 ], [ %43, %56 ] %66 = getelementptr inbounds i8, ptr %65, i64 4 %67 = load i32, ptr %66, align 4, !tbaa !16 %68 = getelementptr inbounds i8, ptr %64, i64 20 %69 = load i32, ptr %68, align 4, !tbaa !18 %70 = icmp slt i32 %67, %69 br i1 %70, label %100, label %71 71: ; preds = %63 %72 = getelementptr inbounds i8, ptr %64, i64 12 %73 = getelementptr inbounds i8, ptr %3, i64 4 %74 = load i32, ptr %73, align 4, !tbaa !22 %75 = shl nuw i32 1, %74 %76 = load i32, ptr %72, align 4, !tbaa !20 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %100 78: ; preds = %71 %79 = getelementptr inbounds i8, ptr %3, i64 8 %80 = load i32, ptr %79, align 8, !tbaa !23 %81 = shl nuw i32 1, %80 %82 = getelementptr inbounds i8, ptr %64, i64 16 %83 = load i32, ptr %82, align 4, !tbaa !21 %84 = icmp eq i32 %81, %83 br i1 %84, label %85, label %100 85: ; preds = %8, %78 %86 = phi ptr [ %12, %8 ], [ %64, %78 ] %87 = phi ptr [ %10, %8 ], [ %65, %78 ] %88 = load i32, ptr %87, align 4, !tbaa !16 %89 = getelementptr inbounds i8, ptr %86, i64 8 %90 = load i32, ptr %89, align 4, !tbaa !18 %91 = icmp slt i32 %88, %90 br i1 %91, label %100, label %92 92: ; preds = %85 %93 = load i32, ptr %86, align 4, !tbaa !20 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %100 95: ; preds = %92 %96 = getelementptr inbounds i8, ptr %86, i64 4 %97 = load i32, ptr %96, align 4, !tbaa !21 %98 = icmp eq i32 %97, 1 %99 = zext i1 %98 to i32 br label %100 100: ; preds = %7, %71, %63, %56, %33, %23, %37, %41, %49, %95, %92, %85, %78, %2 %101 = phi i32 [ 0, %2 ], [ 1, %7 ], [ 0, %92 ], [ 0, %85 ], [ 0, %78 ], [ %99, %95 ], [ 0, %49 ], [ 0, %41 ], [ 0, %37 ], [ 0, %23 ], [ 0, %33 ], [ 0, %56 ], [ 0, %63 ], [ 0, %71 ] ret i32 %101 } declare ptr @av_pix_fmt_desc_get(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !14 = !{!7, !11, i64 16} !15 = !{!13, !11, i64 8} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_7__", !8, i64 0} !18 = !{!19, !8, i64 8} !19 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !8, i64 8} !20 = !{!19, !8, i64 0} !21 = !{!19, !8, i64 4} !22 = !{!7, !8, i64 4} !23 = !{!7, !8, i64 8}
FFmpeg_libavcodec_extr_libopenjpegdec.c_libopenjpeg_matches_pix_fmt
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_access_permit_read.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_access_permit_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" @NFS4_SHARE_ACCESS_READ = dso_local local_unnamed_addr global i32 0, align 4 @NFS4_SHARE_ACCESS_BOTH = dso_local local_unnamed_addr global i32 0, align 4 @NFS4_SHARE_ACCESS_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @access_permit_read], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @access_permit_read(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8, !tbaa !5 %3 = load i32, ptr @NFS4_SHARE_ACCESS_READ, align 4, !tbaa !9 %4 = call i64 @test_bit(i32 noundef %3, ptr noundef nonnull %2) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = load i32, ptr @NFS4_SHARE_ACCESS_BOTH, align 4, !tbaa !9 %8 = call i64 @test_bit(i32 noundef %7, ptr noundef nonnull %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load i32, ptr @NFS4_SHARE_ACCESS_WRITE, align 4, !tbaa !9 %12 = call i64 @test_bit(i32 noundef %11, ptr noundef nonnull %2) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %10, %6, %1 %16 = phi i32 [ 1, %6 ], [ 1, %1 ], [ %14, %10 ] ret i32 %16 } declare i64 @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 = !{!"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/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_access_permit_read.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_access_permit_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFS4_SHARE_ACCESS_READ = common local_unnamed_addr global i32 0, align 4 @NFS4_SHARE_ACCESS_BOTH = common local_unnamed_addr global i32 0, align 4 @NFS4_SHARE_ACCESS_WRITE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @access_permit_read], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @access_permit_read(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8, !tbaa !6 %3 = load i32, ptr @NFS4_SHARE_ACCESS_READ, align 4, !tbaa !10 %4 = call i64 @test_bit(i32 noundef %3, ptr noundef nonnull %2) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = load i32, ptr @NFS4_SHARE_ACCESS_BOTH, align 4, !tbaa !10 %8 = call i64 @test_bit(i32 noundef %7, ptr noundef nonnull %2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load i32, ptr @NFS4_SHARE_ACCESS_WRITE, align 4, !tbaa !10 %12 = call i64 @test_bit(i32 noundef %11, ptr noundef nonnull %2) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %10, %6, %1 %16 = phi i32 [ 1, %6 ], [ 1, %1 ], [ %14, %10 ] ret i32 %16 } declare i64 @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 = !{!"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}
fastsocket_kernel_fs_nfsd_extr_nfs4state.c_access_permit_read
; ModuleID = 'AnghaBench/linux/net/decnet/extr_dn_route.c_dn_forward.c' source_filename = "AnghaBench/linux/net/decnet/extr_dn_route.c_dn_forward.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sk_buff = type { i64, ptr } %struct.dn_route = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } %struct.dn_skb_cb = type { i32, i32 } @PACKET_HOST = dso_local local_unnamed_addr global i64 0, align 8 @DN_RT_F_IE = dso_local local_unnamed_addr global i32 0, align 4 @RTCF_DOREDIRECT = dso_local local_unnamed_addr global i32 0, align 4 @NFPROTO_DECNET = dso_local local_unnamed_addr global i32 0, align 4 @NF_DN_FORWARD = dso_local local_unnamed_addr global i32 0, align 4 @init_net = dso_local global i32 0, align 4 @dn_to_neigh_output = dso_local local_unnamed_addr global i32 0, align 4 @NET_RX_DROP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dn_forward], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dn_forward(ptr noundef %0) #0 { %2 = tail call ptr @DN_SKB_CB(ptr noundef %0) #2 %3 = tail call ptr @skb_dst(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr %0, align 8, !tbaa !16 %10 = load i64, ptr @PACKET_HOST, align 8, !tbaa !17 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %45 12: ; preds = %1 %13 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2 %14 = load i64, ptr %6, align 8, !tbaa !18 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds %struct.dn_route, ptr %13, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !20 %18 = tail call i64 @LL_RESERVED_SPACE(ptr noundef %17) #2 %19 = select i1 %15, i64 6, i64 21 %20 = add nsw i64 %18, %19 %21 = tail call i64 @skb_cow(ptr noundef nonnull %0, i64 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %45 23: ; preds = %12 %24 = load i32, ptr %2, align 4, !tbaa !23 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4, !tbaa !23 %26 = icmp sgt i32 %24, 29 br i1 %26, label %45, label %27 27: ; preds = %23 %28 = load ptr, ptr %16, align 8, !tbaa !20 store ptr %28, ptr %7, align 8, !tbaa !13 %29 = load i32, ptr @DN_RT_F_IE, align 4, !tbaa !25 %30 = xor i32 %29, -1 %31 = getelementptr inbounds %struct.dn_skb_cb, ptr %2, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !26 %33 = and i32 %32, %30 store i32 %33, ptr %31, align 4, !tbaa !26 %34 = load i32, ptr %13, align 8, !tbaa !27 %35 = load i32, ptr @RTCF_DOREDIRECT, align 4, !tbaa !25 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %27 %39 = or i32 %32, %29 store i32 %39, ptr %31, align 4, !tbaa !26 br label %40 40: ; preds = %38, %27 %41 = load i32, ptr @NFPROTO_DECNET, align 4, !tbaa !25 %42 = load i32, ptr @NF_DN_FORWARD, align 4, !tbaa !25 %43 = load i32, ptr @dn_to_neigh_output, align 4, !tbaa !25 %44 = tail call i32 @NF_HOOK(i32 noundef %41, i32 noundef %42, ptr noundef nonnull @init_net, ptr noundef null, ptr noundef nonnull %0, ptr noundef %8, ptr noundef %28, i32 noundef %43) #2 br label %48 45: ; preds = %23, %12, %1 %46 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2 %47 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !25 br label %48 48: ; preds = %45, %40 %49 = phi i32 [ %47, %45 ], [ %44, %40 ] ret i32 %49 } declare ptr @DN_SKB_CB(ptr noundef) local_unnamed_addr #1 declare ptr @skb_dst(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i64 @skb_cow(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @LL_RESERVED_SPACE(ptr noundef) local_unnamed_addr #1 declare i32 @NF_HOOK(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 = !{!"dst_entry", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"sk_buff", !15, i64 0, !7, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!19, !15, i64 0} !19 = !{!"dn_dev", !15, i64 0} !20 = !{!21, !7, i64 8} !21 = !{!"dn_route", !12, i64 0, !22, i64 8} !22 = !{!"TYPE_4__", !7, i64 0} !23 = !{!24, !12, i64 0} !24 = !{!"dn_skb_cb", !12, i64 0, !12, i64 4} !25 = !{!12, !12, i64 0} !26 = !{!24, !12, i64 4} !27 = !{!21, !12, i64 0}
; ModuleID = 'AnghaBench/linux/net/decnet/extr_dn_route.c_dn_forward.c' source_filename = "AnghaBench/linux/net/decnet/extr_dn_route.c_dn_forward.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PACKET_HOST = common local_unnamed_addr global i64 0, align 8 @DN_RT_F_IE = common local_unnamed_addr global i32 0, align 4 @RTCF_DOREDIRECT = common local_unnamed_addr global i32 0, align 4 @NFPROTO_DECNET = common local_unnamed_addr global i32 0, align 4 @NF_DN_FORWARD = common local_unnamed_addr global i32 0, align 4 @init_net = common global i32 0, align 4 @dn_to_neigh_output = common local_unnamed_addr global i32 0, align 4 @NET_RX_DROP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dn_forward], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dn_forward(ptr noundef %0) #0 { %2 = tail call ptr @DN_SKB_CB(ptr noundef %0) #2 %3 = tail call ptr @skb_dst(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = load i64, ptr %0, align 8, !tbaa !17 %10 = load i64, ptr @PACKET_HOST, align 8, !tbaa !18 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %45 12: ; preds = %1 %13 = tail call ptr @skb_dst(ptr noundef nonnull %0) #2 %14 = load i64, ptr %6, align 8, !tbaa !19 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds i8, ptr %13, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !21 %18 = tail call i64 @LL_RESERVED_SPACE(ptr noundef %17) #2 %19 = select i1 %15, i64 6, i64 21 %20 = add nsw i64 %18, %19 %21 = tail call i64 @skb_cow(ptr noundef nonnull %0, i64 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %45 23: ; preds = %12 %24 = load i32, ptr %2, align 4, !tbaa !24 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4, !tbaa !24 %26 = icmp sgt i32 %24, 29 br i1 %26, label %45, label %27 27: ; preds = %23 %28 = load ptr, ptr %16, align 8, !tbaa !21 store ptr %28, ptr %7, align 8, !tbaa !14 %29 = load i32, ptr @DN_RT_F_IE, align 4, !tbaa !26 %30 = xor i32 %29, -1 %31 = getelementptr inbounds i8, ptr %2, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !27 %33 = and i32 %32, %30 store i32 %33, ptr %31, align 4, !tbaa !27 %34 = load i32, ptr %13, align 8, !tbaa !28 %35 = load i32, ptr @RTCF_DOREDIRECT, align 4, !tbaa !26 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %27 %39 = or i32 %32, %29 store i32 %39, ptr %31, align 4, !tbaa !27 br label %40 40: ; preds = %38, %27 %41 = load i32, ptr @NFPROTO_DECNET, align 4, !tbaa !26 %42 = load i32, ptr @NF_DN_FORWARD, align 4, !tbaa !26 %43 = load i32, ptr @dn_to_neigh_output, align 4, !tbaa !26 %44 = tail call i32 @NF_HOOK(i32 noundef %41, i32 noundef %42, ptr noundef nonnull @init_net, ptr noundef null, ptr noundef nonnull %0, ptr noundef %8, ptr noundef %28, i32 noundef %43) #2 br label %48 45: ; preds = %23, %12, %1 %46 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2 %47 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !26 br label %48 48: ; preds = %45, %40 %49 = phi i32 [ %47, %45 ], [ %44, %40 ] ret i32 %49 } declare ptr @DN_SKB_CB(ptr noundef) local_unnamed_addr #1 declare ptr @skb_dst(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i64 @skb_cow(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @LL_RESERVED_SPACE(ptr noundef) local_unnamed_addr #1 declare i32 @NF_HOOK(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 = !{!"dst_entry", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"sk_buff", !16, i64 0, !8, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!20, !16, i64 0} !20 = !{!"dn_dev", !16, i64 0} !21 = !{!22, !8, i64 8} !22 = !{!"dn_route", !13, i64 0, !23, i64 8} !23 = !{!"TYPE_4__", !8, i64 0} !24 = !{!25, !13, i64 0} !25 = !{!"dn_skb_cb", !13, i64 0, !13, i64 4} !26 = !{!13, !13, i64 0} !27 = !{!25, !13, i64 4} !28 = !{!22, !13, i64 0}
linux_net_decnet_extr_dn_route.c_dn_forward
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_ps.c_wl12xx_ps_link_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_ps.c_wl12xx_ps_link_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.wl1271 = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @DEBUG_PSM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"start mac80211 PSM on hlid %d pkts %d clean_queues %d\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"could not find sta %pM for starting ps\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @wl12xx_ps_link_start(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @wl12xx_wlvif_to_vif(ptr noundef %1) #2 %6 = tail call i64 @test_bit(i64 noundef %2, ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %4 %9 = load i32, ptr @DEBUG_PSM, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %2, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = tail call i32 @wl1271_debug(i32 noundef %9, ptr noundef nonnull @.str, i64 noundef %2, i32 noundef %13, i32 noundef %3) #2 %15 = tail call i32 (...) @rcu_read_lock() #2 %16 = load ptr, ptr %10, align 8, !tbaa !9 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %2 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = tail call ptr @ieee80211_find_sta(ptr noundef %5, i32 noundef %18) #2 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %8 %22 = load ptr, ptr %10, align 8, !tbaa !9 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %2 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1, i32 noundef %24) #2 %26 = tail call i32 (...) @rcu_read_unlock() #2 br label %35 27: ; preds = %8 %28 = tail call i32 @ieee80211_sta_ps_transition_ni(ptr noundef nonnull %19, i32 noundef 1) #2 %29 = tail call i32 (...) @rcu_read_unlock() #2 %30 = icmp eq i32 %3, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @wl1271_ps_filter_frames(ptr noundef nonnull %0, i64 noundef %2) #2 br label %33 33: ; preds = %31, %27 %34 = tail call i32 @__set_bit(i64 noundef %2, ptr noundef nonnull %0) #2 br label %35 35: ; preds = %4, %33, %21 ret void } declare ptr @wl12xx_wlvif_to_vif(ptr noundef) local_unnamed_addr #1 declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_debug(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @ieee80211_find_sta(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @ieee80211_sta_ps_transition_ni(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_filter_frames(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__set_bit(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"wl1271", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 4} !13 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !14 = !{!13, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_ps.c_wl12xx_ps_link_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_ps.c_wl12xx_ps_link_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32 } @DEBUG_PSM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"start mac80211 PSM on hlid %d pkts %d clean_queues %d\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"could not find sta %pM for starting ps\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @wl12xx_ps_link_start(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @wl12xx_wlvif_to_vif(ptr noundef %1) #2 %6 = tail call i64 @test_bit(i64 noundef %2, ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %4 %9 = load i32, ptr @DEBUG_PSM, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %2, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i32 @wl1271_debug(i32 noundef %9, ptr noundef nonnull @.str, i64 noundef %2, i32 noundef %13, i32 noundef %3) #2 %15 = tail call i32 @rcu_read_lock() #2 %16 = load ptr, ptr %10, align 8, !tbaa !10 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %2 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = tail call ptr @ieee80211_find_sta(ptr noundef %5, i32 noundef %18) #2 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %8 %22 = load ptr, ptr %10, align 8, !tbaa !10 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %2 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1, i32 noundef %24) #2 %26 = tail call i32 @rcu_read_unlock() #2 br label %35 27: ; preds = %8 %28 = tail call i32 @ieee80211_sta_ps_transition_ni(ptr noundef nonnull %19, i32 noundef 1) #2 %29 = tail call i32 @rcu_read_unlock() #2 %30 = icmp eq i32 %3, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i32 @wl1271_ps_filter_frames(ptr noundef nonnull %0, i64 noundef %2) #2 br label %33 33: ; preds = %31, %27 %34 = tail call i32 @__set_bit(i64 noundef %2, ptr noundef nonnull %0) #2 br label %35 35: ; preds = %4, %33, %21 ret void } declare ptr @wl12xx_wlvif_to_vif(ptr noundef) local_unnamed_addr #1 declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_debug(i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @ieee80211_find_sta(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @ieee80211_sta_ps_transition_ni(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl1271_ps_filter_frames(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__set_bit(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"wl1271", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !15 = !{!14, !7, i64 0}
fastsocket_kernel_drivers_net_wireless_ti_wlcore_extr_ps.c_wl12xx_ps_link_start
; ModuleID = 'AnghaBench/hashcat/deps/xxHash/extr_xxhash.c_XXH_versionNumber.c' source_filename = "AnghaBench/hashcat/deps/xxHash/extr_xxhash.c_XXH_versionNumber.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @XXH_VERSION_NUMBER = 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 @XXH_versionNumber() local_unnamed_addr #0 { %1 = load i32, ptr @XXH_VERSION_NUMBER, align 4, !tbaa !5 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/hashcat/deps/xxHash/extr_xxhash.c_XXH_versionNumber.c' source_filename = "AnghaBench/hashcat/deps/xxHash/extr_xxhash.c_XXH_versionNumber.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XXH_VERSION_NUMBER = 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 @XXH_versionNumber() local_unnamed_addr #0 { %1 = load i32, ptr @XXH_VERSION_NUMBER, align 4, !tbaa !6 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
hashcat_deps_xxHash_extr_xxhash.c_XXH_versionNumber
; ModuleID = 'AnghaBench/toxcore/toxcore/extr_TCP_server.c_do_TCP_server.c' source_filename = "AnghaBench/toxcore/toxcore/extr_TCP_server.c_do_TCP_server.c" target datalayout = "e-m:e-p270:32:32-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 @do_TCP_server(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @unix_time_update() #2 %3 = tail call i32 @do_TCP_accept_new(ptr noundef %0) #2 %4 = tail call i32 @do_TCP_incomming(ptr noundef %0) #2 %5 = tail call i32 @do_TCP_unconfirmed(ptr noundef %0) #2 %6 = tail call i32 @do_TCP_confirmed(ptr noundef %0) #2 ret void } declare i32 @unix_time_update(...) local_unnamed_addr #1 declare i32 @do_TCP_accept_new(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_incomming(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_unconfirmed(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_confirmed(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/toxcore/toxcore/extr_TCP_server.c_do_TCP_server.c' source_filename = "AnghaBench/toxcore/toxcore/extr_TCP_server.c_do_TCP_server.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 @do_TCP_server(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @unix_time_update() #2 %3 = tail call i32 @do_TCP_accept_new(ptr noundef %0) #2 %4 = tail call i32 @do_TCP_incomming(ptr noundef %0) #2 %5 = tail call i32 @do_TCP_unconfirmed(ptr noundef %0) #2 %6 = tail call i32 @do_TCP_confirmed(ptr noundef %0) #2 ret void } declare i32 @unix_time_update(...) local_unnamed_addr #1 declare i32 @do_TCP_accept_new(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_incomming(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_unconfirmed(ptr noundef) local_unnamed_addr #1 declare i32 @do_TCP_confirmed(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)"}
toxcore_toxcore_extr_TCP_server.c_do_TCP_server
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_unionvtab.c_unionIsIntkeyTable.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_unionvtab.c_unionIsIntkeyTable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, i32 } @.str = private unnamed_addr constant [8 x i8] c"_rowid_\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 @.str.1 = private unnamed_addr constant [8 x i8] c"integer\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"no such rowid table: %s%s%s\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @unionIsIntkeyTable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @unionIsIntkeyTable(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !9 %6 = load ptr, ptr %1, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = call i32 @sqlite3_table_column_metadata(ptr noundef %0, ptr noundef %6, i32 noundef %8, ptr noundef nonnull @.str, ptr noundef nonnull %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %10 = call i32 @sqlite3_errcode(ptr noundef %0) #3 %11 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !5 %12 = icmp eq i32 %10, %11 br i1 %12, label %25, label %13 13: ; preds = %3 %14 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %15 = icmp eq i32 %10, %14 br i1 %15, label %16, label %33 16: ; preds = %13 %17 = load i32, ptr %4, align 4, !tbaa !5 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load ptr, ptr %5, align 8, !tbaa !9 %21 = call i64 @sqlite3_stricmp(ptr noundef nonnull @.str.1, ptr noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %33, label %23 23: ; preds = %19 %24 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !5 br label %25 25: ; preds = %23, %16, %3 %26 = phi i32 [ %24, %23 ], [ %11, %16 ], [ %10, %3 ] %27 = load ptr, ptr %1, align 8, !tbaa !11 %28 = icmp eq ptr %27, null %29 = select i1 %28, ptr @.str.3, ptr %27 %30 = select i1 %28, ptr @.str.3, ptr @.str.4 %31 = load i32, ptr %7, align 8, !tbaa !13 %32 = call ptr @sqlite3_mprintf(ptr noundef nonnull @.str.2, ptr noundef nonnull %29, ptr noundef nonnull %30, i32 noundef %31) #3 store ptr %32, ptr %2, align 8, !tbaa !9 br label %33 33: ; preds = %25, %19, %13 %34 = phi i32 [ %26, %25 ], [ %10, %19 ], [ %10, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3_table_column_metadata(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_errcode(ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_mprintf(ptr noundef, 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, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0, !6, i64 8} !13 = !{!12, !6, i64 8}
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_unionvtab.c_unionIsIntkeyTable.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_unionvtab.c_unionIsIntkeyTable.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 [8 x i8] c"_rowid_\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 @.str.1 = private unnamed_addr constant [8 x i8] c"integer\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"no such rowid table: %s%s%s\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @unionIsIntkeyTable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @unionIsIntkeyTable(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !10 %6 = load ptr, ptr %1, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = call i32 @sqlite3_table_column_metadata(ptr noundef %0, ptr noundef %6, i32 noundef %8, ptr noundef nonnull @.str, ptr noundef nonnull %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %10 = call i32 @sqlite3_errcode(ptr noundef %0) #3 %11 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !6 %12 = icmp eq i32 %10, %11 br i1 %12, label %25, label %13 13: ; preds = %3 %14 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %15 = icmp eq i32 %10, %14 br i1 %15, label %16, label %33 16: ; preds = %13 %17 = load i32, ptr %4, align 4, !tbaa !6 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load ptr, ptr %5, align 8, !tbaa !10 %21 = call i64 @sqlite3_stricmp(ptr noundef nonnull @.str.1, ptr noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %33, label %23 23: ; preds = %19 %24 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !6 br label %25 25: ; preds = %23, %16, %3 %26 = phi i32 [ %24, %23 ], [ %11, %16 ], [ %10, %3 ] %27 = load ptr, ptr %1, align 8, !tbaa !12 %28 = icmp eq ptr %27, null %29 = select i1 %28, ptr @.str.3, ptr %27 %30 = select i1 %28, ptr @.str.3, ptr @.str.4 %31 = load i32, ptr %7, align 8, !tbaa !14 %32 = call ptr @sqlite3_mprintf(ptr noundef nonnull @.str.2, ptr noundef nonnull %29, ptr noundef nonnull %30, i32 noundef %31) #3 store ptr %32, ptr %2, align 8, !tbaa !10 br label %33 33: ; preds = %25, %19, %13 %34 = phi i32 [ %26, %25 ], [ %10, %19 ], [ %10, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3_table_column_metadata(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_errcode(ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_mprintf(ptr noundef, 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, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0, !7, i64 8} !14 = !{!13, !7, i64 8}
sqlcipher_ext_misc_extr_unionvtab.c_unionIsIntkeyTable
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_tio.h_subdev_to_counter.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_tio.h_subdev_to_counter.c" target datalayout = "e-m:e-p270:32:32-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 @subdev_to_counter], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @subdev_to_counter(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { inlinehint 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 = !{!"comedi_subdevice", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_tio.h_subdev_to_counter.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_tio.h_subdev_to_counter.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 @subdev_to_counter], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @subdev_to_counter(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { inlinehint 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 = !{!"comedi_subdevice", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_ni_tio.h_subdev_to_counter
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_chan.c_vmbus_chan_cpu_rr.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_chan.c_vmbus_chan_cpu_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" @vmbus_chan_cpu_rr.vmbus_chan_nextcpu = internal global i32 0, align 4 @mp_ncpus = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @vmbus_chan_cpu_rr(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @atomic_fetchadd_int(ptr noundef nonnull @vmbus_chan_cpu_rr.vmbus_chan_nextcpu, i32 noundef 1) #2 %3 = load i32, ptr @mp_ncpus, align 4, !tbaa !5 %4 = srem i32 %2, %3 %5 = tail call i32 @vmbus_chan_cpu_set(ptr noundef %0, i32 noundef %4) #2 ret void } declare i32 @atomic_fetchadd_int(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vmbus_chan_cpu_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_chan.c_vmbus_chan_cpu_rr.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_chan.c_vmbus_chan_cpu_rr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vmbus_chan_cpu_rr.vmbus_chan_nextcpu = internal global i32 0, align 4 @mp_ncpus = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @vmbus_chan_cpu_rr(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @atomic_fetchadd_int(ptr noundef nonnull @vmbus_chan_cpu_rr.vmbus_chan_nextcpu, i32 noundef 1) #2 %3 = load i32, ptr @mp_ncpus, align 4, !tbaa !6 %4 = srem i32 %2, %3 %5 = tail call i32 @vmbus_chan_cpu_set(ptr noundef %0, i32 noundef %4) #2 ret void } declare i32 @atomic_fetchadd_int(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vmbus_chan_cpu_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_hyperv_vmbus_extr_vmbus_chan.c_vmbus_chan_cpu_rr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_ucb1400_ts.c_ucb1400_ts_irq_disable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_ucb1400_ts.c_ucb1400_ts_irq_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UCB_IE_FAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ucb1400_ts_irq_disable], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ucb1400_ts_irq_disable(ptr noundef %0) #0 { %2 = load i32, ptr @UCB_IE_FAL, align 4, !tbaa !5 %3 = tail call i32 @ucb1400_reg_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @ucb1400_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_ucb1400_ts.c_ucb1400_ts_irq_disable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_ucb1400_ts.c_ucb1400_ts_irq_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UCB_IE_FAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ucb1400_ts_irq_disable], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ucb1400_ts_irq_disable(ptr noundef %0) #0 { %2 = load i32, ptr @UCB_IE_FAL, align 4, !tbaa !6 %3 = tail call i32 @ucb1400_reg_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @ucb1400_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_input_touchscreen_extr_ucb1400_ts.c_ucb1400_ts_irq_disable
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_aka.c_eap_aka_deinit_for_reauth.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_aka.c_eap_aka_deinit_for_reauth.c" target datalayout = "e-m:e-p270:32:32-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.eap_aka_data = type { i32, i64, i64, ptr } @CLEAR_EAP_ID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @eap_aka_deinit_for_reauth], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @eap_aka_deinit_for_reauth(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @CLEAR_EAP_ID, align 4, !tbaa !5 %4 = tail call i32 @eap_aka_clear_identities(ptr noundef %0, ptr noundef %1, i32 noundef %3) #3 store i32 -1, ptr %1, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.eap_aka_data, ptr %1, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 @wpabuf_free(ptr noundef %6) #3 %8 = getelementptr inbounds %struct.eap_aka_data, ptr %1, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, i8 0, i64 24, i1 false) %9 = tail call i32 @eap_aka_clear_keys(ptr noundef nonnull %1, i32 noundef 1) #3 ret void } declare i32 @eap_aka_clear_identities(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1 declare i32 @eap_aka_clear_keys(ptr noundef, 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, !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 = !{!"eap_aka_data", !6, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 24}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_aka.c_eap_aka_deinit_for_reauth.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_aka.c_eap_aka_deinit_for_reauth.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CLEAR_EAP_ID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @eap_aka_deinit_for_reauth], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @eap_aka_deinit_for_reauth(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @CLEAR_EAP_ID, align 4, !tbaa !6 %4 = tail call i32 @eap_aka_clear_identities(ptr noundef %0, ptr noundef %1, i32 noundef %3) #3 store i32 -1, ptr %1, align 8, !tbaa !10 %5 = getelementptr inbounds i8, ptr %1, i64 24 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = tail call i32 @wpabuf_free(ptr noundef %6) #3 %8 = getelementptr inbounds i8, ptr %1, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, i8 0, i64 24, i1 false) %9 = tail call i32 @eap_aka_clear_keys(ptr noundef nonnull %1, i32 noundef 1) #3 ret void } declare i32 @eap_aka_clear_identities(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1 declare i32 @eap_aka_clear_keys(ptr noundef, 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 0} !11 = !{!"eap_aka_data", !7, i64 0, !12, i64 8, !12, i64 16, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 24}
freebsd_contrib_wpa_src_eap_peer_extr_eap_aka.c_eap_aka_deinit_for_reauth
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/api/core/extr_esp_ble_mesh_provisioning_api.c_esp_ble_mesh_node_input_number.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/api/core/extr_esp_ble_mesh_provisioning_api.c_esp_ble_mesh_node_input_number.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { %struct.TYPE_6__, i32 } %struct.TYPE_6__ = type { i64 } %struct.TYPE_7__ = type { i32, i32, i32, i32 } @MAX_OOB_INPUT_NUM = dso_local local_unnamed_addr global i64 0, align 8 @ESP_ERR_INVALID_ARG = dso_local local_unnamed_addr global i32 0, align 4 @ESP_BLE_HOST_STATUS_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @BTC_SIG_API_CALL = dso_local local_unnamed_addr global i32 0, align 4 @BTC_PID_PROV = dso_local local_unnamed_addr global i32 0, align 4 @BTC_BLE_MESH_ACT_INPUT_NUMBER = dso_local local_unnamed_addr global i32 0, align 4 @BT_STATUS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 @ESP_FAIL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @esp_ble_mesh_node_input_number(i64 noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_8__, align 8 %3 = alloca %struct.TYPE_7__, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %4, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %5 = getelementptr inbounds i8, ptr %3, i64 12 store i32 0, ptr %5, align 4 %6 = load i64, ptr @MAX_OOB_INPUT_NUM, align 8, !tbaa !5 %7 = icmp slt i64 %6, %0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !9 br label %24 10: ; preds = %1 %11 = load i32, ptr @ESP_BLE_HOST_STATUS_ENABLED, align 4, !tbaa !9 %12 = tail call i32 @ESP_BLE_HOST_STATUS_CHECK(i32 noundef %11) #3 %13 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 2 store i32 %13, ptr %14, align 4, !tbaa !11 %15 = load i32, ptr @BTC_PID_PROV, align 4, !tbaa !9 %16 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 1 store i32 %15, ptr %16, align 4, !tbaa !13 %17 = load i32, ptr @BTC_BLE_MESH_ACT_INPUT_NUMBER, align 4, !tbaa !9 store i32 %17, ptr %3, align 4, !tbaa !14 store i64 %0, ptr %2, align 8, !tbaa !15 %18 = call i64 @btc_transfer_context(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 16, ptr noundef null) #3 %19 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !5 %20 = icmp eq i64 %18, %19 %21 = load i32, ptr @ESP_OK, align 4 %22 = load i32, ptr @ESP_FAIL, align 4 %23 = select i1 %20, i32 %21, i32 %22 br label %24 24: ; preds = %10, %8 %25 = phi i32 [ %9, %8 ], [ %23, %10 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ESP_BLE_HOST_STATUS_CHECK(i32 noundef) local_unnamed_addr #2 declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_7__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12} !13 = !{!12, !10, i64 4} !14 = !{!12, !10, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_8__", !17, i64 0, !10, i64 8} !17 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/api/core/extr_esp_ble_mesh_provisioning_api.c_esp_ble_mesh_node_input_number.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/api/core/extr_esp_ble_mesh_provisioning_api.c_esp_ble_mesh_node_input_number.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 { %struct.TYPE_6__, i32 } %struct.TYPE_6__ = type { i64 } %struct.TYPE_7__ = type { i32, i32, i32, i32 } @MAX_OOB_INPUT_NUM = common local_unnamed_addr global i64 0, align 8 @ESP_ERR_INVALID_ARG = common local_unnamed_addr global i32 0, align 4 @ESP_BLE_HOST_STATUS_ENABLED = common local_unnamed_addr global i32 0, align 4 @BTC_SIG_API_CALL = common local_unnamed_addr global i32 0, align 4 @BTC_PID_PROV = common local_unnamed_addr global i32 0, align 4 @BTC_BLE_MESH_ACT_INPUT_NUMBER = common local_unnamed_addr global i32 0, align 4 @BT_STATUS_SUCCESS = common local_unnamed_addr global i64 0, align 8 @ESP_OK = common local_unnamed_addr global i32 0, align 4 @ESP_FAIL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @esp_ble_mesh_node_input_number(i64 noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_8__, align 8 %3 = alloca %struct.TYPE_7__, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %4, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %5 = getelementptr inbounds i8, ptr %3, i64 12 store i32 0, ptr %5, align 4 %6 = load i64, ptr @MAX_OOB_INPUT_NUM, align 8, !tbaa !6 %7 = icmp slt i64 %6, %0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !10 br label %24 10: ; preds = %1 %11 = load i32, ptr @ESP_BLE_HOST_STATUS_ENABLED, align 4, !tbaa !10 %12 = tail call i32 @ESP_BLE_HOST_STATUS_CHECK(i32 noundef %11) #3 %13 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !10 %14 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %13, ptr %14, align 4, !tbaa !12 %15 = load i32, ptr @BTC_PID_PROV, align 4, !tbaa !10 %16 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %15, ptr %16, align 4, !tbaa !14 %17 = load i32, ptr @BTC_BLE_MESH_ACT_INPUT_NUMBER, align 4, !tbaa !10 store i32 %17, ptr %3, align 4, !tbaa !15 store i64 %0, ptr %2, align 8, !tbaa !16 %18 = call i64 @btc_transfer_context(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 16, ptr noundef null) #3 %19 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !6 %20 = icmp eq i64 %18, %19 %21 = load i32, ptr @ESP_OK, align 4 %22 = load i32, ptr @ESP_FAIL, align 4 %23 = select i1 %20, i32 %21, i32 %22 br label %24 24: ; preds = %10, %8 %25 = phi i32 [ %9, %8 ], [ %23, %10 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ESP_BLE_HOST_STATUS_CHECK(i32 noundef) local_unnamed_addr #2 declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_7__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !14 = !{!13, !11, i64 4} !15 = !{!13, !11, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_8__", !18, i64 0, !11, i64 8} !18 = !{!"TYPE_6__", !7, i64 0}
esp-idf_components_bt_esp_ble_mesh_api_core_extr_esp_ble_mesh_provisioning_api.c_esp_ble_mesh_node_input_number
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_EeSendStart.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_EeSendStart.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TLAN_NET_SIO = dso_local local_unnamed_addr global i64 0, align 8 @TLAN_DIO_ADR = dso_local local_unnamed_addr global i64 0, align 8 @TLAN_DIO_DATA = dso_local local_unnamed_addr global i64 0, align 8 @TLAN_NET_SIO_ECLOK = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_EDATA = dso_local local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_ETXEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TLan_EeSendStart], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @TLan_EeSendStart(i64 noundef %0) #0 { %2 = load i64, ptr @TLAN_NET_SIO, align 8, !tbaa !5 %3 = load i64, ptr @TLAN_DIO_ADR, align 8, !tbaa !5 %4 = add nsw i64 %3, %0 %5 = tail call i32 @outw(i64 noundef %2, i64 noundef %4) #2 %6 = load i64, ptr @TLAN_DIO_DATA, align 8, !tbaa !5 %7 = add nsw i64 %6, %0 %8 = load i64, ptr @TLAN_NET_SIO, align 8, !tbaa !5 %9 = add nsw i64 %7, %8 %10 = load i32, ptr @TLAN_NET_SIO_ECLOK, align 4, !tbaa !9 %11 = tail call i32 @TLan_SetBit(i32 noundef %10, i64 noundef %9) #2 %12 = load i32, ptr @TLAN_NET_SIO_EDATA, align 4, !tbaa !9 %13 = tail call i32 @TLan_SetBit(i32 noundef %12, i64 noundef %9) #2 %14 = load i32, ptr @TLAN_NET_SIO_ETXEN, align 4, !tbaa !9 %15 = tail call i32 @TLan_SetBit(i32 noundef %14, i64 noundef %9) #2 %16 = load i32, ptr @TLAN_NET_SIO_EDATA, align 4, !tbaa !9 %17 = tail call i32 @TLan_ClearBit(i32 noundef %16, i64 noundef %9) #2 %18 = load i32, ptr @TLAN_NET_SIO_ECLOK, align 4, !tbaa !9 %19 = tail call i32 @TLan_ClearBit(i32 noundef %18, i64 noundef %9) #2 ret void } declare i32 @outw(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_SetBit(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_ClearBit(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_EeSendStart.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_EeSendStart.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TLAN_NET_SIO = common local_unnamed_addr global i64 0, align 8 @TLAN_DIO_ADR = common local_unnamed_addr global i64 0, align 8 @TLAN_DIO_DATA = common local_unnamed_addr global i64 0, align 8 @TLAN_NET_SIO_ECLOK = common local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_EDATA = common local_unnamed_addr global i32 0, align 4 @TLAN_NET_SIO_ETXEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TLan_EeSendStart], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @TLan_EeSendStart(i64 noundef %0) #0 { %2 = load i64, ptr @TLAN_NET_SIO, align 8, !tbaa !6 %3 = load i64, ptr @TLAN_DIO_ADR, align 8, !tbaa !6 %4 = add nsw i64 %3, %0 %5 = tail call i32 @outw(i64 noundef %2, i64 noundef %4) #2 %6 = load i64, ptr @TLAN_DIO_DATA, align 8, !tbaa !6 %7 = add nsw i64 %6, %0 %8 = load i64, ptr @TLAN_NET_SIO, align 8, !tbaa !6 %9 = add nsw i64 %7, %8 %10 = load i32, ptr @TLAN_NET_SIO_ECLOK, align 4, !tbaa !10 %11 = tail call i32 @TLan_SetBit(i32 noundef %10, i64 noundef %9) #2 %12 = load i32, ptr @TLAN_NET_SIO_EDATA, align 4, !tbaa !10 %13 = tail call i32 @TLan_SetBit(i32 noundef %12, i64 noundef %9) #2 %14 = load i32, ptr @TLAN_NET_SIO_ETXEN, align 4, !tbaa !10 %15 = tail call i32 @TLan_SetBit(i32 noundef %14, i64 noundef %9) #2 %16 = load i32, ptr @TLAN_NET_SIO_EDATA, align 4, !tbaa !10 %17 = tail call i32 @TLan_ClearBit(i32 noundef %16, i64 noundef %9) #2 %18 = load i32, ptr @TLAN_NET_SIO_ECLOK, align 4, !tbaa !10 %19 = tail call i32 @TLan_ClearBit(i32 noundef %18, i64 noundef %9) #2 ret void } declare i32 @outw(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_SetBit(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @TLan_ClearBit(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
fastsocket_kernel_drivers_net_extr_tlan.c_TLan_EeSendStart
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_bpf.c_tcf_bpf_dump.c' source_filename = "AnghaBench/linux/net/sched/extr_act_bpf.c_tcf_bpf_dump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tc_act_bpf = type { i32, i32, i32, i32 } %struct.tcf_t = type { i32 } %struct.tcf_bpf = type { i32, i32, i32, i32, i32, i32 } @TCA_ACT_BPF_PARMS = dso_local local_unnamed_addr global i32 0, align 4 @TCA_ACT_BPF_TM = dso_local local_unnamed_addr global i32 0, align 4 @TCA_ACT_BPF_PAD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcf_bpf_dump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcf_bpf_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.tc_act_bpf, align 4 %6 = alloca %struct.tcf_t, align 4 %7 = tail call ptr @skb_tail_pointer(ptr noundef %0) #3 %8 = tail call ptr @to_bpf(ptr noundef %1) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %9 = getelementptr inbounds %struct.tc_act_bpf, ptr %5, i64 0, i32 1 %10 = getelementptr inbounds %struct.tcf_bpf, ptr %8, i64 0, i32 3 %11 = tail call i32 @atomic_read(ptr noundef nonnull %10) #3 %12 = sub nsw i32 %11, %2 store i32 %12, ptr %9, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.tc_act_bpf, ptr %5, i64 0, i32 2 %14 = getelementptr inbounds %struct.tcf_bpf, ptr %8, i64 0, i32 4 %15 = tail call i32 @refcount_read(ptr noundef nonnull %14) #3 %16 = sub nsw i32 %15, %3 store i32 %16, ptr %13, align 4, !tbaa !10 %17 = getelementptr inbounds %struct.tc_act_bpf, ptr %5, i64 0, i32 3 %18 = getelementptr inbounds %struct.tcf_bpf, ptr %8, i64 0, i32 5 %19 = load i32, ptr %18, align 4, !tbaa !11 store i32 %19, ptr %17, align 4, !tbaa !13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %20 = tail call i32 @spin_lock_bh(ptr noundef %8) #3 %21 = getelementptr inbounds %struct.tcf_bpf, ptr %8, i64 0, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !14 store i32 %22, ptr %5, align 4, !tbaa !15 %23 = load i32, ptr @TCA_ACT_BPF_PARMS, align 4, !tbaa !16 %24 = call i64 @nla_put(ptr noundef %0, i32 noundef %23, i32 noundef 16, ptr noundef nonnull %5) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %46 26: ; preds = %4 %27 = call i64 @tcf_bpf_is_ebpf(ptr noundef nonnull %8) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = call i32 @tcf_bpf_dump_ebpf_info(ptr noundef nonnull %8, ptr noundef %0) #3 br label %33 31: ; preds = %26 %32 = call i32 @tcf_bpf_dump_bpf_info(ptr noundef nonnull %8, ptr noundef %0) #3 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %46 36: ; preds = %33 %37 = getelementptr inbounds %struct.tcf_bpf, ptr %8, i64 0, i32 1 %38 = call i32 @tcf_tm_dump(ptr noundef nonnull %6, ptr noundef nonnull %37) #3 %39 = load i32, ptr @TCA_ACT_BPF_TM, align 4, !tbaa !16 %40 = load i32, ptr @TCA_ACT_BPF_PAD, align 4, !tbaa !16 %41 = call i64 @nla_put_64bit(ptr noundef %0, i32 noundef %39, i32 noundef 4, ptr noundef nonnull %6, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = call i32 @spin_unlock_bh(ptr noundef nonnull %8) #3 %45 = load i32, ptr %0, align 4, !tbaa !17 br label %49 46: ; preds = %36, %33, %4 %47 = call i32 @spin_unlock_bh(ptr noundef nonnull %8) #3 %48 = call i32 @nlmsg_trim(ptr noundef %0, ptr noundef %7) #3 br label %49 49: ; preds = %46, %43 %50 = phi i32 [ -1, %46 ], [ %45, %43 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %50 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @skb_tail_pointer(ptr noundef) local_unnamed_addr #2 declare ptr @to_bpf(ptr noundef) local_unnamed_addr #2 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #2 declare i32 @refcount_read(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2 declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tcf_bpf_is_ebpf(ptr noundef) local_unnamed_addr #2 declare i32 @tcf_bpf_dump_ebpf_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tcf_bpf_dump_bpf_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tcf_tm_dump(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nla_put_64bit(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @nlmsg_trim(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"tc_act_bpf", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!12, !7, i64 20} !12 = !{!"tcf_bpf", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !13 = !{!6, !7, i64 12} !14 = !{!12, !7, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"sk_buff", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_bpf.c_tcf_bpf_dump.c' source_filename = "AnghaBench/linux/net/sched/extr_act_bpf.c_tcf_bpf_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tc_act_bpf = type { i32, i32, i32, i32 } %struct.tcf_t = type { i32 } @TCA_ACT_BPF_PARMS = common local_unnamed_addr global i32 0, align 4 @TCA_ACT_BPF_TM = common local_unnamed_addr global i32 0, align 4 @TCA_ACT_BPF_PAD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tcf_bpf_dump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcf_bpf_dump(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.tc_act_bpf, align 4 %6 = alloca %struct.tcf_t, align 4 %7 = tail call ptr @skb_tail_pointer(ptr noundef %0) #3 %8 = tail call ptr @to_bpf(ptr noundef %1) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %9 = getelementptr inbounds i8, ptr %5, i64 4 %10 = getelementptr inbounds i8, ptr %8, i64 12 %11 = tail call i32 @atomic_read(ptr noundef nonnull %10) #3 %12 = sub nsw i32 %11, %2 store i32 %12, ptr %9, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %5, i64 8 %14 = getelementptr inbounds i8, ptr %8, i64 16 %15 = tail call i32 @refcount_read(ptr noundef nonnull %14) #3 %16 = sub nsw i32 %15, %3 store i32 %16, ptr %13, align 4, !tbaa !11 %17 = getelementptr inbounds i8, ptr %5, i64 12 %18 = getelementptr inbounds i8, ptr %8, i64 20 %19 = load i32, ptr %18, align 4, !tbaa !12 store i32 %19, ptr %17, align 4, !tbaa !14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %20 = tail call i32 @spin_lock_bh(ptr noundef %8) #3 %21 = getelementptr inbounds i8, ptr %8, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !15 store i32 %22, ptr %5, align 4, !tbaa !16 %23 = load i32, ptr @TCA_ACT_BPF_PARMS, align 4, !tbaa !17 %24 = call i64 @nla_put(ptr noundef %0, i32 noundef %23, i32 noundef 16, ptr noundef nonnull %5) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %46 26: ; preds = %4 %27 = call i64 @tcf_bpf_is_ebpf(ptr noundef nonnull %8) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = call i32 @tcf_bpf_dump_ebpf_info(ptr noundef nonnull %8, ptr noundef %0) #3 br label %33 31: ; preds = %26 %32 = call i32 @tcf_bpf_dump_bpf_info(ptr noundef nonnull %8, ptr noundef %0) #3 br label %33 33: ; preds = %31, %29 %34 = phi i32 [ %30, %29 ], [ %32, %31 ] %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %46 36: ; preds = %33 %37 = getelementptr inbounds i8, ptr %8, i64 4 %38 = call i32 @tcf_tm_dump(ptr noundef nonnull %6, ptr noundef nonnull %37) #3 %39 = load i32, ptr @TCA_ACT_BPF_TM, align 4, !tbaa !17 %40 = load i32, ptr @TCA_ACT_BPF_PAD, align 4, !tbaa !17 %41 = call i64 @nla_put_64bit(ptr noundef %0, i32 noundef %39, i32 noundef 4, ptr noundef nonnull %6, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = call i32 @spin_unlock_bh(ptr noundef nonnull %8) #3 %45 = load i32, ptr %0, align 4, !tbaa !18 br label %49 46: ; preds = %36, %33, %4 %47 = call i32 @spin_unlock_bh(ptr noundef nonnull %8) #3 %48 = call i32 @nlmsg_trim(ptr noundef %0, ptr noundef %7) #3 br label %49 49: ; preds = %46, %43 %50 = phi i32 [ -1, %46 ], [ %45, %43 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %50 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @skb_tail_pointer(ptr noundef) local_unnamed_addr #2 declare ptr @to_bpf(ptr noundef) local_unnamed_addr #2 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #2 declare i32 @refcount_read(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2 declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tcf_bpf_is_ebpf(ptr noundef) local_unnamed_addr #2 declare i32 @tcf_bpf_dump_ebpf_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tcf_bpf_dump_bpf_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tcf_tm_dump(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nla_put_64bit(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @nlmsg_trim(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"tc_act_bpf", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!13, !8, i64 20} !13 = !{!"tcf_bpf", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !14 = !{!7, !8, i64 12} !15 = !{!13, !8, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"sk_buff", !8, i64 0}
linux_net_sched_extr_act_bpf.c_tcf_bpf_dump
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/rocker/extr_rocker_ofdpa.c_ofdpa_port_master_unlinked.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/rocker/extr_rocker_ofdpa.c_ofdpa_port_master_unlinked.c" target datalayout = "e-m:e-p270:32:32-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 @ofdpa_port_master_unlinked], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ofdpa_port_master_unlinked(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i64 @ofdpa_port_is_bridged(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @ofdpa_port_bridge_leave(ptr noundef %3) #2 br label %13 8: ; preds = %2 %9 = tail call i64 @ofdpa_port_is_ovsed(ptr noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @ofdpa_port_ovs_changed(ptr noundef %3, ptr noundef null) #2 br label %13 13: ; preds = %8, %11, %6 %14 = phi i32 [ %7, %6 ], [ %12, %11 ], [ 0, %8 ] ret i32 %14 } declare i64 @ofdpa_port_is_bridged(ptr noundef) local_unnamed_addr #1 declare i32 @ofdpa_port_bridge_leave(ptr noundef) local_unnamed_addr #1 declare i64 @ofdpa_port_is_ovsed(ptr noundef) local_unnamed_addr #1 declare i32 @ofdpa_port_ovs_changed(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 = !{!"rocker_port", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/rocker/extr_rocker_ofdpa.c_ofdpa_port_master_unlinked.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/rocker/extr_rocker_ofdpa.c_ofdpa_port_master_unlinked.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 @ofdpa_port_master_unlinked], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ofdpa_port_master_unlinked(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i64 @ofdpa_port_is_bridged(ptr noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @ofdpa_port_bridge_leave(ptr noundef %3) #2 br label %13 8: ; preds = %2 %9 = tail call i64 @ofdpa_port_is_ovsed(ptr noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @ofdpa_port_ovs_changed(ptr noundef %3, ptr noundef null) #2 br label %13 13: ; preds = %8, %11, %6 %14 = phi i32 [ %7, %6 ], [ %12, %11 ], [ 0, %8 ] ret i32 %14 } declare i64 @ofdpa_port_is_bridged(ptr noundef) local_unnamed_addr #1 declare i32 @ofdpa_port_bridge_leave(ptr noundef) local_unnamed_addr #1 declare i64 @ofdpa_port_is_ovsed(ptr noundef) local_unnamed_addr #1 declare i32 @ofdpa_port_ovs_changed(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 = !{!"rocker_port", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_rocker_extr_rocker_ofdpa.c_ofdpa_port_master_unlinked
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/mm/extr_sram-alloc.c_l2_sram_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/mm/extr_sram-alloc.c_l2_sram_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" @free_l2_sram_head = dso_local local_unnamed_addr global i32 0, align 4 @l2_sram_lock = dso_local local_unnamed_addr global i32 0, align 4 @used_l2_sram_head = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @l2_sram_free(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/mm/extr_sram-alloc.c_l2_sram_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/mm/extr_sram-alloc.c_l2_sram_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @free_l2_sram_head = common local_unnamed_addr global i32 0, align 4 @l2_sram_lock = common local_unnamed_addr global i32 0, align 4 @used_l2_sram_head = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @l2_sram_free(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_blackfin_mm_extr_sram-alloc.c_l2_sram_free
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_state_eval_encoder_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_state_eval_encoder_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pvr2_hdw = type { i32, i32, i64, i64, %struct.TYPE_4__, i32, i64, i64, i32, i32 } %struct.TYPE_4__ = type { i64 } @.str = private unnamed_addr constant [21 x i8] c"state_encoder_waitok\00", align 1 @PVR2_PATHWAY_ANALOG = dso_local local_unnamed_addr global i64 0, align 8 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @HZ = dso_local local_unnamed_addr global i32 0, align 4 @TIME_MSEC_ENCODER_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"state_encoder_config\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @state_eval_encoder_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @state_eval_encoder_config(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %21, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = icmp eq i64 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 6 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %8 %13 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 7 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = icmp eq i64 %14, 0 br i1 %15, label %90, label %16 16: ; preds = %8, %12, %4 store i32 0, ptr %0, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 1 store i32 0, ptr %17, align 4, !tbaa !15 %18 = tail call i32 @trace_stbit(ptr noundef nonnull @.str, i32 noundef 0) #2 %19 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 4 %20 = tail call i32 @del_timer_sync(ptr noundef nonnull %19) #2 br label %87 21: ; preds = %1 %22 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 9 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = icmp eq i32 %23, 0 br i1 %24, label %50, label %25 25: ; preds = %21 %26 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 2 %27 = load i64, ptr %26, align 8, !tbaa !17 %28 = load i64, ptr @PVR2_PATHWAY_ANALOG, align 8, !tbaa !18 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %50 30: ; preds = %25 %31 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 3 %32 = load i64, ptr %31, align 8, !tbaa !12 %33 = icmp eq i64 %32, 0 br i1 %33, label %50, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 8 %36 = load i32, ptr %35, align 8, !tbaa !19 %37 = icmp eq i32 %36, 0 br i1 %37, label %50, label %38 38: ; preds = %34 %39 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 7 %40 = load i64, ptr %39, align 8, !tbaa !14 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %50 42: ; preds = %38 %43 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 6 %44 = load i64, ptr %43, align 8, !tbaa !13 %45 = icmp eq i64 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 5 %48 = load i32, ptr %47, align 8, !tbaa !20 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %62 50: ; preds = %46, %42, %38, %34, %30, %25, %21 %51 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 4 %52 = tail call i64 @timer_pending(ptr noundef nonnull %51) #2 %53 = icmp eq i64 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %50 %55 = tail call i32 @del_timer_sync(ptr noundef nonnull %51) #2 br label %56 56: ; preds = %54, %50 %57 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 1 %58 = load i32, ptr %57, align 4, !tbaa !15 %59 = icmp eq i32 %58, 0 br i1 %59, label %90, label %60 60: ; preds = %56 store i32 0, ptr %57, align 4, !tbaa !15 %61 = tail call i32 @trace_stbit(ptr noundef nonnull @.str, i32 noundef 0) #2 br label %90 62: ; preds = %46 %63 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !15 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %82 66: ; preds = %62 %67 = getelementptr inbounds %struct.pvr2_hdw, ptr %0, i64 0, i32 4 %68 = tail call i64 @timer_pending(ptr noundef nonnull %67) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %90 70: ; preds = %66 %71 = load i32, ptr %63, align 4, !tbaa !15 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %90 73: ; preds = %70 %74 = load i64, ptr @jiffies, align 8, !tbaa !18 %75 = load i32, ptr @HZ, align 4, !tbaa !21 %76 = load i32, ptr @TIME_MSEC_ENCODER_WAIT, align 4, !tbaa !21 %77 = mul nsw i32 %76, %75 %78 = sdiv i32 %77, 1000 %79 = sext i32 %78 to i64 %80 = add nsw i64 %74, %79 store i64 %80, ptr %67, align 8, !tbaa !22 %81 = tail call i32 @add_timer(ptr noundef nonnull %67) #2 br label %90 82: ; preds = %62 %83 = tail call i32 @pvr2_encoder_configure(ptr noundef nonnull %0) #2 %84 = load i64, ptr %31, align 8, !tbaa !12 %85 = icmp eq i64 %84, 0 br i1 %85, label %87, label %86 86: ; preds = %82 store i32 1, ptr %0, align 8, !tbaa !5 br label %87 87: ; preds = %82, %86, %16 %88 = load i32, ptr %0, align 8, !tbaa !5 %89 = tail call i32 @trace_stbit(ptr noundef nonnull @.str.1, i32 noundef %88) #2 br label %90 90: ; preds = %66, %73, %70, %56, %12, %87, %60 %91 = phi i32 [ 1, %87 ], [ 1, %60 ], [ 0, %12 ], [ 0, %56 ], [ 0, %70 ], [ 0, %73 ], [ 0, %66 ] ret i32 %91 } declare i32 @trace_stbit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1 declare i64 @timer_pending(ptr noundef) local_unnamed_addr #1 declare i32 @add_timer(ptr noundef) local_unnamed_addr #1 declare i32 @pvr2_encoder_configure(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 = !{!"pvr2_hdw", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !7, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"TYPE_4__", !10, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!6, !10, i64 40} !14 = !{!6, !10, i64 48} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 60} !17 = !{!6, !10, i64 8} !18 = !{!10, !10, i64 0} !19 = !{!6, !7, i64 56} !20 = !{!6, !7, i64 32} !21 = !{!7, !7, i64 0} !22 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_state_eval_encoder_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_state_eval_encoder_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"state_encoder_waitok\00", align 1 @PVR2_PATHWAY_ANALOG = common local_unnamed_addr global i64 0, align 8 @jiffies = common local_unnamed_addr global i64 0, align 8 @HZ = common local_unnamed_addr global i32 0, align 4 @TIME_MSEC_ENCODER_WAIT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"state_encoder_config\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @state_eval_encoder_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @state_eval_encoder_config(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %20, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = icmp eq i64 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 40 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %8 %13 = getelementptr inbounds i8, ptr %0, i64 48 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = icmp eq i64 %14, 0 br i1 %15, label %89, label %16 16: ; preds = %8, %12, %4 store <2 x i32> zeroinitializer, ptr %0, align 8, !tbaa !16 %17 = tail call i32 @trace_stbit(ptr noundef nonnull @.str, i32 noundef 0) #2 %18 = getelementptr inbounds i8, ptr %0, i64 24 %19 = tail call i32 @del_timer_sync(ptr noundef nonnull %18) #2 br label %86 20: ; preds = %1 %21 = getelementptr inbounds i8, ptr %0, i64 60 %22 = load i32, ptr %21, align 4, !tbaa !17 %23 = icmp eq i32 %22, 0 br i1 %23, label %49, label %24 24: ; preds = %20 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = load i64, ptr @PVR2_PATHWAY_ANALOG, align 8, !tbaa !19 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %49 29: ; preds = %24 %30 = getelementptr inbounds i8, ptr %0, i64 16 %31 = load i64, ptr %30, align 8, !tbaa !13 %32 = icmp eq i64 %31, 0 br i1 %32, label %49, label %33 33: ; preds = %29 %34 = getelementptr inbounds i8, ptr %0, i64 56 %35 = load i32, ptr %34, align 8, !tbaa !20 %36 = icmp eq i32 %35, 0 br i1 %36, label %49, label %37 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %0, i64 48 %39 = load i64, ptr %38, align 8, !tbaa !15 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %37 %42 = getelementptr inbounds i8, ptr %0, i64 40 %43 = load i64, ptr %42, align 8, !tbaa !14 %44 = icmp eq i64 %43, 0 br i1 %44, label %49, label %45 45: ; preds = %41 %46 = getelementptr inbounds i8, ptr %0, i64 32 %47 = load i32, ptr %46, align 8, !tbaa !21 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %61 49: ; preds = %45, %41, %37, %33, %29, %24, %20 %50 = getelementptr inbounds i8, ptr %0, i64 24 %51 = tail call i64 @timer_pending(ptr noundef nonnull %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %55, label %53 53: ; preds = %49 %54 = tail call i32 @del_timer_sync(ptr noundef nonnull %50) #2 br label %55 55: ; preds = %53, %49 %56 = getelementptr inbounds i8, ptr %0, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !22 %58 = icmp eq i32 %57, 0 br i1 %58, label %89, label %59 59: ; preds = %55 store i32 0, ptr %56, align 4, !tbaa !22 %60 = tail call i32 @trace_stbit(ptr noundef nonnull @.str, i32 noundef 0) #2 br label %89 61: ; preds = %45 %62 = getelementptr inbounds i8, ptr %0, i64 4 %63 = load i32, ptr %62, align 4, !tbaa !22 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %81 65: ; preds = %61 %66 = getelementptr inbounds i8, ptr %0, i64 24 %67 = tail call i64 @timer_pending(ptr noundef nonnull %66) #2 %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %89 69: ; preds = %65 %70 = load i32, ptr %62, align 4, !tbaa !22 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %89 72: ; preds = %69 %73 = load i64, ptr @jiffies, align 8, !tbaa !19 %74 = load i32, ptr @HZ, align 4, !tbaa !16 %75 = load i32, ptr @TIME_MSEC_ENCODER_WAIT, align 4, !tbaa !16 %76 = mul nsw i32 %75, %74 %77 = sdiv i32 %76, 1000 %78 = sext i32 %77 to i64 %79 = add nsw i64 %73, %78 store i64 %79, ptr %66, align 8, !tbaa !23 %80 = tail call i32 @add_timer(ptr noundef nonnull %66) #2 br label %89 81: ; preds = %61 %82 = tail call i32 @pvr2_encoder_configure(ptr noundef nonnull %0) #2 %83 = load i64, ptr %30, align 8, !tbaa !13 %84 = icmp eq i64 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %81 store i32 1, ptr %0, align 8, !tbaa !6 br label %86 86: ; preds = %81, %85, %16 %87 = load i32, ptr %0, align 8, !tbaa !6 %88 = tail call i32 @trace_stbit(ptr noundef nonnull @.str.1, i32 noundef %87) #2 br label %89 89: ; preds = %65, %72, %69, %55, %12, %86, %59 %90 = phi i32 [ 1, %86 ], [ 1, %59 ], [ 0, %12 ], [ 0, %55 ], [ 0, %69 ], [ 0, %72 ], [ 0, %65 ] ret i32 %90 } declare i32 @trace_stbit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1 declare i64 @timer_pending(ptr noundef) local_unnamed_addr #1 declare i32 @add_timer(ptr noundef) local_unnamed_addr #1 declare i32 @pvr2_encoder_configure(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 = !{!"pvr2_hdw", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, i64 24, !8, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !8, i64 60} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"TYPE_4__", !11, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!7, !11, i64 40} !15 = !{!7, !11, i64 48} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 60} !18 = !{!7, !11, i64 8} !19 = !{!11, !11, i64 0} !20 = !{!7, !8, i64 56} !21 = !{!7, !8, i64 32} !22 = !{!7, !8, i64 4} !23 = !{!7, !11, i64 24}
fastsocket_kernel_drivers_media_video_pvrusb2_extr_pvrusb2-hdw.c_state_eval_encoder_config
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer.c_IJK_GLES2_Renderer_create_base.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer.c_IJK_GLES2_Renderer_create_base.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32, ptr, ptr, ptr, ptr } @GL_VERTEX_SHADER = dso_local local_unnamed_addr global i32 0, align 4 @GL_FRAGMENT_SHADER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"glCreateProgram\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"glAttachShader(vertex)\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"glAttachShader(fragment)\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"glLinkProgram\00", align 1 @GL_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @GL_LINK_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"av4_Position\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"glGetAttribLocation(av4_Position)\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"av2_Texcoord\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"glGetAttribLocation(av2_Texcoord)\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"um4_ModelViewProjection\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"glGetUniformLocation(um4_ModelViewProjection)\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @IJK_GLES2_Renderer_create_base(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i64 @calloc(i32 noundef 1, i32 noundef 48) #2 %5 = inttoptr i64 %4 to ptr %6 = icmp eq i64 %4, 0 br i1 %6, label %58, label %7 7: ; preds = %1 %8 = load i32, ptr @GL_VERTEX_SHADER, align 4, !tbaa !5 %9 = tail call ptr (...) @IJK_GLES2_getVertexShader_default() #2 %10 = tail call ptr @IJK_GLES2_loadShader(i32 noundef %8, ptr noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 5 store ptr %10, ptr %11, align 8, !tbaa !9 %12 = icmp eq ptr %10, null br i1 %12, label %53, label %13 13: ; preds = %7 %14 = load i32, ptr @GL_FRAGMENT_SHADER, align 4, !tbaa !5 %15 = tail call ptr @IJK_GLES2_loadShader(i32 noundef %14, ptr noundef %0) #2 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 4 store ptr %15, ptr %16, align 8, !tbaa !13 %17 = icmp eq ptr %15, null br i1 %17, label %53, label %18 18: ; preds = %13 %19 = tail call i64 (...) @glCreateProgram() #2 store i64 %19, ptr %5, align 8, !tbaa !14 %20 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str) #2 %21 = load i64, ptr %5, align 8, !tbaa !14 %22 = icmp eq i64 %21, 0 br i1 %22, label %58, label %23 23: ; preds = %18 %24 = load ptr, ptr %11, align 8, !tbaa !9 %25 = tail call i32 @glAttachShader(i64 noundef %21, ptr noundef %24) #2 %26 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.1) #2 %27 = load i64, ptr %5, align 8, !tbaa !14 %28 = load ptr, ptr %16, align 8, !tbaa !13 %29 = tail call i32 @glAttachShader(i64 noundef %27, ptr noundef %28) #2 %30 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.2) #2 %31 = load i64, ptr %5, align 8, !tbaa !14 %32 = tail call i32 @glLinkProgram(i64 noundef %31) #2 %33 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.3) #2 %34 = load i32, ptr @GL_FALSE, align 4, !tbaa !5 store i32 %34, ptr %2, align 4, !tbaa !5 %35 = load i64, ptr %5, align 8, !tbaa !14 %36 = load i32, ptr @GL_LINK_STATUS, align 4, !tbaa !5 %37 = call i32 @glGetProgramiv(i64 noundef %35, i32 noundef %36, ptr noundef nonnull %2) #2 %38 = load i32, ptr %2, align 4, !tbaa !5 %39 = icmp eq i32 %38, 0 br i1 %39, label %53, label %40 40: ; preds = %23 %41 = load i64, ptr %5, align 8, !tbaa !14 %42 = call ptr @glGetAttribLocation(i64 noundef %41, ptr noundef nonnull @.str.4) #2 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 3 store ptr %42, ptr %43, align 8, !tbaa !15 %44 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.5) #2 %45 = load i64, ptr %5, align 8, !tbaa !14 %46 = call ptr @glGetAttribLocation(i64 noundef %45, ptr noundef nonnull @.str.6) #2 %47 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2 store ptr %46, ptr %47, align 8, !tbaa !16 %48 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.7) #2 %49 = load i64, ptr %5, align 8, !tbaa !14 %50 = call i32 @glGetUniformLocation(i64 noundef %49, ptr noundef nonnull @.str.8) #2 %51 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1 store i32 %50, ptr %51, align 8, !tbaa !17 %52 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.9) #2 br label %60 53: ; preds = %7, %13, %23 %54 = load i64, ptr %5, align 8, !tbaa !14 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %53 %57 = call i32 @IJK_GLES2_printProgramInfo(i64 noundef %54) #2 br label %58 58: ; preds = %18, %1, %56, %53 %59 = call i32 @IJK_GLES2_Renderer_free(ptr noundef %5) #2 br label %60 60: ; preds = %58, %40 %61 = phi ptr [ %5, %40 ], [ null, %58 ] ret ptr %61 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @IJK_GLES2_loadShader(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @IJK_GLES2_getVertexShader_default(...) local_unnamed_addr #1 declare i64 @glCreateProgram(...) local_unnamed_addr #1 declare i32 @IJK_GLES2_checkError(ptr noundef) local_unnamed_addr #1 declare i32 @glAttachShader(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @glLinkProgram(i64 noundef) local_unnamed_addr #1 declare i32 @glGetProgramiv(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @glGetAttribLocation(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_checkError_TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @glGetUniformLocation(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_printProgramInfo(i64 noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_Renderer_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 40} !10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 32} !14 = !{!10, !11, i64 0} !15 = !{!10, !12, i64 24} !16 = !{!10, !12, i64 16} !17 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer.c_IJK_GLES2_Renderer_create_base.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer.c_IJK_GLES2_Renderer_create_base.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GL_VERTEX_SHADER = common local_unnamed_addr global i32 0, align 4 @GL_FRAGMENT_SHADER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"glCreateProgram\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"glAttachShader(vertex)\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"glAttachShader(fragment)\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"glLinkProgram\00", align 1 @GL_FALSE = common local_unnamed_addr global i32 0, align 4 @GL_LINK_STATUS = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"av4_Position\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"glGetAttribLocation(av4_Position)\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"av2_Texcoord\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"glGetAttribLocation(av2_Texcoord)\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"um4_ModelViewProjection\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"glGetUniformLocation(um4_ModelViewProjection)\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @IJK_GLES2_Renderer_create_base(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i64 @calloc(i32 noundef 1, i32 noundef 48) #2 %5 = inttoptr i64 %4 to ptr %6 = icmp eq i64 %4, 0 br i1 %6, label %58, label %7 7: ; preds = %1 %8 = load i32, ptr @GL_VERTEX_SHADER, align 4, !tbaa !6 %9 = tail call ptr @IJK_GLES2_getVertexShader_default() #2 %10 = tail call ptr @IJK_GLES2_loadShader(i32 noundef %8, ptr noundef %9) #2 %11 = getelementptr inbounds i8, ptr %5, i64 40 store ptr %10, ptr %11, align 8, !tbaa !10 %12 = icmp eq ptr %10, null br i1 %12, label %53, label %13 13: ; preds = %7 %14 = load i32, ptr @GL_FRAGMENT_SHADER, align 4, !tbaa !6 %15 = tail call ptr @IJK_GLES2_loadShader(i32 noundef %14, ptr noundef %0) #2 %16 = getelementptr inbounds i8, ptr %5, i64 32 store ptr %15, ptr %16, align 8, !tbaa !14 %17 = icmp eq ptr %15, null br i1 %17, label %53, label %18 18: ; preds = %13 %19 = tail call i64 @glCreateProgram() #2 store i64 %19, ptr %5, align 8, !tbaa !15 %20 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str) #2 %21 = load i64, ptr %5, align 8, !tbaa !15 %22 = icmp eq i64 %21, 0 br i1 %22, label %58, label %23 23: ; preds = %18 %24 = load ptr, ptr %11, align 8, !tbaa !10 %25 = tail call i32 @glAttachShader(i64 noundef %21, ptr noundef %24) #2 %26 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.1) #2 %27 = load i64, ptr %5, align 8, !tbaa !15 %28 = load ptr, ptr %16, align 8, !tbaa !14 %29 = tail call i32 @glAttachShader(i64 noundef %27, ptr noundef %28) #2 %30 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.2) #2 %31 = load i64, ptr %5, align 8, !tbaa !15 %32 = tail call i32 @glLinkProgram(i64 noundef %31) #2 %33 = tail call i32 @IJK_GLES2_checkError(ptr noundef nonnull @.str.3) #2 %34 = load i32, ptr @GL_FALSE, align 4, !tbaa !6 store i32 %34, ptr %2, align 4, !tbaa !6 %35 = load i64, ptr %5, align 8, !tbaa !15 %36 = load i32, ptr @GL_LINK_STATUS, align 4, !tbaa !6 %37 = call i32 @glGetProgramiv(i64 noundef %35, i32 noundef %36, ptr noundef nonnull %2) #2 %38 = load i32, ptr %2, align 4, !tbaa !6 %39 = icmp eq i32 %38, 0 br i1 %39, label %53, label %40 40: ; preds = %23 %41 = load i64, ptr %5, align 8, !tbaa !15 %42 = call ptr @glGetAttribLocation(i64 noundef %41, ptr noundef nonnull @.str.4) #2 %43 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %42, ptr %43, align 8, !tbaa !16 %44 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.5) #2 %45 = load i64, ptr %5, align 8, !tbaa !15 %46 = call ptr @glGetAttribLocation(i64 noundef %45, ptr noundef nonnull @.str.6) #2 %47 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %46, ptr %47, align 8, !tbaa !17 %48 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.7) #2 %49 = load i64, ptr %5, align 8, !tbaa !15 %50 = call i32 @glGetUniformLocation(i64 noundef %49, ptr noundef nonnull @.str.8) #2 %51 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %50, ptr %51, align 8, !tbaa !18 %52 = call i32 @IJK_GLES2_checkError_TRACE(ptr noundef nonnull @.str.9) #2 br label %60 53: ; preds = %7, %13, %23 %54 = load i64, ptr %5, align 8, !tbaa !15 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %53 %57 = call i32 @IJK_GLES2_printProgramInfo(i64 noundef %54) #2 br label %58 58: ; preds = %18, %1, %56, %53 %59 = call i32 @IJK_GLES2_Renderer_free(ptr noundef %5) #2 br label %60 60: ; preds = %58, %40 %61 = phi ptr [ %5, %40 ], [ null, %58 ] ret ptr %61 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @IJK_GLES2_loadShader(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @IJK_GLES2_getVertexShader_default(...) local_unnamed_addr #1 declare i64 @glCreateProgram(...) local_unnamed_addr #1 declare i32 @IJK_GLES2_checkError(ptr noundef) local_unnamed_addr #1 declare i32 @glAttachShader(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @glLinkProgram(i64 noundef) local_unnamed_addr #1 declare i32 @glGetProgramiv(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @glGetAttribLocation(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_checkError_TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @glGetUniformLocation(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_printProgramInfo(i64 noundef) local_unnamed_addr #1 declare i32 @IJK_GLES2_Renderer_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 40} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 32} !15 = !{!11, !12, i64 0} !16 = !{!11, !13, i64 24} !17 = !{!11, !13, i64 16} !18 = !{!11, !7, i64 8}
ijkplayer_ijkmedia_ijksdl_gles2_extr_renderer.c_IJK_GLES2_Renderer_create_base
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_ra144.c_ff_rms.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_ra144.c_ff_rms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LPC_ORDER = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ff_rms(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @LPC_ORDER, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %31 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 br label %6 6: ; preds = %4, %26 %7 = phi i64 [ 0, %4 ], [ %29, %26 ] %8 = phi i32 [ %2, %4 ], [ %28, %26 ] %9 = phi i32 [ 65536, %4 ], [ %27, %26 ] %10 = getelementptr inbounds i32, ptr %0, i64 %7 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = mul nsw i32 %11, %11 %13 = sub nsw i32 16777216, %12 %14 = ashr i32 %13, 12 %15 = mul i32 %14, %9 %16 = icmp ult i32 %15, 4096 br i1 %16, label %36, label %17 17: ; preds = %6 %18 = lshr i32 %15, 12 %19 = icmp ult i32 %15, 67108864 br i1 %19, label %20, label %26 20: ; preds = %17, %20 %21 = phi i32 [ %23, %20 ], [ %8, %17 ] %22 = phi i32 [ %24, %20 ], [ %18, %17 ] %23 = add nsw i32 %21, 1 %24 = shl nuw nsw i32 %22, 2 %25 = icmp ult i32 %22, 4096 br i1 %25, label %20, label %26, !llvm.loop !9 26: ; preds = %20, %17 %27 = phi i32 [ %18, %17 ], [ %24, %20 ] %28 = phi i32 [ %8, %17 ], [ %23, %20 ] %29 = add nuw nsw i64 %7, 1 %30 = icmp eq i64 %29, %5 br i1 %30, label %31, label %6, !llvm.loop !11 31: ; preds = %26, %1 %32 = phi i32 [ 65536, %1 ], [ %27, %26 ] %33 = phi i32 [ %2, %1 ], [ %28, %26 ] %34 = tail call i32 @ff_t_sqrt(i32 noundef %32) #2 %35 = ashr i32 %34, %33 br label %36 36: ; preds = %6, %31 %37 = phi i32 [ %35, %31 ], [ 0, %6 ] ret i32 %37 } declare i32 @ff_t_sqrt(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_ra144.c_ff_rms.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_ra144.c_ff_rms.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPC_ORDER = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ff_rms(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @LPC_ORDER, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %31 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 br label %6 6: ; preds = %4, %26 %7 = phi i64 [ 0, %4 ], [ %29, %26 ] %8 = phi i32 [ %2, %4 ], [ %28, %26 ] %9 = phi i32 [ 65536, %4 ], [ %27, %26 ] %10 = getelementptr inbounds i32, ptr %0, i64 %7 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = mul nsw i32 %11, %11 %13 = sub nsw i32 16777216, %12 %14 = ashr i32 %13, 12 %15 = mul i32 %14, %9 %16 = icmp ult i32 %15, 4096 br i1 %16, label %36, label %17 17: ; preds = %6 %18 = lshr i32 %15, 12 %19 = icmp ult i32 %15, 67108864 br i1 %19, label %20, label %26 20: ; preds = %17, %20 %21 = phi i32 [ %23, %20 ], [ %8, %17 ] %22 = phi i32 [ %24, %20 ], [ %18, %17 ] %23 = add nsw i32 %21, 1 %24 = shl nuw nsw i32 %22, 2 %25 = icmp ult i32 %22, 4096 br i1 %25, label %20, label %26, !llvm.loop !10 26: ; preds = %20, %17 %27 = phi i32 [ %18, %17 ], [ %24, %20 ] %28 = phi i32 [ %8, %17 ], [ %23, %20 ] %29 = add nuw nsw i64 %7, 1 %30 = icmp eq i64 %29, %5 br i1 %30, label %31, label %6, !llvm.loop !12 31: ; preds = %26, %1 %32 = phi i32 [ 65536, %1 ], [ %27, %26 ] %33 = phi i32 [ %2, %1 ], [ %28, %26 ] %34 = tail call i32 @ff_t_sqrt(i32 noundef %32) #2 %35 = ashr i32 %34, %33 br label %36 36: ; preds = %6, %31 %37 = phi i32 [ %35, %31 ], [ 0, %6 ] ret i32 %37 } declare i32 @ff_t_sqrt(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
FFmpeg_libavcodec_extr_ra144.c_ff_rms
; ModuleID = 'AnghaBench/freebsd/lib/libbluetooth/extr_hci.c_bt_devfilter_pkt_clr.c' source_filename = "AnghaBench/freebsd/lib/libbluetooth/extr_hci.c_bt_devfilter_pkt_clr.c" target datalayout = "e-m:e-p270:32:32-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 @bt_devfilter_pkt_clr(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = add nsw i64 %1, -1 %5 = tail call i32 @bit_clear(i32 noundef %3, i64 noundef %4) #2 ret void } declare i32 @bit_clear(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bt_devfilter", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/lib/libbluetooth/extr_hci.c_bt_devfilter_pkt_clr.c' source_filename = "AnghaBench/freebsd/lib/libbluetooth/extr_hci.c_bt_devfilter_pkt_clr.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 @bt_devfilter_pkt_clr(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = add nsw i64 %1, -1 %5 = tail call i32 @bit_clear(i32 noundef %3, i64 noundef %4) #2 ret void } declare i32 @bit_clear(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bt_devfilter", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_lib_libbluetooth_extr_hci.c_bt_devfilter_pkt_clr
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lparser.c_labelstat.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_lparser.c_labelstat.c" target datalayout = "e-m:e-p270:32:32-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_20__ = type { ptr, ptr } %struct.TYPE_17__ = type { i32 } @TK_DBCOLON = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @labelstat], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @labelstat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = tail call i32 @checkrepeated(ptr noundef %5, ptr noundef %6, ptr noundef %1) #2 %8 = load i32, ptr @TK_DBCOLON, align 4, !tbaa !11 %9 = tail call i32 @checknext(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = tail call i32 @luaK_getlabel(ptr noundef %5) #2 %11 = tail call i32 @newlabelentry(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %1, i32 noundef %2, i32 noundef %10) #2 %12 = tail call i32 @skipnoopstat(ptr noundef nonnull %0) #2 %13 = tail call i64 @block_follow(ptr noundef nonnull %0, i32 noundef 0) #2 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %6, align 8, !tbaa !13 br i1 %14, label %16, label %18 16: ; preds = %3 %17 = sext i32 %11 to i64 br label %23 18: ; preds = %3 %19 = load ptr, ptr %5, align 8, !tbaa !15 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = sext i32 %11 to i64 %22 = getelementptr inbounds %struct.TYPE_17__, ptr %15, i64 %21 store i32 %20, ptr %22, align 4, !tbaa !19 br label %23 23: ; preds = %16, %18 %24 = phi i64 [ %17, %16 ], [ %21, %18 ] %25 = getelementptr inbounds %struct.TYPE_17__, ptr %15, i64 %24 %26 = tail call i32 @findgotos(ptr noundef nonnull %0, ptr noundef %25) #2 ret void } declare i32 @checkrepeated(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @checknext(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @newlabelentry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaK_getlabel(ptr noundef) local_unnamed_addr #1 declare i32 @skipnoopstat(ptr noundef) local_unnamed_addr #1 declare i64 @block_follow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @findgotos(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 = !{!"TYPE_20__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_21__", !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_22__", !7, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_18__", !12, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_17__", !12, i64 0}
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lparser.c_labelstat.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_lparser.c_labelstat.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i32 } @TK_DBCOLON = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @labelstat], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @labelstat(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 = load ptr, ptr %0, align 8, !tbaa !11 %7 = tail call i32 @checkrepeated(ptr noundef %5, ptr noundef %6, ptr noundef %1) #2 %8 = load i32, ptr @TK_DBCOLON, align 4, !tbaa !12 %9 = tail call i32 @checknext(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = tail call i32 @luaK_getlabel(ptr noundef %5) #2 %11 = tail call i32 @newlabelentry(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %1, i32 noundef %2, i32 noundef %10) #2 %12 = tail call i32 @skipnoopstat(ptr noundef nonnull %0) #2 %13 = tail call i64 @block_follow(ptr noundef nonnull %0, i32 noundef 0) #2 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %6, align 8, !tbaa !14 br i1 %14, label %16, label %18 16: ; preds = %3 %17 = sext i32 %11 to i64 br label %23 18: ; preds = %3 %19 = load ptr, ptr %5, align 8, !tbaa !16 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = sext i32 %11 to i64 %22 = getelementptr inbounds %struct.TYPE_17__, ptr %15, i64 %21 store i32 %20, ptr %22, align 4, !tbaa !20 br label %23 23: ; preds = %16, %18 %24 = phi i64 [ %17, %16 ], [ %21, %18 ] %25 = getelementptr inbounds %struct.TYPE_17__, ptr %15, i64 %24 %26 = tail call i32 @findgotos(ptr noundef nonnull %0, ptr noundef %25) #2 ret void } declare i32 @checkrepeated(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @checknext(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @newlabelentry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaK_getlabel(ptr noundef) local_unnamed_addr #1 declare i32 @skipnoopstat(ptr noundef) local_unnamed_addr #1 declare i64 @block_follow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @findgotos(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 = !{!"TYPE_20__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_21__", !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_22__", !8, i64 0} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_18__", !13, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_17__", !13, i64 0}
skynet_3rd_lua_extr_lparser.c_labelstat
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode-map.c_btrfs_find_free_objectid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode-map.c_btrfs_find_free_objectid.c" target datalayout = "e-m:e-p270:32:32-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_root = type { i64, i32 } @BTRFS_FIRST_FREE_OBJECTID = dso_local local_unnamed_addr global i64 0, align 8 @BTRFS_LAST_FREE_OBJECTID = dso_local local_unnamed_addr global i64 0, align 8 @ENOSPC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @btrfs_find_free_objectid(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.btrfs_root, ptr %0, i64 0, i32 1 %4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @BTRFS_FIRST_FREE_OBJECTID, align 8, !tbaa !11 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = tail call i32 @btrfs_find_highest_objectid(ptr noundef nonnull %0, ptr noundef nonnull %0) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %11, %2 %15 = load i64, ptr %0, align 8, !tbaa !5 %16 = load i64, ptr @BTRFS_LAST_FREE_OBJECTID, align 8, !tbaa !11 %17 = icmp sge i64 %15, %16 %18 = zext i1 %17 to i32 %19 = tail call i64 @unlikely(i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr @ENOSPC, align 4, !tbaa !12 %23 = sub nsw i32 0, %22 br label %27 24: ; preds = %14 %25 = load i64, ptr %0, align 8, !tbaa !5 %26 = add nsw i64 %25, 1 store i64 %26, ptr %0, align 8, !tbaa !5 store i64 %26, ptr %1, align 8, !tbaa !11 br label %27 27: ; preds = %11, %24, %21 %28 = phi i32 [ %12, %11 ], [ %23, %21 ], [ 0, %24 ] %29 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 ret i32 %28 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_find_highest_objectid(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"btrfs_root", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode-map.c_btrfs_find_free_objectid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode-map.c_btrfs_find_free_objectid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTRFS_FIRST_FREE_OBJECTID = common local_unnamed_addr global i64 0, align 8 @BTRFS_LAST_FREE_OBJECTID = common local_unnamed_addr global i64 0, align 8 @ENOSPC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @btrfs_find_free_objectid(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @BTRFS_FIRST_FREE_OBJECTID, align 8, !tbaa !12 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = tail call i32 @btrfs_find_highest_objectid(ptr noundef nonnull %0, ptr noundef nonnull %0) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %11, %2 %15 = load i64, ptr %0, align 8, !tbaa !6 %16 = load i64, ptr @BTRFS_LAST_FREE_OBJECTID, align 8, !tbaa !12 %17 = icmp sge i64 %15, %16 %18 = zext i1 %17 to i32 %19 = tail call i64 @unlikely(i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr @ENOSPC, align 4, !tbaa !13 %23 = sub nsw i32 0, %22 br label %27 24: ; preds = %14 %25 = load i64, ptr %0, align 8, !tbaa !6 %26 = add nsw i64 %25, 1 store i64 %26, ptr %0, align 8, !tbaa !6 store i64 %26, ptr %1, align 8, !tbaa !12 br label %27 27: ; preds = %11, %24, %21 %28 = phi i32 [ %12, %11 ], [ %23, %21 ], [ 0, %24 ] %29 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 ret i32 %28 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_find_highest_objectid(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"btrfs_root", !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}
fastsocket_kernel_fs_btrfs_extr_inode-map.c_btrfs_find_free_objectid
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_cyber2000fb.c_cyber2000fb_blank.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_cyber2000fb.c_cyber2000fb_blank.c" target datalayout = "e-m:e-p270:32:32-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.cfb_info = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32, i32 } @EXT_SYNC_CTL_VS_0 = dso_local local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_HS_0 = dso_local local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_VS_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_HS_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL = dso_local local_unnamed_addr global i32 0, align 4 @RAMDAC_DACPWRDN = dso_local local_unnamed_addr global i32 0, align 4 @RAMDAC_BYPASS = dso_local local_unnamed_addr global i32 0, align 4 @RAMDAC_RAMPWRDN = dso_local local_unnamed_addr global i32 0, align 4 @NR_PALETTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cyber2000fb_blank], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cyber2000fb_blank(i32 noundef %0, ptr noundef %1) #0 { switch i32 %0, label %13 [ i32 129, label %5 i32 131, label %3 i32 128, label %4 ] 3: ; preds = %2 br label %5 4: ; preds = %2 br label %5 5: ; preds = %2, %4, %3 %6 = phi ptr [ @EXT_SYNC_CTL_VS_0, %4 ], [ @EXT_SYNC_CTL_VS_NORMAL, %3 ], [ @EXT_SYNC_CTL_VS_0, %2 ] %7 = phi ptr [ @EXT_SYNC_CTL_HS_NORMAL, %4 ], [ @EXT_SYNC_CTL_HS_0, %3 ], [ @EXT_SYNC_CTL_HS_0, %2 ] %8 = load i32, ptr %6, align 4, !tbaa !5 %9 = load i32, ptr %7, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = load i32, ptr @EXT_SYNC_CTL, align 4, !tbaa !5 %12 = tail call i32 @cyber2000_grphw(i32 noundef %11, i32 noundef %10, ptr noundef %1) #2 br label %28 13: ; preds = %2 %14 = load i32, ptr @EXT_SYNC_CTL, align 4, !tbaa !5 %15 = tail call i32 @cyber2000_grphw(i32 noundef %14, i32 noundef 0, ptr noundef %1) #2 %16 = icmp slt i32 %0, 2 br i1 %16, label %17, label %28 17: ; preds = %13 %18 = load i32, ptr @RAMDAC_DACPWRDN, align 4, !tbaa !5 %19 = load i32, ptr @RAMDAC_BYPASS, align 4, !tbaa !5 %20 = or i32 %19, %18 %21 = load i32, ptr @RAMDAC_RAMPWRDN, align 4, !tbaa !5 %22 = or i32 %20, %21 %23 = xor i32 %22, -1 %24 = load i32, ptr %1, align 8, !tbaa !9 %25 = and i32 %24, %23 store i32 %25, ptr %1, align 8, !tbaa !9 %26 = tail call i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %0, 0 br i1 %27, label %31, label %28 28: ; preds = %13, %5, %17 %29 = load i32, ptr @NR_PALETTE, align 4, !tbaa !5 %30 = icmp sgt i32 %29, 0 br i1 %30, label %36, label %65 31: ; preds = %17 %32 = load i32, ptr @NR_PALETTE, align 4, !tbaa !5 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %76 34: ; preds = %31 %35 = getelementptr inbounds %struct.cfb_info, ptr %1, i64 0, i32 1 br label %45 36: ; preds = %28, %36 %37 = phi i32 [ %42, %36 ], [ 0, %28 ] %38 = tail call i32 @cyber2000fb_writeb(i32 noundef %37, i32 noundef 968, ptr noundef %1) #2 %39 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %40 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %41 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %42 = add nuw nsw i32 %37, 1 %43 = load i32, ptr @NR_PALETTE, align 4, !tbaa !5 %44 = icmp slt i32 %42, %43 br i1 %44, label %36, label %65, !llvm.loop !12 45: ; preds = %34, %45 %46 = phi i64 [ 0, %34 ], [ %61, %45 ] %47 = trunc i64 %46 to i32 %48 = tail call i32 @cyber2000fb_writeb(i32 noundef %47, i32 noundef 968, ptr noundef nonnull %1) #2 %49 = load ptr, ptr %35, align 8, !tbaa !14 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i64 %46 %51 = load i32, ptr %50, align 4, !tbaa !15 %52 = tail call i32 @cyber2000fb_writeb(i32 noundef %51, i32 noundef 969, ptr noundef nonnull %1) #2 %53 = load ptr, ptr %35, align 8, !tbaa !14 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %46, i32 1 %55 = load i32, ptr %54, align 4, !tbaa !17 %56 = tail call i32 @cyber2000fb_writeb(i32 noundef %55, i32 noundef 969, ptr noundef nonnull %1) #2 %57 = load ptr, ptr %35, align 8, !tbaa !14 %58 = getelementptr inbounds %struct.TYPE_2__, ptr %57, i64 %46, i32 2 %59 = load i32, ptr %58, align 4, !tbaa !18 %60 = tail call i32 @cyber2000fb_writeb(i32 noundef %59, i32 noundef 969, ptr noundef nonnull %1) #2 %61 = add nuw nsw i64 %46, 1 %62 = load i32, ptr @NR_PALETTE, align 4, !tbaa !5 %63 = sext i32 %62 to i64 %64 = icmp slt i64 %61, %63 br i1 %64, label %45, label %65, !llvm.loop !19 65: ; preds = %36, %45, %28 %66 = icmp sgt i32 %0, 1 br i1 %66, label %67, label %76 67: ; preds = %65 %68 = load i32, ptr @RAMDAC_DACPWRDN, align 4, !tbaa !5 %69 = load i32, ptr @RAMDAC_BYPASS, align 4, !tbaa !5 %70 = or i32 %69, %68 %71 = load i32, ptr @RAMDAC_RAMPWRDN, align 4, !tbaa !5 %72 = or i32 %70, %71 %73 = load i32, ptr %1, align 8, !tbaa !9 %74 = or i32 %72, %73 store i32 %74, ptr %1, align 8, !tbaa !9 %75 = tail call i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef nonnull %1) #2 br label %76 76: ; preds = %31, %67, %65 ret i32 0 } declare i32 @cyber2000_grphw(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef) local_unnamed_addr #1 declare i32 @cyber2000fb_writeb(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"cfb_info", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!10, !11, i64 8} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8} !17 = !{!16, !6, i64 4} !18 = !{!16, !6, i64 8} !19 = distinct !{!19, !13}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_cyber2000fb.c_cyber2000fb_blank.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_cyber2000fb.c_cyber2000fb_blank.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32 } @EXT_SYNC_CTL_VS_0 = common local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_HS_0 = common local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_VS_NORMAL = common local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL_HS_NORMAL = common local_unnamed_addr global i32 0, align 4 @EXT_SYNC_CTL = common local_unnamed_addr global i32 0, align 4 @RAMDAC_DACPWRDN = common local_unnamed_addr global i32 0, align 4 @RAMDAC_BYPASS = common local_unnamed_addr global i32 0, align 4 @RAMDAC_RAMPWRDN = common local_unnamed_addr global i32 0, align 4 @NR_PALETTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cyber2000fb_blank], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cyber2000fb_blank(i32 noundef %0, ptr noundef %1) #0 { switch i32 %0, label %13 [ i32 129, label %5 i32 131, label %3 i32 128, label %4 ] 3: ; preds = %2 br label %5 4: ; preds = %2 br label %5 5: ; preds = %2, %4, %3 %6 = phi ptr [ @EXT_SYNC_CTL_VS_0, %4 ], [ @EXT_SYNC_CTL_VS_NORMAL, %3 ], [ @EXT_SYNC_CTL_VS_0, %2 ] %7 = phi ptr [ @EXT_SYNC_CTL_HS_NORMAL, %4 ], [ @EXT_SYNC_CTL_HS_0, %3 ], [ @EXT_SYNC_CTL_HS_0, %2 ] %8 = load i32, ptr %6, align 4, !tbaa !6 %9 = load i32, ptr %7, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = load i32, ptr @EXT_SYNC_CTL, align 4, !tbaa !6 %12 = tail call i32 @cyber2000_grphw(i32 noundef %11, i32 noundef %10, ptr noundef %1) #2 br label %28 13: ; preds = %2 %14 = load i32, ptr @EXT_SYNC_CTL, align 4, !tbaa !6 %15 = tail call i32 @cyber2000_grphw(i32 noundef %14, i32 noundef 0, ptr noundef %1) #2 %16 = icmp slt i32 %0, 2 br i1 %16, label %17, label %28 17: ; preds = %13 %18 = load i32, ptr @RAMDAC_DACPWRDN, align 4, !tbaa !6 %19 = load i32, ptr @RAMDAC_BYPASS, align 4, !tbaa !6 %20 = or i32 %19, %18 %21 = load i32, ptr @RAMDAC_RAMPWRDN, align 4, !tbaa !6 %22 = or i32 %20, %21 %23 = xor i32 %22, -1 %24 = load i32, ptr %1, align 8, !tbaa !10 %25 = and i32 %24, %23 store i32 %25, ptr %1, align 8, !tbaa !10 %26 = tail call i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %0, 0 br i1 %27, label %31, label %28 28: ; preds = %13, %5, %17 %29 = load i32, ptr @NR_PALETTE, align 4, !tbaa !6 %30 = icmp sgt i32 %29, 0 br i1 %30, label %36, label %65 31: ; preds = %17 %32 = load i32, ptr @NR_PALETTE, align 4, !tbaa !6 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %76 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %1, i64 8 br label %45 36: ; preds = %28, %36 %37 = phi i32 [ %42, %36 ], [ 0, %28 ] %38 = tail call i32 @cyber2000fb_writeb(i32 noundef %37, i32 noundef 968, ptr noundef %1) #2 %39 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %40 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %41 = tail call i32 @cyber2000fb_writeb(i32 noundef 0, i32 noundef 969, ptr noundef %1) #2 %42 = add nuw nsw i32 %37, 1 %43 = load i32, ptr @NR_PALETTE, align 4, !tbaa !6 %44 = icmp slt i32 %42, %43 br i1 %44, label %36, label %65, !llvm.loop !13 45: ; preds = %34, %45 %46 = phi i64 [ 0, %34 ], [ %61, %45 ] %47 = trunc nuw nsw i64 %46 to i32 %48 = tail call i32 @cyber2000fb_writeb(i32 noundef %47, i32 noundef 968, ptr noundef nonnull %1) #2 %49 = load ptr, ptr %35, align 8, !tbaa !15 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i64 %46 %51 = load i32, ptr %50, align 4, !tbaa !16 %52 = tail call i32 @cyber2000fb_writeb(i32 noundef %51, i32 noundef 969, ptr noundef nonnull %1) #2 %53 = load ptr, ptr %35, align 8, !tbaa !15 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %46, i32 1 %55 = load i32, ptr %54, align 4, !tbaa !18 %56 = tail call i32 @cyber2000fb_writeb(i32 noundef %55, i32 noundef 969, ptr noundef nonnull %1) #2 %57 = load ptr, ptr %35, align 8, !tbaa !15 %58 = getelementptr inbounds %struct.TYPE_2__, ptr %57, i64 %46, i32 2 %59 = load i32, ptr %58, align 4, !tbaa !19 %60 = tail call i32 @cyber2000fb_writeb(i32 noundef %59, i32 noundef 969, ptr noundef nonnull %1) #2 %61 = add nuw nsw i64 %46, 1 %62 = load i32, ptr @NR_PALETTE, align 4, !tbaa !6 %63 = sext i32 %62 to i64 %64 = icmp slt i64 %61, %63 br i1 %64, label %45, label %65, !llvm.loop !20 65: ; preds = %36, %45, %28 %66 = icmp sgt i32 %0, 1 br i1 %66, label %67, label %76 67: ; preds = %65 %68 = load i32, ptr @RAMDAC_DACPWRDN, align 4, !tbaa !6 %69 = load i32, ptr @RAMDAC_BYPASS, align 4, !tbaa !6 %70 = or i32 %69, %68 %71 = load i32, ptr @RAMDAC_RAMPWRDN, align 4, !tbaa !6 %72 = or i32 %70, %71 %73 = load i32, ptr %1, align 8, !tbaa !10 %74 = or i32 %72, %73 store i32 %74, ptr %1, align 8, !tbaa !10 %75 = tail call i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef nonnull %1) #2 br label %76 76: ; preds = %31, %67, %65 ret i32 0 } declare i32 @cyber2000_grphw(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cyber2000fb_write_ramdac_ctrl(ptr noundef) local_unnamed_addr #1 declare i32 @cyber2000fb_writeb(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"cfb_info", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!11, !12, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !18 = !{!17, !7, i64 4} !19 = !{!17, !7, i64 8} !20 = distinct !{!20, !14}
fastsocket_kernel_drivers_video_extr_cyber2000fb.c_cyber2000fb_blank
; ModuleID = 'AnghaBench/qmk_firmware/quantum/extr_encoder.c_encoder_read.c' source_filename = "AnghaBench/qmk_firmware/quantum/extr_encoder.c_encoder_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" @NUMBER_OF_ENCODERS = dso_local local_unnamed_addr global i32 0, align 4 @encoder_state = dso_local local_unnamed_addr global ptr null, align 8 @encoders_pad_a = dso_local local_unnamed_addr global ptr null, align 8 @encoders_pad_b = dso_local local_unnamed_addr global ptr null, align 8 @thisHand = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @encoder_read() local_unnamed_addr #0 { %1 = load i32, ptr @NUMBER_OF_ENCODERS, align 4, !tbaa !5 %2 = icmp sgt i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %4, %0 ret void 4: ; preds = %0, %4 %5 = phi i64 [ %26, %4 ], [ 0, %0 ] %6 = load ptr, ptr @encoder_state, align 8, !tbaa !9 %7 = getelementptr inbounds i32, ptr %6, i64 %5 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = shl i32 %8, 2 store i32 %9, ptr %7, align 4, !tbaa !5 %10 = load ptr, ptr @encoders_pad_a, align 8, !tbaa !9 %11 = getelementptr inbounds i32, ptr %10, i64 %5 %12 = load i32, ptr %11, align 4, !tbaa !5 %13 = tail call i32 @readPin(i32 noundef %12) #2 %14 = load ptr, ptr @encoders_pad_b, align 8, !tbaa !9 %15 = getelementptr inbounds i32, ptr %14, i64 %5 %16 = load i32, ptr %15, align 4, !tbaa !5 %17 = tail call i32 @readPin(i32 noundef %16) #2 %18 = shl i32 %17, 1 %19 = or i32 %18, %13 %20 = load ptr, ptr @encoder_state, align 8, !tbaa !9 %21 = getelementptr inbounds i32, ptr %20, i64 %5 %22 = load i32, ptr %21, align 4, !tbaa !5 %23 = or i32 %19, %22 store i32 %23, ptr %21, align 4, !tbaa !5 %24 = trunc i64 %5 to i32 %25 = tail call i32 @encoder_update(i32 noundef %24, i32 noundef %23) #2 %26 = add nuw nsw i64 %5, 1 %27 = load i32, ptr @NUMBER_OF_ENCODERS, align 4, !tbaa !5 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %26, %28 br i1 %29, label %4, label %3, !llvm.loop !11 } declare i32 @readPin(i32 noundef) local_unnamed_addr #1 declare i32 @encoder_update(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/quantum/extr_encoder.c_encoder_read.c' source_filename = "AnghaBench/qmk_firmware/quantum/extr_encoder.c_encoder_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NUMBER_OF_ENCODERS = common local_unnamed_addr global i32 0, align 4 @encoder_state = common local_unnamed_addr global ptr null, align 8 @encoders_pad_a = common local_unnamed_addr global ptr null, align 8 @encoders_pad_b = common local_unnamed_addr global ptr null, align 8 @thisHand = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @encoder_read() local_unnamed_addr #0 { %1 = load i32, ptr @NUMBER_OF_ENCODERS, align 4, !tbaa !6 %2 = icmp sgt i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %4, %0 ret void 4: ; preds = %0, %4 %5 = phi i64 [ %26, %4 ], [ 0, %0 ] %6 = load ptr, ptr @encoder_state, align 8, !tbaa !10 %7 = getelementptr inbounds i32, ptr %6, i64 %5 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = shl i32 %8, 2 store i32 %9, ptr %7, align 4, !tbaa !6 %10 = load ptr, ptr @encoders_pad_a, align 8, !tbaa !10 %11 = getelementptr inbounds i32, ptr %10, i64 %5 %12 = load i32, ptr %11, align 4, !tbaa !6 %13 = tail call i32 @readPin(i32 noundef %12) #2 %14 = load ptr, ptr @encoders_pad_b, align 8, !tbaa !10 %15 = getelementptr inbounds i32, ptr %14, i64 %5 %16 = load i32, ptr %15, align 4, !tbaa !6 %17 = tail call i32 @readPin(i32 noundef %16) #2 %18 = shl i32 %17, 1 %19 = or i32 %18, %13 %20 = load ptr, ptr @encoder_state, align 8, !tbaa !10 %21 = getelementptr inbounds i32, ptr %20, i64 %5 %22 = load i32, ptr %21, align 4, !tbaa !6 %23 = or i32 %19, %22 store i32 %23, ptr %21, align 4, !tbaa !6 %24 = trunc nuw nsw i64 %5 to i32 %25 = tail call i32 @encoder_update(i32 noundef %24, i32 noundef %23) #2 %26 = add nuw nsw i64 %5, 1 %27 = load i32, ptr @NUMBER_OF_ENCODERS, align 4, !tbaa !6 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %26, %28 br i1 %29, label %4, label %3, !llvm.loop !12 } declare i32 @readPin(i32 noundef) local_unnamed_addr #1 declare i32 @encoder_update(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
qmk_firmware_quantum_extr_encoder.c_encoder_read
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeForeignscan.c_ExecForeignScanInitializeDSM.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeForeignscan.c_ExecForeignScanInitializeDSM.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i32, %struct.TYPE_13__, ptr } %struct.TYPE_13__ = type { %struct.TYPE_12__ } %struct.TYPE_12__ = type { ptr } ; Function Attrs: nounwind uwtable define dso_local void @ExecForeignScanInitializeDSM(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = icmp eq ptr %5, null br i1 %6, label %18, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = load i32, ptr %9, align 4, !tbaa !16 %11 = load i32, ptr %1, align 4, !tbaa !18 %12 = load i32, ptr %0, align 8, !tbaa !20 %13 = tail call ptr @shm_toc_allocate(i32 noundef %11, i32 noundef %12) #2 %14 = load ptr, ptr %4, align 8, !tbaa !13 %15 = tail call i32 %14(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %13) #2 %16 = load i32, ptr %1, align 4, !tbaa !18 %17 = tail call i32 @shm_toc_insert(i32 noundef %16, i32 noundef %10, ptr noundef %13) #2 br label %18 18: ; preds = %7, %2 ret void } declare ptr @shm_toc_allocate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @shm_toc_insert(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !12, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_13__", !11, i64 0} !11 = !{!"TYPE_12__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_16__", !12, i64 0} !15 = !{!6, !12, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_11__", !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_14__", !7, i64 0} !20 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeForeignscan.c_ExecForeignScanInitializeDSM.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeForeignscan.c_ExecForeignScanInitializeDSM.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 @ExecForeignScanInitializeDSM(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !14 %6 = icmp eq ptr %5, null br i1 %6, label %18, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !16 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = load i32, ptr %1, align 4, !tbaa !19 %12 = load i32, ptr %0, align 8, !tbaa !21 %13 = tail call ptr @shm_toc_allocate(i32 noundef %11, i32 noundef %12) #2 %14 = load ptr, ptr %4, align 8, !tbaa !14 %15 = tail call i32 %14(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %13) #2 %16 = load i32, ptr %1, align 4, !tbaa !19 %17 = tail call i32 @shm_toc_insert(i32 noundef %16, i32 noundef %10, ptr noundef %13) #2 br label %18 18: ; preds = %7, %2 ret void } declare ptr @shm_toc_allocate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @shm_toc_insert(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !13, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_13__", !12, i64 0} !12 = !{!"TYPE_12__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_16__", !13, i64 0} !16 = !{!7, !13, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_11__", !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_14__", !8, i64 0} !21 = !{!7, !8, i64 0}
postgres_src_backend_executor_extr_nodeForeignscan.c_ExecForeignScanInitializeDSM
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_lookahead.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_lookahead.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @TK_EOS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @luaX_lookahead(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @TK_EOS, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @lua_assert(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %8 = tail call i64 @llex(ptr noundef nonnull %0, ptr noundef nonnull %7) #2 store i64 %8, ptr %0, align 8, !tbaa !5 %9 = trunc i64 %8 to i32 ret i32 %9 } declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 declare i64 @llex(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"TYPE_5__", !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}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_lookahead.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_lookahead.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TK_EOS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @luaX_lookahead(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @TK_EOS, align 8, !tbaa !13 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @lua_assert(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = tail call i64 @llex(ptr noundef nonnull %0, ptr noundef nonnull %7) #2 store i64 %8, ptr %0, align 8, !tbaa !6 %9 = trunc i64 %8 to i32 ret i32 %9 } declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 declare i64 @llex(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!9, !9, i64 0}
xLua_build_lua-5.3.3_src_extr_llex.c_luaX_lookahead
; ModuleID = 'AnghaBench/reactos/dll/win32/iphlpapi/extr_ifenum_reactos.c_getAddrByIndexOrName.c' source_filename = "AnghaBench/reactos/dll/win32/iphlpapi/extr_ifenum_reactos.c_getAddrByIndexOrName.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32 } @STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @INADDR_ANY = dso_local local_unnamed_addr global i32 0, align 4 @FILE_READ_DATA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @getAddrByIndexOrName(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_9__, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @INADDR_ANY, align 4, !tbaa !5 %7 = load i32, ptr @FILE_READ_DATA, align 4, !tbaa !5 %8 = call i32 @openTcpFile(ptr noundef nonnull %5, i32 noundef %7) #3 %9 = call i64 @NT_SUCCESS(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %35, label %11 11: ; preds = %3 %12 = load i32, ptr %5, align 4, !tbaa !5 %13 = call i32 @getIPAddrEntryForIf(i32 noundef %12, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4) #3 %14 = call i64 @NT_SUCCESS(i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %31, label %16 16: ; preds = %11 switch i32 %2, label %31 [ i32 130, label %17 i32 129, label %20 i32 128, label %23 i32 132, label %26 i32 131, label %29 ] 17: ; preds = %16 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1, i32 2 %19 = load i32, ptr %18, align 4, !tbaa !9 br label %31 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !14 br label %31 23: ; preds = %16 %24 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !15 br label %31 26: ; preds = %16 %27 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !16 br label %31 29: ; preds = %16 %30 = load i32, ptr %4, align 4, !tbaa !17 br label %31 31: ; preds = %17, %20, %23, %26, %29, %16, %11 %32 = phi i32 [ %6, %16 ], [ %30, %29 ], [ %28, %26 ], [ %25, %23 ], [ %22, %20 ], [ %19, %17 ], [ %6, %11 ] %33 = load i32, ptr %5, align 4, !tbaa !5 %34 = call i32 @closeTcpFile(i32 noundef %33) #3 br label %35 35: ; preds = %31, %3 %36 = phi i32 [ %32, %31 ], [ %6, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @openTcpFile(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2 declare i32 @getIPAddrEntryForIf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @closeTcpFile(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"TYPE_9__", !11, i64 0, !13, i64 8} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"TYPE_7__", !6, i64 0, !6, i64 4} !13 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8} !14 = !{!10, !6, i64 12} !15 = !{!10, !6, i64 8} !16 = !{!10, !6, i64 4} !17 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/iphlpapi/extr_ifenum_reactos.c_getAddrByIndexOrName.c' source_filename = "AnghaBench/reactos/dll/win32/iphlpapi/extr_ifenum_reactos.c_getAddrByIndexOrName.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32 } @STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4 @INADDR_ANY = common local_unnamed_addr global i32 0, align 4 @FILE_READ_DATA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @getAddrByIndexOrName(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_9__, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @INADDR_ANY, align 4, !tbaa !6 %7 = load i32, ptr @FILE_READ_DATA, align 4, !tbaa !6 %8 = call i32 @openTcpFile(ptr noundef nonnull %5, i32 noundef %7) #3 %9 = call i64 @NT_SUCCESS(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %35, label %11 11: ; preds = %3 %12 = load i32, ptr %5, align 4, !tbaa !6 %13 = call i32 @getIPAddrEntryForIf(i32 noundef %12, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4) #3 %14 = call i64 @NT_SUCCESS(i32 noundef %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %31, label %16 16: ; preds = %11 switch i32 %2, label %31 [ i32 130, label %17 i32 129, label %20 i32 128, label %23 i32 132, label %26 i32 131, label %29 ] 17: ; preds = %16 %18 = getelementptr inbounds i8, ptr %4, i64 16 %19 = load i32, ptr %18, align 4, !tbaa !10 br label %31 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %4, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !15 br label %31 23: ; preds = %16 %24 = getelementptr inbounds i8, ptr %4, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !16 br label %31 26: ; preds = %16 %27 = getelementptr inbounds i8, ptr %4, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !17 br label %31 29: ; preds = %16 %30 = load i32, ptr %4, align 4, !tbaa !18 br label %31 31: ; preds = %17, %20, %23, %26, %29, %16, %11 %32 = phi i32 [ %6, %16 ], [ %30, %29 ], [ %28, %26 ], [ %25, %23 ], [ %22, %20 ], [ %19, %17 ], [ %6, %11 ] %33 = load i32, ptr %5, align 4, !tbaa !6 %34 = call i32 @closeTcpFile(i32 noundef %33) #3 br label %35 35: ; preds = %31, %3 %36 = phi i32 [ %32, %31 ], [ %6, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @openTcpFile(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2 declare i32 @getIPAddrEntryForIf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @closeTcpFile(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_9__", !12, i64 0, !14, i64 8} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !14 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!11, !7, i64 12} !16 = !{!11, !7, i64 8} !17 = !{!11, !7, i64 4} !18 = !{!11, !7, i64 0}
reactos_dll_win32_iphlpapi_extr_ifenum_reactos.c_getAddrByIndexOrName
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/frenchdev/keymaps/default/extr_keymap.c_press_enter.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/frenchdev/keymaps/default/extr_keymap.c_press_enter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @shift_count = dso_local local_unnamed_addr global i64 0, align 8 @KC_LSHIFT = dso_local local_unnamed_addr global i32 0, align 4 @KC_ENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @press_enter() local_unnamed_addr #0 { %1 = load i64, ptr @shift_count, align 8, !tbaa !5 %2 = icmp sgt i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = load i32, ptr @KC_LSHIFT, align 4, !tbaa !9 %5 = tail call i32 @unregister_code(i32 noundef %4) #2 br label %6 6: ; preds = %3, %0 %7 = load i32, ptr @KC_ENT, align 4, !tbaa !9 %8 = tail call i32 @tap_code(i32 noundef %7) #2 %9 = load i64, ptr @shift_count, align 8, !tbaa !5 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %6 %12 = load i32, ptr @KC_LSHIFT, align 4, !tbaa !9 %13 = tail call i32 @register_code(i32 noundef %12) #2 br label %14 14: ; preds = %11, %6 ret void } declare i32 @unregister_code(i32 noundef) local_unnamed_addr #1 declare i32 @tap_code(i32 noundef) local_unnamed_addr #1 declare i32 @register_code(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/qmk_firmware/keyboards/handwired/frenchdev/keymaps/default/extr_keymap.c_press_enter.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/frenchdev/keymaps/default/extr_keymap.c_press_enter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @shift_count = common local_unnamed_addr global i64 0, align 8 @KC_LSHIFT = common local_unnamed_addr global i32 0, align 4 @KC_ENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @press_enter() local_unnamed_addr #0 { %1 = load i64, ptr @shift_count, align 8, !tbaa !6 %2 = icmp sgt i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = load i32, ptr @KC_LSHIFT, align 4, !tbaa !10 %5 = tail call i32 @unregister_code(i32 noundef %4) #2 br label %6 6: ; preds = %3, %0 %7 = load i32, ptr @KC_ENT, align 4, !tbaa !10 %8 = tail call i32 @tap_code(i32 noundef %7) #2 %9 = load i64, ptr @shift_count, align 8, !tbaa !6 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %6 %12 = load i32, ptr @KC_LSHIFT, align 4, !tbaa !10 %13 = tail call i32 @register_code(i32 noundef %12) #2 br label %14 14: ; preds = %11, %6 ret void } declare i32 @unregister_code(i32 noundef) local_unnamed_addr #1 declare i32 @tap_code(i32 noundef) local_unnamed_addr #1 declare i32 @register_code(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}
qmk_firmware_keyboards_handwired_frenchdev_keymaps_default_extr_keymap.c_press_enter
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_sock.c_BIO_socket_nbio.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_sock.c_BIO_socket_nbio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BIO_F_BIO_SOCKET_NBIO = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_PASSED_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 @FIONBIO = dso_local local_unnamed_addr global i32 0, align 4 @FNDELAY = dso_local local_unnamed_addr global i32 0, align 4 @F_GETFL = dso_local local_unnamed_addr global i32 0, align 4 @F_SETFL = dso_local local_unnamed_addr global i32 0, align 4 @O_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4 @SYS_F_FCNTL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @BIO_socket_nbio(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BIO_F_BIO_SOCKET_NBIO, align 4, !tbaa !5 %4 = load i32, ptr @ERR_R_PASSED_INVALID_ARGUMENT, align 4, !tbaa !5 %5 = tail call i32 @BIOerr(i32 noundef %3, i32 noundef %4) #2 ret i32 0 } declare i32 @BIOerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_sock.c_BIO_socket_nbio.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_sock.c_BIO_socket_nbio.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BIO_F_BIO_SOCKET_NBIO = common local_unnamed_addr global i32 0, align 4 @ERR_R_PASSED_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4 @FIONBIO = common local_unnamed_addr global i32 0, align 4 @FNDELAY = common local_unnamed_addr global i32 0, align 4 @F_GETFL = common local_unnamed_addr global i32 0, align 4 @F_SETFL = common local_unnamed_addr global i32 0, align 4 @O_NONBLOCK = common local_unnamed_addr global i32 0, align 4 @SYS_F_FCNTL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @BIO_socket_nbio(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BIO_F_BIO_SOCKET_NBIO, align 4, !tbaa !6 %4 = load i32, ptr @ERR_R_PASSED_INVALID_ARGUMENT, align 4, !tbaa !6 %5 = tail call i32 @BIOerr(i32 noundef %3, i32 noundef %4) #2 ret i32 0 } declare i32 @BIOerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_bio_extr_b_sock.c_BIO_socket_nbio
; ModuleID = 'AnghaBench/tg/extr_loop.c_on_failed_login.c' source_filename = "AnghaBench/tg/extr_loop.c_on_failed_login.c" target datalayout = "e-m:e-p270:32:32-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.tgl_state = type { i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"login failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"login error #%d: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"you can relogin by deleting auth file or running telegram-cli with '-q' flag\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @on_failed_login(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str) #3 %3 = getelementptr inbounds %struct.tgl_state, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str.1, i32 noundef %4, i32 noundef %5) #3 %7 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str.2) #3 %8 = tail call i32 @exit(i32 noundef 2) #4 unreachable } declare i32 @logprintf(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)"} !5 = !{!6, !7, i64 4} !6 = !{!"tgl_state", !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/tg/extr_loop.c_on_failed_login.c' source_filename = "AnghaBench/tg/extr_loop.c_on_failed_login.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [14 x i8] c"login failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"login error #%d: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [78 x i8] c"you can relogin by deleting auth file or running telegram-cli with '-q' flag\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @on_failed_login(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str) #3 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str.1, i32 noundef %4, i32 noundef %5) #3 %7 = tail call i32 (ptr, ...) @logprintf(ptr noundef nonnull @.str.2) #3 %8 = tail call i32 @exit(i32 noundef 2) #4 unreachable } declare i32 @logprintf(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)"} !6 = !{!7, !8, i64 4} !7 = !{!"tgl_state", !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}
tg_extr_loop.c_on_failed_login
; ModuleID = 'AnghaBench/linux/fs/fat/extr_fatent.c_fat_ent_read.c' source_filename = "AnghaBench/linux/fs/fat/extr_fatent.c_fat_ent_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fatent_operations = type { ptr, ptr, ptr } @.str = private unnamed_addr constant [37 x i8] c"invalid access to FAT (entry 0x%08x)\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fat_ent_read(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = tail call ptr @MSDOS_SB(ptr noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %9 = tail call i32 @fat_valid_entry(ptr noundef nonnull %7, i32 noundef %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = tail call i32 @fatent_brelse(ptr noundef %1) #3 %13 = tail call i32 @fat_fs_error(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #3 %14 = load i32, ptr @EIO, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %36 16: ; preds = %3 %17 = tail call i32 @fatent_set_entry(ptr noundef %1, i32 noundef %2) #3 %18 = getelementptr inbounds %struct.fatent_operations, ptr %8, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = call i32 %19(ptr noundef %6, i32 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load i32, ptr %4, align 4, !tbaa !12 %22 = load i32, ptr %5, align 4, !tbaa !12 %23 = call i32 @fat_ent_update_ptr(ptr noundef %6, ptr noundef %1, i32 noundef %21, i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = call i32 @fatent_brelse(ptr noundef %1) #3 %27 = load ptr, ptr %8, align 8, !tbaa !16 %28 = load i32, ptr %4, align 4, !tbaa !12 %29 = load i32, ptr %5, align 4, !tbaa !12 %30 = call i32 %27(ptr noundef %6, ptr noundef %1, i32 noundef %28, i32 noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25, %16 %33 = getelementptr inbounds %struct.fatent_operations, ptr %8, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !17 %35 = call i32 %34(ptr noundef %1) #3 br label %36 36: ; preds = %25, %32, %11 %37 = phi i32 [ %35, %32 ], [ %15, %11 ], [ %30, %25 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @MSDOS_SB(ptr noundef) local_unnamed_addr #2 declare i32 @fat_valid_entry(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fatent_brelse(ptr noundef) local_unnamed_addr #2 declare i32 @fat_fs_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fatent_set_entry(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fat_ent_update_ptr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inode", !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 = !{!"msdos_sb_info", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !7, i64 16} !15 = !{!"fatent_operations", !7, i64 0, !7, i64 8, !7, i64 16} !16 = !{!15, !7, i64 0} !17 = !{!15, !7, i64 8}
; ModuleID = 'AnghaBench/linux/fs/fat/extr_fatent.c_fat_ent_read.c' source_filename = "AnghaBench/linux/fs/fat/extr_fatent.c_fat_ent_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [37 x i8] c"invalid access to FAT (entry 0x%08x)\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fat_ent_read(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = tail call ptr @MSDOS_SB(ptr noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %9 = tail call i32 @fat_valid_entry(ptr noundef nonnull %7, i32 noundef %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = tail call i32 @fatent_brelse(ptr noundef %1) #3 %13 = tail call i32 @fat_fs_error(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #3 %14 = load i32, ptr @EIO, align 4, !tbaa !13 %15 = sub nsw i32 0, %14 br label %36 16: ; preds = %3 %17 = tail call i32 @fatent_set_entry(ptr noundef %1, i32 noundef %2) #3 %18 = getelementptr inbounds i8, ptr %8, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = call i32 %19(ptr noundef %6, i32 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load i32, ptr %4, align 4, !tbaa !13 %22 = load i32, ptr %5, align 4, !tbaa !13 %23 = call i32 @fat_ent_update_ptr(ptr noundef %6, ptr noundef %1, i32 noundef %21, i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = call i32 @fatent_brelse(ptr noundef %1) #3 %27 = load ptr, ptr %8, align 8, !tbaa !17 %28 = load i32, ptr %4, align 4, !tbaa !13 %29 = load i32, ptr %5, align 4, !tbaa !13 %30 = call i32 %27(ptr noundef %6, ptr noundef %1, i32 noundef %28, i32 noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25, %16 %33 = getelementptr inbounds i8, ptr %8, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !18 %35 = call i32 %34(ptr noundef %1) #3 br label %36 36: ; preds = %25, %32, %11 %37 = phi i32 [ %35, %32 ], [ %15, %11 ], [ %30, %25 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @MSDOS_SB(ptr noundef) local_unnamed_addr #2 declare i32 @fat_valid_entry(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fatent_brelse(ptr noundef) local_unnamed_addr #2 declare i32 @fat_fs_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fatent_set_entry(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fat_ent_update_ptr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inode", !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 = !{!"msdos_sb_info", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !8, i64 16} !16 = !{!"fatent_operations", !8, i64 0, !8, i64 8, !8, i64 16} !17 = !{!16, !8, i64 0} !18 = !{!16, !8, i64 8}
linux_fs_fat_extr_fatent.c_fat_ent_read
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_dw.c_dw8250_remove.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_dw.c_dw8250_remove.c" target datalayout = "e-m:e-p270:32:32-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.dw8250_data = type { i32, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @dw8250_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dw8250_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @pm_runtime_get_sync(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.dw8250_data, ptr %2, i64 0, i32 3 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @serial8250_unregister_port(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.dw8250_data, ptr %2, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @reset_control_assert(i32 noundef %8) #2 %10 = getelementptr inbounds %struct.dw8250_data, ptr %2, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @IS_ERR(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load i32, ptr %10, align 4, !tbaa !12 %16 = tail call i32 @clk_disable_unprepare(i32 noundef %15) #2 br label %17 17: ; preds = %14, %1 %18 = load i32, ptr %2, align 4, !tbaa !13 %19 = tail call i32 @IS_ERR(i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %2, align 4, !tbaa !13 %23 = tail call i32 @clk_disable_unprepare(i32 noundef %22) #2 br label %24 24: ; preds = %21, %17 %25 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2 %26 = tail call i32 @pm_runtime_put_noidle(ptr noundef %0) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1 declare i32 @reset_control_assert(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_noidle(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 12} !6 = !{!"dw8250_data", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_dw.c_dw8250_remove.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_dw.c_dw8250_remove.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 @dw8250_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dw8250_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @pm_runtime_get_sync(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %2, i64 12 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @serial8250_unregister_port(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @reset_control_assert(i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %2, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @IS_ERR(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = load i32, ptr %10, align 4, !tbaa !13 %16 = tail call i32 @clk_disable_unprepare(i32 noundef %15) #2 br label %17 17: ; preds = %14, %1 %18 = load i32, ptr %2, align 4, !tbaa !14 %19 = tail call i32 @IS_ERR(i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %2, align 4, !tbaa !14 %23 = tail call i32 @clk_disable_unprepare(i32 noundef %22) #2 br label %24 24: ; preds = %21, %17 %25 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2 %26 = tail call i32 @pm_runtime_put_noidle(ptr noundef %0) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1 declare i32 @reset_control_assert(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_noidle(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 12} !7 = !{!"dw8250_data", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 0}
linux_drivers_tty_serial_8250_extr_8250_dw.c_dw8250_remove
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lobject.c_l_str2int.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lobject.c_l_str2int.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXBY10 = dso_local local_unnamed_addr global i32 0, align 4 @MAXLASTD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @l_str2int], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @l_str2int(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 br label %4 4: ; preds = %4, %2 %5 = phi ptr [ %0, %2 ], [ %10, %4 ] %6 = load i8, ptr %5, align 1, !tbaa !5 %7 = tail call i32 @cast_uchar(i8 noundef signext %6) #2 %8 = tail call i64 @lisspace(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = getelementptr inbounds i8, ptr %5, i64 1 br i1 %9, label %11, label %4, !llvm.loop !8 11: ; preds = %4 store ptr %5, ptr %3, align 8, !tbaa !10 %12 = call i32 @isneg(ptr noundef nonnull %3) #2 %13 = load ptr, ptr %3, align 8, !tbaa !10 %14 = load i8, ptr %13, align 1, !tbaa !5 %15 = icmp eq i8 %14, 48 br i1 %15, label %16, label %38 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %13, i64 1 %18 = load i8, ptr %17, align 1, !tbaa !5 switch i8 %18, label %38 [ i8 120, label %19 i8 88, label %19 ] 19: ; preds = %16, %16 %20 = getelementptr inbounds i8, ptr %13, i64 2 store ptr %20, ptr %3, align 8, !tbaa !10 %21 = load i8, ptr %20, align 1, !tbaa !5 %22 = call i32 @cast_uchar(i8 noundef signext %21) #2 %23 = call i64 @lisxdigit(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %64, label %25 25: ; preds = %19, %25 %26 = phi i32 [ %31, %25 ], [ 0, %19 ] %27 = shl nsw i32 %26, 4 %28 = load ptr, ptr %3, align 8, !tbaa !10 %29 = load i8, ptr %28, align 1, !tbaa !5 %30 = call i32 @luaO_hexavalue(i8 noundef signext %29) #2 %31 = add nsw i32 %30, %27 %32 = load ptr, ptr %3, align 8, !tbaa !10 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %3, align 8, !tbaa !10 %34 = load i8, ptr %33, align 1, !tbaa !5 %35 = call i32 @cast_uchar(i8 noundef signext %34) #2 %36 = call i64 @lisxdigit(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %64, label %25, !llvm.loop !12 38: ; preds = %16, %11 %39 = call i32 @cast_uchar(i8 noundef signext %14) #2 %40 = call i64 @lisdigit(i32 noundef %39) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %64, label %42 42: ; preds = %38, %56 %43 = phi i32 [ %58, %56 ], [ 0, %38 ] %44 = load ptr, ptr %3, align 8, !tbaa !10 %45 = load i8, ptr %44, align 1, !tbaa !5 %46 = sext i8 %45 to i32 %47 = add nsw i32 %46, -48 %48 = load i32, ptr @MAXBY10, align 4, !tbaa !13 %49 = icmp slt i32 %43, %48 br i1 %49, label %56, label %50 50: ; preds = %42 %51 = icmp sgt i32 %43, %48 br i1 %51, label %90, label %52 52: ; preds = %50 %53 = load i32, ptr @MAXLASTD, align 4, !tbaa !13 %54 = add nsw i32 %53, %12 %55 = icmp sgt i32 %47, %54 br i1 %55, label %90, label %56 56: ; preds = %52, %42 %57 = mul nsw i32 %43, 10 %58 = add nsw i32 %47, %57 %59 = getelementptr inbounds i8, ptr %44, i64 1 store ptr %59, ptr %3, align 8, !tbaa !10 %60 = load i8, ptr %59, align 1, !tbaa !5 %61 = call i32 @cast_uchar(i8 noundef signext %60) #2 %62 = call i64 @lisdigit(i32 noundef %61) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %42, !llvm.loop !15 64: ; preds = %25, %56, %19, %38 %65 = phi i1 [ false, %38 ], [ false, %19 ], [ true, %56 ], [ true, %25 ] %66 = phi i32 [ 0, %38 ], [ 0, %19 ], [ %58, %56 ], [ %31, %25 ] %67 = load ptr, ptr %3, align 8, !tbaa !10 %68 = load i8, ptr %67, align 1, !tbaa !5 %69 = call i32 @cast_uchar(i8 noundef signext %68) #2 %70 = call i64 @lisspace(i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %79, label %72 72: ; preds = %64, %72 %73 = load ptr, ptr %3, align 8, !tbaa !10 %74 = getelementptr inbounds i8, ptr %73, i64 1 store ptr %74, ptr %3, align 8, !tbaa !10 %75 = load i8, ptr %74, align 1, !tbaa !5 %76 = call i32 @cast_uchar(i8 noundef signext %75) #2 %77 = call i64 @lisspace(i32 noundef %76) #2 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %72, !llvm.loop !16 79: ; preds = %72, %64 br i1 %65, label %80, label %90 80: ; preds = %79 %81 = load ptr, ptr %3, align 8, !tbaa !10 %82 = load i8, ptr %81, align 1, !tbaa !5 %83 = icmp eq i8 %82, 0 br i1 %83, label %84, label %90 84: ; preds = %80 %85 = icmp eq i32 %12, 0 %86 = sub i32 0, %66 %87 = select i1 %85, i32 %66, i32 %86 %88 = call i32 @l_castU2S(i32 noundef %87) #2 store i32 %88, ptr %1, align 4, !tbaa !13 %89 = load ptr, ptr %3, align 8, !tbaa !10 br label %90 90: ; preds = %50, %52, %79, %80, %84 %91 = phi ptr [ %89, %84 ], [ null, %80 ], [ null, %79 ], [ null, %52 ], [ null, %50 ] ret ptr %91 } declare i64 @lisspace(i32 noundef) local_unnamed_addr #1 declare i32 @cast_uchar(i8 noundef signext) local_unnamed_addr #1 declare i32 @isneg(ptr noundef) local_unnamed_addr #1 declare i64 @lisxdigit(i32 noundef) local_unnamed_addr #1 declare i32 @luaO_hexavalue(i8 noundef signext) local_unnamed_addr #1 declare i64 @lisdigit(i32 noundef) local_unnamed_addr #1 declare i32 @l_castU2S(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = distinct !{!12, !9} !13 = !{!14, !14, i64 0} !14 = !{!"int", !6, i64 0} !15 = distinct !{!15, !9} !16 = distinct !{!16, !9}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lobject.c_l_str2int.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lobject.c_l_str2int.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXBY10 = common local_unnamed_addr global i32 0, align 4 @MAXLASTD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @l_str2int], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @l_str2int(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 br label %4 4: ; preds = %4, %2 %5 = phi ptr [ %0, %2 ], [ %10, %4 ] %6 = load i8, ptr %5, align 1, !tbaa !6 %7 = tail call i32 @cast_uchar(i8 noundef signext %6) #2 %8 = tail call i64 @lisspace(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = getelementptr inbounds i8, ptr %5, i64 1 br i1 %9, label %11, label %4, !llvm.loop !9 11: ; preds = %4 store ptr %5, ptr %3, align 8, !tbaa !11 %12 = call i32 @isneg(ptr noundef nonnull %3) #2 %13 = load ptr, ptr %3, align 8, !tbaa !11 %14 = load i8, ptr %13, align 1, !tbaa !6 %15 = icmp eq i8 %14, 48 br i1 %15, label %16, label %38 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %13, i64 1 %18 = load i8, ptr %17, align 1, !tbaa !6 switch i8 %18, label %38 [ i8 120, label %19 i8 88, label %19 ] 19: ; preds = %16, %16 %20 = getelementptr inbounds i8, ptr %13, i64 2 store ptr %20, ptr %3, align 8, !tbaa !11 %21 = load i8, ptr %20, align 1, !tbaa !6 %22 = call i32 @cast_uchar(i8 noundef signext %21) #2 %23 = call i64 @lisxdigit(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %64, label %25 25: ; preds = %19, %25 %26 = phi i32 [ %31, %25 ], [ 0, %19 ] %27 = shl nsw i32 %26, 4 %28 = load ptr, ptr %3, align 8, !tbaa !11 %29 = load i8, ptr %28, align 1, !tbaa !6 %30 = call i32 @luaO_hexavalue(i8 noundef signext %29) #2 %31 = add nsw i32 %30, %27 %32 = load ptr, ptr %3, align 8, !tbaa !11 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %3, align 8, !tbaa !11 %34 = load i8, ptr %33, align 1, !tbaa !6 %35 = call i32 @cast_uchar(i8 noundef signext %34) #2 %36 = call i64 @lisxdigit(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %64, label %25, !llvm.loop !13 38: ; preds = %16, %11 %39 = call i32 @cast_uchar(i8 noundef signext %14) #2 %40 = call i64 @lisdigit(i32 noundef %39) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %64, label %42 42: ; preds = %38, %56 %43 = phi i32 [ %58, %56 ], [ 0, %38 ] %44 = load ptr, ptr %3, align 8, !tbaa !11 %45 = load i8, ptr %44, align 1, !tbaa !6 %46 = sext i8 %45 to i32 %47 = add nsw i32 %46, -48 %48 = load i32, ptr @MAXBY10, align 4, !tbaa !14 %49 = icmp slt i32 %43, %48 br i1 %49, label %56, label %50 50: ; preds = %42 %51 = icmp sgt i32 %43, %48 br i1 %51, label %90, label %52 52: ; preds = %50 %53 = load i32, ptr @MAXLASTD, align 4, !tbaa !14 %54 = add nsw i32 %53, %12 %55 = icmp sgt i32 %47, %54 br i1 %55, label %90, label %56 56: ; preds = %52, %42 %57 = mul nsw i32 %43, 10 %58 = add nsw i32 %47, %57 %59 = getelementptr inbounds i8, ptr %44, i64 1 store ptr %59, ptr %3, align 8, !tbaa !11 %60 = load i8, ptr %59, align 1, !tbaa !6 %61 = call i32 @cast_uchar(i8 noundef signext %60) #2 %62 = call i64 @lisdigit(i32 noundef %61) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %42, !llvm.loop !16 64: ; preds = %25, %56, %19, %38 %65 = phi i1 [ false, %38 ], [ false, %19 ], [ true, %56 ], [ true, %25 ] %66 = phi i32 [ 0, %38 ], [ 0, %19 ], [ %58, %56 ], [ %31, %25 ] %67 = load ptr, ptr %3, align 8, !tbaa !11 %68 = load i8, ptr %67, align 1, !tbaa !6 %69 = call i32 @cast_uchar(i8 noundef signext %68) #2 %70 = call i64 @lisspace(i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %79, label %72 72: ; preds = %64, %72 %73 = load ptr, ptr %3, align 8, !tbaa !11 %74 = getelementptr inbounds i8, ptr %73, i64 1 store ptr %74, ptr %3, align 8, !tbaa !11 %75 = load i8, ptr %74, align 1, !tbaa !6 %76 = call i32 @cast_uchar(i8 noundef signext %75) #2 %77 = call i64 @lisspace(i32 noundef %76) #2 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %72, !llvm.loop !17 79: ; preds = %72, %64 br i1 %65, label %80, label %90 80: ; preds = %79 %81 = load ptr, ptr %3, align 8, !tbaa !11 %82 = load i8, ptr %81, align 1, !tbaa !6 %83 = icmp eq i8 %82, 0 br i1 %83, label %84, label %90 84: ; preds = %80 %85 = icmp eq i32 %12, 0 %86 = sub i32 0, %66 %87 = select i1 %85, i32 %66, i32 %86 %88 = call i32 @l_castU2S(i32 noundef %87) #2 store i32 %88, ptr %1, align 4, !tbaa !14 %89 = load ptr, ptr %3, align 8, !tbaa !11 br label %90 90: ; preds = %50, %52, %79, %80, %84 %91 = phi ptr [ %89, %84 ], [ null, %80 ], [ null, %79 ], [ null, %52 ], [ null, %50 ] ret ptr %91 } declare i64 @lisspace(i32 noundef) local_unnamed_addr #1 declare i32 @cast_uchar(i8 noundef signext) local_unnamed_addr #1 declare i32 @isneg(ptr noundef) local_unnamed_addr #1 declare i64 @lisxdigit(i32 noundef) local_unnamed_addr #1 declare i32 @luaO_hexavalue(i8 noundef signext) local_unnamed_addr #1 declare i64 @lisdigit(i32 noundef) local_unnamed_addr #1 declare i32 @l_castU2S(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !10} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = distinct !{!16, !10} !17 = distinct !{!17, !10}
xLua_build_lua-5.3.5_src_extr_lobject.c_l_str2int
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_nfs4_wait_for_completion_rpc_task.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_nfs4_wait_for_completion_rpc_task.c" target datalayout = "e-m:e-p270:32:32-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 @nfs4_wait_for_completion_rpc_task], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nfs4_wait_for_completion_rpc_task(ptr noundef %0) #0 { %2 = tail call i32 @rpc_wait_for_completion_task(ptr noundef %0) #2 ret i32 %2 } declare i32 @rpc_wait_for_completion_task(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/fs/nfs/extr_nfs4proc.c_nfs4_wait_for_completion_rpc_task.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c_nfs4_wait_for_completion_rpc_task.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 @nfs4_wait_for_completion_rpc_task], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nfs4_wait_for_completion_rpc_task(ptr noundef %0) #0 { %2 = tail call i32 @rpc_wait_for_completion_task(ptr noundef %0) #2 ret i32 %2 } declare i32 @rpc_wait_for_completion_task(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_fs_nfs_extr_nfs4proc.c_nfs4_wait_for_completion_rpc_task
; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_eia608.c_eia608_row_column_pramble.c' source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_eia608.c_eia608_row_column_pramble.c" target datalayout = "e-m:e-p270:32:32-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 @eia608_row_column_pramble(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = sdiv i32 %1, 4 %6 = or i32 %5, 16 %7 = tail call i32 @eia608_row_pramble(i32 noundef %0, i32 noundef %2, i32 noundef %6, i32 noundef %3) #2 ret i32 %7 } declare i32 @eia608_row_pramble(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_eia608.c_eia608_row_column_pramble.c' source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_eia608.c_eia608_row_column_pramble.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 @eia608_row_column_pramble(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = sdiv i32 %1, 4 %6 = or i32 %5, 16 %7 = tail call i32 @eia608_row_pramble(i32 noundef %0, i32 noundef %2, i32 noundef %6, i32 noundef %3) #2 ret i32 %7 } declare i32 @eia608_row_pramble(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)"}
obs-studio_deps_libcaption_src_extr_eia608.c_eia608_row_column_pramble