IR_x86
stringlengths
592
249k
IR_arm
stringlengths
558
250k
filename
stringlengths
17
191
; ModuleID = 'AnghaBench/mpv/ta/extr_ta.c_get_children_size.c' source_filename = "AnghaBench/mpv/ta/extr_ta.c_get_children_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ta_header = type { i64, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_children_size], section "llvm.metadata" ; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i64 @get_children_size(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.ta_header, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %19, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.ta_header, ptr %3, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = icmp eq ptr %7, %3 br i1 %8, label %19, label %9 9: ; preds = %5, %9 %10 = phi ptr [ %17, %9 ], [ %7, %5 ] %11 = phi i64 [ %15, %9 ], [ 0, %5 ] %12 = load i64, ptr %10, align 8, !tbaa !12 %13 = tail call i64 @get_children_size(ptr noundef nonnull %10) %14 = add i64 %12, %11 %15 = add i64 %14, %13 %16 = getelementptr inbounds %struct.ta_header, ptr %10, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !11 %18 = icmp eq ptr %17, %3 br i1 %18, label %19, label %9, !llvm.loop !13 19: ; preds = %9, %5, %1 %20 = phi i64 [ 0, %1 ], [ 0, %5 ], [ %15, %9 ] ret i64 %20 } attributes #0 = { nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"ta_header", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mpv/ta/extr_ta.c_get_children_size.c' source_filename = "AnghaBench/mpv/ta/extr_ta.c_get_children_size.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 @get_children_size], section "llvm.metadata" ; Function Attrs: nofree nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i64 @get_children_size(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %19, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = icmp eq ptr %7, %3 br i1 %8, label %19, label %9 9: ; preds = %5, %9 %10 = phi ptr [ %17, %9 ], [ %7, %5 ] %11 = phi i64 [ %15, %9 ], [ 0, %5 ] %12 = load i64, ptr %10, align 8, !tbaa !13 %13 = tail call i64 @get_children_size(ptr noundef nonnull %10) %14 = add i64 %12, %11 %15 = add i64 %14, %13 %16 = getelementptr inbounds i8, ptr %10, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = icmp eq ptr %17, %3 br i1 %18, label %19, label %9, !llvm.loop !14 19: ; preds = %9, %5, %1 %20 = phi i64 [ 0, %1 ], [ 0, %5 ], [ %15, %9 ] ret i64 %20 } attributes #0 = { nofree nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"ta_header", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
mpv_ta_extr_ta.c_get_children_size
; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_file_test.c_stream_close.c' source_filename = "AnghaBench/vlc/modules/access/http/extr_file_test.c_stream_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vlc_http_stream = type { i32 } @stream = dso_local global %struct.vlc_http_stream zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @stream_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stream_close(ptr noundef readnone %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, @stream %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = icmp eq i32 %1, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_file_test.c_stream_close.c' source_filename = "AnghaBench/vlc/modules/access/http/extr_file_test.c_stream_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vlc_http_stream = type { i32 } @stream = common global %struct.vlc_http_stream zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @stream_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stream_close(ptr noundef readnone %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, @stream %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = icmp eq i32 %1, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
vlc_modules_access_http_extr_file_test.c_stream_close
; ModuleID = 'AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_update_sample_time.c' source_filename = "AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_update_sample_time.c" target datalayout = "e-m:e-p270:32:32-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_pt_decoder = type { i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_pt_update_sample_time], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @intel_pt_update_sample_time(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 3 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !12 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"intel_pt_decoder", !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 12} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_update_sample_time.c' source_filename = "AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_update_sample_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @intel_pt_update_sample_time], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @intel_pt_update_sample_time(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %3, ptr %4, align 4, !tbaa !11 %5 = load i32, ptr %0, align 4, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %5, ptr %6, align 4, !tbaa !13 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"intel_pt_decoder", !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 12} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 4}
linux_tools_perf_util_intel-pt-decoder_extr_intel-pt-decoder.c_intel_pt_update_sample_time
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82575.c_e1000_get_link_up_info_82575.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82575.c_e1000_get_link_up_info_82575.c" target datalayout = "e-m:e-p270:32:32-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 [29 x i8] c"e1000_get_link_up_info_82575\00", align 1 @e1000_media_type_copper = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_get_link_up_info_82575], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @e1000_get_link_up_info_82575(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @e1000_media_type_copper, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @e1000_get_pcs_speed_and_duplex_82575(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 br label %12 10: ; preds = %3 %11 = tail call i32 @e1000_get_speed_and_duplex_copper_generic(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_get_pcs_speed_and_duplex_82575(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @e1000_get_speed_and_duplex_copper_generic(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"e1000_hw", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82575.c_e1000_get_link_up_info_82575.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82575.c_e1000_get_link_up_info_82575.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 [29 x i8] c"e1000_get_link_up_info_82575\00", align 1 @e1000_media_type_copper = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @e1000_get_link_up_info_82575], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @e1000_get_link_up_info_82575(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @e1000_media_type_copper, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @e1000_get_pcs_speed_and_duplex_82575(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 br label %12 10: ; preds = %3 %11 = tail call i32 @e1000_get_speed_and_duplex_copper_generic(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_get_pcs_speed_and_duplex_82575(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @e1000_get_speed_and_duplex_copper_generic(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"e1000_hw", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
freebsd_sys_dev_e1000_extr_e1000_82575.c_e1000_get_link_up_info_82575
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_init_ops.h_bnx2x_init_fill.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_init_ops.h_bnx2x_init_fill.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FW_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_init_fill], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnx2x_init_fill(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = shl nsw i32 %3, 2 %7 = load i32, ptr @FW_BUF_SIZE, align 4 %8 = tail call i32 @llvm.smin.i32(i32 %6, i32 %7) %9 = sdiv i32 %8, 4 %10 = tail call i32 @GUNZIP_BUF(ptr noundef %0) #3 %11 = tail call i32 @memset(i32 noundef %10, i32 noundef %2, i32 noundef %8) #3 %12 = icmp sgt i32 %3, 0 br i1 %12, label %13, label %22 13: ; preds = %5, %13 %14 = phi i32 [ %20, %13 ], [ 0, %5 ] %15 = sub nsw i32 %3, %14 %16 = tail call i32 @min(i32 noundef %9, i32 noundef %15) #3 %17 = shl nsw i32 %14, 2 %18 = add nsw i32 %17, %1 %19 = tail call i32 @bnx2x_write_big_buf(ptr noundef %0, i32 noundef %18, i32 noundef %16, i32 noundef %4) #3 %20 = add nsw i32 %14, %9 %21 = icmp slt i32 %20, %3 br i1 %21, label %13, label %22, !llvm.loop !5 22: ; preds = %13, %5 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GUNZIP_BUF(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_write_big_buf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_init_ops.h_bnx2x_init_fill.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_init_ops.h_bnx2x_init_fill.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FW_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_init_fill], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnx2x_init_fill(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = shl nsw i32 %3, 2 %7 = load i32, ptr @FW_BUF_SIZE, align 4 %8 = tail call i32 @llvm.smin.i32(i32 %6, i32 %7) %9 = sdiv i32 %8, 4 %10 = tail call i32 @GUNZIP_BUF(ptr noundef %0) #3 %11 = tail call i32 @memset(i32 noundef %10, i32 noundef %2, i32 noundef %8) #3 %12 = icmp sgt i32 %3, 0 br i1 %12, label %13, label %22 13: ; preds = %5, %13 %14 = phi i32 [ %20, %13 ], [ 0, %5 ] %15 = sub nsw i32 %3, %14 %16 = tail call i32 @min(i32 noundef %9, i32 noundef %15) #3 %17 = shl nsw i32 %14, 2 %18 = add nsw i32 %17, %1 %19 = tail call i32 @bnx2x_write_big_buf(ptr noundef %0, i32 noundef %18, i32 noundef %16, i32 noundef %4) #3 %20 = add nsw i32 %14, %9 %21 = icmp slt i32 %20, %3 br i1 %21, label %13, label %22, !llvm.loop !6 22: ; preds = %13, %5 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GUNZIP_BUF(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_write_big_buf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_init_ops.h_bnx2x_init_fill
; ModuleID = 'AnghaBench/postgres/src/backend/storage/file/extr_fd.c_AtEOSubXact_Files.c' source_filename = "AnghaBench/postgres/src/backend/storage/file/extr_fd.c_AtEOSubXact_Files.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64 } @numAllocatedDescs = dso_local local_unnamed_addr global i64 0, align 8 @allocatedDescs = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @AtEOSubXact_Files(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr @numAllocatedDescs, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %27, label %6 6: ; preds = %3 %7 = icmp eq i32 %0, 0 %8 = load ptr, ptr @allocatedDescs, align 8, !tbaa !9 br label %9 9: ; preds = %6, %21 %10 = phi ptr [ %8, %6 ], [ %22, %21 ] %11 = phi i64 [ 0, %6 ], [ %24, %21 ] %12 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !11 %14 = icmp eq i64 %13, %1 br i1 %14, label %15, label %21 15: ; preds = %9 br i1 %7, label %17, label %16 16: ; preds = %15 store i64 %2, ptr %12, align 8, !tbaa !11 br label %21 17: ; preds = %15 %18 = add i64 %11, -1 %19 = tail call i32 @FreeDesc(ptr noundef nonnull %12) #2 %20 = load ptr, ptr @allocatedDescs, align 8, !tbaa !9 br label %21 21: ; preds = %9, %17, %16 %22 = phi ptr [ %10, %16 ], [ %20, %17 ], [ %10, %9 ] %23 = phi i64 [ %11, %16 ], [ %18, %17 ], [ %11, %9 ] %24 = add i64 %23, 1 %25 = load i64, ptr @numAllocatedDescs, align 8, !tbaa !5 %26 = icmp ult i64 %24, %25 br i1 %26, label %9, label %27, !llvm.loop !13 27: ; preds = %21, %3 ret void } declare i32 @FreeDesc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/storage/file/extr_fd.c_AtEOSubXact_Files.c' source_filename = "AnghaBench/postgres/src/backend/storage/file/extr_fd.c_AtEOSubXact_Files.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 { i64 } @numAllocatedDescs = common local_unnamed_addr global i64 0, align 8 @allocatedDescs = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @AtEOSubXact_Files(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr @numAllocatedDescs, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %27, label %6 6: ; preds = %3 %7 = icmp eq i32 %0, 0 %8 = load ptr, ptr @allocatedDescs, align 8, !tbaa !10 br label %9 9: ; preds = %6, %21 %10 = phi ptr [ %8, %6 ], [ %22, %21 ] %11 = phi i64 [ 0, %6 ], [ %24, %21 ] %12 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !12 %14 = icmp eq i64 %13, %1 br i1 %14, label %15, label %21 15: ; preds = %9 br i1 %7, label %17, label %16 16: ; preds = %15 store i64 %2, ptr %12, align 8, !tbaa !12 br label %21 17: ; preds = %15 %18 = add i64 %11, -1 %19 = tail call i32 @FreeDesc(ptr noundef nonnull %12) #2 %20 = load ptr, ptr @allocatedDescs, align 8, !tbaa !10 br label %21 21: ; preds = %9, %17, %16 %22 = phi ptr [ %10, %16 ], [ %20, %17 ], [ %10, %9 ] %23 = phi i64 [ %11, %16 ], [ %18, %17 ], [ %11, %9 ] %24 = add i64 %23, 1 %25 = load i64, ptr @numAllocatedDescs, align 8, !tbaa !6 %26 = icmp ult i64 %24, %25 br i1 %26, label %9, label %27, !llvm.loop !14 27: ; preds = %21, %3 ret void } declare i32 @FreeDesc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_storage_file_extr_fd.c_AtEOSubXact_Files
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_memorystatus.c_memorystatus_on_resume.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_memorystatus.c_memorystatus_on_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @P_MEMSTAT_SUSPENDED = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @P_MEMSTAT_FROZEN = dso_local local_unnamed_addr global i32 0, align 4 @P_MEMSTAT_REFREEZE_ELIGIBLE = dso_local local_unnamed_addr global i32 0, align 4 @kMemorystatusFreezeNote = dso_local local_unnamed_addr global i32 0, align 4 @memorystatus_refreeze_eligible_count = dso_local local_unnamed_addr global i32 0, align 4 @memorystatus_suspended_count = dso_local local_unnamed_addr global i32 0, align 4 @memorystatus_thaw_count = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @memorystatus_on_resume(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @proc_list_lock() #2 %3 = load i32, ptr @P_MEMSTAT_SUSPENDED, align 4, !tbaa !5 %4 = xor i32 %3, -1 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = and i32 %5, %4 store i32 %6, ptr %0, align 4, !tbaa !9 %7 = tail call i32 (...) @proc_list_unlock() #2 ret void } declare i32 @proc_list_lock(...) local_unnamed_addr #1 declare i32 @proc_list_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !6, i64 4, !6, i64 8}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_memorystatus.c_memorystatus_on_resume.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_memorystatus.c_memorystatus_on_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @P_MEMSTAT_SUSPENDED = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @P_MEMSTAT_FROZEN = common local_unnamed_addr global i32 0, align 4 @P_MEMSTAT_REFREEZE_ELIGIBLE = common local_unnamed_addr global i32 0, align 4 @kMemorystatusFreezeNote = common local_unnamed_addr global i32 0, align 4 @memorystatus_refreeze_eligible_count = common local_unnamed_addr global i32 0, align 4 @memorystatus_suspended_count = common local_unnamed_addr global i32 0, align 4 @memorystatus_thaw_count = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @memorystatus_on_resume(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @proc_list_lock() #2 %3 = load i32, ptr @P_MEMSTAT_SUSPENDED, align 4, !tbaa !6 %4 = xor i32 %3, -1 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = and i32 %5, %4 store i32 %6, ptr %0, align 4, !tbaa !10 %7 = tail call i32 @proc_list_unlock() #2 ret void } declare i32 @proc_list_lock(...) local_unnamed_addr #1 declare i32 @proc_list_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !7, i64 4, !7, i64 8}
darwin-xnu_bsd_kern_extr_kern_memorystatus.c_memorystatus_on_resume
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_set_pending.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_set_pending.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32 } @BATADV_TT_CLIENT_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_DBG_TT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Local tt entry (%pM, vid: %d) pending to be removed: %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @batadv_tt_local_set_pending], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @batadv_tt_local_set_pending(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @batadv_tt_local_event(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %6 = load i32, ptr @BATADV_TT_CLIENT_PENDING, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = or i32 %8, %6 store i32 %9, ptr %7, align 4, !tbaa !9 %10 = load i32, ptr @BATADV_DBG_TT, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = load i32, ptr %1, align 4, !tbaa !13 %14 = tail call i32 @batadv_print_vid(i32 noundef %13) #2 %15 = tail call i32 @batadv_dbg(i32 noundef %10, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, ptr noundef %3) #2 ret void } declare i32 @batadv_tt_local_event(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @batadv_dbg(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @batadv_print_vid(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"batadv_tt_local_entry", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_set_pending.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_set_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BATADV_TT_CLIENT_PENDING = common local_unnamed_addr global i32 0, align 4 @BATADV_DBG_TT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Local tt entry (%pM, vid: %d) pending to be removed: %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @batadv_tt_local_set_pending], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @batadv_tt_local_set_pending(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @batadv_tt_local_event(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %6 = load i32, ptr @BATADV_TT_CLIENT_PENDING, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = or i32 %8, %6 store i32 %9, ptr %7, align 4, !tbaa !10 %10 = load i32, ptr @BATADV_DBG_TT, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = load i32, ptr %1, align 4, !tbaa !14 %14 = tail call i32 @batadv_print_vid(i32 noundef %13) #2 %15 = tail call i32 @batadv_dbg(i32 noundef %10, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %14, ptr noundef %3) #2 ret void } declare i32 @batadv_tt_local_event(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @batadv_dbg(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @batadv_print_vid(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"batadv_tt_local_entry", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !13 = !{!11, !7, i64 4} !14 = !{!11, !7, i64 0}
linux_net_batman-adv_extr_translation-table.c_batadv_tt_local_set_pending
; ModuleID = 'AnghaBench/linux/drivers/visorbus/extr_visorchipset.c_parahotplug_request_destroy.c' source_filename = "AnghaBench/linux/drivers/visorbus/extr_visorchipset.c_parahotplug_request_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 @parahotplug_request_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @parahotplug_request_destroy(ptr noundef %0) #0 { %2 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/visorbus/extr_visorchipset.c_parahotplug_request_destroy.c' source_filename = "AnghaBench/linux/drivers/visorbus/extr_visorchipset.c_parahotplug_request_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 @parahotplug_request_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @parahotplug_request_destroy(ptr noundef %0) #0 { %2 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_visorbus_extr_visorchipset.c_parahotplug_request_destroy
; ModuleID = 'AnghaBench/linux/drivers/net/team/extr_team.c_team_is_mode_set.c' source_filename = "AnghaBench/linux/drivers/net/team/extr_team.c_team_is_mode_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" @__team_no_mode = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @team_is_mode_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @team_is_mode_set(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp ne ptr %2, @__team_no_mode %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"team", !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/team/extr_team.c_team_is_mode_set.c' source_filename = "AnghaBench/linux/drivers/net/team/extr_team.c_team_is_mode_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__team_no_mode = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @team_is_mode_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @team_is_mode_set(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp ne ptr %2, @__team_no_mode %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"team", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_team_extr_team.c_team_is_mode_set
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_query.c_adns_submit_reverse_any.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_query.c_adns_submit_reverse_any.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @adns_qf_search = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET = dso_local local_unnamed_addr global i64 0, align 8 @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"%d.%d.%d.%d.%s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @adns_submit_reverse_any(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca [100 x i8], align 16 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %8) #3 %9 = load i32, ptr @adns_qf_search, align 4, !tbaa !5 %10 = xor i32 %9, -1 %11 = and i32 %10, %4 %12 = load i64, ptr %1, align 8, !tbaa !9 %13 = load i64, ptr @AF_INET, align 8, !tbaa !12 %14 = icmp eq i64 %12, %13 br i1 %14, label %17, label %15 15: ; preds = %7 %16 = load i32, ptr @ENOSYS, align 4, !tbaa !5 br label %40 17: ; preds = %7 %18 = tail call i32 @strlen(ptr noundef %2) #3 %19 = icmp sgt i32 %18, 83 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = tail call i32 @strlen(ptr noundef %2) #3 %22 = add nsw i32 %21, 17 %23 = tail call ptr @malloc(i32 noundef %22) #3 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr @errno, align 4, !tbaa !5 br label %40 27: ; preds = %17, %20 %28 = phi ptr [ %23, %20 ], [ %8, %17 ] %29 = phi ptr [ %23, %20 ], [ null, %17 ] %30 = getelementptr inbounds i8, ptr %1, i64 3 %31 = load i8, ptr %30, align 1, !tbaa !13 %32 = getelementptr inbounds i8, ptr %1, i64 2 %33 = load i8, ptr %32, align 1, !tbaa !13 %34 = getelementptr inbounds i8, ptr %1, i64 1 %35 = load i8, ptr %34, align 1, !tbaa !13 %36 = load i8, ptr %1, align 1, !tbaa !13 %37 = call i32 @sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str, i8 noundef zeroext %31, i8 noundef zeroext %33, i8 noundef zeroext %35, i8 noundef zeroext %36, ptr noundef %2) #3 %38 = call i32 @adns_submit(i32 noundef %0, ptr noundef nonnull %28, i32 noundef %3, i32 noundef %11, ptr noundef %5, ptr noundef %6) #3 %39 = call i32 @free(ptr noundef %29) #3 br label %40 40: ; preds = %27, %25, %15 %41 = phi i32 [ %16, %15 ], [ %38, %27 ], [ %26, %25 ] call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %8) #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 @strlen(ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #2 declare i32 @adns_submit(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"sockaddr", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_query.c_adns_submit_reverse_any.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_query.c_adns_submit_reverse_any.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @adns_qf_search = common local_unnamed_addr global i32 0, align 4 @AF_INET = common local_unnamed_addr global i64 0, align 8 @ENOSYS = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"%d.%d.%d.%d.%s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @adns_submit_reverse_any(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca [100 x i8], align 1 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %8) #3 %9 = load i32, ptr @adns_qf_search, align 4, !tbaa !6 %10 = xor i32 %9, -1 %11 = and i32 %10, %4 %12 = load i64, ptr %1, align 8, !tbaa !10 %13 = load i64, ptr @AF_INET, align 8, !tbaa !13 %14 = icmp eq i64 %12, %13 br i1 %14, label %17, label %15 15: ; preds = %7 %16 = load i32, ptr @ENOSYS, align 4, !tbaa !6 br label %40 17: ; preds = %7 %18 = tail call i32 @strlen(ptr noundef %2) #3 %19 = icmp sgt i32 %18, 83 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = tail call i32 @strlen(ptr noundef %2) #3 %22 = add nsw i32 %21, 17 %23 = tail call ptr @malloc(i32 noundef %22) #3 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %20 %26 = load i32, ptr @errno, align 4, !tbaa !6 br label %40 27: ; preds = %17, %20 %28 = phi ptr [ %23, %20 ], [ %8, %17 ] %29 = phi ptr [ %23, %20 ], [ null, %17 ] %30 = getelementptr inbounds i8, ptr %1, i64 3 %31 = load i8, ptr %30, align 1, !tbaa !14 %32 = getelementptr inbounds i8, ptr %1, i64 2 %33 = load i8, ptr %32, align 1, !tbaa !14 %34 = getelementptr inbounds i8, ptr %1, i64 1 %35 = load i8, ptr %34, align 1, !tbaa !14 %36 = load i8, ptr %1, align 1, !tbaa !14 %37 = call i32 @sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str, i8 noundef zeroext %31, i8 noundef zeroext %33, i8 noundef zeroext %35, i8 noundef zeroext %36, ptr noundef %2) #3 %38 = call i32 @adns_submit(i32 noundef %0, ptr noundef nonnull %28, i32 noundef %3, i32 noundef %11, ptr noundef %5, ptr noundef %6) #3 %39 = call i32 @free(ptr noundef %29) #3 br label %40 40: ; preds = %27, %25, %15 %41 = phi i32 [ %16, %15 ], [ %38, %27 ], [ %26, %25 ] call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %8) #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 @strlen(ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #2 declare i32 @adns_submit(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"sockaddr", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!8, !8, i64 0}
reactos_sdk_lib_3rdparty_adns_src_extr_query.c_adns_submit_reverse_any
; ModuleID = 'AnghaBench/linux/drivers/staging/vc04_services/interface/vchiq_arm/extr_vchiq_arm.c_need_resume.c' source_filename = "AnghaBench/linux/drivers/staging/vc04_services/interface/vchiq_arm/extr_vchiq_arm.c_need_resume.c" target datalayout = "e-m:e-p270:32:32-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.vchiq_arm_state = type { i64, i64 } @VC_SUSPEND_IDLE = dso_local local_unnamed_addr global i64 0, align 8 @VC_RESUME_REQUESTED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @need_resume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @need_resume(ptr noundef %0) #0 { %2 = tail call ptr @vchiq_platform_get_arm_state(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr @VC_SUSPEND_IDLE, align 8, !tbaa !10 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = getelementptr inbounds %struct.vchiq_arm_state, ptr %2, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = load i64, ptr @VC_RESUME_REQUESTED, align 8, !tbaa !10 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %15 11: ; preds = %6 %12 = tail call i64 @vchiq_videocore_wanted(ptr noundef %0) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %11, %6, %1 %16 = phi i32 [ 0, %6 ], [ 0, %1 ], [ %14, %11 ] ret i32 %16 } declare ptr @vchiq_platform_get_arm_state(ptr noundef) local_unnamed_addr #1 declare i64 @vchiq_videocore_wanted(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vchiq_arm_state", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/staging/vc04_services/interface/vchiq_arm/extr_vchiq_arm.c_need_resume.c' source_filename = "AnghaBench/linux/drivers/staging/vc04_services/interface/vchiq_arm/extr_vchiq_arm.c_need_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VC_SUSPEND_IDLE = common local_unnamed_addr global i64 0, align 8 @VC_RESUME_REQUESTED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @need_resume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @need_resume(ptr noundef %0) #0 { %2 = tail call ptr @vchiq_platform_get_arm_state(ptr noundef %0) #2 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr @VC_SUSPEND_IDLE, align 8, !tbaa !11 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr @VC_RESUME_REQUESTED, align 8, !tbaa !11 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %15 11: ; preds = %6 %12 = tail call i64 @vchiq_videocore_wanted(ptr noundef %0) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %11, %6, %1 %16 = phi i32 [ 0, %6 ], [ 0, %1 ], [ %14, %11 ] ret i32 %16 } declare ptr @vchiq_platform_get_arm_state(ptr noundef) local_unnamed_addr #1 declare i64 @vchiq_videocore_wanted(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vchiq_arm_state", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8}
linux_drivers_staging_vc04_services_interface_vchiq_arm_extr_vchiq_arm.c_need_resume
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/crypto/extr_zcrypt_pcixcc.c_zcrypt_pcixcc_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/crypto/extr_zcrypt_pcixcc.c_zcrypt_pcixcc_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.zcrypt_device = type { i32, i32, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr } %struct.ap_device = type { i32, ptr, ptr } @PCIXCC_MAX_XCRB_MESSAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ZCRYPT_PCIXCC_MCL2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"PCIXCC_MCL2\00", align 1 @PCIXCC_MCL2_SPEED_RATING = dso_local local_unnamed_addr global i32 0, align 4 @PCIXCC_MIN_MOD_SIZE_OLD = dso_local local_unnamed_addr global ptr null, align 8 @PCIXCC_MAX_MOD_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"PCIXCC_MCL3\00", align 1 @PCIXCC_MCL3_SPEED_RATING = dso_local local_unnamed_addr global i32 0, align 4 @PCIXCC_MIN_MOD_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @ZCRYPT_CEX2C = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"CEX2C\00", align 1 @CEX2C_SPEED_RATING = dso_local local_unnamed_addr global i32 0, align 4 @ZCRYPT_CEX3C = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"CEX3C\00", align 1 @CEX3C_SPEED_RATING = dso_local local_unnamed_addr global i32 0, align 4 @CEX3C_MIN_MOD_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @CEX3C_MAX_MOD_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @MSGTYPE06_NAME = dso_local local_unnamed_addr global i32 0, align 4 @MSGTYPE06_VARIANT_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @MSGTYPE06_VARIANT_NORNG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zcrypt_pcixcc_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zcrypt_pcixcc_probe(ptr noundef %0) #0 { %2 = load i32, ptr @PCIXCC_MAX_XCRB_MESSAGE_SIZE, align 4, !tbaa !5 %3 = tail call ptr @zcrypt_device_alloc(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %80 8: ; preds = %1 %9 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 9 store ptr %0, ptr %9, align 8, !tbaa !9 store i32 1, ptr %3, align 8, !tbaa !12 %10 = load i32, ptr %0, align 8, !tbaa !13 switch i32 %10, label %73 [ i32 128, label %11 i32 130, label %33 i32 129, label %44 ] 11: ; preds = %8 %12 = tail call i32 @zcrypt_pcixcc_mcl(ptr noundef nonnull %0) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 16: ; preds = %11 %17 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 1 store i32 %12, ptr %17, align 4, !tbaa !15 %18 = load i32, ptr @ZCRYPT_PCIXCC_MCL2, align 4, !tbaa !5 %19 = icmp eq i32 %12, %18 %20 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 2 %21 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 8 %22 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 7 %23 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 6 %24 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 5 br i1 %19, label %25, label %29 25: ; preds = %16 store ptr @.str, ptr %20, align 8, !tbaa !16 %26 = load i32, ptr @PCIXCC_MCL2_SPEED_RATING, align 4, !tbaa !5 store i32 %26, ptr %21, align 8, !tbaa !17 %27 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE_OLD, align 8, !tbaa !18 store ptr %27, ptr %22, align 8, !tbaa !19 %28 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !18 store ptr %28, ptr %23, align 8, !tbaa !20 store ptr %28, ptr %24, align 8, !tbaa !21 br label %55 29: ; preds = %16 store ptr @.str.1, ptr %20, align 8, !tbaa !16 %30 = load i32, ptr @PCIXCC_MCL3_SPEED_RATING, align 4, !tbaa !5 store i32 %30, ptr %21, align 8, !tbaa !17 %31 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE, align 8, !tbaa !18 store ptr %31, ptr %22, align 8, !tbaa !19 %32 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !18 store ptr %32, ptr %23, align 8, !tbaa !20 store ptr %32, ptr %24, align 8, !tbaa !21 br label %55 33: ; preds = %8 %34 = load i32, ptr @ZCRYPT_CEX2C, align 4, !tbaa !5 %35 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 1 store i32 %34, ptr %35, align 4, !tbaa !15 %36 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 2 store ptr @.str.2, ptr %36, align 8, !tbaa !16 %37 = load i32, ptr @CEX2C_SPEED_RATING, align 4, !tbaa !5 %38 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 8 store i32 %37, ptr %38, align 8, !tbaa !17 %39 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE, align 8, !tbaa !18 %40 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 7 store ptr %39, ptr %40, align 8, !tbaa !19 %41 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !18 %42 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 6 store ptr %41, ptr %42, align 8, !tbaa !20 %43 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 5 store ptr %41, ptr %43, align 8, !tbaa !21 br label %55 44: ; preds = %8 %45 = load i32, ptr @ZCRYPT_CEX3C, align 4, !tbaa !5 %46 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 1 store i32 %45, ptr %46, align 4, !tbaa !15 %47 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 2 store ptr @.str.3, ptr %47, align 8, !tbaa !16 %48 = load i32, ptr @CEX3C_SPEED_RATING, align 4, !tbaa !5 %49 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 8 store i32 %48, ptr %49, align 8, !tbaa !17 %50 = load ptr, ptr @CEX3C_MIN_MOD_SIZE, align 8, !tbaa !18 %51 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 7 store ptr %50, ptr %51, align 8, !tbaa !19 %52 = load ptr, ptr @CEX3C_MAX_MOD_SIZE, align 8, !tbaa !18 %53 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 6 store ptr %52, ptr %53, align 8, !tbaa !20 %54 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 5 store ptr %52, ptr %54, align 8, !tbaa !21 br label %55 55: ; preds = %25, %29, %44, %33 %56 = tail call i32 @zcrypt_pcixcc_rng_supported(ptr noundef nonnull %0) #2 %57 = icmp slt i32 %56, 0 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 60: ; preds = %55 %61 = icmp eq i32 %56, 0 %62 = load i32, ptr @MSGTYPE06_NAME, align 4, !tbaa !5 %63 = load i32, ptr @MSGTYPE06_VARIANT_NORNG, align 4 %64 = load i32, ptr @MSGTYPE06_VARIANT_DEFAULT, align 4 %65 = select i1 %61, i32 %63, i32 %64 %66 = tail call ptr @zcrypt_msgtype_request(i32 noundef %62, i32 noundef %65) #2 %67 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 3 store ptr %66, ptr %67, align 8 %68 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 4 %69 = getelementptr inbounds %struct.ap_device, ptr %0, i64 0, i32 2 store ptr %68, ptr %69, align 8, !tbaa !22 %70 = getelementptr inbounds %struct.ap_device, ptr %0, i64 0, i32 1 store ptr %3, ptr %70, align 8, !tbaa !23 %71 = tail call i32 @zcrypt_device_register(ptr noundef nonnull %3) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %80, label %73 73: ; preds = %60, %8 %74 = phi i32 [ 0, %8 ], [ %71, %60 ] %75 = getelementptr inbounds %struct.ap_device, ptr %0, i64 0, i32 1 store ptr null, ptr %75, align 8, !tbaa !23 %76 = getelementptr inbounds %struct.zcrypt_device, ptr %3, i64 0, i32 3 %77 = load ptr, ptr %76, align 8, !tbaa !24 %78 = tail call i32 @zcrypt_msgtype_release(ptr noundef %77) #2 %79 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 80: ; preds = %60, %73, %58, %14, %5 %81 = phi i32 [ %74, %73 ], [ %56, %58 ], [ %12, %14 ], [ %7, %5 ], [ 0, %60 ] ret i32 %81 } declare ptr @zcrypt_device_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @zcrypt_pcixcc_mcl(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_device_free(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_pcixcc_rng_supported(ptr noundef) local_unnamed_addr #1 declare ptr @zcrypt_msgtype_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zcrypt_device_register(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_msgtype_release(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 64} !10 = !{!"zcrypt_device", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !6, i64 56, !11, i64 64} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"ap_device", !6, i64 0, !11, i64 8, !11, i64 16} !15 = !{!10, !6, i64 4} !16 = !{!10, !11, i64 8} !17 = !{!10, !6, i64 56} !18 = !{!11, !11, i64 0} !19 = !{!10, !11, i64 48} !20 = !{!10, !11, i64 40} !21 = !{!10, !11, i64 32} !22 = !{!14, !11, i64 16} !23 = !{!14, !11, i64 8} !24 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/crypto/extr_zcrypt_pcixcc.c_zcrypt_pcixcc_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/crypto/extr_zcrypt_pcixcc.c_zcrypt_pcixcc_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCIXCC_MAX_XCRB_MESSAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ZCRYPT_PCIXCC_MCL2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"PCIXCC_MCL2\00", align 1 @PCIXCC_MCL2_SPEED_RATING = common local_unnamed_addr global i32 0, align 4 @PCIXCC_MIN_MOD_SIZE_OLD = common local_unnamed_addr global ptr null, align 8 @PCIXCC_MAX_MOD_SIZE = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"PCIXCC_MCL3\00", align 1 @PCIXCC_MCL3_SPEED_RATING = common local_unnamed_addr global i32 0, align 4 @PCIXCC_MIN_MOD_SIZE = common local_unnamed_addr global ptr null, align 8 @ZCRYPT_CEX2C = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"CEX2C\00", align 1 @CEX2C_SPEED_RATING = common local_unnamed_addr global i32 0, align 4 @ZCRYPT_CEX3C = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"CEX3C\00", align 1 @CEX3C_SPEED_RATING = common local_unnamed_addr global i32 0, align 4 @CEX3C_MIN_MOD_SIZE = common local_unnamed_addr global ptr null, align 8 @CEX3C_MAX_MOD_SIZE = common local_unnamed_addr global ptr null, align 8 @MSGTYPE06_NAME = common local_unnamed_addr global i32 0, align 4 @MSGTYPE06_VARIANT_DEFAULT = common local_unnamed_addr global i32 0, align 4 @MSGTYPE06_VARIANT_NORNG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zcrypt_pcixcc_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zcrypt_pcixcc_probe(ptr noundef %0) #0 { %2 = load i32, ptr @PCIXCC_MAX_XCRB_MESSAGE_SIZE, align 4, !tbaa !6 %3 = tail call ptr @zcrypt_device_alloc(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %80 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %3, i64 64 store ptr %0, ptr %9, align 8, !tbaa !10 store i32 1, ptr %3, align 8, !tbaa !13 %10 = load i32, ptr %0, align 8, !tbaa !14 switch i32 %10, label %73 [ i32 128, label %11 i32 130, label %33 i32 129, label %44 ] 11: ; preds = %8 %12 = tail call i32 @zcrypt_pcixcc_mcl(ptr noundef nonnull %0) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %12, ptr %17, align 4, !tbaa !16 %18 = load i32, ptr @ZCRYPT_PCIXCC_MCL2, align 4, !tbaa !6 %19 = icmp eq i32 %12, %18 %20 = getelementptr inbounds i8, ptr %3, i64 8 %21 = getelementptr inbounds i8, ptr %3, i64 56 %22 = getelementptr inbounds i8, ptr %3, i64 48 %23 = getelementptr inbounds i8, ptr %3, i64 40 %24 = getelementptr inbounds i8, ptr %3, i64 32 br i1 %19, label %25, label %29 25: ; preds = %16 store ptr @.str, ptr %20, align 8, !tbaa !17 %26 = load i32, ptr @PCIXCC_MCL2_SPEED_RATING, align 4, !tbaa !6 store i32 %26, ptr %21, align 8, !tbaa !18 %27 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE_OLD, align 8, !tbaa !19 store ptr %27, ptr %22, align 8, !tbaa !20 %28 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !19 store ptr %28, ptr %23, align 8, !tbaa !21 store ptr %28, ptr %24, align 8, !tbaa !22 br label %55 29: ; preds = %16 store ptr @.str.1, ptr %20, align 8, !tbaa !17 %30 = load i32, ptr @PCIXCC_MCL3_SPEED_RATING, align 4, !tbaa !6 store i32 %30, ptr %21, align 8, !tbaa !18 %31 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE, align 8, !tbaa !19 store ptr %31, ptr %22, align 8, !tbaa !20 %32 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !19 store ptr %32, ptr %23, align 8, !tbaa !21 store ptr %32, ptr %24, align 8, !tbaa !22 br label %55 33: ; preds = %8 %34 = load i32, ptr @ZCRYPT_CEX2C, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %34, ptr %35, align 4, !tbaa !16 %36 = getelementptr inbounds i8, ptr %3, i64 8 store ptr @.str.2, ptr %36, align 8, !tbaa !17 %37 = load i32, ptr @CEX2C_SPEED_RATING, align 4, !tbaa !6 %38 = getelementptr inbounds i8, ptr %3, i64 56 store i32 %37, ptr %38, align 8, !tbaa !18 %39 = load ptr, ptr @PCIXCC_MIN_MOD_SIZE, align 8, !tbaa !19 %40 = getelementptr inbounds i8, ptr %3, i64 48 store ptr %39, ptr %40, align 8, !tbaa !20 %41 = load ptr, ptr @PCIXCC_MAX_MOD_SIZE, align 8, !tbaa !19 %42 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %41, ptr %42, align 8, !tbaa !21 %43 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %41, ptr %43, align 8, !tbaa !22 br label %55 44: ; preds = %8 %45 = load i32, ptr @ZCRYPT_CEX3C, align 4, !tbaa !6 %46 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %45, ptr %46, align 4, !tbaa !16 %47 = getelementptr inbounds i8, ptr %3, i64 8 store ptr @.str.3, ptr %47, align 8, !tbaa !17 %48 = load i32, ptr @CEX3C_SPEED_RATING, align 4, !tbaa !6 %49 = getelementptr inbounds i8, ptr %3, i64 56 store i32 %48, ptr %49, align 8, !tbaa !18 %50 = load ptr, ptr @CEX3C_MIN_MOD_SIZE, align 8, !tbaa !19 %51 = getelementptr inbounds i8, ptr %3, i64 48 store ptr %50, ptr %51, align 8, !tbaa !20 %52 = load ptr, ptr @CEX3C_MAX_MOD_SIZE, align 8, !tbaa !19 %53 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %52, ptr %53, align 8, !tbaa !21 %54 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %52, ptr %54, align 8, !tbaa !22 br label %55 55: ; preds = %25, %29, %44, %33 %56 = tail call i32 @zcrypt_pcixcc_rng_supported(ptr noundef nonnull %0) #2 %57 = icmp slt i32 %56, 0 br i1 %57, label %58, label %60 58: ; preds = %55 %59 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 60: ; preds = %55 %61 = icmp eq i32 %56, 0 %62 = load i32, ptr @MSGTYPE06_NAME, align 4, !tbaa !6 %63 = load i32, ptr @MSGTYPE06_VARIANT_NORNG, align 4 %64 = load i32, ptr @MSGTYPE06_VARIANT_DEFAULT, align 4 %65 = select i1 %61, i32 %63, i32 %64 %66 = tail call ptr @zcrypt_msgtype_request(i32 noundef %62, i32 noundef %65) #2 %67 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %66, ptr %67, align 8 %68 = getelementptr inbounds i8, ptr %3, i64 24 %69 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %68, ptr %69, align 8, !tbaa !23 %70 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %3, ptr %70, align 8, !tbaa !24 %71 = tail call i32 @zcrypt_device_register(ptr noundef nonnull %3) #2 %72 = icmp eq i32 %71, 0 br i1 %72, label %80, label %73 73: ; preds = %60, %8 %74 = phi i32 [ 0, %8 ], [ %71, %60 ] %75 = getelementptr inbounds i8, ptr %0, i64 8 store ptr null, ptr %75, align 8, !tbaa !24 %76 = getelementptr inbounds i8, ptr %3, i64 16 %77 = load ptr, ptr %76, align 8, !tbaa !25 %78 = tail call i32 @zcrypt_msgtype_release(ptr noundef %77) #2 %79 = tail call i32 @zcrypt_device_free(ptr noundef nonnull %3) #2 br label %80 80: ; preds = %60, %73, %58, %14, %5 %81 = phi i32 [ %74, %73 ], [ %56, %58 ], [ %12, %14 ], [ %7, %5 ], [ 0, %60 ] ret i32 %81 } declare ptr @zcrypt_device_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @zcrypt_pcixcc_mcl(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_device_free(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_pcixcc_rng_supported(ptr noundef) local_unnamed_addr #1 declare ptr @zcrypt_msgtype_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zcrypt_device_register(ptr noundef) local_unnamed_addr #1 declare i32 @zcrypt_msgtype_release(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 64} !11 = !{!"zcrypt_device", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !7, i64 56, !12, i64 64} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"ap_device", !7, i64 0, !12, i64 8, !12, i64 16} !16 = !{!11, !7, i64 4} !17 = !{!11, !12, i64 8} !18 = !{!11, !7, i64 56} !19 = !{!12, !12, i64 0} !20 = !{!11, !12, i64 48} !21 = !{!11, !12, i64 40} !22 = !{!11, !12, i64 32} !23 = !{!15, !12, i64 16} !24 = !{!15, !12, i64 8} !25 = !{!11, !12, i64 16}
fastsocket_kernel_drivers_s390_crypto_extr_zcrypt_pcixcc.c_zcrypt_pcixcc_probe
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dpi.c_mtk_dpi_atomic_check.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dpi.c_mtk_dpi_atomic_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_dpi_atomic_check], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mtk_dpi_atomic_check(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dpi.c_mtk_dpi_atomic_check.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dpi.c_mtk_dpi_atomic_check.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 @mtk_dpi_atomic_check], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @mtk_dpi_atomic_check(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_mediatek_extr_mtk_dpi.c_mtk_dpi_atomic_check
; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_phase.c_wm_vol_info.c' source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_phase.c_wm_vol_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, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i64 } @SNDRV_CTL_ELEM_TYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm_vol_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @wm_vol_info(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = ashr i32 %3, 8 %5 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !10 %6 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 2 store i32 %5, ptr %6, align 8, !tbaa !11 store i32 %4, ptr %1, align 8, !tbaa !16 %7 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1 %8 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1, i32 0, i32 1 store i64 0, ptr %8, align 8, !tbaa !17 store i32 127, ptr %7, align 8, !tbaa !18 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_kcontrol", !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 24} !12 = !{!"snd_ctl_elem_info", !7, i64 0, !13, i64 8, !7, i64 24} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !7, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!12, !7, i64 0} !17 = !{!12, !15, i64 16} !18 = !{!12, !7, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_phase.c_wm_vol_info.c' source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_phase.c_wm_vol_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_INTEGER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm_vol_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @wm_vol_info(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = ashr i32 %3, 8 %5 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !11 %6 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %5, ptr %6, align 8, !tbaa !12 store i32 %4, ptr %1, align 8, !tbaa !17 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = getelementptr inbounds i8, ptr %1, i64 16 store i64 0, ptr %8, align 8, !tbaa !18 store i32 127, ptr %7, align 8, !tbaa !19 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_kcontrol", !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 24} !13 = !{!"snd_ctl_elem_info", !8, i64 0, !14, i64 8, !8, i64 24} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !8, i64 0, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!13, !8, i64 0} !18 = !{!13, !16, i64 16} !19 = !{!13, !8, i64 8}
linux_sound_pci_ice1712_extr_phase.c_wm_vol_info
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/3com/extr_3c589_cs.c_tc589_reset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/3com/extr_3c589_cs.c_tc589_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.net_device = type { i32, i32, ptr } @StatsDisable = dso_local local_unnamed_addr global i32 0, align 4 @EL3_CMD = dso_local local_unnamed_addr global i32 0, align 4 @StatsEnable = dso_local local_unnamed_addr global i32 0, align 4 @RxEnable = dso_local local_unnamed_addr global i32 0, align 4 @TxEnable = dso_local local_unnamed_addr global i32 0, align 4 @SetStatusEnb = dso_local local_unnamed_addr global i32 0, align 4 @AckIntr = dso_local local_unnamed_addr global i32 0, align 4 @IntLatch = dso_local local_unnamed_addr global i32 0, align 4 @TxAvailable = dso_local local_unnamed_addr global i32 0, align 4 @RxEarly = dso_local local_unnamed_addr global i32 0, align 4 @IntReq = dso_local local_unnamed_addr global i32 0, align 4 @SetIntrEnb = dso_local local_unnamed_addr global i32 0, align 4 @RxComplete = dso_local local_unnamed_addr global i32 0, align 4 @StatsFull = dso_local local_unnamed_addr global i32 0, align 4 @AdapterFailure = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tc589_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tc589_reset(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @EL3WINDOW(i32 noundef 0) #2 %4 = add i32 %2, 4 %5 = tail call i32 @outw(i32 noundef 1, i32 noundef %4) #2 %6 = add i32 %2, 8 %7 = tail call i32 @outw(i32 noundef 16128, i32 noundef %6) #2 %8 = tail call i32 @EL3WINDOW(i32 noundef 2) #2 %9 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @outb(i32 noundef %11, i32 noundef %2) #2 %13 = load ptr, ptr %9, align 8, !tbaa !11 %14 = getelementptr inbounds i32, ptr %13, i64 1 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = add i32 %2, 1 %17 = tail call i32 @outb(i32 noundef %15, i32 noundef %16) #2 %18 = load ptr, ptr %9, align 8, !tbaa !11 %19 = getelementptr inbounds i32, ptr %18, i64 2 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = add i32 %2, 2 %22 = tail call i32 @outb(i32 noundef %20, i32 noundef %21) #2 %23 = load ptr, ptr %9, align 8, !tbaa !11 %24 = getelementptr inbounds i32, ptr %23, i64 3 %25 = load i32, ptr %24, align 4, !tbaa !12 %26 = add i32 %2, 3 %27 = tail call i32 @outb(i32 noundef %25, i32 noundef %26) #2 %28 = load ptr, ptr %9, align 8, !tbaa !11 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !12 %31 = tail call i32 @outb(i32 noundef %30, i32 noundef %4) #2 %32 = load ptr, ptr %9, align 8, !tbaa !11 %33 = getelementptr inbounds i32, ptr %32, i64 5 %34 = load i32, ptr %33, align 4, !tbaa !12 %35 = add i32 %2, 5 %36 = tail call i32 @outb(i32 noundef %34, i32 noundef %35) #2 %37 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %38 = load i32, ptr %37, align 4, !tbaa !13 %39 = tail call i32 @tc589_set_xcvr(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = load i32, ptr @StatsDisable, align 4, !tbaa !12 %41 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %42 = add i32 %41, %2 %43 = tail call i32 @outw(i32 noundef %40, i32 noundef %42) #2 %44 = tail call i32 @EL3WINDOW(i32 noundef 6) #2 %45 = tail call i32 @inb(i32 noundef %2) #2 %46 = tail call i32 @inb(i32 noundef %16) #2 %47 = tail call i32 @inb(i32 noundef %21) #2 %48 = tail call i32 @inb(i32 noundef %26) #2 %49 = tail call i32 @inb(i32 noundef %4) #2 %50 = tail call i32 @inb(i32 noundef %35) #2 %51 = add i32 %2, 6 %52 = tail call i32 @inb(i32 noundef %51) #2 %53 = add i32 %2, 7 %54 = tail call i32 @inb(i32 noundef %53) #2 %55 = tail call i32 @inb(i32 noundef %6) #2 %56 = add i32 %2, 10 %57 = tail call i32 @inw(i32 noundef %56) #2 %58 = add i32 %2, 12 %59 = tail call i32 @inw(i32 noundef %58) #2 %60 = tail call i32 @EL3WINDOW(i32 noundef 1) #2 %61 = tail call i32 @set_rx_mode(ptr noundef nonnull %0) #2 %62 = load i32, ptr @StatsEnable, align 4, !tbaa !12 %63 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %64 = add i32 %63, %2 %65 = tail call i32 @outw(i32 noundef %62, i32 noundef %64) #2 %66 = load i32, ptr @RxEnable, align 4, !tbaa !12 %67 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %68 = add i32 %67, %2 %69 = tail call i32 @outw(i32 noundef %66, i32 noundef %68) #2 %70 = load i32, ptr @TxEnable, align 4, !tbaa !12 %71 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %72 = add i32 %71, %2 %73 = tail call i32 @outw(i32 noundef %70, i32 noundef %72) #2 %74 = load i32, ptr @SetStatusEnb, align 4, !tbaa !12 %75 = or i32 %74, 255 %76 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %77 = add i32 %76, %2 %78 = tail call i32 @outw(i32 noundef %75, i32 noundef %77) #2 %79 = load i32, ptr @AckIntr, align 4, !tbaa !12 %80 = load i32, ptr @IntLatch, align 4, !tbaa !12 %81 = or i32 %80, %79 %82 = load i32, ptr @TxAvailable, align 4, !tbaa !12 %83 = or i32 %81, %82 %84 = load i32, ptr @RxEarly, align 4, !tbaa !12 %85 = or i32 %83, %84 %86 = load i32, ptr @IntReq, align 4, !tbaa !12 %87 = or i32 %85, %86 %88 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %89 = add i32 %88, %2 %90 = tail call i32 @outw(i32 noundef %87, i32 noundef %89) #2 %91 = load i32, ptr @SetIntrEnb, align 4, !tbaa !12 %92 = load i32, ptr @IntLatch, align 4, !tbaa !12 %93 = or i32 %92, %91 %94 = load i32, ptr @TxAvailable, align 4, !tbaa !12 %95 = or i32 %93, %94 %96 = load i32, ptr @RxComplete, align 4, !tbaa !12 %97 = or i32 %95, %96 %98 = load i32, ptr @StatsFull, align 4, !tbaa !12 %99 = or i32 %97, %98 %100 = load i32, ptr @AdapterFailure, align 4, !tbaa !12 %101 = or i32 %99, %100 %102 = load i32, ptr @EL3_CMD, align 4, !tbaa !12 %103 = add i32 %102, %2 %104 = tail call i32 @outw(i32 noundef %101, i32 noundef %103) #2 ret void } declare i32 @EL3WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tc589_set_xcvr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @inw(i32 noundef) local_unnamed_addr #1 declare i32 @set_rx_mode(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"net_device", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/3com/extr_3c589_cs.c_tc589_reset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/3com/extr_3c589_cs.c_tc589_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @StatsDisable = common local_unnamed_addr global i32 0, align 4 @EL3_CMD = common local_unnamed_addr global i32 0, align 4 @StatsEnable = common local_unnamed_addr global i32 0, align 4 @RxEnable = common local_unnamed_addr global i32 0, align 4 @TxEnable = common local_unnamed_addr global i32 0, align 4 @SetStatusEnb = common local_unnamed_addr global i32 0, align 4 @AckIntr = common local_unnamed_addr global i32 0, align 4 @IntLatch = common local_unnamed_addr global i32 0, align 4 @TxAvailable = common local_unnamed_addr global i32 0, align 4 @RxEarly = common local_unnamed_addr global i32 0, align 4 @IntReq = common local_unnamed_addr global i32 0, align 4 @SetIntrEnb = common local_unnamed_addr global i32 0, align 4 @RxComplete = common local_unnamed_addr global i32 0, align 4 @StatsFull = common local_unnamed_addr global i32 0, align 4 @AdapterFailure = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tc589_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tc589_reset(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @EL3WINDOW(i32 noundef 0) #2 %4 = add i32 %2, 4 %5 = tail call i32 @outw(i32 noundef 1, i32 noundef %4) #2 %6 = add i32 %2, 8 %7 = tail call i32 @outw(i32 noundef 16128, i32 noundef %6) #2 %8 = tail call i32 @EL3WINDOW(i32 noundef 2) #2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @outb(i32 noundef %11, i32 noundef %2) #2 %13 = load ptr, ptr %9, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = add i32 %2, 1 %17 = tail call i32 @outb(i32 noundef %15, i32 noundef %16) #2 %18 = load ptr, ptr %9, align 8, !tbaa !12 %19 = getelementptr inbounds i8, ptr %18, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = add i32 %2, 2 %22 = tail call i32 @outb(i32 noundef %20, i32 noundef %21) #2 %23 = load ptr, ptr %9, align 8, !tbaa !12 %24 = getelementptr inbounds i8, ptr %23, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !13 %26 = add i32 %2, 3 %27 = tail call i32 @outb(i32 noundef %25, i32 noundef %26) #2 %28 = load ptr, ptr %9, align 8, !tbaa !12 %29 = getelementptr inbounds i8, ptr %28, i64 16 %30 = load i32, ptr %29, align 4, !tbaa !13 %31 = tail call i32 @outb(i32 noundef %30, i32 noundef %4) #2 %32 = load ptr, ptr %9, align 8, !tbaa !12 %33 = getelementptr inbounds i8, ptr %32, i64 20 %34 = load i32, ptr %33, align 4, !tbaa !13 %35 = add i32 %2, 5 %36 = tail call i32 @outb(i32 noundef %34, i32 noundef %35) #2 %37 = getelementptr inbounds i8, ptr %0, i64 4 %38 = load i32, ptr %37, align 4, !tbaa !14 %39 = tail call i32 @tc589_set_xcvr(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = load i32, ptr @StatsDisable, align 4, !tbaa !13 %41 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %42 = add i32 %41, %2 %43 = tail call i32 @outw(i32 noundef %40, i32 noundef %42) #2 %44 = tail call i32 @EL3WINDOW(i32 noundef 6) #2 %45 = tail call i32 @inb(i32 noundef %2) #2 %46 = tail call i32 @inb(i32 noundef %16) #2 %47 = tail call i32 @inb(i32 noundef %21) #2 %48 = tail call i32 @inb(i32 noundef %26) #2 %49 = tail call i32 @inb(i32 noundef %4) #2 %50 = tail call i32 @inb(i32 noundef %35) #2 %51 = add i32 %2, 6 %52 = tail call i32 @inb(i32 noundef %51) #2 %53 = add i32 %2, 7 %54 = tail call i32 @inb(i32 noundef %53) #2 %55 = tail call i32 @inb(i32 noundef %6) #2 %56 = add i32 %2, 10 %57 = tail call i32 @inw(i32 noundef %56) #2 %58 = add i32 %2, 12 %59 = tail call i32 @inw(i32 noundef %58) #2 %60 = tail call i32 @EL3WINDOW(i32 noundef 1) #2 %61 = tail call i32 @set_rx_mode(ptr noundef nonnull %0) #2 %62 = load i32, ptr @StatsEnable, align 4, !tbaa !13 %63 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %64 = add i32 %63, %2 %65 = tail call i32 @outw(i32 noundef %62, i32 noundef %64) #2 %66 = load i32, ptr @RxEnable, align 4, !tbaa !13 %67 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %68 = add i32 %67, %2 %69 = tail call i32 @outw(i32 noundef %66, i32 noundef %68) #2 %70 = load i32, ptr @TxEnable, align 4, !tbaa !13 %71 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %72 = add i32 %71, %2 %73 = tail call i32 @outw(i32 noundef %70, i32 noundef %72) #2 %74 = load i32, ptr @SetStatusEnb, align 4, !tbaa !13 %75 = or i32 %74, 255 %76 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %77 = add i32 %76, %2 %78 = tail call i32 @outw(i32 noundef %75, i32 noundef %77) #2 %79 = load i32, ptr @AckIntr, align 4, !tbaa !13 %80 = load i32, ptr @IntLatch, align 4, !tbaa !13 %81 = or i32 %80, %79 %82 = load i32, ptr @TxAvailable, align 4, !tbaa !13 %83 = or i32 %81, %82 %84 = load i32, ptr @RxEarly, align 4, !tbaa !13 %85 = or i32 %83, %84 %86 = load i32, ptr @IntReq, align 4, !tbaa !13 %87 = or i32 %85, %86 %88 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %89 = add i32 %88, %2 %90 = tail call i32 @outw(i32 noundef %87, i32 noundef %89) #2 %91 = load i32, ptr @SetIntrEnb, align 4, !tbaa !13 %92 = load i32, ptr @IntLatch, align 4, !tbaa !13 %93 = or i32 %92, %91 %94 = load i32, ptr @TxAvailable, align 4, !tbaa !13 %95 = or i32 %93, %94 %96 = load i32, ptr @RxComplete, align 4, !tbaa !13 %97 = or i32 %95, %96 %98 = load i32, ptr @StatsFull, align 4, !tbaa !13 %99 = or i32 %97, %98 %100 = load i32, ptr @AdapterFailure, align 4, !tbaa !13 %101 = or i32 %99, %100 %102 = load i32, ptr @EL3_CMD, align 4, !tbaa !13 %103 = add i32 %102, %2 %104 = tail call i32 @outw(i32 noundef %101, i32 noundef %103) #2 ret void } declare i32 @EL3WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @outw(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tc589_set_xcvr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @inw(i32 noundef) local_unnamed_addr #1 declare i32 @set_rx_mode(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"net_device", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 4}
linux_drivers_net_ethernet_3com_extr_3c589_cs.c_tc589_reset
; ModuleID = 'AnghaBench/git/refs/extr_packed-backend.c_packed_transaction_prepare.c' source_filename = "AnghaBench/git/refs/extr_packed-backend.c_packed_transaction_prepare.c" target datalayout = "e-m:e-p270:32:32-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.packed_transaction_backend_data = type { i32, i32 } %struct.ref_transaction = type { i64, i32, ptr, ptr } @REF_STORE_READ = dso_local local_unnamed_addr global i32 0, align 4 @REF_STORE_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @REF_STORE_ODB = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"ref_transaction_prepare\00", align 1 @TRANSACTION_GENERIC_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @REF_TRANSACTION_PREPARED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @packed_transaction_prepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @packed_transaction_prepare(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @REF_STORE_READ, align 4, !tbaa !5 %5 = load i32, ptr @REF_STORE_WRITE, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = load i32, ptr @REF_STORE_ODB, align 4, !tbaa !5 %8 = or i32 %6, %7 %9 = tail call ptr @packed_downcast(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @TRANSACTION_GENERIC_ERROR, align 4, !tbaa !5 %11 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 8) #2 %12 = getelementptr inbounds %struct.packed_transaction_backend_data, ptr %11, i64 0, i32 1 %13 = tail call i32 @string_list_init(ptr noundef nonnull %12, i32 noundef 0) #2 %14 = getelementptr inbounds %struct.ref_transaction, ptr %1, i64 0, i32 3 store ptr %11, ptr %14, align 8, !tbaa !9 %15 = load i64, ptr %1, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %29, label %17 17: ; preds = %3 %18 = getelementptr inbounds %struct.ref_transaction, ptr %1, i64 0, i32 2 br label %19 19: ; preds = %17, %19 %20 = phi i64 [ 0, %17 ], [ %26, %19 ] %21 = load ptr, ptr %18, align 8, !tbaa !14 %22 = getelementptr inbounds ptr, ptr %21, i64 %20 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = tail call ptr @string_list_append(ptr noundef nonnull %12, i32 noundef %24) #2 store ptr %23, ptr %25, align 8, !tbaa !18 %26 = add nuw i64 %20, 1 %27 = load i64, ptr %1, align 8, !tbaa !13 %28 = icmp ult i64 %26, %27 br i1 %28, label %19, label %29, !llvm.loop !20 29: ; preds = %19, %3 %30 = tail call i32 @string_list_sort(ptr noundef nonnull %12) #2 %31 = tail call i64 @ref_update_reject_duplicates(ptr noundef nonnull %12, ptr noundef %2) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %29 %34 = tail call i32 @is_lock_file_locked(ptr noundef %9) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = tail call i64 @packed_refs_lock(ptr noundef %0, i32 noundef 0, ptr noundef %2) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %46 39: ; preds = %36 store i32 1, ptr %11, align 4, !tbaa !22 br label %40 40: ; preds = %39, %33 %41 = tail call i64 @write_with_updates(ptr noundef %9, ptr noundef nonnull %12, ptr noundef %2) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr @REF_TRANSACTION_PREPARED, align 4, !tbaa !5 %45 = getelementptr inbounds %struct.ref_transaction, ptr %1, i64 0, i32 1 store i32 %44, ptr %45, align 8, !tbaa !24 br label %48 46: ; preds = %40, %36, %29 %47 = tail call i32 @packed_transaction_cleanup(ptr noundef %9, ptr noundef nonnull %1) #2 br label %48 48: ; preds = %46, %43 %49 = phi i32 [ %10, %46 ], [ 0, %43 ] ret i32 %49 } declare ptr @packed_downcast(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @string_list_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @string_list_append(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #1 declare i64 @ref_update_reject_duplicates(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_lock_file_locked(ptr noundef) local_unnamed_addr #1 declare i64 @packed_refs_lock(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @write_with_updates(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @packed_transaction_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 24} !10 = !{!"ref_transaction", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !12, i64 16} !15 = !{!12, !12, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"ref_update", !6, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"string_list_item", !12, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!23, !6, i64 0} !23 = !{!"packed_transaction_backend_data", !6, i64 0, !6, i64 4} !24 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/git/refs/extr_packed-backend.c_packed_transaction_prepare.c' source_filename = "AnghaBench/git/refs/extr_packed-backend.c_packed_transaction_prepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REF_STORE_READ = common local_unnamed_addr global i32 0, align 4 @REF_STORE_WRITE = common local_unnamed_addr global i32 0, align 4 @REF_STORE_ODB = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"ref_transaction_prepare\00", align 1 @TRANSACTION_GENERIC_ERROR = common local_unnamed_addr global i32 0, align 4 @REF_TRANSACTION_PREPARED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @packed_transaction_prepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @packed_transaction_prepare(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @REF_STORE_READ, align 4, !tbaa !6 %5 = load i32, ptr @REF_STORE_WRITE, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = load i32, ptr @REF_STORE_ODB, align 4, !tbaa !6 %8 = or i32 %6, %7 %9 = tail call ptr @packed_downcast(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @TRANSACTION_GENERIC_ERROR, align 4, !tbaa !6 %11 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 8) #2 %12 = getelementptr inbounds i8, ptr %11, i64 4 %13 = tail call i32 @string_list_init(ptr noundef nonnull %12, i32 noundef 0) #2 %14 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %11, ptr %14, align 8, !tbaa !10 %15 = load i64, ptr %1, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %29, label %17 17: ; preds = %3 %18 = getelementptr inbounds i8, ptr %1, i64 16 br label %19 19: ; preds = %17, %19 %20 = phi i64 [ 0, %17 ], [ %26, %19 ] %21 = load ptr, ptr %18, align 8, !tbaa !15 %22 = getelementptr inbounds ptr, ptr %21, i64 %20 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = tail call ptr @string_list_append(ptr noundef nonnull %12, i32 noundef %24) #2 store ptr %23, ptr %25, align 8, !tbaa !19 %26 = add nuw i64 %20, 1 %27 = load i64, ptr %1, align 8, !tbaa !14 %28 = icmp ult i64 %26, %27 br i1 %28, label %19, label %29, !llvm.loop !21 29: ; preds = %19, %3 %30 = tail call i32 @string_list_sort(ptr noundef nonnull %12) #2 %31 = tail call i64 @ref_update_reject_duplicates(ptr noundef nonnull %12, ptr noundef %2) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %29 %34 = tail call i32 @is_lock_file_locked(ptr noundef %9) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = tail call i64 @packed_refs_lock(ptr noundef %0, i32 noundef 0, ptr noundef %2) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %46 39: ; preds = %36 store i32 1, ptr %11, align 4, !tbaa !23 br label %40 40: ; preds = %39, %33 %41 = tail call i64 @write_with_updates(ptr noundef %9, ptr noundef nonnull %12, ptr noundef %2) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr @REF_TRANSACTION_PREPARED, align 4, !tbaa !6 %45 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %44, ptr %45, align 8, !tbaa !25 br label %48 46: ; preds = %40, %36, %29 %47 = tail call i32 @packed_transaction_cleanup(ptr noundef %9, ptr noundef nonnull %1) #2 br label %48 48: ; preds = %46, %43 %49 = phi i32 [ %10, %46 ], [ 0, %43 ] ret i32 %49 } declare ptr @packed_downcast(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @string_list_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @string_list_append(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #1 declare i64 @ref_update_reject_duplicates(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_lock_file_locked(ptr noundef) local_unnamed_addr #1 declare i64 @packed_refs_lock(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @write_with_updates(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @packed_transaction_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 24} !11 = !{!"ref_transaction", !12, i64 0, !7, i64 8, !13, i64 16, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !13, i64 16} !16 = !{!13, !13, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"ref_update", !7, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"string_list_item", !13, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!24, !7, i64 0} !24 = !{!"packed_transaction_backend_data", !7, i64 0, !7, i64 4} !25 = !{!11, !7, i64 8}
git_refs_extr_packed-backend.c_packed_transaction_prepare
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_action_left_video_resolution.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_action_left_video_resolution.c" target datalayout = "e-m:e-p270:32:32-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 @action_left_video_resolution], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @action_left_video_resolution(i32 %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = tail call i32 (...) @video_driver_get_prev_video_out() #2 ret i32 0 } declare i32 @video_driver_get_prev_video_out(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/RetroArch/menu/cbs/extr_menu_cbs_left.c_action_left_video_resolution.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_action_left_video_resolution.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 @action_left_video_resolution], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @action_left_video_resolution(i32 %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = tail call i32 @video_driver_get_prev_video_out() #2 ret i32 0 } declare i32 @video_driver_get_prev_video_out(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_menu_cbs_extr_menu_cbs_left.c_action_left_video_resolution
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_utf8.c_wind_ucs2utf8.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_utf8.c_wind_ucs2utf8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WIND_ERR_OVERRUN = dso_local local_unnamed_addr global i32 0, align 4 @first_char = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local i32 @wind_ucs2utf8(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %1, 0 br i1 %5, label %51, label %6 6: ; preds = %4, %47 %7 = phi i64 [ %16, %47 ], [ 0, %4 ] %8 = phi i64 [ %49, %47 ], [ 0, %4 ] %9 = phi ptr [ %48, %47 ], [ %2, %4 ] %10 = getelementptr inbounds i32, ptr %0, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = icmp slt i32 %11, 128 %13 = icmp slt i32 %11, 2048 %14 = select i1 %13, i64 2, i64 3 %15 = select i1 %12, i64 1, i64 %14 %16 = add i64 %15, %7 %17 = icmp eq ptr %9, null br i1 %17, label %47, label %18 18: ; preds = %6 %19 = load i64, ptr %3, align 8, !tbaa !9 %20 = icmp ult i64 %16, %19 br i1 %20, label %23, label %21 21: ; preds = %18 %22 = load i32, ptr @WIND_ERR_OVERRUN, align 4, !tbaa !5 br label %62 23: ; preds = %18 switch i64 %15, label %46 [ i64 3, label %24 i64 2, label %30 i64 1, label %37 ] 24: ; preds = %23 %25 = trunc i32 %11 to i8 %26 = and i8 %25, 63 %27 = or disjoint i8 %26, -128 %28 = getelementptr inbounds i8, ptr %9, i64 2 store i8 %27, ptr %28, align 1, !tbaa !11 %29 = ashr i32 %11, 6 br label %30 30: ; preds = %23, %24 %31 = phi i32 [ %11, %23 ], [ %29, %24 ] %32 = trunc i32 %31 to i8 %33 = and i8 %32, 63 %34 = or disjoint i8 %33, -128 %35 = getelementptr inbounds i8, ptr %9, i64 1 store i8 %34, ptr %35, align 1, !tbaa !11 %36 = ashr i32 %31, 6 br label %37 37: ; preds = %23, %30 %38 = phi i32 [ %11, %23 ], [ %36, %30 ] %39 = load ptr, ptr @first_char, align 8, !tbaa !12 %40 = getelementptr i32, ptr %39, i64 %15 %41 = getelementptr i32, ptr %40, i64 -1 %42 = load i32, ptr %41, align 4, !tbaa !5 %43 = or i32 %42, %38 %44 = trunc i32 %43 to i8 store i8 %44, ptr %9, align 1, !tbaa !11 %45 = getelementptr inbounds i8, ptr %9, i64 %15 br label %47 46: ; preds = %23 unreachable 47: ; preds = %6, %37 %48 = phi ptr [ %45, %37 ], [ null, %6 ] %49 = add nuw i64 %8, 1 %50 = icmp eq i64 %49, %1 br i1 %50, label %51, label %6, !llvm.loop !14 51: ; preds = %47, %4 %52 = phi ptr [ %2, %4 ], [ %48, %47 ] %53 = phi i64 [ 0, %4 ], [ %16, %47 ] %54 = icmp eq ptr %52, null br i1 %54, label %61, label %55 55: ; preds = %51 %56 = load i64, ptr %3, align 8, !tbaa !9 %57 = icmp ult i64 %53, %56 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = load i32, ptr @WIND_ERR_OVERRUN, align 4, !tbaa !5 br label %62 60: ; preds = %55 store i8 0, ptr %52, align 1, !tbaa !11 br label %61 61: ; preds = %60, %51 store i64 %53, ptr %3, align 8, !tbaa !9 br label %62 62: ; preds = %61, %58, %21 %63 = phi i32 [ %22, %21 ], [ %59, %58 ], [ 0, %61 ] ret i32 %63 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_utf8.c_wind_ucs2utf8.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_utf8.c_wind_ucs2utf8.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WIND_ERR_OVERRUN = common local_unnamed_addr global i32 0, align 4 @first_char = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define i32 @wind_ucs2utf8(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %1, 0 br i1 %5, label %51, label %6 6: ; preds = %4, %47 %7 = phi i64 [ %16, %47 ], [ 0, %4 ] %8 = phi i64 [ %49, %47 ], [ 0, %4 ] %9 = phi ptr [ %48, %47 ], [ %2, %4 ] %10 = getelementptr inbounds i32, ptr %0, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = icmp slt i32 %11, 128 %13 = icmp slt i32 %11, 2048 %14 = select i1 %13, i64 2, i64 3 %15 = select i1 %12, i64 1, i64 %14 %16 = add i64 %15, %7 %17 = icmp eq ptr %9, null br i1 %17, label %47, label %18 18: ; preds = %6 %19 = load i64, ptr %3, align 8, !tbaa !10 %20 = icmp ult i64 %16, %19 br i1 %20, label %23, label %21 21: ; preds = %18 %22 = load i32, ptr @WIND_ERR_OVERRUN, align 4, !tbaa !6 br label %62 23: ; preds = %18 switch i64 %15, label %46 [ i64 3, label %24 i64 2, label %30 i64 1, label %37 ] 24: ; preds = %23 %25 = trunc i32 %11 to i8 %26 = and i8 %25, 63 %27 = or disjoint i8 %26, -128 %28 = getelementptr inbounds i8, ptr %9, i64 2 store i8 %27, ptr %28, align 1, !tbaa !12 %29 = ashr i32 %11, 6 br label %30 30: ; preds = %23, %24 %31 = phi i32 [ %11, %23 ], [ %29, %24 ] %32 = trunc i32 %31 to i8 %33 = and i8 %32, 63 %34 = or disjoint i8 %33, -128 %35 = getelementptr inbounds i8, ptr %9, i64 1 store i8 %34, ptr %35, align 1, !tbaa !12 %36 = ashr i32 %31, 6 br label %37 37: ; preds = %23, %30 %38 = phi i32 [ %11, %23 ], [ %36, %30 ] %39 = load ptr, ptr @first_char, align 8, !tbaa !13 %40 = getelementptr i32, ptr %39, i64 %15 %41 = getelementptr i8, ptr %40, i64 -4 %42 = load i32, ptr %41, align 4, !tbaa !6 %43 = or i32 %42, %38 %44 = trunc i32 %43 to i8 store i8 %44, ptr %9, align 1, !tbaa !12 %45 = getelementptr inbounds i8, ptr %9, i64 %15 br label %47 46: ; preds = %23 unreachable 47: ; preds = %6, %37 %48 = phi ptr [ %45, %37 ], [ null, %6 ] %49 = add nuw i64 %8, 1 %50 = icmp eq i64 %49, %1 br i1 %50, label %51, label %6, !llvm.loop !15 51: ; preds = %47, %4 %52 = phi ptr [ %2, %4 ], [ %48, %47 ] %53 = phi i64 [ 0, %4 ], [ %16, %47 ] %54 = icmp eq ptr %52, null br i1 %54, label %61, label %55 55: ; preds = %51 %56 = load i64, ptr %3, align 8, !tbaa !10 %57 = icmp ult i64 %53, %56 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = load i32, ptr @WIND_ERR_OVERRUN, align 4, !tbaa !6 br label %62 60: ; preds = %55 store i8 0, ptr %52, align 1, !tbaa !12 br label %61 61: ; preds = %60, %51 store i64 %53, ptr %3, align 8, !tbaa !10 br label %62 62: ; preds = %61, %58, %21 %63 = phi i32 [ %22, %21 ], [ %59, %58 ], [ 0, %61 ] ret i32 %63 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_crypto_heimdal_lib_wind_extr_utf8.c_wind_ucs2utf8
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_dp.c_nvbios_dpcfg_parse.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_dp.c_nvbios_dpcfg_parse.c" target datalayout = "e-m:e-p270:32:32-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_dpcfg = type { ptr, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @nvbios_dpcfg_parse(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #0 { %9 = tail call i32 @nvbios_dpcfg_entry(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %26, label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4, !tbaa !5 switch i32 %12, label %26 [ i32 33, label %14 i32 48, label %13 i32 64, label %13 ] 13: ; preds = %11, %11 br label %14 14: ; preds = %11, %13 %15 = phi i32 [ 1, %13 ], [ 2, %11 ] %16 = phi i32 [ 2, %13 ], [ 3, %11 ] %17 = phi i32 [ 3, %13 ], [ 4, %11 ] %18 = add nsw i32 %9, %15 %19 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %18) #2 %20 = getelementptr inbounds %struct.nvbios_dpcfg, ptr %7, i64 0, i32 2 store ptr %19, ptr %20, align 8, !tbaa !9 %21 = add nsw i32 %9, %16 %22 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %21) #2 %23 = getelementptr inbounds %struct.nvbios_dpcfg, ptr %7, i64 0, i32 1 store ptr %22, ptr %23, align 8, !tbaa !12 %24 = add nsw i32 %9, %17 %25 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %24) #2 store ptr %25, ptr %7, align 8, !tbaa !13 br label %26 26: ; preds = %14, %11, %8 %27 = phi i32 [ 0, %8 ], [ 0, %11 ], [ %9, %14 ] ret i32 %27 } declare i32 @nvbios_dpcfg_entry(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @nv_ro08(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 16} !10 = !{!"nvbios_dpcfg", !11, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_dp.c_nvbios_dpcfg_parse.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_dp.c_nvbios_dpcfg_parse.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 @nvbios_dpcfg_parse(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #0 { %9 = tail call i32 @nvbios_dpcfg_entry(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %26, label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4, !tbaa !6 switch i32 %12, label %26 [ i32 33, label %14 i32 48, label %13 i32 64, label %13 ] 13: ; preds = %11, %11 br label %14 14: ; preds = %11, %13 %15 = phi i32 [ 1, %13 ], [ 2, %11 ] %16 = phi i32 [ 2, %13 ], [ 3, %11 ] %17 = phi i32 [ 3, %13 ], [ 4, %11 ] %18 = add nsw i32 %9, %15 %19 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %18) #2 %20 = getelementptr inbounds i8, ptr %7, i64 16 store ptr %19, ptr %20, align 8, !tbaa !10 %21 = add nsw i32 %9, %16 %22 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %22, ptr %23, align 8, !tbaa !13 %24 = add nsw i32 %9, %17 %25 = tail call ptr @nv_ro08(ptr noundef %0, i32 noundef %24) #2 store ptr %25, ptr %7, align 8, !tbaa !14 br label %26 26: ; preds = %14, %11, %8 %27 = phi i32 [ 0, %8 ], [ 0, %11 ], [ %9, %14 ] ret i32 %27 } declare i32 @nvbios_dpcfg_entry(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @nv_ro08(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 16} !11 = !{!"nvbios_dpcfg", !12, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_subdev_bios_extr_dp.c_nvbios_dpcfg_parse
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_math.h___inline_isnan.c' source_filename = "AnghaBench/freebsd/lib/msun/src/extr_math.h___inline_isnan.c" target datalayout = "e-m:e-p270:32:32-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 @__inline_isnan], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @__inline_isnan(double noundef %0) #0 { %2 = fcmp uno double %0, 0.000000e+00 %3 = zext i1 %2 to i32 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_math.h___inline_isnan.c' source_filename = "AnghaBench/freebsd/lib/msun/src/extr_math.h___inline_isnan.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 @__inline_isnan], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @__inline_isnan(double noundef %0) #0 { %2 = fcmp uno double %0, 0.000000e+00 %3 = zext i1 %2 to i32 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_lib_msun_src_extr_math.h___inline_isnan
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_varasm.c_output_constant_pool_1.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_varasm.c_output_constant_pool_1.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } %struct.constant_descriptor_rtx = type { i32, i32, i32 } @PLUS = dso_local local_unnamed_addr global i32 0, align 4 @NOTE_INSN_DELETED = dso_local local_unnamed_addr global i32 0, align 4 @targetm = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @asm_out_file = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"LC\00", align 1 @in_section = dso_local local_unnamed_addr global ptr null, align 8 @SECTION_MERGE = dso_local local_unnamed_addr global i32 0, align 4 @done = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @output_constant_pool_1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @output_constant_pool_1(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.constant_descriptor_rtx, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @GET_CODE(i32 noundef %4) #2 switch i32 %5, label %35 [ i32 129, label %6 i32 128, label %19 ] 6: ; preds = %2 %7 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %8 = tail call i32 @GET_CODE(i32 noundef %7) #2 %9 = load i32, ptr @PLUS, align 4, !tbaa !10 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %35 11: ; preds = %6 %12 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %13 = tail call i32 @XEXP(i32 noundef %12, i32 noundef 0) #2 %14 = tail call i32 @GET_CODE(i32 noundef %13) #2 %15 = icmp eq i32 %14, 128 br i1 %15, label %16, label %35 16: ; preds = %11 %17 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %18 = tail call i32 @XEXP(i32 noundef %17, i32 noundef 0) #2 br label %19 19: ; preds = %2, %16 %20 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %21 = tail call i32 @INSN_DELETED_P(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 %23 = zext i1 %22 to i32 %24 = tail call i32 @gcc_assert(i32 noundef %23) #2 %25 = tail call i32 @NOTE_P(i32 noundef %20) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %19 %28 = tail call i32 @NOTE_LINE_NUMBER(i32 noundef %20) #2 %29 = load i32, ptr @NOTE_INSN_DELETED, align 4, !tbaa !10 %30 = icmp ne i32 %28, %29 %31 = zext i1 %30 to i32 br label %32 32: ; preds = %27, %19 %33 = phi i32 [ 1, %19 ], [ %31, %27 ] %34 = tail call i32 @gcc_assert(i32 noundef %33) #2 br label %35 35: ; preds = %2, %6, %11, %32 %36 = tail call i32 @assemble_align(i32 noundef %1) #2 %37 = load ptr, ptr @targetm, align 8, !tbaa !11 %38 = load i32, ptr @asm_out_file, align 4, !tbaa !10 %39 = getelementptr inbounds %struct.constant_descriptor_rtx, ptr %0, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !15 %41 = tail call i32 %37(i32 noundef %38, ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = load i32, ptr %0, align 4, !tbaa !16 %43 = tail call i32 @output_constant_pool_2(i32 noundef %42, i32 noundef %4, i32 noundef %1) #2 %44 = load i32, ptr %0, align 4, !tbaa !16 %45 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %44) #2 %46 = icmp ult i32 %45, %1 %47 = load ptr, ptr @in_section, align 8 %48 = icmp ne ptr %47, null %49 = select i1 %46, i1 %48, i1 false br i1 %49, label %50, label %57 50: ; preds = %35 %51 = load i32, ptr %47, align 4, !tbaa !17 %52 = load i32, ptr @SECTION_MERGE, align 4, !tbaa !10 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = tail call i32 @assemble_align(i32 noundef %1) #2 br label %57 57: ; preds = %55, %50, %35 ret void } declare i32 @GET_CODE(i32 noundef) local_unnamed_addr #1 declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @INSN_DELETED_P(i32 noundef) local_unnamed_addr #1 declare i32 @NOTE_P(i32 noundef) local_unnamed_addr #1 declare i32 @NOTE_LINE_NUMBER(i32 noundef) local_unnamed_addr #1 declare i32 @assemble_align(i32 noundef) local_unnamed_addr #1 declare i32 @output_constant_pool_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_MODE_BITSIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"constant_descriptor_rtx", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_8__", !19, i64 0} !19 = !{!"TYPE_6__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_varasm.c_output_constant_pool_1.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_varasm.c_output_constant_pool_1.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 { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @PLUS = common local_unnamed_addr global i32 0, align 4 @NOTE_INSN_DELETED = common local_unnamed_addr global i32 0, align 4 @targetm = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @asm_out_file = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"LC\00", align 1 @in_section = common local_unnamed_addr global ptr null, align 8 @SECTION_MERGE = common local_unnamed_addr global i32 0, align 4 @done = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @output_constant_pool_1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @output_constant_pool_1(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @GET_CODE(i32 noundef %4) #2 switch i32 %5, label %35 [ i32 129, label %6 i32 128, label %19 ] 6: ; preds = %2 %7 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %8 = tail call i32 @GET_CODE(i32 noundef %7) #2 %9 = load i32, ptr @PLUS, align 4, !tbaa !11 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %35 11: ; preds = %6 %12 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %13 = tail call i32 @XEXP(i32 noundef %12, i32 noundef 0) #2 %14 = tail call i32 @GET_CODE(i32 noundef %13) #2 %15 = icmp eq i32 %14, 128 br i1 %15, label %16, label %35 16: ; preds = %11 %17 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %18 = tail call i32 @XEXP(i32 noundef %17, i32 noundef 0) #2 br label %19 19: ; preds = %2, %16 %20 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %21 = tail call i32 @INSN_DELETED_P(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 %23 = zext i1 %22 to i32 %24 = tail call i32 @gcc_assert(i32 noundef %23) #2 %25 = tail call i32 @NOTE_P(i32 noundef %20) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %19 %28 = tail call i32 @NOTE_LINE_NUMBER(i32 noundef %20) #2 %29 = load i32, ptr @NOTE_INSN_DELETED, align 4, !tbaa !11 %30 = icmp ne i32 %28, %29 %31 = zext i1 %30 to i32 br label %32 32: ; preds = %27, %19 %33 = phi i32 [ 1, %19 ], [ %31, %27 ] %34 = tail call i32 @gcc_assert(i32 noundef %33) #2 br label %35 35: ; preds = %2, %6, %11, %32 %36 = tail call i32 @assemble_align(i32 noundef %1) #2 %37 = load ptr, ptr @targetm, align 8, !tbaa !12 %38 = load i32, ptr @asm_out_file, align 4, !tbaa !11 %39 = getelementptr inbounds i8, ptr %0, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !16 %41 = tail call i32 %37(i32 noundef %38, ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = load i32, ptr %0, align 4, !tbaa !17 %43 = tail call i32 @output_constant_pool_2(i32 noundef %42, i32 noundef %4, i32 noundef %1) #2 %44 = load i32, ptr %0, align 4, !tbaa !17 %45 = tail call i32 @GET_MODE_BITSIZE(i32 noundef %44) #2 %46 = icmp ult i32 %45, %1 %47 = load ptr, ptr @in_section, align 8 %48 = icmp ne ptr %47, null %49 = select i1 %46, i1 %48, i1 false br i1 %49, label %50, label %57 50: ; preds = %35 %51 = load i32, ptr %47, align 4, !tbaa !18 %52 = load i32, ptr @SECTION_MERGE, align 4, !tbaa !11 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %50 %56 = tail call i32 @assemble_align(i32 noundef %1) #2 br label %57 57: ; preds = %55, %50, %35 ret void } declare i32 @GET_CODE(i32 noundef) local_unnamed_addr #1 declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @INSN_DELETED_P(i32 noundef) local_unnamed_addr #1 declare i32 @NOTE_P(i32 noundef) local_unnamed_addr #1 declare i32 @NOTE_LINE_NUMBER(i32 noundef) local_unnamed_addr #1 declare i32 @assemble_align(i32 noundef) local_unnamed_addr #1 declare i32 @output_constant_pool_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_MODE_BITSIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"constant_descriptor_rtx", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_8__", !20, i64 0} !20 = !{!"TYPE_6__", !8, i64 0}
freebsd_contrib_gcc_extr_varasm.c_output_constant_pool_1
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_iflib.c_iflib_ctx_lock_get.c' source_filename = "AnghaBench/freebsd/sys/net/extr_iflib.c_iflib_ctx_lock_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef ptr @iflib_ctx_lock_get(ptr noundef readnone returned %0) local_unnamed_addr #0 { ret ptr %0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_iflib.c_iflib_ctx_lock_get.c' source_filename = "AnghaBench/freebsd/sys/net/extr_iflib.c_iflib_ctx_lock_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef ptr @iflib_ctx_lock_get(ptr noundef readnone returned %0) local_unnamed_addr #0 { ret ptr %0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_net_extr_iflib.c_iflib_ctx_lock_get
; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_xv.c_put_xvimage.c' source_filename = "AnghaBench/mpv/video/out/extr_vo_xv.c_put_xvimage.c" target datalayout = "e-m:e-p270:32:32-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.vo = type { ptr, ptr } %struct.xvctx = type { i32, i32, i64, %struct.mp_rect, %struct.mp_rect } %struct.mp_rect = type { i32, i32, i32, i32 } %struct.vo_x11_state = type { i32, i32, i32 } @True = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @put_xvimage], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @put_xvimage(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.vo, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 4 %7 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 3 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 3, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = sub nsw i32 %8, %10 %12 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 3, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 3, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = sub nsw i32 %13, %15 %17 = load i32, ptr %6, align 4, !tbaa !11 %18 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 4, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = sub nsw i32 %17, %19 %21 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 4, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 4, i32 3 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = sub nsw i32 %22, %24 %26 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 2 %27 = load i64, ptr %26, align 8, !tbaa !17 %28 = icmp eq i64 %27, 0 %29 = getelementptr inbounds %struct.vo_x11_state, ptr %5, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !20 %31 = getelementptr inbounds %struct.xvctx, ptr %4, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !22 %33 = load i32, ptr %5, align 4, !tbaa !23 %34 = load i32, ptr %4, align 8, !tbaa !24 br i1 %28, label %41, label %35 35: ; preds = %2 %36 = load i32, ptr @True, align 4, !tbaa !25 %37 = tail call i32 @XvShmPutImage(i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %1, i32 noundef %19, i32 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef %10, i32 noundef %15, i32 noundef %11, i32 noundef %16, i32 noundef %36) #2 %38 = getelementptr inbounds %struct.vo_x11_state, ptr %5, i64 0, i32 2 %39 = load i32, ptr %38, align 4, !tbaa !26 %40 = add nsw i32 %39, 1 store i32 %40, ptr %38, align 4, !tbaa !26 br label %43 41: ; preds = %2 %42 = tail call i32 @XvPutImage(i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %1, i32 noundef %19, i32 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef %10, i32 noundef %15, i32 noundef %11, i32 noundef %16) #2 br label %43 43: ; preds = %41, %35 ret void } declare i32 @XvShmPutImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XvPutImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"vo", !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, !13, i64 0} !12 = !{!"mp_rect", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12} !13 = !{!"int", !8, i64 0} !14 = !{!12, !13, i64 4} !15 = !{!12, !13, i64 8} !16 = !{!12, !13, i64 12} !17 = !{!18, !19, i64 8} !18 = !{!"xvctx", !13, i64 0, !13, i64 4, !19, i64 8, !12, i64 16, !12, i64 32} !19 = !{!"long", !8, i64 0} !20 = !{!21, !13, i64 4} !21 = !{!"vo_x11_state", !13, i64 0, !13, i64 4, !13, i64 8} !22 = !{!18, !13, i64 4} !23 = !{!21, !13, i64 0} !24 = !{!18, !13, i64 0} !25 = !{!13, !13, i64 0} !26 = !{!21, !13, i64 8}
; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_xv.c_put_xvimage.c' source_filename = "AnghaBench/mpv/video/out/extr_vo_xv.c_put_xvimage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @True = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @put_xvimage], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @put_xvimage(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = getelementptr inbounds i8, ptr %4, i64 32 %7 = getelementptr inbounds i8, ptr %4, i64 16 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %4, i64 20 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = sub nsw i32 %8, %10 %12 = getelementptr inbounds i8, ptr %4, i64 24 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = getelementptr inbounds i8, ptr %4, i64 28 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = sub nsw i32 %13, %15 %17 = load i32, ptr %6, align 4, !tbaa !12 %18 = getelementptr inbounds i8, ptr %4, i64 36 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = sub nsw i32 %17, %19 %21 = getelementptr inbounds i8, ptr %4, i64 40 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = getelementptr inbounds i8, ptr %4, i64 44 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = sub nsw i32 %22, %24 %26 = getelementptr inbounds i8, ptr %4, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = icmp eq i64 %27, 0 %29 = getelementptr inbounds i8, ptr %5, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !21 %31 = getelementptr inbounds i8, ptr %4, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !23 %33 = load i32, ptr %5, align 4, !tbaa !24 %34 = load i32, ptr %4, align 8, !tbaa !25 br i1 %28, label %41, label %35 35: ; preds = %2 %36 = load i32, ptr @True, align 4, !tbaa !26 %37 = tail call i32 @XvShmPutImage(i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %1, i32 noundef %19, i32 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef %10, i32 noundef %15, i32 noundef %11, i32 noundef %16, i32 noundef %36) #2 %38 = getelementptr inbounds i8, ptr %5, i64 8 %39 = load i32, ptr %38, align 4, !tbaa !27 %40 = add nsw i32 %39, 1 store i32 %40, ptr %38, align 4, !tbaa !27 br label %43 41: ; preds = %2 %42 = tail call i32 @XvPutImage(i32 noundef %30, i32 noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef %1, i32 noundef %19, i32 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef %10, i32 noundef %15, i32 noundef %11, i32 noundef %16) #2 br label %43 43: ; preds = %41, %35 ret void } declare i32 @XvShmPutImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XvPutImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"vo", !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, !14, i64 0} !13 = !{!"mp_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12} !14 = !{!"int", !9, i64 0} !15 = !{!13, !14, i64 4} !16 = !{!13, !14, i64 8} !17 = !{!13, !14, i64 12} !18 = !{!19, !20, i64 8} !19 = !{!"xvctx", !14, i64 0, !14, i64 4, !20, i64 8, !13, i64 16, !13, i64 32} !20 = !{!"long", !9, i64 0} !21 = !{!22, !14, i64 4} !22 = !{!"vo_x11_state", !14, i64 0, !14, i64 4, !14, i64 8} !23 = !{!19, !14, i64 4} !24 = !{!22, !14, i64 0} !25 = !{!19, !14, i64 0} !26 = !{!14, !14, i64 0} !27 = !{!22, !14, i64 8}
mpv_video_out_extr_vo_xv.c_put_xvimage
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_svn_fs_fs__purge_txn.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_svn_fs_fs__purge_txn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_fs__purge_txn(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = call i32 @svn_fs_fs__id_txn_parse(ptr noundef nonnull %4, ptr noundef %1) #3 %7 = call i32 @SVN_ERR(i32 noundef %6) #3 %8 = call i32 @purge_shared_txn(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %9 = call i32 @SVN_ERR(i32 noundef %8) #3 %10 = call i32 @svn_fs_fs__path_txn_dir(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %11 = load i32, ptr @FALSE, align 4, !tbaa !10 %12 = call i32 @svn_io_remove_dir2(i32 noundef %10, i32 noundef %11, ptr noundef null, ptr noundef null, ptr noundef %2) #3 %13 = call i32 @SVN_ERR(i32 noundef %12) #3 %14 = load i64, ptr %5, align 8, !tbaa !12 %15 = load i64, ptr @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT, align 8, !tbaa !15 %16 = icmp slt i64 %14, %15 br i1 %16, label %26, label %17 17: ; preds = %3 %18 = call i32 @svn_fs_fs__path_txn_proto_rev(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %19 = load i32, ptr @TRUE, align 4, !tbaa !10 %20 = call i32 @svn_io_remove_file2(i32 noundef %18, i32 noundef %19, ptr noundef %2) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = call i32 @svn_fs_fs__path_txn_proto_rev_lock(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %23 = load i32, ptr @TRUE, align 4, !tbaa !10 %24 = call i32 @svn_io_remove_file2(i32 noundef %22, i32 noundef %23, ptr noundef %2) #3 %25 = call i32 @SVN_ERR(i32 noundef %24) #3 br label %26 26: ; preds = %17, %3 %27 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__id_txn_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @purge_shared_txn(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_io_remove_dir2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_dir(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_io_remove_file2(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_proto_rev(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_proto_rev_lock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_9__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_svn_fs_fs__purge_txn.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_svn_fs_fs__purge_txn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_fs__purge_txn(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = call i32 @svn_fs_fs__id_txn_parse(ptr noundef nonnull %4, ptr noundef %1) #3 %7 = call i32 @SVN_ERR(i32 noundef %6) #3 %8 = call i32 @purge_shared_txn(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %9 = call i32 @SVN_ERR(i32 noundef %8) #3 %10 = call i32 @svn_fs_fs__path_txn_dir(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %11 = load i32, ptr @FALSE, align 4, !tbaa !11 %12 = call i32 @svn_io_remove_dir2(i32 noundef %10, i32 noundef %11, ptr noundef null, ptr noundef null, ptr noundef %2) #3 %13 = call i32 @SVN_ERR(i32 noundef %12) #3 %14 = load i64, ptr %5, align 8, !tbaa !13 %15 = load i64, ptr @SVN_FS_FS__MIN_PROTOREVS_DIR_FORMAT, align 8, !tbaa !16 %16 = icmp slt i64 %14, %15 br i1 %16, label %26, label %17 17: ; preds = %3 %18 = call i32 @svn_fs_fs__path_txn_proto_rev(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %19 = load i32, ptr @TRUE, align 4, !tbaa !11 %20 = call i32 @svn_io_remove_file2(i32 noundef %18, i32 noundef %19, ptr noundef %2) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = call i32 @svn_fs_fs__path_txn_proto_rev_lock(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef %2) #3 %23 = load i32, ptr @TRUE, align 4, !tbaa !11 %24 = call i32 @svn_io_remove_file2(i32 noundef %22, i32 noundef %23, ptr noundef %2) #3 %25 = call i32 @SVN_ERR(i32 noundef %24) #3 br label %26 26: ; preds = %17, %3 %27 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__id_txn_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @purge_shared_txn(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_io_remove_dir2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_dir(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_io_remove_file2(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_proto_rev(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_fs__path_txn_proto_rev_lock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_9__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!8, !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_fs_extr_transaction.c_svn_fs_fs__purge_txn
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_set_pincfg.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_set_pincfg.c" target datalayout = "e-m:e-p270:32:32-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 @snd_hda_codec_set_pincfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @snd_hda_add_pincfg(ptr noundef %0, ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @snd_hda_add_pincfg(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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_set_pincfg.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_set_pincfg.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 @snd_hda_codec_set_pincfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @snd_hda_add_pincfg(ptr noundef %0, ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @snd_hda_add_pincfg(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)"}
fastsocket_kernel_sound_pci_hda_extr_hda_codec.c_snd_hda_codec_set_pincfg
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_fds_example.c_bpf_do_prog.c' source_filename = "AnghaBench/linux/samples/bpf/extr_fds_example.c_bpf_do_prog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BPF_F_PIN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"bpf: prog fd:%d (%s)\0A\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"bpf: pin ret:(%d,%s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"bpf: get fd:%d (%s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"lo\00", align 1 @SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @SO_ATTACH_BPF = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [44 x i8] c"bpf: sock:%d <- fd:%d attached ret:(%d,%s)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_do_prog], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bpf_do_prog(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load i32, ptr @BPF_F_PIN, align 4, !tbaa !5 %6 = and i32 %5, %1 %7 = icmp eq i32 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %3 %9 = tail call i32 @bpf_prog_create(ptr noundef %2) #4 store i32 %9, ptr %4, align 4, !tbaa !5 %10 = load i32, ptr @errno, align 4, !tbaa !5 %11 = tail call ptr @strerror(i32 noundef %10) #4 %12 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %9, ptr noundef %11) %13 = icmp sgt i32 %9, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @assert(i32 noundef %14) #4 %16 = tail call i32 @bpf_obj_pin(i32 noundef %9, ptr noundef %0) #4 %17 = load i32, ptr @errno, align 4, !tbaa !5 %18 = tail call ptr @strerror(i32 noundef %17) #4 %19 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %16, ptr noundef %18) %20 = icmp eq i32 %16, 0 br label %27 21: ; preds = %3 %22 = tail call i32 @bpf_obj_get(ptr noundef %0) #4 store i32 %22, ptr %4, align 4, !tbaa !5 %23 = load i32, ptr @errno, align 4, !tbaa !5 %24 = tail call ptr @strerror(i32 noundef %23) #4 %25 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %22, ptr noundef %24) %26 = icmp sgt i32 %22, 0 br label %27 27: ; preds = %21, %8 %28 = phi i1 [ %26, %21 ], [ %20, %8 ] %29 = zext i1 %28 to i32 %30 = tail call i32 @assert(i32 noundef %29) #4 %31 = tail call i32 @open_raw_sock(ptr noundef nonnull @.str.3) #4 %32 = icmp sgt i32 %31, 0 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #4 %35 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !5 %36 = load i32, ptr @SO_ATTACH_BPF, align 4, !tbaa !5 %37 = call i32 @setsockopt(i32 noundef %31, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %4, i32 noundef 4) #4 %38 = load i32, ptr %4, align 4, !tbaa !5 %39 = load i32, ptr @errno, align 4, !tbaa !5 %40 = call ptr @strerror(i32 noundef %39) #4 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %31, i32 noundef %38, i32 noundef %37, ptr noundef %40) %42 = icmp eq i32 %37, 0 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bpf_prog_create(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3 declare ptr @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @bpf_obj_pin(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bpf_obj_get(ptr noundef) local_unnamed_addr #2 declare i32 @open_raw_sock(ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_fds_example.c_bpf_do_prog.c' source_filename = "AnghaBench/linux/samples/bpf/extr_fds_example.c_bpf_do_prog.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BPF_F_PIN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"bpf: prog fd:%d (%s)\0A\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"bpf: pin ret:(%d,%s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"bpf: get fd:%d (%s)\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"lo\00", align 1 @SOL_SOCKET = common local_unnamed_addr global i32 0, align 4 @SO_ATTACH_BPF = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [44 x i8] c"bpf: sock:%d <- fd:%d attached ret:(%d,%s)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bpf_do_prog], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @bpf_do_prog(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load i32, ptr @BPF_F_PIN, align 4, !tbaa !6 %6 = and i32 %5, %1 %7 = icmp eq i32 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %3 %9 = tail call i32 @bpf_prog_create(ptr noundef %2) #4 store i32 %9, ptr %4, align 4, !tbaa !6 %10 = load i32, ptr @errno, align 4, !tbaa !6 %11 = tail call ptr @strerror(i32 noundef %10) #4 %12 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %9, ptr noundef %11) %13 = icmp sgt i32 %9, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @assert(i32 noundef %14) #4 %16 = tail call i32 @bpf_obj_pin(i32 noundef %9, ptr noundef %0) #4 %17 = load i32, ptr @errno, align 4, !tbaa !6 %18 = tail call ptr @strerror(i32 noundef %17) #4 %19 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %16, ptr noundef %18) %20 = icmp eq i32 %16, 0 br label %27 21: ; preds = %3 %22 = tail call i32 @bpf_obj_get(ptr noundef %0) #4 store i32 %22, ptr %4, align 4, !tbaa !6 %23 = load i32, ptr @errno, align 4, !tbaa !6 %24 = tail call ptr @strerror(i32 noundef %23) #4 %25 = tail call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %22, ptr noundef %24) %26 = icmp sgt i32 %22, 0 br label %27 27: ; preds = %21, %8 %28 = phi i1 [ %26, %21 ], [ %20, %8 ] %29 = zext i1 %28 to i32 %30 = tail call i32 @assert(i32 noundef %29) #4 %31 = tail call i32 @open_raw_sock(ptr noundef nonnull @.str.3) #4 %32 = icmp sgt i32 %31, 0 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #4 %35 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !6 %36 = load i32, ptr @SO_ATTACH_BPF, align 4, !tbaa !6 %37 = call i32 @setsockopt(i32 noundef %31, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %4, i32 noundef 4) #4 %38 = load i32, ptr %4, align 4, !tbaa !6 %39 = load i32, ptr @errno, align 4, !tbaa !6 %40 = call ptr @strerror(i32 noundef %39) #4 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %31, i32 noundef %38, i32 noundef %37, ptr noundef %40) %42 = icmp eq i32 %37, 0 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bpf_prog_create(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3 declare ptr @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @bpf_obj_pin(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bpf_obj_get(ptr noundef) local_unnamed_addr #2 declare i32 @open_raw_sock(ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_samples_bpf_extr_fds_example.c_bpf_do_prog
; ModuleID = 'AnghaBench/linux/drivers/misc/habanalabs/goya/extr_goya.c_goya_mmu_invalidate_cache.c' source_filename = "AnghaBench/linux/drivers/misc/habanalabs/goya/extr_goya.c_goya_mmu_invalidate_cache.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hl_device = type { i32, i32, i64, ptr } @HW_CAP_MMU = dso_local local_unnamed_addr global i32 0, align 4 @GOYA_PLDM_MMU_TIMEOUT_USEC = dso_local local_unnamed_addr global i32 0, align 4 @MMU_CONFIG_TIMEOUT_USEC = dso_local local_unnamed_addr global i32 0, align 4 @mmSTLB_INV_ALL_START = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Timeout when waiting for MMU cache invalidation\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @goya_mmu_invalidate_cache], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @goya_mmu_invalidate_cache(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.hl_device, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @HW_CAP_MMU, align 4, !tbaa !14 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = icmp eq i32 %1, 0 %10 = or i1 %9, %8 br i1 %10, label %29, label %11 11: ; preds = %2 %12 = getelementptr inbounds %struct.hl_device, ptr %0, i64 0, i32 2 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = icmp eq i64 %13, 0 %15 = load i32, ptr @MMU_CONFIG_TIMEOUT_USEC, align 4 %16 = load i32, ptr @GOYA_PLDM_MMU_TIMEOUT_USEC, align 4 %17 = select i1 %14, i32 %15, i32 %16 %18 = getelementptr inbounds %struct.hl_device, ptr %0, i64 0, i32 1 %19 = tail call i32 @mutex_lock(ptr noundef nonnull %18) #2 %20 = load i32, ptr @mmSTLB_INV_ALL_START, align 4, !tbaa !14 %21 = tail call i32 @WREG32(i32 noundef %20, i32 noundef 1) #2 %22 = load i32, ptr @mmSTLB_INV_ALL_START, align 4, !tbaa !14 %23 = tail call i32 @hl_poll_timeout(ptr noundef nonnull %0, i32 noundef %22, i32 noundef undef, i32 noundef 0, i32 noundef 1000, i32 noundef %17) #2 %24 = tail call i32 @mutex_unlock(ptr noundef nonnull %18) #2 %25 = icmp eq i32 %23, 0 br i1 %25, label %29, label %26 26: ; preds = %11 %27 = load i32, ptr %0, align 8, !tbaa !16 %28 = tail call i32 @dev_notice_ratelimited(i32 noundef %27, ptr noundef nonnull @.str) #2 br label %29 29: ; preds = %11, %26, %2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hl_poll_timeout(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_notice_ratelimited(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, !11, i64 16} !6 = !{!"hl_device", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"goya_device", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/misc/habanalabs/goya/extr_goya.c_goya_mmu_invalidate_cache.c' source_filename = "AnghaBench/linux/drivers/misc/habanalabs/goya/extr_goya.c_goya_mmu_invalidate_cache.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HW_CAP_MMU = common local_unnamed_addr global i32 0, align 4 @GOYA_PLDM_MMU_TIMEOUT_USEC = common local_unnamed_addr global i32 0, align 4 @MMU_CONFIG_TIMEOUT_USEC = common local_unnamed_addr global i32 0, align 4 @mmSTLB_INV_ALL_START = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"Timeout when waiting for MMU cache invalidation\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @goya_mmu_invalidate_cache], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @goya_mmu_invalidate_cache(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = load i32, ptr @HW_CAP_MMU, align 4, !tbaa !15 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = icmp eq i32 %1, 0 %10 = or i1 %9, %8 br i1 %10, label %29, label %11 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = icmp eq i64 %13, 0 %15 = load i32, ptr @MMU_CONFIG_TIMEOUT_USEC, align 4 %16 = load i32, ptr @GOYA_PLDM_MMU_TIMEOUT_USEC, align 4 %17 = select i1 %14, i32 %15, i32 %16 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = tail call i32 @mutex_lock(ptr noundef nonnull %18) #2 %20 = load i32, ptr @mmSTLB_INV_ALL_START, align 4, !tbaa !15 %21 = tail call i32 @WREG32(i32 noundef %20, i32 noundef 1) #2 %22 = load i32, ptr @mmSTLB_INV_ALL_START, align 4, !tbaa !15 %23 = tail call i32 @hl_poll_timeout(ptr noundef nonnull %0, i32 noundef %22, i32 noundef undef, i32 noundef 0, i32 noundef 1000, i32 noundef %17) #2 %24 = tail call i32 @mutex_unlock(ptr noundef nonnull %18) #2 %25 = icmp eq i32 %23, 0 br i1 %25, label %29, label %26 26: ; preds = %11 %27 = load i32, ptr %0, align 8, !tbaa !17 %28 = tail call i32 @dev_notice_ratelimited(i32 noundef %27, ptr noundef nonnull @.str) #2 br label %29 29: ; preds = %11, %26, %2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hl_poll_timeout(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @dev_notice_ratelimited(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, !12, i64 16} !7 = !{!"hl_device", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"goya_device", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 0}
linux_drivers_misc_habanalabs_goya_extr_goya.c_goya_mmu_invalidate_cache
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/pci/extr_xen_pci.c_xen_pci_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/pci/extr_xen_pci.c_xen_pci_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Xen PCI bus\00", align 1 @BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xen_pci_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xen_pci_probe(i32 noundef %0) #0 { %2 = tail call i32 (...) @xen_pv_domain() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %1, %4 %7 = phi ptr [ @BUS_PROBE_DEFAULT, %4 ], [ @ENXIO, %1 ] %8 = load i32, ptr %7, align 4, !tbaa !5 ret i32 %8 } declare i32 @xen_pv_domain(...) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/pci/extr_xen_pci.c_xen_pci_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/pci/extr_xen_pci.c_xen_pci_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Xen PCI bus\00", align 1 @BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xen_pci_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xen_pci_probe(i32 noundef %0) #0 { %2 = tail call i32 @xen_pv_domain() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %1, %4 %7 = phi ptr [ @BUS_PROBE_DEFAULT, %4 ], [ @ENXIO, %1 ] %8 = load i32, ptr %7, align 4, !tbaa !6 ret i32 %8 } declare i32 @xen_pv_domain(...) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_xen_pci_extr_xen_pci.c_xen_pci_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hisax_fcpcipnp.c_fcpci2_read_hdlc_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hisax_fcpcipnp.c_fcpci2_read_hdlc_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" @AVM_HDLC_STATUS_2 = dso_local local_unnamed_addr global i32 0, align 4 @AVM_HDLC_STATUS_1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fcpci2_read_hdlc_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fcpci2_read_hdlc_status(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr @AVM_HDLC_STATUS_2, align 4 %5 = load i32, ptr @AVM_HDLC_STATUS_1, align 4 %6 = select i1 %3, i32 %5, i32 %4 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = sext i32 %6 to i64 %9 = add nsw i64 %7, %8 %10 = tail call i32 @inl(i64 noundef %9) #2 ret i32 %10 } declare i32 @inl(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 = !{!"fritz_adapter", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hisax_fcpcipnp.c_fcpci2_read_hdlc_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_hisax_fcpcipnp.c_fcpci2_read_hdlc_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AVM_HDLC_STATUS_2 = common local_unnamed_addr global i32 0, align 4 @AVM_HDLC_STATUS_1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fcpci2_read_hdlc_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fcpci2_read_hdlc_status(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr @AVM_HDLC_STATUS_2, align 4 %5 = load i32, ptr @AVM_HDLC_STATUS_1, align 4 %6 = select i1 %3, i32 %5, i32 %4 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = sext i32 %6 to i64 %9 = add nsw i64 %7, %8 %10 = tail call i32 @inl(i64 noundef %9) #2 ret i32 %10 } declare i32 @inl(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 = !{!"fritz_adapter", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_isdn_hisax_extr_hisax_fcpcipnp.c_fcpci2_read_hdlc_status
; ModuleID = 'AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_mktime.c_wceex_mktime.c' source_filename = "AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_mktime.c_wceex_mktime.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } ; Function Attrs: nounwind uwtable define dso_local i64 @wceex_mktime(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = call i32 @GetTimeZoneInformation(ptr noundef nonnull %2) #3 %4 = icmp eq i32 %3, -1 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = load i32, ptr %2, align 8, !tbaa !5 %7 = mul nsw i32 %6, 60 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %5 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = mul nsw i32 %14, 60 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, %8 br label %18 18: ; preds = %5, %12, %1 %19 = phi i64 [ %17, %12 ], [ %8, %5 ], [ 0, %1 ] %20 = call i64 @__wceex_mktime_internal(ptr noundef %0, i64 noundef %19) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i64 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @GetTimeZoneInformation(ptr noundef) local_unnamed_addr #2 declare i64 @__wceex_mktime_internal(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !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 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_mktime.c_wceex_mktime.c' source_filename = "AnghaBench/poco/Foundation/wcelibcex-1.0/src/extr_wce_mktime.c_wceex_mktime.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, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } ; Function Attrs: nounwind ssp uwtable(sync) define i64 @wceex_mktime(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = call i32 @GetTimeZoneInformation(ptr noundef nonnull %2) #3 %4 = icmp eq i32 %3, -1 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = load i32, ptr %2, align 8, !tbaa !6 %7 = mul nsw i32 %6, 60 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %2, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = icmp eq i64 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %5 %13 = getelementptr inbounds i8, ptr %2, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = mul nsw i32 %14, 60 %16 = sext i32 %15 to i64 %17 = add nsw i64 %16, %8 br label %18 18: ; preds = %5, %12, %1 %19 = phi i64 [ %17, %12 ], [ %8, %5 ], [ 0, %1 ] %20 = call i64 @__wceex_mktime_internal(ptr noundef %0, i64 noundef %19) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i64 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @GetTimeZoneInformation(ptr noundef) local_unnamed_addr #2 declare i64 @__wceex_mktime_internal(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !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 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!7, !8, i64 4}
poco_Foundation_wcelibcex-1.0_src_extr_wce_mktime.c_wceex_mktime
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawSpritesHiAS.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawSpritesHiAS.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PDRAW_SPR_LO_ON_HI = dso_local local_unnamed_addr global i32 0, align 4 @rendstatus = dso_local local_unnamed_addr global i32 0, align 4 @HighPreSpr = dso_local local_unnamed_addr global ptr null, align 8 @DrawScanline = dso_local local_unnamed_addr global i32 0, align 4 @SPRL_MAY_HAVE_OP = dso_local local_unnamed_addr global i8 0, align 1 @HighCol = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @DrawSpritesHiAS], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @DrawSpritesHiAS(ptr noundef %0, i32 noundef %1) #0 { %3 = load i8, ptr %0, align 1, !tbaa !5 %4 = and i8 %3, 127 %5 = icmp eq i8 %4, 0 br i1 %5, label %178, label %6 6: ; preds = %2 %7 = load i32, ptr @PDRAW_SPR_LO_ON_HI, align 4, !tbaa !8 %8 = load i32, ptr @rendstatus, align 4, !tbaa !8 %9 = or i32 %8, %7 store i32 %9, ptr @rendstatus, align 4, !tbaa !8 %10 = getelementptr inbounds i8, ptr %0, i64 3 %11 = icmp ne i32 %1, 0 %12 = zext nneg i8 %4 to i64 br label %13 13: ; preds = %6, %102 %14 = phi i64 [ 0, %6 ], [ %103, %102 ] %15 = phi i32 [ 0, %6 ], [ %51, %102 ] %16 = getelementptr inbounds i8, ptr %10, i64 %14 %17 = load i8, ptr %16, align 1, !tbaa !5 %18 = and i8 %17, 127 %19 = shl i8 %17, 1 %20 = load ptr, ptr @HighPreSpr, align 8, !tbaa !10 %21 = zext i8 %19 to i64 %22 = getelementptr inbounds i32, ptr %20, i64 %21 %23 = getelementptr inbounds i32, ptr %22, i64 1 %24 = load i32, ptr %23, align 4, !tbaa !8 %25 = lshr i32 %24, 9 %26 = and i32 %25, 48 %27 = and i32 %24, 32768 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %13 %30 = icmp eq i32 %26, 48 %31 = and i1 %11, %30 %32 = and i32 %24, 2048 %33 = icmp eq i32 %32, 0 br i1 %31, label %34, label %36 34: ; preds = %29 %35 = select i1 %33, ptr @TileNormAS_noop, ptr @TileFlipAS_noop br label %42 36: ; preds = %29 %37 = select i1 %33, ptr @TileNormAS, ptr @TileFlipAS br label %42 38: ; preds = %13 %39 = and i32 %24, 2048 %40 = icmp eq i32 %39, 0 %41 = select i1 %40, ptr @TileNormAS_onlymark, ptr @TileFlipAS_onlymark br label %42 42: ; preds = %38, %36, %34 %43 = phi ptr [ %35, %34 ], [ %37, %36 ], [ %41, %38 ] %44 = icmp eq i32 %26, 48 %45 = and i1 %11, %44 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = add nsw i32 %15, 1 %48 = sext i32 %15 to i64 %49 = getelementptr inbounds i8, ptr %10, i64 %48 store i8 %18, ptr %49, align 1, !tbaa !5 br label %50 50: ; preds = %46, %42 %51 = phi i32 [ %47, %46 ], [ %15, %42 ] %52 = load i32, ptr %22, align 4, !tbaa !8 %53 = lshr i32 %52, 24 %54 = and i32 %53, 7 %55 = and i32 %24, 2048 %56 = icmp eq i32 %55, 0 %57 = sub nsw i32 0, %54 %58 = select i1 %56, i32 %54, i32 %57 %59 = shl nsw i32 %58, 4 %60 = or disjoint i32 %26, 128 %61 = icmp ult i32 %52, 268435456 br i1 %61, label %102, label %62 62: ; preds = %50 %63 = ashr i32 %52, 28 %64 = add nsw i32 %63, 2047 %65 = mul nuw nsw i32 %54, %64 %66 = select i1 %56, i32 0, i32 %65 %67 = add i32 %66, %24 %68 = and i32 %24, 4096 %69 = icmp eq i32 %68, 0 %70 = load i32, ptr @DrawScanline, align 4, !tbaa !8 %71 = shl i32 %52, 16 %72 = ashr exact i32 %71, 16 %73 = sub nsw i32 %70, %72 %74 = shl nuw nsw i32 %54, 3 %75 = xor i32 %73, -1 %76 = add i32 %74, %75 %77 = select i1 %69, i32 %73, i32 %76 %78 = lshr i32 %77, 3 %79 = add i32 %67, %78 %80 = shl i32 %79, 4 %81 = and i32 %80, 32752 %82 = shl i32 %77, 1 %83 = and i32 %82, 14 %84 = or disjoint i32 %81, %83 %85 = ashr i32 %24, 16 br label %86 86: ; preds = %62, %96 %87 = phi i32 [ %98, %96 ], [ %63, %62 ] %88 = phi i32 [ %99, %96 ], [ %85, %62 ] %89 = phi i32 [ %100, %96 ], [ %84, %62 ] %90 = icmp slt i32 %88, 1 br i1 %90, label %96, label %91 91: ; preds = %86 %92 = icmp ugt i32 %88, 327 br i1 %92, label %102, label %93 93: ; preds = %91 %94 = and i32 %89, 32767 %95 = tail call i32 %43(i32 noundef %88, i32 noundef %94, i32 noundef %60) #2 br label %96 96: ; preds = %86, %93 %97 = phi i32 [ %89, %86 ], [ %94, %93 ] %98 = add nsw i32 %87, -1 %99 = add nsw i32 %88, 8 %100 = add nsw i32 %97, %59 %101 = icmp eq i32 %98, 0 br i1 %101, label %102, label %86, !llvm.loop !12 102: ; preds = %96, %91, %50 %103 = add nuw nsw i64 %14, 1 %104 = icmp eq i64 %103, %12 br i1 %104, label %105, label %13, !llvm.loop !14 105: ; preds = %102 %106 = icmp eq i32 %1, 0 br i1 %106, label %178, label %107 107: ; preds = %105 %108 = getelementptr inbounds i8, ptr %0, i64 1 %109 = load i8, ptr %108, align 1, !tbaa !5 %110 = load i8, ptr @SPRL_MAY_HAVE_OP, align 1, !tbaa !5 %111 = and i8 %110, %109 %112 = icmp eq i8 %111, 0 br i1 %112, label %178, label %113 113: ; preds = %107 %114 = load i64, ptr @HighCol, align 8, !tbaa !15 %115 = add nsw i64 %114, 8 %116 = inttoptr i64 %115 to ptr %117 = getelementptr inbounds i32, ptr %116, i64 4 %118 = load <4 x i32>, ptr %116, align 4, !tbaa !8 %119 = and <4 x i32> %118, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %119, ptr %116, align 4, !tbaa !8 %120 = getelementptr inbounds i32, ptr %116, i64 8 %121 = load <4 x i32>, ptr %117, align 4, !tbaa !8 %122 = and <4 x i32> %121, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %122, ptr %117, align 4, !tbaa !8 %123 = getelementptr inbounds i32, ptr %116, i64 12 %124 = load <4 x i32>, ptr %120, align 4, !tbaa !8 %125 = and <4 x i32> %124, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %125, ptr %120, align 4, !tbaa !8 %126 = getelementptr inbounds i32, ptr %116, i64 16 %127 = load <4 x i32>, ptr %123, align 4, !tbaa !8 %128 = and <4 x i32> %127, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %128, ptr %123, align 4, !tbaa !8 %129 = getelementptr inbounds i32, ptr %116, i64 20 %130 = load <4 x i32>, ptr %126, align 4, !tbaa !8 %131 = and <4 x i32> %130, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %131, ptr %126, align 4, !tbaa !8 %132 = getelementptr inbounds i32, ptr %116, i64 24 %133 = load <4 x i32>, ptr %129, align 4, !tbaa !8 %134 = and <4 x i32> %133, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %134, ptr %129, align 4, !tbaa !8 %135 = getelementptr inbounds i32, ptr %116, i64 28 %136 = load <4 x i32>, ptr %132, align 4, !tbaa !8 %137 = and <4 x i32> %136, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %137, ptr %132, align 4, !tbaa !8 %138 = getelementptr inbounds i32, ptr %116, i64 32 %139 = load <4 x i32>, ptr %135, align 4, !tbaa !8 %140 = and <4 x i32> %139, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %140, ptr %135, align 4, !tbaa !8 %141 = getelementptr inbounds i32, ptr %116, i64 36 %142 = load <4 x i32>, ptr %138, align 4, !tbaa !8 %143 = and <4 x i32> %142, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %143, ptr %138, align 4, !tbaa !8 %144 = getelementptr inbounds i32, ptr %116, i64 40 %145 = load <4 x i32>, ptr %141, align 4, !tbaa !8 %146 = and <4 x i32> %145, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %146, ptr %141, align 4, !tbaa !8 %147 = getelementptr inbounds i32, ptr %116, i64 44 %148 = load <4 x i32>, ptr %144, align 4, !tbaa !8 %149 = and <4 x i32> %148, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %149, ptr %144, align 4, !tbaa !8 %150 = getelementptr inbounds i32, ptr %116, i64 48 %151 = load <4 x i32>, ptr %147, align 4, !tbaa !8 %152 = and <4 x i32> %151, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %152, ptr %147, align 4, !tbaa !8 %153 = getelementptr inbounds i32, ptr %116, i64 52 %154 = load <4 x i32>, ptr %150, align 4, !tbaa !8 %155 = and <4 x i32> %154, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %155, ptr %150, align 4, !tbaa !8 %156 = getelementptr inbounds i32, ptr %116, i64 56 %157 = load <4 x i32>, ptr %153, align 4, !tbaa !8 %158 = and <4 x i32> %157, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %158, ptr %153, align 4, !tbaa !8 %159 = getelementptr inbounds i32, ptr %116, i64 60 %160 = load <4 x i32>, ptr %156, align 4, !tbaa !8 %161 = and <4 x i32> %160, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %161, ptr %156, align 4, !tbaa !8 %162 = getelementptr inbounds i32, ptr %116, i64 64 %163 = load <4 x i32>, ptr %159, align 4, !tbaa !8 %164 = and <4 x i32> %163, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %164, ptr %159, align 4, !tbaa !8 %165 = getelementptr inbounds i32, ptr %116, i64 68 %166 = load <4 x i32>, ptr %162, align 4, !tbaa !8 %167 = and <4 x i32> %166, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %167, ptr %162, align 4, !tbaa !8 %168 = getelementptr inbounds i32, ptr %116, i64 72 %169 = load <4 x i32>, ptr %165, align 4, !tbaa !8 %170 = and <4 x i32> %169, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %170, ptr %165, align 4, !tbaa !8 %171 = getelementptr inbounds i32, ptr %116, i64 76 %172 = load <4 x i32>, ptr %168, align 4, !tbaa !8 %173 = and <4 x i32> %172, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %173, ptr %168, align 4, !tbaa !8 %174 = load <4 x i32>, ptr %171, align 4, !tbaa !8 %175 = and <4 x i32> %174, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <4 x i32> %175, ptr %171, align 4, !tbaa !8 %176 = trunc i32 %51 to i8 store i8 %176, ptr %0, align 1, !tbaa !5 %177 = tail call i32 @DrawSpritesSHi(ptr noundef nonnull %0) #2 br label %178 178: ; preds = %105, %107, %2, %113 ret void } declare i32 @TileFlipAS_noop(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS_noop(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileFlipAS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileFlipAS_onlymark(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS_onlymark(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DrawSpritesSHi(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = !{!16, !16, i64 0} !16 = !{!"long", !6, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawSpritesHiAS.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/extr_draw.c_DrawSpritesHiAS.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PDRAW_SPR_LO_ON_HI = common local_unnamed_addr global i32 0, align 4 @rendstatus = common local_unnamed_addr global i32 0, align 4 @HighPreSpr = common local_unnamed_addr global ptr null, align 8 @DrawScanline = common local_unnamed_addr global i32 0, align 4 @SPRL_MAY_HAVE_OP = common local_unnamed_addr global i8 0, align 1 @HighCol = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @DrawSpritesHiAS], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @DrawSpritesHiAS(ptr noundef %0, i32 noundef %1) #0 { %3 = load i8, ptr %0, align 1, !tbaa !6 %4 = and i8 %3, 127 %5 = icmp eq i8 %4, 0 br i1 %5, label %133, label %6 6: ; preds = %2 %7 = load i32, ptr @PDRAW_SPR_LO_ON_HI, align 4, !tbaa !9 %8 = load i32, ptr @rendstatus, align 4, !tbaa !9 %9 = or i32 %8, %7 store i32 %9, ptr @rendstatus, align 4, !tbaa !9 %10 = getelementptr inbounds i8, ptr %0, i64 3 %11 = icmp ne i32 %1, 0 %12 = zext nneg i8 %4 to i64 br label %13 13: ; preds = %6, %102 %14 = phi i64 [ 0, %6 ], [ %103, %102 ] %15 = phi i32 [ 0, %6 ], [ %51, %102 ] %16 = getelementptr inbounds i8, ptr %10, i64 %14 %17 = load i8, ptr %16, align 1, !tbaa !6 %18 = and i8 %17, 127 %19 = shl i8 %17, 1 %20 = load ptr, ptr @HighPreSpr, align 8, !tbaa !11 %21 = zext i8 %19 to i64 %22 = getelementptr inbounds i32, ptr %20, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !9 %25 = lshr i32 %24, 9 %26 = and i32 %25, 48 %27 = and i32 %24, 32768 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %13 %30 = icmp eq i32 %26, 48 %31 = and i1 %11, %30 %32 = and i32 %24, 2048 %33 = icmp eq i32 %32, 0 br i1 %31, label %34, label %36 34: ; preds = %29 %35 = select i1 %33, ptr @TileNormAS_noop, ptr @TileFlipAS_noop br label %42 36: ; preds = %29 %37 = select i1 %33, ptr @TileNormAS, ptr @TileFlipAS br label %42 38: ; preds = %13 %39 = and i32 %24, 2048 %40 = icmp eq i32 %39, 0 %41 = select i1 %40, ptr @TileNormAS_onlymark, ptr @TileFlipAS_onlymark br label %42 42: ; preds = %38, %36, %34 %43 = phi ptr [ %35, %34 ], [ %37, %36 ], [ %41, %38 ] %44 = icmp eq i32 %26, 48 %45 = and i1 %11, %44 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = add nsw i32 %15, 1 %48 = sext i32 %15 to i64 %49 = getelementptr inbounds i8, ptr %10, i64 %48 store i8 %18, ptr %49, align 1, !tbaa !6 br label %50 50: ; preds = %46, %42 %51 = phi i32 [ %47, %46 ], [ %15, %42 ] %52 = load i32, ptr %22, align 4, !tbaa !9 %53 = lshr i32 %52, 24 %54 = and i32 %53, 7 %55 = and i32 %24, 2048 %56 = icmp eq i32 %55, 0 %57 = sub nsw i32 0, %54 %58 = select i1 %56, i32 %54, i32 %57 %59 = shl nsw i32 %58, 4 %60 = or disjoint i32 %26, 128 %61 = icmp ult i32 %52, 268435456 br i1 %61, label %102, label %62 62: ; preds = %50 %63 = ashr i32 %52, 28 %64 = add nsw i32 %63, 2047 %65 = mul nuw nsw i32 %54, %64 %66 = select i1 %56, i32 0, i32 %65 %67 = add i32 %66, %24 %68 = and i32 %24, 4096 %69 = icmp eq i32 %68, 0 %70 = load i32, ptr @DrawScanline, align 4, !tbaa !9 %71 = shl i32 %52, 16 %72 = ashr exact i32 %71, 16 %73 = sub nsw i32 %70, %72 %74 = shl nuw nsw i32 %54, 3 %75 = xor i32 %73, -1 %76 = add i32 %74, %75 %77 = select i1 %69, i32 %73, i32 %76 %78 = lshr i32 %77, 3 %79 = add i32 %67, %78 %80 = shl i32 %79, 4 %81 = and i32 %80, 32752 %82 = shl i32 %77, 1 %83 = and i32 %82, 14 %84 = or disjoint i32 %81, %83 %85 = ashr i32 %24, 16 br label %86 86: ; preds = %62, %96 %87 = phi i32 [ %98, %96 ], [ %63, %62 ] %88 = phi i32 [ %99, %96 ], [ %85, %62 ] %89 = phi i32 [ %100, %96 ], [ %84, %62 ] %90 = icmp slt i32 %88, 1 br i1 %90, label %96, label %91 91: ; preds = %86 %92 = icmp ugt i32 %88, 327 br i1 %92, label %102, label %93 93: ; preds = %91 %94 = and i32 %89, 32767 %95 = tail call i32 %43(i32 noundef %88, i32 noundef %94, i32 noundef %60) #2 br label %96 96: ; preds = %86, %93 %97 = phi i32 [ %89, %86 ], [ %94, %93 ] %98 = add nsw i32 %87, -1 %99 = add nsw i32 %88, 8 %100 = add nsw i32 %97, %59 %101 = icmp eq i32 %98, 0 br i1 %101, label %102, label %86, !llvm.loop !13 102: ; preds = %96, %91, %50 %103 = add nuw nsw i64 %14, 1 %104 = icmp eq i64 %103, %12 br i1 %104, label %105, label %13, !llvm.loop !15 105: ; preds = %102 %106 = icmp eq i32 %1, 0 br i1 %106, label %133, label %107 107: ; preds = %105 %108 = getelementptr inbounds i8, ptr %0, i64 1 %109 = load i8, ptr %108, align 1, !tbaa !6 %110 = load i8, ptr @SPRL_MAY_HAVE_OP, align 1, !tbaa !6 %111 = and i8 %110, %109 %112 = icmp eq i8 %111, 0 br i1 %112, label %133, label %113 113: ; preds = %107 %114 = load i64, ptr @HighCol, align 8, !tbaa !16 %115 = add nsw i64 %114, 8 %116 = inttoptr i64 %115 to ptr %117 = load <16 x i32>, ptr %116, align 4, !tbaa !9 %118 = and <16 x i32> %117, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <16 x i32> %118, ptr %116, align 4, !tbaa !9 %119 = getelementptr i8, ptr %116, i64 64 %120 = load <16 x i32>, ptr %119, align 4, !tbaa !9 %121 = and <16 x i32> %120, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <16 x i32> %121, ptr %119, align 4, !tbaa !9 %122 = getelementptr i8, ptr %116, i64 128 %123 = load <16 x i32>, ptr %122, align 4, !tbaa !9 %124 = and <16 x i32> %123, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <16 x i32> %124, ptr %122, align 4, !tbaa !9 %125 = getelementptr i8, ptr %116, i64 192 %126 = load <16 x i32>, ptr %125, align 4, !tbaa !9 %127 = and <16 x i32> %126, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <16 x i32> %127, ptr %125, align 4, !tbaa !9 %128 = getelementptr i8, ptr %116, i64 256 %129 = load <16 x i32>, ptr %128, align 4, !tbaa !9 %130 = and <16 x i32> %129, <i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143, i32 2139062143> store <16 x i32> %130, ptr %128, align 4, !tbaa !9 %131 = trunc i32 %51 to i8 store i8 %131, ptr %0, align 1, !tbaa !6 %132 = tail call i32 @DrawSpritesSHi(ptr noundef nonnull %0) #2 br label %133 133: ; preds = %105, %107, %2, %113 ret void } declare i32 @TileFlipAS_noop(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS_noop(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileFlipAS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileFlipAS_onlymark(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TileNormAS_onlymark(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DrawSpritesSHi(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = !{!17, !17, i64 0} !17 = !{!"long", !7, i64 0}
Provenance_Cores_PicoDrive_pico_extr_draw.c_DrawSpritesHiAS
; ModuleID = 'AnghaBench/tengine/src/http/v2/extr_ngx_http_v2_module.c_ngx_http_v2_pool_size.c' source_filename = "AnghaBench/tengine/src/http/v2/extr_ngx_http_v2_module.c_ngx_http_v2_pool_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NGX_MIN_POOL_SIZE = 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 [39 x i8] c"the pool size must be no less than %uz\00", align 1 @NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @NGX_POOL_ALIGNMENT = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"the pool size must be a multiple of %uz\00", align 1 @NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_v2_pool_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ngx_http_v2_pool_size(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = load i64, ptr @NGX_MIN_POOL_SIZE, align 8, !tbaa !5 %6 = icmp ult i64 %4, %5 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !9 %9 = tail call i32 @ngx_conf_log_error(i32 noundef %8, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %5) #2 br label %17 10: ; preds = %3 %11 = load i64, ptr @NGX_POOL_ALIGNMENT, align 8, !tbaa !5 %12 = urem i64 %4, %11 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !9 %16 = tail call i32 @ngx_conf_log_error(i32 noundef %15, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.1, i64 noundef %11) #2 br label %17 17: ; preds = %10, %14, %7 %18 = phi ptr [ @NGX_CONF_ERROR, %7 ], [ @NGX_CONF_ERROR, %14 ], [ @NGX_CONF_OK, %10 ] %19 = load ptr, ptr %18, align 8, !tbaa !11 ret ptr %19 } declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/tengine/src/http/v2/extr_ngx_http_v2_module.c_ngx_http_v2_pool_size.c' source_filename = "AnghaBench/tengine/src/http/v2/extr_ngx_http_v2_module.c_ngx_http_v2_pool_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NGX_MIN_POOL_SIZE = 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 [39 x i8] c"the pool size must be no less than %uz\00", align 1 @NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8 @NGX_POOL_ALIGNMENT = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [40 x i8] c"the pool size must be a multiple of %uz\00", align 1 @NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_v2_pool_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ngx_http_v2_pool_size(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = load i64, ptr @NGX_MIN_POOL_SIZE, align 8, !tbaa !6 %6 = icmp ult i64 %4, %5 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !10 %9 = tail call i32 @ngx_conf_log_error(i32 noundef %8, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %5) #2 br label %17 10: ; preds = %3 %11 = load i64, ptr @NGX_POOL_ALIGNMENT, align 8, !tbaa !6 %12 = urem i64 %4, %11 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !10 %16 = tail call i32 @ngx_conf_log_error(i32 noundef %15, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.1, i64 noundef %11) #2 br label %17 17: ; preds = %10, %14, %7 %18 = phi ptr [ @NGX_CONF_ERROR, %7 ], [ @NGX_CONF_ERROR, %14 ], [ @NGX_CONF_OK, %10 ] %19 = load ptr, ptr %18, align 8, !tbaa !12 ret ptr %19 } declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
tengine_src_http_v2_extr_ngx_http_v2_module.c_ngx_http_v2_pool_size
; ModuleID = 'AnghaBench/postgres/src/backend/catalog/extr_pg_operator.c_makeOperatorDependencies.c' source_filename = "AnghaBench/postgres/src/backend/catalog/extr_pg_operator.c_makeOperatorDependencies.c" target datalayout = "e-m:e-p270:32:32-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, i32, ptr } %struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 } @OperatorRelationId = dso_local local_unnamed_addr global ptr null, align 8 @NamespaceRelationId = dso_local local_unnamed_addr global ptr null, align 8 @DEPENDENCY_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @TypeRelationId = dso_local local_unnamed_addr global ptr null, align 8 @ProcedureRelationId = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @makeOperatorDependencies(ptr dead_on_unwind noalias writable sret(%struct.TYPE_7__) align 8 %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_7__, align 8 %5 = tail call i32 @GETSTRUCT(i32 noundef %1) #3 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %8 = load ptr, ptr @OperatorRelationId, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 store ptr %8, ptr %9, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 store i32 %11, ptr %12, align 8, !tbaa !15 store i64 0, ptr %0, align 8, !tbaa !16 %13 = icmp eq i32 %2, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = tail call i32 @deleteDependencyRecordsFor(ptr noundef %8, i32 noundef %11, i32 noundef 1) #3 %16 = tail call i32 @deleteSharedDependencyRecordsFor(ptr noundef %8, i32 noundef %11, i32 noundef 0) #3 br label %17 17: ; preds = %14, %3 %18 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 8 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call i64 @OidIsValid(i32 noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %17 %23 = load ptr, ptr @NamespaceRelationId, align 8, !tbaa !5 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %23, ptr %24, align 8, !tbaa !9 %25 = load i32, ptr %18, align 4, !tbaa !17 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %25, ptr %26, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %27 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %28 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %27) #3 br label %29 29: ; preds = %22, %17 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 7 %31 = load i32, ptr %30, align 4, !tbaa !19 %32 = call i64 @OidIsValid(i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %41, label %34 34: ; preds = %29 %35 = load ptr, ptr @TypeRelationId, align 8, !tbaa !5 %36 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %35, ptr %36, align 8, !tbaa !9 %37 = load i32, ptr %30, align 4, !tbaa !19 %38 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %37, ptr %38, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %39 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %40 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %39) #3 br label %41 41: ; preds = %34, %29 %42 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 6 %43 = load i32, ptr %42, align 4, !tbaa !20 %44 = call i64 @OidIsValid(i32 noundef %43) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %53, label %46 46: ; preds = %41 %47 = load ptr, ptr @TypeRelationId, align 8, !tbaa !5 %48 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %47, ptr %48, align 8, !tbaa !9 %49 = load i32, ptr %42, align 4, !tbaa !20 %50 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %49, ptr %50, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %51 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %52 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %51) #3 br label %53 53: ; preds = %46, %41 %54 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 5 %55 = load i32, ptr %54, align 4, !tbaa !21 %56 = call i64 @OidIsValid(i32 noundef %55) #3 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %53 %59 = load ptr, ptr @TypeRelationId, align 8, !tbaa !5 %60 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %59, ptr %60, align 8, !tbaa !9 %61 = load i32, ptr %54, align 4, !tbaa !21 %62 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %61, ptr %62, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %63 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %64 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %63) #3 br label %65 65: ; preds = %58, %53 %66 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 4 %67 = load i32, ptr %66, align 4, !tbaa !22 %68 = call i64 @OidIsValid(i32 noundef %67) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %77, label %70 70: ; preds = %65 %71 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !5 %72 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %71, ptr %72, align 8, !tbaa !9 %73 = load i32, ptr %66, align 4, !tbaa !22 %74 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %73, ptr %74, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %75 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %76 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %75) #3 br label %77 77: ; preds = %70, %65 %78 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 3 %79 = load i32, ptr %78, align 4, !tbaa !23 %80 = call i64 @OidIsValid(i32 noundef %79) #3 %81 = icmp eq i64 %80, 0 br i1 %81, label %89, label %82 82: ; preds = %77 %83 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !5 %84 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %83, ptr %84, align 8, !tbaa !9 %85 = load i32, ptr %78, align 4, !tbaa !23 %86 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %85, ptr %86, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %87 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %88 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %87) #3 br label %89 89: ; preds = %82, %77 %90 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 2 %91 = load i32, ptr %90, align 4, !tbaa !24 %92 = call i64 @OidIsValid(i32 noundef %91) #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %101, label %94 94: ; preds = %89 %95 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !5 %96 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 store ptr %95, ptr %96, align 8, !tbaa !9 %97 = load i32, ptr %90, align 4, !tbaa !24 %98 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 store i32 %97, ptr %98, align 8, !tbaa !15 store i64 0, ptr %4, align 8, !tbaa !16 %99 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !18 %100 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %99) #3 br label %101 101: ; preds = %94, %89 %102 = load ptr, ptr @OperatorRelationId, align 8, !tbaa !5 %103 = load i32, ptr %10, align 4, !tbaa !13 %104 = load i32, ptr %7, align 4, !tbaa !25 %105 = call i32 @recordDependencyOnOwner(ptr noundef %102, i32 noundef %103, i32 noundef %104) #3 %106 = call i32 @recordDependencyOnCurrentExtension(ptr noundef nonnull %0, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @GETSTRUCT(i32 noundef) local_unnamed_addr #2 declare i32 @deleteDependencyRecordsFor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @deleteSharedDependencyRecordsFor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnOwner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnCurrentExtension(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"TYPE_7__", !11, i64 0, !12, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32} !15 = !{!10, !12, i64 8} !16 = !{!10, !11, i64 0} !17 = !{!14, !12, i64 32} !18 = !{!12, !12, i64 0} !19 = !{!14, !12, i64 28} !20 = !{!14, !12, i64 24} !21 = !{!14, !12, i64 20} !22 = !{!14, !12, i64 16} !23 = !{!14, !12, i64 12} !24 = !{!14, !12, i64 8} !25 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/catalog/extr_pg_operator.c_makeOperatorDependencies.c' source_filename = "AnghaBench/postgres/src/backend/catalog/extr_pg_operator.c_makeOperatorDependencies.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, i32, ptr } @OperatorRelationId = common local_unnamed_addr global ptr null, align 8 @NamespaceRelationId = common local_unnamed_addr global ptr null, align 8 @DEPENDENCY_NORMAL = common local_unnamed_addr global i32 0, align 4 @TypeRelationId = common local_unnamed_addr global ptr null, align 8 @ProcedureRelationId = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @makeOperatorDependencies(ptr dead_on_unwind noalias writable sret(%struct.TYPE_7__) align 8 %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_7__, align 8 %5 = tail call i32 @GETSTRUCT(i32 noundef %1) #3 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %8 = load ptr, ptr @OperatorRelationId, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %8, ptr %9, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %7, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 8, !tbaa !16 store i64 0, ptr %0, align 8, !tbaa !17 %13 = icmp eq i32 %2, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = tail call i32 @deleteDependencyRecordsFor(ptr noundef %8, i32 noundef %11, i32 noundef 1) #3 %16 = tail call i32 @deleteSharedDependencyRecordsFor(ptr noundef %8, i32 noundef %11, i32 noundef 0) #3 br label %17 17: ; preds = %14, %3 %18 = getelementptr inbounds i8, ptr %7, i64 32 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = tail call i64 @OidIsValid(i32 noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %17 %23 = load ptr, ptr @NamespaceRelationId, align 8, !tbaa !6 %24 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %23, ptr %24, align 8, !tbaa !10 %25 = load i32, ptr %18, align 4, !tbaa !18 %26 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %25, ptr %26, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %27 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %28 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %27) #3 br label %29 29: ; preds = %22, %17 %30 = getelementptr inbounds i8, ptr %7, i64 28 %31 = load i32, ptr %30, align 4, !tbaa !20 %32 = call i64 @OidIsValid(i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %41, label %34 34: ; preds = %29 %35 = load ptr, ptr @TypeRelationId, align 8, !tbaa !6 %36 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %35, ptr %36, align 8, !tbaa !10 %37 = load i32, ptr %30, align 4, !tbaa !20 %38 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %37, ptr %38, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %39 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %40 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %39) #3 br label %41 41: ; preds = %34, %29 %42 = getelementptr inbounds i8, ptr %7, i64 24 %43 = load i32, ptr %42, align 4, !tbaa !21 %44 = call i64 @OidIsValid(i32 noundef %43) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %53, label %46 46: ; preds = %41 %47 = load ptr, ptr @TypeRelationId, align 8, !tbaa !6 %48 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %47, ptr %48, align 8, !tbaa !10 %49 = load i32, ptr %42, align 4, !tbaa !21 %50 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %49, ptr %50, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %51 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %52 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %51) #3 br label %53 53: ; preds = %46, %41 %54 = getelementptr inbounds i8, ptr %7, i64 20 %55 = load i32, ptr %54, align 4, !tbaa !22 %56 = call i64 @OidIsValid(i32 noundef %55) #3 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %53 %59 = load ptr, ptr @TypeRelationId, align 8, !tbaa !6 %60 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %59, ptr %60, align 8, !tbaa !10 %61 = load i32, ptr %54, align 4, !tbaa !22 %62 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %61, ptr %62, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %63 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %64 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %63) #3 br label %65 65: ; preds = %58, %53 %66 = getelementptr inbounds i8, ptr %7, i64 16 %67 = load i32, ptr %66, align 4, !tbaa !23 %68 = call i64 @OidIsValid(i32 noundef %67) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %77, label %70 70: ; preds = %65 %71 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !6 %72 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %71, ptr %72, align 8, !tbaa !10 %73 = load i32, ptr %66, align 4, !tbaa !23 %74 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %73, ptr %74, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %75 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %76 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %75) #3 br label %77 77: ; preds = %70, %65 %78 = getelementptr inbounds i8, ptr %7, i64 12 %79 = load i32, ptr %78, align 4, !tbaa !24 %80 = call i64 @OidIsValid(i32 noundef %79) #3 %81 = icmp eq i64 %80, 0 br i1 %81, label %89, label %82 82: ; preds = %77 %83 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !6 %84 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %83, ptr %84, align 8, !tbaa !10 %85 = load i32, ptr %78, align 4, !tbaa !24 %86 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %85, ptr %86, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %87 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %88 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %87) #3 br label %89 89: ; preds = %82, %77 %90 = getelementptr inbounds i8, ptr %7, i64 8 %91 = load i32, ptr %90, align 4, !tbaa !25 %92 = call i64 @OidIsValid(i32 noundef %91) #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %101, label %94 94: ; preds = %89 %95 = load ptr, ptr @ProcedureRelationId, align 8, !tbaa !6 %96 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %95, ptr %96, align 8, !tbaa !10 %97 = load i32, ptr %90, align 4, !tbaa !25 %98 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %97, ptr %98, align 8, !tbaa !16 store i64 0, ptr %4, align 8, !tbaa !17 %99 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !19 %100 = call i32 @recordDependencyOn(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %99) #3 br label %101 101: ; preds = %94, %89 %102 = load ptr, ptr @OperatorRelationId, align 8, !tbaa !6 %103 = load i32, ptr %10, align 4, !tbaa !14 %104 = load i32, ptr %7, align 4, !tbaa !26 %105 = call i32 @recordDependencyOnOwner(ptr noundef %102, i32 noundef %103, i32 noundef %104) #3 %106 = call i32 @recordDependencyOnCurrentExtension(ptr noundef nonnull %0, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @GETSTRUCT(i32 noundef) local_unnamed_addr #2 declare i32 @deleteDependencyRecordsFor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @deleteSharedDependencyRecordsFor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnOwner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnCurrentExtension(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_7__", !12, i64 0, !13, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"TYPE_8__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32} !16 = !{!11, !13, i64 8} !17 = !{!11, !12, i64 0} !18 = !{!15, !13, i64 32} !19 = !{!13, !13, i64 0} !20 = !{!15, !13, i64 28} !21 = !{!15, !13, i64 24} !22 = !{!15, !13, i64 20} !23 = !{!15, !13, i64 16} !24 = !{!15, !13, i64 12} !25 = !{!15, !13, i64 8} !26 = !{!15, !13, i64 0}
postgres_src_backend_catalog_extr_pg_operator.c_makeOperatorDependencies
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/nimble_host/extr_mesh_bearer_adapt.c_bt_le_scan_stop.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/nimble_host/extr_mesh_bearer_adapt.c_bt_le_scan_stop.c" target datalayout = "e-m:e-p270:32:32-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 } @bt_mesh_scan_dev_found_cb = dso_local local_unnamed_addr global ptr null, align 8 @BLE_MESH_DEV_SCANNING = dso_local local_unnamed_addr global i32 0, align 4 @bt_mesh_dev = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @bt_le_scan_stop() local_unnamed_addr #0 { %1 = tail call i32 (...) @ble_gap_disc_cancel() #2 store ptr null, ptr @bt_mesh_scan_dev_found_cb, align 8, !tbaa !5 ret i32 0 } declare i32 @ble_gap_disc_cancel(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/esp-idf/components/bt/esp_ble_mesh/mesh_core/nimble_host/extr_mesh_bearer_adapt.c_bt_le_scan_stop.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/nimble_host/extr_mesh_bearer_adapt.c_bt_le_scan_stop.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 } @bt_mesh_scan_dev_found_cb = common local_unnamed_addr global ptr null, align 8 @BLE_MESH_DEV_SCANNING = common local_unnamed_addr global i32 0, align 4 @bt_mesh_dev = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @bt_le_scan_stop() local_unnamed_addr #0 { %1 = tail call i32 @ble_gap_disc_cancel() #2 store ptr null, ptr @bt_mesh_scan_dev_found_cb, align 8, !tbaa !6 ret i32 0 } declare i32 @ble_gap_disc_cancel(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
esp-idf_components_bt_esp_ble_mesh_mesh_core_nimble_host_extr_mesh_bearer_adapt.c_bt_le_scan_stop
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_backup_bar_addr.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_backup_bar_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mvumi_hba = type { ptr, i32 } @MAX_BASE_ADDRESS = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mvumi_backup_bar_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mvumi_backup_bar_addr(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr @MAX_BASE_ADDRESS, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %15, %6 ] %8 = trunc i64 %7 to i32 %9 = load i32, ptr %5, align 8, !tbaa !8 %10 = shl nuw nsw i32 %8, 2 %11 = add nuw nsw i32 %10, 16 %12 = load ptr, ptr %0, align 8, !tbaa !12 %13 = getelementptr inbounds i32, ptr %12, i64 %7 %14 = tail call i32 @pci_read_config_dword(i32 noundef %9, i32 noundef %11, ptr noundef %13) #2 %15 = add nuw nsw i64 %7, 1 %16 = load i8, ptr @MAX_BASE_ADDRESS, align 1, !tbaa !5 %17 = zext i8 %16 to i64 %18 = icmp ult i64 %15, %17 br i1 %18, label %6, label %19, !llvm.loop !13 19: ; preds = %6, %1 ret void } declare i32 @pci_read_config_dword(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !11, i64 8} !9 = !{!"mvumi_hba", !10, i64 0, !11, i64 8} !10 = !{!"any pointer", !6, i64 0} !11 = !{!"int", !6, i64 0} !12 = !{!9, !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_backup_bar_addr.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_backup_bar_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_BASE_ADDRESS = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @mvumi_backup_bar_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mvumi_backup_bar_addr(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr @MAX_BASE_ADDRESS, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %15, %6 ] %8 = trunc nuw i64 %7 to i32 %9 = load i32, ptr %5, align 8, !tbaa !9 %10 = shl nuw nsw i32 %8, 2 %11 = add nuw nsw i32 %10, 16 %12 = load ptr, ptr %0, align 8, !tbaa !13 %13 = getelementptr inbounds i32, ptr %12, i64 %7 %14 = tail call i32 @pci_read_config_dword(i32 noundef %9, i32 noundef %11, ptr noundef %13) #2 %15 = add nuw nsw i64 %7, 1 %16 = load i8, ptr @MAX_BASE_ADDRESS, align 1, !tbaa !6 %17 = zext i8 %16 to i64 %18 = icmp ult i64 %15, %17 br i1 %18, label %6, label %19, !llvm.loop !14 19: ; preds = %6, %1 ret void } declare i32 @pci_read_config_dword(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"mvumi_hba", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_extr_mvumi.c_mvumi_backup_bar_addr
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_mlx4_SW2HW_CQ_wrapper.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_mlx4_SW2HW_CQ_wrapper.c" target datalayout = "e-m:e-p270:32:32-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.res_mtt = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32 } @RES_CQ_HW = dso_local local_unnamed_addr global i32 0, align 4 @RES_MTT = dso_local local_unnamed_addr global i32 0, align 4 @RES_CQ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlx4_SW2HW_CQ_wrapper(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load i32, ptr %2, align 4, !tbaa !5 %10 = load ptr, ptr %3, align 8, !tbaa !10 %11 = tail call i32 @cq_get_mtt_addr(ptr noundef %10) #3 %12 = load i32, ptr %0, align 4, !tbaa !13 %13 = sdiv i32 %11, %12 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %14 = load i32, ptr @RES_CQ_HW, align 4, !tbaa !17 %15 = call i32 @cq_res_start_move_to(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %9, i32 noundef %14, ptr noundef nonnull %7) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %50 17: ; preds = %6 %18 = load i32, ptr @RES_MTT, align 4, !tbaa !17 %19 = call i32 @get_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %13, i32 noundef %18, ptr noundef nonnull %8) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %46 21: ; preds = %17 %22 = call i32 @cq_get_mtt_size(ptr noundef %10) #3 %23 = load ptr, ptr %8, align 8, !tbaa !16 %24 = call i32 @check_mtt_range(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %13, i32 noundef %22, ptr noundef %23) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %21 %27 = call i32 @mlx4_DMA_wrapper(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5) #3 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %40 29: ; preds = %26 %30 = load ptr, ptr %8, align 8, !tbaa !16 %31 = getelementptr inbounds %struct.res_mtt, ptr %30, i64 0, i32 1 %32 = call i32 @atomic_inc(ptr noundef nonnull %31) #3 %33 = load ptr, ptr %8, align 8, !tbaa !16 %34 = load ptr, ptr %7, align 8, !tbaa !16 store ptr %33, ptr %34, align 8, !tbaa !18 %35 = load i32, ptr %33, align 4, !tbaa !20 %36 = load i32, ptr @RES_MTT, align 4, !tbaa !17 %37 = call i32 @put_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %35, i32 noundef %36) #3 %38 = load i32, ptr @RES_CQ, align 4, !tbaa !17 %39 = call i32 @res_end_move(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %38, i32 noundef %9) #3 br label %50 40: ; preds = %26, %21 %41 = phi i32 [ %24, %21 ], [ %27, %26 ] %42 = load ptr, ptr %8, align 8, !tbaa !16 %43 = load i32, ptr %42, align 4, !tbaa !20 %44 = load i32, ptr @RES_MTT, align 4, !tbaa !17 %45 = call i32 @put_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %43, i32 noundef %44) #3 br label %46 46: ; preds = %17, %40 %47 = phi i32 [ %19, %17 ], [ %41, %40 ] %48 = load i32, ptr @RES_CQ, align 4, !tbaa !17 %49 = call i32 @res_abort_move(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %48, i32 noundef %9) #3 br label %50 50: ; preds = %6, %46, %29 %51 = phi i32 [ %47, %46 ], [ 0, %29 ], [ %15, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cq_get_mtt_addr(ptr noundef) local_unnamed_addr #2 declare i32 @cq_res_start_move_to(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_res(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_mtt_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cq_get_mtt_size(ptr noundef) local_unnamed_addr #2 declare i32 @mlx4_DMA_wrapper(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #2 declare i32 @put_res(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @res_end_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @res_abort_move(ptr noundef, i32 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 = !{!"mlx4_vhcr", !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 = !{!"mlx4_cmd_mailbox", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"mlx4_dev", !15, i64 0} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"res_cq", !12, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"res_mtt", !22, i64 0, !7, i64 4} !22 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_mlx4_SW2HW_CQ_wrapper.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_mlx4_SW2HW_CQ_wrapper.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RES_CQ_HW = common local_unnamed_addr global i32 0, align 4 @RES_MTT = common local_unnamed_addr global i32 0, align 4 @RES_CQ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mlx4_SW2HW_CQ_wrapper(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load i32, ptr %2, align 4, !tbaa !6 %10 = load ptr, ptr %3, align 8, !tbaa !11 %11 = tail call i32 @cq_get_mtt_addr(ptr noundef %10) #3 %12 = load i32, ptr %0, align 4, !tbaa !14 %13 = sdiv i32 %11, %12 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %14 = load i32, ptr @RES_CQ_HW, align 4, !tbaa !18 %15 = call i32 @cq_res_start_move_to(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %9, i32 noundef %14, ptr noundef nonnull %7) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %50 17: ; preds = %6 %18 = load i32, ptr @RES_MTT, align 4, !tbaa !18 %19 = call i32 @get_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %13, i32 noundef %18, ptr noundef nonnull %8) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %46 21: ; preds = %17 %22 = call i32 @cq_get_mtt_size(ptr noundef %10) #3 %23 = load ptr, ptr %8, align 8, !tbaa !17 %24 = call i32 @check_mtt_range(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %13, i32 noundef %22, ptr noundef %23) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %21 %27 = call i32 @mlx4_DMA_wrapper(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5) #3 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %40 29: ; preds = %26 %30 = load ptr, ptr %8, align 8, !tbaa !17 %31 = getelementptr inbounds i8, ptr %30, i64 4 %32 = call i32 @atomic_inc(ptr noundef nonnull %31) #3 %33 = load ptr, ptr %8, align 8, !tbaa !17 %34 = load ptr, ptr %7, align 8, !tbaa !17 store ptr %33, ptr %34, align 8, !tbaa !19 %35 = load i32, ptr %33, align 4, !tbaa !21 %36 = load i32, ptr @RES_MTT, align 4, !tbaa !18 %37 = call i32 @put_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %35, i32 noundef %36) #3 %38 = load i32, ptr @RES_CQ, align 4, !tbaa !18 %39 = call i32 @res_end_move(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %38, i32 noundef %9) #3 br label %50 40: ; preds = %26, %21 %41 = phi i32 [ %24, %21 ], [ %27, %26 ] %42 = load ptr, ptr %8, align 8, !tbaa !17 %43 = load i32, ptr %42, align 4, !tbaa !21 %44 = load i32, ptr @RES_MTT, align 4, !tbaa !18 %45 = call i32 @put_res(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %43, i32 noundef %44) #3 br label %46 46: ; preds = %17, %40 %47 = phi i32 [ %19, %17 ], [ %41, %40 ] %48 = load i32, ptr @RES_CQ, align 4, !tbaa !18 %49 = call i32 @res_abort_move(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %48, i32 noundef %9) #3 br label %50 50: ; preds = %6, %46, %29 %51 = phi i32 [ %47, %46 ], [ 0, %29 ], [ %15, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cq_get_mtt_addr(ptr noundef) local_unnamed_addr #2 declare i32 @cq_res_start_move_to(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_res(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_mtt_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cq_get_mtt_size(ptr noundef) local_unnamed_addr #2 declare i32 @mlx4_DMA_wrapper(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #2 declare i32 @put_res(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @res_end_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @res_abort_move(ptr noundef, i32 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 = !{!"mlx4_vhcr", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"mlx4_cmd_mailbox", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"mlx4_dev", !16, i64 0} !16 = !{!"TYPE_3__", !8, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"res_cq", !13, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"res_mtt", !23, i64 0, !8, i64 4} !23 = !{!"TYPE_4__", !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlx4_extr_resource_tracker.c_mlx4_SW2HW_CQ_wrapper
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_phy-c45.c_gen10g_config_aneg.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_phy-c45.c_gen10g_config_aneg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @gen10g_config_aneg(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_phy-c45.c_gen10g_config_aneg.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_phy-c45.c_gen10g_config_aneg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @gen10g_config_aneg(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_phy_extr_phy-c45.c_gen10g_config_aneg
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_socket_relabel.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_socket_relabel.c" target datalayout = "e-m:e-p270:32:32-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 @stub_socket_relabel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stub_socket_relabel(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @SOCK_LOCK_ASSERT(ptr noundef %1) #2 ret void } declare i32 @SOCK_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_socket_relabel.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_socket_relabel.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 @stub_socket_relabel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stub_socket_relabel(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @SOCK_LOCK_ASSERT(ptr noundef %1) #2 ret void } declare i32 @SOCK_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_security_mac_stub_extr_mac_stub.c_stub_socket_relabel
; ModuleID = 'AnghaBench/freebsd/libexec/rpc.rquotad/extr_rquotad.c_sendquota.c' source_filename = "AnghaBench/freebsd/libexec/rpc.rquotad/extr_rquotad.c_sendquota.c" target datalayout = "e-m:e-p270:32:32-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.getquota_args = type { i32, i32 } %struct.getquota_rslt = type { %struct.TYPE_6__, i32 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i32, i32, i64, i64, i32, i32, i32, i32 } %struct.dqblk = type { i32, i32, i32, i64, i64, i32, i32, i32 } %struct.timeval = type { i64 } @xdr_getquota_args = dso_local local_unnamed_addr global i64 0, align 8 @AUTH_UNIX = dso_local local_unnamed_addr global i64 0, align 8 @Q_EPERM = dso_local local_unnamed_addr global i32 0, align 4 @USRQUOTA = dso_local local_unnamed_addr global i32 0, align 4 @Q_NOQUOTA = dso_local local_unnamed_addr global i32 0, align 4 @Q_OK = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @DEV_BSIZE = dso_local local_unnamed_addr global i32 0, align 4 @xdr_getquota_rslt = dso_local local_unnamed_addr global i64 0, align 8 @LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"unable to free arguments\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sendquota], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sendquota(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca %struct.getquota_args, align 4 %4 = alloca %struct.getquota_rslt, align 8 %5 = alloca %struct.dqblk, align 8 %6 = alloca %struct.timeval, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #5 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5 %7 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 8) #5 %8 = load i64, ptr @xdr_getquota_args, align 8, !tbaa !5 %9 = trunc i64 %8 to i32 %10 = call i32 @svc_getargs(ptr noundef %1, i32 noundef %9, ptr noundef nonnull %3) #5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @svcerr_decode(ptr noundef %1) #5 br label %81 14: ; preds = %2 %15 = load i64, ptr %0, align 8, !tbaa !9 %16 = load i64, ptr @AUTH_UNIX, align 8, !tbaa !5 %17 = icmp eq i64 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load i32, ptr @Q_EPERM, align 4, !tbaa !12 %20 = getelementptr inbounds %struct.getquota_rslt, ptr %4, i64 0, i32 1 store i32 %19, ptr %20, align 8, !tbaa !14 br label %65 21: ; preds = %14 %22 = load i32, ptr @USRQUOTA, align 4, !tbaa !12 %23 = getelementptr inbounds %struct.getquota_args, ptr %3, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = load i32, ptr %3, align 4, !tbaa !20 %26 = call i32 @getfsquota(i32 noundef %22, i32 noundef %24, i32 noundef %25, ptr noundef nonnull %5) #5 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = load i32, ptr @Q_NOQUOTA, align 4, !tbaa !12 %30 = getelementptr inbounds %struct.getquota_rslt, ptr %4, i64 0, i32 1 store i32 %29, ptr %30, align 8, !tbaa !14 br label %65 31: ; preds = %21 %32 = call i32 @gettimeofday(ptr noundef nonnull %6, ptr noundef null) %33 = load i32, ptr @Q_OK, align 4, !tbaa !12 %34 = getelementptr inbounds %struct.getquota_rslt, ptr %4, i64 0, i32 1 store i32 %33, ptr %34, align 8, !tbaa !14 %35 = load i32, ptr @TRUE, align 4, !tbaa !12 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 9 store i32 %35, ptr %36, align 4, !tbaa !21 %37 = call i32 @flsll(i32 noundef poison) #5 %38 = shl nuw i32 1, %37 %39 = load i32, ptr @DEV_BSIZE, align 4, !tbaa !12 %40 = shl i32 %39, %37 store i32 %40, ptr %4, align 8, !tbaa !22 %41 = load i32, ptr %5, align 8, !tbaa !23 %42 = sdiv i32 %41, %38 %43 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 store i32 %42, ptr %43, align 4, !tbaa !25 %44 = getelementptr inbounds %struct.dqblk, ptr %5, i64 0, i32 1 %45 = load i32, ptr %44, align 4, !tbaa !26 %46 = sdiv i32 %45, %38 %47 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2 store i32 %46, ptr %47, align 8, !tbaa !27 %48 = getelementptr inbounds %struct.dqblk, ptr %5, i64 0, i32 2 %49 = load i32, ptr %48, align 8, !tbaa !28 %50 = sdiv i32 %49, %38 %51 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3 store i32 %50, ptr %51, align 4, !tbaa !29 %52 = getelementptr inbounds %struct.dqblk, ptr %5, i64 0, i32 7 %53 = load i32, ptr %52, align 8, !tbaa !30 %54 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 8 store i32 %53, ptr %54, align 8, !tbaa !31 %55 = getelementptr inbounds %struct.dqblk, ptr %5, i64 0, i32 5 %56 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 6 %57 = load <2 x i32>, ptr %55, align 8, !tbaa !12 store <2 x i32> %57, ptr %56, align 8, !tbaa !12 %58 = load i64, ptr %6, align 8, !tbaa !32 %59 = getelementptr inbounds %struct.dqblk, ptr %5, i64 0, i32 3 %60 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 4 %61 = load <2 x i64>, ptr %59, align 8, !tbaa !5 %62 = insertelement <2 x i64> poison, i64 %58, i64 0 %63 = shufflevector <2 x i64> %62, <2 x i64> poison, <2 x i32> zeroinitializer %64 = sub nsw <2 x i64> %61, %63 store <2 x i64> %64, ptr %60, align 8, !tbaa !5 br label %65 65: ; preds = %28, %31, %18 %66 = load i64, ptr @xdr_getquota_rslt, align 8, !tbaa !5 %67 = trunc i64 %66 to i32 %68 = call i32 @svc_sendreply(ptr noundef %1, i32 noundef %67, ptr noundef nonnull %4) #5 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %65 %71 = call i32 @svcerr_systemerr(ptr noundef %1) #5 br label %72 72: ; preds = %70, %65 %73 = load i64, ptr @xdr_getquota_args, align 8, !tbaa !5 %74 = trunc i64 %73 to i32 %75 = call i32 @svc_freeargs(ptr noundef %1, i32 noundef %74, ptr noundef nonnull %3) #5 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %81 77: ; preds = %72 %78 = load i32, ptr @LOG_ERR, align 4, !tbaa !12 %79 = call i32 @syslog(i32 noundef %78, ptr noundef nonnull @.str) #5 %80 = call i32 @exit(i32 noundef 1) #6 unreachable 81: ; preds = %72, %12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svc_getargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svcerr_decode(ptr noundef) local_unnamed_addr #2 declare i32 @getfsquota(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @flsll(i32 noundef) local_unnamed_addr #2 declare i32 @svc_sendreply(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svcerr_systemerr(ptr noundef) local_unnamed_addr #2 declare i32 @svc_freeargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @syslog(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { nounwind } attributes #6 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"svc_req", !11, i64 0} !11 = !{!"TYPE_4__", !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!15, !13, i64 48} !15 = !{!"getquota_rslt", !16, i64 0, !13, i64 48} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44} !18 = !{!19, !13, i64 4} !19 = !{!"getquota_args", !13, i64 0, !13, i64 4} !20 = !{!19, !13, i64 0} !21 = !{!15, !13, i64 44} !22 = !{!15, !13, i64 0} !23 = !{!24, !13, i64 0} !24 = !{!"dqblk", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40} !25 = !{!15, !13, i64 4} !26 = !{!24, !13, i64 4} !27 = !{!15, !13, i64 8} !28 = !{!24, !13, i64 8} !29 = !{!15, !13, i64 12} !30 = !{!24, !13, i64 40} !31 = !{!15, !13, i64 40} !32 = !{!33, !6, i64 0} !33 = !{!"timeval", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/libexec/rpc.rquotad/extr_rquotad.c_sendquota.c' source_filename = "AnghaBench/freebsd/libexec/rpc.rquotad/extr_rquotad.c_sendquota.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.getquota_args = type { i32, i32 } %struct.getquota_rslt = type { %struct.TYPE_6__, i32 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i32, i32, i64, i64, i32, i32, i32, i32 } %struct.dqblk = type { i32, i32, i32, i64, i64, i32, i32, i32 } %struct.timeval = type { i64 } @xdr_getquota_args = common local_unnamed_addr global i64 0, align 8 @AUTH_UNIX = common local_unnamed_addr global i64 0, align 8 @Q_EPERM = common local_unnamed_addr global i32 0, align 4 @USRQUOTA = common local_unnamed_addr global i32 0, align 4 @Q_NOQUOTA = common local_unnamed_addr global i32 0, align 4 @Q_OK = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @DEV_BSIZE = common local_unnamed_addr global i32 0, align 4 @xdr_getquota_rslt = common local_unnamed_addr global i64 0, align 8 @LOG_ERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"unable to free arguments\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sendquota], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sendquota(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca %struct.getquota_args, align 4 %4 = alloca %struct.getquota_rslt, align 8 %5 = alloca %struct.dqblk, align 8 %6 = alloca %struct.timeval, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #5 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5 %7 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 8) #5 %8 = load i64, ptr @xdr_getquota_args, align 8, !tbaa !6 %9 = trunc i64 %8 to i32 %10 = call i32 @svc_getargs(ptr noundef %1, i32 noundef %9, ptr noundef nonnull %3) #5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @svcerr_decode(ptr noundef %1) #5 br label %80 14: ; preds = %2 %15 = load i64, ptr %0, align 8, !tbaa !10 %16 = load i64, ptr @AUTH_UNIX, align 8, !tbaa !6 %17 = icmp eq i64 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load i32, ptr @Q_EPERM, align 4, !tbaa !13 %20 = getelementptr inbounds i8, ptr %4, i64 48 store i32 %19, ptr %20, align 8, !tbaa !15 br label %64 21: ; preds = %14 %22 = load i32, ptr @USRQUOTA, align 4, !tbaa !13 %23 = getelementptr inbounds i8, ptr %3, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !19 %25 = load i32, ptr %3, align 4, !tbaa !21 %26 = call i32 @getfsquota(i32 noundef %22, i32 noundef %24, i32 noundef %25, ptr noundef nonnull %5) #5 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = load i32, ptr @Q_NOQUOTA, align 4, !tbaa !13 %30 = getelementptr inbounds i8, ptr %4, i64 48 store i32 %29, ptr %30, align 8, !tbaa !15 br label %64 31: ; preds = %21 %32 = call i32 @gettimeofday(ptr noundef nonnull %6, ptr noundef null) %33 = load i32, ptr @Q_OK, align 4, !tbaa !13 %34 = getelementptr inbounds i8, ptr %4, i64 48 store i32 %33, ptr %34, align 8, !tbaa !15 %35 = load i32, ptr @TRUE, align 4, !tbaa !13 %36 = getelementptr inbounds i8, ptr %4, i64 44 store i32 %35, ptr %36, align 4, !tbaa !22 %37 = call i32 @flsll(i32 noundef poison) #5 %38 = shl nuw i32 1, %37 %39 = load i32, ptr @DEV_BSIZE, align 4, !tbaa !13 %40 = shl i32 %39, %37 store i32 %40, ptr %4, align 8, !tbaa !23 %41 = load i32, ptr %5, align 8, !tbaa !24 %42 = sdiv i32 %41, %38 %43 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %42, ptr %43, align 4, !tbaa !26 %44 = getelementptr inbounds i8, ptr %5, i64 4 %45 = load i32, ptr %44, align 4, !tbaa !27 %46 = sdiv i32 %45, %38 %47 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %46, ptr %47, align 8, !tbaa !28 %48 = getelementptr inbounds i8, ptr %5, i64 8 %49 = load i32, ptr %48, align 8, !tbaa !29 %50 = sdiv i32 %49, %38 %51 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %50, ptr %51, align 4, !tbaa !30 %52 = getelementptr inbounds i8, ptr %5, i64 40 %53 = load i32, ptr %52, align 8, !tbaa !31 %54 = getelementptr inbounds i8, ptr %4, i64 40 store i32 %53, ptr %54, align 8, !tbaa !32 %55 = getelementptr inbounds i8, ptr %5, i64 32 %56 = getelementptr inbounds i8, ptr %4, i64 32 %57 = load <2 x i32>, ptr %55, align 8, !tbaa !13 store <2 x i32> %57, ptr %56, align 8, !tbaa !13 %58 = load <1 x i64>, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %5, i64 16 %60 = getelementptr inbounds i8, ptr %4, i64 16 %61 = load <2 x i64>, ptr %59, align 8, !tbaa !6 %62 = shufflevector <1 x i64> %58, <1 x i64> poison, <2 x i32> zeroinitializer %63 = sub nsw <2 x i64> %61, %62 store <2 x i64> %63, ptr %60, align 8, !tbaa !6 br label %64 64: ; preds = %28, %31, %18 %65 = load i64, ptr @xdr_getquota_rslt, align 8, !tbaa !6 %66 = trunc i64 %65 to i32 %67 = call i32 @svc_sendreply(ptr noundef %1, i32 noundef %66, ptr noundef nonnull %4) #5 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %64 %70 = call i32 @svcerr_systemerr(ptr noundef %1) #5 br label %71 71: ; preds = %69, %64 %72 = load i64, ptr @xdr_getquota_args, align 8, !tbaa !6 %73 = trunc i64 %72 to i32 %74 = call i32 @svc_freeargs(ptr noundef %1, i32 noundef %73, ptr noundef nonnull %3) #5 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %71 %77 = load i32, ptr @LOG_ERR, align 4, !tbaa !13 %78 = call i32 @syslog(i32 noundef %77, ptr noundef nonnull @.str) #5 %79 = call i32 @exit(i32 noundef 1) #6 unreachable 80: ; preds = %71, %12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svc_getargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svcerr_decode(ptr noundef) local_unnamed_addr #2 declare i32 @getfsquota(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @flsll(i32 noundef) local_unnamed_addr #2 declare i32 @svc_sendreply(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svcerr_systemerr(ptr noundef) local_unnamed_addr #2 declare i32 @svc_freeargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @syslog(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { 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 #5 = { nounwind } attributes #6 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"svc_req", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !14, i64 48} !16 = !{!"getquota_rslt", !17, i64 0, !14, i64 48} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"TYPE_5__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !7, i64 16, !7, i64 24, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44} !19 = !{!20, !14, i64 4} !20 = !{!"getquota_args", !14, i64 0, !14, i64 4} !21 = !{!20, !14, i64 0} !22 = !{!16, !14, i64 44} !23 = !{!16, !14, i64 0} !24 = !{!25, !14, i64 0} !25 = !{!"dqblk", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !14, i64 36, !14, i64 40} !26 = !{!16, !14, i64 4} !27 = !{!25, !14, i64 4} !28 = !{!16, !14, i64 8} !29 = !{!25, !14, i64 8} !30 = !{!16, !14, i64 12} !31 = !{!25, !14, i64 40} !32 = !{!16, !14, i64 40}
freebsd_libexec_rpc.rquotad_extr_rquotad.c_sendquota
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_query_rx_desc.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_query_rx_desc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rtw_rx_pkt_stat = type { i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @rtw8822c_query_rx_desc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtw8822c_query_rx_desc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 56) #2 %8 = tail call i32 @GET_RX_DESC_PHYST(ptr noundef %1) #2 %9 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 3 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = tail call i32 @GET_RX_DESC_ICV_ERR(ptr noundef %1) #2 %11 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 11 store i32 %10, ptr %11, align 8, !tbaa !16 %12 = tail call i32 @GET_RX_DESC_CRC32(ptr noundef %1) #2 %13 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 10 store i32 %12, ptr %13, align 4, !tbaa !17 %14 = tail call i32 @GET_RX_DESC_SWDEC(ptr noundef %1) #2 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 store i32 %16, ptr %2, align 8, !tbaa !18 %17 = tail call i64 @GET_RX_DESC_C2H(ptr noundef %1) #2 %18 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 4 store i64 %17, ptr %18, align 8, !tbaa !19 %19 = tail call i32 @GET_RX_DESC_PKT_LEN(ptr noundef %1) #2 %20 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 9 store i32 %19, ptr %20, align 8, !tbaa !20 %21 = tail call i32 @GET_RX_DESC_DRV_INFO_SIZE(ptr noundef %1) #2 %22 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 1 store i32 %21, ptr %22, align 4, !tbaa !21 %23 = tail call i32 @GET_RX_DESC_SHIFT(ptr noundef %1) #2 %24 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 2 store i32 %23, ptr %24, align 8, !tbaa !22 %25 = tail call i32 @GET_RX_DESC_RX_RATE(ptr noundef %1) #2 %26 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 8 store i32 %25, ptr %26, align 4, !tbaa !23 %27 = tail call i32 @GET_RX_DESC_MACID(ptr noundef %1) #2 %28 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 7 store i32 %27, ptr %28, align 8, !tbaa !24 %29 = tail call i32 @GET_RX_DESC_PPDU_CNT(ptr noundef %1) #2 %30 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 6 store i32 %29, ptr %30, align 4, !tbaa !25 %31 = tail call i32 @GET_RX_DESC_TSFL(ptr noundef %1) #2 %32 = getelementptr inbounds %struct.rtw_rx_pkt_stat, ptr %2, i64 0, i32 5 store i32 %31, ptr %32, align 8, !tbaa !26 %33 = load i32, ptr %22, align 4, !tbaa !21 %34 = shl nsw i32 %33, 3 store i32 %34, ptr %22, align 4, !tbaa !21 %35 = load i64, ptr %18, align 8, !tbaa !19 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %52 37: ; preds = %4 %38 = sext i32 %6 to i64 %39 = getelementptr inbounds i32, ptr %1, i64 %38 %40 = load i32, ptr %24, align 8, !tbaa !22 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = sext i32 %34 to i64 %44 = getelementptr inbounds i32, ptr %42, i64 %43 %45 = load i32, ptr %9, align 4, !tbaa !13 %46 = icmp eq i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %37 %48 = tail call i32 @query_phy_status(ptr noundef nonnull %0, ptr noundef %42, ptr noundef nonnull %2) #2 br label %49 49: ; preds = %47, %37 %50 = phi ptr [ %42, %47 ], [ null, %37 ] %51 = tail call i32 @rtw_rx_fill_rx_status(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef %44, ptr noundef %3, ptr noundef %50) #2 br label %52 52: ; preds = %4, %49 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PHYST(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_ICV_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_CRC32(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_SWDEC(ptr noundef) local_unnamed_addr #1 declare i64 @GET_RX_DESC_C2H(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PKT_LEN(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_DRV_INFO_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_SHIFT(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_RX_RATE(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_MACID(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PPDU_CNT(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_TSFL(ptr noundef) local_unnamed_addr #1 declare i32 @query_phy_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtw_rx_fill_rx_status(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rtw_dev", !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} !13 = !{!14, !12, i64 12} !14 = !{!"rtw_rx_pkt_stat", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !15, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48} !15 = !{!"long", !8, i64 0} !16 = !{!14, !12, i64 48} !17 = !{!14, !12, i64 44} !18 = !{!14, !12, i64 0} !19 = !{!14, !15, i64 16} !20 = !{!14, !12, i64 40} !21 = !{!14, !12, i64 4} !22 = !{!14, !12, i64 8} !23 = !{!14, !12, i64 36} !24 = !{!14, !12, i64 32} !25 = !{!14, !12, i64 28} !26 = !{!14, !12, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_query_rx_desc.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_query_rx_desc.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 @rtw8822c_query_rx_desc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtw8822c_query_rx_desc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 56) #2 %8 = tail call i32 @GET_RX_DESC_PHYST(ptr noundef %1) #2 %9 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %8, ptr %9, align 4, !tbaa !14 %10 = tail call i32 @GET_RX_DESC_ICV_ERR(ptr noundef %1) #2 %11 = getelementptr inbounds i8, ptr %2, i64 48 store i32 %10, ptr %11, align 8, !tbaa !17 %12 = tail call i32 @GET_RX_DESC_CRC32(ptr noundef %1) #2 %13 = getelementptr inbounds i8, ptr %2, i64 44 store i32 %12, ptr %13, align 4, !tbaa !18 %14 = tail call i32 @GET_RX_DESC_SWDEC(ptr noundef %1) #2 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 store i32 %16, ptr %2, align 8, !tbaa !19 %17 = tail call i64 @GET_RX_DESC_C2H(ptr noundef %1) #2 %18 = getelementptr inbounds i8, ptr %2, i64 16 store i64 %17, ptr %18, align 8, !tbaa !20 %19 = tail call i32 @GET_RX_DESC_PKT_LEN(ptr noundef %1) #2 %20 = getelementptr inbounds i8, ptr %2, i64 40 store i32 %19, ptr %20, align 8, !tbaa !21 %21 = tail call i32 @GET_RX_DESC_DRV_INFO_SIZE(ptr noundef %1) #2 %22 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %21, ptr %22, align 4, !tbaa !22 %23 = tail call i32 @GET_RX_DESC_SHIFT(ptr noundef %1) #2 %24 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %23, ptr %24, align 8, !tbaa !23 %25 = tail call i32 @GET_RX_DESC_RX_RATE(ptr noundef %1) #2 %26 = getelementptr inbounds i8, ptr %2, i64 36 store i32 %25, ptr %26, align 4, !tbaa !24 %27 = tail call i32 @GET_RX_DESC_MACID(ptr noundef %1) #2 %28 = getelementptr inbounds i8, ptr %2, i64 32 store i32 %27, ptr %28, align 8, !tbaa !25 %29 = tail call i32 @GET_RX_DESC_PPDU_CNT(ptr noundef %1) #2 %30 = getelementptr inbounds i8, ptr %2, i64 28 store i32 %29, ptr %30, align 4, !tbaa !26 %31 = tail call i32 @GET_RX_DESC_TSFL(ptr noundef %1) #2 %32 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %31, ptr %32, align 8, !tbaa !27 %33 = load i32, ptr %22, align 4, !tbaa !22 %34 = shl nsw i32 %33, 3 store i32 %34, ptr %22, align 4, !tbaa !22 %35 = load i64, ptr %18, align 8, !tbaa !20 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %52 37: ; preds = %4 %38 = sext i32 %6 to i64 %39 = getelementptr inbounds i32, ptr %1, i64 %38 %40 = load i32, ptr %24, align 8, !tbaa !23 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = sext i32 %34 to i64 %44 = getelementptr inbounds i32, ptr %42, i64 %43 %45 = load i32, ptr %9, align 4, !tbaa !14 %46 = icmp eq i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %37 %48 = tail call i32 @query_phy_status(ptr noundef nonnull %0, ptr noundef %42, ptr noundef nonnull %2) #2 br label %49 49: ; preds = %47, %37 %50 = phi ptr [ %42, %47 ], [ null, %37 ] %51 = tail call i32 @rtw_rx_fill_rx_status(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef %44, ptr noundef %3, ptr noundef %50) #2 br label %52 52: ; preds = %4, %49 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PHYST(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_ICV_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_CRC32(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_SWDEC(ptr noundef) local_unnamed_addr #1 declare i64 @GET_RX_DESC_C2H(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PKT_LEN(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_DRV_INFO_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_SHIFT(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_RX_RATE(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_MACID(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_PPDU_CNT(ptr noundef) local_unnamed_addr #1 declare i32 @GET_RX_DESC_TSFL(ptr noundef) local_unnamed_addr #1 declare i32 @query_phy_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtw_rx_fill_rx_status(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rtw_dev", !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_2__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 12} !15 = !{!"rtw_rx_pkt_stat", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !16, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48} !16 = !{!"long", !9, i64 0} !17 = !{!15, !13, i64 48} !18 = !{!15, !13, i64 44} !19 = !{!15, !13, i64 0} !20 = !{!15, !16, i64 16} !21 = !{!15, !13, i64 40} !22 = !{!15, !13, i64 4} !23 = !{!15, !13, i64 8} !24 = !{!15, !13, i64 36} !25 = !{!15, !13, i64 32} !26 = !{!15, !13, i64 28} !27 = !{!15, !13, i64 24}
linux_drivers_net_wireless_realtek_rtw88_extr_rtw8822c.c_rtw8822c_query_rx_desc
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_intel_crtc_arm_fifo_underrun.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_intel_crtc_arm_fifo_underrun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intel_crtc = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @intel_crtc_arm_fifo_underrun(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.intel_crtc, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call ptr @to_i915(i32 noundef %4) #2 %6 = tail call i32 @IS_GEN(ptr noundef %5, i32 noundef 2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = tail call i32 @intel_set_cpu_fifo_underrun_reporting(ptr noundef %5, i32 noundef %9, i32 noundef 1) #2 br label %11 11: ; preds = %8, %2 %12 = load i64, ptr %1, align 8, !tbaa !12 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = tail call i32 @intel_crtc_pch_transcoder(ptr noundef nonnull %0) #2 %16 = tail call i32 @intel_set_pch_fifo_underrun_reporting(ptr noundef %5, i32 noundef %15, i32 noundef 1) #2 br label %17 17: ; preds = %14, %11 ret void } declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @IS_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_set_cpu_fifo_underrun_reporting(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_crtc_pch_transcoder(ptr noundef) local_unnamed_addr #1 declare i32 @intel_set_pch_fifo_underrun_reporting(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 4} !6 = !{!"intel_crtc", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"intel_crtc_state", !14, i64 0} !14 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_intel_crtc_arm_fifo_underrun.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_intel_crtc_arm_fifo_underrun.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 @intel_crtc_arm_fifo_underrun(ptr noundef %0, ptr nocapture noundef readonly %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 @to_i915(i32 noundef %4) #2 %6 = tail call i32 @IS_GEN(ptr noundef %5, i32 noundef 2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !12 %10 = tail call i32 @intel_set_cpu_fifo_underrun_reporting(ptr noundef %5, i32 noundef %9, i32 noundef 1) #2 br label %11 11: ; preds = %8, %2 %12 = load i64, ptr %1, align 8, !tbaa !13 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = tail call i32 @intel_crtc_pch_transcoder(ptr noundef nonnull %0) #2 %16 = tail call i32 @intel_set_pch_fifo_underrun_reporting(ptr noundef %5, i32 noundef %15, i32 noundef 1) #2 br label %17 17: ; preds = %14, %11 ret void } declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @IS_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_set_cpu_fifo_underrun_reporting(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_crtc_pch_transcoder(ptr noundef) local_unnamed_addr #1 declare i32 @intel_set_pch_fifo_underrun_reporting(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 4} !7 = !{!"intel_crtc", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"intel_crtc_state", !15, i64 0} !15 = !{!"long", !9, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_display.c_intel_crtc_arm_fifo_underrun
; ModuleID = 'AnghaBench/esp-idf/components/tcp_transport/extr_transport_tcp.c_tcp_connect.c' source_filename = "AnghaBench/esp-idf/components/tcp_transport/extr_transport_tcp.c_tcp_connect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_5__, i32, i32 } %struct.TYPE_5__ = type { i32 } %struct.timeval = type { i32 } @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @PF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @TAG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Error create socket\00", align 1 @SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @SO_RCVTIMEO = dso_local local_unnamed_addr global i32 0, align 4 @SO_SNDTIMEO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"[sock=%d],connecting to server IP:%s,Port:%d...\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_connect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcp_connect(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca %struct.timeval, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = tail call ptr @esp_transport_get_context_data(i32 noundef %0) #3 %8 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 12) #3 %9 = load i32, ptr @AF_INET, align 4, !tbaa !5 %10 = call i32 @inet_pton(i32 noundef %9, ptr noundef %1, ptr noundef nonnull %5) #3 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = call i64 @resolve_dns(ptr noundef %1, ptr noundef nonnull %5) #3 %14 = icmp slt i64 %13, 0 br i1 %14, label %47, label %15 15: ; preds = %12, %4 %16 = load i32, ptr @PF_INET, align 4, !tbaa !5 %17 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) #3 store i32 %18, ptr %7, align 4, !tbaa !9 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr @TAG, align 4, !tbaa !5 %22 = call i32 @ESP_LOGE(i32 noundef %21, ptr noundef nonnull @.str) #3 br label %47 23: ; preds = %15 %24 = load i32, ptr @AF_INET, align 4, !tbaa !5 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 2 store i32 %24, ptr %25, align 4, !tbaa !11 %26 = call i32 @htons(i32 noundef %2) #3 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 1 store i32 %26, ptr %27, align 4, !tbaa !14 %28 = call i32 @esp_transport_utils_ms_to_timeval(i32 noundef %3, ptr noundef nonnull %6) #3 %29 = load i32, ptr %7, align 4, !tbaa !9 %30 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !5 %31 = load i32, ptr @SO_RCVTIMEO, align 4, !tbaa !5 %32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef nonnull %6, i32 noundef 4) #3 %33 = load i32, ptr %7, align 4, !tbaa !9 %34 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !5 %35 = load i32, ptr @SO_SNDTIMEO, align 4, !tbaa !5 %36 = call i32 @setsockopt(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %6, i32 noundef 4) #3 %37 = load i32, ptr @TAG, align 4, !tbaa !5 %38 = load i32, ptr %7, align 4, !tbaa !9 %39 = call i32 @ipaddr_ntoa(ptr noundef nonnull %5) #3 %40 = call i32 @ESP_LOGD(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef %39, i32 noundef %2) #3 %41 = load i32, ptr %7, align 4, !tbaa !9 %42 = call i64 @connect(i32 noundef %41, ptr noundef nonnull %5, i32 noundef 4) #3 %43 = icmp eq i64 %42, 0 %44 = load i32, ptr %7, align 4, !tbaa !9 br i1 %43, label %47, label %45 45: ; preds = %23 %46 = call i32 @close(i32 noundef %44) #3 store i32 -1, ptr %7, align 4, !tbaa !9 br label %47 47: ; preds = %23, %12, %45, %20 %48 = phi i32 [ -1, %20 ], [ -1, %45 ], [ -1, %12 ], [ %44, %23 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @esp_transport_get_context_data(i32 noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @resolve_dns(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @esp_transport_utils_ms_to_timeval(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ESP_LOGD(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ipaddr_ntoa(ptr noundef) local_unnamed_addr #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @close(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_4__", !6, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"sockaddr_in", !13, i64 0, !6, i64 4, !6, i64 8} !13 = !{!"TYPE_5__", !6, i64 0} !14 = !{!12, !6, i64 4}
; ModuleID = 'AnghaBench/esp-idf/components/tcp_transport/extr_transport_tcp.c_tcp_connect.c' source_filename = "AnghaBench/esp-idf/components/tcp_transport/extr_transport_tcp.c_tcp_connect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { %struct.TYPE_5__, i32, i32 } %struct.TYPE_5__ = type { i32 } %struct.timeval = type { i32 } @AF_INET = common local_unnamed_addr global i32 0, align 4 @PF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @TAG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Error create socket\00", align 1 @SOL_SOCKET = common local_unnamed_addr global i32 0, align 4 @SO_RCVTIMEO = common local_unnamed_addr global i32 0, align 4 @SO_SNDTIMEO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [48 x i8] c"[sock=%d],connecting to server IP:%s,Port:%d...\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tcp_connect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcp_connect(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca %struct.timeval, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = tail call ptr @esp_transport_get_context_data(i32 noundef %0) #3 %8 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 12) #3 %9 = load i32, ptr @AF_INET, align 4, !tbaa !6 %10 = call i32 @inet_pton(i32 noundef %9, ptr noundef %1, ptr noundef nonnull %5) #3 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = call i64 @resolve_dns(ptr noundef %1, ptr noundef nonnull %5) #3 %14 = icmp slt i64 %13, 0 br i1 %14, label %47, label %15 15: ; preds = %12, %4 %16 = load i32, ptr @PF_INET, align 4, !tbaa !6 %17 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) #3 store i32 %18, ptr %7, align 4, !tbaa !10 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr @TAG, align 4, !tbaa !6 %22 = call i32 @ESP_LOGE(i32 noundef %21, ptr noundef nonnull @.str) #3 br label %47 23: ; preds = %15 %24 = load i32, ptr @AF_INET, align 4, !tbaa !6 %25 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %24, ptr %25, align 4, !tbaa !12 %26 = call i32 @htons(i32 noundef %2) #3 %27 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %26, ptr %27, align 4, !tbaa !15 %28 = call i32 @esp_transport_utils_ms_to_timeval(i32 noundef %3, ptr noundef nonnull %6) #3 %29 = load i32, ptr %7, align 4, !tbaa !10 %30 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !6 %31 = load i32, ptr @SO_RCVTIMEO, align 4, !tbaa !6 %32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef nonnull %6, i32 noundef 4) #3 %33 = load i32, ptr %7, align 4, !tbaa !10 %34 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !6 %35 = load i32, ptr @SO_SNDTIMEO, align 4, !tbaa !6 %36 = call i32 @setsockopt(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %6, i32 noundef 4) #3 %37 = load i32, ptr @TAG, align 4, !tbaa !6 %38 = load i32, ptr %7, align 4, !tbaa !10 %39 = call i32 @ipaddr_ntoa(ptr noundef nonnull %5) #3 %40 = call i32 @ESP_LOGD(i32 noundef %37, ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef %39, i32 noundef %2) #3 %41 = load i32, ptr %7, align 4, !tbaa !10 %42 = call i64 @connect(i32 noundef %41, ptr noundef nonnull %5, i32 noundef 4) #3 %43 = icmp eq i64 %42, 0 %44 = load i32, ptr %7, align 4, !tbaa !10 br i1 %43, label %47, label %45 45: ; preds = %23 %46 = call i32 @close(i32 noundef %44) #3 store i32 -1, ptr %7, align 4, !tbaa !10 br label %47 47: ; preds = %23, %12, %45, %20 %48 = phi i32 [ -1, %20 ], [ -1, %45 ], [ -1, %12 ], [ %44, %23 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @esp_transport_get_context_data(i32 noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @resolve_dns(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @esp_transport_utils_ms_to_timeval(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ESP_LOGD(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ipaddr_ntoa(ptr noundef) local_unnamed_addr #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @close(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_4__", !7, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"sockaddr_in", !14, i64 0, !7, i64 4, !7, i64 8} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!13, !7, i64 4}
esp-idf_components_tcp_transport_extr_transport_tcp.c_tcp_connect
; ModuleID = 'AnghaBench/linux/net/wireless/extr_nl80211.c_nl80211_start_nan.c' source_filename = "AnghaBench/linux/net/wireless/extr_nl80211.c_nl80211_start_nan.c" target datalayout = "e-m:e-p270:32:32-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.cfg80211_nan_conf = type { i32, i32 } %struct.genl_info = type { ptr, ptr } %struct.cfg80211_registered_device = type { i64, i32, i32, ptr, i32 } %struct.wireless_dev = type { i64, i32, i32, ptr, i32 } @NL80211_IFTYPE_NAN = dso_local local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @EEXIST = dso_local local_unnamed_addr global i32 0, align 4 @ERFKILL = dso_local local_unnamed_addr global i32 0, align 4 @NL80211_ATTR_NAN_MASTER_PREF = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @NL80211_ATTR_BANDS = dso_local local_unnamed_addr global i64 0, align 8 @NL80211_BAND_2GHZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nl80211_start_nan], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nl80211_start_nan(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.cfg80211_nan_conf, align 8 %4 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = getelementptr inbounds ptr, ptr %5, i64 1 %8 = load ptr, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = load i64, ptr @NL80211_IFTYPE_NAN, align 8, !tbaa !15 %11 = icmp eq i64 %9, %10 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %14 = sub nsw i32 0, %13 br label %77 15: ; preds = %2 %16 = tail call i64 @wdev_running(ptr noundef nonnull %8) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr @EEXIST, align 4, !tbaa !16 %20 = sub nsw i32 0, %19 br label %77 21: ; preds = %15 %22 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %6, i64 0, i32 4 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = tail call i64 @rfkill_blocked(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load i32, ptr @ERFKILL, align 4, !tbaa !16 %28 = sub nsw i32 0, %27 br label %77 29: ; preds = %21 %30 = load ptr, ptr %1, align 8, !tbaa !19 %31 = load i64, ptr @NL80211_ATTR_NAN_MASTER_PREF, align 8, !tbaa !15 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = load i64, ptr %32, align 8, !tbaa !15 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = load i32, ptr @EINVAL, align 4, !tbaa !16 %37 = sub nsw i32 0, %36 br label %77 38: ; preds = %29 %39 = tail call i32 @nla_get_u8(i64 noundef %33) #3 %40 = getelementptr inbounds %struct.cfg80211_nan_conf, ptr %3, i64 0, i32 1 store i32 %39, ptr %40, align 4, !tbaa !20 %41 = load ptr, ptr %1, align 8, !tbaa !19 %42 = load i64, ptr @NL80211_ATTR_BANDS, align 8, !tbaa !15 %43 = getelementptr inbounds i64, ptr %41, i64 %42 %44 = load i64, ptr %43, align 8, !tbaa !15 %45 = icmp eq i64 %44, 0 br i1 %45, label %69, label %46 46: ; preds = %38 %47 = tail call i32 @nla_get_u32(i64 noundef %44) #3 %48 = getelementptr inbounds %struct.wireless_dev, ptr %8, i64 0, i32 3 %49 = load ptr, ptr %48, align 8, !tbaa !22 %50 = load i64, ptr %49, align 8, !tbaa !23 %51 = trunc i64 %50 to i32 %52 = xor i32 %51, -1 %53 = and i32 %47, %52 %54 = icmp eq i32 %53, 0 br i1 %54, label %58, label %55 55: ; preds = %46 %56 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %57 = sub nsw i32 0, %56 br label %77 58: ; preds = %46 %59 = icmp eq i32 %47, 0 br i1 %59, label %68, label %60 60: ; preds = %58 %61 = load i32, ptr @NL80211_BAND_2GHZ, align 4, !tbaa !16 %62 = tail call i32 @BIT(i32 noundef %61) #3 %63 = and i32 %62, %47 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %60 %66 = load i32, ptr @EINVAL, align 4, !tbaa !16 %67 = sub nsw i32 0, %66 br label %77 68: ; preds = %58, %60 store i32 %47, ptr %3, align 8, !tbaa !25 br label %69 69: ; preds = %68, %38 %70 = call i32 @rdev_start_nan(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %3) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %69 %73 = getelementptr inbounds %struct.wireless_dev, ptr %8, i64 0, i32 1 store i32 1, ptr %73, align 8, !tbaa !26 %74 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %6, i64 0, i32 2 %75 = load i32, ptr %74, align 4, !tbaa !27 %76 = add nsw i32 %75, 1 store i32 %76, ptr %74, align 4, !tbaa !27 br label %77 77: ; preds = %65, %55, %69, %72, %35, %26, %18, %12 %78 = phi i32 [ %14, %12 ], [ %20, %18 ], [ %28, %26 ], [ 0, %72 ], [ %37, %35 ], [ %70, %69 ], [ %67, %65 ], [ %57, %55 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @wdev_running(ptr noundef) local_unnamed_addr #2 declare i64 @rfkill_blocked(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_u8(i64 noundef) local_unnamed_addr #2 declare i32 @nla_get_u32(i64 noundef) local_unnamed_addr #2 declare i32 @BIT(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 @rdev_start_nan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"genl_info", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"wireless_dev", !13, i64 0, !14, i64 8, !14, i64 12, !7, i64 16, !14, i64 24} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!18, !14, i64 24} !18 = !{!"cfg80211_registered_device", !13, i64 0, !14, i64 8, !14, i64 12, !7, i64 16, !14, i64 24} !19 = !{!6, !7, i64 0} !20 = !{!21, !14, i64 4} !21 = !{!"cfg80211_nan_conf", !14, i64 0, !14, i64 4} !22 = !{!12, !7, i64 16} !23 = !{!24, !13, i64 0} !24 = !{!"TYPE_2__", !13, i64 0} !25 = !{!21, !14, i64 0} !26 = !{!12, !14, i64 8} !27 = !{!18, !14, i64 12}
; ModuleID = 'AnghaBench/linux/net/wireless/extr_nl80211.c_nl80211_start_nan.c' source_filename = "AnghaBench/linux/net/wireless/extr_nl80211.c_nl80211_start_nan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cfg80211_nan_conf = type { i32, i32 } @NL80211_IFTYPE_NAN = common local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @EEXIST = common local_unnamed_addr global i32 0, align 4 @ERFKILL = common local_unnamed_addr global i32 0, align 4 @NL80211_ATTR_NAN_MASTER_PREF = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @NL80211_ATTR_BANDS = common local_unnamed_addr global i64 0, align 8 @NL80211_BAND_2GHZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nl80211_start_nan], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nl80211_start_nan(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.cfg80211_nan_conf, align 8 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = load i64, ptr @NL80211_IFTYPE_NAN, align 8, !tbaa !16 %11 = icmp eq i64 %9, %10 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17 %14 = sub nsw i32 0, %13 br label %77 15: ; preds = %2 %16 = tail call i64 @wdev_running(ptr noundef nonnull %8) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr @EEXIST, align 4, !tbaa !17 %20 = sub nsw i32 0, %19 br label %77 21: ; preds = %15 %22 = getelementptr inbounds i8, ptr %6, i64 24 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = tail call i64 @rfkill_blocked(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load i32, ptr @ERFKILL, align 4, !tbaa !17 %28 = sub nsw i32 0, %27 br label %77 29: ; preds = %21 %30 = load ptr, ptr %1, align 8, !tbaa !20 %31 = load i64, ptr @NL80211_ATTR_NAN_MASTER_PREF, align 8, !tbaa !16 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = load i64, ptr %32, align 8, !tbaa !16 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = load i32, ptr @EINVAL, align 4, !tbaa !17 %37 = sub nsw i32 0, %36 br label %77 38: ; preds = %29 %39 = tail call i32 @nla_get_u8(i64 noundef %33) #3 %40 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %39, ptr %40, align 4, !tbaa !21 %41 = load ptr, ptr %1, align 8, !tbaa !20 %42 = load i64, ptr @NL80211_ATTR_BANDS, align 8, !tbaa !16 %43 = getelementptr inbounds i64, ptr %41, i64 %42 %44 = load i64, ptr %43, align 8, !tbaa !16 %45 = icmp eq i64 %44, 0 br i1 %45, label %69, label %46 46: ; preds = %38 %47 = tail call i32 @nla_get_u32(i64 noundef %44) #3 %48 = getelementptr inbounds i8, ptr %8, i64 16 %49 = load ptr, ptr %48, align 8, !tbaa !23 %50 = load i64, ptr %49, align 8, !tbaa !24 %51 = trunc i64 %50 to i32 %52 = xor i32 %51, -1 %53 = and i32 %47, %52 %54 = icmp eq i32 %53, 0 br i1 %54, label %58, label %55 55: ; preds = %46 %56 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17 %57 = sub nsw i32 0, %56 br label %77 58: ; preds = %46 %59 = icmp eq i32 %47, 0 br i1 %59, label %68, label %60 60: ; preds = %58 %61 = load i32, ptr @NL80211_BAND_2GHZ, align 4, !tbaa !17 %62 = tail call i32 @BIT(i32 noundef %61) #3 %63 = and i32 %62, %47 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %60 %66 = load i32, ptr @EINVAL, align 4, !tbaa !17 %67 = sub nsw i32 0, %66 br label %77 68: ; preds = %58, %60 store i32 %47, ptr %3, align 8, !tbaa !26 br label %69 69: ; preds = %68, %38 %70 = call i32 @rdev_start_nan(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %3) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %69 %73 = getelementptr inbounds i8, ptr %8, i64 8 store i32 1, ptr %73, align 8, !tbaa !27 %74 = getelementptr inbounds i8, ptr %6, i64 12 %75 = load i32, ptr %74, align 4, !tbaa !28 %76 = add nsw i32 %75, 1 store i32 %76, ptr %74, align 4, !tbaa !28 br label %77 77: ; preds = %65, %55, %69, %72, %35, %26, %18, %12 %78 = phi i32 [ %14, %12 ], [ %20, %18 ], [ %28, %26 ], [ 0, %72 ], [ %37, %35 ], [ %70, %69 ], [ %67, %65 ], [ %57, %55 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @wdev_running(ptr noundef) local_unnamed_addr #2 declare i64 @rfkill_blocked(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_u8(i64 noundef) local_unnamed_addr #2 declare i32 @nla_get_u32(i64 noundef) local_unnamed_addr #2 declare i32 @BIT(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 @rdev_start_nan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"genl_info", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"wireless_dev", !14, i64 0, !15, i64 8, !15, i64 12, !8, i64 16, !15, i64 24} !14 = !{!"long", !9, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!19, !15, i64 24} !19 = !{!"cfg80211_registered_device", !14, i64 0, !15, i64 8, !15, i64 12, !8, i64 16, !15, i64 24} !20 = !{!7, !8, i64 0} !21 = !{!22, !15, i64 4} !22 = !{!"cfg80211_nan_conf", !15, i64 0, !15, i64 4} !23 = !{!13, !8, i64 16} !24 = !{!25, !14, i64 0} !25 = !{!"TYPE_2__", !14, i64 0} !26 = !{!22, !15, i64 0} !27 = !{!13, !15, i64 8} !28 = !{!19, !15, i64 12}
linux_net_wireless_extr_nl80211.c_nl80211_start_nan
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/cpsw/extr_if_cpsw.c_cpsw_shutdown.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/cpsw/extr_if_cpsw.c_cpsw_shutdown.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cpsw_softc = type { i32, ptr, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @CPSW_PORTS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cpsw_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cpsw_shutdown(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @CPSW_DEBUGF(ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = load i32, ptr @CPSW_PORTS, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %32 6: ; preds = %1 %7 = getelementptr inbounds %struct.cpsw_softc, ptr %2, i64 0, i32 2 %8 = getelementptr inbounds %struct.cpsw_softc, ptr %2, i64 0, i32 1 br label %9 9: ; preds = %6, %27 %10 = phi i32 [ %4, %6 ], [ %28, %27 ] %11 = phi i64 [ 0, %6 ], [ %29, %27 ] %12 = load i32, ptr %7, align 8, !tbaa !9 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = load i32, ptr %2, align 8, !tbaa !12 %16 = zext i32 %15 to i64 %17 = icmp eq i64 %11, %16 br i1 %17, label %18, label %27 18: ; preds = %14, %9 %19 = load ptr, ptr %8, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %11 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = tail call ptr @device_get_softc(i32 noundef %21) #2 %23 = tail call i32 @CPSW_PORT_LOCK(ptr noundef %22) #2 %24 = tail call i32 @cpswp_stop_locked(ptr noundef %22) #2 %25 = tail call i32 @CPSW_PORT_UNLOCK(ptr noundef %22) #2 %26 = load i32, ptr @CPSW_PORTS, align 4, !tbaa !5 br label %27 27: ; preds = %14, %18 %28 = phi i32 [ %10, %14 ], [ %26, %18 ] %29 = add nuw nsw i64 %11, 1 %30 = sext i32 %28 to i64 %31 = icmp slt i64 %29, %30 br i1 %31, label %9, label %32, !llvm.loop !16 32: ; preds = %27, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @CPSW_DEBUGF(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CPSW_PORT_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @cpswp_stop_locked(ptr noundef) local_unnamed_addr #1 declare i32 @CPSW_PORT_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, !6, i64 16} !10 = !{!"cpsw_softc", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/cpsw/extr_if_cpsw.c_cpsw_shutdown.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/cpsw/extr_if_cpsw.c_cpsw_shutdown.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 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @CPSW_PORTS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cpsw_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cpsw_shutdown(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @CPSW_DEBUGF(ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = load i32, ptr @CPSW_PORTS, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %32 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 16 %8 = getelementptr inbounds i8, ptr %2, i64 8 br label %9 9: ; preds = %6, %27 %10 = phi i32 [ %4, %6 ], [ %28, %27 ] %11 = phi i64 [ 0, %6 ], [ %29, %27 ] %12 = load i32, ptr %7, align 8, !tbaa !10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = load i32, ptr %2, align 8, !tbaa !13 %16 = zext i32 %15 to i64 %17 = icmp eq i64 %11, %16 br i1 %17, label %18, label %27 18: ; preds = %14, %9 %19 = load ptr, ptr %8, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %11 %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = tail call ptr @device_get_softc(i32 noundef %21) #2 %23 = tail call i32 @CPSW_PORT_LOCK(ptr noundef %22) #2 %24 = tail call i32 @cpswp_stop_locked(ptr noundef %22) #2 %25 = tail call i32 @CPSW_PORT_UNLOCK(ptr noundef %22) #2 %26 = load i32, ptr @CPSW_PORTS, align 4, !tbaa !6 br label %27 27: ; preds = %14, %18 %28 = phi i32 [ %10, %14 ], [ %26, %18 ] %29 = add nuw nsw i64 %11, 1 %30 = sext i32 %28 to i64 %31 = icmp slt i64 %29, %30 br i1 %31, label %9, label %32, !llvm.loop !17 32: ; preds = %27, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @CPSW_DEBUGF(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CPSW_PORT_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @cpswp_stop_locked(ptr noundef) local_unnamed_addr #1 declare i32 @CPSW_PORT_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, !7, i64 16} !11 = !{!"cpsw_softc", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_sys_arm_ti_cpsw_extr_if_cpsw.c_cpsw_shutdown
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_at91_adc.c_at91_adc_trigger_handler.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_at91_adc.c_at91_adc_trigger_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.iio_poll_func = type { i32, ptr } %struct.iio_dev = type { i32, i32, ptr, i32 } %struct.at91_adc_state = type { i32, ptr } %struct.iio_chan_spec = type { i32 } @AT91_ADC_LCDR = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @at91_adc_trigger_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @at91_adc_trigger_handler(i32 %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.iio_poll_func, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call ptr @iio_priv(ptr noundef %4) #2 %6 = load i32, ptr %4, align 8, !tbaa !11 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %2 %9 = getelementptr inbounds %struct.iio_dev, ptr %4, i64 0, i32 3 %10 = getelementptr inbounds %struct.iio_dev, ptr %4, i64 0, i32 2 %11 = getelementptr inbounds %struct.at91_adc_state, ptr %5, i64 0, i32 1 br label %12 12: ; preds = %8, %29 %13 = phi i64 [ 0, %8 ], [ %31, %29 ] %14 = phi i32 [ 0, %8 ], [ %30, %29 ] %15 = load i32, ptr %9, align 8, !tbaa !13 %16 = trunc i64 %13 to i32 %17 = tail call i32 @test_bit(i32 noundef %16, i32 noundef %15) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %12 %20 = load ptr, ptr %10, align 8, !tbaa !14 %21 = getelementptr inbounds %struct.iio_chan_spec, ptr %20, i64 %13 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = tail call i32 @AT91_ADC_CHAN(ptr noundef %5, i32 noundef %22) #2 %24 = tail call i32 @at91_adc_readl(ptr noundef %5, i32 noundef %23) #2 %25 = load ptr, ptr %11, align 8, !tbaa !17 %26 = sext i32 %14 to i64 %27 = getelementptr inbounds i32, ptr %25, i64 %26 store i32 %24, ptr %27, align 4, !tbaa !19 %28 = add nsw i32 %14, 1 br label %29 29: ; preds = %12, %19 %30 = phi i32 [ %28, %19 ], [ %14, %12 ] %31 = add nuw nsw i64 %13, 1 %32 = load i32, ptr %4, align 8, !tbaa !11 %33 = sext i32 %32 to i64 %34 = icmp slt i64 %31, %33 br i1 %34, label %12, label %35, !llvm.loop !20 35: ; preds = %29, %2 %36 = getelementptr inbounds %struct.at91_adc_state, ptr %5, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !17 %38 = load i32, ptr %1, align 8, !tbaa !22 %39 = tail call i32 @iio_push_to_buffers_with_timestamp(ptr noundef nonnull %4, ptr noundef %37, i32 noundef %38) #2 %40 = getelementptr inbounds %struct.iio_dev, ptr %4, i64 0, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !23 %42 = tail call i32 @iio_trigger_notify_done(i32 noundef %41) #2 %43 = load i32, ptr @AT91_ADC_LCDR, align 4, !tbaa !19 %44 = tail call i32 @at91_adc_readl(ptr noundef %5, i32 noundef %43) #2 %45 = load i32, ptr %5, align 8, !tbaa !24 %46 = tail call i32 @enable_irq(i32 noundef %45) #2 %47 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !19 ret i32 %47 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @at91_adc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AT91_ADC_CHAN(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_push_to_buffers_with_timestamp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_trigger_notify_done(i32 noundef) local_unnamed_addr #1 declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"iio_poll_func", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"iio_dev", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !13 = !{!12, !7, i64 16} !14 = !{!12, !10, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"iio_chan_spec", !7, i64 0} !17 = !{!18, !10, i64 8} !18 = !{!"at91_adc_state", !7, i64 0, !10, i64 8} !19 = !{!7, !7, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !7, i64 0} !23 = !{!12, !7, i64 4} !24 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_at91_adc.c_at91_adc_trigger_handler.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_at91_adc.c_at91_adc_trigger_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.iio_chan_spec = type { i32 } @AT91_ADC_LCDR = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @at91_adc_trigger_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @at91_adc_trigger_handler(i32 %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call ptr @iio_priv(ptr noundef %4) #2 %6 = load i32, ptr %4, align 8, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %35 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %4, i64 16 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = getelementptr inbounds i8, ptr %5, i64 8 br label %12 12: ; preds = %8, %29 %13 = phi i64 [ 0, %8 ], [ %31, %29 ] %14 = phi i32 [ 0, %8 ], [ %30, %29 ] %15 = load i32, ptr %9, align 8, !tbaa !14 %16 = trunc nuw nsw i64 %13 to i32 %17 = tail call i32 @test_bit(i32 noundef %16, i32 noundef %15) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %12 %20 = load ptr, ptr %10, align 8, !tbaa !15 %21 = getelementptr inbounds %struct.iio_chan_spec, ptr %20, i64 %13 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = tail call i32 @AT91_ADC_CHAN(ptr noundef %5, i32 noundef %22) #2 %24 = tail call i32 @at91_adc_readl(ptr noundef %5, i32 noundef %23) #2 %25 = load ptr, ptr %11, align 8, !tbaa !18 %26 = sext i32 %14 to i64 %27 = getelementptr inbounds i32, ptr %25, i64 %26 store i32 %24, ptr %27, align 4, !tbaa !20 %28 = add nsw i32 %14, 1 br label %29 29: ; preds = %12, %19 %30 = phi i32 [ %28, %19 ], [ %14, %12 ] %31 = add nuw nsw i64 %13, 1 %32 = load i32, ptr %4, align 8, !tbaa !12 %33 = sext i32 %32 to i64 %34 = icmp slt i64 %31, %33 br i1 %34, label %12, label %35, !llvm.loop !21 35: ; preds = %29, %2 %36 = getelementptr inbounds i8, ptr %5, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !18 %38 = load i32, ptr %1, align 8, !tbaa !23 %39 = tail call i32 @iio_push_to_buffers_with_timestamp(ptr noundef nonnull %4, ptr noundef %37, i32 noundef %38) #2 %40 = getelementptr inbounds i8, ptr %4, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !24 %42 = tail call i32 @iio_trigger_notify_done(i32 noundef %41) #2 %43 = load i32, ptr @AT91_ADC_LCDR, align 4, !tbaa !20 %44 = tail call i32 @at91_adc_readl(ptr noundef %5, i32 noundef %43) #2 %45 = load i32, ptr %5, align 8, !tbaa !25 %46 = tail call i32 @enable_irq(i32 noundef %45) #2 %47 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !20 ret i32 %47 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @at91_adc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AT91_ADC_CHAN(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_push_to_buffers_with_timestamp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_trigger_notify_done(i32 noundef) local_unnamed_addr #1 declare i32 @enable_irq(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"iio_poll_func", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"iio_dev", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !14 = !{!13, !8, i64 16} !15 = !{!13, !11, i64 8} !16 = !{!17, !8, i64 0} !17 = !{!"iio_chan_spec", !8, i64 0} !18 = !{!19, !11, i64 8} !19 = !{!"at91_adc_state", !8, i64 0, !11, i64 8} !20 = !{!8, !8, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !8, i64 0} !24 = !{!13, !8, i64 4} !25 = !{!19, !8, i64 0}
linux_drivers_iio_adc_extr_at91_adc.c_at91_adc_trigger_handler
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_timer_call.c_timer_sysctl_set.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_timer_call.c_timer_sysctl_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" %struct.TYPE_2__ = type { ptr, ptr } @master_cpu = dso_local local_unnamed_addr global i32 0, align 4 @timer_sysctl_set_threshold = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @timer_longterm = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @KERN_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @timer_sysctl_set(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { switch i32 %0, label %11 [ i32 128, label %3 i32 129, label %9 i32 130, label %10 ] 3: ; preds = %2 %4 = load i32, ptr @master_cpu, align 4, !tbaa !5 %5 = load i32, ptr @timer_sysctl_set_threshold, align 4, !tbaa !5 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = tail call i32 @timer_call_cpu(i32 noundef %4, ptr noundef %7, ptr noundef %1) #2 br label %11 9: ; preds = %2 store ptr %1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @timer_longterm, i64 0, i32 1), align 8, !tbaa !9 br label %11 10: ; preds = %2 store ptr %1, ptr @timer_longterm, align 8, !tbaa !12 br label %11 11: ; preds = %2, %10, %9, %3 %12 = phi ptr [ @KERN_SUCCESS, %10 ], [ @KERN_SUCCESS, %9 ], [ @KERN_SUCCESS, %3 ], [ @KERN_INVALID_ARGUMENT, %2 ] %13 = load i32, ptr %12, align 4, !tbaa !5 ret i32 %13 } declare i32 @timer_call_cpu(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_timer_call.c_timer_sysctl_set.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_timer_call.c_timer_sysctl_set.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, ptr } @master_cpu = common local_unnamed_addr global i32 0, align 4 @timer_sysctl_set_threshold = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 @timer_longterm = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @KERN_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @timer_sysctl_set(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { switch i32 %0, label %11 [ i32 128, label %3 i32 129, label %9 i32 130, label %10 ] 3: ; preds = %2 %4 = load i32, ptr @master_cpu, align 4, !tbaa !6 %5 = load i32, ptr @timer_sysctl_set_threshold, align 4, !tbaa !6 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = tail call i32 @timer_call_cpu(i32 noundef %4, ptr noundef %7, ptr noundef %1) #2 br label %11 9: ; preds = %2 store ptr %1, ptr getelementptr inbounds (i8, ptr @timer_longterm, i64 8), align 8, !tbaa !10 br label %11 10: ; preds = %2 store ptr %1, ptr @timer_longterm, align 8, !tbaa !13 br label %11 11: ; preds = %2, %10, %9, %3 %12 = phi ptr [ @KERN_SUCCESS, %10 ], [ @KERN_SUCCESS, %9 ], [ @KERN_SUCCESS, %3 ], [ @KERN_INVALID_ARGUMENT, %2 ] %13 = load i32, ptr %12, align 4, !tbaa !6 ret i32 %13 } declare i32 @timer_call_cpu(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
darwin-xnu_osfmk_kern_extr_timer_call.c_timer_sysctl_set
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c___mf_set_options.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c___mf_set_options.c" target datalayout = "e-m:e-p270:32:32-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 @__mf_set_options(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @LOCKTH() #2 %3 = tail call i32 (...) @BEGIN_RECURSION_PROTECT() #2 %4 = tail call i32 @__mfu_set_options(ptr noundef %0) #2 %5 = tail call i32 (...) @END_RECURSION_PROTECT() #2 %6 = tail call i32 (...) @UNLOCKTH() #2 ret i32 %4 } declare i32 @LOCKTH(...) local_unnamed_addr #1 declare i32 @BEGIN_RECURSION_PROTECT(...) local_unnamed_addr #1 declare i32 @__mfu_set_options(ptr noundef) local_unnamed_addr #1 declare i32 @END_RECURSION_PROTECT(...) local_unnamed_addr #1 declare i32 @UNLOCKTH(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c___mf_set_options.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c___mf_set_options.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 @__mf_set_options(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @LOCKTH() #2 %3 = tail call i32 @BEGIN_RECURSION_PROTECT() #2 %4 = tail call i32 @__mfu_set_options(ptr noundef %0) #2 %5 = tail call i32 @END_RECURSION_PROTECT() #2 %6 = tail call i32 @UNLOCKTH() #2 ret i32 %4 } declare i32 @LOCKTH(...) local_unnamed_addr #1 declare i32 @BEGIN_RECURSION_PROTECT(...) local_unnamed_addr #1 declare i32 @__mfu_set_options(ptr noundef) local_unnamed_addr #1 declare i32 @END_RECURSION_PROTECT(...) local_unnamed_addr #1 declare i32 @UNLOCKTH(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gcclibs_libmudflap_extr_mf-runtime.c___mf_set_options
; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_....libnetdatainlined.h_simple_hash.c' source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_....libnetdatainlined.h_simple_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @simple_hash], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @simple_hash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ -2128831035, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = mul nsw i32 %6, 16777619 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = zext i8 %5 to i32 %11 = xor i32 %8, %10 %12 = load i8, ptr %9, align 1, !tbaa !5 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !8 14: ; preds = %4, %1 %15 = phi i32 [ -2128831035, %1 ], [ %11, %4 ] ret i32 %15 } attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_....libnetdatainlined.h_simple_hash.c' source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_....libnetdatainlined.h_simple_hash.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 @simple_hash], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @simple_hash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ -2128831035, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = mul nsw i32 %6, 16777619 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = zext i8 %5 to i32 %11 = xor i32 %8, %10 %12 = load i8, ptr %9, align 1, !tbaa !6 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !9 14: ; preds = %4, %1 %15 = phi i32 [ -2128831035, %1 ], [ %11, %4 ] ret i32 %15 } attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
netdata_collectors_apps.plugin_extr_....libnetdatainlined.h_simple_hash
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mlme.c_ieee80211_mgd_probe_ap.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mlme.c_ieee80211_mgd_probe_ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ieee80211_sub_if_data = type { ptr, i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { %struct.ieee80211_if_managed } %struct.ieee80211_if_managed = type { i32, i32, i64, i32 } %struct.TYPE_4__ = type { i32, i32, i64, i64 } @.str = private unnamed_addr constant [60 x i8] c"detected beacon loss from AP (missed %d beacons) - probing\0A\00", align 1 @beacon_loss_count = dso_local local_unnamed_addr global i32 0, align 4 @NL80211_CQM_RSSI_BEACON_LOSS_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_STA_BEACON_POLL = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_STA_CONNECTION_POLL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ieee80211_mgd_probe_ap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ieee80211_mgd_probe_ap(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 2 %4 = tail call i32 @ieee80211_sdata_running(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %67, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 2, i32 0, i32 1 %8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 2, i32 0, i32 3 %10 = load i32, ptr %9, align 8, !tbaa !5 %11 = icmp eq i32 %10, 0 br i1 %11, label %65, label %12 12: ; preds = %6 %13 = load ptr, ptr %0, align 8, !tbaa !11 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 1 %15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !11 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 3 %18 = load i64, ptr %17, align 8, !tbaa !15 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %12 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20, %12 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 1 %26 = tail call i32 @mutex_unlock(ptr noundef nonnull %25) #2 br label %65 27: ; preds = %20 %28 = icmp eq i32 %1, 0 br i1 %28, label %29, label %39 29: ; preds = %27 %30 = load i32, ptr %3, align 8, !tbaa !18 %31 = load i32, ptr @IEEE80211_STA_BEACON_POLL, align 4, !tbaa !19 %32 = load i32, ptr @IEEE80211_STA_CONNECTION_POLL, align 4, !tbaa !19 %33 = or i32 %32, %31 %34 = and i32 %33, %30 %35 = icmp eq i32 %34, 0 %36 = or i32 %32, %30 store i32 %36, ptr %3, align 8, !tbaa !18 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 1 %38 = tail call i32 @mutex_unlock(ptr noundef nonnull %37) #2 br i1 %35, label %56, label %65 39: ; preds = %27 %40 = load i32, ptr @beacon_loss_count, align 4, !tbaa !19 %41 = tail call i32 @mlme_dbg_ratelimited(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 1 %43 = load i32, ptr @NL80211_CQM_RSSI_BEACON_LOSS_EVENT, align 4, !tbaa !19 %44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !19 %45 = tail call i32 @ieee80211_cqm_rssi_notify(ptr noundef nonnull %42, i32 noundef %43, i32 noundef %44) #2 %46 = load i32, ptr %3, align 8, !tbaa !18 %47 = load i32, ptr @IEEE80211_STA_BEACON_POLL, align 4, !tbaa !19 %48 = load i32, ptr @IEEE80211_STA_CONNECTION_POLL, align 4, !tbaa !19 %49 = or i32 %48, %47 %50 = and i32 %49, %46 %51 = icmp eq i32 %50, 0 %52 = or i32 %47, %46 store i32 %52, ptr %3, align 8, !tbaa !18 %53 = load ptr, ptr %0, align 8, !tbaa !11 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %53, i64 0, i32 1 %55 = tail call i32 @mutex_unlock(ptr noundef nonnull %54) #2 br i1 %51, label %56, label %65 56: ; preds = %29, %39 %57 = load ptr, ptr %0, align 8, !tbaa !11 %58 = tail call i32 @mutex_lock(ptr noundef %57) #2 %59 = load ptr, ptr %0, align 8, !tbaa !11 %60 = tail call i32 @ieee80211_recalc_ps(ptr noundef %59, i32 noundef -1) #2 %61 = load ptr, ptr %0, align 8, !tbaa !11 %62 = tail call i32 @mutex_unlock(ptr noundef %61) #2 %63 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %0, i64 0, i32 2, i32 0, i32 2 store i64 0, ptr %63, align 8, !tbaa !20 %64 = tail call i32 @ieee80211_mgd_probe_ap_send(ptr noundef nonnull %0) #2 br label %65 65: ; preds = %29, %39, %6, %56, %24 %66 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2 br label %67 67: ; preds = %2, %65 ret void } declare i32 @ieee80211_sdata_running(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @mlme_dbg_ratelimited(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_cqm_rssi_notify(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_recalc_ps(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_mgd_probe_ap_send(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 16} !6 = !{!"ieee80211_if_managed", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"ieee80211_sub_if_data", !13, i64 0, !7, i64 8, !14, i64 16} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"TYPE_3__", !6, i64 0} !15 = !{!16, !10, i64 16} !16 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !17 = !{!16, !10, i64 8} !18 = !{!6, !7, i64 0} !19 = !{!7, !7, i64 0} !20 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mlme.c_ieee80211_mgd_probe_ap.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mlme.c_ieee80211_mgd_probe_ap.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 [60 x i8] c"detected beacon loss from AP (missed %d beacons) - probing\0A\00", align 1 @beacon_loss_count = common local_unnamed_addr global i32 0, align 4 @NL80211_CQM_RSSI_BEACON_LOSS_EVENT = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @IEEE80211_STA_BEACON_POLL = common local_unnamed_addr global i32 0, align 4 @IEEE80211_STA_CONNECTION_POLL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ieee80211_mgd_probe_ap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ieee80211_mgd_probe_ap(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @ieee80211_sdata_running(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %67, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 20 %8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load i32, ptr %9, align 8, !tbaa !6 %11 = icmp eq i32 %10, 0 br i1 %11, label %65, label %12 12: ; preds = %6 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2 %16 = load ptr, ptr %0, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %12 %21 = getelementptr inbounds i8, ptr %16, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !18 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20, %12 %25 = getelementptr inbounds i8, ptr %16, i64 4 %26 = tail call i32 @mutex_unlock(ptr noundef nonnull %25) #2 br label %65 27: ; preds = %20 %28 = icmp eq i32 %1, 0 br i1 %28, label %29, label %39 29: ; preds = %27 %30 = load i32, ptr %3, align 8, !tbaa !19 %31 = load i32, ptr @IEEE80211_STA_BEACON_POLL, align 4, !tbaa !20 %32 = load i32, ptr @IEEE80211_STA_CONNECTION_POLL, align 4, !tbaa !20 %33 = or i32 %32, %31 %34 = and i32 %33, %30 %35 = icmp eq i32 %34, 0 %36 = or i32 %32, %30 store i32 %36, ptr %3, align 8, !tbaa !19 %37 = getelementptr inbounds i8, ptr %16, i64 4 %38 = tail call i32 @mutex_unlock(ptr noundef nonnull %37) #2 br i1 %35, label %56, label %65 39: ; preds = %27 %40 = load i32, ptr @beacon_loss_count, align 4, !tbaa !20 %41 = tail call i32 @mlme_dbg_ratelimited(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = getelementptr inbounds i8, ptr %0, i64 8 %43 = load i32, ptr @NL80211_CQM_RSSI_BEACON_LOSS_EVENT, align 4, !tbaa !20 %44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !20 %45 = tail call i32 @ieee80211_cqm_rssi_notify(ptr noundef nonnull %42, i32 noundef %43, i32 noundef %44) #2 %46 = load i32, ptr %3, align 8, !tbaa !19 %47 = load i32, ptr @IEEE80211_STA_BEACON_POLL, align 4, !tbaa !20 %48 = load i32, ptr @IEEE80211_STA_CONNECTION_POLL, align 4, !tbaa !20 %49 = or i32 %48, %47 %50 = and i32 %49, %46 %51 = icmp eq i32 %50, 0 %52 = or i32 %47, %46 store i32 %52, ptr %3, align 8, !tbaa !19 %53 = load ptr, ptr %0, align 8, !tbaa !12 %54 = getelementptr inbounds i8, ptr %53, i64 4 %55 = tail call i32 @mutex_unlock(ptr noundef nonnull %54) #2 br i1 %51, label %56, label %65 56: ; preds = %29, %39 %57 = load ptr, ptr %0, align 8, !tbaa !12 %58 = tail call i32 @mutex_lock(ptr noundef %57) #2 %59 = load ptr, ptr %0, align 8, !tbaa !12 %60 = tail call i32 @ieee80211_recalc_ps(ptr noundef %59, i32 noundef -1) #2 %61 = load ptr, ptr %0, align 8, !tbaa !12 %62 = tail call i32 @mutex_unlock(ptr noundef %61) #2 %63 = getelementptr inbounds i8, ptr %0, i64 24 store i64 0, ptr %63, align 8, !tbaa !21 %64 = tail call i32 @ieee80211_mgd_probe_ap_send(ptr noundef nonnull %0) #2 br label %65 65: ; preds = %29, %39, %6, %56, %24 %66 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2 br label %67 67: ; preds = %2, %65 ret void } declare i32 @ieee80211_sdata_running(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @mlme_dbg_ratelimited(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_cqm_rssi_notify(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_recalc_ps(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_mgd_probe_ap_send(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 16} !7 = !{!"ieee80211_if_managed", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"ieee80211_sub_if_data", !14, i64 0, !8, i64 8, !15, i64 16} !14 = !{!"any pointer", !9, i64 0} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!17, !11, i64 16} !17 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !18 = !{!17, !11, i64 8} !19 = !{!7, !8, i64 0} !20 = !{!8, !8, i64 0} !21 = !{!7, !11, i64 8}
fastsocket_kernel_net_mac80211_extr_mlme.c_ieee80211_mgd_probe_ap
; ModuleID = 'AnghaBench/freebsd/sbin/etherswitchcfg/extr_etherswitchcfg.c_write_register.c' source_filename = "AnghaBench/freebsd/sbin/etherswitchcfg/extr_etherswitchcfg.c_write_register.c" target datalayout = "e-m:e-p270:32:32-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.etherswitch_reg = type { i32, i32 } @IOETHERSWITCHSETREG = dso_local local_unnamed_addr global i32 0, align 4 @EX_OSERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"ioctl(IOETHERSWITCHSETREG)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_register], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_register(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.etherswitch_reg, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.etherswitch_reg, ptr %4, i64 0, i32 1 store i32 %2, ptr %5, align 4, !tbaa !10 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = load i32, ptr @IOETHERSWITCHSETREG, align 4, !tbaa !13 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %4) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EX_OSERR, align 4, !tbaa !13 %12 = call i32 @err(i32 noundef %11, ptr noundef nonnull @.str) #3 br label %13 13: ; preds = %10, %3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"etherswitch_reg", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!12, !7, i64 0} !12 = !{!"cfg", !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sbin/etherswitchcfg/extr_etherswitchcfg.c_write_register.c' source_filename = "AnghaBench/freebsd/sbin/etherswitchcfg/extr_etherswitchcfg.c_write_register.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.etherswitch_reg = type { i32, i32 } @IOETHERSWITCHSETREG = common local_unnamed_addr global i32 0, align 4 @EX_OSERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"ioctl(IOETHERSWITCHSETREG)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_register], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_register(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.etherswitch_reg, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %2, ptr %5, align 4, !tbaa !11 %6 = load i32, ptr %0, align 4, !tbaa !12 %7 = load i32, ptr @IOETHERSWITCHSETREG, align 4, !tbaa !14 %8 = call i64 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %4) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EX_OSERR, align 4, !tbaa !14 %12 = call i32 @err(i32 noundef %11, ptr noundef nonnull @.str) #3 br label %13 13: ; preds = %10, %3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"etherswitch_reg", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!13, !8, i64 0} !13 = !{!"cfg", !8, i64 0} !14 = !{!8, !8, i64 0}
freebsd_sbin_etherswitchcfg_extr_etherswitchcfg.c_write_register
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_device_remove.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_device_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.hid_device = type { i32, i32, ptr } @EINTR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hid_device_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hid_device_remove(ptr noundef %0) #0 { %2 = tail call ptr @to_hid_device(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.hid_device, ptr %2, i64 0, i32 1 %4 = tail call i64 @down_interruptible(ptr noundef nonnull %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINTR, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %26 9: ; preds = %1 store i32 0, ptr %2, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.hid_device, ptr %2, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = icmp eq ptr %11, null br i1 %12, label %24, label %13 13: ; preds = %9 %14 = load ptr, ptr %11, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 %14(ptr noundef nonnull %2) #2 br label %20 18: ; preds = %13 %19 = tail call i32 @hid_hw_stop(ptr noundef nonnull %2) #2 br label %20 20: ; preds = %16, %18 %21 = tail call i32 @hid_close_report(ptr noundef nonnull %2) #2 store ptr null, ptr %10, align 8, !tbaa !12 %22 = load i32, ptr %2, align 8, !tbaa !9 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %9, %20 %25 = tail call i32 @up(ptr noundef nonnull %3) #2 br label %26 26: ; preds = %20, %24, %6 %27 = phi i32 [ %8, %6 ], [ 0, %20 ], [ 0, %24 ] ret i32 %27 } declare ptr @to_hid_device(ptr noundef) local_unnamed_addr #1 declare i64 @down_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @hid_hw_stop(ptr noundef) local_unnamed_addr #1 declare i32 @hid_close_report(ptr noundef) local_unnamed_addr #1 declare i32 @up(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"hid_device", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"hid_driver", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_device_remove.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_device_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINTR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hid_device_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hid_device_remove(ptr noundef %0) #0 { %2 = tail call ptr @to_hid_device(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = tail call i64 @down_interruptible(ptr noundef nonnull %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINTR, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %26 9: ; preds = %1 store i32 0, ptr %2, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %24, label %13 13: ; preds = %9 %14 = load ptr, ptr %11, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 %14(ptr noundef nonnull %2) #2 br label %20 18: ; preds = %13 %19 = tail call i32 @hid_hw_stop(ptr noundef nonnull %2) #2 br label %20 20: ; preds = %16, %18 %21 = tail call i32 @hid_close_report(ptr noundef nonnull %2) #2 store ptr null, ptr %10, align 8, !tbaa !13 %22 = load i32, ptr %2, align 8, !tbaa !10 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %9, %20 %25 = tail call i32 @up(ptr noundef nonnull %3) #2 br label %26 26: ; preds = %20, %24, %6 %27 = phi i32 [ %8, %6 ], [ 0, %20 ], [ 0, %24 ] ret i32 %27 } declare ptr @to_hid_device(ptr noundef) local_unnamed_addr #1 declare i64 @down_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @hid_hw_stop(ptr noundef) local_unnamed_addr #1 declare i32 @hid_close_report(ptr noundef) local_unnamed_addr #1 declare i32 @up(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"hid_device", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"hid_driver", !12, i64 0}
linux_drivers_hid_extr_hid-core.c_hid_device_remove
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_mce_power.c_mce_handle_ue_error.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_mce_power.c_mce_handle_ue_error.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @ppc_md = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @mce_handle_ue_error], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @mce_handle_ue_error(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @search_kernel_exception_table(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 store i32 1, ptr %1, align 4, !tbaa !10 %7 = tail call i32 @extable_fixup(ptr noundef nonnull %4) #2 store i32 %7, ptr %0, align 4, !tbaa !5 br label %15 8: ; preds = %2 %9 = load ptr, ptr @ppc_md, align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %8 %12 = tail call i64 %9(ptr noundef nonnull %0) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 br label %15 15: ; preds = %11, %8, %6 %16 = phi i64 [ 1, %6 ], [ 0, %8 ], [ %14, %11 ] ret i64 %16 } declare ptr @search_kernel_exception_table(i32 noundef) local_unnamed_addr #1 declare i32 @extable_fixup(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 = !{!"pt_regs", !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 = !{!"mce_error_info", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_mce_power.c_mce_handle_ue_error.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_mce_power.c_mce_handle_ue_error.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 } @ppc_md = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @mce_handle_ue_error], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 0, 2) i64 @mce_handle_ue_error(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @search_kernel_exception_table(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 store i32 1, ptr %1, align 4, !tbaa !11 %7 = tail call i32 @extable_fixup(ptr noundef nonnull %4) #2 store i32 %7, ptr %0, align 4, !tbaa !6 br label %15 8: ; preds = %2 %9 = load ptr, ptr @ppc_md, align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %8 %12 = tail call i64 %9(ptr noundef nonnull %0) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 br label %15 15: ; preds = %11, %8, %6 %16 = phi i64 [ 1, %6 ], [ 0, %8 ], [ %14, %11 ] ret i64 %16 } declare ptr @search_kernel_exception_table(i32 noundef) local_unnamed_addr #1 declare i32 @extable_fixup(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 = !{!"pt_regs", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"mce_error_info", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0}
linux_arch_powerpc_kernel_extr_mce_power.c_mce_handle_ue_error
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_sidr_rep_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_sidr_rep_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ib_cm_sidr_rep_event_param = type { i32, i32, i32 } %struct.ib_ucm_sidr_rep_event_resp = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ib_ucm_event_sidr_rep_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @ib_ucm_event_sidr_rep_get(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.ib_cm_sidr_rep_event_param, ptr %1, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.ib_ucm_sidr_rep_event_resp, ptr %0, i64 0, i32 2 store i32 %4, ptr %5, align 4, !tbaa !10 %6 = load <2 x i32>, ptr %1, align 4, !tbaa !12 store <2 x i32> %6, ptr %0, align 4, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"ib_cm_sidr_rep_event_param", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"ib_ucm_sidr_rep_event_resp", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_sidr_rep_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_sidr_rep_get.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 @ib_ucm_event_sidr_rep_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @ib_ucm_event_sidr_rep_get(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %4, ptr %5, align 4, !tbaa !11 %6 = load <2 x i32>, ptr %1, align 4, !tbaa !13 store <2 x i32> %6, ptr %0, align 4, !tbaa !13 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"ib_cm_sidr_rep_event_param", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"ib_ucm_sidr_rep_event_resp", !8, i64 0, !8, i64 4, !8, i64 8} !13 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_infiniband_core_extr_ucm.c_ib_ucm_event_sidr_rep_get
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c_dec_prio.c' source_filename = "AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c_dec_prio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mq_prio_max = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @dec_prio(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = add nsw i32 %2, -1 store i32 %3, ptr %0, align 4, !tbaa !5 %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @mq_prio_max, align 4, !tbaa !5 %7 = add nsw i32 %6, -1 store i32 %7, ptr %0, align 4, !tbaa !5 br label %8 8: ; preds = %5, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c_dec_prio.c' source_filename = "AnghaBench/fastsocket/kernel/tools/testing/selftests/mqueue/extr_mq_perf_tests.c_dec_prio.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mq_prio_max = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @dec_prio(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = add nsw i32 %2, -1 store i32 %3, ptr %0, align 4, !tbaa !6 %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @mq_prio_max, align 4, !tbaa !6 %7 = add nsw i32 %6, -1 store i32 %7, ptr %0, align 4, !tbaa !6 br label %8 8: ; preds = %5, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_tools_testing_selftests_mqueue_extr_mq_perf_tests.c_dec_prio
; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_release.c' source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @devm_nvmem_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @devm_nvmem_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = tail call i32 @nvmem_unregister(ptr noundef %3) #2 ret void } declare i32 @nvmem_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)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_release.c' source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_devm_nvmem_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @devm_nvmem_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @devm_nvmem_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = tail call i32 @nvmem_unregister(ptr noundef %3) #2 ret void } declare i32 @nvmem_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)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_nvmem_extr_core.c_devm_nvmem_release
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_xattr.c_reiserfs_lookup_privroot.c' source_filename = "AnghaBench/linux/fs/reiserfs/extr_xattr.c_reiserfs_lookup_privroot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PRIVROOT_NAME = dso_local local_unnamed_addr global i32 0, align 4 @xattr_lookup_poison_ops = dso_local global i32 0, align 4 @S_PRIVATE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @reiserfs_lookup_privroot(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call ptr @d_inode(ptr noundef %2) #2 %4 = tail call i32 @inode_lock(ptr noundef %3) #2 %5 = load i32, ptr @PRIVROOT_NAME, align 4, !tbaa !10 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = tail call i32 @strlen(i32 noundef %5) #2 %8 = tail call ptr @lookup_one_len(i32 noundef %5, ptr noundef %6, i32 noundef %7) #2 %9 = tail call i32 @IS_ERR(ptr noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %1 %12 = tail call ptr @REISERFS_SB(ptr noundef nonnull %0) #2 store ptr %8, ptr %12, align 8, !tbaa !12 %13 = tail call i32 @d_set_d_op(ptr noundef %8, ptr noundef nonnull @xattr_lookup_poison_ops) #2 %14 = tail call i64 @d_really_is_positive(ptr noundef %8) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %11 %17 = load i32, ptr @S_PRIVATE, align 4, !tbaa !10 %18 = tail call ptr @d_inode(ptr noundef %8) #2 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 4, !tbaa !14 br label %23 21: ; preds = %1 %22 = tail call i32 @PTR_ERR(ptr noundef %8) #2 br label %23 23: ; preds = %11, %16, %21 %24 = phi i32 [ %22, %21 ], [ 0, %16 ], [ 0, %11 ] %25 = load ptr, ptr %0, align 8, !tbaa !5 %26 = tail call ptr @d_inode(ptr noundef %25) #2 %27 = tail call i32 @inode_unlock(ptr noundef %26) #2 ret i32 %24 } declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1 declare ptr @d_inode(ptr noundef) local_unnamed_addr #1 declare ptr @lookup_one_len(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @REISERFS_SB(ptr noundef) local_unnamed_addr #1 declare i32 @d_set_d_op(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @d_really_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @inode_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 = !{!"super_block", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_5__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_xattr.c_reiserfs_lookup_privroot.c' source_filename = "AnghaBench/linux/fs/reiserfs/extr_xattr.c_reiserfs_lookup_privroot.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PRIVROOT_NAME = common local_unnamed_addr global i32 0, align 4 @xattr_lookup_poison_ops = common global i32 0, align 4 @S_PRIVATE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @reiserfs_lookup_privroot(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call ptr @d_inode(ptr noundef %2) #2 %4 = tail call i32 @inode_lock(ptr noundef %3) #2 %5 = load i32, ptr @PRIVROOT_NAME, align 4, !tbaa !11 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = tail call i32 @strlen(i32 noundef %5) #2 %8 = tail call ptr @lookup_one_len(i32 noundef %5, ptr noundef %6, i32 noundef %7) #2 %9 = tail call i32 @IS_ERR(ptr noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %1 %12 = tail call ptr @REISERFS_SB(ptr noundef nonnull %0) #2 store ptr %8, ptr %12, align 8, !tbaa !13 %13 = tail call i32 @d_set_d_op(ptr noundef %8, ptr noundef nonnull @xattr_lookup_poison_ops) #2 %14 = tail call i64 @d_really_is_positive(ptr noundef %8) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %11 %17 = load i32, ptr @S_PRIVATE, align 4, !tbaa !11 %18 = tail call ptr @d_inode(ptr noundef %8) #2 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 4, !tbaa !15 br label %23 21: ; preds = %1 %22 = tail call i32 @PTR_ERR(ptr noundef %8) #2 br label %23 23: ; preds = %11, %16, %21 %24 = phi i32 [ %22, %21 ], [ 0, %16 ], [ 0, %11 ] %25 = load ptr, ptr %0, align 8, !tbaa !6 %26 = tail call ptr @d_inode(ptr noundef %25) #2 %27 = tail call i32 @inode_unlock(ptr noundef %26) #2 ret i32 %24 } declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1 declare ptr @d_inode(ptr noundef) local_unnamed_addr #1 declare ptr @lookup_one_len(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @REISERFS_SB(ptr noundef) local_unnamed_addr #1 declare i32 @d_set_d_op(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @d_really_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @inode_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 = !{!"super_block", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_5__", !12, i64 0}
linux_fs_reiserfs_extr_xattr.c_reiserfs_lookup_privroot
; ModuleID = 'AnghaBench/vim.js/src/extr_move.c_update_topline_redraw.c' source_filename = "AnghaBench/vim.js/src/extr_move.c_update_topline_redraw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @must_redraw = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @update_topline_redraw() local_unnamed_addr #0 { %1 = tail call i32 (...) @update_topline() #2 %2 = load i64, ptr @must_redraw, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @update_screen(i32 noundef 0) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @update_topline(...) local_unnamed_addr #1 declare i32 @update_screen(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/vim.js/src/extr_move.c_update_topline_redraw.c' source_filename = "AnghaBench/vim.js/src/extr_move.c_update_topline_redraw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @must_redraw = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @update_topline_redraw() local_unnamed_addr #0 { %1 = tail call i32 @update_topline() #2 %2 = load i64, ptr @must_redraw, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @update_screen(i32 noundef 0) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @update_topline(...) local_unnamed_addr #1 declare i32 @update_screen(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"}
vim.js_src_extr_move.c_update_topline_redraw
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_mls.c_mls_setup_user_range.c' source_filename = "AnghaBench/linux/security/selinux/ss/extr_mls.c_mls_setup_user_range.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mls_level = type { i32 } %struct.user_datum = type { %struct.mls_level, %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mls_setup_user_range(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %40, label %7 7: ; preds = %4 %8 = load ptr, ptr %1, align 8, !tbaa !10 %9 = getelementptr inbounds %struct.mls_level, ptr %8, i64 1 %10 = getelementptr inbounds %struct.user_datum, ptr %2, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.mls_level, ptr %11, i64 1 %13 = load ptr, ptr %3, align 8, !tbaa !10 %14 = getelementptr inbounds %struct.mls_level, ptr %13, i64 1 %15 = tail call i64 @mls_level_between(ptr noundef %2, ptr noundef %8, ptr noundef nonnull %9) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %7 %18 = tail call i64 @mls_level_between(ptr noundef %8, ptr noundef nonnull %2, ptr noundef nonnull %12) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = tail call i64 @mls_level_between(ptr noundef nonnull %9, ptr noundef %11, ptr noundef nonnull %2) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @EINVAL, align 4, !tbaa !19 %25 = sub nsw i32 0, %24 br label %40 26: ; preds = %20, %17, %7 %27 = phi ptr [ %2, %7 ], [ %8, %17 ], [ %11, %20 ] %28 = load i32, ptr %27, align 4, !tbaa !19 store i32 %28, ptr %13, align 4, !tbaa !19 %29 = tail call i64 @mls_level_dom(ptr noundef nonnull %12, ptr noundef nonnull %9) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = tail call i64 @mls_level_dom(ptr noundef nonnull %9, ptr noundef nonnull %12) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i32, ptr @EINVAL, align 4, !tbaa !19 %36 = sub nsw i32 0, %35 br label %40 37: ; preds = %26, %31 %38 = phi ptr [ %9, %26 ], [ %12, %31 ] %39 = load i32, ptr %38, align 4, !tbaa !19 store i32 %39, ptr %14, align 4, !tbaa !19 br label %40 40: ; preds = %23, %34, %4, %37 %41 = phi i32 [ 0, %37 ], [ 0, %4 ], [ %25, %23 ], [ %36, %34 ] ret i32 %41 } declare i64 @mls_level_between(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @mls_level_dom(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 = !{!"policydb", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"context", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"user_datum", !16, i64 0, !18, i64 8} !16 = !{!"mls_level", !17, i64 0} !17 = !{!"int", !8, i64 0} !18 = !{!"TYPE_3__", !13, i64 0} !19 = !{!17, !17, i64 0}
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_mls.c_mls_setup_user_range.c' source_filename = "AnghaBench/linux/security/selinux/ss/extr_mls.c_mls_setup_user_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mls_setup_user_range(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %40, label %7 7: ; preds = %4 %8 = load ptr, ptr %1, align 8, !tbaa !11 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %11, i64 4 %13 = load ptr, ptr %3, align 8, !tbaa !11 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = tail call i64 @mls_level_between(ptr noundef %2, ptr noundef %8, ptr noundef nonnull %9) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %7 %18 = tail call i64 @mls_level_between(ptr noundef %8, ptr noundef nonnull %2, ptr noundef nonnull %12) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = tail call i64 @mls_level_between(ptr noundef nonnull %9, ptr noundef %11, ptr noundef nonnull %2) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @EINVAL, align 4, !tbaa !20 %25 = sub nsw i32 0, %24 br label %40 26: ; preds = %20, %17, %7 %27 = phi ptr [ %2, %7 ], [ %8, %17 ], [ %11, %20 ] %28 = load i32, ptr %27, align 4, !tbaa !20 store i32 %28, ptr %13, align 4, !tbaa !20 %29 = tail call i64 @mls_level_dom(ptr noundef nonnull %12, ptr noundef nonnull %9) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %26 %32 = tail call i64 @mls_level_dom(ptr noundef nonnull %9, ptr noundef nonnull %12) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i32, ptr @EINVAL, align 4, !tbaa !20 %36 = sub nsw i32 0, %35 br label %40 37: ; preds = %26, %31 %38 = phi ptr [ %9, %26 ], [ %12, %31 ] %39 = load i32, ptr %38, align 4, !tbaa !20 store i32 %39, ptr %14, align 4, !tbaa !20 br label %40 40: ; preds = %23, %34, %4, %37 %41 = phi i32 [ 0, %37 ], [ 0, %4 ], [ %25, %23 ], [ %36, %34 ] ret i32 %41 } declare i64 @mls_level_between(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @mls_level_dom(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 = !{!"policydb", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"context", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !14, i64 8} !16 = !{!"user_datum", !17, i64 0, !19, i64 8} !17 = !{!"mls_level", !18, i64 0} !18 = !{!"int", !9, i64 0} !19 = !{!"TYPE_3__", !14, i64 0} !20 = !{!18, !18, i64 0}
linux_security_selinux_ss_extr_mls.c_mls_setup_user_range
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_image.c_LoadPNGBuffer.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_image.c_LoadPNGBuffer.c" target datalayout = "e-m:e-p270:32:32-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, i64, ptr } @SYS_WRN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"WARNING: Invalid PNG file\0A\00", align 1 @PNG_LIBPNG_VER_STRING = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"WARNING: Unable to create PNG read struct\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"WARNING: Unable to create PNG info struct\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"WARNING: Unable to create PNG end info struct\0A\00", align 1 @PNGReadData = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"WARNING: An error occurred reading PNG image\0A\00", align 1 @PNG_COLOR_TYPE_PALETTE = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY = dso_local local_unnamed_addr global i32 0, align 4 @PNG_INFO_tRNS = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_RGB = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FILLER_AFTER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @LoadPNGBuffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @LoadPNGBuffer(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef writeonly %3, ptr noundef writeonly %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.TYPE_2__, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4 %14 = insertelement <4 x ptr> poison, ptr %0, i64 0 %15 = insertelement <4 x ptr> %14, ptr %2, i64 1 %16 = insertelement <4 x ptr> %15, ptr %3, i64 2 %17 = insertelement <4 x ptr> %16, ptr %4, i64 3 %18 = icmp eq <4 x ptr> %17, zeroinitializer %19 = icmp slt i32 %1, 1 %20 = bitcast <4 x i1> %18 to i4 %21 = icmp ne i4 %20, 0 %22 = or i1 %21, %19 br i1 %22, label %200, label %23 23: ; preds = %5 store ptr null, ptr %2, align 8, !tbaa !5 store i32 0, ptr %3, align 4, !tbaa !9 store i32 0, ptr %4, align 4, !tbaa !9 %24 = call i64 @png_sig_cmp(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #4 %25 = icmp eq i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i32, ptr @SYS_WRN, align 4, !tbaa !9 %28 = call i32 @Sys_FPrintf(i32 noundef %27, ptr noundef nonnull @.str) #4 br label %200 29: ; preds = %23 %30 = load i32, ptr @PNG_LIBPNG_VER_STRING, align 4, !tbaa !9 %31 = call ptr @png_create_read_struct(i32 noundef %30, ptr noundef null, ptr noundef null, ptr noundef null) #4 store ptr %31, ptr %6, align 8, !tbaa !5 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @SYS_WRN, align 4, !tbaa !9 %35 = call i32 @Sys_FPrintf(i32 noundef %34, ptr noundef nonnull @.str.1) #4 br label %200 36: ; preds = %29 %37 = call ptr @png_create_info_struct(ptr noundef nonnull %31) #4 store ptr %37, ptr %7, align 8, !tbaa !5 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr @SYS_WRN, align 4, !tbaa !9 %41 = call i32 @Sys_FPrintf(i32 noundef %40, ptr noundef nonnull @.str.2) #4 %42 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef null, ptr noundef null) #4 br label %200 43: ; preds = %36 %44 = call ptr @png_create_info_struct(ptr noundef nonnull %31) #4 store ptr %44, ptr %8, align 8, !tbaa !5 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load i32, ptr @SYS_WRN, align 4, !tbaa !9 %48 = call i32 @Sys_FPrintf(i32 noundef %47, ptr noundef nonnull @.str.3) #4 %49 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4 br label %200 50: ; preds = %43 %51 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 2 store ptr %0, ptr %51, align 8, !tbaa !11 store i32 %1, ptr %9, align 8, !tbaa !14 %52 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1 store i64 0, ptr %52, align 8, !tbaa !15 %53 = load ptr, ptr %6, align 8, !tbaa !5 %54 = load i32, ptr @PNGReadData, align 4, !tbaa !9 %55 = call i32 @png_set_read_fn(ptr noundef %53, ptr noundef nonnull %9, i32 noundef %54) #4 %56 = load ptr, ptr %6, align 8, !tbaa !5 %57 = call i32 @png_jmpbuf(ptr noundef %56) #4 %58 = call i64 @setjmp(i32 noundef %57) #5 %59 = icmp eq i64 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %50 %61 = load i32, ptr @SYS_WRN, align 4, !tbaa !9 %62 = call i32 @Sys_FPrintf(i32 noundef %61, ptr noundef nonnull @.str.4) #4 %63 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 br label %200 64: ; preds = %50 %65 = load ptr, ptr %6, align 8, !tbaa !5 %66 = load ptr, ptr %7, align 8, !tbaa !5 %67 = call i32 @png_read_info(ptr noundef %65, ptr noundef %66) #4 %68 = load ptr, ptr %6, align 8, !tbaa !5 %69 = load ptr, ptr %7, align 8, !tbaa !5 %70 = call i32 @png_get_IHDR(ptr noundef %68, ptr noundef %69, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef null, ptr noundef null, ptr noundef null) #4 %71 = load ptr, ptr %6, align 8, !tbaa !5 %72 = load ptr, ptr %7, align 8, !tbaa !5 %73 = call i32 @png_get_channels(ptr noundef %71, ptr noundef %72) #4 %74 = load i32, ptr %11, align 4, !tbaa !9 %75 = load i32, ptr @PNG_COLOR_TYPE_PALETTE, align 4, !tbaa !9 %76 = icmp eq i32 %74, %75 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %77, 9 %79 = select i1 %76, i1 %78, i1 false br i1 %79, label %90, label %80 80: ; preds = %64 %81 = load i32, ptr @PNG_COLOR_TYPE_GRAY, align 4, !tbaa !9 %82 = icmp eq i32 %74, %81 %83 = select i1 %82, i1 %78, i1 false br i1 %83, label %90, label %84 84: ; preds = %80 %85 = load ptr, ptr %6, align 8, !tbaa !5 %86 = load ptr, ptr %7, align 8, !tbaa !5 %87 = load i32, ptr @PNG_INFO_tRNS, align 4, !tbaa !9 %88 = call i64 @png_get_valid(ptr noundef %85, ptr noundef %86, i32 noundef %87) #4 %89 = icmp eq i64 %88, 0 br i1 %89, label %93, label %90 90: ; preds = %80, %64, %84 %91 = load ptr, ptr %6, align 8, !tbaa !5 %92 = call i32 @png_set_expand(ptr noundef %91) #4 br label %93 93: ; preds = %90, %84 %94 = load i32, ptr %10, align 4, !tbaa !9 %95 = icmp eq i32 %94, 16 br i1 %95, label %96, label %100 96: ; preds = %93 %97 = load ptr, ptr %6, align 8, !tbaa !5 %98 = call i32 @png_set_strip_16(ptr noundef %97) #4 %99 = load i32, ptr %10, align 4, !tbaa !9 br label %100 100: ; preds = %96, %93 %101 = phi i32 [ %99, %96 ], [ %94, %93 ] %102 = icmp eq i32 %101, 8 br i1 %102, label %103, label %111 103: ; preds = %100 %104 = load i32, ptr %11, align 4, !tbaa !9 %105 = load i32, ptr @PNG_COLOR_TYPE_RGB, align 4, !tbaa !9 %106 = icmp eq i32 %104, %105 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = load ptr, ptr %6, align 8, !tbaa !5 %109 = load i32, ptr @PNG_FILLER_AFTER, align 4, !tbaa !9 %110 = call i32 @png_set_filler(ptr noundef %108, i32 noundef 255, i32 noundef %109) #4 br label %111 111: ; preds = %107, %103, %100 %112 = load i32, ptr %12, align 4, !tbaa !9 store i32 %112, ptr %3, align 4, !tbaa !9 %113 = load i32, ptr %13, align 4, !tbaa !9 store i32 %113, ptr %4, align 4, !tbaa !9 %114 = shl i32 %112, 2 %115 = mul i32 %114, %113 %116 = call ptr @safe_malloc(i32 noundef %115) #4 store ptr %116, ptr %2, align 8, !tbaa !5 %117 = load i32, ptr %13, align 4, !tbaa !9 %118 = shl i32 %117, 3 %119 = call ptr @safe_malloc(i32 noundef %118) #4 %120 = load i32, ptr %13, align 4, !tbaa !9 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %195 122: ; preds = %111 %123 = load i32, ptr %12, align 4, !tbaa !9 %124 = zext nneg i32 %120 to i64 %125 = icmp ult i32 %120, 8 br i1 %125, label %159, label %126 126: ; preds = %122 %127 = shl nuw nsw i64 %124, 3 %128 = getelementptr i8, ptr %119, i64 %127 %129 = getelementptr i8, ptr %2, i64 8 %130 = icmp ult ptr %119, %129 %131 = icmp ugt ptr %128, %2 %132 = and i1 %130, %131 br i1 %132, label %159, label %133 133: ; preds = %126 %134 = and i64 %124, 2147483644 %135 = insertelement <2 x i32> poison, i32 %123, i64 0 %136 = shufflevector <2 x i32> %135, <2 x i32> poison, <2 x i32> zeroinitializer %137 = load ptr, ptr %2, align 8, !tbaa !5, !alias.scope !16 %138 = insertelement <2 x ptr> poison, ptr %137, i64 0 %139 = shufflevector <2 x ptr> %138, <2 x ptr> poison, <2 x i32> zeroinitializer br label %140 140: ; preds = %140, %133 %141 = phi i64 [ 0, %133 ], [ %154, %140 ] %142 = phi <2 x i32> [ <i32 0, i32 1>, %133 ], [ %155, %140 ] %143 = shl <2 x i32> %142, <i32 2, i32 2> %144 = shl <2 x i32> %142, <i32 2, i32 2> %145 = add <2 x i32> %144, <i32 8, i32 8> %146 = mul <2 x i32> %143, %136 %147 = mul <2 x i32> %145, %136 %148 = sext <2 x i32> %146 to <2 x i64> %149 = sext <2 x i32> %147 to <2 x i64> %150 = getelementptr inbounds i32, <2 x ptr> %139, <2 x i64> %148 %151 = getelementptr inbounds i32, <2 x ptr> %139, <2 x i64> %149 %152 = getelementptr inbounds ptr, ptr %119, i64 %141 %153 = getelementptr inbounds ptr, ptr %152, i64 2 store <2 x ptr> %150, ptr %152, align 8, !tbaa !5, !alias.scope !19, !noalias !16 store <2 x ptr> %151, ptr %153, align 8, !tbaa !5, !alias.scope !19, !noalias !16 %154 = add nuw i64 %141, 4 %155 = add <2 x i32> %142, <i32 4, i32 4> %156 = icmp eq i64 %154, %134 br i1 %156, label %157, label %140, !llvm.loop !21 157: ; preds = %140 %158 = icmp eq i64 %134, %124 br i1 %158, label %195, label %159 159: ; preds = %126, %122, %157 %160 = phi i64 [ 0, %126 ], [ 0, %122 ], [ %134, %157 ] %161 = and i64 %124, 1 %162 = icmp eq i64 %161, 0 br i1 %162, label %172, label %163 163: ; preds = %159 %164 = load ptr, ptr %2, align 8, !tbaa !5 %165 = trunc i64 %160 to i32 %166 = shl i32 %165, 2 %167 = mul i32 %166, %123 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %164, i64 %168 %170 = getelementptr inbounds ptr, ptr %119, i64 %160 store ptr %169, ptr %170, align 8, !tbaa !5 %171 = or disjoint i64 %160, 1 br label %172 172: ; preds = %163, %159 %173 = phi i64 [ %160, %159 ], [ %171, %163 ] %174 = add nsw i64 %124, -1 %175 = icmp eq i64 %160, %174 br i1 %175, label %195, label %176 176: ; preds = %172, %176 %177 = phi i64 [ %193, %176 ], [ %173, %172 ] %178 = load ptr, ptr %2, align 8, !tbaa !5 %179 = trunc i64 %177 to i32 %180 = shl i32 %179, 2 %181 = mul i32 %180, %123 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %178, i64 %182 %184 = getelementptr inbounds ptr, ptr %119, i64 %177 store ptr %183, ptr %184, align 8, !tbaa !5 %185 = add nuw nsw i64 %177, 1 %186 = load ptr, ptr %2, align 8, !tbaa !5 %187 = trunc i64 %185 to i32 %188 = shl i32 %187, 2 %189 = mul i32 %188, %123 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i32, ptr %186, i64 %190 %192 = getelementptr inbounds ptr, ptr %119, i64 %185 store ptr %191, ptr %192, align 8, !tbaa !5 %193 = add nuw nsw i64 %177, 2 %194 = icmp eq i64 %193, %124 br i1 %194, label %195, label %176, !llvm.loop !25 195: ; preds = %172, %176, %157, %111 %196 = load ptr, ptr %6, align 8, !tbaa !5 %197 = call i32 @png_read_image(ptr noundef %196, ptr noundef %119) #4 %198 = call i32 @free(ptr noundef %119) #4 %199 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 br label %200 200: ; preds = %5, %195, %60, %46, %39, %33, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @png_sig_cmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Sys_FPrintf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @png_create_read_struct(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @png_create_info_struct(ptr noundef) local_unnamed_addr #2 declare i32 @png_destroy_read_struct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_set_read_fn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: returns_twice declare i64 @setjmp(i32 noundef) local_unnamed_addr #3 declare i32 @png_jmpbuf(ptr noundef) local_unnamed_addr #2 declare i32 @png_read_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_get_IHDR(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_get_channels(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @png_get_valid(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @png_set_expand(ptr noundef) local_unnamed_addr #2 declare i32 @png_set_strip_16(ptr noundef) local_unnamed_addr #2 declare i32 @png_set_filler(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @safe_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @png_read_image(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { returns_twice "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } attributes #5 = { nounwind returns_twice } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 16} !12 = !{!"TYPE_2__", !10, i64 0, !13, i64 8, !6, i64 16} !13 = !{!"long", !7, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!17} !17 = distinct !{!17, !18} !18 = distinct !{!18, !"LVerDomain"} !19 = !{!20} !20 = distinct !{!20, !18} !21 = distinct !{!21, !22, !23, !24} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!"llvm.loop.isvectorized", i32 1} !24 = !{!"llvm.loop.unroll.runtime.disable"} !25 = distinct !{!25, !22, !23}
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_image.c_LoadPNGBuffer.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_image.c_LoadPNGBuffer.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, i64, ptr } @SYS_WRN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"WARNING: Invalid PNG file\0A\00", align 1 @PNG_LIBPNG_VER_STRING = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"WARNING: Unable to create PNG read struct\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"WARNING: Unable to create PNG info struct\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"WARNING: Unable to create PNG end info struct\0A\00", align 1 @PNGReadData = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [46 x i8] c"WARNING: An error occurred reading PNG image\0A\00", align 1 @PNG_COLOR_TYPE_PALETTE = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY = common local_unnamed_addr global i32 0, align 4 @PNG_INFO_tRNS = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_RGB = common local_unnamed_addr global i32 0, align 4 @PNG_FILLER_AFTER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @LoadPNGBuffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @LoadPNGBuffer(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef writeonly %3, ptr noundef writeonly %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.TYPE_2__, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4 %14 = icmp eq ptr %0, null %15 = icmp slt i32 %1, 1 %16 = or i1 %14, %15 %17 = icmp eq ptr %2, null %18 = or i1 %16, %17 %19 = icmp eq ptr %3, null %20 = or i1 %18, %19 %21 = icmp eq ptr %4, null %22 = or i1 %20, %21 br i1 %22, label %185, label %23 23: ; preds = %5 store ptr null, ptr %2, align 8, !tbaa !6 store i32 0, ptr %3, align 4, !tbaa !10 store i32 0, ptr %4, align 4, !tbaa !10 %24 = call i64 @png_sig_cmp(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #4 %25 = icmp eq i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i32, ptr @SYS_WRN, align 4, !tbaa !10 %28 = call i32 @Sys_FPrintf(i32 noundef %27, ptr noundef nonnull @.str) #4 br label %185 29: ; preds = %23 %30 = load i32, ptr @PNG_LIBPNG_VER_STRING, align 4, !tbaa !10 %31 = call ptr @png_create_read_struct(i32 noundef %30, ptr noundef null, ptr noundef null, ptr noundef null) #4 store ptr %31, ptr %6, align 8, !tbaa !6 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @SYS_WRN, align 4, !tbaa !10 %35 = call i32 @Sys_FPrintf(i32 noundef %34, ptr noundef nonnull @.str.1) #4 br label %185 36: ; preds = %29 %37 = call ptr @png_create_info_struct(ptr noundef nonnull %31) #4 store ptr %37, ptr %7, align 8, !tbaa !6 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr @SYS_WRN, align 4, !tbaa !10 %41 = call i32 @Sys_FPrintf(i32 noundef %40, ptr noundef nonnull @.str.2) #4 %42 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef null, ptr noundef null) #4 br label %185 43: ; preds = %36 %44 = call ptr @png_create_info_struct(ptr noundef nonnull %31) #4 store ptr %44, ptr %8, align 8, !tbaa !6 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load i32, ptr @SYS_WRN, align 4, !tbaa !10 %48 = call i32 @Sys_FPrintf(i32 noundef %47, ptr noundef nonnull @.str.3) #4 %49 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4 br label %185 50: ; preds = %43 %51 = getelementptr inbounds i8, ptr %9, i64 16 store ptr %0, ptr %51, align 8, !tbaa !12 store i32 %1, ptr %9, align 8, !tbaa !15 %52 = getelementptr inbounds i8, ptr %9, i64 8 store i64 0, ptr %52, align 8, !tbaa !16 %53 = load ptr, ptr %6, align 8, !tbaa !6 %54 = load i32, ptr @PNGReadData, align 4, !tbaa !10 %55 = call i32 @png_set_read_fn(ptr noundef %53, ptr noundef nonnull %9, i32 noundef %54) #4 %56 = load ptr, ptr %6, align 8, !tbaa !6 %57 = call i32 @png_jmpbuf(ptr noundef %56) #4 %58 = call i64 @setjmp(i32 noundef %57) #5 %59 = icmp eq i64 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %50 %61 = load i32, ptr @SYS_WRN, align 4, !tbaa !10 %62 = call i32 @Sys_FPrintf(i32 noundef %61, ptr noundef nonnull @.str.4) #4 %63 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 br label %185 64: ; preds = %50 %65 = load ptr, ptr %6, align 8, !tbaa !6 %66 = load ptr, ptr %7, align 8, !tbaa !6 %67 = call i32 @png_read_info(ptr noundef %65, ptr noundef %66) #4 %68 = load ptr, ptr %6, align 8, !tbaa !6 %69 = load ptr, ptr %7, align 8, !tbaa !6 %70 = call i32 @png_get_IHDR(ptr noundef %68, ptr noundef %69, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef null, ptr noundef null, ptr noundef null) #4 %71 = load ptr, ptr %6, align 8, !tbaa !6 %72 = load ptr, ptr %7, align 8, !tbaa !6 %73 = call i32 @png_get_channels(ptr noundef %71, ptr noundef %72) #4 %74 = load i32, ptr %11, align 4, !tbaa !10 %75 = load i32, ptr @PNG_COLOR_TYPE_PALETTE, align 4, !tbaa !10 %76 = icmp eq i32 %74, %75 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %77, 9 %79 = select i1 %76, i1 %78, i1 false br i1 %79, label %90, label %80 80: ; preds = %64 %81 = load i32, ptr @PNG_COLOR_TYPE_GRAY, align 4, !tbaa !10 %82 = icmp eq i32 %74, %81 %83 = select i1 %82, i1 %78, i1 false br i1 %83, label %90, label %84 84: ; preds = %80 %85 = load ptr, ptr %6, align 8, !tbaa !6 %86 = load ptr, ptr %7, align 8, !tbaa !6 %87 = load i32, ptr @PNG_INFO_tRNS, align 4, !tbaa !10 %88 = call i64 @png_get_valid(ptr noundef %85, ptr noundef %86, i32 noundef %87) #4 %89 = icmp eq i64 %88, 0 br i1 %89, label %93, label %90 90: ; preds = %80, %64, %84 %91 = load ptr, ptr %6, align 8, !tbaa !6 %92 = call i32 @png_set_expand(ptr noundef %91) #4 br label %93 93: ; preds = %90, %84 %94 = load i32, ptr %10, align 4, !tbaa !10 %95 = icmp eq i32 %94, 16 br i1 %95, label %96, label %100 96: ; preds = %93 %97 = load ptr, ptr %6, align 8, !tbaa !6 %98 = call i32 @png_set_strip_16(ptr noundef %97) #4 %99 = load i32, ptr %10, align 4, !tbaa !10 br label %100 100: ; preds = %96, %93 %101 = phi i32 [ %99, %96 ], [ %94, %93 ] %102 = icmp eq i32 %101, 8 br i1 %102, label %103, label %111 103: ; preds = %100 %104 = load i32, ptr %11, align 4, !tbaa !10 %105 = load i32, ptr @PNG_COLOR_TYPE_RGB, align 4, !tbaa !10 %106 = icmp eq i32 %104, %105 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = load ptr, ptr %6, align 8, !tbaa !6 %109 = load i32, ptr @PNG_FILLER_AFTER, align 4, !tbaa !10 %110 = call i32 @png_set_filler(ptr noundef %108, i32 noundef 255, i32 noundef %109) #4 br label %111 111: ; preds = %107, %103, %100 %112 = load i32, ptr %12, align 4, !tbaa !10 store i32 %112, ptr %3, align 4, !tbaa !10 %113 = load i32, ptr %13, align 4, !tbaa !10 store i32 %113, ptr %4, align 4, !tbaa !10 %114 = shl i32 %112, 2 %115 = mul i32 %114, %113 %116 = call ptr @safe_malloc(i32 noundef %115) #4 store ptr %116, ptr %2, align 8, !tbaa !6 %117 = load i32, ptr %13, align 4, !tbaa !10 %118 = shl i32 %117, 3 %119 = call ptr @safe_malloc(i32 noundef %118) #4 %120 = load i32, ptr %13, align 4, !tbaa !10 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %180 122: ; preds = %111 %123 = load i32, ptr %12, align 4, !tbaa !10 %124 = shl i32 %123, 2 %125 = zext nneg i32 %120 to i64 %126 = icmp ult i32 %120, 8 br i1 %126, label %168, label %127 127: ; preds = %122 %128 = shl nuw nsw i64 %125, 3 %129 = getelementptr i8, ptr %119, i64 %128 %130 = getelementptr i8, ptr %2, i64 8 %131 = icmp ult ptr %119, %130 %132 = icmp ugt ptr %129, %2 %133 = and i1 %131, %132 br i1 %133, label %168, label %134 134: ; preds = %127 %135 = and i64 %125, 2147483640 %136 = insertelement <2 x i32> poison, i32 %124, i64 0 %137 = shufflevector <2 x i32> %136, <2 x i32> poison, <2 x i32> zeroinitializer %138 = load ptr, ptr %2, align 8, !tbaa !6, !alias.scope !17 %139 = insertelement <2 x ptr> poison, ptr %138, i64 0 %140 = shufflevector <2 x ptr> %139, <2 x ptr> poison, <2 x i32> zeroinitializer br label %141 141: ; preds = %141, %134 %142 = phi i64 [ 0, %134 ], [ %163, %141 ] %143 = phi <2 x i32> [ <i32 0, i32 1>, %134 ], [ %164, %141 ] %144 = add <2 x i32> %143, <i32 2, i32 2> %145 = add <2 x i32> %143, <i32 4, i32 4> %146 = add <2 x i32> %143, <i32 6, i32 6> %147 = mul <2 x i32> %137, %143 %148 = mul <2 x i32> %137, %144 %149 = mul <2 x i32> %137, %145 %150 = mul <2 x i32> %137, %146 %151 = sext <2 x i32> %147 to <2 x i64> %152 = sext <2 x i32> %148 to <2 x i64> %153 = sext <2 x i32> %149 to <2 x i64> %154 = sext <2 x i32> %150 to <2 x i64> %155 = getelementptr inbounds i32, <2 x ptr> %140, <2 x i64> %151 %156 = getelementptr inbounds i32, <2 x ptr> %140, <2 x i64> %152 %157 = getelementptr inbounds i32, <2 x ptr> %140, <2 x i64> %153 %158 = getelementptr inbounds i32, <2 x ptr> %140, <2 x i64> %154 %159 = getelementptr inbounds ptr, ptr %119, i64 %142 %160 = getelementptr inbounds i8, ptr %159, i64 16 %161 = getelementptr inbounds i8, ptr %159, i64 32 %162 = getelementptr inbounds i8, ptr %159, i64 48 store <2 x ptr> %155, ptr %159, align 8, !tbaa !6, !alias.scope !20, !noalias !17 store <2 x ptr> %156, ptr %160, align 8, !tbaa !6, !alias.scope !20, !noalias !17 store <2 x ptr> %157, ptr %161, align 8, !tbaa !6, !alias.scope !20, !noalias !17 store <2 x ptr> %158, ptr %162, align 8, !tbaa !6, !alias.scope !20, !noalias !17 %163 = add nuw i64 %142, 8 %164 = add <2 x i32> %143, <i32 8, i32 8> %165 = icmp eq i64 %163, %135 br i1 %165, label %166, label %141, !llvm.loop !22 166: ; preds = %141 %167 = icmp eq i64 %135, %125 br i1 %167, label %180, label %168 168: ; preds = %166, %127, %122 %169 = phi i64 [ 0, %127 ], [ 0, %122 ], [ %135, %166 ] br label %170 170: ; preds = %168, %170 %171 = phi i64 [ %178, %170 ], [ %169, %168 ] %172 = load ptr, ptr %2, align 8, !tbaa !6 %173 = trunc nuw nsw i64 %171 to i32 %174 = mul i32 %124, %173 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i32, ptr %172, i64 %175 %177 = getelementptr inbounds ptr, ptr %119, i64 %171 store ptr %176, ptr %177, align 8, !tbaa !6 %178 = add nuw nsw i64 %171, 1 %179 = icmp eq i64 %178, %125 br i1 %179, label %180, label %170, !llvm.loop !26 180: ; preds = %170, %166, %111 %181 = load ptr, ptr %6, align 8, !tbaa !6 %182 = call i32 @png_read_image(ptr noundef %181, ptr noundef %119) #4 %183 = call i32 @free(ptr noundef %119) #4 %184 = call i32 @png_destroy_read_struct(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 br label %185 185: ; preds = %5, %180, %60, %46, %39, %33, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @png_sig_cmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Sys_FPrintf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @png_create_read_struct(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @png_create_info_struct(ptr noundef) local_unnamed_addr #2 declare i32 @png_destroy_read_struct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_set_read_fn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: returns_twice declare i64 @setjmp(i32 noundef) local_unnamed_addr #3 declare i32 @png_jmpbuf(ptr noundef) local_unnamed_addr #2 declare i32 @png_read_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_get_IHDR(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @png_get_channels(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @png_get_valid(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @png_set_expand(ptr noundef) local_unnamed_addr #2 declare i32 @png_set_strip_16(ptr noundef) local_unnamed_addr #2 declare i32 @png_set_filler(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @safe_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @png_read_image(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { returns_twice "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } attributes #5 = { nounwind returns_twice } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 16} !13 = !{!"TYPE_2__", !11, i64 0, !14, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!13, !14, i64 8} !17 = !{!18} !18 = distinct !{!18, !19} !19 = distinct !{!19, !"LVerDomain"} !20 = !{!21} !21 = distinct !{!21, !19} !22 = distinct !{!22, !23, !24, !25} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!"llvm.loop.isvectorized", i32 1} !25 = !{!"llvm.loop.unroll.runtime.disable"} !26 = distinct !{!26, !23, !24}
lab_q3map2_q3map2_extr_image.c_LoadPNGBuffer
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_7zip.c_archive_read_format_7zip_read_header.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_7zip.c_archive_read_format_7zip_read_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._7z_header_info = type { i32 } %struct.archive_read = type { %struct.TYPE_13__, ptr } %struct.TYPE_13__ = type { ptr, i32 } %struct._7zip = type { i64, i64, i32, i32, ptr, %struct.TYPE_12__, ptr, i32, i64, ptr, ptr, i64 } %struct.TYPE_12__ = type { %struct.TYPE_11__, %struct.TYPE_9__ } %struct.TYPE_11__ = type { ptr } %struct.TYPE_9__ = type { i64, ptr } %struct._7zip_entry = type { i64, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i64 } %struct._7z_folder = type { i64, ptr } %struct.TYPE_10__ = type { i32 } @ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW = dso_local local_unnamed_addr global i64 0, align 8 @ARCHIVE_FORMAT_7ZIP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"7-Zip\00", align 1 @ARCHIVE_EOF = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"UTF-16LE\00", align 1 @ARCHIVE_FATAL = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [35 x i8] c"Can't allocate memory for Pathname\00", align 1 @ARCHIVE_ERRNO_FILE_FORMAT = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [56 x i8] c"Pathname cannot be converted from %s to current locale.\00", align 1 @ARCHIVE_WARN = dso_local local_unnamed_addr global i32 0, align 4 @MTIME_IS_SET = dso_local local_unnamed_addr global i32 0, align 4 @CTIME_IS_SET = dso_local local_unnamed_addr global i32 0, align 4 @ATIME_IS_SET = dso_local local_unnamed_addr global i32 0, align 4 @AE_IFMT = dso_local local_unnamed_addr global i32 0, align 4 @AE_IFLNK = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [34 x i8] c"Can't allocate memory for Symname\00", align 1 @AE_IFREG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @archive_read_format_7zip_read_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @archive_read_format_7zip_read_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct._7z_header_info, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = getelementptr inbounds %struct.archive_read, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !15 %12 = load i64, ptr %10, align 8, !tbaa !16 %13 = load i64, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW, align 8, !tbaa !21 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i64 0, ptr %10, align 8, !tbaa !16 br label %16 16: ; preds = %15, %2 %17 = load i32, ptr @ARCHIVE_FORMAT_7ZIP, align 4, !tbaa !15 %18 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i32 %17, ptr %18, align 8, !tbaa !22 %19 = load ptr, ptr %0, align 8, !tbaa !23 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %16 store ptr @.str, ptr %0, align 8, !tbaa !23 br label %22 22: ; preds = %21, %16 %23 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 10 %24 = load ptr, ptr %23, align 8, !tbaa !24 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %38 26: ; preds = %22 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %27 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #4 %28 = call i32 @slurp_central_directory(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef nonnull %3) #4 %29 = call i32 @free_Header(ptr noundef nonnull %3) #4 %30 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !15 %31 = icmp eq i32 %28, %30 br i1 %31, label %32, label %242 32: ; preds = %26 %33 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 11 %34 = load i64, ptr %33, align 8, !tbaa !25 %35 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 1 store i64 %34, ptr %35, align 8, !tbaa !26 %36 = load ptr, ptr %23, align 8, !tbaa !24 %37 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 9 store ptr %36, ptr %37, align 8, !tbaa !27 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 br label %44 38: ; preds = %22 %39 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 9 %40 = load ptr, ptr %39, align 8, !tbaa !27 %41 = getelementptr inbounds %struct._7zip_entry, ptr %40, i64 1 store ptr %41, ptr %39, align 8, !tbaa !27 %42 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 1 %43 = load i64, ptr %42, align 8, !tbaa !26 br label %44 44: ; preds = %32, %38 %45 = phi i64 [ %34, %32 ], [ %43, %38 ] %46 = phi ptr [ %36, %32 ], [ %41, %38 ] %47 = icmp eq i64 %45, 0 %48 = icmp eq ptr %46, null %49 = select i1 %47, i1 true, i1 %48 br i1 %49, label %50, label %52 50: ; preds = %44 %51 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !15 br label %243 52: ; preds = %44 %53 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 1 %54 = add i64 %45, -1 store i64 %54, ptr %53, align 8, !tbaa !26 %55 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 8 store i64 0, ptr %55, align 8, !tbaa !28 %56 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 2 store i32 0, ptr %56, align 8, !tbaa !29 %57 = call i32 @crc32(i32 noundef 0, ptr noundef null, i32 noundef 0) #4 %58 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 7 store i32 %57, ptr %58, align 8, !tbaa !30 %59 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 6 %60 = load ptr, ptr %59, align 8, !tbaa !31 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %67 62: ; preds = %52 %63 = call ptr @archive_string_conversion_from_charset(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef 1) #4 store ptr %63, ptr %59, align 8, !tbaa !31 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %67 65: ; preds = %62 %66 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !15 br label %243 67: ; preds = %52, %62 %68 = load i64, ptr %46, align 8, !tbaa !32 %69 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 5, i32 1 %70 = load i64, ptr %69, align 8, !tbaa !34 %71 = icmp ult i64 %68, %70 br i1 %71, label %72, label %94 72: ; preds = %67 %73 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 5, i32 1, i32 1 %74 = load ptr, ptr %73, align 8, !tbaa !35 %75 = getelementptr inbounds %struct._7z_folder, ptr %74, i64 %68 %76 = icmp eq ptr %74, null br i1 %76, label %94, label %77 77: ; preds = %72 %78 = getelementptr inbounds %struct._7z_folder, ptr %74, i64 %68, i32 1 %79 = load i64, ptr %75, align 8, !tbaa !36 %80 = icmp eq i64 %79, 0 br i1 %80, label %94, label %81 81: ; preds = %77, %90 %82 = phi i64 [ %91, %90 ], [ 0, %77 ] %83 = load ptr, ptr %78, align 8, !tbaa !38 %84 = getelementptr inbounds %struct.TYPE_10__, ptr %83, i64 %82 %85 = load i32, ptr %84, align 4, !tbaa !39 %86 = add i32 %85, -128 %87 = icmp ult i32 %86, 3 br i1 %87, label %88, label %90 88: ; preds = %81 %89 = call i32 @archive_entry_set_is_data_encrypted(ptr noundef %1, i32 noundef 1) #4 store i64 1, ptr %10, align 8, !tbaa !16 br label %90 90: ; preds = %81, %88 %91 = add nuw i64 %82, 1 %92 = load i64, ptr %75, align 8, !tbaa !36 %93 = icmp ult i64 %91, %92 br i1 %93, label %81, label %94 94: ; preds = %90, %77, %72, %67 %95 = load i64, ptr %10, align 8, !tbaa !16 %96 = load i64, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW, align 8, !tbaa !21 %97 = icmp eq i64 %95, %96 br i1 %97, label %98, label %99 98: ; preds = %94 store i64 0, ptr %10, align 8, !tbaa !16 br label %99 99: ; preds = %98, %94 %100 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 11 %101 = load i64, ptr %100, align 8, !tbaa !41 %102 = inttoptr i64 %101 to ptr %103 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 10 %104 = load i32, ptr %103, align 8, !tbaa !42 %105 = load ptr, ptr %59, align 8, !tbaa !31 %106 = call i64 @archive_entry_copy_pathname_l(ptr noundef %1, ptr noundef %102, i32 noundef %104, ptr noundef %105) #4 %107 = icmp eq i64 %106, 0 br i1 %107, label %122, label %108 108: ; preds = %99 %109 = load i64, ptr @errno, align 8, !tbaa !21 %110 = load i64, ptr @ENOMEM, align 8, !tbaa !21 %111 = icmp eq i64 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %108 %113 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %109, ptr noundef nonnull @.str.2) #4 %114 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !15 br label %243 115: ; preds = %108 %116 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !15 %117 = sext i32 %116 to i64 %118 = load ptr, ptr %59, align 8, !tbaa !31 %119 = call i32 @archive_string_conversion_charset_name(ptr noundef %118) #4 %120 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %117, ptr noundef nonnull @.str.3, i32 noundef %119) #4 %121 = load i32, ptr @ARCHIVE_WARN, align 4, !tbaa !15 br label %122 122: ; preds = %115, %99 %123 = phi i32 [ %121, %115 ], [ %11, %99 ] %124 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 1 %125 = load i32, ptr %124, align 8, !tbaa !43 %126 = call i32 @archive_entry_set_mode(ptr noundef %1, i32 noundef %125) #4 %127 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 2 %128 = load i32, ptr %127, align 4, !tbaa !44 %129 = load i32, ptr @MTIME_IS_SET, align 4, !tbaa !15 %130 = and i32 %129, %128 %131 = icmp eq i32 %130, 0 br i1 %131, label %139, label %132 132: ; preds = %122 %133 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 9 %134 = load i32, ptr %133, align 4, !tbaa !45 %135 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 8 %136 = load i32, ptr %135, align 8, !tbaa !46 %137 = call i32 @archive_entry_set_mtime(ptr noundef %1, i32 noundef %134, i32 noundef %136) #4 %138 = load i32, ptr %127, align 4, !tbaa !44 br label %139 139: ; preds = %132, %122 %140 = phi i32 [ %138, %132 ], [ %128, %122 ] %141 = load i32, ptr @CTIME_IS_SET, align 4, !tbaa !15 %142 = and i32 %141, %140 %143 = icmp eq i32 %142, 0 br i1 %143, label %151, label %144 144: ; preds = %139 %145 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 7 %146 = load i32, ptr %145, align 4, !tbaa !47 %147 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 6 %148 = load i32, ptr %147, align 8, !tbaa !48 %149 = call i32 @archive_entry_set_ctime(ptr noundef %1, i32 noundef %146, i32 noundef %148) #4 %150 = load i32, ptr %127, align 4, !tbaa !44 br label %151 151: ; preds = %144, %139 %152 = phi i32 [ %150, %144 ], [ %140, %139 ] %153 = load i32, ptr @ATIME_IS_SET, align 4, !tbaa !15 %154 = and i32 %153, %152 %155 = icmp eq i32 %154, 0 br i1 %155, label %162, label %156 156: ; preds = %151 %157 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 5 %158 = load i32, ptr %157, align 4, !tbaa !49 %159 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 4 %160 = load i32, ptr %159, align 8, !tbaa !50 %161 = call i32 @archive_entry_set_atime(ptr noundef %1, i32 noundef %158, i32 noundef %160) #4 br label %162 162: ; preds = %156, %151 %163 = getelementptr inbounds %struct._7zip_entry, ptr %46, i64 0, i32 3 %164 = load i64, ptr %163, align 8, !tbaa !51 %165 = icmp eq i64 %164, -1 br i1 %165, label %171, label %166 166: ; preds = %162 %167 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 5 %168 = load ptr, ptr %167, align 8, !tbaa !52 %169 = getelementptr inbounds i32, ptr %168, i64 %164 %170 = load i32, ptr %169, align 4, !tbaa !15 br label %171 171: ; preds = %162, %166 %172 = phi i32 [ %170, %166 ], [ 0, %162 ] %173 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 3 store i32 %172, ptr %173, align 4, !tbaa !53 %174 = call i32 @archive_entry_set_size(ptr noundef %1, i32 noundef %172) #4 %175 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 3 %176 = load i32, ptr %175, align 4, !tbaa !53 %177 = icmp slt i32 %176, 1 br i1 %177, label %178, label %184 178: ; preds = %171 store i32 1, ptr %56, align 8, !tbaa !29 %179 = load i32, ptr %124, align 8, !tbaa !43 %180 = load i32, ptr @AE_IFMT, align 4, !tbaa !15 %181 = and i32 %180, %179 %182 = load i32, ptr @AE_IFLNK, align 4, !tbaa !15 %183 = icmp eq i32 %181, %182 br i1 %183, label %219, label %237 184: ; preds = %171 %185 = load i32, ptr %124, align 8, !tbaa !43 %186 = load i32, ptr @AE_IFMT, align 4, !tbaa !15 %187 = and i32 %186, %185 %188 = load i32, ptr @AE_IFLNK, align 4, !tbaa !15 %189 = icmp eq i32 %187, %188 br i1 %189, label %190, label %237 190: ; preds = %184, %209 %191 = phi i64 [ %214, %209 ], [ 0, %184 ] %192 = phi ptr [ %202, %209 ], [ null, %184 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %193 = call i32 @archive_read_format_7zip_read_data(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #4 %194 = load i32, ptr @ARCHIVE_WARN, align 4, !tbaa !15 %195 = icmp slt i32 %193, %194 br i1 %195, label %196, label %198 196: ; preds = %190 %197 = call i32 @free(ptr noundef %192) #4 br label %235 198: ; preds = %190 %199 = load i64, ptr %5, align 8, !tbaa !21 %200 = add i64 %191, 1 %201 = add i64 %200, %199 %202 = call ptr @realloc(ptr noundef %192, i64 noundef %201) %203 = icmp eq ptr %202, null br i1 %203, label %204, label %209 204: ; preds = %198 %205 = call i32 @free(ptr noundef %192) #4 %206 = load i64, ptr @ENOMEM, align 8, !tbaa !21 %207 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %206, ptr noundef nonnull @.str.4) #4 %208 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !15 br label %235 209: ; preds = %198 %210 = getelementptr inbounds i8, ptr %202, i64 %191 %211 = load ptr, ptr %4, align 8, !tbaa !54 %212 = call i32 @memcpy(ptr noundef nonnull %210, ptr noundef %211, i64 noundef %199) #4 %213 = load i64, ptr %5, align 8, !tbaa !21 %214 = add i64 %213, %191 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 %215 = load i32, ptr %175, align 4, !tbaa !53 %216 = icmp slt i32 %215, 1 br i1 %216, label %217, label %190, !llvm.loop !55 217: ; preds = %209 %218 = icmp eq i64 %214, 0 br i1 %218, label %219, label %228 219: ; preds = %178, %217 %220 = phi ptr [ %202, %217 ], [ null, %178 ] %221 = load i32, ptr @AE_IFMT, align 4, !tbaa !15 %222 = xor i32 %221, -1 %223 = load i32, ptr %124, align 8, !tbaa !43 %224 = and i32 %223, %222 %225 = load i32, ptr @AE_IFREG, align 4, !tbaa !15 %226 = or i32 %225, %224 store i32 %226, ptr %124, align 8, !tbaa !43 %227 = call i32 @archive_entry_set_mode(ptr noundef %1, i32 noundef %226) #4 br label %231 228: ; preds = %217 %229 = getelementptr inbounds i8, ptr %202, i64 %214 store i8 0, ptr %229, align 1, !tbaa !57 %230 = call i32 @archive_entry_copy_symlink(ptr noundef %1, ptr noundef nonnull %202) #4 br label %231 231: ; preds = %219, %228 %232 = phi ptr [ %220, %219 ], [ %202, %228 ] %233 = call i32 @free(ptr noundef %232) #4 %234 = call i32 @archive_entry_set_size(ptr noundef %1, i32 noundef 0) #4 br label %237 235: ; preds = %196, %204 %236 = phi i32 [ %208, %204 ], [ %193, %196 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %243 237: ; preds = %184, %231, %178 %238 = getelementptr inbounds %struct._7zip, ptr %10, i64 0, i32 4 %239 = load ptr, ptr %238, align 8, !tbaa !58 %240 = call i32 @sprintf(ptr noundef %239, ptr noundef nonnull @.str) #4 %241 = load ptr, ptr %238, align 8, !tbaa !58 store ptr %241, ptr %0, align 8, !tbaa !23 br label %243 242: ; preds = %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 br label %243 243: ; preds = %235, %242, %237, %112, %65, %50 %244 = phi i32 [ %51, %50 ], [ %66, %65 ], [ %114, %112 ], [ %123, %237 ], [ %236, %235 ], [ %28, %242 ] ret i32 %244 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @slurp_central_directory(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free_Header(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @archive_string_conversion_from_charset(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_is_data_encrypted(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @archive_entry_copy_pathname_l(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @archive_set_error(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @archive_string_conversion_charset_name(ptr noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_mode(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_mtime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_ctime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_atime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_size(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_format_7zip_read_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; 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 #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @archive_entry_copy_symlink(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 16} !6 = !{!"archive_read", !7, i64 0, !8, i64 16} !7 = !{!"TYPE_13__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"_7zip", !14, i64 0, !14, i64 8, !11, i64 16, !11, i64 20, !8, i64 24, !18, i64 32, !8, i64 56, !11, i64 64, !14, i64 72, !8, i64 80, !8, i64 88, !14, i64 96} !18 = !{!"TYPE_12__", !19, i64 0, !20, i64 8} !19 = !{!"TYPE_11__", !8, i64 0} !20 = !{!"TYPE_9__", !14, i64 0, !8, i64 8} !21 = !{!14, !14, i64 0} !22 = !{!6, !11, i64 8} !23 = !{!6, !8, i64 0} !24 = !{!17, !8, i64 88} !25 = !{!17, !14, i64 96} !26 = !{!17, !14, i64 8} !27 = !{!17, !8, i64 80} !28 = !{!17, !14, i64 72} !29 = !{!17, !11, i64 16} !30 = !{!17, !11, i64 64} !31 = !{!17, !8, i64 56} !32 = !{!33, !14, i64 0} !33 = !{!"_7zip_entry", !14, i64 0, !11, i64 8, !11, i64 12, !14, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !14, i64 56} !34 = !{!17, !14, i64 40} !35 = !{!17, !8, i64 48} !36 = !{!37, !14, i64 0} !37 = !{!"_7z_folder", !14, i64 0, !8, i64 8} !38 = !{!37, !8, i64 8} !39 = !{!40, !11, i64 0} !40 = !{!"TYPE_10__", !11, i64 0} !41 = !{!33, !14, i64 56} !42 = !{!33, !11, i64 48} !43 = !{!33, !11, i64 8} !44 = !{!33, !11, i64 12} !45 = !{!33, !11, i64 44} !46 = !{!33, !11, i64 40} !47 = !{!33, !11, i64 36} !48 = !{!33, !11, i64 32} !49 = !{!33, !11, i64 28} !50 = !{!33, !11, i64 24} !51 = !{!33, !14, i64 16} !52 = !{!17, !8, i64 32} !53 = !{!17, !11, i64 20} !54 = !{!8, !8, i64 0} !55 = distinct !{!55, !56} !56 = !{!"llvm.loop.mustprogress"} !57 = !{!9, !9, i64 0} !58 = !{!17, !8, i64 24}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_7zip.c_archive_read_format_7zip_read_header.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_7zip.c_archive_read_format_7zip_read_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct._7z_header_info = type { i32 } %struct._7z_folder = type { i64, ptr } %struct.TYPE_10__ = type { i32 } @ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW = common local_unnamed_addr global i64 0, align 8 @ARCHIVE_FORMAT_7ZIP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"7-Zip\00", align 1 @ARCHIVE_EOF = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"UTF-16LE\00", align 1 @ARCHIVE_FATAL = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [35 x i8] c"Can't allocate memory for Pathname\00", align 1 @ARCHIVE_ERRNO_FILE_FORMAT = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [56 x i8] c"Pathname cannot be converted from %s to current locale.\00", align 1 @ARCHIVE_WARN = common local_unnamed_addr global i32 0, align 4 @MTIME_IS_SET = common local_unnamed_addr global i32 0, align 4 @CTIME_IS_SET = common local_unnamed_addr global i32 0, align 4 @ATIME_IS_SET = common local_unnamed_addr global i32 0, align 4 @AE_IFMT = common local_unnamed_addr global i32 0, align 4 @AE_IFLNK = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [34 x i8] c"Can't allocate memory for Symname\00", align 1 @AE_IFREG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @archive_read_format_7zip_read_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @archive_read_format_7zip_read_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct._7z_header_info, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !16 %12 = load i64, ptr %10, align 8, !tbaa !17 %13 = load i64, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW, align 8, !tbaa !22 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i64 0, ptr %10, align 8, !tbaa !17 br label %16 16: ; preds = %15, %2 %17 = load i32, ptr @ARCHIVE_FORMAT_7ZIP, align 4, !tbaa !16 %18 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %17, ptr %18, align 8, !tbaa !23 %19 = load ptr, ptr %0, align 8, !tbaa !24 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %16 store ptr @.str, ptr %0, align 8, !tbaa !24 br label %22 22: ; preds = %21, %16 %23 = getelementptr inbounds i8, ptr %10, i64 88 %24 = load ptr, ptr %23, align 8, !tbaa !25 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %38 26: ; preds = %22 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %27 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #4 %28 = call i32 @slurp_central_directory(ptr noundef nonnull %0, ptr noundef nonnull %10, ptr noundef nonnull %3) #4 %29 = call i32 @free_Header(ptr noundef nonnull %3) #4 %30 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !16 %31 = icmp eq i32 %28, %30 br i1 %31, label %32, label %241 32: ; preds = %26 %33 = getelementptr inbounds i8, ptr %10, i64 96 %34 = load i64, ptr %33, align 8, !tbaa !26 %35 = getelementptr inbounds i8, ptr %10, i64 8 store i64 %34, ptr %35, align 8, !tbaa !27 %36 = load ptr, ptr %23, align 8, !tbaa !25 %37 = getelementptr inbounds i8, ptr %10, i64 80 store ptr %36, ptr %37, align 8, !tbaa !28 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 br label %44 38: ; preds = %22 %39 = getelementptr inbounds i8, ptr %10, i64 80 %40 = load ptr, ptr %39, align 8, !tbaa !28 %41 = getelementptr inbounds i8, ptr %40, i64 64 store ptr %41, ptr %39, align 8, !tbaa !28 %42 = getelementptr inbounds i8, ptr %10, i64 8 %43 = load i64, ptr %42, align 8, !tbaa !27 br label %44 44: ; preds = %32, %38 %45 = phi i64 [ %34, %32 ], [ %43, %38 ] %46 = phi ptr [ %36, %32 ], [ %41, %38 ] %47 = icmp eq i64 %45, 0 %48 = icmp eq ptr %46, null %49 = select i1 %47, i1 true, i1 %48 br i1 %49, label %50, label %52 50: ; preds = %44 %51 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !16 br label %242 52: ; preds = %44 %53 = getelementptr inbounds i8, ptr %10, i64 8 %54 = add i64 %45, -1 store i64 %54, ptr %53, align 8, !tbaa !27 %55 = getelementptr inbounds i8, ptr %10, i64 72 store i64 0, ptr %55, align 8, !tbaa !29 %56 = getelementptr inbounds i8, ptr %10, i64 16 store i32 0, ptr %56, align 8, !tbaa !30 %57 = call i32 @crc32(i32 noundef 0, ptr noundef null, i32 noundef 0) #4 %58 = getelementptr inbounds i8, ptr %10, i64 64 store i32 %57, ptr %58, align 8, !tbaa !31 %59 = getelementptr inbounds i8, ptr %10, i64 56 %60 = load ptr, ptr %59, align 8, !tbaa !32 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %67 62: ; preds = %52 %63 = call ptr @archive_string_conversion_from_charset(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef 1) #4 store ptr %63, ptr %59, align 8, !tbaa !32 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %67 65: ; preds = %62 %66 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !16 br label %242 67: ; preds = %52, %62 %68 = load i64, ptr %46, align 8, !tbaa !33 %69 = getelementptr inbounds i8, ptr %10, i64 40 %70 = load i64, ptr %69, align 8, !tbaa !35 %71 = icmp ult i64 %68, %70 br i1 %71, label %72, label %94 72: ; preds = %67 %73 = getelementptr inbounds i8, ptr %10, i64 48 %74 = load ptr, ptr %73, align 8, !tbaa !36 %75 = getelementptr inbounds %struct._7z_folder, ptr %74, i64 %68 %76 = icmp eq ptr %74, null br i1 %76, label %94, label %77 77: ; preds = %72 %78 = getelementptr inbounds i8, ptr %75, i64 8 %79 = load i64, ptr %75, align 8, !tbaa !37 %80 = icmp eq i64 %79, 0 br i1 %80, label %94, label %81 81: ; preds = %77, %90 %82 = phi i64 [ %91, %90 ], [ 0, %77 ] %83 = load ptr, ptr %78, align 8, !tbaa !39 %84 = getelementptr inbounds %struct.TYPE_10__, ptr %83, i64 %82 %85 = load i32, ptr %84, align 4, !tbaa !40 %86 = add i32 %85, -128 %87 = icmp ult i32 %86, 3 br i1 %87, label %88, label %90 88: ; preds = %81 %89 = call i32 @archive_entry_set_is_data_encrypted(ptr noundef %1, i32 noundef 1) #4 store i64 1, ptr %10, align 8, !tbaa !17 br label %90 90: ; preds = %81, %88 %91 = add nuw i64 %82, 1 %92 = load i64, ptr %75, align 8, !tbaa !37 %93 = icmp ult i64 %91, %92 br i1 %93, label %81, label %94 94: ; preds = %90, %77, %72, %67 %95 = load i64, ptr %10, align 8, !tbaa !17 %96 = load i64, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW, align 8, !tbaa !22 %97 = icmp eq i64 %95, %96 br i1 %97, label %98, label %99 98: ; preds = %94 store i64 0, ptr %10, align 8, !tbaa !17 br label %99 99: ; preds = %98, %94 %100 = getelementptr inbounds i8, ptr %46, i64 56 %101 = load i64, ptr %100, align 8, !tbaa !42 %102 = inttoptr i64 %101 to ptr %103 = getelementptr inbounds i8, ptr %46, i64 48 %104 = load i32, ptr %103, align 8, !tbaa !43 %105 = load ptr, ptr %59, align 8, !tbaa !32 %106 = call i64 @archive_entry_copy_pathname_l(ptr noundef %1, ptr noundef %102, i32 noundef %104, ptr noundef %105) #4 %107 = icmp eq i64 %106, 0 br i1 %107, label %122, label %108 108: ; preds = %99 %109 = load i64, ptr @errno, align 8, !tbaa !22 %110 = load i64, ptr @ENOMEM, align 8, !tbaa !22 %111 = icmp eq i64 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %108 %113 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %109, ptr noundef nonnull @.str.2) #4 %114 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !16 br label %242 115: ; preds = %108 %116 = load i32, ptr @ARCHIVE_ERRNO_FILE_FORMAT, align 4, !tbaa !16 %117 = sext i32 %116 to i64 %118 = load ptr, ptr %59, align 8, !tbaa !32 %119 = call i32 @archive_string_conversion_charset_name(ptr noundef %118) #4 %120 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %117, ptr noundef nonnull @.str.3, i32 noundef %119) #4 %121 = load i32, ptr @ARCHIVE_WARN, align 4, !tbaa !16 br label %122 122: ; preds = %115, %99 %123 = phi i32 [ %121, %115 ], [ %11, %99 ] %124 = getelementptr inbounds i8, ptr %46, i64 8 %125 = load i32, ptr %124, align 8, !tbaa !44 %126 = call i32 @archive_entry_set_mode(ptr noundef %1, i32 noundef %125) #4 %127 = getelementptr inbounds i8, ptr %46, i64 12 %128 = load i32, ptr %127, align 4, !tbaa !45 %129 = load i32, ptr @MTIME_IS_SET, align 4, !tbaa !16 %130 = and i32 %129, %128 %131 = icmp eq i32 %130, 0 br i1 %131, label %139, label %132 132: ; preds = %122 %133 = getelementptr inbounds i8, ptr %46, i64 44 %134 = load i32, ptr %133, align 4, !tbaa !46 %135 = getelementptr inbounds i8, ptr %46, i64 40 %136 = load i32, ptr %135, align 8, !tbaa !47 %137 = call i32 @archive_entry_set_mtime(ptr noundef %1, i32 noundef %134, i32 noundef %136) #4 %138 = load i32, ptr %127, align 4, !tbaa !45 br label %139 139: ; preds = %132, %122 %140 = phi i32 [ %138, %132 ], [ %128, %122 ] %141 = load i32, ptr @CTIME_IS_SET, align 4, !tbaa !16 %142 = and i32 %141, %140 %143 = icmp eq i32 %142, 0 br i1 %143, label %151, label %144 144: ; preds = %139 %145 = getelementptr inbounds i8, ptr %46, i64 36 %146 = load i32, ptr %145, align 4, !tbaa !48 %147 = getelementptr inbounds i8, ptr %46, i64 32 %148 = load i32, ptr %147, align 8, !tbaa !49 %149 = call i32 @archive_entry_set_ctime(ptr noundef %1, i32 noundef %146, i32 noundef %148) #4 %150 = load i32, ptr %127, align 4, !tbaa !45 br label %151 151: ; preds = %144, %139 %152 = phi i32 [ %150, %144 ], [ %140, %139 ] %153 = load i32, ptr @ATIME_IS_SET, align 4, !tbaa !16 %154 = and i32 %153, %152 %155 = icmp eq i32 %154, 0 br i1 %155, label %162, label %156 156: ; preds = %151 %157 = getelementptr inbounds i8, ptr %46, i64 28 %158 = load i32, ptr %157, align 4, !tbaa !50 %159 = getelementptr inbounds i8, ptr %46, i64 24 %160 = load i32, ptr %159, align 8, !tbaa !51 %161 = call i32 @archive_entry_set_atime(ptr noundef %1, i32 noundef %158, i32 noundef %160) #4 br label %162 162: ; preds = %156, %151 %163 = getelementptr inbounds i8, ptr %46, i64 16 %164 = load i64, ptr %163, align 8, !tbaa !52 %165 = icmp eq i64 %164, -1 br i1 %165, label %171, label %166 166: ; preds = %162 %167 = getelementptr inbounds i8, ptr %10, i64 32 %168 = load ptr, ptr %167, align 8, !tbaa !53 %169 = getelementptr inbounds i32, ptr %168, i64 %164 %170 = load i32, ptr %169, align 4, !tbaa !16 br label %171 171: ; preds = %162, %166 %172 = phi i32 [ %170, %166 ], [ 0, %162 ] %173 = getelementptr inbounds i8, ptr %10, i64 20 store i32 %172, ptr %173, align 4, !tbaa !54 %174 = call i32 @archive_entry_set_size(ptr noundef %1, i32 noundef %172) #4 %175 = load i32, ptr %173, align 4, !tbaa !54 %176 = icmp slt i32 %175, 1 br i1 %176, label %177, label %183 177: ; preds = %171 store i32 1, ptr %56, align 8, !tbaa !30 %178 = load i32, ptr %124, align 8, !tbaa !44 %179 = load i32, ptr @AE_IFMT, align 4, !tbaa !16 %180 = and i32 %179, %178 %181 = load i32, ptr @AE_IFLNK, align 4, !tbaa !16 %182 = icmp eq i32 %180, %181 br i1 %182, label %218, label %236 183: ; preds = %171 %184 = load i32, ptr %124, align 8, !tbaa !44 %185 = load i32, ptr @AE_IFMT, align 4, !tbaa !16 %186 = and i32 %185, %184 %187 = load i32, ptr @AE_IFLNK, align 4, !tbaa !16 %188 = icmp eq i32 %186, %187 br i1 %188, label %189, label %236 189: ; preds = %183, %208 %190 = phi i64 [ %213, %208 ], [ 0, %183 ] %191 = phi ptr [ %201, %208 ], [ null, %183 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %192 = call i32 @archive_read_format_7zip_read_data(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #4 %193 = load i32, ptr @ARCHIVE_WARN, align 4, !tbaa !16 %194 = icmp slt i32 %192, %193 br i1 %194, label %195, label %197 195: ; preds = %189 %196 = call i32 @free(ptr noundef %191) #4 br label %234 197: ; preds = %189 %198 = load i64, ptr %5, align 8, !tbaa !22 %199 = add i64 %190, 1 %200 = add i64 %199, %198 %201 = call ptr @realloc(ptr noundef %191, i64 noundef %200) %202 = icmp eq ptr %201, null br i1 %202, label %203, label %208 203: ; preds = %197 %204 = call i32 @free(ptr noundef %191) #4 %205 = load i64, ptr @ENOMEM, align 8, !tbaa !22 %206 = call i32 (ptr, i64, ptr, ...) @archive_set_error(ptr noundef nonnull %0, i64 noundef %205, ptr noundef nonnull @.str.4) #4 %207 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !16 br label %234 208: ; preds = %197 %209 = getelementptr inbounds i8, ptr %201, i64 %190 %210 = load ptr, ptr %4, align 8, !tbaa !55 %211 = call i32 @memcpy(ptr noundef nonnull %209, ptr noundef %210, i64 noundef %198) #4 %212 = load i64, ptr %5, align 8, !tbaa !22 %213 = add i64 %212, %190 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 %214 = load i32, ptr %173, align 4, !tbaa !54 %215 = icmp slt i32 %214, 1 br i1 %215, label %216, label %189, !llvm.loop !56 216: ; preds = %208 %217 = icmp eq i64 %213, 0 br i1 %217, label %218, label %227 218: ; preds = %177, %216 %219 = phi ptr [ %201, %216 ], [ null, %177 ] %220 = load i32, ptr @AE_IFMT, align 4, !tbaa !16 %221 = xor i32 %220, -1 %222 = load i32, ptr %124, align 8, !tbaa !44 %223 = and i32 %222, %221 %224 = load i32, ptr @AE_IFREG, align 4, !tbaa !16 %225 = or i32 %224, %223 store i32 %225, ptr %124, align 8, !tbaa !44 %226 = call i32 @archive_entry_set_mode(ptr noundef %1, i32 noundef %225) #4 br label %230 227: ; preds = %216 %228 = getelementptr inbounds i8, ptr %201, i64 %213 store i8 0, ptr %228, align 1, !tbaa !58 %229 = call i32 @archive_entry_copy_symlink(ptr noundef %1, ptr noundef nonnull %201) #4 br label %230 230: ; preds = %218, %227 %231 = phi ptr [ %219, %218 ], [ %201, %227 ] %232 = call i32 @free(ptr noundef %231) #4 %233 = call i32 @archive_entry_set_size(ptr noundef %1, i32 noundef 0) #4 br label %236 234: ; preds = %195, %203 %235 = phi i32 [ %207, %203 ], [ %192, %195 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %242 236: ; preds = %183, %230, %177 %237 = getelementptr inbounds i8, ptr %10, i64 24 %238 = load ptr, ptr %237, align 8, !tbaa !59 %239 = call i32 @sprintf(ptr noundef %238, ptr noundef nonnull @.str) #4 %240 = load ptr, ptr %237, align 8, !tbaa !59 store ptr %240, ptr %0, align 8, !tbaa !24 br label %242 241: ; preds = %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 br label %242 242: ; preds = %234, %241, %236, %112, %65, %50 %243 = phi i32 [ %51, %50 ], [ %66, %65 ], [ %114, %112 ], [ %123, %236 ], [ %235, %234 ], [ %28, %241 ] ret i32 %243 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @slurp_central_directory(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free_Header(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @archive_string_conversion_from_charset(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_is_data_encrypted(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @archive_entry_copy_pathname_l(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @archive_set_error(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @archive_string_conversion_charset_name(ptr noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_mode(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_mtime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_ctime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_atime(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_set_size(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_format_7zip_read_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; 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 #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @archive_entry_copy_symlink(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 16} !7 = !{!"archive_read", !8, i64 0, !9, i64 16} !8 = !{!"TYPE_13__", !9, i64 0, !12, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"long", !10, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"_7zip", !15, i64 0, !15, i64 8, !12, i64 16, !12, i64 20, !9, i64 24, !19, i64 32, !9, i64 56, !12, i64 64, !15, i64 72, !9, i64 80, !9, i64 88, !15, i64 96} !19 = !{!"TYPE_12__", !20, i64 0, !21, i64 8} !20 = !{!"TYPE_11__", !9, i64 0} !21 = !{!"TYPE_9__", !15, i64 0, !9, i64 8} !22 = !{!15, !15, i64 0} !23 = !{!7, !12, i64 8} !24 = !{!7, !9, i64 0} !25 = !{!18, !9, i64 88} !26 = !{!18, !15, i64 96} !27 = !{!18, !15, i64 8} !28 = !{!18, !9, i64 80} !29 = !{!18, !15, i64 72} !30 = !{!18, !12, i64 16} !31 = !{!18, !12, i64 64} !32 = !{!18, !9, i64 56} !33 = !{!34, !15, i64 0} !34 = !{!"_7zip_entry", !15, i64 0, !12, i64 8, !12, i64 12, !15, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !15, i64 56} !35 = !{!18, !15, i64 40} !36 = !{!18, !9, i64 48} !37 = !{!38, !15, i64 0} !38 = !{!"_7z_folder", !15, i64 0, !9, i64 8} !39 = !{!38, !9, i64 8} !40 = !{!41, !12, i64 0} !41 = !{!"TYPE_10__", !12, i64 0} !42 = !{!34, !15, i64 56} !43 = !{!34, !12, i64 48} !44 = !{!34, !12, i64 8} !45 = !{!34, !12, i64 12} !46 = !{!34, !12, i64 44} !47 = !{!34, !12, i64 40} !48 = !{!34, !12, i64 36} !49 = !{!34, !12, i64 32} !50 = !{!34, !12, i64 28} !51 = !{!34, !12, i64 24} !52 = !{!34, !15, i64 16} !53 = !{!18, !9, i64 32} !54 = !{!18, !12, i64 20} !55 = !{!9, !9, i64 0} !56 = distinct !{!56, !57} !57 = !{!"llvm.loop.mustprogress"} !58 = !{!10, !10, i64 0} !59 = !{!18, !9, i64 24}
freebsd_contrib_libarchive_libarchive_extr_archive_read_support_format_7zip.c_archive_read_format_7zip_read_header
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_send_post_data.c' source_filename = "AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_send_post_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64, i64, i64 } @HTTP_STATE_REQ_COMPLETE_HEADER = dso_local local_unnamed_addr global i64 0, align 8 @TAG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Invalid state\00", align 1 @ESP_ERR_INVALID_STATE = dso_local local_unnamed_addr global i32 0, align 4 @ESP_ERR_HTTP_WRITE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @HTTP_STATE_REQ_COMPLETE_DATA = dso_local local_unnamed_addr global i64 0, align 8 @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @esp_http_client_send_post_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @esp_http_client_send_post_data(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @HTTP_STATE_REQ_COMPLETE_HEADER, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load i32, ptr @TAG, align 4, !tbaa !11 %7 = tail call i32 @ESP_LOGE(i32 noundef %6, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !11 br label %37 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %34, label %17 17: ; preds = %13 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = add nsw i64 %19, %11 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @esp_http_client_write(ptr noundef nonnull %0, i64 noundef %20, i64 noundef %22) #2 %24 = icmp slt i32 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %17 %26 = zext nneg i32 %23 to i64 %27 = load i64, ptr %21, align 8, !tbaa !16 %28 = sub nsw i64 %27, %26 store i64 %28, ptr %21, align 8, !tbaa !16 %29 = load i64, ptr %18, align 8, !tbaa !15 %30 = add nsw i64 %29, %26 store i64 %30, ptr %18, align 8, !tbaa !15 %31 = icmp slt i64 %28, 1 br i1 %31, label %34, label %32 32: ; preds = %25 %33 = load i32, ptr @ESP_ERR_HTTP_WRITE_DATA, align 4, !tbaa !11 br label %37 34: ; preds = %25, %9, %13 %35 = load i64, ptr @HTTP_STATE_REQ_COMPLETE_DATA, align 8, !tbaa !10 store i64 %35, ptr %0, align 8, !tbaa !5 %36 = load i32, ptr @ESP_OK, align 4, !tbaa !11 br label %37 37: ; preds = %17, %34, %32, %5 %38 = phi i32 [ %8, %5 ], [ %36, %34 ], [ %33, %32 ], [ %23, %17 ] ret i32 %38 } declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_http_client_write(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 24} !14 = !{!6, !7, i64 32} !15 = !{!6, !7, i64 16} !16 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_send_post_data.c' source_filename = "AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_send_post_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HTTP_STATE_REQ_COMPLETE_HEADER = common local_unnamed_addr global i64 0, align 8 @TAG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Invalid state\00", align 1 @ESP_ERR_INVALID_STATE = common local_unnamed_addr global i32 0, align 4 @ESP_ERR_HTTP_WRITE_DATA = common local_unnamed_addr global i32 0, align 4 @HTTP_STATE_REQ_COMPLETE_DATA = common local_unnamed_addr global i64 0, align 8 @ESP_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @esp_http_client_send_post_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @esp_http_client_send_post_data(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @HTTP_STATE_REQ_COMPLETE_HEADER, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load i32, ptr @TAG, align 4, !tbaa !12 %7 = tail call i32 @ESP_LOGE(i32 noundef %6, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !12 br label %37 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %0, i64 32 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = icmp eq i64 %15, 0 br i1 %16, label %34, label %17 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %0, i64 16 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = add nsw i64 %19, %11 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = tail call i32 @esp_http_client_write(ptr noundef nonnull %0, i64 noundef %20, i64 noundef %22) #2 %24 = icmp slt i32 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %17 %26 = zext nneg i32 %23 to i64 %27 = load i64, ptr %21, align 8, !tbaa !17 %28 = sub nsw i64 %27, %26 store i64 %28, ptr %21, align 8, !tbaa !17 %29 = load i64, ptr %18, align 8, !tbaa !16 %30 = add nsw i64 %29, %26 store i64 %30, ptr %18, align 8, !tbaa !16 %31 = icmp slt i64 %28, 1 br i1 %31, label %34, label %32 32: ; preds = %25 %33 = load i32, ptr @ESP_ERR_HTTP_WRITE_DATA, align 4, !tbaa !12 br label %37 34: ; preds = %25, %9, %13 %35 = load i64, ptr @HTTP_STATE_REQ_COMPLETE_DATA, align 8, !tbaa !11 store i64 %35, ptr %0, align 8, !tbaa !6 %36 = load i32, ptr @ESP_OK, align 4, !tbaa !12 br label %37 37: ; preds = %17, %34, %32, %5 %38 = phi i32 [ %8, %5 ], [ %36, %34 ], [ %33, %32 ], [ %23, %17 ] ret i32 %38 } declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_http_client_write(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 24} !15 = !{!7, !8, i64 32} !16 = !{!7, !8, i64 16} !17 = !{!7, !8, i64 8}
esp-idf_components_esp_http_client_extr_esp_http_client.c_esp_http_client_send_post_data
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_shorten.c_decode_subframe_lpc.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_shorten.c_decode_subframe_lpc.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, i32, i32, i32, i32 } @FN_QLPC = dso_local local_unnamed_addr global i32 0, align 4 @LPCQSIZE = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"invalid pred_order %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @LPCQUANT = dso_local local_unnamed_addr global i32 0, align 4 @fixed_coeffs = dso_local local_unnamed_addr global ptr null, align 8 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_subframe_lpc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @decode_subframe_lpc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @FN_QLPC, align 4, !tbaa !5 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %37 8: ; preds = %5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %10 = load i32, ptr @LPCQSIZE, align 4, !tbaa !5 %11 = tail call i32 @get_ur_golomb_shorten(ptr noundef nonnull %9, i32 noundef %10) #3 %12 = load i32, ptr %0, align 8, !tbaa !9 %13 = icmp ugt i32 %11, %12 br i1 %13, label %19, label %14 14: ; preds = %8 %15 = icmp sgt i32 %11, 0 br i1 %15, label %16, label %34 16: ; preds = %14 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %18 = zext nneg i32 %11 to i64 br label %26 19: ; preds = %8 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %23 = tail call i32 @av_log(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %11) #3 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = tail call i32 @AVERROR(i32 noundef %24) #3 br label %204 26: ; preds = %16, %26 %27 = phi i64 [ 0, %16 ], [ %32, %26 ] %28 = load i32, ptr @LPCQUANT, align 4, !tbaa !5 %29 = tail call i32 @get_sr_golomb_shorten(ptr noundef nonnull %9, i32 noundef %28) #3 %30 = load ptr, ptr %17, align 8, !tbaa !13 %31 = getelementptr inbounds i32, ptr %30, i64 %27 store i32 %29, ptr %31, align 4, !tbaa !5 %32 = add nuw nsw i64 %27, 1 %33 = icmp eq i64 %32, %18 br i1 %33, label %34, label %26, !llvm.loop !14 34: ; preds = %26, %14 %35 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %36 = load i32, ptr @LPCQUANT, align 4, !tbaa !5 br label %51 37: ; preds = %5 %38 = load ptr, ptr @fixed_coeffs, align 8, !tbaa !16 %39 = tail call i32 @FF_ARRAY_ELEMS(ptr noundef %38) #3 %40 = icmp sgt i32 %39, %1 br i1 %40, label %47, label %41 41: ; preds = %37 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 %43 = load i32, ptr %42, align 4, !tbaa !12 %44 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %45 = tail call i32 @av_log(i32 noundef %43, i32 noundef %44, ptr noundef nonnull @.str, i32 noundef %1) #3 %46 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !5 br label %204 47: ; preds = %37 %48 = load ptr, ptr @fixed_coeffs, align 8, !tbaa !16 %49 = sext i32 %1 to i64 %50 = getelementptr inbounds ptr, ptr %48, i64 %49 br label %51 51: ; preds = %47, %34 %52 = phi i32 [ %11, %34 ], [ %1, %47 ] %53 = phi i32 [ %36, %34 ], [ 0, %47 ] %54 = phi ptr [ %35, %34 ], [ %50, %47 ] %55 = load ptr, ptr %54, align 8, !tbaa !16 %56 = load i32, ptr @FN_QLPC, align 4, !tbaa !5 %57 = icmp eq i32 %56, %1 %58 = icmp ne i32 %4, 0 %59 = icmp sgt i32 %52, 0 %60 = and i1 %57, %59 %61 = and i1 %60, %58 br i1 %61, label %62, label %100 62: ; preds = %51 %63 = sub nsw i32 0, %52 %64 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %65 = load ptr, ptr %64, align 8, !tbaa !17 %66 = sext i32 %2 to i64 %67 = getelementptr inbounds ptr, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8, !tbaa !16 %69 = sext i32 %63 to i64 %70 = zext i32 %52 to i64 %71 = icmp ult i32 %52, 8 br i1 %71, label %90, label %72 72: ; preds = %62 %73 = and i64 %70, 4294967288 %74 = add nsw i64 %73, %69 %75 = insertelement <4 x i32> poison, i32 %4, i64 0 %76 = shufflevector <4 x i32> %75, <4 x i32> poison, <4 x i32> zeroinitializer %77 = getelementptr i32, ptr %68, i64 %69 br label %78 78: ; preds = %78, %72 %79 = phi i64 [ 0, %72 ], [ %86, %78 ] %80 = getelementptr i32, ptr %77, i64 %79 %81 = getelementptr inbounds i32, ptr %80, i64 4 %82 = load <4 x i32>, ptr %80, align 4, !tbaa !5 %83 = load <4 x i32>, ptr %81, align 4, !tbaa !5 %84 = sub <4 x i32> %82, %76 %85 = sub <4 x i32> %83, %76 store <4 x i32> %84, ptr %80, align 4, !tbaa !5 store <4 x i32> %85, ptr %81, align 4, !tbaa !5 %86 = add nuw i64 %79, 8 %87 = icmp eq i64 %86, %73 br i1 %87, label %88, label %78, !llvm.loop !18 88: ; preds = %78 %89 = icmp eq i64 %73, %70 br i1 %89, label %100, label %90 90: ; preds = %62, %88 %91 = phi i64 [ %69, %62 ], [ %74, %88 ] br label %92 92: ; preds = %90, %92 %93 = phi i64 [ %97, %92 ], [ %91, %90 ] %94 = getelementptr inbounds i32, ptr %68, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !5 %96 = sub i32 %95, %4 store i32 %96, ptr %94, align 4, !tbaa !5 %97 = add nsw i64 %93, 1 %98 = and i64 %97, 4294967295 %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %92, !llvm.loop !21 100: ; preds = %92, %88, %51 %101 = icmp eq i32 %52, 0 br i1 %101, label %108, label %102 102: ; preds = %100 %103 = load i32, ptr @FN_QLPC, align 4, !tbaa !5 %104 = icmp eq i32 %103, %1 br i1 %104, label %105, label %108 105: ; preds = %102 %106 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %107 = load i32, ptr %106, align 8, !tbaa !22 br label %108 108: ; preds = %100, %105, %102 %109 = phi i32 [ %107, %105 ], [ 0, %102 ], [ %4, %100 ] %110 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %111 = load i32, ptr %110, align 4, !tbaa !23 %112 = icmp sgt i32 %111, 0 br i1 %112, label %113, label %204 113: ; preds = %108 %114 = icmp sgt i32 %52, 0 %115 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %116 = sext i32 %2 to i64 %117 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %118 = zext i32 %52 to i64 %119 = icmp ult i32 %52, 8 %120 = and i64 %118, 2147483640 %121 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %109, i64 0 %122 = icmp eq i64 %120, %118 br label %123 123: ; preds = %113, %170 %124 = phi i64 [ 0, %113 ], [ %179, %170 ] br i1 %114, label %125, label %170 125: ; preds = %123 %126 = load ptr, ptr %115, align 8, !tbaa !17 %127 = getelementptr inbounds ptr, ptr %126, i64 %116 %128 = load ptr, ptr %127, align 8, !tbaa !16 %129 = getelementptr i32, ptr %128, i64 %124 br i1 %119, label %155, label %130 130: ; preds = %125, %130 %131 = phi i64 [ %150, %130 ], [ 0, %125 ] %132 = phi <4 x i32> [ %148, %130 ], [ %121, %125 ] %133 = phi <4 x i32> [ %149, %130 ], [ zeroinitializer, %125 ] %134 = getelementptr inbounds i32, ptr %55, i64 %131 %135 = getelementptr inbounds i32, ptr %134, i64 4 %136 = load <4 x i32>, ptr %134, align 4, !tbaa !5 %137 = load <4 x i32>, ptr %135, align 4, !tbaa !5 %138 = xor i64 %131, -1 %139 = getelementptr i32, ptr %129, i64 %138 %140 = getelementptr i32, ptr %139, i64 -3 %141 = getelementptr i32, ptr %139, i64 -7 %142 = load <4 x i32>, ptr %140, align 4, !tbaa !5 %143 = shufflevector <4 x i32> %142, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %144 = load <4 x i32>, ptr %141, align 4, !tbaa !5 %145 = shufflevector <4 x i32> %144, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %146 = mul <4 x i32> %143, %136 %147 = mul <4 x i32> %145, %137 %148 = add <4 x i32> %146, %132 %149 = add <4 x i32> %147, %133 %150 = add nuw i64 %131, 8 %151 = icmp eq i64 %150, %120 br i1 %151, label %152, label %130, !llvm.loop !24 152: ; preds = %130 %153 = add <4 x i32> %149, %148 %154 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %153) br i1 %122, label %170, label %155 155: ; preds = %125, %152 %156 = phi i64 [ 0, %125 ], [ %120, %152 ] %157 = phi i32 [ %109, %125 ], [ %154, %152 ] br label %158 158: ; preds = %155, %158 %159 = phi i64 [ %168, %158 ], [ %156, %155 ] %160 = phi i32 [ %167, %158 ], [ %157, %155 ] %161 = getelementptr inbounds i32, ptr %55, i64 %159 %162 = load i32, ptr %161, align 4, !tbaa !5 %163 = xor i64 %159, -1 %164 = getelementptr i32, ptr %129, i64 %163 %165 = load i32, ptr %164, align 4, !tbaa !5 %166 = mul i32 %165, %162 %167 = add i32 %166, %160 %168 = add nuw nsw i64 %159, 1 %169 = icmp eq i64 %168, %118 br i1 %169, label %170, label %158, !llvm.loop !25 170: ; preds = %158, %152, %123 %171 = phi i32 [ %109, %123 ], [ %154, %152 ], [ %167, %158 ] %172 = tail call i32 @get_sr_golomb_shorten(ptr noundef nonnull %117, i32 noundef %3) #3 %173 = ashr i32 %171, %53 %174 = add i32 %172, %173 %175 = load ptr, ptr %115, align 8, !tbaa !17 %176 = getelementptr inbounds ptr, ptr %175, i64 %116 %177 = load ptr, ptr %176, align 8, !tbaa !16 %178 = getelementptr inbounds i32, ptr %177, i64 %124 store i32 %174, ptr %178, align 4, !tbaa !5 %179 = add nuw nsw i64 %124, 1 %180 = load i32, ptr %110, align 4, !tbaa !23 %181 = sext i32 %180 to i64 %182 = icmp slt i64 %179, %181 br i1 %182, label %123, label %183, !llvm.loop !26 183: ; preds = %170 %184 = icmp sgt i32 %180, 0 %185 = load i32, ptr @FN_QLPC, align 4, !tbaa !5 %186 = icmp eq i32 %185, %1 %187 = and i1 %186, %184 %188 = and i1 %187, %58 br i1 %188, label %189, label %204 189: ; preds = %183 %190 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %191 = load ptr, ptr %190, align 8, !tbaa !17 %192 = sext i32 %2 to i64 %193 = getelementptr inbounds ptr, ptr %191, i64 %192 %194 = load ptr, ptr %193, align 8, !tbaa !16 br label %195 195: ; preds = %189, %195 %196 = phi i64 [ 0, %189 ], [ %200, %195 ] %197 = getelementptr inbounds i32, ptr %194, i64 %196 %198 = load i32, ptr %197, align 4, !tbaa !5 %199 = add i32 %198, %4 store i32 %199, ptr %197, align 4, !tbaa !5 %200 = add nuw nsw i64 %196, 1 %201 = load i32, ptr %110, align 4, !tbaa !23 %202 = sext i32 %201 to i64 %203 = icmp slt i64 %200, %202 br i1 %203, label %195, label %204, !llvm.loop !27 204: ; preds = %195, %183, %108, %41, %19 %205 = phi i32 [ %25, %19 ], [ %46, %41 ], [ 0, %183 ], [ 0, %108 ], [ 0, %195 ] ret i32 %205 } declare i32 @get_ur_golomb_shorten(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @get_sr_golomb_shorten(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FF_ARRAY_ELEMS(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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_3__", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 36} !13 = !{!10, !11, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!11, !11, i64 0} !17 = !{!10, !11, i64 16} !18 = distinct !{!18, !15, !19, !20} !19 = !{!"llvm.loop.isvectorized", i32 1} !20 = !{!"llvm.loop.unroll.runtime.disable"} !21 = distinct !{!21, !15, !20, !19} !22 = !{!10, !6, i64 24} !23 = !{!10, !6, i64 28} !24 = distinct !{!24, !15, !19, !20} !25 = distinct !{!25, !15, !20, !19} !26 = distinct !{!26, !15} !27 = distinct !{!27, !15}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_shorten.c_decode_subframe_lpc.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_shorten.c_decode_subframe_lpc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FN_QLPC = common local_unnamed_addr global i32 0, align 4 @LPCQSIZE = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"invalid pred_order %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @LPCQUANT = common local_unnamed_addr global i32 0, align 4 @fixed_coeffs = common local_unnamed_addr global ptr null, align 8 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decode_subframe_lpc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @decode_subframe_lpc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @FN_QLPC, align 4, !tbaa !6 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %37 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load i32, ptr @LPCQSIZE, align 4, !tbaa !6 %11 = tail call i32 @get_ur_golomb_shorten(ptr noundef nonnull %9, i32 noundef %10) #3 %12 = load i32, ptr %0, align 8, !tbaa !10 %13 = icmp ugt i32 %11, %12 br i1 %13, label %19, label %14 14: ; preds = %8 %15 = icmp sgt i32 %11, 0 br i1 %15, label %16, label %34 16: ; preds = %14 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = zext nneg i32 %11 to i64 br label %26 19: ; preds = %8 %20 = getelementptr inbounds i8, ptr %0, i64 36 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %23 = tail call i32 @av_log(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %11) #3 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = tail call i32 @AVERROR(i32 noundef %24) #3 br label %225 26: ; preds = %16, %26 %27 = phi i64 [ 0, %16 ], [ %32, %26 ] %28 = load i32, ptr @LPCQUANT, align 4, !tbaa !6 %29 = tail call i32 @get_sr_golomb_shorten(ptr noundef nonnull %9, i32 noundef %28) #3 %30 = load ptr, ptr %17, align 8, !tbaa !14 %31 = getelementptr inbounds i32, ptr %30, i64 %27 store i32 %29, ptr %31, align 4, !tbaa !6 %32 = add nuw nsw i64 %27, 1 %33 = icmp eq i64 %32, %18 br i1 %33, label %34, label %26, !llvm.loop !15 34: ; preds = %26, %14 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = load i32, ptr @LPCQUANT, align 4, !tbaa !6 br label %51 37: ; preds = %5 %38 = load ptr, ptr @fixed_coeffs, align 8, !tbaa !17 %39 = tail call i32 @FF_ARRAY_ELEMS(ptr noundef %38) #3 %40 = icmp sgt i32 %39, %1 br i1 %40, label %47, label %41 41: ; preds = %37 %42 = getelementptr inbounds i8, ptr %0, i64 36 %43 = load i32, ptr %42, align 4, !tbaa !13 %44 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %45 = tail call i32 @av_log(i32 noundef %43, i32 noundef %44, ptr noundef nonnull @.str, i32 noundef %1) #3 %46 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !6 br label %225 47: ; preds = %37 %48 = load ptr, ptr @fixed_coeffs, align 8, !tbaa !17 %49 = sext i32 %1 to i64 %50 = getelementptr inbounds ptr, ptr %48, i64 %49 br label %51 51: ; preds = %47, %34 %52 = phi i32 [ %11, %34 ], [ %1, %47 ] %53 = phi i32 [ %36, %34 ], [ 0, %47 ] %54 = phi ptr [ %35, %34 ], [ %50, %47 ] %55 = load ptr, ptr %54, align 8, !tbaa !17 %56 = load i32, ptr @FN_QLPC, align 4, !tbaa !6 %57 = icmp eq i32 %56, %1 %58 = icmp ne i32 %4, 0 %59 = icmp sgt i32 %52, 0 %60 = and i1 %57, %59 %61 = and i1 %60, %58 br i1 %61, label %62, label %106 62: ; preds = %51 %63 = sub nsw i32 0, %52 %64 = getelementptr inbounds i8, ptr %0, i64 16 %65 = load ptr, ptr %64, align 8, !tbaa !18 %66 = sext i32 %2 to i64 %67 = getelementptr inbounds ptr, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8, !tbaa !17 %69 = sext i32 %63 to i64 %70 = zext nneg i32 %52 to i64 %71 = icmp ult i32 %52, 16 br i1 %71, label %96, label %72 72: ; preds = %62 %73 = and i64 %70, 2147483632 %74 = add nsw i64 %73, %69 %75 = insertelement <4 x i32> poison, i32 %4, i64 0 %76 = shufflevector <4 x i32> %75, <4 x i32> poison, <4 x i32> zeroinitializer %77 = getelementptr i32, ptr %68, i64 %69 br label %78 78: ; preds = %78, %72 %79 = phi i64 [ 0, %72 ], [ %92, %78 ] %80 = getelementptr i32, ptr %77, i64 %79 %81 = getelementptr inbounds i8, ptr %80, i64 16 %82 = getelementptr inbounds i8, ptr %80, i64 32 %83 = getelementptr inbounds i8, ptr %80, i64 48 %84 = load <4 x i32>, ptr %80, align 4, !tbaa !6 %85 = load <4 x i32>, ptr %81, align 4, !tbaa !6 %86 = load <4 x i32>, ptr %82, align 4, !tbaa !6 %87 = load <4 x i32>, ptr %83, align 4, !tbaa !6 %88 = sub <4 x i32> %84, %76 %89 = sub <4 x i32> %85, %76 %90 = sub <4 x i32> %86, %76 %91 = sub <4 x i32> %87, %76 store <4 x i32> %88, ptr %80, align 4, !tbaa !6 store <4 x i32> %89, ptr %81, align 4, !tbaa !6 store <4 x i32> %90, ptr %82, align 4, !tbaa !6 store <4 x i32> %91, ptr %83, align 4, !tbaa !6 %92 = add nuw i64 %79, 16 %93 = icmp eq i64 %92, %73 br i1 %93, label %94, label %78, !llvm.loop !19 94: ; preds = %78 %95 = icmp eq i64 %73, %70 br i1 %95, label %106, label %96 96: ; preds = %94, %62 %97 = phi i64 [ %69, %62 ], [ %74, %94 ] br label %98 98: ; preds = %96, %98 %99 = phi i64 [ %103, %98 ], [ %97, %96 ] %100 = getelementptr inbounds i32, ptr %68, i64 %99 %101 = load i32, ptr %100, align 4, !tbaa !6 %102 = sub i32 %101, %4 store i32 %102, ptr %100, align 4, !tbaa !6 %103 = add nsw i64 %99, 1 %104 = and i64 %103, 4294967295 %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %98, !llvm.loop !22 106: ; preds = %98, %94, %51 %107 = icmp eq i32 %52, 0 br i1 %107, label %114, label %108 108: ; preds = %106 %109 = load i32, ptr @FN_QLPC, align 4, !tbaa !6 %110 = icmp eq i32 %109, %1 br i1 %110, label %111, label %114 111: ; preds = %108 %112 = getelementptr inbounds i8, ptr %0, i64 24 %113 = load i32, ptr %112, align 8, !tbaa !23 br label %114 114: ; preds = %106, %111, %108 %115 = phi i32 [ %113, %111 ], [ 0, %108 ], [ %4, %106 ] %116 = getelementptr inbounds i8, ptr %0, i64 28 %117 = load i32, ptr %116, align 4, !tbaa !24 %118 = icmp sgt i32 %117, 0 br i1 %118, label %119, label %225 119: ; preds = %114 %120 = getelementptr inbounds i8, ptr %0, i64 16 %121 = sext i32 %2 to i64 %122 = getelementptr inbounds i8, ptr %0, i64 32 %123 = zext i32 %52 to i64 %124 = icmp ult i32 %52, 16 %125 = and i64 %123, 2147483632 %126 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %115, i64 0 %127 = icmp eq i64 %125, %123 br label %128 128: ; preds = %119, %193 %129 = phi i64 [ 0, %119 ], [ %202, %193 ] br i1 %59, label %130, label %193 130: ; preds = %128 %131 = load ptr, ptr %120, align 8, !tbaa !18 %132 = getelementptr inbounds ptr, ptr %131, i64 %121 %133 = load ptr, ptr %132, align 8, !tbaa !17 %134 = getelementptr i32, ptr %133, i64 %129 br i1 %124, label %178, label %135 135: ; preds = %130, %135 %136 = phi i64 [ %171, %135 ], [ 0, %130 ] %137 = phi <4 x i32> [ %167, %135 ], [ %126, %130 ] %138 = phi <4 x i32> [ %168, %135 ], [ zeroinitializer, %130 ] %139 = phi <4 x i32> [ %169, %135 ], [ zeroinitializer, %130 ] %140 = phi <4 x i32> [ %170, %135 ], [ zeroinitializer, %130 ] %141 = getelementptr inbounds i32, ptr %55, i64 %136 %142 = getelementptr inbounds i8, ptr %141, i64 16 %143 = getelementptr inbounds i8, ptr %141, i64 32 %144 = getelementptr inbounds i8, ptr %141, i64 48 %145 = load <4 x i32>, ptr %141, align 4, !tbaa !6 %146 = load <4 x i32>, ptr %142, align 4, !tbaa !6 %147 = load <4 x i32>, ptr %143, align 4, !tbaa !6 %148 = load <4 x i32>, ptr %144, align 4, !tbaa !6 %149 = xor i64 %136, -1 %150 = getelementptr i32, ptr %134, i64 %149 %151 = getelementptr i8, ptr %150, i64 -12 %152 = getelementptr i8, ptr %150, i64 -28 %153 = getelementptr i8, ptr %150, i64 -44 %154 = getelementptr i8, ptr %150, i64 -60 %155 = load <4 x i32>, ptr %151, align 4, !tbaa !6 %156 = shufflevector <4 x i32> %155, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %157 = load <4 x i32>, ptr %152, align 4, !tbaa !6 %158 = shufflevector <4 x i32> %157, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %159 = load <4 x i32>, ptr %153, align 4, !tbaa !6 %160 = shufflevector <4 x i32> %159, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %161 = load <4 x i32>, ptr %154, align 4, !tbaa !6 %162 = shufflevector <4 x i32> %161, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %163 = mul <4 x i32> %156, %145 %164 = mul <4 x i32> %158, %146 %165 = mul <4 x i32> %160, %147 %166 = mul <4 x i32> %162, %148 %167 = add <4 x i32> %163, %137 %168 = add <4 x i32> %164, %138 %169 = add <4 x i32> %165, %139 %170 = add <4 x i32> %166, %140 %171 = add nuw i64 %136, 16 %172 = icmp eq i64 %171, %125 br i1 %172, label %173, label %135, !llvm.loop !25 173: ; preds = %135 %174 = add <4 x i32> %168, %167 %175 = add <4 x i32> %169, %174 %176 = add <4 x i32> %170, %175 %177 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %176) br i1 %127, label %193, label %178 178: ; preds = %173, %130 %179 = phi i64 [ 0, %130 ], [ %125, %173 ] %180 = phi i32 [ %115, %130 ], [ %177, %173 ] br label %181 181: ; preds = %178, %181 %182 = phi i64 [ %191, %181 ], [ %179, %178 ] %183 = phi i32 [ %190, %181 ], [ %180, %178 ] %184 = getelementptr inbounds i32, ptr %55, i64 %182 %185 = load i32, ptr %184, align 4, !tbaa !6 %186 = xor i64 %182, -1 %187 = getelementptr i32, ptr %134, i64 %186 %188 = load i32, ptr %187, align 4, !tbaa !6 %189 = mul i32 %188, %185 %190 = add i32 %189, %183 %191 = add nuw nsw i64 %182, 1 %192 = icmp eq i64 %191, %123 br i1 %192, label %193, label %181, !llvm.loop !26 193: ; preds = %181, %173, %128 %194 = phi i32 [ %115, %128 ], [ %177, %173 ], [ %190, %181 ] %195 = tail call i32 @get_sr_golomb_shorten(ptr noundef nonnull %122, i32 noundef %3) #3 %196 = ashr i32 %194, %53 %197 = add i32 %195, %196 %198 = load ptr, ptr %120, align 8, !tbaa !18 %199 = getelementptr inbounds ptr, ptr %198, i64 %121 %200 = load ptr, ptr %199, align 8, !tbaa !17 %201 = getelementptr inbounds i32, ptr %200, i64 %129 store i32 %197, ptr %201, align 4, !tbaa !6 %202 = add nuw nsw i64 %129, 1 %203 = load i32, ptr %116, align 4, !tbaa !24 %204 = sext i32 %203 to i64 %205 = icmp slt i64 %202, %204 br i1 %205, label %128, label %206, !llvm.loop !27 206: ; preds = %193 %207 = icmp sgt i32 %203, 0 %208 = load i32, ptr @FN_QLPC, align 4, !tbaa !6 %209 = icmp eq i32 %208, %1 %210 = and i1 %209, %207 %211 = and i1 %210, %58 br i1 %211, label %212, label %225 212: ; preds = %206 %213 = load ptr, ptr %120, align 8, !tbaa !18 %214 = getelementptr inbounds ptr, ptr %213, i64 %121 %215 = load ptr, ptr %214, align 8, !tbaa !17 br label %216 216: ; preds = %212, %216 %217 = phi i64 [ 0, %212 ], [ %221, %216 ] %218 = getelementptr inbounds i32, ptr %215, i64 %217 %219 = load i32, ptr %218, align 4, !tbaa !6 %220 = add i32 %219, %4 store i32 %220, ptr %218, align 4, !tbaa !6 %221 = add nuw nsw i64 %217, 1 %222 = load i32, ptr %116, align 4, !tbaa !24 %223 = sext i32 %222 to i64 %224 = icmp slt i64 %221, %223 br i1 %224, label %216, label %225, !llvm.loop !28 225: ; preds = %216, %206, %114, %41, %19 %226 = phi i32 [ %25, %19 ], [ %46, %41 ], [ 0, %206 ], [ 0, %114 ], [ 0, %216 ] ret i32 %226 } declare i32 @get_ur_golomb_shorten(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @get_sr_golomb_shorten(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FF_ARRAY_ELEMS(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_3__", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 36} !14 = !{!11, !12, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!12, !12, i64 0} !18 = !{!11, !12, i64 16} !19 = distinct !{!19, !16, !20, !21} !20 = !{!"llvm.loop.isvectorized", i32 1} !21 = !{!"llvm.loop.unroll.runtime.disable"} !22 = distinct !{!22, !16, !21, !20} !23 = !{!11, !7, i64 24} !24 = !{!11, !7, i64 28} !25 = distinct !{!25, !16, !20, !21} !26 = distinct !{!26, !16, !21, !20} !27 = distinct !{!27, !16} !28 = distinct !{!28, !16}
FFmpeg_libavcodec_extr_shorten.c_decode_subframe_lpc
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_index.c_ntfs_index_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_index.c_ntfs_index_lookup.c" target datalayout = "e-m:e-p270:32:32-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_33__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_32__ = type { i64, i32, i32, %struct.TYPE_47__, i32, i32, %struct.TYPE_38__, ptr } %struct.TYPE_47__ = type { %struct.TYPE_46__ } %struct.TYPE_46__ = type { i32, i32, i32 } %struct.TYPE_38__ = type { ptr } %struct.TYPE_31__ = type { i32, ptr } %struct.TYPE_34__ = type { i64, ptr } %struct.TYPE_43__ = type { i32, i32 } %struct.TYPE_36__ = type { i32, i32, i32, i32, %struct.TYPE_45__ } %struct.TYPE_45__ = type { %struct.TYPE_44__ } %struct.TYPE_44__ = type { i32, i32 } %struct.TYPE_37__ = type { %struct.TYPE_30__, i32, i32 } %struct.TYPE_30__ = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"Entering.\00", align 1 @AT_INDEX_ALLOCATION = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [62 x i8] c"Index uses unsupported collation rule 0x%x. Aborting lookup.\00", align 1 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"map_mft_record() failed with error code %ld.\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @AT_INDEX_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @CASE_SENSITIVE = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"Index root attribute missing in inode 0x%lx.\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @INDEX_ENTRY_END = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"Done.\00", align 1 @INDEX_ENTRY_NODE = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"Entry not found.\00", align 1 @.str.6 = private unnamed_addr constant [99 x i8] c"No index allocation attribute but index entry requires one. Inode 0x%lx is corrupt or driver bug.\00", align 1 @PAGE_CACHE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [37 x i8] c"Failed to map index page, error %ld.\00", align 1 @PAGE_CACHE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_CACHE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [64 x i8] c"Out of bounds check failed. Corrupt inode 0x%lx or driver bug.\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c"Index record with vcn 0x%llx is corrupt. Corrupt inode 0x%lx. Run chkdsk.\00", align 1 @.str.10 = private unnamed_addr constant [116 x i8] c"Actual VCN (0x%llx) of index buffer is different from expected VCN (0x%llx). Inode 0x%lx is corrupt or driver bug.\00", align 1 @.str.11 = private unnamed_addr constant [136 x i8] c"Index buffer (VCN 0x%llx) of inode 0x%lx has a size (%u) differing from the index specified size (%u). Inode is corrupt or driver bug.\00", align 1 @.str.12 = private unnamed_addr constant [132 x i8] c"Index buffer (VCN 0x%llx) of inode 0x%lx crosses page boundary. Impossible! Cannot access! This is probably a bug in the driver.\00", align 1 @.str.13 = private unnamed_addr constant [71 x i8] c"Size of index buffer (VCN 0x%llx) of inode 0x%lx exceeds maximum size.\00", align 1 @.str.14 = private unnamed_addr constant [42 x i8] c"Index entry out of bounds in inode 0x%lx.\00", align 1 @NODE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @LEAF_NODE = dso_local local_unnamed_addr global i32 0, align 4 @.str.15 = private unnamed_addr constant [65 x i8] c"Index entry with child node found in a leaf node in inode 0x%lx.\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"Negative child node vcn in inode 0x%lx.\00", align 1 @.str.17 = private unnamed_addr constant [33 x i8] c"Corrupt index. Aborting lookup.\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ntfs_index_lookup(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 9 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 7 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.TYPE_31__, ptr %7, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !17 %10 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 6 %11 = load ptr, ptr %10, align 8, !tbaa !19 %12 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str) #3 %13 = tail call i32 @NInoAttr(ptr noundef %5) #3 %14 = icmp eq i32 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i32 @BUG_ON(i32 noundef %15) #3 %17 = load i64, ptr %5, align 8, !tbaa !20 %18 = load i64, ptr @AT_INDEX_ALLOCATION, align 8, !tbaa !21 %19 = icmp ne i64 %17, %18 %20 = zext i1 %19 to i32 %21 = tail call i32 @BUG_ON(i32 noundef %20) #3 %22 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !22 %24 = icmp ne i32 %23, -1 %25 = zext i1 %24 to i32 %26 = tail call i32 @BUG_ON(i32 noundef %25) #3 %27 = icmp eq ptr %11, null %28 = zext i1 %27 to i32 %29 = tail call i32 @BUG_ON(i32 noundef %28) #3 %30 = icmp eq ptr %0, null %31 = zext i1 %30 to i32 %32 = tail call i32 @BUG_ON(i32 noundef %31) #3 %33 = icmp slt i32 %1, 1 %34 = zext i1 %33 to i32 %35 = tail call i32 @BUG_ON(i32 noundef %34) #3 %36 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 3 %37 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 3, i32 0, i32 2 %38 = load i32, ptr %37, align 8, !tbaa !23 %39 = tail call i32 @ntfs_is_collation_rule_supported(i32 noundef %38) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %3 %42 = load i32, ptr %37, align 8, !tbaa !23 %43 = tail call i32 @le32_to_cpu(i32 noundef %42) #3 %44 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.1, i32 noundef %43) #3 %45 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !24 %46 = sub nsw i32 0, %45 br label %466 47: ; preds = %3 %48 = tail call ptr @map_mft_record(ptr noundef %11) #3 %49 = tail call i64 @IS_ERR(ptr noundef %48) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %56, label %51 51: ; preds = %47 %52 = tail call i32 @PTR_ERR(ptr noundef %48) #3 %53 = sub nsw i32 0, %52 %54 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.2, i32 noundef %53) #3 %55 = tail call i32 @PTR_ERR(ptr noundef %48) #3 br label %466 56: ; preds = %47 %57 = tail call ptr @ntfs_attr_get_search_ctx(ptr noundef %11, ptr noundef %48) #3 %58 = icmp eq ptr %57, null %59 = zext i1 %58 to i32 %60 = tail call i64 @unlikely(i32 noundef %59) #3 %61 = icmp eq i64 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %56 %63 = load i32, ptr @ENOMEM, align 4, !tbaa !24 %64 = sub nsw i32 0, %63 br label %452 65: ; preds = %56 %66 = load i32, ptr @AT_INDEX_ROOT, align 4, !tbaa !24 %67 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 5 %68 = load i32, ptr %67, align 8, !tbaa !25 %69 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 4 %70 = load i32, ptr %69, align 4, !tbaa !26 %71 = load i32, ptr @CASE_SENSITIVE, align 4, !tbaa !24 %72 = tail call i32 @ntfs_attr_lookup(i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %71, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef %57) #3 %73 = tail call i64 @unlikely(i32 noundef %72) #3 %74 = icmp eq i64 %73, 0 br i1 %74, label %85, label %75 75: ; preds = %65 %76 = load i32, ptr @ENOENT, align 4, !tbaa !24 %77 = sub nsw i32 0, %76 %78 = icmp eq i32 %72, %77 br i1 %78, label %79, label %452 79: ; preds = %75 %80 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %81 = load i32, ptr %80, align 4, !tbaa !27 %82 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.3, i32 noundef %81) #3 %83 = load i32, ptr @EIO, align 4, !tbaa !24 %84 = sub nsw i32 0, %83 br label %452 85: ; preds = %65 %86 = getelementptr inbounds %struct.TYPE_34__, ptr %57, i64 0, i32 1 %87 = load ptr, ptr %86, align 8, !tbaa !28 %88 = load i32, ptr %87, align 4, !tbaa !30 %89 = tail call i32 @le16_to_cpu(i32 noundef %88) #3 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %87, i64 %90 %92 = getelementptr inbounds %struct.TYPE_43__, ptr %91, i64 0, i32 1 %93 = load i32, ptr %92, align 4, !tbaa !34 %94 = tail call i32 @le32_to_cpu(i32 noundef %93) #3 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %91, i64 %95 %97 = load i32, ptr %91, align 4, !tbaa !37 %98 = tail call i32 @le32_to_cpu(i32 noundef %97) #3 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %91, i64 %99 %101 = load i64, ptr %57, align 8, !tbaa !38 %102 = inttoptr i64 %101 to ptr %103 = icmp ult ptr %100, %102 br i1 %103, label %464, label %104 104: ; preds = %85, %175 %105 = phi ptr [ %179, %175 ], [ %100, %85 ] %106 = getelementptr inbounds i32, ptr %105, i64 4 %107 = icmp ugt ptr %106, %96 br i1 %107, label %464, label %108 108: ; preds = %104 %109 = getelementptr inbounds %struct.TYPE_36__, ptr %105, i64 0, i32 1 %110 = load i32, ptr %109, align 4, !tbaa !39 %111 = tail call i32 @le16_to_cpu(i32 noundef %110) #3 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %105, i64 %112 %114 = icmp ugt ptr %113, %96 br i1 %114, label %464, label %115 115: ; preds = %108 %116 = load i32, ptr %105, align 4, !tbaa !43 %117 = load i32, ptr @INDEX_ENTRY_END, align 4, !tbaa !24 %118 = and i32 %117, %116 %119 = icmp eq i32 %118, 0 br i1 %119, label %120, label %183 120: ; preds = %115 %121 = getelementptr inbounds %struct.TYPE_36__, ptr %105, i64 0, i32 2 %122 = load i32, ptr %121, align 4, !tbaa !44 %123 = tail call i32 @le16_to_cpu(i32 noundef %122) #3 %124 = add nsw i32 %123, 4 %125 = getelementptr inbounds i32, ptr %105, i64 5 %126 = load i32, ptr %125, align 4, !tbaa !45 %127 = tail call i32 @le16_to_cpu(i32 noundef %126) #3 %128 = icmp sgt i32 %124, %127 br i1 %128, label %464, label %129 129: ; preds = %120 %130 = load i32, ptr %125, align 4, !tbaa !45 %131 = tail call i32 @le16_to_cpu(i32 noundef %130) #3 %132 = load i32, ptr %106, align 4, !tbaa !46 %133 = tail call i32 @le16_to_cpu(i32 noundef %132) #3 %134 = add nsw i32 %133, %131 %135 = load i32, ptr %109, align 4, !tbaa !39 %136 = tail call i32 @le16_to_cpu(i32 noundef %135) #3 %137 = icmp sgt i32 %134, %136 br i1 %137, label %464, label %138 138: ; preds = %129 %139 = load i32, ptr %121, align 4, !tbaa !44 %140 = tail call i32 @le16_to_cpu(i32 noundef %139) #3 %141 = icmp eq i32 %140, %1 br i1 %141, label %142, label %167 142: ; preds = %138 %143 = getelementptr inbounds %struct.TYPE_36__, ptr %105, i64 0, i32 3 %144 = tail call i32 @memcmp(ptr noundef %0, ptr noundef nonnull %143, i32 noundef %1) #3 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %167 146: ; preds = %167, %142, %188 %147 = phi i32 [ %191, %188 ], [ %72, %142 ], [ %72, %167 ] store i32 1, ptr %2, align 8, !tbaa !47 %148 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 8 store ptr %91, ptr %148, align 8, !tbaa !48 %149 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 5 store ptr %57, ptr %149, align 8, !tbaa !49 %150 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 4 store ptr %11, ptr %150, align 8, !tbaa !50 %151 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %151, i8 0, i64 16, i1 false) br label %152 152: ; preds = %375, %146 %153 = phi ptr [ %326, %375 ], [ %105, %146 ] %154 = phi i32 [ %376, %375 ], [ %147, %146 ] %155 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 7 store ptr %153, ptr %155, align 8, !tbaa !51 %156 = getelementptr inbounds %struct.TYPE_36__, ptr %153, i64 0, i32 4 %157 = getelementptr inbounds %struct.TYPE_36__, ptr %153, i64 0, i32 4, i32 0, i32 1 %158 = load i32, ptr %157, align 4, !tbaa !45 %159 = tail call i32 @le16_to_cpu(i32 noundef %158) #3 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %153, i64 %160 %162 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 6 store ptr %161, ptr %162, align 8, !tbaa !52 %163 = load i32, ptr %156, align 4, !tbaa !46 %164 = tail call i32 @le16_to_cpu(i32 noundef %163) #3 %165 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 1 store i32 %164, ptr %165, align 4, !tbaa !53 %166 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.4) #3 br label %466 167: ; preds = %142, %138 %168 = load i32, ptr %37, align 8, !tbaa !23 %169 = getelementptr inbounds %struct.TYPE_36__, ptr %105, i64 0, i32 3 %170 = load i32, ptr %121, align 4, !tbaa !44 %171 = tail call i32 @le16_to_cpu(i32 noundef %170) #3 %172 = tail call i32 @ntfs_collate(ptr noundef %7, i32 noundef %168, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %169, i32 noundef %171) #3 switch i32 %172, label %175 [ i32 -1, label %173 i32 0, label %146 ] 173: ; preds = %167 %174 = load i32, ptr %105, align 4, !tbaa !43 br label %183 175: ; preds = %167 %176 = load i32, ptr %109, align 4, !tbaa !39 %177 = tail call i32 @le16_to_cpu(i32 noundef %176) #3 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i32, ptr %105, i64 %178 %180 = load i64, ptr %57, align 8, !tbaa !38 %181 = inttoptr i64 %180 to ptr %182 = icmp ult ptr %179, %181 br i1 %182, label %464, label %104 183: ; preds = %115, %173 %184 = phi i32 [ %174, %173 ], [ %116, %115 ] %185 = load i32, ptr @INDEX_ENTRY_NODE, align 4, !tbaa !24 %186 = and i32 %185, %184 %187 = icmp eq i32 %186, 0 br i1 %187, label %188, label %192 188: ; preds = %183 %189 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.5) #3 %190 = load i32, ptr @ENOENT, align 4, !tbaa !24 %191 = sub nsw i32 0, %190 br label %146 192: ; preds = %183 %193 = tail call i32 @NInoIndexAllocPresent(ptr noundef nonnull %5) #3 %194 = icmp eq i32 %193, 0 br i1 %194, label %195, label %199 195: ; preds = %192 %196 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %197 = load i32, ptr %196, align 4, !tbaa !27 %198 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.6, i32 noundef %197) #3 br label %452 199: ; preds = %192 %200 = load i32, ptr %109, align 4, !tbaa !39 %201 = tail call i32 @le16_to_cpu(i32 noundef %200) #3 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds i32, ptr %105, i64 %202 %204 = getelementptr inbounds i32, ptr %203, i64 -8 %205 = tail call i32 @sle64_to_cpup(ptr noundef nonnull %204) #3 %206 = tail call ptr @VFS_I(ptr noundef nonnull %5) #3 %207 = load ptr, ptr %206, align 8, !tbaa !54 %208 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef nonnull %57) #3 %209 = tail call i32 @unmap_mft_record(ptr noundef %11) #3 %210 = load i32, ptr %36, align 8, !tbaa !56 %211 = shl i32 %205, %210 %212 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !24 %213 = ashr i32 %211, %212 %214 = tail call ptr @ntfs_map_page(ptr noundef %207, i32 noundef %213) #3 %215 = tail call i64 @IS_ERR(ptr noundef %214) #3 %216 = icmp eq i64 %215, 0 br i1 %216, label %217, label %219 217: ; preds = %199 %218 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 3, i32 0, i32 1 br label %225 219: ; preds = %429, %199 %220 = phi ptr [ %214, %199 ], [ %436, %429 ] %221 = tail call i32 @PTR_ERR(ptr noundef %220) #3 %222 = sub nsw i32 0, %221 %223 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.7, i32 noundef %222) #3 %224 = tail call i32 @PTR_ERR(ptr noundef %220) #3 br label %446 225: ; preds = %217, %429 %226 = phi ptr [ %214, %217 ], [ %436, %429 ] %227 = phi i32 [ %205, %217 ], [ %419, %429 ] %228 = tail call i32 @lock_page(ptr noundef %226) #3 %229 = tail call i64 @page_address(ptr noundef %226) #3 %230 = inttoptr i64 %229 to ptr br label %231 231: ; preds = %421, %225 %232 = phi i32 [ %227, %225 ], [ %419, %421 ] %233 = load i32, ptr %36, align 8, !tbaa !56 %234 = shl i32 %232, %233 %235 = load i32, ptr @PAGE_CACHE_MASK, align 4, !tbaa !24 %236 = xor i32 %235, -1 %237 = and i32 %234, %236 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds i32, ptr %230, i64 %238 %240 = icmp slt i32 %237, 0 %241 = load i32, ptr @PAGE_CACHE_SIZE, align 4 %242 = icmp sgt i32 %237, %241 %243 = select i1 %240, i1 true, i1 %242 br i1 %243, label %244, label %248 244: ; preds = %231 %245 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %246 = load i32, ptr %245, align 4, !tbaa !27 %247 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.8, i32 noundef %246) #3 br label %443 248: ; preds = %231 %249 = getelementptr inbounds %struct.TYPE_37__, ptr %239, i64 0, i32 2 %250 = load i32, ptr %249, align 4, !tbaa !57 %251 = tail call i32 @ntfs_is_indx_record(i32 noundef %250) #3 %252 = icmp eq i32 %251, 0 %253 = zext i1 %252 to i32 %254 = tail call i64 @unlikely(i32 noundef %253) #3 %255 = icmp eq i64 %254, 0 br i1 %255, label %261, label %256 256: ; preds = %248 %257 = sext i32 %232 to i64 %258 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %259 = load i32, ptr %258, align 4, !tbaa !27 %260 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.9, i64 noundef %257, i32 noundef %259) #3 br label %443 261: ; preds = %248 %262 = getelementptr inbounds %struct.TYPE_37__, ptr %239, i64 0, i32 1 %263 = load i32, ptr %262, align 4, !tbaa !60 %264 = tail call i32 @sle64_to_cpu(i32 noundef %263) #3 %265 = icmp eq i32 %264, %232 br i1 %265, label %275, label %266 266: ; preds = %261 %267 = getelementptr inbounds %struct.TYPE_37__, ptr %239, i64 0, i32 1 %268 = load i32, ptr %267, align 4, !tbaa !60 %269 = tail call i32 @sle64_to_cpu(i32 noundef %268) #3 %270 = sext i32 %269 to i64 %271 = sext i32 %232 to i64 %272 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %273 = load i32, ptr %272, align 4, !tbaa !27 %274 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.10, i64 noundef %270, i64 noundef %271, i32 noundef %273) #3 br label %443 275: ; preds = %261 %276 = getelementptr inbounds %struct.TYPE_30__, ptr %239, i64 0, i32 3 %277 = load i32, ptr %276, align 4, !tbaa !61 %278 = tail call i32 @le32_to_cpu(i32 noundef %277) #3 %279 = add nsw i32 %278, 24 %280 = load i32, ptr %218, align 4, !tbaa !62 %281 = icmp eq i32 %279, %280 br i1 %281, label %292, label %282 282: ; preds = %275 %283 = getelementptr inbounds %struct.TYPE_30__, ptr %239, i64 0, i32 3 %284 = sext i32 %232 to i64 %285 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %286 = load i32, ptr %285, align 4, !tbaa !27 %287 = load i32, ptr %283, align 4, !tbaa !61 %288 = tail call i32 @le32_to_cpu(i32 noundef %287) #3 %289 = add nsw i32 %288, 24 %290 = load i32, ptr %218, align 4, !tbaa !62 %291 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.11, i64 noundef %284, i32 noundef %286, i32 noundef %289, i32 noundef %290) #3 br label %443 292: ; preds = %275 %293 = sext i32 %279 to i64 %294 = getelementptr inbounds i32, ptr %239, i64 %293 %295 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !24 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds i32, ptr %230, i64 %296 %298 = icmp ugt ptr %294, %297 br i1 %298, label %299, label %304 299: ; preds = %292 %300 = sext i32 %232 to i64 %301 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %302 = load i32, ptr %301, align 4, !tbaa !27 %303 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.12, i64 noundef %300, i32 noundef %302) #3 br label %443 304: ; preds = %292 %305 = getelementptr inbounds %struct.TYPE_30__, ptr %239, i64 0, i32 2 %306 = load i32, ptr %305, align 4, !tbaa !63 %307 = tail call i32 @le32_to_cpu(i32 noundef %306) #3 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds i32, ptr %239, i64 %308 %310 = load i32, ptr %218, align 4, !tbaa !62 %311 = icmp sgt i32 %307, %310 br i1 %311, label %312, label %317 312: ; preds = %304 %313 = sext i32 %232 to i64 %314 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %315 = load i32, ptr %314, align 4, !tbaa !27 %316 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.13, i64 noundef %313, i32 noundef %315) #3 br label %443 317: ; preds = %304 %318 = getelementptr inbounds %struct.TYPE_30__, ptr %239, i64 0, i32 1 %319 = load i32, ptr %318, align 4, !tbaa !64 %320 = tail call i32 @le32_to_cpu(i32 noundef %319) #3 %321 = icmp slt i32 %320, 0 br i1 %321, label %336, label %322 322: ; preds = %317 %323 = zext nneg i32 %320 to i64 %324 = getelementptr inbounds i32, ptr %239, i64 %323 br label %325 325: ; preds = %322, %388 %326 = phi ptr [ %392, %388 ], [ %324, %322 ] %327 = getelementptr inbounds i32, ptr %326, i64 4 %328 = icmp ugt ptr %327, %309 br i1 %328, label %336, label %329 329: ; preds = %325 %330 = getelementptr inbounds %struct.TYPE_36__, ptr %326, i64 0, i32 1 %331 = load i32, ptr %330, align 4, !tbaa !39 %332 = tail call i32 @le16_to_cpu(i32 noundef %331) #3 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds i32, ptr %326, i64 %333 %335 = icmp ugt ptr %334, %309 br i1 %335, label %336, label %340 336: ; preds = %317, %388, %325, %329 %337 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %338 = load i32, ptr %337, align 4, !tbaa !27 %339 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.14, i32 noundef %338) #3 br label %443 340: ; preds = %329 %341 = load i32, ptr %326, align 4, !tbaa !43 %342 = load i32, ptr @INDEX_ENTRY_END, align 4, !tbaa !24 %343 = and i32 %342, %341 %344 = icmp eq i32 %343, 0 br i1 %344, label %345, label %394 345: ; preds = %340 %346 = getelementptr inbounds %struct.TYPE_36__, ptr %326, i64 0, i32 2 %347 = load i32, ptr %346, align 4, !tbaa !44 %348 = tail call i32 @le16_to_cpu(i32 noundef %347) #3 %349 = add nsw i32 %348, 4 %350 = getelementptr inbounds i32, ptr %326, i64 5 %351 = load i32, ptr %350, align 4, !tbaa !45 %352 = tail call i32 @le16_to_cpu(i32 noundef %351) #3 %353 = icmp sgt i32 %349, %352 br i1 %353, label %363, label %354 354: ; preds = %345 %355 = load i32, ptr %350, align 4, !tbaa !45 %356 = tail call i32 @le16_to_cpu(i32 noundef %355) #3 %357 = load i32, ptr %327, align 4, !tbaa !46 %358 = tail call i32 @le16_to_cpu(i32 noundef %357) #3 %359 = add nsw i32 %358, %356 %360 = load i32, ptr %330, align 4, !tbaa !39 %361 = tail call i32 @le16_to_cpu(i32 noundef %360) #3 %362 = icmp sgt i32 %359, %361 br i1 %362, label %363, label %367 363: ; preds = %354, %345 %364 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %365 = load i32, ptr %364, align 4, !tbaa !27 %366 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.14, i32 noundef %365) #3 br label %443 367: ; preds = %354 %368 = load i32, ptr %346, align 4, !tbaa !44 %369 = tail call i32 @le16_to_cpu(i32 noundef %368) #3 %370 = icmp eq i32 %369, %1 br i1 %370, label %371, label %380 371: ; preds = %367 %372 = getelementptr inbounds %struct.TYPE_36__, ptr %326, i64 0, i32 3 %373 = tail call i32 @memcmp(ptr noundef %0, ptr noundef nonnull %372, i32 noundef %1) #3 %374 = icmp eq i32 %373, 0 br i1 %374, label %375, label %380 375: ; preds = %380, %371, %399 %376 = phi i32 [ %402, %399 ], [ %72, %371 ], [ %72, %380 ] store i32 0, ptr %2, align 8, !tbaa !47 %377 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 4 %378 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %377, i8 0, i64 16, i1 false) store ptr %239, ptr %378, align 8, !tbaa !65 %379 = getelementptr inbounds %struct.TYPE_33__, ptr %2, i64 0, i32 2 store ptr %226, ptr %379, align 8, !tbaa !66 br label %152 380: ; preds = %371, %367 %381 = load i32, ptr %37, align 8, !tbaa !23 %382 = getelementptr inbounds %struct.TYPE_36__, ptr %326, i64 0, i32 3 %383 = load i32, ptr %346, align 4, !tbaa !44 %384 = tail call i32 @le16_to_cpu(i32 noundef %383) #3 %385 = tail call i32 @ntfs_collate(ptr noundef %7, i32 noundef %381, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %382, i32 noundef %384) #3 switch i32 %385, label %388 [ i32 -1, label %386 i32 0, label %375 ] 386: ; preds = %380 %387 = load i32, ptr %326, align 4, !tbaa !43 br label %394 388: ; preds = %380 %389 = load i32, ptr %330, align 4, !tbaa !39 %390 = tail call i32 @le16_to_cpu(i32 noundef %389) #3 %391 = sext i32 %390 to i64 %392 = getelementptr inbounds i32, ptr %326, i64 %391 %393 = icmp ult ptr %392, %239 br i1 %393, label %336, label %325 394: ; preds = %340, %386 %395 = phi i32 [ %387, %386 ], [ %341, %340 ] %396 = load i32, ptr @INDEX_ENTRY_NODE, align 4, !tbaa !24 %397 = and i32 %396, %395 %398 = icmp eq i32 %397, 0 br i1 %398, label %399, label %403 399: ; preds = %394 %400 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.5) #3 %401 = load i32, ptr @ENOENT, align 4, !tbaa !24 %402 = sub nsw i32 0, %401 br label %375 403: ; preds = %394 %404 = load i32, ptr %239, align 4, !tbaa !67 %405 = load i32, ptr @NODE_MASK, align 4, !tbaa !24 %406 = and i32 %405, %404 %407 = load i32, ptr @LEAF_NODE, align 4, !tbaa !24 %408 = icmp eq i32 %406, %407 br i1 %408, label %409, label %413 409: ; preds = %403 %410 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %411 = load i32, ptr %410, align 4, !tbaa !27 %412 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.15, i32 noundef %411) #3 br label %443 413: ; preds = %403 %414 = load i32, ptr %330, align 4, !tbaa !39 %415 = tail call i32 @le16_to_cpu(i32 noundef %414) #3 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds i32, ptr %326, i64 %416 %418 = getelementptr inbounds i32, ptr %417, i64 -8 %419 = tail call i32 @sle64_to_cpup(ptr noundef nonnull %418) #3 %420 = icmp sgt i32 %419, -1 br i1 %420, label %421, label %439 421: ; preds = %413 %422 = load i32, ptr %7, align 8, !tbaa !68 %423 = shl i32 %232, %422 %424 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !24 %425 = ashr i32 %423, %424 %426 = shl i32 %419, %422 %427 = ashr i32 %426, %424 %428 = icmp eq i32 %425, %427 br i1 %428, label %231, label %429 429: ; preds = %421 %430 = tail call i32 @unlock_page(ptr noundef %226) #3 %431 = tail call i32 @ntfs_unmap_page(ptr noundef %226) #3 %432 = load i32, ptr %36, align 8, !tbaa !56 %433 = shl i32 %419, %432 %434 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !24 %435 = ashr i32 %433, %434 %436 = tail call ptr @ntfs_map_page(ptr noundef %207, i32 noundef %435) #3 %437 = tail call i64 @IS_ERR(ptr noundef %436) #3 %438 = icmp eq i64 %437, 0 br i1 %438, label %225, label %219 439: ; preds = %413 %440 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 2 %441 = load i32, ptr %440, align 4, !tbaa !27 %442 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.16, i32 noundef %441) #3 br label %443 443: ; preds = %439, %409, %363, %336, %312, %299, %282, %266, %256, %244 %444 = tail call i32 @unlock_page(ptr noundef %226) #3 %445 = tail call i32 @ntfs_unmap_page(ptr noundef %226) #3 br label %446 446: ; preds = %443, %219 %447 = phi i32 [ %72, %443 ], [ %224, %219 ] %448 = icmp eq i32 %447, 0 %449 = load i32, ptr @EIO, align 4 %450 = sub nsw i32 0, %449 %451 = select i1 %448, i32 %450, i32 %447 br label %466 452: ; preds = %75, %79, %464, %195, %62 %453 = phi i32 [ %64, %62 ], [ %84, %79 ], [ %72, %75 ], [ %72, %464 ], [ %72, %195 ] %454 = icmp eq i32 %453, 0 %455 = load i32, ptr @EIO, align 4 %456 = sub nsw i32 0, %455 %457 = select i1 %454, i32 %456, i32 %453 br i1 %58, label %460, label %458 458: ; preds = %452 %459 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef nonnull %57) #3 br label %460 460: ; preds = %458, %452 %461 = icmp eq ptr %48, null br i1 %461, label %466, label %462 462: ; preds = %460 %463 = tail call i32 @unmap_mft_record(ptr noundef %11) #3 br label %466 464: ; preds = %108, %104, %175, %129, %120, %85 %465 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.17) #3 br label %452 466: ; preds = %446, %460, %462, %152, %51, %41 %467 = phi i32 [ %55, %51 ], [ %154, %152 ], [ %46, %41 ], [ %457, %462 ], [ %457, %460 ], [ %451, %446 ] ret i32 %467 } declare i32 @ntfs_debug(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @NInoAttr(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_is_collation_rule_supported(i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @map_mft_record(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ntfs_attr_get_search_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_attr_lookup(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_collate(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NInoIndexAllocPresent(ptr noundef) local_unnamed_addr #1 declare i32 @sle64_to_cpup(ptr noundef) local_unnamed_addr #1 declare ptr @VFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_attr_put_search_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @unmap_mft_record(ptr noundef) local_unnamed_addr #1 declare ptr @ntfs_map_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i64 @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_is_indx_record(i32 noundef) local_unnamed_addr #1 declare i32 @sle64_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_unmap_page(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 64} !6 = !{!"TYPE_33__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 48} !12 = !{!"TYPE_32__", !13, i64 0, !7, i64 8, !7, i64 12, !14, i64 16, !7, i64 28, !7, i64 32, !16, i64 40, !10, i64 48} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_47__", !15, i64 0} !15 = !{!"TYPE_46__", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!"TYPE_38__", !10, i64 0} !17 = !{!18, !10, i64 8} !18 = !{!"TYPE_31__", !7, i64 0, !10, i64 8} !19 = !{!12, !10, i64 40} !20 = !{!12, !13, i64 0} !21 = !{!13, !13, i64 0} !22 = !{!12, !7, i64 8} !23 = !{!12, !7, i64 24} !24 = !{!7, !7, i64 0} !25 = !{!12, !7, i64 32} !26 = !{!12, !7, i64 28} !27 = !{!12, !7, i64 12} !28 = !{!29, !10, i64 8} !29 = !{!"TYPE_34__", !13, i64 0, !10, i64 8} !30 = !{!31, !7, i64 0} !31 = !{!"TYPE_42__", !32, i64 0} !32 = !{!"TYPE_41__", !33, i64 0} !33 = !{!"TYPE_40__", !7, i64 0} !34 = !{!35, !7, i64 4} !35 = !{!"TYPE_35__", !36, i64 0} !36 = !{!"TYPE_43__", !7, i64 0, !7, i64 4} !37 = !{!35, !7, i64 0} !38 = !{!29, !13, i64 0} !39 = !{!40, !7, i64 4} !40 = !{!"TYPE_36__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !41, i64 16} !41 = !{!"TYPE_45__", !42, i64 0} !42 = !{!"TYPE_44__", !7, i64 0, !7, i64 4} !43 = !{!40, !7, i64 0} !44 = !{!40, !7, i64 8} !45 = !{!40, !7, i64 20} !46 = !{!40, !7, i64 16} !47 = !{!6, !7, i64 0} !48 = !{!6, !10, i64 56} !49 = !{!6, !10, i64 32} !50 = !{!6, !10, i64 24} !51 = !{!6, !10, i64 48} !52 = !{!6, !10, i64 40} !53 = !{!6, !7, i64 4} !54 = !{!55, !10, i64 0} !55 = !{!"TYPE_39__", !10, i64 0} !56 = !{!12, !7, i64 16} !57 = !{!58, !7, i64 20} !58 = !{!"TYPE_37__", !59, i64 0, !7, i64 16, !7, i64 20} !59 = !{!"TYPE_30__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !60 = !{!58, !7, i64 16} !61 = !{!58, !7, i64 12} !62 = !{!12, !7, i64 20} !63 = !{!58, !7, i64 8} !64 = !{!58, !7, i64 4} !65 = !{!6, !10, i64 16} !66 = !{!6, !10, i64 8} !67 = !{!58, !7, i64 0} !68 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_index.c_ntfs_index_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_index.c_ntfs_index_lookup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"Entering.\00", align 1 @AT_INDEX_ALLOCATION = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [62 x i8] c"Index uses unsupported collation rule 0x%x. Aborting lookup.\00", align 1 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"map_mft_record() failed with error code %ld.\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @AT_INDEX_ROOT = common local_unnamed_addr global i32 0, align 4 @CASE_SENSITIVE = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [45 x i8] c"Index root attribute missing in inode 0x%lx.\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @INDEX_ENTRY_END = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"Done.\00", align 1 @INDEX_ENTRY_NODE = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"Entry not found.\00", align 1 @.str.6 = private unnamed_addr constant [99 x i8] c"No index allocation attribute but index entry requires one. Inode 0x%lx is corrupt or driver bug.\00", align 1 @PAGE_CACHE_SHIFT = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [37 x i8] c"Failed to map index page, error %ld.\00", align 1 @PAGE_CACHE_MASK = common local_unnamed_addr global i32 0, align 4 @PAGE_CACHE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [64 x i8] c"Out of bounds check failed. Corrupt inode 0x%lx or driver bug.\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c"Index record with vcn 0x%llx is corrupt. Corrupt inode 0x%lx. Run chkdsk.\00", align 1 @.str.10 = private unnamed_addr constant [116 x i8] c"Actual VCN (0x%llx) of index buffer is different from expected VCN (0x%llx). Inode 0x%lx is corrupt or driver bug.\00", align 1 @.str.11 = private unnamed_addr constant [136 x i8] c"Index buffer (VCN 0x%llx) of inode 0x%lx has a size (%u) differing from the index specified size (%u). Inode is corrupt or driver bug.\00", align 1 @.str.12 = private unnamed_addr constant [132 x i8] c"Index buffer (VCN 0x%llx) of inode 0x%lx crosses page boundary. Impossible! Cannot access! This is probably a bug in the driver.\00", align 1 @.str.13 = private unnamed_addr constant [71 x i8] c"Size of index buffer (VCN 0x%llx) of inode 0x%lx exceeds maximum size.\00", align 1 @.str.14 = private unnamed_addr constant [42 x i8] c"Index entry out of bounds in inode 0x%lx.\00", align 1 @NODE_MASK = common local_unnamed_addr global i32 0, align 4 @LEAF_NODE = common local_unnamed_addr global i32 0, align 4 @.str.15 = private unnamed_addr constant [65 x i8] c"Index entry with child node found in a leaf node in inode 0x%lx.\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"Negative child node vcn in inode 0x%lx.\00", align 1 @.str.17 = private unnamed_addr constant [33 x i8] c"Corrupt index. Aborting lookup.\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ntfs_index_lookup(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %2, i64 64 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 48 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !18 %10 = getelementptr inbounds i8, ptr %5, i64 40 %11 = load ptr, ptr %10, align 8, !tbaa !20 %12 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str) #3 %13 = tail call i32 @NInoAttr(ptr noundef %5) #3 %14 = icmp eq i32 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i32 @BUG_ON(i32 noundef %15) #3 %17 = load i64, ptr %5, align 8, !tbaa !21 %18 = load i64, ptr @AT_INDEX_ALLOCATION, align 8, !tbaa !22 %19 = icmp ne i64 %17, %18 %20 = zext i1 %19 to i32 %21 = tail call i32 @BUG_ON(i32 noundef %20) #3 %22 = getelementptr inbounds i8, ptr %5, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !23 %24 = icmp ne i32 %23, -1 %25 = zext i1 %24 to i32 %26 = tail call i32 @BUG_ON(i32 noundef %25) #3 %27 = icmp eq ptr %11, null %28 = zext i1 %27 to i32 %29 = tail call i32 @BUG_ON(i32 noundef %28) #3 %30 = icmp eq ptr %0, null %31 = zext i1 %30 to i32 %32 = tail call i32 @BUG_ON(i32 noundef %31) #3 %33 = icmp slt i32 %1, 1 %34 = zext i1 %33 to i32 %35 = tail call i32 @BUG_ON(i32 noundef %34) #3 %36 = getelementptr inbounds i8, ptr %5, i64 16 %37 = getelementptr inbounds i8, ptr %5, i64 24 %38 = load i32, ptr %37, align 8, !tbaa !24 %39 = tail call i32 @ntfs_is_collation_rule_supported(i32 noundef %38) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %3 %42 = load i32, ptr %37, align 8, !tbaa !24 %43 = tail call i32 @le32_to_cpu(i32 noundef %42) #3 %44 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.1, i32 noundef %43) #3 %45 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !25 %46 = sub nsw i32 0, %45 br label %466 47: ; preds = %3 %48 = tail call ptr @map_mft_record(ptr noundef %11) #3 %49 = tail call i64 @IS_ERR(ptr noundef %48) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %56, label %51 51: ; preds = %47 %52 = tail call i32 @PTR_ERR(ptr noundef %48) #3 %53 = sub nsw i32 0, %52 %54 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.2, i32 noundef %53) #3 %55 = tail call i32 @PTR_ERR(ptr noundef %48) #3 br label %466 56: ; preds = %47 %57 = tail call ptr @ntfs_attr_get_search_ctx(ptr noundef %11, ptr noundef %48) #3 %58 = icmp eq ptr %57, null %59 = zext i1 %58 to i32 %60 = tail call i64 @unlikely(i32 noundef %59) #3 %61 = icmp eq i64 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %56 %63 = load i32, ptr @ENOMEM, align 4, !tbaa !25 %64 = sub nsw i32 0, %63 br label %452 65: ; preds = %56 %66 = load i32, ptr @AT_INDEX_ROOT, align 4, !tbaa !25 %67 = getelementptr inbounds i8, ptr %5, i64 32 %68 = load i32, ptr %67, align 8, !tbaa !26 %69 = getelementptr inbounds i8, ptr %5, i64 28 %70 = load i32, ptr %69, align 4, !tbaa !27 %71 = load i32, ptr @CASE_SENSITIVE, align 4, !tbaa !25 %72 = tail call i32 @ntfs_attr_lookup(i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %71, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef %57) #3 %73 = tail call i64 @unlikely(i32 noundef %72) #3 %74 = icmp eq i64 %73, 0 br i1 %74, label %85, label %75 75: ; preds = %65 %76 = load i32, ptr @ENOENT, align 4, !tbaa !25 %77 = sub nsw i32 0, %76 %78 = icmp eq i32 %72, %77 br i1 %78, label %79, label %452 79: ; preds = %75 %80 = getelementptr inbounds i8, ptr %5, i64 12 %81 = load i32, ptr %80, align 4, !tbaa !28 %82 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.3, i32 noundef %81) #3 %83 = load i32, ptr @EIO, align 4, !tbaa !25 %84 = sub nsw i32 0, %83 br label %452 85: ; preds = %65 %86 = getelementptr inbounds i8, ptr %57, i64 8 %87 = load ptr, ptr %86, align 8, !tbaa !29 %88 = load i32, ptr %87, align 4, !tbaa !31 %89 = tail call i32 @le16_to_cpu(i32 noundef %88) #3 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %87, i64 %90 %92 = getelementptr inbounds i8, ptr %91, i64 4 %93 = load i32, ptr %92, align 4, !tbaa !35 %94 = tail call i32 @le32_to_cpu(i32 noundef %93) #3 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %91, i64 %95 %97 = load i32, ptr %91, align 4, !tbaa !38 %98 = tail call i32 @le32_to_cpu(i32 noundef %97) #3 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %91, i64 %99 %101 = load i64, ptr %57, align 8, !tbaa !39 %102 = inttoptr i64 %101 to ptr %103 = icmp ult ptr %100, %102 br i1 %103, label %464, label %104 104: ; preds = %85, %175 %105 = phi ptr [ %179, %175 ], [ %100, %85 ] %106 = getelementptr inbounds i8, ptr %105, i64 16 %107 = icmp ugt ptr %106, %96 br i1 %107, label %464, label %108 108: ; preds = %104 %109 = getelementptr inbounds i8, ptr %105, i64 4 %110 = load i32, ptr %109, align 4, !tbaa !40 %111 = tail call i32 @le16_to_cpu(i32 noundef %110) #3 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %105, i64 %112 %114 = icmp ugt ptr %113, %96 br i1 %114, label %464, label %115 115: ; preds = %108 %116 = load i32, ptr %105, align 4, !tbaa !44 %117 = load i32, ptr @INDEX_ENTRY_END, align 4, !tbaa !25 %118 = and i32 %117, %116 %119 = icmp eq i32 %118, 0 br i1 %119, label %120, label %183 120: ; preds = %115 %121 = getelementptr inbounds i8, ptr %105, i64 8 %122 = load i32, ptr %121, align 4, !tbaa !45 %123 = tail call i32 @le16_to_cpu(i32 noundef %122) #3 %124 = add nsw i32 %123, 4 %125 = getelementptr inbounds i8, ptr %105, i64 20 %126 = load i32, ptr %125, align 4, !tbaa !46 %127 = tail call i32 @le16_to_cpu(i32 noundef %126) #3 %128 = icmp sgt i32 %124, %127 br i1 %128, label %464, label %129 129: ; preds = %120 %130 = load i32, ptr %125, align 4, !tbaa !46 %131 = tail call i32 @le16_to_cpu(i32 noundef %130) #3 %132 = load i32, ptr %106, align 4, !tbaa !47 %133 = tail call i32 @le16_to_cpu(i32 noundef %132) #3 %134 = add nsw i32 %133, %131 %135 = load i32, ptr %109, align 4, !tbaa !40 %136 = tail call i32 @le16_to_cpu(i32 noundef %135) #3 %137 = icmp sgt i32 %134, %136 br i1 %137, label %464, label %138 138: ; preds = %129 %139 = load i32, ptr %121, align 4, !tbaa !45 %140 = tail call i32 @le16_to_cpu(i32 noundef %139) #3 %141 = icmp eq i32 %140, %1 br i1 %141, label %142, label %167 142: ; preds = %138 %143 = getelementptr inbounds i8, ptr %105, i64 12 %144 = tail call i32 @memcmp(ptr noundef %0, ptr noundef nonnull %143, i32 noundef %1) #3 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %167 146: ; preds = %167, %142, %188 %147 = phi i32 [ %191, %188 ], [ %72, %142 ], [ %72, %167 ] store i32 1, ptr %2, align 8, !tbaa !48 %148 = getelementptr inbounds i8, ptr %2, i64 56 store ptr %91, ptr %148, align 8, !tbaa !49 %149 = getelementptr inbounds i8, ptr %2, i64 32 store ptr %57, ptr %149, align 8, !tbaa !50 %150 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %11, ptr %150, align 8, !tbaa !51 %151 = getelementptr inbounds i8, ptr %2, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %151, i8 0, i64 16, i1 false) br label %152 152: ; preds = %375, %146 %153 = phi ptr [ %326, %375 ], [ %105, %146 ] %154 = phi i32 [ %376, %375 ], [ %147, %146 ] %155 = getelementptr inbounds i8, ptr %2, i64 48 store ptr %153, ptr %155, align 8, !tbaa !52 %156 = getelementptr inbounds i8, ptr %153, i64 16 %157 = getelementptr inbounds i8, ptr %153, i64 20 %158 = load i32, ptr %157, align 4, !tbaa !46 %159 = tail call i32 @le16_to_cpu(i32 noundef %158) #3 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %153, i64 %160 %162 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %161, ptr %162, align 8, !tbaa !53 %163 = load i32, ptr %156, align 4, !tbaa !47 %164 = tail call i32 @le16_to_cpu(i32 noundef %163) #3 %165 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %164, ptr %165, align 4, !tbaa !54 %166 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.4) #3 br label %466 167: ; preds = %142, %138 %168 = load i32, ptr %37, align 8, !tbaa !24 %169 = getelementptr inbounds i8, ptr %105, i64 12 %170 = load i32, ptr %121, align 4, !tbaa !45 %171 = tail call i32 @le16_to_cpu(i32 noundef %170) #3 %172 = tail call i32 @ntfs_collate(ptr noundef %7, i32 noundef %168, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %169, i32 noundef %171) #3 switch i32 %172, label %175 [ i32 -1, label %173 i32 0, label %146 ] 173: ; preds = %167 %174 = load i32, ptr %105, align 4, !tbaa !44 br label %183 175: ; preds = %167 %176 = load i32, ptr %109, align 4, !tbaa !40 %177 = tail call i32 @le16_to_cpu(i32 noundef %176) #3 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i32, ptr %105, i64 %178 %180 = load i64, ptr %57, align 8, !tbaa !39 %181 = inttoptr i64 %180 to ptr %182 = icmp ult ptr %179, %181 br i1 %182, label %464, label %104 183: ; preds = %115, %173 %184 = phi i32 [ %174, %173 ], [ %116, %115 ] %185 = load i32, ptr @INDEX_ENTRY_NODE, align 4, !tbaa !25 %186 = and i32 %185, %184 %187 = icmp eq i32 %186, 0 br i1 %187, label %188, label %192 188: ; preds = %183 %189 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.5) #3 %190 = load i32, ptr @ENOENT, align 4, !tbaa !25 %191 = sub nsw i32 0, %190 br label %146 192: ; preds = %183 %193 = tail call i32 @NInoIndexAllocPresent(ptr noundef nonnull %5) #3 %194 = icmp eq i32 %193, 0 br i1 %194, label %195, label %199 195: ; preds = %192 %196 = getelementptr inbounds i8, ptr %5, i64 12 %197 = load i32, ptr %196, align 4, !tbaa !28 %198 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.6, i32 noundef %197) #3 br label %452 199: ; preds = %192 %200 = load i32, ptr %109, align 4, !tbaa !40 %201 = tail call i32 @le16_to_cpu(i32 noundef %200) #3 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds i32, ptr %105, i64 %202 %204 = getelementptr inbounds i8, ptr %203, i64 -32 %205 = tail call i32 @sle64_to_cpup(ptr noundef nonnull %204) #3 %206 = tail call ptr @VFS_I(ptr noundef nonnull %5) #3 %207 = load ptr, ptr %206, align 8, !tbaa !55 %208 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef nonnull %57) #3 %209 = tail call i32 @unmap_mft_record(ptr noundef %11) #3 %210 = load i32, ptr %36, align 8, !tbaa !57 %211 = shl i32 %205, %210 %212 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !25 %213 = ashr i32 %211, %212 %214 = tail call ptr @ntfs_map_page(ptr noundef %207, i32 noundef %213) #3 %215 = tail call i64 @IS_ERR(ptr noundef %214) #3 %216 = icmp eq i64 %215, 0 br i1 %216, label %217, label %219 217: ; preds = %199 %218 = getelementptr inbounds i8, ptr %5, i64 20 br label %225 219: ; preds = %429, %199 %220 = phi ptr [ %214, %199 ], [ %436, %429 ] %221 = tail call i32 @PTR_ERR(ptr noundef %220) #3 %222 = sub nsw i32 0, %221 %223 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.7, i32 noundef %222) #3 %224 = tail call i32 @PTR_ERR(ptr noundef %220) #3 br label %446 225: ; preds = %217, %429 %226 = phi ptr [ %214, %217 ], [ %436, %429 ] %227 = phi i32 [ %205, %217 ], [ %419, %429 ] %228 = tail call i32 @lock_page(ptr noundef %226) #3 %229 = tail call i64 @page_address(ptr noundef %226) #3 %230 = inttoptr i64 %229 to ptr br label %231 231: ; preds = %421, %225 %232 = phi i32 [ %227, %225 ], [ %419, %421 ] %233 = load i32, ptr %36, align 8, !tbaa !57 %234 = shl i32 %232, %233 %235 = load i32, ptr @PAGE_CACHE_MASK, align 4, !tbaa !25 %236 = xor i32 %235, -1 %237 = and i32 %234, %236 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds i32, ptr %230, i64 %238 %240 = icmp slt i32 %237, 0 %241 = load i32, ptr @PAGE_CACHE_SIZE, align 4 %242 = icmp sgt i32 %237, %241 %243 = select i1 %240, i1 true, i1 %242 br i1 %243, label %244, label %248 244: ; preds = %231 %245 = getelementptr inbounds i8, ptr %5, i64 12 %246 = load i32, ptr %245, align 4, !tbaa !28 %247 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.8, i32 noundef %246) #3 br label %443 248: ; preds = %231 %249 = getelementptr inbounds i8, ptr %239, i64 20 %250 = load i32, ptr %249, align 4, !tbaa !58 %251 = tail call i32 @ntfs_is_indx_record(i32 noundef %250) #3 %252 = icmp eq i32 %251, 0 %253 = zext i1 %252 to i32 %254 = tail call i64 @unlikely(i32 noundef %253) #3 %255 = icmp eq i64 %254, 0 br i1 %255, label %261, label %256 256: ; preds = %248 %257 = sext i32 %232 to i64 %258 = getelementptr inbounds i8, ptr %5, i64 12 %259 = load i32, ptr %258, align 4, !tbaa !28 %260 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.9, i64 noundef %257, i32 noundef %259) #3 br label %443 261: ; preds = %248 %262 = getelementptr inbounds i8, ptr %239, i64 16 %263 = load i32, ptr %262, align 4, !tbaa !61 %264 = tail call i32 @sle64_to_cpu(i32 noundef %263) #3 %265 = icmp eq i32 %264, %232 br i1 %265, label %275, label %266 266: ; preds = %261 %267 = getelementptr inbounds i8, ptr %239, i64 16 %268 = load i32, ptr %267, align 4, !tbaa !61 %269 = tail call i32 @sle64_to_cpu(i32 noundef %268) #3 %270 = sext i32 %269 to i64 %271 = sext i32 %232 to i64 %272 = getelementptr inbounds i8, ptr %5, i64 12 %273 = load i32, ptr %272, align 4, !tbaa !28 %274 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.10, i64 noundef %270, i64 noundef %271, i32 noundef %273) #3 br label %443 275: ; preds = %261 %276 = getelementptr inbounds i8, ptr %239, i64 12 %277 = load i32, ptr %276, align 4, !tbaa !62 %278 = tail call i32 @le32_to_cpu(i32 noundef %277) #3 %279 = add nsw i32 %278, 24 %280 = load i32, ptr %218, align 4, !tbaa !63 %281 = icmp eq i32 %279, %280 br i1 %281, label %292, label %282 282: ; preds = %275 %283 = getelementptr inbounds i8, ptr %239, i64 12 %284 = sext i32 %232 to i64 %285 = getelementptr inbounds i8, ptr %5, i64 12 %286 = load i32, ptr %285, align 4, !tbaa !28 %287 = load i32, ptr %283, align 4, !tbaa !62 %288 = tail call i32 @le32_to_cpu(i32 noundef %287) #3 %289 = add nsw i32 %288, 24 %290 = load i32, ptr %218, align 4, !tbaa !63 %291 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.11, i64 noundef %284, i32 noundef %286, i32 noundef %289, i32 noundef %290) #3 br label %443 292: ; preds = %275 %293 = sext i32 %279 to i64 %294 = getelementptr inbounds i32, ptr %239, i64 %293 %295 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !25 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds i32, ptr %230, i64 %296 %298 = icmp ugt ptr %294, %297 br i1 %298, label %299, label %304 299: ; preds = %292 %300 = sext i32 %232 to i64 %301 = getelementptr inbounds i8, ptr %5, i64 12 %302 = load i32, ptr %301, align 4, !tbaa !28 %303 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.12, i64 noundef %300, i32 noundef %302) #3 br label %443 304: ; preds = %292 %305 = getelementptr inbounds i8, ptr %239, i64 8 %306 = load i32, ptr %305, align 4, !tbaa !64 %307 = tail call i32 @le32_to_cpu(i32 noundef %306) #3 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds i32, ptr %239, i64 %308 %310 = load i32, ptr %218, align 4, !tbaa !63 %311 = icmp sgt i32 %307, %310 br i1 %311, label %312, label %317 312: ; preds = %304 %313 = sext i32 %232 to i64 %314 = getelementptr inbounds i8, ptr %5, i64 12 %315 = load i32, ptr %314, align 4, !tbaa !28 %316 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.13, i64 noundef %313, i32 noundef %315) #3 br label %443 317: ; preds = %304 %318 = getelementptr inbounds i8, ptr %239, i64 4 %319 = load i32, ptr %318, align 4, !tbaa !65 %320 = tail call i32 @le32_to_cpu(i32 noundef %319) #3 %321 = icmp slt i32 %320, 0 br i1 %321, label %336, label %322 322: ; preds = %317 %323 = zext nneg i32 %320 to i64 %324 = getelementptr inbounds i32, ptr %239, i64 %323 br label %325 325: ; preds = %322, %388 %326 = phi ptr [ %392, %388 ], [ %324, %322 ] %327 = getelementptr inbounds i8, ptr %326, i64 16 %328 = icmp ugt ptr %327, %309 br i1 %328, label %336, label %329 329: ; preds = %325 %330 = getelementptr inbounds i8, ptr %326, i64 4 %331 = load i32, ptr %330, align 4, !tbaa !40 %332 = tail call i32 @le16_to_cpu(i32 noundef %331) #3 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds i32, ptr %326, i64 %333 %335 = icmp ugt ptr %334, %309 br i1 %335, label %336, label %340 336: ; preds = %317, %388, %325, %329 %337 = getelementptr inbounds i8, ptr %5, i64 12 %338 = load i32, ptr %337, align 4, !tbaa !28 %339 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.14, i32 noundef %338) #3 br label %443 340: ; preds = %329 %341 = load i32, ptr %326, align 4, !tbaa !44 %342 = load i32, ptr @INDEX_ENTRY_END, align 4, !tbaa !25 %343 = and i32 %342, %341 %344 = icmp eq i32 %343, 0 br i1 %344, label %345, label %394 345: ; preds = %340 %346 = getelementptr inbounds i8, ptr %326, i64 8 %347 = load i32, ptr %346, align 4, !tbaa !45 %348 = tail call i32 @le16_to_cpu(i32 noundef %347) #3 %349 = add nsw i32 %348, 4 %350 = getelementptr inbounds i8, ptr %326, i64 20 %351 = load i32, ptr %350, align 4, !tbaa !46 %352 = tail call i32 @le16_to_cpu(i32 noundef %351) #3 %353 = icmp sgt i32 %349, %352 br i1 %353, label %363, label %354 354: ; preds = %345 %355 = load i32, ptr %350, align 4, !tbaa !46 %356 = tail call i32 @le16_to_cpu(i32 noundef %355) #3 %357 = load i32, ptr %327, align 4, !tbaa !47 %358 = tail call i32 @le16_to_cpu(i32 noundef %357) #3 %359 = add nsw i32 %358, %356 %360 = load i32, ptr %330, align 4, !tbaa !40 %361 = tail call i32 @le16_to_cpu(i32 noundef %360) #3 %362 = icmp sgt i32 %359, %361 br i1 %362, label %363, label %367 363: ; preds = %354, %345 %364 = getelementptr inbounds i8, ptr %5, i64 12 %365 = load i32, ptr %364, align 4, !tbaa !28 %366 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.14, i32 noundef %365) #3 br label %443 367: ; preds = %354 %368 = load i32, ptr %346, align 4, !tbaa !45 %369 = tail call i32 @le16_to_cpu(i32 noundef %368) #3 %370 = icmp eq i32 %369, %1 br i1 %370, label %371, label %380 371: ; preds = %367 %372 = getelementptr inbounds i8, ptr %326, i64 12 %373 = tail call i32 @memcmp(ptr noundef %0, ptr noundef nonnull %372, i32 noundef %1) #3 %374 = icmp eq i32 %373, 0 br i1 %374, label %375, label %380 375: ; preds = %380, %371, %399 %376 = phi i32 [ %402, %399 ], [ %72, %371 ], [ %72, %380 ] store i32 0, ptr %2, align 8, !tbaa !48 %377 = getelementptr inbounds i8, ptr %2, i64 24 %378 = getelementptr inbounds i8, ptr %2, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %377, i8 0, i64 16, i1 false) store ptr %239, ptr %378, align 8, !tbaa !66 %379 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %226, ptr %379, align 8, !tbaa !67 br label %152 380: ; preds = %371, %367 %381 = load i32, ptr %37, align 8, !tbaa !24 %382 = getelementptr inbounds i8, ptr %326, i64 12 %383 = load i32, ptr %346, align 4, !tbaa !45 %384 = tail call i32 @le16_to_cpu(i32 noundef %383) #3 %385 = tail call i32 @ntfs_collate(ptr noundef %7, i32 noundef %381, ptr noundef %0, i32 noundef %1, ptr noundef nonnull %382, i32 noundef %384) #3 switch i32 %385, label %388 [ i32 -1, label %386 i32 0, label %375 ] 386: ; preds = %380 %387 = load i32, ptr %326, align 4, !tbaa !44 br label %394 388: ; preds = %380 %389 = load i32, ptr %330, align 4, !tbaa !40 %390 = tail call i32 @le16_to_cpu(i32 noundef %389) #3 %391 = sext i32 %390 to i64 %392 = getelementptr inbounds i32, ptr %326, i64 %391 %393 = icmp ult ptr %392, %239 br i1 %393, label %336, label %325 394: ; preds = %340, %386 %395 = phi i32 [ %387, %386 ], [ %341, %340 ] %396 = load i32, ptr @INDEX_ENTRY_NODE, align 4, !tbaa !25 %397 = and i32 %396, %395 %398 = icmp eq i32 %397, 0 br i1 %398, label %399, label %403 399: ; preds = %394 %400 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str.5) #3 %401 = load i32, ptr @ENOENT, align 4, !tbaa !25 %402 = sub nsw i32 0, %401 br label %375 403: ; preds = %394 %404 = load i32, ptr %239, align 4, !tbaa !68 %405 = load i32, ptr @NODE_MASK, align 4, !tbaa !25 %406 = and i32 %405, %404 %407 = load i32, ptr @LEAF_NODE, align 4, !tbaa !25 %408 = icmp eq i32 %406, %407 br i1 %408, label %409, label %413 409: ; preds = %403 %410 = getelementptr inbounds i8, ptr %5, i64 12 %411 = load i32, ptr %410, align 4, !tbaa !28 %412 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.15, i32 noundef %411) #3 br label %443 413: ; preds = %403 %414 = load i32, ptr %330, align 4, !tbaa !40 %415 = tail call i32 @le16_to_cpu(i32 noundef %414) #3 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds i32, ptr %326, i64 %416 %418 = getelementptr inbounds i8, ptr %417, i64 -32 %419 = tail call i32 @sle64_to_cpup(ptr noundef nonnull %418) #3 %420 = icmp sgt i32 %419, -1 br i1 %420, label %421, label %439 421: ; preds = %413 %422 = load i32, ptr %7, align 8, !tbaa !69 %423 = shl i32 %232, %422 %424 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !25 %425 = ashr i32 %423, %424 %426 = shl i32 %419, %422 %427 = ashr i32 %426, %424 %428 = icmp eq i32 %425, %427 br i1 %428, label %231, label %429 429: ; preds = %421 %430 = tail call i32 @unlock_page(ptr noundef %226) #3 %431 = tail call i32 @ntfs_unmap_page(ptr noundef %226) #3 %432 = load i32, ptr %36, align 8, !tbaa !57 %433 = shl i32 %419, %432 %434 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !25 %435 = ashr i32 %433, %434 %436 = tail call ptr @ntfs_map_page(ptr noundef %207, i32 noundef %435) #3 %437 = tail call i64 @IS_ERR(ptr noundef %436) #3 %438 = icmp eq i64 %437, 0 br i1 %438, label %225, label %219 439: ; preds = %413 %440 = getelementptr inbounds i8, ptr %5, i64 12 %441 = load i32, ptr %440, align 4, !tbaa !28 %442 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.16, i32 noundef %441) #3 br label %443 443: ; preds = %439, %409, %363, %336, %312, %299, %282, %266, %256, %244 %444 = tail call i32 @unlock_page(ptr noundef %226) #3 %445 = tail call i32 @ntfs_unmap_page(ptr noundef %226) #3 br label %446 446: ; preds = %443, %219 %447 = phi i32 [ %72, %443 ], [ %224, %219 ] %448 = icmp eq i32 %447, 0 %449 = load i32, ptr @EIO, align 4 %450 = sub nsw i32 0, %449 %451 = select i1 %448, i32 %450, i32 %447 br label %466 452: ; preds = %75, %79, %464, %195, %62 %453 = phi i32 [ %64, %62 ], [ %84, %79 ], [ %72, %75 ], [ %72, %464 ], [ %72, %195 ] %454 = icmp eq i32 %453, 0 %455 = load i32, ptr @EIO, align 4 %456 = sub nsw i32 0, %455 %457 = select i1 %454, i32 %456, i32 %453 br i1 %58, label %460, label %458 458: ; preds = %452 %459 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef nonnull %57) #3 br label %460 460: ; preds = %458, %452 %461 = icmp eq ptr %48, null br i1 %461, label %466, label %462 462: ; preds = %460 %463 = tail call i32 @unmap_mft_record(ptr noundef %11) #3 br label %466 464: ; preds = %108, %104, %175, %129, %120, %85 %465 = tail call i32 (ptr, ptr, ...) @ntfs_error(ptr noundef %9, ptr noundef nonnull @.str.17) #3 br label %452 466: ; preds = %446, %460, %462, %152, %51, %41 %467 = phi i32 [ %55, %51 ], [ %154, %152 ], [ %46, %41 ], [ %457, %462 ], [ %457, %460 ], [ %451, %446 ] ret i32 %467 } declare i32 @ntfs_debug(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @NInoAttr(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_is_collation_rule_supported(i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @map_mft_record(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ntfs_attr_get_search_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_attr_lookup(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntfs_collate(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NInoIndexAllocPresent(ptr noundef) local_unnamed_addr #1 declare i32 @sle64_to_cpup(ptr noundef) local_unnamed_addr #1 declare ptr @VFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_attr_put_search_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @unmap_mft_record(ptr noundef) local_unnamed_addr #1 declare ptr @ntfs_map_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i64 @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_is_indx_record(i32 noundef) local_unnamed_addr #1 declare i32 @sle64_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i32 @ntfs_unmap_page(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 64} !7 = !{!"TYPE_33__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 48} !13 = !{!"TYPE_32__", !14, i64 0, !8, i64 8, !8, i64 12, !15, i64 16, !8, i64 28, !8, i64 32, !17, i64 40, !11, i64 48} !14 = !{!"long", !9, i64 0} !15 = !{!"TYPE_47__", !16, i64 0} !16 = !{!"TYPE_46__", !8, i64 0, !8, i64 4, !8, i64 8} !17 = !{!"TYPE_38__", !11, i64 0} !18 = !{!19, !11, i64 8} !19 = !{!"TYPE_31__", !8, i64 0, !11, i64 8} !20 = !{!13, !11, i64 40} !21 = !{!13, !14, i64 0} !22 = !{!14, !14, i64 0} !23 = !{!13, !8, i64 8} !24 = !{!13, !8, i64 24} !25 = !{!8, !8, i64 0} !26 = !{!13, !8, i64 32} !27 = !{!13, !8, i64 28} !28 = !{!13, !8, i64 12} !29 = !{!30, !11, i64 8} !30 = !{!"TYPE_34__", !14, i64 0, !11, i64 8} !31 = !{!32, !8, i64 0} !32 = !{!"TYPE_42__", !33, i64 0} !33 = !{!"TYPE_41__", !34, i64 0} !34 = !{!"TYPE_40__", !8, i64 0} !35 = !{!36, !8, i64 4} !36 = !{!"TYPE_35__", !37, i64 0} !37 = !{!"TYPE_43__", !8, i64 0, !8, i64 4} !38 = !{!36, !8, i64 0} !39 = !{!30, !14, i64 0} !40 = !{!41, !8, i64 4} !41 = !{!"TYPE_36__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !42, i64 16} !42 = !{!"TYPE_45__", !43, i64 0} !43 = !{!"TYPE_44__", !8, i64 0, !8, i64 4} !44 = !{!41, !8, i64 0} !45 = !{!41, !8, i64 8} !46 = !{!41, !8, i64 20} !47 = !{!41, !8, i64 16} !48 = !{!7, !8, i64 0} !49 = !{!7, !11, i64 56} !50 = !{!7, !11, i64 32} !51 = !{!7, !11, i64 24} !52 = !{!7, !11, i64 48} !53 = !{!7, !11, i64 40} !54 = !{!7, !8, i64 4} !55 = !{!56, !11, i64 0} !56 = !{!"TYPE_39__", !11, i64 0} !57 = !{!13, !8, i64 16} !58 = !{!59, !8, i64 20} !59 = !{!"TYPE_37__", !60, i64 0, !8, i64 16, !8, i64 20} !60 = !{!"TYPE_30__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !61 = !{!59, !8, i64 16} !62 = !{!59, !8, i64 12} !63 = !{!13, !8, i64 20} !64 = !{!59, !8, i64 8} !65 = !{!59, !8, i64 4} !66 = !{!7, !11, i64 16} !67 = !{!7, !11, i64 8} !68 = !{!59, !8, i64 0} !69 = !{!19, !8, i64 0}
fastsocket_kernel_fs_ntfs_extr_index.c_ntfs_index_lookup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/otg/extr_isp1301_omap.c_enable_vbus_source.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/otg/extr_isp1301_omap.c_enable_vbus_source.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @enable_vbus_source], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @enable_vbus_source(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/otg/extr_isp1301_omap.c_enable_vbus_source.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/otg/extr_isp1301_omap.c_enable_vbus_source.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 @enable_vbus_source], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @enable_vbus_source(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_usb_otg_extr_isp1301_omap.c_enable_vbus_source
; ModuleID = 'AnghaBench/disque/deps/jemalloc/test/src/extr_btalloc.c_btalloc.c' source_filename = "AnghaBench/disque/deps/jemalloc/test/src/extr_btalloc.c_btalloc.c" target datalayout = "e-m:e-p270:32:32-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 @btalloc(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @btalloc_0(i64 noundef %0, i32 noundef %1) #2 ret ptr %3 } declare ptr @btalloc_0(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)"}
; ModuleID = 'AnghaBench/disque/deps/jemalloc/test/src/extr_btalloc.c_btalloc.c' source_filename = "AnghaBench/disque/deps/jemalloc/test/src/extr_btalloc.c_btalloc.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 @btalloc(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @btalloc_0(i64 noundef %0, i32 noundef %1) #2 ret ptr %3 } declare ptr @btalloc_0(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)"}
disque_deps_jemalloc_test_src_extr_btalloc.c_btalloc
; ModuleID = 'AnghaBench/linux/arch/mips/sgi-ip22/extr_ip22-mc.c_get_bank_addr.c' source_filename = "AnghaBench/linux/arch/mips/sgi-ip22/extr_ip22-mc.c_get_bank_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SGIMC_MCONFIG_BASEADDR = dso_local local_unnamed_addr global i32 0, align 4 @sgimc = dso_local local_unnamed_addr global ptr null, align 8 @SGIMC_SYSID_MASKREV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_bank_addr], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i64 @get_bank_addr(i32 noundef %0) #0 { %2 = load i32, ptr @SGIMC_MCONFIG_BASEADDR, align 4, !tbaa !5 %3 = and i32 %2, %0 %4 = load ptr, ptr @sgimc, align 8, !tbaa !9 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr @SGIMC_SYSID_MASKREV, align 4, !tbaa !5 %7 = and i32 %6, %5 %8 = icmp sgt i32 %7, 4 %9 = select i1 %8, i32 24, i32 22 %10 = shl i32 %3, %9 %11 = zext i32 %10 to i64 ret i64 %11 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/arch/mips/sgi-ip22/extr_ip22-mc.c_get_bank_addr.c' source_filename = "AnghaBench/linux/arch/mips/sgi-ip22/extr_ip22-mc.c_get_bank_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SGIMC_MCONFIG_BASEADDR = common local_unnamed_addr global i32 0, align 4 @sgimc = common local_unnamed_addr global ptr null, align 8 @SGIMC_SYSID_MASKREV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_bank_addr], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i64 0, 4294967296) i64 @get_bank_addr(i32 noundef %0) #0 { %2 = load i32, ptr @SGIMC_MCONFIG_BASEADDR, align 4, !tbaa !6 %3 = and i32 %2, %0 %4 = load ptr, ptr @sgimc, align 8, !tbaa !10 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @SGIMC_SYSID_MASKREV, align 4, !tbaa !6 %7 = and i32 %6, %5 %8 = icmp sgt i32 %7, 4 %9 = select i1 %8, i32 24, i32 22 %10 = shl i32 %3, %9 %11 = zext i32 %10 to i64 ret i64 %11 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0}
linux_arch_mips_sgi-ip22_extr_ip22-mc.c_get_bank_addr
; ModuleID = 'AnghaBench/linux/drivers/misc/ibmasm/extr_command.c_enqueue_command.c' source_filename = "AnghaBench/linux/drivers/misc/ibmasm/extr_command.c_enqueue_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @enqueue_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @enqueue_command(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef %0) #2 ret void } declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/misc/ibmasm/extr_command.c_enqueue_command.c' source_filename = "AnghaBench/linux/drivers/misc/ibmasm/extr_command.c_enqueue_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @enqueue_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @enqueue_command(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef %0) #2 ret void } declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_misc_ibmasm_extr_command.c_enqueue_command
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_monitor_in_progress.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_monitor_in_progress.c" target datalayout = "e-m:e-p270:32:32-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 @rdtgroup_monitor_in_progress], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rdtgroup_monitor_in_progress(ptr noundef %0) #0 { %2 = tail call i32 @list_empty(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i32 @list_empty(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/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_monitor_in_progress.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_rdtgroup_monitor_in_progress.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 @rdtgroup_monitor_in_progress], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @rdtgroup_monitor_in_progress(ptr noundef %0) #0 { %2 = tail call i32 @list_empty(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i32 @list_empty(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_arch_x86_kernel_cpu_resctrl_extr_pseudo_lock.c_rdtgroup_monitor_in_progress
; ModuleID = 'AnghaBench/libevent/test/extr_regress_ssl.c_wm_acceptcb.c' source_filename = "AnghaBench/libevent/test/extr_regress_ssl.c_wm_acceptcb.c" target datalayout = "e-m:e-p270:32:32-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.wm_context = type { ptr, i32, i64, i32 } @the_cert = dso_local local_unnamed_addr global i32 0, align 4 @the_key = dso_local local_unnamed_addr global i32 0, align 4 @BUFFEREVENT_SSL_ACCEPTING = dso_local local_unnamed_addr global i32 0, align 4 @EV_READ = dso_local local_unnamed_addr global i32 0, align 4 @wm_transfer = dso_local local_unnamed_addr global i32 0, align 4 @wm_eventcb = dso_local local_unnamed_addr global i32 0, align 4 @EV_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm_acceptcb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wm_acceptcb(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, i32 %3, ptr noundef %4) #0 { %6 = tail call ptr @evconnlistener_get_base(ptr noundef %0) #2 %7 = tail call i32 (...) @get_ssl_ctx() #2 %8 = tail call ptr @SSL_new(i32 noundef %7) #2 %9 = load i32, ptr @the_cert, align 4, !tbaa !5 %10 = tail call i32 @SSL_use_certificate(ptr noundef %8, i32 noundef %9) #2 %11 = load i32, ptr @the_key, align 4, !tbaa !5 %12 = tail call i32 @SSL_use_PrivateKey(ptr noundef %8, i32 noundef %11) #2 %13 = load i32, ptr @BUFFEREVENT_SSL_ACCEPTING, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.wm_context, ptr %4, i64 0, i32 3 %15 = load i32, ptr %14, align 8, !tbaa !9 %16 = tail call ptr @bufferevent_openssl_socket_new(ptr noundef %6, i32 noundef %1, ptr noundef %8, i32 noundef %13, i32 noundef %15) #2 %17 = tail call i32 @TT_BLATHER(ptr noundef %16) #2 %18 = load i32, ptr @EV_READ, align 4, !tbaa !5 %19 = getelementptr inbounds %struct.wm_context, ptr %4, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !13 %21 = tail call i32 @bufferevent_setwatermark(ptr noundef %16, i32 noundef %18, i32 noundef 0, i32 noundef %20) #2 %22 = load i32, ptr @wm_transfer, align 4, !tbaa !5 %23 = load i32, ptr @wm_eventcb, align 4, !tbaa !5 %24 = tail call i32 @bufferevent_setcb(ptr noundef %16, i32 noundef %22, ptr noundef null, i32 noundef %23, ptr noundef %4) #2 %25 = load i32, ptr @EV_READ, align 4, !tbaa !5 %26 = load i32, ptr @EV_WRITE, align 4, !tbaa !5 %27 = or i32 %26, %25 %28 = tail call i32 @bufferevent_enable(ptr noundef %16, i32 noundef %27) #2 store ptr %16, ptr %4, align 8, !tbaa !14 %29 = tail call i32 @evconnlistener_disable(ptr noundef %0) #2 ret void } declare ptr @evconnlistener_get_base(ptr noundef) local_unnamed_addr #1 declare ptr @SSL_new(i32 noundef) local_unnamed_addr #1 declare i32 @get_ssl_ctx(...) local_unnamed_addr #1 declare i32 @SSL_use_certificate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SSL_use_PrivateKey(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bufferevent_openssl_socket_new(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TT_BLATHER(ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_setwatermark(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_setcb(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_enable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evconnlistener_disable(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 = !{!"wm_context", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/libevent/test/extr_regress_ssl.c_wm_acceptcb.c' source_filename = "AnghaBench/libevent/test/extr_regress_ssl.c_wm_acceptcb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @the_cert = common local_unnamed_addr global i32 0, align 4 @the_key = common local_unnamed_addr global i32 0, align 4 @BUFFEREVENT_SSL_ACCEPTING = common local_unnamed_addr global i32 0, align 4 @EV_READ = common local_unnamed_addr global i32 0, align 4 @wm_transfer = common local_unnamed_addr global i32 0, align 4 @wm_eventcb = common local_unnamed_addr global i32 0, align 4 @EV_WRITE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm_acceptcb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wm_acceptcb(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, i32 %3, ptr noundef %4) #0 { %6 = tail call ptr @evconnlistener_get_base(ptr noundef %0) #2 %7 = tail call i32 @get_ssl_ctx() #2 %8 = tail call ptr @SSL_new(i32 noundef %7) #2 %9 = load i32, ptr @the_cert, align 4, !tbaa !6 %10 = tail call i32 @SSL_use_certificate(ptr noundef %8, i32 noundef %9) #2 %11 = load i32, ptr @the_key, align 4, !tbaa !6 %12 = tail call i32 @SSL_use_PrivateKey(ptr noundef %8, i32 noundef %11) #2 %13 = load i32, ptr @BUFFEREVENT_SSL_ACCEPTING, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %4, i64 24 %15 = load i32, ptr %14, align 8, !tbaa !10 %16 = tail call ptr @bufferevent_openssl_socket_new(ptr noundef %6, i32 noundef %1, ptr noundef %8, i32 noundef %13, i32 noundef %15) #2 %17 = tail call i32 @TT_BLATHER(ptr noundef %16) #2 %18 = load i32, ptr @EV_READ, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %4, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = tail call i32 @bufferevent_setwatermark(ptr noundef %16, i32 noundef %18, i32 noundef 0, i32 noundef %20) #2 %22 = load i32, ptr @wm_transfer, align 4, !tbaa !6 %23 = load i32, ptr @wm_eventcb, align 4, !tbaa !6 %24 = tail call i32 @bufferevent_setcb(ptr noundef %16, i32 noundef %22, ptr noundef null, i32 noundef %23, ptr noundef %4) #2 %25 = load i32, ptr @EV_READ, align 4, !tbaa !6 %26 = load i32, ptr @EV_WRITE, align 4, !tbaa !6 %27 = or i32 %26, %25 %28 = tail call i32 @bufferevent_enable(ptr noundef %16, i32 noundef %27) #2 store ptr %16, ptr %4, align 8, !tbaa !15 %29 = tail call i32 @evconnlistener_disable(ptr noundef %0) #2 ret void } declare ptr @evconnlistener_get_base(ptr noundef) local_unnamed_addr #1 declare ptr @SSL_new(i32 noundef) local_unnamed_addr #1 declare i32 @get_ssl_ctx(...) local_unnamed_addr #1 declare i32 @SSL_use_certificate(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SSL_use_PrivateKey(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bufferevent_openssl_socket_new(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TT_BLATHER(ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_setwatermark(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_setcb(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_enable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @evconnlistener_disable(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 = !{!"wm_context", !12, i64 0, !7, i64 8, !13, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !12, i64 0}
libevent_test_extr_regress_ssl.c_wm_acceptcb
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_codeAttach.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_codeAttach.c" target datalayout = "e-m:e-p270:32:32-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_26__ = type { ptr } %struct.TYPE_25__ = type { i64, ptr } %struct.TYPE_28__ = type { i64, %struct.TYPE_23__ } %struct.TYPE_23__ = type { ptr } @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @TK_STRING = dso_local local_unnamed_addr global i64 0, align 8 @OP_Function0 = dso_local local_unnamed_addr global i32 0, align 4 @P4_FUNCDEF = dso_local local_unnamed_addr global i32 0, align 4 @OP_Expire = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_ATTACH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @codeAttach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @codeAttach(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca %struct.TYPE_26__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = getelementptr inbounds %struct.TYPE_25__, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = load i64, ptr %0, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %74 13: ; preds = %7 %14 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef 8) #3 store ptr %0, ptr %8, align 8, !tbaa !12 %15 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %16 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %4) #3 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %74 18: ; preds = %13 %19 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %20 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %5) #3 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %74 22: ; preds = %18 %23 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %24 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %6) #3 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %74 26: ; preds = %22 %27 = icmp eq ptr %3, null br i1 %27, label %40, label %28 28: ; preds = %26 %29 = load i64, ptr %3, align 8, !tbaa !16 %30 = load i64, ptr @TK_STRING, align 8, !tbaa !19 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = getelementptr inbounds %struct.TYPE_28__, ptr %3, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !20 br label %35 35: ; preds = %28, %32 %36 = phi ptr [ %34, %32 ], [ null, %28 ] %37 = call i32 @sqlite3AuthCheck(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %36, i32 noundef 0, i32 noundef 0) #3 %38 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %74 40: ; preds = %35, %26 %41 = call ptr @sqlite3GetVdbe(ptr noundef nonnull %0) #3 %42 = call i32 @sqlite3GetTempRange(ptr noundef nonnull %0, i32 noundef 4) #3 %43 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %42) #3 %44 = add nsw i32 %42, 1 %45 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %44) #3 %46 = add nsw i32 %42, 2 %47 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %6, i32 noundef %46) #3 %48 = icmp eq ptr %41, null br i1 %48, label %49, label %54 49: ; preds = %40 %50 = load i64, ptr %10, align 8, !tbaa !21 %51 = icmp ne i64 %50, 0 %52 = zext i1 %51 to i32 %53 = call i32 @assert(i32 noundef %52) #3 br label %74 54: ; preds = %40 %55 = call i32 @assert(i32 noundef 1) #3 %56 = load i32, ptr @OP_Function0, align 4, !tbaa !14 %57 = add nsw i32 %42, 3 %58 = load i32, ptr %2, align 4, !tbaa !23 %59 = sub nsw i32 %57, %58 %60 = load i32, ptr @P4_FUNCDEF, align 4, !tbaa !14 %61 = call i32 @sqlite3VdbeAddOp4(ptr noundef nonnull %41, i32 noundef %56, i32 noundef 0, i32 noundef %59, i32 noundef %57, ptr noundef nonnull %2, i32 noundef %60) #3 %62 = load i32, ptr %2, align 4, !tbaa !23 %63 = add i32 %62, 1 %64 = icmp ult i32 %63, 257 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) #3 %67 = load i32, ptr %2, align 4, !tbaa !23 %68 = call i32 @sqlite3VdbeChangeP5(ptr noundef nonnull %41, i32 noundef %67) #3 %69 = load i32, ptr @OP_Expire, align 4, !tbaa !14 %70 = load i32, ptr @SQLITE_ATTACH, align 4, !tbaa !14 %71 = icmp eq i32 %70, %1 %72 = zext i1 %71 to i32 %73 = call i32 @sqlite3VdbeAddOp1(ptr noundef nonnull %41, i32 noundef %69, i32 noundef %72) #3 br label %74 74: ; preds = %49, %35, %54, %13, %18, %22, %7 %75 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %4) #3 %76 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %5) #3 %77 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @resolveAttachExpr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3AuthCheck(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @sqlite3GetVdbe(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3GetTempRange(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprCode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeAddOp4(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeChangeP5(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeAddOp1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprDelete(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_25__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_26__", !10, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_28__", !7, i64 0, !18, i64 8} !18 = !{!"TYPE_23__", !10, i64 0} !19 = !{!7, !7, i64 0} !20 = !{!17, !10, i64 8} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_24__", !7, i64 0} !23 = !{!24, !15, i64 0} !24 = !{!"TYPE_27__", !15, i64 0}
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_codeAttach.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_codeAttach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_26__ = type { ptr } @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @TK_STRING = common local_unnamed_addr global i64 0, align 8 @OP_Function0 = common local_unnamed_addr global i32 0, align 4 @P4_FUNCDEF = common local_unnamed_addr global i32 0, align 4 @OP_Expire = common local_unnamed_addr global i32 0, align 4 @SQLITE_ATTACH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @codeAttach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @codeAttach(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca %struct.TYPE_26__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = load i64, ptr %0, align 8, !tbaa !12 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %74 13: ; preds = %7 %14 = call i32 @memset(ptr noundef nonnull %8, i32 noundef 0, i32 noundef 8) #3 store ptr %0, ptr %8, align 8, !tbaa !13 %15 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %16 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %4) #3 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %74 18: ; preds = %13 %19 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %20 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %5) #3 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %74 22: ; preds = %18 %23 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %24 = call i32 @resolveAttachExpr(ptr noundef nonnull %8, ptr noundef %6) #3 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %74 26: ; preds = %22 %27 = icmp eq ptr %3, null br i1 %27, label %40, label %28 28: ; preds = %26 %29 = load i64, ptr %3, align 8, !tbaa !17 %30 = load i64, ptr @TK_STRING, align 8, !tbaa !20 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = getelementptr inbounds i8, ptr %3, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !21 br label %35 35: ; preds = %28, %32 %36 = phi ptr [ %34, %32 ], [ null, %28 ] %37 = call i32 @sqlite3AuthCheck(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %36, i32 noundef 0, i32 noundef 0) #3 %38 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %74 40: ; preds = %35, %26 %41 = call ptr @sqlite3GetVdbe(ptr noundef nonnull %0) #3 %42 = call i32 @sqlite3GetTempRange(ptr noundef nonnull %0, i32 noundef 4) #3 %43 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %42) #3 %44 = add nsw i32 %42, 1 %45 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %44) #3 %46 = add nsw i32 %42, 2 %47 = call i32 @sqlite3ExprCode(ptr noundef nonnull %0, ptr noundef %6, i32 noundef %46) #3 %48 = icmp eq ptr %41, null br i1 %48, label %49, label %54 49: ; preds = %40 %50 = load i64, ptr %10, align 8, !tbaa !22 %51 = icmp ne i64 %50, 0 %52 = zext i1 %51 to i32 %53 = call i32 @assert(i32 noundef %52) #3 br label %74 54: ; preds = %40 %55 = call i32 @assert(i32 noundef 1) #3 %56 = load i32, ptr @OP_Function0, align 4, !tbaa !15 %57 = add nsw i32 %42, 3 %58 = load i32, ptr %2, align 4, !tbaa !24 %59 = sub nsw i32 %57, %58 %60 = load i32, ptr @P4_FUNCDEF, align 4, !tbaa !15 %61 = call i32 @sqlite3VdbeAddOp4(ptr noundef nonnull %41, i32 noundef %56, i32 noundef 0, i32 noundef %59, i32 noundef %57, ptr noundef nonnull %2, i32 noundef %60) #3 %62 = load i32, ptr %2, align 4, !tbaa !24 %63 = add i32 %62, 1 %64 = icmp ult i32 %63, 257 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) #3 %67 = load i32, ptr %2, align 4, !tbaa !24 %68 = call i32 @sqlite3VdbeChangeP5(ptr noundef nonnull %41, i32 noundef %67) #3 %69 = load i32, ptr @OP_Expire, align 4, !tbaa !15 %70 = load i32, ptr @SQLITE_ATTACH, align 4, !tbaa !15 %71 = icmp eq i32 %70, %1 %72 = zext i1 %71 to i32 %73 = call i32 @sqlite3VdbeAddOp1(ptr noundef nonnull %41, i32 noundef %69, i32 noundef %72) #3 br label %74 74: ; preds = %49, %35, %54, %13, %18, %22, %7 %75 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %4) #3 %76 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %5) #3 %77 = call i32 @sqlite3ExprDelete(ptr noundef %10, ptr noundef %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @resolveAttachExpr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3AuthCheck(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @sqlite3GetVdbe(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3GetTempRange(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprCode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeAddOp4(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeChangeP5(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3VdbeAddOp1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3ExprDelete(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_25__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_26__", !11, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_28__", !8, i64 0, !19, i64 8} !19 = !{!"TYPE_23__", !11, i64 0} !20 = !{!8, !8, i64 0} !21 = !{!18, !11, i64 8} !22 = !{!23, !8, i64 0} !23 = !{!"TYPE_24__", !8, i64 0} !24 = !{!25, !16, i64 0} !25 = !{!"TYPE_27__", !16, i64 0}
poco_Data_SQLite_src_extr_sqlite3.c_codeAttach
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_sysdsl_dir.h_dsl_dir_phys.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_sysdsl_dir.h_dsl_dir_phys.c" target datalayout = "e-m:e-p270:32:32-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.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_sysdsl_dir.h_dsl_dir_phys.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_sysdsl_dir.h_dsl_dir_phys.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_sysdsl_dir.h_dsl_dir_phys
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_PIPE_CSC_PRE_LV.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_PIPE_CSC_PRE_LV.c" target datalayout = "e-m:e-p270:32:32-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 @REG_MDP4_PIPE_CSC_PRE_LV], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @REG_MDP4_PIPE_CSC_PRE_LV(i32 noundef %0, i32 noundef %1) #0 { %3 = shl i32 %0, 16 %4 = add i32 %3, 148992 %5 = shl nsw i32 %1, 2 %6 = add i32 %4, %5 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_PIPE_CSC_PRE_LV.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_PIPE_CSC_PRE_LV.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 @REG_MDP4_PIPE_CSC_PRE_LV], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @REG_MDP4_PIPE_CSC_PRE_LV(i32 noundef %0, i32 noundef %1) #0 { %3 = shl i32 %0, 16 %4 = add i32 %3, 148992 %5 = shl nsw i32 %1, 2 %6 = add i32 %4, %5 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_msm_disp_mdp4_extr_mdp4.xml.h_REG_MDP4_PIPE_CSC_PRE_LV
; ModuleID = 'AnghaBench/libgit2/src/extr_remote.c_find_head.c' source_filename = "AnghaBench/libgit2/src/extr_remote.c_find_head.c" target datalayout = "e-m:e-p270:32:32-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 @find_head], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @find_head(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @strcmp(i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libgit2/src/extr_remote.c_find_head.c' source_filename = "AnghaBench/libgit2/src/extr_remote.c_find_head.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 @find_head], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @find_head(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @strcmp(i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
libgit2_src_extr_remote.c_find_head
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c__hx509_verify_signature.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c__hx509_verify_signature.c" target datalayout = "e-m:e-p270:32:32-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.signature_alg = type { i32, ptr, i64 } @HX509_SIG_ALG_NO_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @PROVIDE_CONF = dso_local local_unnamed_addr global i32 0, align 4 @HX509_CRYPTO_SIG_NO_CONF = dso_local local_unnamed_addr global i32 0, align 4 @REQUIRE_SIGNER = dso_local local_unnamed_addr global i32 0, align 4 @HX509_CRYPTO_SIGNATURE_WITHOUT_SIGNER = dso_local local_unnamed_addr global i32 0, align 4 @HX509_SIG_ALG_DONT_MATCH_KEY_ALG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @_hx509_verify_signature(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = icmp eq i64 %1, 0 br i1 %6, label %11, label %7 7: ; preds = %5 %8 = tail call ptr @_hx509_get_cert(i64 noundef %1) #2 %9 = tail call ptr @find_sig_alg(ptr noundef %2) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %17 11: ; preds = %5 %12 = tail call ptr @find_sig_alg(ptr noundef %2) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %27 14: ; preds = %11, %7 %15 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %16 = load i32, ptr @HX509_SIG_ALG_NO_SUPPORTED, align 4, !tbaa !5 br label %52 17: ; preds = %7 %18 = icmp eq ptr %8, null br i1 %18, label %27, label %19 19: ; preds = %17 %20 = load i32, ptr %9, align 8, !tbaa !9 %21 = load i32, ptr @PROVIDE_CONF, align 4, !tbaa !5 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %19 %25 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %26 = load i32, ptr @HX509_CRYPTO_SIG_NO_CONF, align 4, !tbaa !5 br label %52 27: ; preds = %11, %17 %28 = phi ptr [ %9, %17 ], [ %12, %11 ] %29 = load i32, ptr %28, align 8, !tbaa !9 %30 = load i32, ptr @REQUIRE_SIGNER, align 4, !tbaa !5 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %46, label %33 33: ; preds = %27 %34 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %35 = load i32, ptr @HX509_CRYPTO_SIGNATURE_WITHOUT_SIGNER, align 4, !tbaa !5 br label %52 36: ; preds = %19 %37 = getelementptr inbounds %struct.signature_alg, ptr %9, i64 0, i32 2 %38 = load i64, ptr %37, align 8, !tbaa !13 %39 = icmp eq i64 %38, 0 br i1 %39, label %46, label %40 40: ; preds = %36 %41 = tail call i64 @der_heim_oid_cmp(ptr noundef nonnull %8, i64 noundef %38) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %46, label %43 43: ; preds = %40 %44 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %45 = load i32, ptr @HX509_SIG_ALG_DONT_MATCH_KEY_ALG, align 4, !tbaa !5 br label %52 46: ; preds = %40, %27, %36 %47 = phi ptr [ %8, %36 ], [ null, %27 ], [ %8, %40 ] %48 = phi ptr [ %9, %36 ], [ %28, %27 ], [ %9, %40 ] %49 = getelementptr inbounds %struct.signature_alg, ptr %48, i64 0, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !14 %51 = tail call i32 %50(i32 noundef %0, ptr noundef nonnull %48, ptr noundef %47, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 br label %52 52: ; preds = %43, %46, %33, %24, %14 %53 = phi i32 [ %16, %14 ], [ %26, %24 ], [ %35, %33 ], [ %51, %46 ], [ %45, %43 ] ret i32 %53 } declare ptr @_hx509_get_cert(i64 noundef) local_unnamed_addr #1 declare ptr @find_sig_alg(ptr noundef) local_unnamed_addr #1 declare i32 @hx509_clear_error_string(i32 noundef) local_unnamed_addr #1 declare i64 @der_heim_oid_cmp(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"signature_alg", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !12, i64 16} !14 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c__hx509_verify_signature.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c__hx509_verify_signature.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HX509_SIG_ALG_NO_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @PROVIDE_CONF = common local_unnamed_addr global i32 0, align 4 @HX509_CRYPTO_SIG_NO_CONF = common local_unnamed_addr global i32 0, align 4 @REQUIRE_SIGNER = common local_unnamed_addr global i32 0, align 4 @HX509_CRYPTO_SIGNATURE_WITHOUT_SIGNER = common local_unnamed_addr global i32 0, align 4 @HX509_SIG_ALG_DONT_MATCH_KEY_ALG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @_hx509_verify_signature(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = icmp eq i64 %1, 0 br i1 %6, label %11, label %7 7: ; preds = %5 %8 = tail call ptr @_hx509_get_cert(i64 noundef %1) #2 %9 = tail call ptr @find_sig_alg(ptr noundef %2) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %17 11: ; preds = %5 %12 = tail call ptr @find_sig_alg(ptr noundef %2) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %27 14: ; preds = %11, %7 %15 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %16 = load i32, ptr @HX509_SIG_ALG_NO_SUPPORTED, align 4, !tbaa !6 br label %52 17: ; preds = %7 %18 = icmp eq ptr %8, null br i1 %18, label %27, label %19 19: ; preds = %17 %20 = load i32, ptr %9, align 8, !tbaa !10 %21 = load i32, ptr @PROVIDE_CONF, align 4, !tbaa !6 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %19 %25 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %26 = load i32, ptr @HX509_CRYPTO_SIG_NO_CONF, align 4, !tbaa !6 br label %52 27: ; preds = %11, %17 %28 = phi ptr [ %9, %17 ], [ %12, %11 ] %29 = load i32, ptr %28, align 8, !tbaa !10 %30 = load i32, ptr @REQUIRE_SIGNER, align 4, !tbaa !6 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %46, label %33 33: ; preds = %27 %34 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %35 = load i32, ptr @HX509_CRYPTO_SIGNATURE_WITHOUT_SIGNER, align 4, !tbaa !6 br label %52 36: ; preds = %19 %37 = getelementptr inbounds i8, ptr %9, i64 16 %38 = load i64, ptr %37, align 8, !tbaa !14 %39 = icmp eq i64 %38, 0 br i1 %39, label %46, label %40 40: ; preds = %36 %41 = tail call i64 @der_heim_oid_cmp(ptr noundef nonnull %8, i64 noundef %38) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %46, label %43 43: ; preds = %40 %44 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 %45 = load i32, ptr @HX509_SIG_ALG_DONT_MATCH_KEY_ALG, align 4, !tbaa !6 br label %52 46: ; preds = %40, %27, %36 %47 = phi ptr [ %8, %36 ], [ null, %27 ], [ %8, %40 ] %48 = phi ptr [ %9, %36 ], [ %28, %27 ], [ %9, %40 ] %49 = getelementptr inbounds i8, ptr %48, i64 8 %50 = load ptr, ptr %49, align 8, !tbaa !15 %51 = tail call i32 %50(i32 noundef %0, ptr noundef nonnull %48, ptr noundef %47, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 br label %52 52: ; preds = %43, %46, %33, %24, %14 %53 = phi i32 [ %16, %14 ], [ %26, %24 ], [ %35, %33 ], [ %51, %46 ], [ %45, %43 ] ret i32 %53 } declare ptr @_hx509_get_cert(i64 noundef) local_unnamed_addr #1 declare ptr @find_sig_alg(ptr noundef) local_unnamed_addr #1 declare i32 @hx509_clear_error_string(i32 noundef) local_unnamed_addr #1 declare i64 @der_heim_oid_cmp(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"signature_alg", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 16} !15 = !{!11, !12, i64 8}
freebsd_crypto_heimdal_lib_hx509_extr_crypto.c__hx509_verify_signature
; ModuleID = 'AnghaBench/linux/drivers/usb/atm/extr_ueagle-atm.c_uea_schedule_load_page_e4.c' source_filename = "AnghaBench/linux/drivers/usb/atm/extr_ueagle-atm.c_uea_schedule_load_page_e4.c" target datalayout = "e-m:e-p270:32:32-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.uea_softc = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @uea_schedule_load_page_e4], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uea_schedule_load_page_e4(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.uea_softc, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = tail call i32 @schedule_work(ptr noundef %0) #2 ret void } declare i32 @schedule_work(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 = !{!"intr_pkt", !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 = !{!"uea_softc", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/usb/atm/extr_ueagle-atm.c_uea_schedule_load_page_e4.c' source_filename = "AnghaBench/linux/drivers/usb/atm/extr_ueagle-atm.c_uea_schedule_load_page_e4.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 @uea_schedule_load_page_e4], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uea_schedule_load_page_e4(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !11 %5 = tail call i32 @schedule_work(ptr noundef %0) #2 ret void } declare i32 @schedule_work(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 = !{!"intr_pkt", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 4} !12 = !{!"uea_softc", !8, i64 0, !8, i64 4}
linux_drivers_usb_atm_extr_ueagle-atm.c_uea_schedule_load_page_e4
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/cirrus/extr_pinctrl-lochnagar.c_lochnagar_gpio_direction_out.c' source_filename = "AnghaBench/linux/drivers/pinctrl/cirrus/extr_pinctrl-lochnagar.c_lochnagar_gpio_direction_out.c" target datalayout = "e-m:e-p270:32:32-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 @lochnagar_gpio_direction_out], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lochnagar_gpio_direction_out(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @lochnagar_gpio_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = zext i32 %1 to i64 %7 = add nsw i64 %5, %6 %8 = tail call i32 @pinctrl_gpio_direction_output(i64 noundef %7) #2 ret i32 %8 } declare i32 @lochnagar_gpio_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pinctrl_gpio_direction_output(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 = !{!"gpio_chip", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/cirrus/extr_pinctrl-lochnagar.c_lochnagar_gpio_direction_out.c' source_filename = "AnghaBench/linux/drivers/pinctrl/cirrus/extr_pinctrl-lochnagar.c_lochnagar_gpio_direction_out.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 @lochnagar_gpio_direction_out], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lochnagar_gpio_direction_out(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @lochnagar_gpio_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = zext i32 %1 to i64 %7 = add nsw i64 %5, %6 %8 = tail call i32 @pinctrl_gpio_direction_output(i64 noundef %7) #2 ret i32 %8 } declare i32 @lochnagar_gpio_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pinctrl_gpio_direction_output(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 = !{!"gpio_chip", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_pinctrl_cirrus_extr_pinctrl-lochnagar.c_lochnagar_gpio_direction_out
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_csp.c_get_version.c' source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_csp.c_get_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_version], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_version(ptr noundef %0) #0 { %2 = alloca [2 x i8], align 1 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3 store i8 8, ptr %2, align 1, !tbaa !5 %3 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 1 store i8 3, ptr %3, align 1, !tbaa !5 %4 = call i32 @command_seq(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 2) #3 %5 = call i32 @snd_sbdsp_get_byte(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @command_seq(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_sbdsp_get_byte(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_csp.c_get_version.c' source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb16_csp.c_get_version.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 @get_version], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_version(ptr noundef %0) #0 { %2 = alloca [2 x i8], align 1 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3 store i8 8, ptr %2, align 1, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 1 store i8 3, ptr %3, align 1, !tbaa !6 %4 = call i32 @command_seq(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 2) #3 %5 = call i32 @snd_sbdsp_get_byte(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @command_seq(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_sbdsp_get_byte(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_isa_sb_extr_sb16_csp.c_get_version
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_pack_16_rr.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_pack_16_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" @CPU_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @DY = dso_local local_unnamed_addr global i32 0, align 4 @DX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_pack_16_rr() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !5 %2 = tail call i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %15, label %4 4: ; preds = %0 %5 = load i32, ptr @DY, align 4, !tbaa !5 %6 = tail call i32 (...) @OPER_I_16() #2 %7 = add nsw i32 %6, %5 %8 = load i32, ptr @DX, align 4, !tbaa !5 %9 = tail call i32 @MASK_OUT_BELOW_8(i32 noundef %8) #2 %10 = lshr i32 %7, 4 %11 = and i32 %10, 240 %12 = and i32 %7, 15 %13 = or i32 %12, %9 %14 = or i32 %13, %11 store i32 %14, ptr @DX, align 4, !tbaa !5 br label %17 15: ; preds = %0 %16 = tail call i32 (...) @m68ki_exception_illegal() #2 br label %17 17: ; preds = %15, %4 ret void } declare i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef) local_unnamed_addr #1 declare i32 @OPER_I_16(...) local_unnamed_addr #1 declare i32 @MASK_OUT_BELOW_8(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_pack_16_rr.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_pack_16_rr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CPU_TYPE = common local_unnamed_addr global i32 0, align 4 @DY = common local_unnamed_addr global i32 0, align 4 @DX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_pack_16_rr() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !6 %2 = tail call i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %15, label %4 4: ; preds = %0 %5 = load i32, ptr @DY, align 4, !tbaa !6 %6 = tail call i32 @OPER_I_16() #2 %7 = add nsw i32 %6, %5 %8 = load i32, ptr @DX, align 4, !tbaa !6 %9 = tail call i32 @MASK_OUT_BELOW_8(i32 noundef %8) #2 %10 = lshr i32 %7, 4 %11 = and i32 %10, 240 %12 = and i32 %7, 15 %13 = or i32 %12, %9 %14 = or i32 %13, %11 store i32 %14, ptr @DX, align 4, !tbaa !6 br label %17 15: ; preds = %0 %16 = tail call i32 @m68ki_exception_illegal() #2 br label %17 17: ; preds = %15, %4 ret void } declare i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef) local_unnamed_addr #1 declare i32 @OPER_I_16(...) local_unnamed_addr #1 declare i32 @MASK_OUT_BELOW_8(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopnz.c_m68k_op_pack_16_rr
; ModuleID = 'AnghaBench/mongoose/src/extr_mg_util.c_mg_url_encode.c' source_filename = "AnghaBench/mongoose/src/extr_mg_util.c_mg_url_encode.c" target datalayout = "e-m:e-p270:32:32-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"._-$,;~()/\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @mg_url_encode(i32 %0) local_unnamed_addr #0 { %2 = tail call i32 @mg_mk_str(ptr noundef nonnull @.str) #2 %3 = tail call i32 @mg_url_encode_opt(i32 %0, i32 noundef %2, i32 noundef 0) #2 ret i32 %3 } declare i32 @mg_url_encode_opt(i32, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mg_mk_str(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/mongoose/src/extr_mg_util.c_mg_url_encode.c' source_filename = "AnghaBench/mongoose/src/extr_mg_util.c_mg_url_encode.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"._-$,;~()/\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mg_url_encode(i64 %0) local_unnamed_addr #0 { %2 = tail call i32 @mg_mk_str(ptr noundef nonnull @.str) #2 %3 = and i64 %0, 4294967295 %4 = tail call i32 @mg_url_encode_opt(i64 %3, i32 noundef %2, i32 noundef 0) #2 ret i32 %4 } declare i32 @mg_url_encode_opt(i64, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mg_mk_str(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)"}
mongoose_src_extr_mg_util.c_mg_url_encode
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_zaccess_dataset_check.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_zaccess_dataset_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WRITE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @WRITE_MASK_ATTRS = dso_local local_unnamed_addr global i32 0, align 4 @EROFS = dso_local local_unnamed_addr global i32 0, align 4 @WRITE_MASK_DATA = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_READONLY = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_IMMUTABLE = dso_local local_unnamed_addr global i32 0, align 4 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @ACE_DELETE = dso_local local_unnamed_addr global i32 0, align 4 @ACE_DELETE_CHILD = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_NOUNLINK = dso_local local_unnamed_addr global i32 0, align 4 @ACE_READ_DATA = dso_local local_unnamed_addr global i32 0, align 4 @ACE_EXECUTE = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_AV_QUARANTINED = dso_local local_unnamed_addr global i32 0, align 4 @EACCES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zfs_zaccess_dataset_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zfs_zaccess_dataset_check(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @WRITE_MASK, align 4, !tbaa !5 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, 0 br i1 %5, label %24, label %6 6: ; preds = %2 %7 = tail call i32 @ZTOZSB(ptr noundef %0) #2 %8 = tail call i64 @zfs_is_readonly(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %6 %11 = tail call ptr @ZTOI(ptr noundef %0) #2 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = tail call i64 @Z_ISDEV(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %72, label %15 15: ; preds = %10 %16 = tail call ptr @ZTOI(ptr noundef %0) #2 %17 = load i32, ptr %16, align 4, !tbaa !9 %18 = tail call i64 @Z_ISDEV(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i32, ptr @WRITE_MASK_ATTRS, align 4, !tbaa !5 %22 = and i32 %21, %1 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %72 24: ; preds = %20, %15, %6, %2 %25 = load i32, ptr @WRITE_MASK_DATA, align 4, !tbaa !5 %26 = and i32 %25, %1 %27 = icmp eq i32 %26, 0 br i1 %27, label %50, label %28 28: ; preds = %24 %29 = tail call ptr @ZTOI(ptr noundef %0) #2 %30 = load i32, ptr %29, align 4, !tbaa !9 %31 = tail call i64 @S_ISDIR(i32 noundef %30) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %28 %34 = load i32, ptr %0, align 4, !tbaa !11 %35 = load i32, ptr @ZFS_READONLY, align 4, !tbaa !5 %36 = load i32, ptr @ZFS_IMMUTABLE, align 4, !tbaa !5 %37 = or i32 %36, %35 %38 = and i32 %37, %34 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %72 40: ; preds = %33, %28 %41 = tail call ptr @ZTOI(ptr noundef %0) #2 %42 = load i32, ptr %41, align 4, !tbaa !9 %43 = tail call i64 @S_ISDIR(i32 noundef %42) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %40 %46 = load i32, ptr %0, align 4, !tbaa !11 %47 = load i32, ptr @ZFS_IMMUTABLE, align 4, !tbaa !5 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %72 50: ; preds = %45, %40, %24 %51 = load i32, ptr @ACE_DELETE, align 4, !tbaa !5 %52 = load i32, ptr @ACE_DELETE_CHILD, align 4, !tbaa !5 %53 = or i32 %52, %51 %54 = and i32 %53, %1 %55 = icmp eq i32 %54, 0 br i1 %55, label %61, label %56 56: ; preds = %50 %57 = load i32, ptr %0, align 4, !tbaa !11 %58 = load i32, ptr @ZFS_NOUNLINK, align 4, !tbaa !5 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %72 61: ; preds = %56, %50 %62 = load i32, ptr @ACE_READ_DATA, align 4, !tbaa !5 %63 = load i32, ptr @ACE_EXECUTE, align 4, !tbaa !5 %64 = or i32 %63, %62 %65 = and i32 %64, %1 %66 = icmp eq i32 %65, 0 br i1 %66, label %76, label %67 67: ; preds = %61 %68 = load i32, ptr %0, align 4, !tbaa !11 %69 = load i32, ptr @ZFS_AV_QUARANTINED, align 4, !tbaa !5 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %76, label %72 72: ; preds = %67, %56, %33, %45, %10, %20 %73 = phi ptr [ @EROFS, %20 ], [ @EROFS, %10 ], [ @EPERM, %45 ], [ @EPERM, %33 ], [ @EPERM, %56 ], [ @EACCES, %67 ] %74 = load i32, ptr %73, align 4, !tbaa !5 %75 = tail call i32 @SET_ERROR(i32 noundef %74) #2 br label %76 76: ; preds = %72, %61, %67 %77 = phi i32 [ 0, %67 ], [ 0, %61 ], [ %75, %72 ] ret i32 %77 } declare i64 @zfs_is_readonly(i32 noundef) local_unnamed_addr #1 declare i32 @ZTOZSB(ptr noundef) local_unnamed_addr #1 declare i64 @Z_ISDEV(i32 noundef) local_unnamed_addr #1 declare ptr @ZTOI(ptr noundef) local_unnamed_addr #1 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1 declare i64 @S_ISDIR(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_7__", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_zaccess_dataset_check.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_zaccess_dataset_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WRITE_MASK = common local_unnamed_addr global i32 0, align 4 @WRITE_MASK_ATTRS = common local_unnamed_addr global i32 0, align 4 @EROFS = common local_unnamed_addr global i32 0, align 4 @WRITE_MASK_DATA = common local_unnamed_addr global i32 0, align 4 @ZFS_READONLY = common local_unnamed_addr global i32 0, align 4 @ZFS_IMMUTABLE = common local_unnamed_addr global i32 0, align 4 @EPERM = common local_unnamed_addr global i32 0, align 4 @ACE_DELETE = common local_unnamed_addr global i32 0, align 4 @ACE_DELETE_CHILD = common local_unnamed_addr global i32 0, align 4 @ZFS_NOUNLINK = common local_unnamed_addr global i32 0, align 4 @ACE_READ_DATA = common local_unnamed_addr global i32 0, align 4 @ACE_EXECUTE = common local_unnamed_addr global i32 0, align 4 @ZFS_AV_QUARANTINED = common local_unnamed_addr global i32 0, align 4 @EACCES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zfs_zaccess_dataset_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zfs_zaccess_dataset_check(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @WRITE_MASK, align 4, !tbaa !6 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, 0 br i1 %5, label %24, label %6 6: ; preds = %2 %7 = tail call i32 @ZTOZSB(ptr noundef %0) #2 %8 = tail call i64 @zfs_is_readonly(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %6 %11 = tail call ptr @ZTOI(ptr noundef %0) #2 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i64 @Z_ISDEV(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %72, label %15 15: ; preds = %10 %16 = tail call ptr @ZTOI(ptr noundef %0) #2 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = tail call i64 @Z_ISDEV(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i32, ptr @WRITE_MASK_ATTRS, align 4, !tbaa !6 %22 = and i32 %21, %1 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %72 24: ; preds = %20, %15, %6, %2 %25 = load i32, ptr @WRITE_MASK_DATA, align 4, !tbaa !6 %26 = and i32 %25, %1 %27 = icmp eq i32 %26, 0 br i1 %27, label %50, label %28 28: ; preds = %24 %29 = tail call ptr @ZTOI(ptr noundef %0) #2 %30 = load i32, ptr %29, align 4, !tbaa !10 %31 = tail call i64 @S_ISDIR(i32 noundef %30) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %28 %34 = load i32, ptr %0, align 4, !tbaa !12 %35 = load i32, ptr @ZFS_READONLY, align 4, !tbaa !6 %36 = load i32, ptr @ZFS_IMMUTABLE, align 4, !tbaa !6 %37 = or i32 %36, %35 %38 = and i32 %37, %34 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %72 40: ; preds = %33, %28 %41 = tail call ptr @ZTOI(ptr noundef %0) #2 %42 = load i32, ptr %41, align 4, !tbaa !10 %43 = tail call i64 @S_ISDIR(i32 noundef %42) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %40 %46 = load i32, ptr %0, align 4, !tbaa !12 %47 = load i32, ptr @ZFS_IMMUTABLE, align 4, !tbaa !6 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %72 50: ; preds = %45, %40, %24 %51 = load i32, ptr @ACE_DELETE, align 4, !tbaa !6 %52 = load i32, ptr @ACE_DELETE_CHILD, align 4, !tbaa !6 %53 = or i32 %52, %51 %54 = and i32 %53, %1 %55 = icmp eq i32 %54, 0 br i1 %55, label %61, label %56 56: ; preds = %50 %57 = load i32, ptr %0, align 4, !tbaa !12 %58 = load i32, ptr @ZFS_NOUNLINK, align 4, !tbaa !6 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %72 61: ; preds = %56, %50 %62 = load i32, ptr @ACE_READ_DATA, align 4, !tbaa !6 %63 = load i32, ptr @ACE_EXECUTE, align 4, !tbaa !6 %64 = or i32 %63, %62 %65 = and i32 %64, %1 %66 = icmp eq i32 %65, 0 br i1 %66, label %76, label %67 67: ; preds = %61 %68 = load i32, ptr %0, align 4, !tbaa !12 %69 = load i32, ptr @ZFS_AV_QUARANTINED, align 4, !tbaa !6 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %76, label %72 72: ; preds = %67, %56, %33, %45, %10, %20 %73 = phi ptr [ @EROFS, %20 ], [ @EROFS, %10 ], [ @EPERM, %45 ], [ @EPERM, %33 ], [ @EPERM, %56 ], [ @EACCES, %67 ] %74 = load i32, ptr %73, align 4, !tbaa !6 %75 = tail call i32 @SET_ERROR(i32 noundef %74) #2 br label %76 76: ; preds = %72, %61, %67 %77 = phi i32 [ 0, %67 ], [ 0, %61 ], [ %75, %72 ] ret i32 %77 } declare i64 @zfs_is_readonly(i32 noundef) local_unnamed_addr #1 declare i32 @ZTOZSB(ptr noundef) local_unnamed_addr #1 declare i64 @Z_ISDEV(i32 noundef) local_unnamed_addr #1 declare ptr @ZTOI(ptr noundef) local_unnamed_addr #1 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1 declare i64 @S_ISDIR(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_7__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0}
zfs_module_os_linux_zfs_extr_zfs_acl.c_zfs_zaccess_dataset_check
; ModuleID = 'AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy.c_store_stats.c' source_filename = "AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy.c_store_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" @stats_buffer = dso_local local_unnamed_addr global i32 0, align 4 @STATS_BUFF_SIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @store_stats() local_unnamed_addr #0 { %1 = load i32, ptr @stats_buffer, align 4, !tbaa !5 %2 = load i64, ptr @STATS_BUFF_SIZE, align 8, !tbaa !9 %3 = add nsw i64 %2, -2 %4 = tail call i32 @rpc_proxy_prepare_stats(i32 noundef 0, i32 noundef %1, i64 noundef %3) #2 %5 = load i32, ptr @stats_buffer, align 4, !tbaa !5 %6 = tail call i32 @tl_store_stats(i32 noundef %5, i32 noundef 0) #2 ret void } declare i32 @rpc_proxy_prepare_stats(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @tl_store_stats(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 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy.c_store_stats.c' source_filename = "AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy.c_store_stats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stats_buffer = common local_unnamed_addr global i32 0, align 4 @STATS_BUFF_SIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @store_stats() local_unnamed_addr #0 { %1 = load i32, ptr @stats_buffer, align 4, !tbaa !6 %2 = load i64, ptr @STATS_BUFF_SIZE, align 8, !tbaa !10 %3 = add nsw i64 %2, -2 %4 = tail call i32 @rpc_proxy_prepare_stats(i32 noundef 0, i32 noundef %1, i64 noundef %3) #2 %5 = load i32, ptr @stats_buffer, align 4, !tbaa !6 %6 = tail call i32 @tl_store_stats(i32 noundef %5, i32 noundef 0) #2 ret void } declare i32 @rpc_proxy_prepare_stats(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @tl_store_stats(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 = !{!"long", !8, i64 0}
kphp-kdb_rpc-proxy_extr_rpc-proxy.c_store_stats
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_csum.c_ext2fs_extent_block_csum_set.c' source_filename = "AnghaBench/rufus/src/ext2fs/extr_csum.c_ext2fs_extent_block_csum_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" ; Function Attrs: nounwind uwtable define dso_local i64 @ext2fs_extent_block_csum_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @get_extent_tail(ptr noundef %2) #3 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @ext2fs_has_feature_metadata_csum(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = call i64 @ext2fs_extent_block_csum(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull %4) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %4, align 4, !tbaa !10 %14 = call i32 @ext2fs_cpu_to_le32(i32 noundef %13) #3 store i32 %14, ptr %5, align 4, !tbaa !11 br label %15 15: ; preds = %9, %3, %12 %16 = phi i64 [ 0, %12 ], [ 0, %3 ], [ %10, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_extent_tail(ptr noundef) local_unnamed_addr #2 declare i32 @ext2fs_has_feature_metadata_csum(i32 noundef) local_unnamed_addr #2 declare i64 @ext2fs_extent_block_csum(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ext2fs_cpu_to_le32(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"ext3_extent_tail", !7, i64 0}
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_csum.c_ext2fs_extent_block_csum_set.c' source_filename = "AnghaBench/rufus/src/ext2fs/extr_csum.c_ext2fs_extent_block_csum_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i64 @ext2fs_extent_block_csum_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @get_extent_tail(ptr noundef %2) #3 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @ext2fs_has_feature_metadata_csum(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = call i64 @ext2fs_extent_block_csum(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull %4) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = call i32 @ext2fs_cpu_to_le32(i32 noundef %13) #3 store i32 %14, ptr %5, align 4, !tbaa !12 br label %15 15: ; preds = %9, %3, %12 %16 = phi i64 [ 0, %12 ], [ 0, %3 ], [ %10, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @get_extent_tail(ptr noundef) local_unnamed_addr #2 declare i32 @ext2fs_has_feature_metadata_csum(i32 noundef) local_unnamed_addr #2 declare i64 @ext2fs_extent_block_csum(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ext2fs_cpu_to_le32(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ext3_extent_tail", !8, i64 0}
rufus_src_ext2fs_extr_csum.c_ext2fs_extent_block_csum_set
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2b.c_blake2b_param_set_max_depth.c' source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2b.c_blake2b_param_set_max_depth.c" target datalayout = "e-m:e-p270:32:32-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 @blake2b_param_set_max_depth], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal noundef i32 @blake2b_param_set_max_depth(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { store i32 %1, ptr %0, align 4, !tbaa !5 ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2b.c_blake2b_param_set_max_depth.c' source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2b.c_blake2b_param_set_max_depth.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 @blake2b_param_set_max_depth], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal noundef i32 @blake2b_param_set_max_depth(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { store i32 %1, ptr %0, align 4, !tbaa !6 ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_contrib_libb2_extr_blake2b.c_blake2b_param_set_max_depth
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_multi_client_executor.c_MultiClientSendQuery.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_multi_client_executor.c_MultiClientSendQuery.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INVALID_CONNECTION_ID = dso_local local_unnamed_addr global i64 0, align 8 @ClientConnectionArray = dso_local local_unnamed_addr global ptr null, align 8 @WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"could not send remote query \22%s\22\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Client error: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @MultiClientSendQuery(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @INVALID_CONNECTION_ID, align 8, !tbaa !5 %4 = icmp ne i64 %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @Assert(i32 noundef %5) #2 %7 = load ptr, ptr @ClientConnectionArray, align 8, !tbaa !9 %8 = getelementptr inbounds ptr, ptr %7, i64 %0 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = tail call i32 @Assert(i32 noundef %11) #2 %13 = tail call i32 @SendRemoteCommand(ptr noundef %9, ptr noundef %1) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %2 %16 = load i32, ptr %9, align 4, !tbaa !11 %17 = tail call i32 @PQerrorMessage(i32 noundef %16) #2 %18 = tail call ptr @pchomp(i32 noundef %17) #2 %19 = load i32, ptr @WARNING, align 4, !tbaa !14 %20 = tail call i32 @ApplyLogRedaction(ptr noundef %1) #2 %21 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @ApplyLogRedaction(ptr noundef %18) #2 %23 = tail call i32 @errdetail(ptr noundef nonnull @.str.1, i32 noundef %22) #2 %24 = tail call i32 @ereport(i32 noundef %19, i32 noundef %23) #2 br label %25 25: ; preds = %15, %2 %26 = phi i32 [ 0, %15 ], [ 1, %2 ] ret i32 %26 } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @SendRemoteCommand(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ApplyLogRedaction(ptr noundef) local_unnamed_addr #1 declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_multi_client_executor.c_MultiClientSendQuery.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_multi_client_executor.c_MultiClientSendQuery.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INVALID_CONNECTION_ID = common local_unnamed_addr global i64 0, align 8 @ClientConnectionArray = common local_unnamed_addr global ptr null, align 8 @WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"could not send remote query \22%s\22\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Client error: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @MultiClientSendQuery(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @INVALID_CONNECTION_ID, align 8, !tbaa !6 %4 = icmp ne i64 %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @Assert(i32 noundef %5) #2 %7 = load ptr, ptr @ClientConnectionArray, align 8, !tbaa !10 %8 = getelementptr inbounds ptr, ptr %7, i64 %0 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = tail call i32 @Assert(i32 noundef %11) #2 %13 = tail call i32 @SendRemoteCommand(ptr noundef %9, ptr noundef %1) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %2 %16 = load i32, ptr %9, align 4, !tbaa !12 %17 = tail call i32 @PQerrorMessage(i32 noundef %16) #2 %18 = tail call ptr @pchomp(i32 noundef %17) #2 %19 = load i32, ptr @WARNING, align 4, !tbaa !15 %20 = tail call i32 @ApplyLogRedaction(ptr noundef %1) #2 %21 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = tail call i32 @ApplyLogRedaction(ptr noundef %18) #2 %23 = tail call i32 @errdetail(ptr noundef nonnull @.str.1, i32 noundef %22) #2 %24 = tail call i32 @ereport(i32 noundef %19, i32 noundef %23) #2 br label %25 25: ; preds = %15, %2 %26 = phi i32 [ 0, %15 ], [ 1, %2 ] ret i32 %26 } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @SendRemoteCommand(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ApplyLogRedaction(ptr noundef) local_unnamed_addr #1 declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0}
citus_src_backend_distributed_executor_extr_multi_client_executor.c_MultiClientSendQuery
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/sdpd/extr_log.c_log_close.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/sdpd/extr_log.c_log_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @log_close() local_unnamed_addr #0 { %1 = tail call i32 (...) @closelog() #2 ret void } declare i32 @closelog(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/usr.sbin/bluetooth/sdpd/extr_log.c_log_close.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/sdpd/extr_log.c_log_close.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 @log_close() local_unnamed_addr #0 { %1 = tail call i32 @closelog() #2 ret void } declare i32 @closelog(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_usr.sbin_bluetooth_sdpd_extr_log.c_log_close
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_atten_chain_get_margin.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_atten_chain_get_margin.c" target datalayout = "e-m:e-p270:32:32-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.ar9300_eeprom = type { %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { ptr } %struct.TYPE_7__ = type { ptr, ptr } %struct.TYPE_6__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @ar9003_hw_atten_chain_get_margin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ar9003_hw_atten_chain_get_margin(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca [3 x i32], align 4 %5 = alloca [3 x i32], align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %6 = icmp ult i32 %1, 3 br i1 %6, label %7, label %41 7: ; preds = %3 %8 = tail call i64 @IS_CHAN_2GHZ(ptr noundef %2) #3 %9 = icmp eq i64 %8, 0 %10 = zext nneg i32 %1 to i64 br i1 %9, label %16, label %11 11: ; preds = %7 %12 = getelementptr inbounds %struct.ar9300_eeprom, ptr %0, i64 0, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %13, i64 %10 %15 = load i32, ptr %14, align 4, !tbaa !13 br label %41 16: ; preds = %7 %17 = getelementptr inbounds %struct.ar9300_eeprom, ptr %0, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = getelementptr inbounds i32, ptr %18, i64 %10 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = icmp eq i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %16 store i32 %20, ptr %5, align 4, !tbaa !13 store i32 5180, ptr %4, align 4, !tbaa !13 %23 = load ptr, ptr %0, align 8, !tbaa !16 %24 = getelementptr inbounds i32, ptr %23, i64 %10 %25 = load i32, ptr %24, align 4, !tbaa !13 %26 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1 store i32 %25, ptr %26, align 4, !tbaa !13 %27 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 1 store i32 5500, ptr %27, align 4, !tbaa !13 %28 = getelementptr inbounds %struct.ar9300_eeprom, ptr %0, i64 0, i32 1, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !17 %30 = getelementptr inbounds i32, ptr %29, i64 %10 %31 = load i32, ptr %30, align 4, !tbaa !13 %32 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 2 store i32 %31, ptr %32, align 4, !tbaa !13 %33 = getelementptr inbounds [3 x i32], ptr %4, i64 0, i64 2 store i32 5785, ptr %33, align 4, !tbaa !13 %34 = load i64, ptr %2, align 8, !tbaa !18 %35 = trunc i64 %34 to i32 %36 = call i32 @ar9003_hw_power_interpolate(i32 noundef %35, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 3) #3 br label %41 37: ; preds = %16 %38 = load ptr, ptr %0, align 8, !tbaa !16 %39 = getelementptr inbounds i32, ptr %38, i64 %10 %40 = load i32, ptr %39, align 4, !tbaa !13 br label %41 41: ; preds = %3, %37, %22, %11 %42 = phi i32 [ %15, %11 ], [ %36, %22 ], [ %40, %37 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @IS_CHAN_2GHZ(ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_hw_power_interpolate(i32 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, !8, i64 24} !6 = !{!"ar9300_eeprom", !7, i64 0, !11, i64 8, !12, i64 24} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !8, i64 0, !8, i64 8} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!6, !8, i64 8} !16 = !{!6, !8, i64 0} !17 = !{!6, !8, i64 16} !18 = !{!19, !20, i64 0} !19 = !{!"ath9k_channel", !20, i64 0} !20 = !{!"long", !9, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_atten_chain_get_margin.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ar9003_eeprom.c_ar9003_hw_atten_chain_get_margin.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 @ar9003_hw_atten_chain_get_margin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ar9003_hw_atten_chain_get_margin(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca [3 x i32], align 4 %5 = alloca [3 x i32], align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %6 = icmp ult i32 %1, 3 br i1 %6, label %7, label %41 7: ; preds = %3 %8 = tail call i64 @IS_CHAN_2GHZ(ptr noundef %2) #3 %9 = icmp eq i64 %8, 0 %10 = zext nneg i32 %1 to i64 br i1 %9, label %16, label %11 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = getelementptr inbounds i32, ptr %13, i64 %10 %15 = load i32, ptr %14, align 4, !tbaa !14 br label %41 16: ; preds = %7 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = getelementptr inbounds i32, ptr %18, i64 %10 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = icmp eq i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %16 store i32 %20, ptr %5, align 4, !tbaa !14 store i32 5180, ptr %4, align 4, !tbaa !14 %23 = load ptr, ptr %0, align 8, !tbaa !17 %24 = getelementptr inbounds i32, ptr %23, i64 %10 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %25, ptr %26, align 4, !tbaa !14 %27 = getelementptr inbounds i8, ptr %4, i64 4 store i32 5500, ptr %27, align 4, !tbaa !14 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load ptr, ptr %28, align 8, !tbaa !18 %30 = getelementptr inbounds i32, ptr %29, i64 %10 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %31, ptr %32, align 4, !tbaa !14 %33 = getelementptr inbounds i8, ptr %4, i64 8 store i32 5785, ptr %33, align 4, !tbaa !14 %34 = load i64, ptr %2, align 8, !tbaa !19 %35 = trunc i64 %34 to i32 %36 = call i32 @ar9003_hw_power_interpolate(i32 noundef %35, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 3) #3 br label %41 37: ; preds = %16 %38 = load ptr, ptr %0, align 8, !tbaa !17 %39 = getelementptr inbounds i32, ptr %38, i64 %10 %40 = load i32, ptr %39, align 4, !tbaa !14 br label %41 41: ; preds = %3, %37, %22, %11 %42 = phi i32 [ %15, %11 ], [ %36, %22 ], [ %40, %37 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @IS_CHAN_2GHZ(ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_hw_power_interpolate(i32 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, !9, i64 24} !7 = !{!"ar9300_eeprom", !8, i64 0, !12, i64 8, !13, i64 24} !8 = !{!"TYPE_8__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_7__", !9, i64 0, !9, i64 8} !13 = !{!"TYPE_6__", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !10, i64 0} !16 = !{!7, !9, i64 8} !17 = !{!7, !9, i64 0} !18 = !{!7, !9, i64 16} !19 = !{!20, !21, i64 0} !20 = !{!"ath9k_channel", !21, i64 0} !21 = !{!"long", !10, i64 0}
fastsocket_kernel_drivers_net_wireless_ath_ath9k_extr_ar9003_eeprom.c_ar9003_hw_atten_chain_get_margin
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_srec2bin.c_binRecEnd.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_srec2bin.c_binRecEnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RecStart = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i64 0, align 8 @fOut = dso_local local_unnamed_addr global i32 0, align 4 @debug = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [70 x i8] c"[RecEnd ] CheckSum[0x%08X] Length[%4d] Length[0x%X] RecEnd[0x%08lX]\0A\00", align 1 @CheckSum = dso_local local_unnamed_addr global i32 0, align 4 @RecLength = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_CUR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Data \00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Address \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Length \00", align 1 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @verbose = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [51 x i8] c"[Created Record of %d Bytes with CheckSum [0x%8X]\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @binRecEnd() local_unnamed_addr #0 { %1 = load i64, ptr @RecStart, align 8, !tbaa !5 %2 = icmp eq i64 %1, 0 br i1 %2, label %45, label %3 3: ; preds = %0 %4 = load i64, ptr @FALSE, align 8, !tbaa !5 store i64 %4, ptr @RecStart, align 8, !tbaa !5 %5 = load i32, ptr @fOut, align 4, !tbaa !9 %6 = tail call i64 @ftell(i32 noundef %5) #3 %7 = load i64, ptr @debug, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = load i32, ptr @CheckSum, align 4, !tbaa !9 %11 = load i32, ptr @RecLength, align 4, !tbaa !9 %12 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %10, i32 noundef %11, i32 noundef %11, i64 noundef %6) br label %13 13: ; preds = %9, %3 %14 = load i32, ptr @fOut, align 4, !tbaa !9 %15 = load i32, ptr @RecLength, align 4, !tbaa !9 %16 = sext i32 %15 to i64 %17 = sub nsw i64 0, %16 %18 = load i32, ptr @SEEK_CUR, align 4, !tbaa !9 %19 = tail call i32 @fseek(i32 noundef %14, i64 noundef %17, i32 noundef %18) #3 %20 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.1, i32 noundef -1) #3 %21 = load i32, ptr @fOut, align 4, !tbaa !9 %22 = load i32, ptr @SEEK_CUR, align 4, !tbaa !9 %23 = tail call i32 @fseek(i32 noundef %21, i64 noundef -4, i32 noundef %22) #3 %24 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.2, i32 noundef -1) #3 %25 = load i32, ptr @fOut, align 4, !tbaa !9 %26 = load i32, ptr @SEEK_CUR, align 4, !tbaa !9 %27 = tail call i32 @fseek(i32 noundef %25, i64 noundef -4, i32 noundef %26) #3 %28 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.3, i32 noundef -1) #3 %29 = load i32, ptr @RecLength, align 4, !tbaa !9 %30 = tail call i32 @binOut32(i32 noundef %29) #3 %31 = load i32, ptr @fOut, align 4, !tbaa !9 %32 = load i32, ptr @SEEK_SET, align 4, !tbaa !9 %33 = tail call i32 @fseek(i32 noundef %31, i64 noundef %6, i32 noundef %32) #3 %34 = load i32, ptr @RecLength, align 4, !tbaa !9 %35 = load i32, ptr @CheckSum, align 4, !tbaa !9 %36 = add nsw i32 %34, %35 %37 = sub nsw i32 0, %36 store i32 %37, ptr @CheckSum, align 4, !tbaa !9 %38 = tail call i32 @binOut32(i32 noundef %37) #3 %39 = load i64, ptr @verbose, align 8, !tbaa !5 %40 = icmp eq i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %13 %42 = load i32, ptr @RecLength, align 4, !tbaa !9 %43 = load i32, ptr @CheckSum, align 4, !tbaa !9 %44 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %42, i32 noundef %43) br label %45 45: ; preds = %13, %41, %0 ret void } declare i64 @ftell(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @fseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dumpfTell(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @binOut32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/openwrt/tools/firmware-utils/src/extr_srec2bin.c_binRecEnd.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_srec2bin.c_binRecEnd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RecStart = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i64 0, align 8 @fOut = common local_unnamed_addr global i32 0, align 4 @debug = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [70 x i8] c"[RecEnd ] CheckSum[0x%08X] Length[%4d] Length[0x%X] RecEnd[0x%08lX]\0A\00", align 1 @CheckSum = common local_unnamed_addr global i32 0, align 4 @RecLength = common local_unnamed_addr global i32 0, align 4 @SEEK_CUR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Data \00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Address \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Length \00", align 1 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @verbose = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [51 x i8] c"[Created Record of %d Bytes with CheckSum [0x%8X]\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @binRecEnd() local_unnamed_addr #0 { %1 = load i64, ptr @RecStart, align 8, !tbaa !6 %2 = icmp eq i64 %1, 0 br i1 %2, label %45, label %3 3: ; preds = %0 %4 = load i64, ptr @FALSE, align 8, !tbaa !6 store i64 %4, ptr @RecStart, align 8, !tbaa !6 %5 = load i32, ptr @fOut, align 4, !tbaa !10 %6 = tail call i64 @ftell(i32 noundef %5) #3 %7 = load i64, ptr @debug, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = load i32, ptr @CheckSum, align 4, !tbaa !10 %11 = load i32, ptr @RecLength, align 4, !tbaa !10 %12 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %10, i32 noundef %11, i32 noundef %11, i64 noundef %6) br label %13 13: ; preds = %9, %3 %14 = load i32, ptr @fOut, align 4, !tbaa !10 %15 = load i32, ptr @RecLength, align 4, !tbaa !10 %16 = sext i32 %15 to i64 %17 = sub nsw i64 0, %16 %18 = load i32, ptr @SEEK_CUR, align 4, !tbaa !10 %19 = tail call i32 @fseek(i32 noundef %14, i64 noundef %17, i32 noundef %18) #3 %20 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.1, i32 noundef -1) #3 %21 = load i32, ptr @fOut, align 4, !tbaa !10 %22 = load i32, ptr @SEEK_CUR, align 4, !tbaa !10 %23 = tail call i32 @fseek(i32 noundef %21, i64 noundef -4, i32 noundef %22) #3 %24 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.2, i32 noundef -1) #3 %25 = load i32, ptr @fOut, align 4, !tbaa !10 %26 = load i32, ptr @SEEK_CUR, align 4, !tbaa !10 %27 = tail call i32 @fseek(i32 noundef %25, i64 noundef -4, i32 noundef %26) #3 %28 = tail call i32 @dumpfTell(ptr noundef nonnull @.str.3, i32 noundef -1) #3 %29 = load i32, ptr @RecLength, align 4, !tbaa !10 %30 = tail call i32 @binOut32(i32 noundef %29) #3 %31 = load i32, ptr @fOut, align 4, !tbaa !10 %32 = load i32, ptr @SEEK_SET, align 4, !tbaa !10 %33 = tail call i32 @fseek(i32 noundef %31, i64 noundef %6, i32 noundef %32) #3 %34 = load i32, ptr @RecLength, align 4, !tbaa !10 %35 = load i32, ptr @CheckSum, align 4, !tbaa !10 %36 = add nsw i32 %34, %35 %37 = sub nsw i32 0, %36 store i32 %37, ptr @CheckSum, align 4, !tbaa !10 %38 = tail call i32 @binOut32(i32 noundef %37) #3 %39 = load i64, ptr @verbose, align 8, !tbaa !6 %40 = icmp eq i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %13 %42 = load i32, ptr @RecLength, align 4, !tbaa !10 %43 = load i32, ptr @CheckSum, align 4, !tbaa !10 %44 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %42, i32 noundef %43) br label %45 45: ; preds = %13, %41, %0 ret void } declare i64 @ftell(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @fseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dumpfTell(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @binOut32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
openwrt_tools_firmware-utils_src_extr_srec2bin.c_binRecEnd
; ModuleID = 'AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay.c_Create.c' source_filename = "AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay.c_Create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, i32, ptr } %struct.TYPE_10__ = type { i32, i32, i32, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32 } @VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @Filter = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"overlay-\00", align 1 @ppsz_filter_options = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"overlay-input\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"overlay-output\00", align 1 @AdjustCallback = dso_local local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Create], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @Create(ptr noundef %0) #0 { %2 = tail call ptr @malloc(i32 noundef 64) #2 %3 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 store ptr %2, ptr %3, align 8, !tbaa !5 %4 = icmp eq ptr %2, null br i1 %4, label %34, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 12 %7 = tail call i32 @BufferInit(ptr noundef nonnull %6) #2 %8 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 11 %9 = tail call i32 @BufferInit(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 10 %11 = tail call i32 @QueueInit(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 9 %13 = tail call i32 @QueueInit(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 8 %15 = tail call i32 @QueueInit(ptr noundef nonnull %14) #2 %16 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 7 %17 = tail call i32 @do_ListInit(ptr noundef nonnull %16) #2 store <4 x i32> <i32 -1, i32 -1, i32 1, i32 0>, ptr %2, align 8, !tbaa !11 %18 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 6 %19 = tail call i32 @vlc_mutex_init(ptr noundef nonnull %18) #2 %20 = load i32, ptr @Filter, align 4, !tbaa !11 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 store i32 %20, ptr %21, align 4, !tbaa !12 %22 = load i32, ptr @ppsz_filter_options, align 4, !tbaa !11 %23 = load i32, ptr %0, align 8, !tbaa !13 %24 = tail call i32 @config_ChainParse(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %22, i32 noundef %23) #2 %25 = tail call ptr @var_CreateGetStringCommand(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %26 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 5 store ptr %25, ptr %26, align 8, !tbaa !14 %27 = tail call ptr @var_CreateGetStringCommand(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 %28 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 4 store ptr %27, ptr %28, align 8, !tbaa !16 %29 = load i32, ptr @AdjustCallback, align 4, !tbaa !11 %30 = tail call i32 @var_AddCallback(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %29, ptr noundef nonnull %2) #2 %31 = load i32, ptr @AdjustCallback, align 4, !tbaa !11 %32 = tail call i32 @var_AddCallback(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %31, ptr noundef nonnull %2) #2 %33 = tail call i32 @RegisterCommand(ptr noundef nonnull %0) #2 br label %34 34: ; preds = %1, %5 %35 = phi ptr [ @VLC_SUCCESS, %5 ], [ @VLC_ENOMEM, %1 ] %36 = load i32, ptr %35, align 4, !tbaa !11 ret i32 %36 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @BufferInit(ptr noundef) local_unnamed_addr #1 declare i32 @QueueInit(ptr noundef) local_unnamed_addr #1 declare i32 @do_ListInit(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @config_ChainParse(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @var_CreateGetStringCommand(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @var_AddCallback(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RegisterCommand(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 0} !14 = !{!15, !10, i64 24} !15 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56} !16 = !{!15, !10, i64 16}
; ModuleID = 'AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay.c_Create.c' source_filename = "AnghaBench/vlc/modules/spu/dynamicoverlay/extr_dynamicoverlay.c_Create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4 @Filter = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"overlay-\00", align 1 @ppsz_filter_options = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"overlay-input\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"overlay-output\00", align 1 @AdjustCallback = common local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Create], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @Create(ptr noundef %0) #0 { %2 = tail call ptr @malloc(i32 noundef 64) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %2, ptr %3, align 8, !tbaa !6 %4 = icmp eq ptr %2, null br i1 %4, label %34, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 56 %7 = tail call i32 @BufferInit(ptr noundef nonnull %6) #2 %8 = getelementptr inbounds i8, ptr %2, i64 52 %9 = tail call i32 @BufferInit(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds i8, ptr %2, i64 48 %11 = tail call i32 @QueueInit(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds i8, ptr %2, i64 44 %13 = tail call i32 @QueueInit(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds i8, ptr %2, i64 40 %15 = tail call i32 @QueueInit(ptr noundef nonnull %14) #2 %16 = getelementptr inbounds i8, ptr %2, i64 36 %17 = tail call i32 @do_ListInit(ptr noundef nonnull %16) #2 store <4 x i32> <i32 -1, i32 -1, i32 1, i32 0>, ptr %2, align 8, !tbaa !12 %18 = getelementptr inbounds i8, ptr %2, i64 32 %19 = tail call i32 @vlc_mutex_init(ptr noundef nonnull %18) #2 %20 = load i32, ptr @Filter, align 4, !tbaa !12 %21 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %20, ptr %21, align 4, !tbaa !13 %22 = load i32, ptr @ppsz_filter_options, align 4, !tbaa !12 %23 = load i32, ptr %0, align 8, !tbaa !14 %24 = tail call i32 @config_ChainParse(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %22, i32 noundef %23) #2 %25 = tail call ptr @var_CreateGetStringCommand(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %26 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %25, ptr %26, align 8, !tbaa !15 %27 = tail call ptr @var_CreateGetStringCommand(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 %28 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %27, ptr %28, align 8, !tbaa !17 %29 = load i32, ptr @AdjustCallback, align 4, !tbaa !12 %30 = tail call i32 @var_AddCallback(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %29, ptr noundef nonnull %2) #2 %31 = load i32, ptr @AdjustCallback, align 4, !tbaa !12 %32 = tail call i32 @var_AddCallback(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %31, ptr noundef nonnull %2) #2 %33 = tail call i32 @RegisterCommand(ptr noundef nonnull %0) #2 br label %34 34: ; preds = %1, %5 %35 = phi ptr [ @VLC_SUCCESS, %5 ], [ @VLC_ENOMEM, %1 ] %36 = load i32, ptr %35, align 4, !tbaa !12 ret i32 %36 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @BufferInit(ptr noundef) local_unnamed_addr #1 declare i32 @QueueInit(ptr noundef) local_unnamed_addr #1 declare i32 @do_ListInit(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @config_ChainParse(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @var_CreateGetStringCommand(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @var_AddCallback(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RegisterCommand(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 0} !15 = !{!16, !11, i64 24} !16 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56} !17 = !{!16, !11, i64 16}
vlc_modules_spu_dynamicoverlay_extr_dynamicoverlay.c_Create
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_read_all.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_read_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LUAL_BUFFERSIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_all], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @read_all(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %3) #3 br label %5 5: ; preds = %5, %2 %6 = call ptr @luaL_prepbuffer(ptr noundef nonnull %3) #3 %7 = load i64, ptr @LUAL_BUFFERSIZE, align 8, !tbaa !5 %8 = call i64 @fread(ptr noundef %6, i32 noundef 1, i64 noundef %7, ptr noundef %1) #3 %9 = call i32 @luaL_addsize(ptr noundef nonnull %3, i64 noundef %8) #3 %10 = load i64, ptr @LUAL_BUFFERSIZE, align 8, !tbaa !5 %11 = icmp eq i64 %8, %10 br i1 %11, label %5, label %12, !llvm.loop !9 12: ; preds = %5 %13 = call i32 @luaL_pushresult(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @luaL_prepbuffer(ptr noundef) local_unnamed_addr #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addsize(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_pushresult(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_read_all.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_liolib.c_read_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUAL_BUFFERSIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @read_all], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @read_all(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %3) #3 br label %5 5: ; preds = %5, %2 %6 = call ptr @luaL_prepbuffer(ptr noundef nonnull %3) #3 %7 = load i64, ptr @LUAL_BUFFERSIZE, align 8, !tbaa !6 %8 = call i64 @fread(ptr noundef %6, i32 noundef 1, i64 noundef %7, ptr noundef %1) #3 %9 = call i32 @luaL_addsize(ptr noundef nonnull %3, i64 noundef %8) #3 %10 = load i64, ptr @LUAL_BUFFERSIZE, align 8, !tbaa !6 %11 = icmp eq i64 %8, %10 br i1 %11, label %5, label %12, !llvm.loop !10 12: ; preds = %5 %13 = call i32 @luaL_pushresult(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @luaL_prepbuffer(ptr noundef) local_unnamed_addr #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addsize(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_pushresult(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
xLua_build_lua-5.3.3_src_extr_liolib.c_read_all
; ModuleID = 'AnghaBench/mpv/misc/extr_dispatch.c_mp_dispatch_run.c' source_filename = "AnghaBench/mpv/misc/extr_dispatch.c_mp_dispatch_run.c" target datalayout = "e-m:e-p270:32:32-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.mp_dispatch_item = type { ptr, i32, i32 } %struct.mp_dispatch_queue = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @mp_dispatch_run(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.mp_dispatch_item, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 store ptr %2, ptr %4, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.mp_dispatch_item, ptr %4, i64 0, i32 1 store i32 0, ptr %5, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.mp_dispatch_item, ptr %4, i64 0, i32 2 store i32 %1, ptr %6, align 4, !tbaa !12 %7 = call i32 @mp_dispatch_append(ptr noundef %0, ptr noundef nonnull %4) #3 %8 = call i32 @pthread_mutex_lock(ptr noundef %0) #3 %9 = load i32, ptr %5, align 8, !tbaa !11 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = getelementptr inbounds %struct.mp_dispatch_queue, ptr %0, i64 0, i32 1 br label %13 13: ; preds = %11, %13 %14 = call i32 @pthread_cond_wait(ptr noundef nonnull %12, ptr noundef %0) #3 %15 = load i32, ptr %5, align 8, !tbaa !11 %16 = icmp eq i32 %15, 0 br i1 %16, label %13, label %17, !llvm.loop !13 17: ; preds = %13, %3 %18 = call i32 @pthread_mutex_unlock(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mp_dispatch_append(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"mp_dispatch_item", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !10, i64 12} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mpv/misc/extr_dispatch.c_mp_dispatch_run.c' source_filename = "AnghaBench/mpv/misc/extr_dispatch.c_mp_dispatch_run.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mp_dispatch_item = type { ptr, i32, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define void @mp_dispatch_run(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.mp_dispatch_item, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 store ptr %2, ptr %4, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 store i32 0, ptr %5, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %1, ptr %6, align 4, !tbaa !13 %7 = call i32 @mp_dispatch_append(ptr noundef %0, ptr noundef nonnull %4) #3 %8 = call i32 @pthread_mutex_lock(ptr noundef %0) #3 %9 = load i32, ptr %5, align 8, !tbaa !12 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %0, i64 4 br label %13 13: ; preds = %11, %13 %14 = call i32 @pthread_cond_wait(ptr noundef nonnull %12, ptr noundef %0) #3 %15 = load i32, ptr %5, align 8, !tbaa !12 %16 = icmp eq i32 %15, 0 br i1 %16, label %13, label %17, !llvm.loop !14 17: ; preds = %13, %3 %18 = call i32 @pthread_mutex_unlock(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mp_dispatch_append(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"mp_dispatch_item", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !11, i64 12} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
mpv_misc_extr_dispatch.c_mp_dispatch_run
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_hxxx_helper.c_hxxx_helper_clean.c' source_filename = "AnghaBench/vlc/modules/codec/extr_hxxx_helper.c_hxxx_helper_clean.c" target datalayout = "e-m:e-p270:32:32-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.hxxx_helper = type { i32, %struct.TYPE_2__, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32 } @H264_SPS_ID_MAX = dso_local local_unnamed_addr global i32 0, align 4 @H264_PPS_ID_MAX = dso_local local_unnamed_addr global i32 0, align 4 @HEVC_VPS_ID_MAX = dso_local local_unnamed_addr global i32 0, align 4 @HEVC_SPS_ID_MAX = dso_local local_unnamed_addr global i32 0, align 4 @HEVC_PPS_ID_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hxxx_helper_clean(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %2, label %33 [ i32 129, label %3 i32 128, label %15 ] 3: ; preds = %1 %4 = getelementptr inbounds %struct.hxxx_helper, ptr %0, i64 0, i32 2 %5 = getelementptr inbounds %struct.hxxx_helper, ptr %0, i64 0, i32 2, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @H264_SPS_ID_MAX, align 4, !tbaa !12 %8 = tail call i32 @h264_release_sps(i32 noundef undef) #2 %9 = tail call i32 @RELEASE_NALS(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr %4, align 4, !tbaa !13 %11 = load i32, ptr @H264_PPS_ID_MAX, align 4, !tbaa !12 %12 = tail call i32 @h264_release_pps(i32 noundef undef) #2 %13 = tail call i32 @RELEASE_NALS(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = tail call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #2 br label %35 15: ; preds = %1 %16 = getelementptr inbounds %struct.hxxx_helper, ptr %0, i64 0, i32 1 %17 = getelementptr inbounds %struct.hxxx_helper, ptr %0, i64 0, i32 1, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = load i32, ptr @HEVC_VPS_ID_MAX, align 4, !tbaa !12 %20 = tail call i32 @hevc_rbsp_release_vps(i32 noundef undef) #2 %21 = tail call i32 @RELEASE_NALS(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = getelementptr inbounds %struct.hxxx_helper, ptr %0, i64 0, i32 1, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = load i32, ptr @HEVC_SPS_ID_MAX, align 4, !tbaa !12 %25 = tail call i32 @hevc_rbsp_release_sps(i32 noundef undef) #2 %26 = tail call i32 @RELEASE_NALS(i32 noundef %23, i32 noundef %24, i32 noundef %25) #2 %27 = load i32, ptr %16, align 4, !tbaa !16 %28 = load i32, ptr @HEVC_PPS_ID_MAX, align 4, !tbaa !12 %29 = tail call i32 @hevc_rbsp_release_pps(i32 noundef undef) #2 %30 = tail call i32 @RELEASE_NALS(i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @helper_clear_sei(ptr noundef nonnull %0) #2 %32 = tail call i32 @memset(ptr noundef nonnull %16, i32 noundef 0, i32 noundef 12) #2 br label %35 33: ; preds = %1 %34 = tail call i32 (...) @vlc_assert_unreachable() #2 br label %35 35: ; preds = %33, %15, %3 ret void } declare i32 @RELEASE_NALS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h264_release_sps(i32 noundef) local_unnamed_addr #1 declare i32 @h264_release_pps(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_vps(i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_sps(i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_pps(i32 noundef) local_unnamed_addr #1 declare i32 @helper_clear_sei(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_assert_unreachable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"hxxx_helper", !7, i64 0, !10, i64 4, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !11 = !{!6, !7, i64 20} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 16} !14 = !{!6, !7, i64 12} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_hxxx_helper.c_hxxx_helper_clean.c' source_filename = "AnghaBench/vlc/modules/codec/extr_hxxx_helper.c_hxxx_helper_clean.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H264_SPS_ID_MAX = common local_unnamed_addr global i32 0, align 4 @H264_PPS_ID_MAX = common local_unnamed_addr global i32 0, align 4 @HEVC_VPS_ID_MAX = common local_unnamed_addr global i32 0, align 4 @HEVC_SPS_ID_MAX = common local_unnamed_addr global i32 0, align 4 @HEVC_PPS_ID_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hxxx_helper_clean(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %2, label %33 [ i32 129, label %3 i32 128, label %15 ] 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = getelementptr inbounds i8, ptr %0, i64 20 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr @H264_SPS_ID_MAX, align 4, !tbaa !13 %8 = tail call i32 @h264_release_sps(i32 noundef undef) #2 %9 = tail call i32 @RELEASE_NALS(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr %4, align 4, !tbaa !14 %11 = load i32, ptr @H264_PPS_ID_MAX, align 4, !tbaa !13 %12 = tail call i32 @h264_release_pps(i32 noundef undef) #2 %13 = tail call i32 @RELEASE_NALS(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = tail call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #2 br label %35 15: ; preds = %1 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = getelementptr inbounds i8, ptr %0, i64 12 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = load i32, ptr @HEVC_VPS_ID_MAX, align 4, !tbaa !13 %20 = tail call i32 @hevc_rbsp_release_vps(i32 noundef undef) #2 %21 = tail call i32 @RELEASE_NALS(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = load i32, ptr @HEVC_SPS_ID_MAX, align 4, !tbaa !13 %25 = tail call i32 @hevc_rbsp_release_sps(i32 noundef undef) #2 %26 = tail call i32 @RELEASE_NALS(i32 noundef %23, i32 noundef %24, i32 noundef %25) #2 %27 = load i32, ptr %16, align 4, !tbaa !17 %28 = load i32, ptr @HEVC_PPS_ID_MAX, align 4, !tbaa !13 %29 = tail call i32 @hevc_rbsp_release_pps(i32 noundef undef) #2 %30 = tail call i32 @RELEASE_NALS(i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @helper_clear_sei(ptr noundef nonnull %0) #2 %32 = tail call i32 @memset(ptr noundef nonnull %16, i32 noundef 0, i32 noundef 12) #2 br label %35 33: ; preds = %1 %34 = tail call i32 @vlc_assert_unreachable() #2 br label %35 35: ; preds = %33, %15, %3 ret void } declare i32 @RELEASE_NALS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h264_release_sps(i32 noundef) local_unnamed_addr #1 declare i32 @h264_release_pps(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_vps(i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_sps(i32 noundef) local_unnamed_addr #1 declare i32 @hevc_rbsp_release_pps(i32 noundef) local_unnamed_addr #1 declare i32 @helper_clear_sei(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_assert_unreachable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"hxxx_helper", !8, i64 0, !11, i64 4, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8} !12 = !{!7, !8, i64 20} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 16} !15 = !{!7, !8, i64 12} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 4}
vlc_modules_codec_extr_hxxx_helper.c_hxxx_helper_clean
; ModuleID = 'AnghaBench/lede/target/linux/ath79/image/lzma-loader/src/extr_loader.c_lzma_init_props.c' source_filename = "AnghaBench/lede/target/linux/ath79/image/lzma-loader/src/extr_loader.c_lzma_init_props.c" target datalayout = "e-m:e-p270:32:32-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 } @LZMA_PROPERTIES_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @lzma_outsize = dso_local local_unnamed_addr global i32 0, align 4 @lzma_state = dso_local global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lzma_init_props], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lzma_init_props() #0 { %1 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !5 %2 = zext i32 %1 to i64 %3 = alloca i8, i64 %2, align 16 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %13 5: ; preds = %0, %5 %6 = phi i64 [ %9, %5 ], [ 0, %0 ] %7 = tail call zeroext i8 (...) @lzma_get_byte() #2 %8 = getelementptr inbounds i8, ptr %3, i64 %6 store i8 %7, ptr %8, align 1, !tbaa !9 %9 = add nuw nsw i64 %6, 1 %10 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !5 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %9, %11 br i1 %12, label %5, label %13, !llvm.loop !10 13: ; preds = %5, %0 %14 = tail call zeroext i8 (...) @lzma_get_byte() #2 %15 = zext i8 %14 to i32 %16 = tail call zeroext i8 (...) @lzma_get_byte() #2 %17 = zext i8 %16 to i32 %18 = shl nuw nsw i32 %17, 8 %19 = or disjoint i32 %18, %15 %20 = tail call zeroext i8 (...) @lzma_get_byte() #2 %21 = zext i8 %20 to i32 %22 = shl nuw nsw i32 %21, 16 %23 = or disjoint i32 %19, %22 %24 = tail call zeroext i8 (...) @lzma_get_byte() #2 %25 = zext i8 %24 to i32 %26 = shl nuw i32 %25, 24 %27 = or disjoint i32 %23, %26 store i32 %27, ptr @lzma_outsize, align 4, !tbaa !5 %28 = tail call zeroext i8 (...) @lzma_get_byte() #2 %29 = tail call zeroext i8 (...) @lzma_get_byte() #2 %30 = tail call zeroext i8 (...) @lzma_get_byte() #2 %31 = tail call zeroext i8 (...) @lzma_get_byte() #2 %32 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !5 %33 = call i32 @LzmaDecodeProperties(ptr noundef nonnull @lzma_state, ptr noundef nonnull %3, i32 noundef %32) #2 ret i32 %33 } declare zeroext i8 @lzma_get_byte(...) local_unnamed_addr #1 declare i32 @LzmaDecodeProperties(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/lede/target/linux/ath79/image/lzma-loader/src/extr_loader.c_lzma_init_props.c' source_filename = "AnghaBench/lede/target/linux/ath79/image/lzma-loader/src/extr_loader.c_lzma_init_props.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 } @LZMA_PROPERTIES_SIZE = common local_unnamed_addr global i32 0, align 4 @lzma_outsize = common local_unnamed_addr global i32 0, align 4 @lzma_state = common global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @lzma_init_props], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lzma_init_props() #0 { %1 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !6 %2 = zext i32 %1 to i64 %3 = alloca i8, i64 %2, align 1 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %13 5: ; preds = %0, %5 %6 = phi i64 [ %9, %5 ], [ 0, %0 ] %7 = tail call zeroext i8 @lzma_get_byte() #2 %8 = getelementptr inbounds i8, ptr %3, i64 %6 store i8 %7, ptr %8, align 1, !tbaa !10 %9 = add nuw nsw i64 %6, 1 %10 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !6 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %9, %11 br i1 %12, label %5, label %13, !llvm.loop !11 13: ; preds = %5, %0 %14 = tail call zeroext i8 @lzma_get_byte() #2 %15 = zext i8 %14 to i32 %16 = tail call zeroext i8 @lzma_get_byte() #2 %17 = zext i8 %16 to i32 %18 = shl nuw nsw i32 %17, 8 %19 = or disjoint i32 %18, %15 %20 = tail call zeroext i8 @lzma_get_byte() #2 %21 = zext i8 %20 to i32 %22 = shl nuw nsw i32 %21, 16 %23 = or disjoint i32 %19, %22 %24 = tail call zeroext i8 @lzma_get_byte() #2 %25 = zext i8 %24 to i32 %26 = shl nuw i32 %25, 24 %27 = or disjoint i32 %23, %26 store i32 %27, ptr @lzma_outsize, align 4, !tbaa !6 %28 = tail call zeroext i8 @lzma_get_byte() #2 %29 = tail call zeroext i8 @lzma_get_byte() #2 %30 = tail call zeroext i8 @lzma_get_byte() #2 %31 = tail call zeroext i8 @lzma_get_byte() #2 %32 = load i32, ptr @LZMA_PROPERTIES_SIZE, align 4, !tbaa !6 %33 = call i32 @LzmaDecodeProperties(ptr noundef nonnull @lzma_state, ptr noundef nonnull %3, i32 noundef %32) #2 ret i32 %33 } declare zeroext i8 @lzma_get_byte(...) local_unnamed_addr #1 declare i32 @LzmaDecodeProperties(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
lede_target_linux_ath79_image_lzma-loader_src_extr_loader.c_lzma_init_props
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_dl.c_vsp1_dl_list_get_body0.c' source_filename = "AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_dl.c_vsp1_dl_list_get_body0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @vsp1_dl_list_get_body0(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vsp1_dl_list", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_dl.c_vsp1_dl_list_get_body0.c' source_filename = "AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_dl.c_vsp1_dl_list_get_body0.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @vsp1_dl_list_get_body0(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vsp1_dl_list", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_platform_vsp1_extr_vsp1_dl.c_vsp1_dl_list_get_body0
; ModuleID = 'AnghaBench/freebsd/sys/dev/ips/extr_ips.c_ips_cmdqueue_free.c' source_filename = "AnghaBench/freebsd/sys/dev/ips/extr_ips.c_ips_cmdqueue_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr, ptr, i32, i32, i32 } %struct.TYPE_6__ = type { i64, ptr, i32, i32, i32 } @IPS_OFFLINE = dso_local local_unnamed_addr global i32 0, align 4 @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ips_cmdqueue_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ips_cmdqueue_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %44 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %39 8: ; preds = %5 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 br label %11 11: ; preds = %8, %34 %12 = phi i64 [ 0, %8 ], [ %35, %34 ] %13 = load ptr, ptr %9, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %34, label %17 17: ; preds = %11 %18 = load i32, ptr %10, align 4, !tbaa !16 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12, i32 3 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = tail call i32 @bus_dmamap_unload(i32 noundef %18, i32 noundef %20) #2 %22 = load i32, ptr %10, align 4, !tbaa !16 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12, i32 4 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = load i32, ptr %19, align 4, !tbaa !17 %26 = tail call i32 @bus_dmamem_free(i32 noundef %22, i32 noundef %24, i32 noundef %25) #2 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !19 %29 = icmp eq ptr %28, null br i1 %29, label %34, label %30 30: ; preds = %17 %31 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12, i32 2 %32 = load i32, ptr %31, align 8, !tbaa !20 %33 = tail call i32 @bus_dmamap_destroy(i32 noundef %32, ptr noundef nonnull %28) #2 br label %34 34: ; preds = %17, %30, %11 %35 = add nuw nsw i64 %12, 1 %36 = load i32, ptr %0, align 8, !tbaa !11 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %11, label %39, !llvm.loop !21 39: ; preds = %34, %5 %40 = load i32, ptr @IPS_OFFLINE, align 4, !tbaa !23 %41 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %42 = load i32, ptr %41, align 8, !tbaa !24 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !24 br label %44 44: ; preds = %39, %1 %45 = phi i32 [ -1, %1 ], [ 0, %39 ] %46 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 store ptr null, ptr %46, align 8, !tbaa !25 %47 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !12 %49 = load i32, ptr @M_DEVBUF, align 4, !tbaa !23 %50 = tail call i32 @free(ptr noundef %48, i32 noundef %49) #2 ret i32 %45 } declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamem_free(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_destroy(i32 noundef, ptr 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, !7, i64 32} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24} !15 = !{!"long", !8, i64 0} !16 = !{!6, !7, i64 28} !17 = !{!14, !7, i64 20} !18 = !{!14, !7, i64 24} !19 = !{!14, !10, i64 8} !20 = !{!14, !7, i64 16} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !7, i64 0} !24 = !{!6, !7, i64 24} !25 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ips/extr_ips.c_ips_cmdqueue_free.c' source_filename = "AnghaBench/freebsd/sys/dev/ips/extr_ips.c_ips_cmdqueue_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i64, ptr, i32, i32, i32 } @IPS_OFFLINE = common local_unnamed_addr global i32 0, align 4 @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ips_cmdqueue_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @ips_cmdqueue_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %44 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %39 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = getelementptr inbounds i8, ptr %0, i64 28 br label %11 11: ; preds = %8, %34 %12 = phi i64 [ 0, %8 ], [ %35, %34 ] %13 = load ptr, ptr %9, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 %12 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %34, label %17 17: ; preds = %11 %18 = load i32, ptr %10, align 4, !tbaa !17 %19 = getelementptr inbounds i8, ptr %14, i64 20 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = tail call i32 @bus_dmamap_unload(i32 noundef %18, i32 noundef %20) #2 %22 = load i32, ptr %10, align 4, !tbaa !17 %23 = getelementptr inbounds i8, ptr %14, i64 24 %24 = load i32, ptr %23, align 8, !tbaa !19 %25 = load i32, ptr %19, align 4, !tbaa !18 %26 = tail call i32 @bus_dmamem_free(i32 noundef %22, i32 noundef %24, i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %14, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !20 %29 = icmp eq ptr %28, null br i1 %29, label %34, label %30 30: ; preds = %17 %31 = getelementptr inbounds i8, ptr %14, i64 16 %32 = load i32, ptr %31, align 8, !tbaa !21 %33 = tail call i32 @bus_dmamap_destroy(i32 noundef %32, ptr noundef nonnull %28) #2 br label %34 34: ; preds = %17, %30, %11 %35 = add nuw nsw i64 %12, 1 %36 = load i32, ptr %0, align 8, !tbaa !12 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %11, label %39, !llvm.loop !22 39: ; preds = %34, %5 %40 = load i32, ptr @IPS_OFFLINE, align 4, !tbaa !24 %41 = getelementptr inbounds i8, ptr %0, i64 24 %42 = load i32, ptr %41, align 8, !tbaa !25 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !25 br label %44 44: ; preds = %39, %1 %45 = phi i32 [ -1, %1 ], [ 0, %39 ] %46 = getelementptr inbounds i8, ptr %0, i64 16 store ptr null, ptr %46, align 8, !tbaa !26 %47 = getelementptr inbounds i8, ptr %0, i64 8 %48 = load ptr, ptr %47, align 8, !tbaa !13 %49 = load i32, ptr @M_DEVBUF, align 4, !tbaa !24 %50 = tail call i32 @free(ptr noundef %48, i32 noundef %49) #2 ret i32 %45 } declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamem_free(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_destroy(i32 noundef, ptr 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, !8, i64 32} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_6__", !16, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24} !16 = !{!"long", !9, i64 0} !17 = !{!7, !8, i64 28} !18 = !{!15, !8, i64 20} !19 = !{!15, !8, i64 24} !20 = !{!15, !11, i64 8} !21 = !{!15, !8, i64 16} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!8, !8, i64 0} !25 = !{!7, !8, i64 24} !26 = !{!7, !11, i64 16}
freebsd_sys_dev_ips_extr_ips.c_ips_cmdqueue_free
; ModuleID = 'AnghaBench/macvim/src/extr_gui_mac.c_draw_string_QD.c' source_filename = "AnghaBench/macvim/src/extr_gui_mac.c_draw_string_QD.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_5__ = type { ptr, ptr, ptr, ptr } @gMacSystemVersion = dso_local local_unnamed_addr global i32 0, align 4 @p_antialias = dso_local local_unnamed_addr global i64 0, align 8 @kQDUseCGTextRendering = dso_local local_unnamed_addr global i32 0, align 4 @kQDUseCGTextMetrics = dso_local local_unnamed_addr global i32 0, align 4 @p_linespace = dso_local local_unnamed_addr global i64 0, align 8 @DRAW_TRANSP = dso_local local_unnamed_addr global i32 0, align 4 @Columns = dso_local local_unnamed_addr global i32 0, align 4 @normal = dso_local local_unnamed_addr global i32 0, align 4 @DRAW_BOLD = dso_local local_unnamed_addr global i32 0, align 4 @bold = dso_local local_unnamed_addr global i32 0, align 4 @DRAW_UNDERL = dso_local local_unnamed_addr global i32 0, align 4 @underline = dso_local local_unnamed_addr global i32 0, align 4 @srcOr = dso_local local_unnamed_addr global i32 0, align 4 @srcCopy = dso_local local_unnamed_addr global i32 0, align 4 @DRAW_UNDERC = dso_local local_unnamed_addr global i32 0, align 4 @CONV_NONE = dso_local local_unnamed_addr global i64 0, align 8 @has_mbyte = dso_local local_unnamed_addr global i64 0, align 8 @output_conv = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @draw_string_QD], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @draw_string_QD(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.TYPE_5__, align 8 %7 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !5 %8 = icmp sgt i32 %7, 4127 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i64, ptr @p_antialias, align 8, !tbaa !9 %11 = icmp eq i64 %10, 0 %12 = load i32, ptr @kQDUseCGTextRendering, align 4 %13 = load i32, ptr @kQDUseCGTextMetrics, align 4 %14 = or i32 %13, %12 %15 = select i1 %11, i32 0, i32 %14 %16 = tail call i32 @QDSwapTextFlags(i32 noundef %15) #3 %17 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !5 br label %18 18: ; preds = %9, %5 %19 = phi i32 [ %17, %9 ], [ %7, %5 ] %20 = icmp sgt i32 %19, 4127 %21 = load i64, ptr @p_antialias, align 8 %22 = icmp ne i64 %21, 0 %23 = select i1 %20, i1 %22, i1 false %24 = load i64, ptr @p_linespace, align 8 %25 = icmp ne i64 %24, 0 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %48 27: ; preds = %18 %28 = load i32, ptr @DRAW_TRANSP, align 4, !tbaa !5 %29 = and i32 %28, %4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %48 31: ; preds = %27 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3 %32 = tail call ptr @FILL_X(i32 noundef %1) #3 %33 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 3 store ptr %32, ptr %33, align 8, !tbaa !11 %34 = tail call ptr @FILL_Y(i32 noundef %0) #3 %35 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 2 store ptr %34, ptr %35, align 8, !tbaa !14 %36 = add nsw i32 %3, %1 %37 = tail call ptr @FILL_X(i32 noundef %36) #3 %38 = load i32, ptr @Columns, align 4, !tbaa !5 %39 = icmp eq i32 %36, %38 %40 = zext i1 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 1 store ptr %41, ptr %42, align 8, !tbaa !15 %43 = add nsw i32 %0, 1 %44 = tail call ptr @FILL_Y(i32 noundef %43) #3 store ptr %44, ptr %6, align 8, !tbaa !16 %45 = call i32 @EraseRect(ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3 %46 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !5 %47 = load i64, ptr @p_antialias, align 8 br label %48 48: ; preds = %18, %31, %27 %49 = phi i64 [ %21, %18 ], [ %47, %31 ], [ %21, %27 ] %50 = phi i32 [ %19, %18 ], [ %46, %31 ], [ %19, %27 ] %51 = icmp sgt i32 %50, 4127 %52 = icmp ne i64 %49, 0 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %75 54: ; preds = %48 %55 = load i32, ptr @normal, align 4, !tbaa !5 %56 = load i32, ptr @DRAW_BOLD, align 4, !tbaa !5 %57 = and i32 %56, %4 %58 = icmp eq i32 %57, 0 %59 = load i32, ptr @bold, align 4 %60 = select i1 %58, i32 0, i32 %59 %61 = or i32 %60, %55 %62 = load i32, ptr @DRAW_UNDERL, align 4, !tbaa !5 %63 = and i32 %62, %4 %64 = icmp eq i32 %63, 0 %65 = load i32, ptr @underline, align 4 %66 = select i1 %64, i32 0, i32 %65 %67 = or i32 %61, %66 %68 = call i32 @TextFace(i32 noundef %67) #3 %69 = load i32, ptr @srcOr, align 4, !tbaa !5 %70 = call i32 @TextMode(i32 noundef %69) #3 %71 = call ptr @TEXT_X(i32 noundef %1) #3 %72 = call ptr @TEXT_Y(i32 noundef %0) #3 %73 = call i32 @MoveTo(ptr noundef %71, ptr noundef %72) #3 %74 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 br label %118 75: ; preds = %48 %76 = load i32, ptr @srcCopy, align 4, !tbaa !5 %77 = call i32 @TextMode(i32 noundef %76) #3 %78 = load i32, ptr @normal, align 4, !tbaa !5 %79 = call i32 @TextFace(i32 noundef %78) #3 %80 = load i32, ptr @DRAW_TRANSP, align 4, !tbaa !5 %81 = and i32 %80, %4 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %75 %84 = load i32, ptr @srcOr, align 4, !tbaa !5 %85 = call i32 @TextMode(i32 noundef %84) #3 br label %86 86: ; preds = %83, %75 %87 = call ptr @TEXT_X(i32 noundef %1) #3 %88 = call ptr @TEXT_Y(i32 noundef %0) #3 %89 = call i32 @MoveTo(ptr noundef %87, ptr noundef %88) #3 %90 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 %91 = load i32, ptr @DRAW_BOLD, align 4, !tbaa !5 %92 = and i32 %91, %4 %93 = icmp eq i32 %92, 0 br i1 %93, label %102, label %94 94: ; preds = %86 %95 = load i32, ptr @srcOr, align 4, !tbaa !5 %96 = call i32 @TextMode(i32 noundef %95) #3 %97 = call ptr @TEXT_X(i32 noundef %1) #3 %98 = getelementptr inbounds i8, ptr %97, i64 1 %99 = call ptr @TEXT_Y(i32 noundef %0) #3 %100 = call i32 @MoveTo(ptr noundef nonnull %98, ptr noundef %99) #3 %101 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 br label %102 102: ; preds = %94, %86 %103 = load i32, ptr @DRAW_UNDERL, align 4, !tbaa !5 %104 = and i32 %103, %4 %105 = icmp eq i32 %104, 0 br i1 %105, label %118, label %106 106: ; preds = %102 %107 = call ptr @FILL_X(i32 noundef %1) #3 %108 = add nsw i32 %0, 1 %109 = call ptr @FILL_Y(i32 noundef %108) #3 %110 = getelementptr inbounds i8, ptr %109, i64 -1 %111 = call i32 @MoveTo(ptr noundef %107, ptr noundef nonnull %110) #3 %112 = add nsw i32 %3, %1 %113 = call ptr @FILL_X(i32 noundef %112) #3 %114 = getelementptr inbounds i8, ptr %113, i64 -1 %115 = call ptr @FILL_Y(i32 noundef %108) #3 %116 = getelementptr inbounds i8, ptr %115, i64 -1 %117 = call i32 @LineTo(ptr noundef nonnull %114, ptr noundef nonnull %116) #3 br label %118 118: ; preds = %102, %106, %54 %119 = load i32, ptr @DRAW_UNDERC, align 4, !tbaa !5 %120 = and i32 %119, %4 %121 = icmp eq i32 %120, 0 br i1 %121, label %124, label %122 122: ; preds = %118 %123 = call i32 @draw_undercurl(i32 noundef %4, i32 noundef %0, i32 noundef %1, i32 noundef %3) #3 br label %124 124: ; preds = %122, %118 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @QDSwapTextFlags(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 ptr @FILL_X(i32 noundef) local_unnamed_addr #2 declare ptr @FILL_Y(i32 noundef) local_unnamed_addr #2 declare i32 @EraseRect(ptr noundef) local_unnamed_addr #2 declare i32 @TextFace(i32 noundef) local_unnamed_addr #2 declare i32 @TextMode(i32 noundef) local_unnamed_addr #2 declare i32 @MoveTo(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @TEXT_X(i32 noundef) local_unnamed_addr #2 declare ptr @TEXT_Y(i32 noundef) local_unnamed_addr #2 declare i32 @DrawText(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LineTo(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @draw_undercurl(i32 noundef, i32 noundef, i32 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, !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 24} !12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !13, i64 16} !15 = !{!12, !13, i64 8} !16 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/macvim/src/extr_gui_mac.c_draw_string_QD.c' source_filename = "AnghaBench/macvim/src/extr_gui_mac.c_draw_string_QD.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i64 } %struct.TYPE_5__ = type { ptr, ptr, ptr, ptr } @gMacSystemVersion = common local_unnamed_addr global i32 0, align 4 @p_antialias = common local_unnamed_addr global i64 0, align 8 @kQDUseCGTextRendering = common local_unnamed_addr global i32 0, align 4 @kQDUseCGTextMetrics = common local_unnamed_addr global i32 0, align 4 @p_linespace = common local_unnamed_addr global i64 0, align 8 @DRAW_TRANSP = common local_unnamed_addr global i32 0, align 4 @Columns = common local_unnamed_addr global i32 0, align 4 @normal = common local_unnamed_addr global i32 0, align 4 @DRAW_BOLD = common local_unnamed_addr global i32 0, align 4 @bold = common local_unnamed_addr global i32 0, align 4 @DRAW_UNDERL = common local_unnamed_addr global i32 0, align 4 @underline = common local_unnamed_addr global i32 0, align 4 @srcOr = common local_unnamed_addr global i32 0, align 4 @srcCopy = common local_unnamed_addr global i32 0, align 4 @DRAW_UNDERC = common local_unnamed_addr global i32 0, align 4 @CONV_NONE = common local_unnamed_addr global i64 0, align 8 @has_mbyte = common local_unnamed_addr global i64 0, align 8 @output_conv = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @draw_string_QD], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @draw_string_QD(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.TYPE_5__, align 8 %7 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !6 %8 = icmp sgt i32 %7, 4127 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i64, ptr @p_antialias, align 8, !tbaa !10 %11 = icmp eq i64 %10, 0 %12 = load i32, ptr @kQDUseCGTextRendering, align 4 %13 = load i32, ptr @kQDUseCGTextMetrics, align 4 %14 = or i32 %13, %12 %15 = select i1 %11, i32 0, i32 %14 %16 = tail call i32 @QDSwapTextFlags(i32 noundef %15) #3 %17 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !6 br label %18 18: ; preds = %9, %5 %19 = phi i32 [ %17, %9 ], [ %7, %5 ] %20 = icmp sgt i32 %19, 4127 %21 = load i64, ptr @p_antialias, align 8 %22 = icmp ne i64 %21, 0 %23 = select i1 %20, i1 %22, i1 false %24 = load i64, ptr @p_linespace, align 8 %25 = icmp ne i64 %24, 0 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %48 27: ; preds = %18 %28 = load i32, ptr @DRAW_TRANSP, align 4, !tbaa !6 %29 = and i32 %28, %4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %48 31: ; preds = %27 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3 %32 = tail call ptr @FILL_X(i32 noundef %1) #3 %33 = getelementptr inbounds i8, ptr %6, i64 24 store ptr %32, ptr %33, align 8, !tbaa !12 %34 = tail call ptr @FILL_Y(i32 noundef %0) #3 %35 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %34, ptr %35, align 8, !tbaa !15 %36 = add nsw i32 %3, %1 %37 = tail call ptr @FILL_X(i32 noundef %36) #3 %38 = load i32, ptr @Columns, align 4, !tbaa !6 %39 = icmp eq i32 %36, %38 %40 = zext i1 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %41, ptr %42, align 8, !tbaa !16 %43 = add nsw i32 %0, 1 %44 = tail call ptr @FILL_Y(i32 noundef %43) #3 store ptr %44, ptr %6, align 8, !tbaa !17 %45 = call i32 @EraseRect(ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3 %46 = load i32, ptr @gMacSystemVersion, align 4, !tbaa !6 %47 = load i64, ptr @p_antialias, align 8 br label %48 48: ; preds = %18, %31, %27 %49 = phi i64 [ %21, %18 ], [ %47, %31 ], [ %21, %27 ] %50 = phi i32 [ %19, %18 ], [ %46, %31 ], [ %19, %27 ] %51 = icmp sgt i32 %50, 4127 %52 = icmp ne i64 %49, 0 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %75 54: ; preds = %48 %55 = load i32, ptr @normal, align 4, !tbaa !6 %56 = load i32, ptr @DRAW_BOLD, align 4, !tbaa !6 %57 = and i32 %56, %4 %58 = icmp eq i32 %57, 0 %59 = load i32, ptr @bold, align 4 %60 = select i1 %58, i32 0, i32 %59 %61 = or i32 %60, %55 %62 = load i32, ptr @DRAW_UNDERL, align 4, !tbaa !6 %63 = and i32 %62, %4 %64 = icmp eq i32 %63, 0 %65 = load i32, ptr @underline, align 4 %66 = select i1 %64, i32 0, i32 %65 %67 = or i32 %61, %66 %68 = call i32 @TextFace(i32 noundef %67) #3 %69 = load i32, ptr @srcOr, align 4, !tbaa !6 %70 = call i32 @TextMode(i32 noundef %69) #3 %71 = call ptr @TEXT_X(i32 noundef %1) #3 %72 = call ptr @TEXT_Y(i32 noundef %0) #3 %73 = call i32 @MoveTo(ptr noundef %71, ptr noundef %72) #3 %74 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 br label %118 75: ; preds = %48 %76 = load i32, ptr @srcCopy, align 4, !tbaa !6 %77 = call i32 @TextMode(i32 noundef %76) #3 %78 = load i32, ptr @normal, align 4, !tbaa !6 %79 = call i32 @TextFace(i32 noundef %78) #3 %80 = load i32, ptr @DRAW_TRANSP, align 4, !tbaa !6 %81 = and i32 %80, %4 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %75 %84 = load i32, ptr @srcOr, align 4, !tbaa !6 %85 = call i32 @TextMode(i32 noundef %84) #3 br label %86 86: ; preds = %83, %75 %87 = call ptr @TEXT_X(i32 noundef %1) #3 %88 = call ptr @TEXT_Y(i32 noundef %0) #3 %89 = call i32 @MoveTo(ptr noundef %87, ptr noundef %88) #3 %90 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 %91 = load i32, ptr @DRAW_BOLD, align 4, !tbaa !6 %92 = and i32 %91, %4 %93 = icmp eq i32 %92, 0 br i1 %93, label %102, label %94 94: ; preds = %86 %95 = load i32, ptr @srcOr, align 4, !tbaa !6 %96 = call i32 @TextMode(i32 noundef %95) #3 %97 = call ptr @TEXT_X(i32 noundef %1) #3 %98 = getelementptr inbounds i8, ptr %97, i64 1 %99 = call ptr @TEXT_Y(i32 noundef %0) #3 %100 = call i32 @MoveTo(ptr noundef nonnull %98, ptr noundef %99) #3 %101 = call i32 @DrawText(ptr noundef %2, i32 noundef 0, i32 noundef %3) #3 br label %102 102: ; preds = %94, %86 %103 = load i32, ptr @DRAW_UNDERL, align 4, !tbaa !6 %104 = and i32 %103, %4 %105 = icmp eq i32 %104, 0 br i1 %105, label %118, label %106 106: ; preds = %102 %107 = call ptr @FILL_X(i32 noundef %1) #3 %108 = add nsw i32 %0, 1 %109 = call ptr @FILL_Y(i32 noundef %108) #3 %110 = getelementptr inbounds i8, ptr %109, i64 -1 %111 = call i32 @MoveTo(ptr noundef %107, ptr noundef nonnull %110) #3 %112 = add nsw i32 %3, %1 %113 = call ptr @FILL_X(i32 noundef %112) #3 %114 = getelementptr inbounds i8, ptr %113, i64 -1 %115 = call ptr @FILL_Y(i32 noundef %108) #3 %116 = getelementptr inbounds i8, ptr %115, i64 -1 %117 = call i32 @LineTo(ptr noundef nonnull %114, ptr noundef nonnull %116) #3 br label %118 118: ; preds = %102, %106, %54 %119 = load i32, ptr @DRAW_UNDERC, align 4, !tbaa !6 %120 = and i32 %119, %4 %121 = icmp eq i32 %120, 0 br i1 %121, label %124, label %122 122: ; preds = %118 %123 = call i32 @draw_undercurl(i32 noundef %4, i32 noundef %0, i32 noundef %1, i32 noundef %3) #3 br label %124 124: ; preds = %122, %118 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @QDSwapTextFlags(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 ptr @FILL_X(i32 noundef) local_unnamed_addr #2 declare ptr @FILL_Y(i32 noundef) local_unnamed_addr #2 declare i32 @EraseRect(ptr noundef) local_unnamed_addr #2 declare i32 @TextFace(i32 noundef) local_unnamed_addr #2 declare i32 @TextMode(i32 noundef) local_unnamed_addr #2 declare i32 @MoveTo(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @TEXT_X(i32 noundef) local_unnamed_addr #2 declare ptr @TEXT_Y(i32 noundef) local_unnamed_addr #2 declare i32 @DrawText(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LineTo(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @draw_undercurl(i32 noundef, i32 noundef, i32 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, !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 24} !13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !14, i64 16} !16 = !{!13, !14, i64 8} !17 = !{!13, !14, i64 0}
macvim_src_extr_gui_mac.c_draw_string_QD
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_encoder.c_HPDF_BasicEncoder_ToUnicode.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_encoder.c_HPDF_BasicEncoder_ToUnicode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @HPDF_BasicEncoder_ToUnicode(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i32 %1, 255 br i1 %3, label %12, label %4 4: ; preds = %2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = sext i32 %1 to i64 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !13 br label %12 12: ; preds = %2, %4 %13 = phi i32 [ %11, %4 ], [ 0, %2 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_encoder.c_HPDF_BasicEncoder_ToUnicode.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_encoder.c_HPDF_BasicEncoder_ToUnicode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @HPDF_BasicEncoder_ToUnicode(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i32 %1, 255 br i1 %3, label %12, label %4 4: ; preds = %2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = sext i32 %1 to i64 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !14 br label %12 12: ; preds = %2, %4 %13 = phi i32 [ %11, %4 ], [ 0, %2 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
poco_PDF_src_extr_hpdf_encoder.c_HPDF_BasicEncoder_ToUnicode
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_lp3971.c_lp3971_dcdc_set_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_lp3971.c_lp3971_dcdc_set_voltage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LP3971_DCDC1 = dso_local local_unnamed_addr global i32 0, align 4 @buck_voltage_map = dso_local local_unnamed_addr global ptr null, align 8 @BUCK_TARGET_VOL_MIN_IDX = dso_local local_unnamed_addr global i64 0, align 8 @BUCK_TARGET_VOL_MAX_IDX = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @BUCK_TARGET_VOL_MASK = dso_local local_unnamed_addr global i64 0, align 8 @LP3971_BUCK_VOL_CHANGE_REG = dso_local local_unnamed_addr global i32 0, align 4 @BUCK_VOL_CHANGE_FLAG_MASK = dso_local local_unnamed_addr global i64 0, align 8 @BUCK_VOL_CHANGE_FLAG_GO = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @lp3971_dcdc_set_voltage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lp3971_dcdc_set_voltage(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %5 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %6 = load i32, ptr @LP3971_DCDC1, align 4, !tbaa !5 %7 = sub nsw i32 %5, %6 %8 = sdiv i32 %1, 1000 %9 = sdiv i32 %2, 1000 %10 = load ptr, ptr @buck_voltage_map, align 8, !tbaa !9 %11 = load i64, ptr @BUCK_TARGET_VOL_MIN_IDX, align 8, !tbaa !11 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !5 %14 = icmp slt i32 %8, %13 br i1 %14, label %22, label %15 15: ; preds = %3 %16 = load i64, ptr @BUCK_TARGET_VOL_MAX_IDX, align 8, !tbaa !11 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = load i32, ptr %17, align 4, !tbaa !5 %19 = icmp sgt i32 %8, %18 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = icmp ugt i64 %11, %16 br i1 %21, label %36, label %25 22: ; preds = %15, %3 %23 = load i32, ptr @EINVAL, align 4, !tbaa !5 %24 = sub nsw i32 0, %23 br label %65 25: ; preds = %20, %30 %26 = phi i64 [ %31, %30 ], [ %11, %20 ] %27 = getelementptr inbounds i32, ptr %10, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !5 %29 = icmp slt i32 %28, %8 br i1 %29, label %30, label %36 30: ; preds = %25 %31 = add i64 %26, 1 %32 = icmp ugt i64 %31, %16 br i1 %32, label %33, label %25, !llvm.loop !13 33: ; preds = %30 %34 = getelementptr inbounds i32, ptr %10, i64 %31 %35 = load i32, ptr %34, align 4, !tbaa !5 br label %36 36: ; preds = %25, %33, %20 %37 = phi i32 [ %13, %20 ], [ %35, %33 ], [ %28, %25 ] %38 = phi i64 [ %11, %20 ], [ %31, %33 ], [ %26, %25 ] %39 = icmp sgt i32 %37, %9 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = load i32, ptr @EINVAL, align 4, !tbaa !5 %42 = sub nsw i32 0, %41 br label %65 43: ; preds = %36 %44 = tail call i32 @LP3971_BUCK_TARGET_VOL1_REG(i32 noundef %7) #2 %45 = load i64, ptr @BUCK_TARGET_VOL_MASK, align 8, !tbaa !11 %46 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %44, i64 noundef %45, i64 noundef %38) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %65 48: ; preds = %43 %49 = load i32, ptr @LP3971_BUCK_VOL_CHANGE_REG, align 4, !tbaa !5 %50 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_MASK, align 8, !tbaa !11 %51 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %52 = shl i64 %50, %51 %53 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_GO, align 8, !tbaa !11 %54 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %55 = shl i64 %53, %54 %56 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %49, i64 noundef %52, i64 noundef %55) #2 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %65 58: ; preds = %48 %59 = load i32, ptr @LP3971_BUCK_VOL_CHANGE_REG, align 4, !tbaa !5 %60 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_MASK, align 8, !tbaa !11 %61 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %62 = shl i64 %60, %61 %63 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %64 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %59, i64 noundef %62, i64 noundef 0) #2 br label %65 65: ; preds = %48, %43, %58, %40, %22 %66 = phi i32 [ %24, %22 ], [ %42, %40 ], [ %64, %58 ], [ %46, %43 ], [ %56, %48 ] ret i32 %66 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @lp3971_set_bits(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @LP3971_BUCK_TARGET_VOL1_REG(i32 noundef) local_unnamed_addr #1 declare i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/regulator/extr_lp3971.c_lp3971_dcdc_set_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/regulator/extr_lp3971.c_lp3971_dcdc_set_voltage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LP3971_DCDC1 = common local_unnamed_addr global i32 0, align 4 @buck_voltage_map = common local_unnamed_addr global ptr null, align 8 @BUCK_TARGET_VOL_MIN_IDX = common local_unnamed_addr global i64 0, align 8 @BUCK_TARGET_VOL_MAX_IDX = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @BUCK_TARGET_VOL_MASK = common local_unnamed_addr global i64 0, align 8 @LP3971_BUCK_VOL_CHANGE_REG = common local_unnamed_addr global i32 0, align 4 @BUCK_VOL_CHANGE_FLAG_MASK = common local_unnamed_addr global i64 0, align 8 @BUCK_VOL_CHANGE_FLAG_GO = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @lp3971_dcdc_set_voltage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lp3971_dcdc_set_voltage(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %5 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %6 = load i32, ptr @LP3971_DCDC1, align 4, !tbaa !6 %7 = sub nsw i32 %5, %6 %8 = sdiv i32 %1, 1000 %9 = sdiv i32 %2, 1000 %10 = load ptr, ptr @buck_voltage_map, align 8, !tbaa !10 %11 = load i64, ptr @BUCK_TARGET_VOL_MIN_IDX, align 8, !tbaa !12 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !6 %14 = icmp slt i32 %8, %13 br i1 %14, label %22, label %15 15: ; preds = %3 %16 = load i64, ptr @BUCK_TARGET_VOL_MAX_IDX, align 8, !tbaa !12 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = load i32, ptr %17, align 4, !tbaa !6 %19 = icmp sgt i32 %8, %18 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = icmp ugt i64 %11, %16 br i1 %21, label %36, label %25 22: ; preds = %15, %3 %23 = load i32, ptr @EINVAL, align 4, !tbaa !6 %24 = sub nsw i32 0, %23 br label %65 25: ; preds = %20, %30 %26 = phi i64 [ %31, %30 ], [ %11, %20 ] %27 = getelementptr inbounds i32, ptr %10, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !6 %29 = icmp slt i32 %28, %8 br i1 %29, label %30, label %36 30: ; preds = %25 %31 = add i64 %26, 1 %32 = icmp ugt i64 %31, %16 br i1 %32, label %33, label %25, !llvm.loop !14 33: ; preds = %30 %34 = getelementptr inbounds i32, ptr %10, i64 %31 %35 = load i32, ptr %34, align 4, !tbaa !6 br label %36 36: ; preds = %25, %33, %20 %37 = phi i32 [ %13, %20 ], [ %35, %33 ], [ %28, %25 ] %38 = phi i64 [ %11, %20 ], [ %31, %33 ], [ %26, %25 ] %39 = icmp sgt i32 %37, %9 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = load i32, ptr @EINVAL, align 4, !tbaa !6 %42 = sub nsw i32 0, %41 br label %65 43: ; preds = %36 %44 = tail call i32 @LP3971_BUCK_TARGET_VOL1_REG(i32 noundef %7) #2 %45 = load i64, ptr @BUCK_TARGET_VOL_MASK, align 8, !tbaa !12 %46 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %44, i64 noundef %45, i64 noundef %38) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %65 48: ; preds = %43 %49 = load i32, ptr @LP3971_BUCK_VOL_CHANGE_REG, align 4, !tbaa !6 %50 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_MASK, align 8, !tbaa !12 %51 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %52 = shl i64 %50, %51 %53 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_GO, align 8, !tbaa !12 %54 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %55 = shl i64 %53, %54 %56 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %49, i64 noundef %52, i64 noundef %55) #2 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %65 58: ; preds = %48 %59 = load i32, ptr @LP3971_BUCK_VOL_CHANGE_REG, align 4, !tbaa !6 %60 = load i64, ptr @BUCK_VOL_CHANGE_FLAG_MASK, align 8, !tbaa !12 %61 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %62 = shl i64 %60, %61 %63 = tail call i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef %7) #2 %64 = tail call i32 @lp3971_set_bits(ptr noundef %4, i32 noundef %59, i64 noundef %62, i64 noundef 0) #2 br label %65 65: ; preds = %48, %43, %58, %40, %22 %66 = phi i32 [ %24, %22 ], [ %42, %40 ], [ %64, %58 ], [ %46, %43 ], [ %56, %48 ] ret i32 %66 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @lp3971_set_bits(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @LP3971_BUCK_TARGET_VOL1_REG(i32 noundef) local_unnamed_addr #1 declare i64 @BUCK_VOL_CHANGE_SHIFT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_regulator_extr_lp3971.c_lp3971_dcdc_set_voltage
; ModuleID = 'AnghaBench/linux/kernel/locking/extr_mutex-debug.c_debug_mutex_lock_common.c' source_filename = "AnghaBench/linux/kernel/locking/extr_mutex-debug.c_debug_mutex_lock_common.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mutex_waiter = type { i32, ptr } @MUTEX_DEBUG_INIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @debug_mutex_lock_common(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MUTEX_DEBUG_INIT, align 4, !tbaa !5 %4 = tail call i32 @memset(ptr noundef %1, i32 noundef %3, i32 noundef 16) #2 %5 = getelementptr inbounds %struct.mutex_waiter, ptr %1, i64 0, i32 1 store ptr %1, ptr %5, align 8, !tbaa !9 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef %1) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(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 = !{!"mutex_waiter", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/locking/extr_mutex-debug.c_debug_mutex_lock_common.c' source_filename = "AnghaBench/linux/kernel/locking/extr_mutex-debug.c_debug_mutex_lock_common.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MUTEX_DEBUG_INIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @debug_mutex_lock_common(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MUTEX_DEBUG_INIT, align 4, !tbaa !6 %4 = tail call i32 @memset(ptr noundef %1, i32 noundef %3, i32 noundef 16) #2 %5 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %1, ptr %5, align 8, !tbaa !10 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef %1) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(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 = !{!"mutex_waiter", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0}
linux_kernel_locking_extr_mutex-debug.c_debug_mutex_lock_common
; ModuleID = 'AnghaBench/linux/scripts/extr_pnmtologo.c_is_gray.c' source_filename = "AnghaBench/linux/scripts/extr_pnmtologo.c_is_gray.c" target datalayout = "e-m:e-p270:32:32-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.color = type { i64, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @is_gray], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @is_gray(ptr nocapture noundef readonly byval(%struct.color) align 8 %0) #0 { %2 = load i64, ptr %0, align 8 %3 = getelementptr inbounds %struct.color, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %2, %4 %6 = getelementptr inbounds %struct.color, ptr %0, i64 0, i32 2 %7 = load i64, ptr %6, align 8 %8 = icmp eq i64 %2, %7 %9 = select i1 %5, i1 %8, i1 false %10 = zext i1 %9 to i32 ret i32 %10 } 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 8} !6 = !{!"color", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/scripts/extr_pnmtologo.c_is_gray.c' source_filename = "AnghaBench/linux/scripts/extr_pnmtologo.c_is_gray.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 @is_gray], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @is_gray(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %2, %4 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp eq i64 %2, %8 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %6, %1 %12 = phi i32 [ 0, %1 ], [ %10, %6 ] ret i32 %12 } 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 = !{!"color", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 16}
linux_scripts_extr_pnmtologo.c_is_gray