IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/Quake-III-Arena/code/null/extr_null_input.c_IN_Init.c'
source_filename = "AnghaBench/Quake-III-Arena/code/null/extr_null_input.c_IN_Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @IN_Init() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/null/extr_null_input.c_IN_Init.c'
source_filename = "AnghaBench/Quake-III-Arena/code/null/extr_null_input.c_IN_Init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @IN_Init() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Quake-III-Arena_code_null_extr_null_input.c_IN_Init |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/sdp/extr_sdp_db.c_SDP_AddAdditionProtoLists.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/sdp/extr_sdp_db.c_SDP_AddAdditionProtoLists.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@SDP_MAX_ATTR_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"SDP_AddAdditionProtoLists cannot get a buffer!\0A\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@DATA_ELE_SEQ_DESC_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@SIZE_IN_NEXT_BYTE = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_ID_ADDITION_PROTO_DESC_LISTS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @SDP_AddAdditionProtoLists(i32 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SDP_MAX_ATTR_LEN, align 4, !tbaa !5
%5 = shl i32 %4, 4
%6 = tail call i64 @osi_malloc(i32 noundef %5) #2
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = icmp sgt i64 %1, 0
br i1 %10, label %14, label %38
11: ; preds = %3
%12 = tail call i32 @SDP_TRACE_ERROR(ptr noundef nonnull @.str) #2
%13 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %47
14: ; preds = %9, %14
%15 = phi ptr [ %36, %14 ], [ %2, %9 ]
%16 = phi i64 [ %35, %14 ], [ 0, %9 ]
%17 = phi ptr [ %29, %14 ], [ %7, %9 ]
%18 = load i32, ptr @DATA_ELE_SEQ_DESC_TYPE, align 4, !tbaa !5
%19 = shl i32 %18, 3
%20 = load i32, ptr @SIZE_IN_NEXT_BYTE, align 4, !tbaa !5
%21 = or i32 %19, %20
%22 = tail call i32 @UINT8_TO_BE_STREAM(ptr noundef %17, i32 noundef %21) #2
%23 = getelementptr inbounds i64, ptr %17, i64 1
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !9
%26 = load i32, ptr %15, align 4, !tbaa !11
%27 = tail call i32 @sdp_compose_proto_list(ptr noundef nonnull %23, i32 noundef %25, i32 noundef %26) #2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %23, i64 %28
%30 = ptrtoint ptr %29 to i64
%31 = ptrtoint ptr %17 to i64
%32 = sub i64 %30, %31
%33 = ashr exact i64 %32, 3
%34 = add nsw i64 %33, -1
store i64 %34, ptr %17, align 8, !tbaa !12
%35 = add nuw nsw i64 %16, 1
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 1
%37 = icmp eq i64 %35, %1
br i1 %37, label %38, label %14, !llvm.loop !14
38: ; preds = %14, %9
%39 = phi i64 [ %6, %9 ], [ %30, %14 ]
%40 = load i32, ptr @ATTR_ID_ADDITION_PROTO_DESC_LISTS, align 4, !tbaa !5
%41 = load i32, ptr @DATA_ELE_SEQ_DESC_TYPE, align 4, !tbaa !5
%42 = sub i64 %39, %6
%43 = lshr exact i64 %42, 3
%44 = trunc i64 %43 to i32
%45 = tail call i32 @SDP_AddAttribute(i32 noundef %0, i32 noundef %40, i32 noundef %41, i32 noundef %44, ptr noundef nonnull %7) #2
%46 = tail call i32 @osi_free(ptr noundef nonnull %7) #2
br label %47
47: ; preds = %38, %11
%48 = phi i32 [ %13, %11 ], [ %45, %38 ]
ret i32 %48
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @SDP_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @UINT8_TO_BE_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdp_compose_proto_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SDP_AddAttribute(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @osi_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/sdp/extr_sdp_db.c_SDP_AddAdditionProtoLists.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/sdp/extr_sdp_db.c_SDP_AddAdditionProtoLists.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SDP_MAX_ATTR_LEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"SDP_AddAdditionProtoLists cannot get a buffer!\0A\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@DATA_ELE_SEQ_DESC_TYPE = common local_unnamed_addr global i32 0, align 4
@SIZE_IN_NEXT_BYTE = common local_unnamed_addr global i32 0, align 4
@ATTR_ID_ADDITION_PROTO_DESC_LISTS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @SDP_AddAdditionProtoLists(i32 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SDP_MAX_ATTR_LEN, align 4, !tbaa !6
%5 = shl i32 %4, 4
%6 = tail call i64 @osi_malloc(i32 noundef %5) #2
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = icmp sgt i64 %1, 0
br i1 %10, label %14, label %38
11: ; preds = %3
%12 = tail call i32 @SDP_TRACE_ERROR(ptr noundef nonnull @.str) #2
%13 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %47
14: ; preds = %9, %14
%15 = phi ptr [ %36, %14 ], [ %2, %9 ]
%16 = phi i64 [ %35, %14 ], [ 0, %9 ]
%17 = phi ptr [ %29, %14 ], [ %7, %9 ]
%18 = load i32, ptr @DATA_ELE_SEQ_DESC_TYPE, align 4, !tbaa !6
%19 = shl i32 %18, 3
%20 = load i32, ptr @SIZE_IN_NEXT_BYTE, align 4, !tbaa !6
%21 = or i32 %19, %20
%22 = tail call i32 @UINT8_TO_BE_STREAM(ptr noundef %17, i32 noundef %21) #2
%23 = getelementptr inbounds i8, ptr %17, i64 8
%24 = getelementptr inbounds i8, ptr %15, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !10
%26 = load i32, ptr %15, align 4, !tbaa !12
%27 = tail call i32 @sdp_compose_proto_list(ptr noundef nonnull %23, i32 noundef %25, i32 noundef %26) #2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %23, i64 %28
%30 = ptrtoint ptr %29 to i64
%31 = ptrtoint ptr %17 to i64
%32 = sub i64 %30, %31
%33 = ashr exact i64 %32, 3
%34 = add nsw i64 %33, -1
store i64 %34, ptr %17, align 8, !tbaa !13
%35 = add nuw nsw i64 %16, 1
%36 = getelementptr inbounds i8, ptr %15, i64 8
%37 = icmp eq i64 %35, %1
br i1 %37, label %38, label %14, !llvm.loop !15
38: ; preds = %14, %9
%39 = phi i64 [ %6, %9 ], [ %30, %14 ]
%40 = load i32, ptr @ATTR_ID_ADDITION_PROTO_DESC_LISTS, align 4, !tbaa !6
%41 = load i32, ptr @DATA_ELE_SEQ_DESC_TYPE, align 4, !tbaa !6
%42 = sub i64 %39, %6
%43 = lshr exact i64 %42, 3
%44 = trunc i64 %43 to i32
%45 = tail call i32 @SDP_AddAttribute(i32 noundef %0, i32 noundef %40, i32 noundef %41, i32 noundef %44, ptr noundef nonnull %7) #2
%46 = tail call i32 @osi_free(ptr noundef nonnull %7) #2
br label %47
47: ; preds = %38, %11
%48 = phi i32 [ %13, %11 ], [ %45, %38 ]
ret i32 %48
}
declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @SDP_TRACE_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @UINT8_TO_BE_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdp_compose_proto_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SDP_AddAttribute(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @osi_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| esp-idf_components_bt_host_bluedroid_stack_sdp_extr_sdp_db.c_SDP_AddAdditionProtoLists |
; ModuleID = 'AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-ltc4306.c_ltc4306_deselect_mux.c'
source_filename = "AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-ltc4306.c_ltc4306_deselect_mux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LTC_REG_SWITCH = dso_local local_unnamed_addr global i32 0, align 4
@LTC_SWITCH_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ltc4306_deselect_mux], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ltc4306_deselect_mux(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @i2c_mux_priv(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @LTC_REG_SWITCH, align 4, !tbaa !10
%6 = load i32, ptr @LTC_SWITCH_MASK, align 4, !tbaa !10
%7 = tail call i32 @regmap_update_bits(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare ptr @i2c_mux_priv(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ltc4306", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-ltc4306.c_ltc4306_deselect_mux.c'
source_filename = "AnghaBench/linux/drivers/i2c/muxes/extr_i2c-mux-ltc4306.c_ltc4306_deselect_mux.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LTC_REG_SWITCH = common local_unnamed_addr global i32 0, align 4
@LTC_SWITCH_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ltc4306_deselect_mux], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ltc4306_deselect_mux(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @i2c_mux_priv(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @LTC_REG_SWITCH, align 4, !tbaa !11
%6 = load i32, ptr @LTC_SWITCH_MASK, align 4, !tbaa !11
%7 = tail call i32 @regmap_update_bits(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare ptr @i2c_mux_priv(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ltc4306", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_i2c_muxes_extr_i2c-mux-ltc4306.c_ltc4306_deselect_mux |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/6fire/extr_control.c_usb6fire_control_opt_coax_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/6fire/extr_control.c_usb6fire_control_opt_coax_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb6fire_control_opt_coax_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @usb6fire_control_opt_coax_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load ptr, ptr %1, align 8, !tbaa !10
store i32 %4, ptr %5, align 4, !tbaa !15
ret i32 0
}
declare ptr @snd_kcontrol_chip(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 = !{!"control_runtime", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 0}
!11 = !{!"snd_ctl_elem_value", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/6fire/extr_control.c_usb6fire_control_opt_coax_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/6fire/extr_control.c_usb6fire_control_opt_coax_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 @usb6fire_control_opt_coax_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @usb6fire_control_opt_coax_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load ptr, ptr %1, align 8, !tbaa !11
store i32 %4, ptr %5, align 4, !tbaa !16
ret i32 0
}
declare ptr @snd_kcontrol_chip(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 = !{!"control_runtime", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 0}
!12 = !{!"snd_ctl_elem_value", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!8, !8, i64 0}
| fastsocket_kernel_sound_usb_6fire_extr_control.c_usb6fire_control_opt_coax_get |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_ttm_buffer.c_vmw_verify_access.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_ttm_buffer.c_vmw_verify_access.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @vmw_verify_access], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vmw_verify_access(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = tail call ptr @vmw_fpriv(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call i32 @vmw_user_bo_verify_access(ptr noundef %0, ptr noundef %6) #2
ret i32 %7
}
declare ptr @vmw_fpriv(ptr noundef) local_unnamed_addr #1
declare i32 @vmw_user_bo_verify_access(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 = !{!"file", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_ttm_buffer.c_vmw_verify_access.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_ttm_buffer.c_vmw_verify_access.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 @vmw_verify_access], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vmw_verify_access(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = tail call ptr @vmw_fpriv(ptr noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @vmw_user_bo_verify_access(ptr noundef %0, ptr noundef %6) #2
ret i32 %7
}
declare ptr @vmw_fpriv(ptr noundef) local_unnamed_addr #1
declare i32 @vmw_user_bo_verify_access(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 = !{!"file", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| linux_drivers_gpu_drm_vmwgfx_extr_vmwgfx_ttm_buffer.c_vmw_verify_access |
; ModuleID = 'AnghaBench/freebsd/sys/dev/twa/extr_tw_cl_misc.c_tw_cli_drain_response_queue.c'
source_filename = "AnghaBench/freebsd/sys/dev/twa/extr_tw_cl_misc.c_tw_cli_drain_response_queue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"entered\00", align 1
@TWA_STATUS_RESPONSE_QUEUE_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@TW_OSL_ESUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @tw_cli_drain_response_queue(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 (...) @tw_osl_cur_func() #2
%4 = tail call i32 @tw_cli_dbg_printf(i32 noundef 4, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef %5) #2
%7 = load i32, ptr @TWA_STATUS_RESPONSE_QUEUE_EMPTY, align 4, !tbaa !10
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %12, %1
%11 = load i32, ptr @TW_OSL_ESUCCESS, align 4, !tbaa !10
ret i32 %11
12: ; preds = %1, %12
%13 = load i32, ptr %0, align 4, !tbaa !5
%14 = tail call i32 @TW_CLI_READ_RESPONSE_QUEUE(i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !5
%16 = tail call i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef %15) #2
%17 = load i32, ptr @TWA_STATUS_RESPONSE_QUEUE_EMPTY, align 4, !tbaa !10
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %12, label %10
}
declare i32 @tw_cli_dbg_printf(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tw_osl_cur_func(...) local_unnamed_addr #1
declare i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef) local_unnamed_addr #1
declare i32 @TW_CLI_READ_RESPONSE_QUEUE(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 = !{!"tw_cli_ctlr_context", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/twa/extr_tw_cl_misc.c_tw_cli_drain_response_queue.c'
source_filename = "AnghaBench/freebsd/sys/dev/twa/extr_tw_cl_misc.c_tw_cli_drain_response_queue.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"entered\00", align 1
@TWA_STATUS_RESPONSE_QUEUE_EMPTY = common local_unnamed_addr global i32 0, align 4
@TW_OSL_ESUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tw_cli_drain_response_queue(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @tw_osl_cur_func() #2
%4 = tail call i32 @tw_cli_dbg_printf(i32 noundef 4, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef %5) #2
%7 = load i32, ptr @TWA_STATUS_RESPONSE_QUEUE_EMPTY, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %12, %1
%11 = load i32, ptr @TW_OSL_ESUCCESS, align 4, !tbaa !11
ret i32 %11
12: ; preds = %1, %12
%13 = load i32, ptr %0, align 4, !tbaa !6
%14 = tail call i32 @TW_CLI_READ_RESPONSE_QUEUE(i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !6
%16 = tail call i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef %15) #2
%17 = load i32, ptr @TWA_STATUS_RESPONSE_QUEUE_EMPTY, align 4, !tbaa !11
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %12, label %10
}
declare i32 @tw_cli_dbg_printf(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tw_osl_cur_func(...) local_unnamed_addr #1
declare i32 @TW_CLI_READ_STATUS_REGISTER(i32 noundef) local_unnamed_addr #1
declare i32 @TW_CLI_READ_RESPONSE_QUEUE(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 = !{!"tw_cli_ctlr_context", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_sys_dev_twa_extr_tw_cl_misc.c_tw_cli_drain_response_queue |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/linux/extr_emu.c_plat_update_volume.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/linux/extr_emu.c_plat_update_volume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @plat_update_volume(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/linux/extr_emu.c_plat_update_volume.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/linux/extr_emu.c_plat_update_volume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @plat_update_volume(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_PicoDrive_platform_linux_extr_emu.c_plat_update_volume |
; ModuleID = 'AnghaBench/linux/net/tipc/extr_link.c_tipc_link_reset.c'
source_filename = "AnghaBench/linux/net/tipc/extr_link.c_tipc_link_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.sk_buff_head = type { i32 }
%struct.tipc_link = type { i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, %struct.sk_buff_head, i32, i32, i32, i32 }
%struct.TYPE_2__ = type { ptr, i64 }
@TIPC_SYSTEM_IMPORTANCE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @tipc_link_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.sk_buff_head, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = call i32 @__skb_queue_head_init(ptr noundef nonnull %2) #4
store i32 0, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 23
%5 = load <2 x i32>, ptr %4, align 4, !tbaa !13
%6 = add nsw <2 x i32> %5, <i32 1, i32 -1>
store <2 x i32> %6, ptr %4, align 4, !tbaa !13
%7 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 21
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 22
store i32 %8, ptr %9, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 20
%11 = call i32 @spin_lock_bh(ptr noundef nonnull %10) #4
%12 = call i32 @skb_queue_splice_init(ptr noundef nonnull %10, ptr noundef nonnull %2) #4
%13 = call i32 @spin_unlock_bh(ptr noundef nonnull %10) #4
%14 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 19
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = call i32 @spin_lock_bh(ptr noundef %15) #4
%17 = load ptr, ptr %14, align 8, !tbaa !16
%18 = call i32 @skb_queue_splice_init(ptr noundef nonnull %2, ptr noundef %17) #4
%19 = load ptr, ptr %14, align 8, !tbaa !16
%20 = call i32 @spin_unlock_bh(ptr noundef %19) #4
%21 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 18
%22 = call i32 @__skb_queue_purge(ptr noundef nonnull %21) #4
%23 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 17
%24 = call i32 @__skb_queue_purge(ptr noundef nonnull %23) #4
%25 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 16
%26 = call i32 @__skb_queue_purge(ptr noundef nonnull %25) #4
%27 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 15
%28 = call i32 @__skb_queue_purge(ptr noundef nonnull %27) #4
%29 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 14
%30 = load ptr, ptr %29, align 8, !tbaa !17
%31 = load i64, ptr @TIPC_SYSTEM_IMPORTANCE, align 8, !tbaa !18
br label %32
32: ; preds = %1, %32
%33 = phi i64 [ 0, %1 ], [ %35, %32 ]
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %33
%35 = add i64 %33, 1
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %34, i8 0, i64 16, i1 false)
%36 = icmp ugt i64 %35, %31
br i1 %36, label %37, label %32, !llvm.loop !19
37: ; preds = %32
%38 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 13
%39 = load ptr, ptr %38, align 8, !tbaa !21
%40 = call i32 @kfree_skb(ptr noundef %39) #4
%41 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 12
%42 = load ptr, ptr %41, align 8, !tbaa !22
%43 = call i32 @kfree_skb(ptr noundef %42) #4
%44 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 11
%45 = load ptr, ptr %44, align 8, !tbaa !23
%46 = call i32 @kfree_skb(ptr noundef %45) #4
%47 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 10
%48 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 1
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %47, i8 0, i64 32, i1 false)
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %48, align 4, !tbaa !13
%49 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 7
%50 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 5
store i32 0, ptr %50, align 4, !tbaa !24
%51 = getelementptr inbounds %struct.tipc_link, ptr %0, i64 0, i32 6
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %49, i8 0, i64 24, i1 false)
%52 = call i32 @memset(ptr noundef nonnull %51, i32 noundef 0, i32 noundef 4) #4
%53 = call i32 @tipc_link_reset_stats(ptr noundef nonnull %0) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i32 @__skb_queue_head_init(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @skb_queue_splice_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @__skb_queue_purge(ptr noundef) local_unnamed_addr #2
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_link_reset_stats(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tipc_link", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !11, i64 112, !12, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136}
!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 = !{!"sk_buff_head", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 124}
!15 = !{!6, !7, i64 128}
!16 = !{!6, !11, i64 112}
!17 = !{!6, !11, i64 88}
!18 = !{!10, !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !11, i64 80}
!22 = !{!6, !11, i64 72}
!23 = !{!6, !11, i64 64}
!24 = !{!6, !7, i64 20}
| ; ModuleID = 'AnghaBench/linux/net/tipc/extr_link.c_tipc_link_reset.c'
source_filename = "AnghaBench/linux/net/tipc/extr_link.c_tipc_link_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sk_buff_head = type { i32 }
%struct.TYPE_2__ = type { ptr, i64 }
@TIPC_SYSTEM_IMPORTANCE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @tipc_link_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.sk_buff_head, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = call i32 @__skb_queue_head_init(ptr noundef nonnull %2) #4
store i32 0, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 132
%5 = load <2 x i32>, ptr %4, align 4, !tbaa !14
%6 = add nsw <2 x i32> %5, <i32 1, i32 -1>
store <2 x i32> %6, ptr %4, align 4, !tbaa !14
%7 = getelementptr inbounds i8, ptr %0, i64 124
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = getelementptr inbounds i8, ptr %0, i64 128
store i32 %8, ptr %9, align 8, !tbaa !16
%10 = getelementptr inbounds i8, ptr %0, i64 120
%11 = call i32 @spin_lock_bh(ptr noundef nonnull %10) #4
%12 = call i32 @skb_queue_splice_init(ptr noundef nonnull %10, ptr noundef nonnull %2) #4
%13 = call i32 @spin_unlock_bh(ptr noundef nonnull %10) #4
%14 = getelementptr inbounds i8, ptr %0, i64 112
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = call i32 @spin_lock_bh(ptr noundef %15) #4
%17 = load ptr, ptr %14, align 8, !tbaa !17
%18 = call i32 @skb_queue_splice_init(ptr noundef nonnull %2, ptr noundef %17) #4
%19 = load ptr, ptr %14, align 8, !tbaa !17
%20 = call i32 @spin_unlock_bh(ptr noundef %19) #4
%21 = getelementptr inbounds i8, ptr %0, i64 108
%22 = call i32 @__skb_queue_purge(ptr noundef nonnull %21) #4
%23 = getelementptr inbounds i8, ptr %0, i64 104
%24 = call i32 @__skb_queue_purge(ptr noundef nonnull %23) #4
%25 = getelementptr inbounds i8, ptr %0, i64 100
%26 = call i32 @__skb_queue_purge(ptr noundef nonnull %25) #4
%27 = getelementptr inbounds i8, ptr %0, i64 96
%28 = call i32 @__skb_queue_purge(ptr noundef nonnull %27) #4
%29 = getelementptr inbounds i8, ptr %0, i64 88
%30 = load ptr, ptr %29, align 8, !tbaa !18
br label %31
31: ; preds = %1, %31
%32 = phi i64 [ 0, %1 ], [ %34, %31 ]
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %32
%34 = add i64 %32, 1
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false)
%35 = load i64, ptr @TIPC_SYSTEM_IMPORTANCE, align 8, !tbaa !19
%36 = icmp ugt i64 %34, %35
br i1 %36, label %37, label %31, !llvm.loop !20
37: ; preds = %31
%38 = getelementptr inbounds i8, ptr %0, i64 80
%39 = load ptr, ptr %38, align 8, !tbaa !22
%40 = call i32 @kfree_skb(ptr noundef %39) #4
%41 = getelementptr inbounds i8, ptr %0, i64 72
%42 = load ptr, ptr %41, align 8, !tbaa !23
%43 = call i32 @kfree_skb(ptr noundef %42) #4
%44 = getelementptr inbounds i8, ptr %0, i64 64
%45 = load ptr, ptr %44, align 8, !tbaa !24
%46 = call i32 @kfree_skb(ptr noundef %45) #4
%47 = getelementptr inbounds i8, ptr %0, i64 56
%48 = getelementptr inbounds i8, ptr %0, i64 4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %47, i8 0, i64 32, i1 false)
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %48, align 4, !tbaa !14
%49 = getelementptr inbounds i8, ptr %0, i64 32
%50 = getelementptr inbounds i8, ptr %0, i64 20
store i32 0, ptr %50, align 4, !tbaa !25
%51 = getelementptr inbounds i8, ptr %0, i64 24
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %49, i8 0, i64 24, i1 false)
%52 = call i32 @memset(ptr noundef nonnull %51, i32 noundef 0, i32 noundef 4) #4
%53 = call i32 @tipc_link_reset_stats(ptr noundef nonnull %0) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i32 @__skb_queue_head_init(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @skb_queue_splice_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2
declare i32 @__skb_queue_purge(ptr noundef) local_unnamed_addr #2
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tipc_link_reset_stats(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tipc_link", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !8, i64 96, !8, i64 100, !8, i64 104, !8, i64 108, !12, i64 112, !13, i64 120, !8, i64 124, !8, i64 128, !8, i64 132, !8, i64 136}
!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 = !{!"sk_buff_head", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 124}
!16 = !{!7, !8, i64 128}
!17 = !{!7, !12, i64 112}
!18 = !{!7, !12, i64 88}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !12, i64 80}
!23 = !{!7, !12, i64 72}
!24 = !{!7, !12, i64 64}
!25 = !{!7, !8, i64 20}
| linux_net_tipc_extr_link.c_tipc_link_reset |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__SHIFT = common local_unnamed_addr global i32 0, align 4
@A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_HLSQ_CL_NDRANGE_0_REG_LOCALSIZE2 |
; ModuleID = 'AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_set_addr.c'
source_filename = "AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_set_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"
@vdma_debug = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"vdma_set_addr: channel %d, addr %lx\0A\00", align 1
@JAZZ_R4030_CHNL_ADDR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @vdma_set_addr(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @vdma_debug, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %1) #2
br label %7
7: ; preds = %5, %2
%8 = load i64, ptr @JAZZ_R4030_CHNL_ADDR, align 8, !tbaa !5
%9 = shl i32 %0, 5
%10 = sext i32 %9 to i64
%11 = add nsw i64 %8, %10
%12 = tail call i32 @r4030_write_reg32(i64 noundef %11, i64 noundef %1) #2
ret void
}
declare i32 @printk(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @r4030_write_reg32(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_set_addr.c'
source_filename = "AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_set_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vdma_debug = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"vdma_set_addr: channel %d, addr %lx\0A\00", align 1
@JAZZ_R4030_CHNL_ADDR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @vdma_set_addr(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @vdma_debug, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %1) #2
br label %7
7: ; preds = %5, %2
%8 = load i64, ptr @JAZZ_R4030_CHNL_ADDR, align 8, !tbaa !6
%9 = shl i32 %0, 5
%10 = sext i32 %9 to i64
%11 = add nsw i64 %8, %10
%12 = tail call i32 @r4030_write_reg32(i64 noundef %11, i64 noundef %1) #2
ret void
}
declare i32 @printk(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @r4030_write_reg32(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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_jazz_extr_jazzdma.c_vdma_set_addr |
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_converttif.c_tif_32sto16u.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_converttif.c_tif_32sto16u.c"
target datalayout = "e-m:e-p270:32:32-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 @tif_32sto16u], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal void @tif_32sto16u(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %62, label %5
5: ; preds = %3
%6 = ptrtoint ptr %1 to i64
%7 = ptrtoint ptr %0 to i64
%8 = icmp ult i64 %2, 6
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 32
%11 = or i1 %8, %10
br i1 %11, label %26, label %12
12: ; preds = %5
%13 = and i64 %2, -4
br label %14
14: ; preds = %14, %12
%15 = phi i64 [ 0, %12 ], [ %22, %14 ]
%16 = getelementptr inbounds i64, ptr %0, i64 %15
%17 = getelementptr inbounds i64, ptr %16, i64 2
%18 = load <2 x i64>, ptr %16, align 8, !tbaa !5
%19 = load <2 x i64>, ptr %17, align 8, !tbaa !5
%20 = getelementptr inbounds i64, ptr %1, i64 %15
%21 = getelementptr inbounds i64, ptr %20, i64 2
store <2 x i64> %18, ptr %20, align 8, !tbaa !5
store <2 x i64> %19, ptr %21, align 8, !tbaa !5
%22 = add nuw i64 %15, 4
%23 = icmp eq i64 %22, %13
br i1 %23, label %24, label %14, !llvm.loop !9
24: ; preds = %14
%25 = icmp eq i64 %13, %2
br i1 %25, label %62, label %26
26: ; preds = %5, %24
%27 = phi i64 [ 0, %5 ], [ %13, %24 ]
%28 = and i64 %2, 3
%29 = icmp eq i64 %28, 0
br i1 %29, label %39, label %30
30: ; preds = %26, %30
%31 = phi i64 [ %36, %30 ], [ %27, %26 ]
%32 = phi i64 [ %37, %30 ], [ 0, %26 ]
%33 = getelementptr inbounds i64, ptr %0, i64 %31
%34 = load i64, ptr %33, align 8, !tbaa !5
%35 = getelementptr inbounds i64, ptr %1, i64 %31
store i64 %34, ptr %35, align 8, !tbaa !5
%36 = add nuw i64 %31, 1
%37 = add i64 %32, 1
%38 = icmp eq i64 %37, %28
br i1 %38, label %39, label %30, !llvm.loop !13
39: ; preds = %30, %26
%40 = phi i64 [ %27, %26 ], [ %36, %30 ]
%41 = sub i64 %27, %2
%42 = icmp ugt i64 %41, -4
br i1 %42, label %62, label %43
43: ; preds = %39, %43
%44 = phi i64 [ %60, %43 ], [ %40, %39 ]
%45 = getelementptr inbounds i64, ptr %0, i64 %44
%46 = load i64, ptr %45, align 8, !tbaa !5
%47 = getelementptr inbounds i64, ptr %1, i64 %44
store i64 %46, ptr %47, align 8, !tbaa !5
%48 = add nuw i64 %44, 1
%49 = getelementptr inbounds i64, ptr %0, i64 %48
%50 = load i64, ptr %49, align 8, !tbaa !5
%51 = getelementptr inbounds i64, ptr %1, i64 %48
store i64 %50, ptr %51, align 8, !tbaa !5
%52 = add nuw i64 %44, 2
%53 = getelementptr inbounds i64, ptr %0, i64 %52
%54 = load i64, ptr %53, align 8, !tbaa !5
%55 = getelementptr inbounds i64, ptr %1, i64 %52
store i64 %54, ptr %55, align 8, !tbaa !5
%56 = add nuw i64 %44, 3
%57 = getelementptr inbounds i64, ptr %0, i64 %56
%58 = load i64, ptr %57, align 8, !tbaa !5
%59 = getelementptr inbounds i64, ptr %1, i64 %56
store i64 %58, ptr %59, align 8, !tbaa !5
%60 = add nuw i64 %44, 4
%61 = icmp eq i64 %60, %2
br i1 %61, label %62, label %43, !llvm.loop !15
62: ; preds = %39, %43, %24, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !10, !11}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_converttif.c_tif_32sto16u.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_converttif.c_tif_32sto16u.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 @tif_32sto16u], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal void @tif_32sto16u(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %41, label %5
5: ; preds = %3
%6 = ptrtoint ptr %1 to i64
%7 = ptrtoint ptr %0 to i64
%8 = icmp ult i64 %2, 8
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 64
%11 = or i1 %8, %10
br i1 %11, label %32, label %12
12: ; preds = %5
%13 = and i64 %2, -8
br label %14
14: ; preds = %14, %12
%15 = phi i64 [ 0, %12 ], [ %28, %14 ]
%16 = getelementptr inbounds i64, ptr %0, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 16
%18 = getelementptr inbounds i8, ptr %16, i64 32
%19 = getelementptr inbounds i8, ptr %16, i64 48
%20 = load <2 x i64>, ptr %16, align 8, !tbaa !6
%21 = load <2 x i64>, ptr %17, align 8, !tbaa !6
%22 = load <2 x i64>, ptr %18, align 8, !tbaa !6
%23 = load <2 x i64>, ptr %19, align 8, !tbaa !6
%24 = getelementptr inbounds i64, ptr %1, i64 %15
%25 = getelementptr inbounds i8, ptr %24, i64 16
%26 = getelementptr inbounds i8, ptr %24, i64 32
%27 = getelementptr inbounds i8, ptr %24, i64 48
store <2 x i64> %20, ptr %24, align 8, !tbaa !6
store <2 x i64> %21, ptr %25, align 8, !tbaa !6
store <2 x i64> %22, ptr %26, align 8, !tbaa !6
store <2 x i64> %23, ptr %27, align 8, !tbaa !6
%28 = add nuw i64 %15, 8
%29 = icmp eq i64 %28, %13
br i1 %29, label %30, label %14, !llvm.loop !10
30: ; preds = %14
%31 = icmp eq i64 %13, %2
br i1 %31, label %41, label %32
32: ; preds = %30, %5
%33 = phi i64 [ 0, %5 ], [ %13, %30 ]
br label %34
34: ; preds = %32, %34
%35 = phi i64 [ %39, %34 ], [ %33, %32 ]
%36 = getelementptr inbounds i64, ptr %0, i64 %35
%37 = load i64, ptr %36, align 8, !tbaa !6
%38 = getelementptr inbounds i64, ptr %1, i64 %35
store i64 %37, ptr %38, align 8, !tbaa !6
%39 = add nuw i64 %35, 1
%40 = icmp eq i64 %39, %2
br i1 %40, label %41, label %34, !llvm.loop !14
41: ; preds = %34, %30, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !12}
| sumatrapdf_ext_openjpeg_src_bin_jp2_extr_converttif.c_tif_32sto16u |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_unregister_ftrace_event.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_unregister_ftrace_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@trace_event_mutex = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @unregister_ftrace_event(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @down_write(ptr noundef nonnull @trace_event_mutex) #2
%3 = tail call i32 @__unregister_ftrace_event(ptr noundef %0) #2
%4 = tail call i32 @up_write(ptr noundef nonnull @trace_event_mutex) #2
ret i32 0
}
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @__unregister_ftrace_event(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_unregister_ftrace_event.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_output.c_unregister_ftrace_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@trace_event_mutex = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @unregister_ftrace_event(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @down_write(ptr noundef nonnull @trace_event_mutex) #2
%3 = tail call i32 @__unregister_ftrace_event(ptr noundef %0) #2
%4 = tail call i32 @up_write(ptr noundef nonnull @trace_event_mutex) #2
ret i32 0
}
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @__unregister_ftrace_event(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_kernel_trace_extr_trace_output.c_unregister_ftrace_event |
; ModuleID = 'AnghaBench/linux/drivers/staging/netlogic/extr_xlr_net.c_xlr_gmac_link_adjust.c'
source_filename = "AnghaBench/linux/drivers/staging/netlogic/extr_xlr_net.c_xlr_gmac_link_adjust.c"
target datalayout = "e-m:e-p270:32:32-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.xlr_net_priv = type { i64, i32, i32 }
%struct.phy_device = type { i64, i64 }
@R_INTREG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"gmac%d : Link up\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"gmac%d : Link down\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @xlr_gmac_link_adjust], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xlr_gmac_link_adjust(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = tail call ptr @xlr_get_phydev(ptr noundef %2) #2
%4 = getelementptr inbounds %struct.xlr_net_priv, ptr %2, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr @R_INTREG, align 4, !tbaa !11
%7 = tail call i32 @xlr_nae_rdreg(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.phy_device, ptr %3, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %1
%12 = load i64, ptr %3, align 8, !tbaa !14
%13 = load i64, ptr %2, align 8, !tbaa !15
%14 = icmp eq i64 %12, %13
br i1 %14, label %21, label %15
15: ; preds = %1, %11
%16 = phi ptr [ @.str, %11 ], [ @.str.1, %1 ]
%17 = tail call i32 @xlr_set_gmac_speed(ptr noundef nonnull %2) #2
%18 = getelementptr inbounds %struct.xlr_net_priv, ptr %2, i64 0, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = tail call i32 @pr_info(ptr noundef nonnull %16, i32 noundef %19) #2
br label %21
21: ; preds = %15, %11
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @xlr_get_phydev(ptr noundef) local_unnamed_addr #1
declare i32 @xlr_nae_rdreg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xlr_set_gmac_speed(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"xlr_net_priv", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"phy_device", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/netlogic/extr_xlr_net.c_xlr_gmac_link_adjust.c'
source_filename = "AnghaBench/linux/drivers/staging/netlogic/extr_xlr_net.c_xlr_gmac_link_adjust.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@R_INTREG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"gmac%d : Link up\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"gmac%d : Link down\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @xlr_gmac_link_adjust], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xlr_gmac_link_adjust(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = tail call ptr @xlr_get_phydev(ptr noundef %2) #2
%4 = getelementptr inbounds i8, ptr %2, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr @R_INTREG, align 4, !tbaa !12
%7 = tail call i32 @xlr_nae_rdreg(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %1
%12 = load i64, ptr %3, align 8, !tbaa !15
%13 = load i64, ptr %2, align 8, !tbaa !16
%14 = icmp eq i64 %12, %13
br i1 %14, label %21, label %15
15: ; preds = %1, %11
%16 = phi ptr [ @.str, %11 ], [ @.str.1, %1 ]
%17 = tail call i32 @xlr_set_gmac_speed(ptr noundef nonnull %2) #2
%18 = getelementptr inbounds i8, ptr %2, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !17
%20 = tail call i32 @pr_info(ptr noundef nonnull %16, i32 noundef %19) #2
br label %21
21: ; preds = %15, %11
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @xlr_get_phydev(ptr noundef) local_unnamed_addr #1
declare i32 @xlr_nae_rdreg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xlr_set_gmac_speed(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 12}
!7 = !{!"xlr_net_priv", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"phy_device", !8, i64 0, !8, i64 8}
!15 = !{!14, !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !11, i64 8}
| linux_drivers_staging_netlogic_extr_xlr_net.c_xlr_gmac_link_adjust |
; ModuleID = 'AnghaBench/ccv/lib/extr_3rdpartydsfmtdSFMT.h_get_min_array_size.c'
source_filename = "AnghaBench/ccv/lib/extr_3rdpartydsfmtdSFMT.h_get_min_array_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_min_array_size], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @get_min_array_size() #0 {
%1 = tail call i32 (...) @dsfmt_get_min_array_size() #2
ret i32 %1
}
declare i32 @dsfmt_get_min_array_size(...) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/ccv/lib/extr_3rdpartydsfmtdSFMT.h_get_min_array_size.c'
source_filename = "AnghaBench/ccv/lib/extr_3rdpartydsfmtdSFMT.h_get_min_array_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_min_array_size], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @get_min_array_size() #0 {
%1 = tail call i32 @dsfmt_get_min_array_size() #2
ret i32 %1
}
declare i32 @dsfmt_get_min_array_size(...) 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)"}
| ccv_lib_extr_3rdpartydsfmtdSFMT.h_get_min_array_size |
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgImagePattern.c'
source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgImagePattern.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @nvgImagePattern(ptr dead_on_unwind noalias writable sret(%struct.TYPE_4__) align 8 %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7, float noundef %8) local_unnamed_addr #0 {
%10 = tail call i32 @NVG_NOTUSED(ptr noundef %1) #2
%11 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #2
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = tail call i32 @nvgTransformRotate(ptr noundef %12, float noundef %6) #2
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = getelementptr inbounds float, ptr %14, i64 4
store float %2, ptr %15, align 4, !tbaa !11
%16 = getelementptr inbounds float, ptr %14, i64 5
store float %3, ptr %16, align 4, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !13
store float %4, ptr %18, align 4, !tbaa !11
%19 = getelementptr inbounds float, ptr %18, i64 1
store float %5, ptr %19, align 4, !tbaa !11
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
store i32 %7, ptr %20, align 8, !tbaa !14
%21 = tail call i32 @nvgRGBAf(i32 noundef 1, i32 noundef 1, i32 noundef 1, float noundef %8) #2
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
store i32 %21, ptr %22, align 4, !tbaa !15
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
store i32 %21, ptr %23, align 8, !tbaa !16
ret void
}
declare i32 @NVG_NOTUSED(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvgTransformRotate(ptr noundef, float noundef) local_unnamed_addr #1
declare i32 @nvgRGBAf(i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !10, i64 16, !10, i64 20, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !10, i64 20}
!16 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgImagePattern.c'
source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_nanovg.c_nvgImagePattern.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr, ptr, i32, i32, i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @nvgImagePattern(ptr dead_on_unwind noalias writable sret(%struct.TYPE_4__) align 8 %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7, float noundef %8) local_unnamed_addr #0 {
%10 = tail call i32 @NVG_NOTUSED(ptr noundef %1) #2
%11 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #2
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = tail call i32 @nvgTransformRotate(ptr noundef %12, float noundef %6) #2
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 16
store float %2, ptr %15, align 4, !tbaa !12
%16 = getelementptr inbounds i8, ptr %14, i64 20
store float %3, ptr %16, align 4, !tbaa !12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !14
store float %4, ptr %18, align 4, !tbaa !12
%19 = getelementptr inbounds i8, ptr %18, i64 4
store float %5, ptr %19, align 4, !tbaa !12
%20 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %7, ptr %20, align 8, !tbaa !15
%21 = tail call i32 @nvgRGBAf(i32 noundef 1, i32 noundef 1, i32 noundef 1, float noundef %8) #2
%22 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %21, ptr %22, align 4, !tbaa !16
%23 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %21, ptr %23, align 8, !tbaa !17
ret void
}
declare i32 @NVG_NOTUSED(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nvgTransformRotate(ptr noundef, float noundef) local_unnamed_addr #1
declare i32 @nvgRGBAf(i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !11, i64 16, !11, i64 20, !11, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !9, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !11, i64 20}
!17 = !{!7, !11, i64 24}
| openpilot_phonelibs_nanovg_extr_nanovg.c_nvgImagePattern |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.c_pci_emul_iscap.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.c_pci_emul_iscap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PCIR_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@PCIM_STATUS_CAPPRESENT = dso_local local_unnamed_addr global i32 0, align 4
@CAP_START_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci_emul_iscap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pci_emul_iscap(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @PCIR_STATUS, align 4, !tbaa !5
%4 = tail call i32 @pci_get_cfgdata16(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @PCIM_STATUS_CAPPRESENT, align 4, !tbaa !5
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr @CAP_START_OFFSET, align 4
%9 = icmp sgt i32 %8, %1
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = icmp slt i32 %12, %1
br i1 %13, label %14, label %15
14: ; preds = %11, %2
br label %15
15: ; preds = %11, %14
%16 = phi i32 [ 0, %14 ], [ 1, %11 ]
ret i32 %16
}
declare i32 @pci_get_cfgdata16(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"pci_devinst", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.c_pci_emul_iscap.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.c_pci_emul_iscap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCIR_STATUS = common local_unnamed_addr global i32 0, align 4
@PCIM_STATUS_CAPPRESENT = common local_unnamed_addr global i32 0, align 4
@CAP_START_OFFSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pci_emul_iscap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @pci_emul_iscap(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @PCIR_STATUS, align 4, !tbaa !6
%4 = tail call i32 @pci_get_cfgdata16(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @PCIM_STATUS_CAPPRESENT, align 4, !tbaa !6
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr @CAP_START_OFFSET, align 4
%9 = icmp sgt i32 %8, %1
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %0, align 4, !tbaa !10
%13 = icmp slt i32 %12, %1
br i1 %13, label %14, label %15
14: ; preds = %11, %2
br label %15
15: ; preds = %11, %14
%16 = phi i32 [ 0, %14 ], [ 1, %11 ]
ret i32 %16
}
declare i32 @pci_get_cfgdata16(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"pci_devinst", !7, i64 0}
| freebsd_usr.sbin_bhyve_extr_pci_emul.c_pci_emul_iscap |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vnode_pager.c_vnode_create_vobject.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vnode_pager.c_vnode_create_vobject.c"
target datalayout = "e-m:e-p270:32:32-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.vattr = type { i64 }
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@INT_MAX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"vnode_create_vobject: NULL object\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @vnode_create_vobject(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.vattr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i64 @vn_isdisk(ptr noundef %0, ptr noundef null) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = tail call i64 @vn_canvmio(ptr noundef %0) #3
%9 = load i64, ptr @FALSE, align 8, !tbaa !5
%10 = icmp eq i64 %8, %9
br i1 %10, label %40, label %11
11: ; preds = %7, %3
%12 = load ptr, ptr %0, align 8, !tbaa !9
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = icmp eq i64 %1, 0
br i1 %15, label %16, label %28
16: ; preds = %14
%17 = tail call i64 @vn_isdisk(ptr noundef nonnull %0, ptr noundef null) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load i32, ptr @INT_MAX, align 4, !tbaa !12
%21 = tail call i64 @IDX_TO_OFF(i32 noundef %20) #3
br label %28
22: ; preds = %16
%23 = load i32, ptr %2, align 4, !tbaa !14
%24 = call i64 @VOP_GETATTR(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load i64, ptr %4, align 8, !tbaa !16
br label %28
28: ; preds = %19, %26, %14
%29 = phi i64 [ %21, %19 ], [ %27, %26 ], [ %1, %14 ]
%30 = load i32, ptr %2, align 4, !tbaa !14
%31 = call ptr @vnode_pager_alloc(ptr noundef nonnull %0, i64 noundef %29, i32 noundef 0, i32 noundef 0, i32 noundef %30) #3
%32 = call i32 @VM_OBJECT_RLOCK(ptr noundef %31) #3
%33 = call i32 @refcount_release(ptr noundef %31) #3
%34 = call i32 @VM_OBJECT_RUNLOCK(ptr noundef %31) #3
%35 = call i32 @vrele(ptr noundef nonnull %0) #3
%36 = load ptr, ptr %0, align 8, !tbaa !9
%37 = icmp ne ptr %36, null
%38 = zext i1 %37 to i32
%39 = call i32 @KASSERT(i32 noundef %38, ptr noundef nonnull @.str) #3
br label %40
40: ; preds = %22, %11, %7, %28
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
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 i64 @vn_isdisk(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @vn_canvmio(ptr noundef) local_unnamed_addr #2
declare i64 @IDX_TO_OFF(i32 noundef) local_unnamed_addr #2
declare i64 @VOP_GETATTR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @vnode_pager_alloc(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VM_OBJECT_RLOCK(ptr noundef) local_unnamed_addr #2
declare i32 @refcount_release(ptr noundef) local_unnamed_addr #2
declare i32 @VM_OBJECT_RUNLOCK(ptr noundef) local_unnamed_addr #2
declare i32 @vrele(ptr noundef) local_unnamed_addr #2
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"vnode", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"thread", !13, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"vattr", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vnode_pager.c_vnode_create_vobject.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vnode_pager.c_vnode_create_vobject.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.vattr = type { i64 }
@FALSE = common local_unnamed_addr global i64 0, align 8
@INT_MAX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"vnode_create_vobject: NULL object\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @vnode_create_vobject(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.vattr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i64 @vn_isdisk(ptr noundef %0, ptr noundef null) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = tail call i64 @vn_canvmio(ptr noundef %0) #3
%9 = load i64, ptr @FALSE, align 8, !tbaa !6
%10 = icmp eq i64 %8, %9
br i1 %10, label %40, label %11
11: ; preds = %7, %3
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = icmp eq i64 %1, 0
br i1 %15, label %16, label %28
16: ; preds = %14
%17 = tail call i64 @vn_isdisk(ptr noundef nonnull %0, ptr noundef null) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load i32, ptr @INT_MAX, align 4, !tbaa !13
%21 = tail call i64 @IDX_TO_OFF(i32 noundef %20) #3
br label %28
22: ; preds = %16
%23 = load i32, ptr %2, align 4, !tbaa !15
%24 = call i64 @VOP_GETATTR(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load i64, ptr %4, align 8, !tbaa !17
br label %28
28: ; preds = %19, %26, %14
%29 = phi i64 [ %21, %19 ], [ %27, %26 ], [ %1, %14 ]
%30 = load i32, ptr %2, align 4, !tbaa !15
%31 = call ptr @vnode_pager_alloc(ptr noundef nonnull %0, i64 noundef %29, i32 noundef 0, i32 noundef 0, i32 noundef %30) #3
%32 = call i32 @VM_OBJECT_RLOCK(ptr noundef %31) #3
%33 = call i32 @refcount_release(ptr noundef %31) #3
%34 = call i32 @VM_OBJECT_RUNLOCK(ptr noundef %31) #3
%35 = call i32 @vrele(ptr noundef nonnull %0) #3
%36 = load ptr, ptr %0, align 8, !tbaa !10
%37 = icmp ne ptr %36, null
%38 = zext i1 %37 to i32
%39 = call i32 @KASSERT(i32 noundef %38, ptr noundef nonnull @.str) #3
br label %40
40: ; preds = %22, %11, %7, %28
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
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 i64 @vn_isdisk(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @vn_canvmio(ptr noundef) local_unnamed_addr #2
declare i64 @IDX_TO_OFF(i32 noundef) local_unnamed_addr #2
declare i64 @VOP_GETATTR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @vnode_pager_alloc(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VM_OBJECT_RLOCK(ptr noundef) local_unnamed_addr #2
declare i32 @refcount_release(ptr noundef) local_unnamed_addr #2
declare i32 @VM_OBJECT_RUNLOCK(ptr noundef) local_unnamed_addr #2
declare i32 @vrele(ptr noundef) local_unnamed_addr #2
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"vnode", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"thread", !14, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"vattr", !7, i64 0}
| freebsd_sys_vm_extr_vnode_pager.c_vnode_create_vobject |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_11281.c_RvaToOffset.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_11281.c_RvaToOffset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i64, i64, i64, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i64 }
; Function Attrs: nounwind uwtable
define dso_local i64 @RvaToOffset(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @IMAGE_FIRST_SECTION(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp sgt i64 %4, %1
br i1 %5, label %35, label %6
6: ; preds = %2
%7 = load i64, ptr %0, align 8, !tbaa !11
%8 = icmp eq i64 %7, 0
br i1 %8, label %35, label %9
9: ; preds = %6, %32
%10 = phi i64 [ %33, %32 ], [ 0, %6 ]
%11 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %10, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %10, i32 3
%16 = load i64, ptr %15, align 8, !tbaa !15
br label %17
17: ; preds = %9, %14
%18 = phi i64 [ %16, %14 ], [ %12, %9 ]
%19 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %10, i32 2
%20 = load i64, ptr %19, align 8, !tbaa !16
%21 = icmp sle i64 %20, %1
%22 = add nsw i64 %20, %18
%23 = icmp sgt i64 %22, %1
%24 = select i1 %21, i1 %23, i1 false
br i1 %24, label %25, label %32
25: ; preds = %17
%26 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %10
%27 = load i64, ptr %26, align 8, !tbaa !5
%28 = icmp eq i64 %27, 0
%29 = sub i64 %1, %20
%30 = add nsw i64 %29, %27
%31 = select i1 %28, i64 %1, i64 %30
br label %35
32: ; preds = %17
%33 = add nuw i64 %10, 1
%34 = icmp eq i64 %33, %7
br i1 %34, label %35, label %9, !llvm.loop !17
35: ; preds = %32, %6, %2, %25
%36 = phi i64 [ %31, %25 ], [ %1, %2 ], [ 0, %6 ], [ 0, %32 ]
ret i64 %36
}
declare ptr @IMAGE_FIRST_SECTION(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_9__", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_11__", !13, i64 0}
!13 = !{!"TYPE_8__", !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_11281.c_RvaToOffset.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_11281.c_RvaToOffset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { i64, i64, i64, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i64 }
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @RvaToOffset(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @IMAGE_FIRST_SECTION(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp sgt i64 %4, %1
br i1 %5, label %35, label %6
6: ; preds = %2
%7 = load i64, ptr %0, align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
br i1 %8, label %35, label %12
9: ; preds = %21
%10 = add nuw i64 %13, 1
%11 = icmp eq i64 %10, %7
br i1 %11, label %35, label %12, !llvm.loop !15
12: ; preds = %6, %9
%13 = phi i64 [ %10, %9 ], [ 0, %6 ]
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !17
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %14, i64 24
%20 = load i64, ptr %19, align 8, !tbaa !18
br label %21
21: ; preds = %12, %18
%22 = phi i64 [ %20, %18 ], [ %16, %12 ]
%23 = getelementptr inbounds i8, ptr %14, i64 16
%24 = load i64, ptr %23, align 8, !tbaa !19
%25 = icmp sle i64 %24, %1
%26 = add nsw i64 %24, %22
%27 = icmp sgt i64 %26, %1
%28 = select i1 %25, i1 %27, i1 false
br i1 %28, label %29, label %9
29: ; preds = %21
%30 = load i64, ptr %14, align 8, !tbaa !6
%31 = icmp eq i64 %30, 0
%32 = sub i64 %1, %24
%33 = add nsw i64 %32, %30
%34 = select i1 %31, i64 %1, i64 %33
br label %35
35: ; preds = %9, %6, %2, %29
%36 = phi i64 [ %34, %29 ], [ %1, %2 ], [ 0, %6 ], [ 0, %9 ]
ret i64 %36
}
declare ptr @IMAGE_FIRST_SECTION(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_9__", !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_11__", !14, i64 0}
!14 = !{!"TYPE_8__", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !8, i64 8}
!18 = !{!7, !8, i64 24}
!19 = !{!7, !8, i64 16}
| exploitdb_exploits_windows_local_extr_11281.c_RvaToOffset |
; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_codec_module.c_ngx_rtmp_codec_get_next_version.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_codec_module.c_ngx_rtmp_codec_get_next_version.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ngx_rtmp_codec_get_next_version.version = internal unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i64 ()* @ngx_rtmp_codec_get_next_version to i8*)], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind uwtable
define internal i64 @ngx_rtmp_codec_get_next_version() #0 {
%1 = load i64, i64* @ngx_rtmp_codec_get_next_version.version, align 8, !tbaa !5
%2 = add i64 %1, 1
%3 = icmp eq i64 %2, 0
%4 = select i1 %3, i64 1, i64 %2
store i64 %4, i64* @ngx_rtmp_codec_get_next_version.version, align 8, !tbaa !5
ret i64 %4
}
attributes #0 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_codec_module.c_ngx_rtmp_codec_get_next_version.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_codec_module.c_ngx_rtmp_codec_get_next_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ngx_rtmp_codec_get_next_version.version = internal unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_codec_get_next_version], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i64 -9223372036854775807, -9223372036854775808) i64 @ngx_rtmp_codec_get_next_version() #0 {
%1 = load i64, ptr @ngx_rtmp_codec_get_next_version.version, align 8, !tbaa !6
%2 = add nsw i64 %1, 1
%3 = icmp eq i64 %2, 0
%4 = select i1 %3, i64 1, i64 %2
store i64 %4, ptr @ngx_rtmp_codec_get_next_version.version, align 8, !tbaa !6
ret i64 %4
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| nginx-rtmp-module_extr_ngx_rtmp_codec_module.c_ngx_rtmp_codec_get_next_version |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rmdec.c_rm_read_extradata.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rmdec.c_rm_read_extradata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"extradata size %u too large\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rm_read_extradata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rm_read_extradata(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = icmp ugt i32 %3, 16777215
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5
%8 = tail call i32 @av_log(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %3) #2
br label %15
9: ; preds = %4
%10 = tail call i64 @ff_get_extradata(ptr noundef %0, ptr noundef %2, ptr noundef %1, i32 noundef %3) #2
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %15
15: ; preds = %9, %12, %6
%16 = phi i32 [ -1, %6 ], [ %14, %12 ], [ 0, %9 ]
ret i32 %16
}
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ff_get_extradata(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rmdec.c_rm_read_extradata.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rmdec.c_rm_read_extradata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"extradata size %u too large\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rm_read_extradata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rm_read_extradata(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = icmp ugt i32 %3, 16777215
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6
%8 = tail call i32 @av_log(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %3) #2
br label %15
9: ; preds = %4
%10 = tail call i64 @ff_get_extradata(ptr noundef %0, ptr noundef %2, ptr noundef %1, i32 noundef %3) #2
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %15
15: ; preds = %9, %12, %6
%16 = phi i32 [ -1, %6 ], [ %14, %12 ], [ 0, %9 ]
ret i32 %16
}
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ff_get_extradata(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavformat_extr_rmdec.c_rm_read_extradata |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c_rtl92d_loop_over_streams.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c_rtl92d_loop_over_streams.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RX_SMOOTH_FACTOR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl92d_loop_over_streams], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtl92d_loop_over_streams(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @rtl_priv(ptr noundef %0) #2
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = icmp eq i32 %5, -1
br i1 %6, label %21, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8, !tbaa !12
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
store i32 %5, ptr %8, align 4, !tbaa !10
%12 = load i32, ptr %4, align 4, !tbaa !10
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %12, %11 ], [ %5, %7 ]
%15 = phi i32 [ %5, %11 ], [ %9, %7 ]
%16 = load i32, ptr @RX_SMOOTH_FACTOR, align 4, !tbaa !10
%17 = add nsw i32 %16, -1
%18 = mul nsw i32 %17, %15
%19 = add nsw i32 %18, %14
%20 = sdiv i32 %19, %16
store i32 %20, ptr %8, align 4, !tbaa !10
br label %21
21: ; preds = %2, %13
%22 = getelementptr inbounds i32, ptr %4, i64 1
%23 = load i32, ptr %22, align 4, !tbaa !10
%24 = icmp eq i32 %23, -1
br i1 %24, label %40, label %25
25: ; preds = %21
%26 = load ptr, ptr %3, align 8, !tbaa !12
%27 = getelementptr inbounds i32, ptr %26, i64 1
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %25
store i32 %23, ptr %27, align 4, !tbaa !10
%31 = load i32, ptr %22, align 4, !tbaa !10
br label %32
32: ; preds = %30, %25
%33 = phi i32 [ %31, %30 ], [ %23, %25 ]
%34 = phi i32 [ %23, %30 ], [ %28, %25 ]
%35 = load i32, ptr @RX_SMOOTH_FACTOR, align 4, !tbaa !10
%36 = add nsw i32 %35, -1
%37 = mul nsw i32 %36, %34
%38 = add nsw i32 %37, %33
%39 = sdiv i32 %38, %35
store i32 %39, ptr %27, align 4, !tbaa !10
br label %40
40: ; preds = %32, %21
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rtl_stats", !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 = !{!"rtl_priv", !14, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c_rtl92d_loop_over_streams.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c_rtl92d_loop_over_streams.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RX_SMOOTH_FACTOR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtl92d_loop_over_streams], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtl92d_loop_over_streams(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @rtl_priv(ptr noundef %0) #2
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = icmp eq i32 %5, -1
br i1 %6, label %21, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8, !tbaa !13
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
store i32 %5, ptr %8, align 4, !tbaa !11
%12 = load i32, ptr %4, align 4, !tbaa !11
br label %13
13: ; preds = %11, %7
%14 = phi i32 [ %12, %11 ], [ %5, %7 ]
%15 = phi i32 [ %5, %11 ], [ %9, %7 ]
%16 = load i32, ptr @RX_SMOOTH_FACTOR, align 4, !tbaa !11
%17 = add nsw i32 %16, -1
%18 = mul nsw i32 %17, %15
%19 = add nsw i32 %18, %14
%20 = sdiv i32 %19, %16
store i32 %20, ptr %8, align 4, !tbaa !11
br label %21
21: ; preds = %2, %13
%22 = getelementptr inbounds i8, ptr %4, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !11
%24 = icmp eq i32 %23, -1
br i1 %24, label %40, label %25
25: ; preds = %21
%26 = load ptr, ptr %3, align 8, !tbaa !13
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !11
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %25
store i32 %23, ptr %27, align 4, !tbaa !11
%31 = load i32, ptr %22, align 4, !tbaa !11
br label %32
32: ; preds = %30, %25
%33 = phi i32 [ %31, %30 ], [ %23, %25 ]
%34 = phi i32 [ %23, %30 ], [ %28, %25 ]
%35 = load i32, ptr @RX_SMOOTH_FACTOR, align 4, !tbaa !11
%36 = add nsw i32 %35, -1
%37 = mul nsw i32 %36, %34
%38 = add nsw i32 %37, %33
%39 = sdiv i32 %38, %35
store i32 %39, ptr %27, align 4, !tbaa !11
br label %40
40: ; preds = %32, %21
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rtl_stats", !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 = !{!"rtl_priv", !15, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192de_extr_trx.c_rtl92d_loop_over_streams |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_set_rbtree.c_nft_rbtree_insert.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_set_rbtree.c_nft_rbtree_insert.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nft_rbtree = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nft_rbtree_insert], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nft_rbtree_insert(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
%5 = tail call ptr @nft_set_priv(ptr noundef %1) #2
%6 = load ptr, ptr %2, align 8, !tbaa !5
%7 = tail call i32 @write_lock_bh(ptr noundef %5) #2
%8 = getelementptr inbounds %struct.nft_rbtree, ptr %5, i64 0, i32 1
%9 = tail call i32 @write_seqcount_begin(ptr noundef nonnull %8) #2
%10 = tail call i32 @__nft_rbtree_insert(ptr noundef %0, ptr noundef %1, ptr noundef %6, ptr noundef %3) #2
%11 = tail call i32 @write_seqcount_end(ptr noundef nonnull %8) #2
%12 = tail call i32 @write_unlock_bh(ptr noundef %5) #2
ret i32 %10
}
declare ptr @nft_set_priv(ptr noundef) local_unnamed_addr #1
declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @write_seqcount_begin(ptr noundef) local_unnamed_addr #1
declare i32 @__nft_rbtree_insert(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_seqcount_end(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_bh(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 = !{!"nft_set_elem", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_set_rbtree.c_nft_rbtree_insert.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nft_set_rbtree.c_nft_rbtree_insert.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 @nft_rbtree_insert], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nft_rbtree_insert(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
%5 = tail call ptr @nft_set_priv(ptr noundef %1) #2
%6 = load ptr, ptr %2, align 8, !tbaa !6
%7 = tail call i32 @write_lock_bh(ptr noundef %5) #2
%8 = getelementptr inbounds i8, ptr %5, i64 4
%9 = tail call i32 @write_seqcount_begin(ptr noundef nonnull %8) #2
%10 = tail call i32 @__nft_rbtree_insert(ptr noundef %0, ptr noundef %1, ptr noundef %6, ptr noundef %3) #2
%11 = tail call i32 @write_seqcount_end(ptr noundef nonnull %8) #2
%12 = tail call i32 @write_unlock_bh(ptr noundef %5) #2
ret i32 %10
}
declare ptr @nft_set_priv(ptr noundef) local_unnamed_addr #1
declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @write_seqcount_begin(ptr noundef) local_unnamed_addr #1
declare i32 @__nft_rbtree_insert(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @write_seqcount_end(ptr noundef) local_unnamed_addr #1
declare i32 @write_unlock_bh(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 = !{!"nft_set_elem", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_net_netfilter_extr_nft_set_rbtree.c_nft_rbtree_insert |
; ModuleID = 'AnghaBench/lede/package/network/services/ead/src/extr_aes.c_rotr.c'
source_filename = "AnghaBench/lede/package/network/services/ead/src/extr_aes.c_rotr.c"
target datalayout = "e-m:e-p270:32:32-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 @rotr], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @rotr(i32 noundef %0, i32 noundef %1) #0 {
%3 = ashr i32 %0, %1
%4 = sub nsw i32 32, %1
%5 = shl i32 %0, %4
%6 = or i32 %5, %3
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/lede/package/network/services/ead/src/extr_aes.c_rotr.c'
source_filename = "AnghaBench/lede/package/network/services/ead/src/extr_aes.c_rotr.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 @rotr], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i32 @rotr(i32 noundef %0, i32 noundef %1) #0 {
%3 = ashr i32 %0, %1
%4 = sub nsw i32 32, %1
%5 = shl i32 %0, %4
%6 = or i32 %5, %3
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)"}
| lede_package_network_services_ead_src_extr_aes.c_rotr |
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_event.c_epoll_kev_copyout.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_event.c_epoll_kev_copyout.c"
target datalayout = "e-m:e-p270:32:32-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.epoll_copyout_args = type { i32, i32, i32, i32 }
%struct.epoll_emuldata = type { i32, ptr }
%struct.kevent = type { i32 }
%struct.epoll_event = type { i32 }
@M_EPOLL = dso_local local_unnamed_addr global i32 0, align 4
@M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4
@M_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"epoll proc emuldata not found.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"epoll proc epolldata not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"epoll user data vector is too small.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @epoll_kev_copyout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @epoll_kev_copyout(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = shl i32 %2, 2
%5 = load i32, ptr @M_EPOLL, align 4, !tbaa !5
%6 = load i32, ptr @M_WAITOK, align 4, !tbaa !5
%7 = load i32, ptr @M_ZERO, align 4, !tbaa !5
%8 = or i32 %7, %6
%9 = tail call ptr @malloc(i32 noundef %4, i32 noundef %5, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.epoll_copyout_args, ptr %0, i64 0, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !9
%12 = tail call ptr @pem_find(i32 noundef %11) #2
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = tail call i32 @KASSERT(i32 noundef %14, ptr noundef nonnull @.str) #2
%16 = tail call i32 @LINUX_PEM_SLOCK(ptr noundef %12) #2
%17 = load ptr, ptr %12, align 8, !tbaa !11
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = tail call i32 @KASSERT(i32 noundef %19, ptr noundef nonnull @.str.1) #2
%21 = icmp sgt i32 %2, 0
br i1 %21, label %22, label %41
22: ; preds = %3
%23 = getelementptr inbounds %struct.epoll_emuldata, ptr %17, i64 0, i32 1
%24 = zext nneg i32 %2 to i64
br label %25
25: ; preds = %22, %25
%26 = phi i64 [ 0, %22 ], [ %39, %25 ]
%27 = getelementptr inbounds %struct.kevent, ptr %1, i64 %26
%28 = getelementptr inbounds %struct.epoll_event, ptr %9, i64 %26
%29 = tail call i32 @kevent_to_epoll(ptr noundef %27, ptr noundef %28) #2
%30 = load i32, ptr %27, align 4, !tbaa !14
%31 = load i32, ptr %17, align 8, !tbaa !16
%32 = icmp sle i32 %30, %31
%33 = zext i1 %32 to i32
%34 = tail call i32 @KASSERT(i32 noundef %33, ptr noundef nonnull @.str.2) #2
%35 = load ptr, ptr %23, align 8, !tbaa !18
%36 = sext i32 %30 to i64
%37 = getelementptr inbounds i32, ptr %35, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !5
store i32 %38, ptr %28, align 4, !tbaa !19
%39 = add nuw nsw i64 %26, 1
%40 = icmp eq i64 %39, %24
br i1 %40, label %41, label %25, !llvm.loop !21
41: ; preds = %25, %3
%42 = tail call i32 @LINUX_PEM_SUNLOCK(ptr noundef nonnull %12) #2
%43 = load i32, ptr %0, align 4, !tbaa !23
%44 = tail call i32 @copyout(ptr noundef %9, i32 noundef %43, i32 noundef %4) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load <2 x i32>, ptr %0, align 4, !tbaa !5
%48 = insertelement <2 x i32> poison, i32 %2, i64 0
%49 = shufflevector <2 x i32> %48, <2 x i32> poison, <2 x i32> zeroinitializer
%50 = add nsw <2 x i32> %47, %49
store <2 x i32> %50, ptr %0, align 4, !tbaa !5
br label %56
51: ; preds = %41
%52 = getelementptr inbounds %struct.epoll_copyout_args, ptr %0, i64 0, i32 2
%53 = load i32, ptr %52, align 4, !tbaa !24
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 %44, ptr %52, align 4, !tbaa !24
br label %56
56: ; preds = %51, %55, %46
%57 = load i32, ptr @M_EPOLL, align 4, !tbaa !5
%58 = tail call i32 @free(ptr noundef %9, i32 noundef %57) #2
ret i32 %44
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @pem_find(i32 noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LINUX_PEM_SLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @kevent_to_epoll(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LINUX_PEM_SUNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"epoll_copyout_args", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!12, !13, i64 0}
!12 = !{!"linux_pemuldata", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"kevent", !6, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"epoll_emuldata", !6, i64 0, !13, i64 8}
!18 = !{!17, !13, i64 8}
!19 = !{!20, !6, i64 0}
!20 = !{!"epoll_event", !6, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!10, !6, i64 0}
!24 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_event.c_epoll_kev_copyout.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_event.c_epoll_kev_copyout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.kevent = type { i32 }
%struct.epoll_event = type { i32 }
@M_EPOLL = common local_unnamed_addr global i32 0, align 4
@M_WAITOK = common local_unnamed_addr global i32 0, align 4
@M_ZERO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"epoll proc emuldata not found.\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"epoll proc epolldata not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"epoll user data vector is too small.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @epoll_kev_copyout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @epoll_kev_copyout(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = shl i32 %2, 2
%5 = load i32, ptr @M_EPOLL, align 4, !tbaa !6
%6 = load i32, ptr @M_WAITOK, align 4, !tbaa !6
%7 = load i32, ptr @M_ZERO, align 4, !tbaa !6
%8 = or i32 %7, %6
%9 = tail call ptr @malloc(i32 noundef %4, i32 noundef %5, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 12
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = tail call ptr @pem_find(i32 noundef %11) #2
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = tail call i32 @KASSERT(i32 noundef %14, ptr noundef nonnull @.str) #2
%16 = tail call i32 @LINUX_PEM_SLOCK(ptr noundef %12) #2
%17 = load ptr, ptr %12, align 8, !tbaa !12
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = tail call i32 @KASSERT(i32 noundef %19, ptr noundef nonnull @.str.1) #2
%21 = icmp sgt i32 %2, 0
br i1 %21, label %22, label %41
22: ; preds = %3
%23 = getelementptr inbounds i8, ptr %17, i64 8
%24 = zext nneg i32 %2 to i64
br label %25
25: ; preds = %22, %25
%26 = phi i64 [ 0, %22 ], [ %39, %25 ]
%27 = getelementptr inbounds %struct.kevent, ptr %1, i64 %26
%28 = getelementptr inbounds %struct.epoll_event, ptr %9, i64 %26
%29 = tail call i32 @kevent_to_epoll(ptr noundef %27, ptr noundef %28) #2
%30 = load i32, ptr %27, align 4, !tbaa !15
%31 = load i32, ptr %17, align 8, !tbaa !17
%32 = icmp sle i32 %30, %31
%33 = zext i1 %32 to i32
%34 = tail call i32 @KASSERT(i32 noundef %33, ptr noundef nonnull @.str.2) #2
%35 = load ptr, ptr %23, align 8, !tbaa !19
%36 = sext i32 %30 to i64
%37 = getelementptr inbounds i32, ptr %35, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !6
store i32 %38, ptr %28, align 4, !tbaa !20
%39 = add nuw nsw i64 %26, 1
%40 = icmp eq i64 %39, %24
br i1 %40, label %41, label %25, !llvm.loop !22
41: ; preds = %25, %3
%42 = tail call i32 @LINUX_PEM_SUNLOCK(ptr noundef nonnull %12) #2
%43 = load i32, ptr %0, align 4, !tbaa !24
%44 = tail call i32 @copyout(ptr noundef %9, i32 noundef %43, i32 noundef %4) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load <2 x i32>, ptr %0, align 4, !tbaa !6
%48 = insertelement <2 x i32> poison, i32 %2, i64 0
%49 = shufflevector <2 x i32> %48, <2 x i32> poison, <2 x i32> zeroinitializer
%50 = add nsw <2 x i32> %47, %49
store <2 x i32> %50, ptr %0, align 4, !tbaa !6
br label %56
51: ; preds = %41
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = load i32, ptr %52, align 4, !tbaa !25
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 %44, ptr %52, align 4, !tbaa !25
br label %56
56: ; preds = %51, %55, %46
%57 = load i32, ptr @M_EPOLL, align 4, !tbaa !6
%58 = tail call i32 @free(ptr noundef %9, i32 noundef %57) #2
ret i32 %44
}
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @pem_find(i32 noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LINUX_PEM_SLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @kevent_to_epoll(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LINUX_PEM_SUNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"epoll_copyout_args", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!13, !14, i64 0}
!13 = !{!"linux_pemuldata", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"kevent", !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"epoll_emuldata", !7, i64 0, !14, i64 8}
!19 = !{!18, !14, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"epoll_event", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!11, !7, i64 0}
!25 = !{!11, !7, i64 8}
| freebsd_sys_compat_linux_extr_linux_event.c_epoll_kev_copyout |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_port_eth_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_port_eth_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.mlxsw_core_port = type { ptr, %struct.devlink_port }
%struct.devlink_port = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local void @mlxsw_core_port_eth_set(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.mlxsw_core_port, ptr %5, i64 %1
%7 = getelementptr inbounds %struct.mlxsw_core_port, ptr %5, i64 %1, i32 1
store ptr %2, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @devlink_port_type_eth_set(ptr noundef nonnull %7, ptr noundef %3) #2
ret void
}
declare i32 @devlink_port_type_eth_set(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 = !{!"mlxsw_core", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mlxsw_core_port", !7, i64 0, !12, i64 8}
!12 = !{!"devlink_port", !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_port_eth_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core.c_mlxsw_core_port_eth_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mlxsw_core_port = type { ptr, %struct.devlink_port }
%struct.devlink_port = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @mlxsw_core_port_eth_set(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = getelementptr inbounds %struct.mlxsw_core_port, ptr %5, i64 %1
%7 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %2, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @devlink_port_type_eth_set(ptr noundef nonnull %7, ptr noundef %3) #2
ret void
}
declare i32 @devlink_port_type_eth_set(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 = !{!"mlxsw_core", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"mlxsw_core_port", !8, i64 0, !13, i64 8}
!13 = !{!"devlink_port", !14, i64 0}
!14 = !{!"int", !9, i64 0}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_core.c_mlxsw_core_port_eth_set |
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_phy-core.c_phy_speeds.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_phy-core.c_phy_speeds.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@settings = dso_local local_unnamed_addr global ptr null, align 8
@__ETHTOOL_LINK_MODE_MASK_NBITS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @phy_speeds(ptr nocapture noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr i32, ptr %0, i64 -1
%5 = load ptr, ptr @settings, align 8, !tbaa !5
%6 = tail call i32 @ARRAY_SIZE(ptr noundef %5) #2
%7 = icmp sgt i32 %6, 0
%8 = icmp ne i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %46
10: ; preds = %3, %37
%11 = phi i64 [ %40, %37 ], [ 0, %3 ]
%12 = phi i64 [ %39, %37 ], [ 0, %3 ]
%13 = load ptr, ptr @settings, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %11
%15 = load i64, ptr %14, align 8, !tbaa !9
%16 = load i64, ptr @__ETHTOOL_LINK_MODE_MASK_NBITS, align 8, !tbaa !13
%17 = icmp slt i64 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %10
%19 = tail call i64 @test_bit(i64 noundef %15, ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
%21 = load ptr, ptr @settings, align 8, !tbaa !5
br i1 %20, label %37, label %22
22: ; preds = %18
%23 = icmp eq i64 %12, 0
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %11, i32 1
%26 = load i32, ptr %25, align 8, !tbaa !14
br label %33
27: ; preds = %22
%28 = getelementptr i32, ptr %4, i64 %12
%29 = load i32, ptr %28, align 4, !tbaa !15
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %11, i32 1
%31 = load i32, ptr %30, align 8, !tbaa !14
%32 = icmp eq i32 %29, %31
br i1 %32, label %37, label %33
33: ; preds = %24, %27
%34 = phi i32 [ %26, %24 ], [ %31, %27 ]
%35 = add i64 %12, 1
%36 = getelementptr inbounds i32, ptr %0, i64 %12
store i32 %34, ptr %36, align 4, !tbaa !15
br label %37
37: ; preds = %10, %18, %27, %33
%38 = phi ptr [ %21, %33 ], [ %21, %27 ], [ %21, %18 ], [ %13, %10 ]
%39 = phi i64 [ %35, %33 ], [ %12, %27 ], [ %12, %18 ], [ %12, %10 ]
%40 = add nuw nsw i64 %11, 1
%41 = tail call i32 @ARRAY_SIZE(ptr noundef %38) #2
%42 = sext i32 %41 to i64
%43 = icmp slt i64 %40, %42
%44 = icmp ult i64 %39, %1
%45 = select i1 %43, i1 %44, i1 false
br i1 %45, label %10, label %46, !llvm.loop !16
46: ; preds = %37, %3
%47 = phi i64 [ 0, %3 ], [ %39, %37 ]
ret i64 %47
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !12, i64 8}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_phy-core.c_phy_speeds.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_phy-core.c_phy_speeds.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, i32 }
@settings = common local_unnamed_addr global ptr null, align 8
@__ETHTOOL_LINK_MODE_MASK_NBITS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @phy_speeds(ptr nocapture noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr i8, ptr %0, i64 -4
%5 = load ptr, ptr @settings, align 8, !tbaa !6
%6 = tail call i32 @ARRAY_SIZE(ptr noundef %5) #2
%7 = icmp sgt i32 %6, 0
%8 = icmp ne i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %46
10: ; preds = %3, %37
%11 = phi i64 [ %40, %37 ], [ 0, %3 ]
%12 = phi i64 [ %39, %37 ], [ 0, %3 ]
%13 = load ptr, ptr @settings, align 8, !tbaa !6
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %11
%15 = load i64, ptr %14, align 8, !tbaa !10
%16 = load i64, ptr @__ETHTOOL_LINK_MODE_MASK_NBITS, align 8, !tbaa !14
%17 = icmp slt i64 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %10
%19 = tail call i64 @test_bit(i64 noundef %15, ptr noundef %2) #2
%20 = icmp eq i64 %19, 0
%21 = load ptr, ptr @settings, align 8, !tbaa !6
br i1 %20, label %37, label %22
22: ; preds = %18
%23 = icmp eq i64 %12, 0
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %11, i32 1
%26 = load i32, ptr %25, align 8, !tbaa !15
br label %33
27: ; preds = %22
%28 = getelementptr i32, ptr %4, i64 %12
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %11, i32 1
%31 = load i32, ptr %30, align 8, !tbaa !15
%32 = icmp eq i32 %29, %31
br i1 %32, label %37, label %33
33: ; preds = %24, %27
%34 = phi i32 [ %26, %24 ], [ %31, %27 ]
%35 = add i64 %12, 1
%36 = getelementptr inbounds i32, ptr %0, i64 %12
store i32 %34, ptr %36, align 4, !tbaa !16
br label %37
37: ; preds = %10, %18, %27, %33
%38 = phi ptr [ %21, %33 ], [ %21, %27 ], [ %21, %18 ], [ %13, %10 ]
%39 = phi i64 [ %35, %33 ], [ %12, %27 ], [ %12, %18 ], [ %12, %10 ]
%40 = add nuw nsw i64 %11, 1
%41 = tail call i32 @ARRAY_SIZE(ptr noundef %38) #2
%42 = sext i32 %41 to i64
%43 = icmp slt i64 %40, %42
%44 = icmp ult i64 %39, %1
%45 = select i1 %43, i1 %44, i1 false
br i1 %45, label %10, label %46, !llvm.loop !17
46: ; preds = %37, %3
%47 = phi i64 [ 0, %3 ], [ %39, %37 ]
ret i64 %47
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !13, i64 8}
!16 = !{!13, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_phy_extr_phy-core.c_phy_speeds |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_nandsim.c_NS_GET_PAGE.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_nandsim.c_NS_GET_PAGE.c"
target datalayout = "e-m:e-p270:32:32-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.nandsim = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i64 }
%union.ns_mem = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @NS_GET_PAGE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @NS_GET_PAGE(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.nandsim, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !12
%5 = getelementptr inbounds %union.ns_mem, ptr %3, i64 %4
ret ptr %5
}
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, !11, i64 8}
!6 = !{!"nandsim", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_nandsim.c_NS_GET_PAGE.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_nandsim.c_NS_GET_PAGE.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.ns_mem = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @NS_GET_PAGE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @NS_GET_PAGE(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !13
%5 = getelementptr inbounds %union.ns_mem, ptr %3, i64 %4
ret ptr %5
}
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, !12, i64 8}
!7 = !{!"nandsim", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !9, i64 0}
| fastsocket_kernel_drivers_mtd_nand_extr_nandsim.c_NS_GET_PAGE |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_b43_lpphy_op_free.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_b43_lpphy_op_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @b43_lpphy_op_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @b43_lpphy_op_free(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @kfree(ptr noundef %2) #2
store ptr null, ptr %0, align 8, !tbaa !5
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)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"b43_wldev", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_b43_lpphy_op_free.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_b43_lpphy_op_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @b43_lpphy_op_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @b43_lpphy_op_free(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @kfree(ptr noundef %2) #2
store ptr null, ptr %0, align 8, !tbaa !6
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)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"b43_wldev", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_broadcom_b43_extr_phy_lp.c_b43_lpphy_op_free |
; ModuleID = 'AnghaBench/git/builtin/extr_receive-pack.c_find_header.c'
source_filename = "AnghaBench/git/builtin/extr_receive-pack.c_find_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_header], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @find_header(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef writeonly %3) #0 {
%5 = tail call i32 @strlen(ptr noundef %2) #2
%6 = getelementptr inbounds i8, ptr %0, i64 %1
%7 = icmp ne ptr %0, null
%8 = icmp sgt i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %51
10: ; preds = %4
%11 = sext i32 %5 to i64
br label %12
12: ; preds = %10, %44
%13 = phi ptr [ %0, %10 ], [ %48, %44 ]
%14 = tail call ptr @strchrnul(ptr noundef nonnull %13, i8 noundef signext 10) #2
%15 = icmp ule ptr %6, %14
%16 = icmp eq ptr %13, %14
%17 = or i1 %15, %16
br i1 %17, label %51, label %18
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %13, i64 %11
%20 = icmp ult ptr %19, %14
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = tail call i32 @memcmp(ptr noundef nonnull %13, ptr noundef %2, i32 noundef %5) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %44
24: ; preds = %21
%25 = load i8, ptr %19, align 1, !tbaa !5
%26 = icmp eq i8 %25, 32
br i1 %26, label %27, label %44
27: ; preds = %24
%28 = add nsw i32 %5, 1
%29 = icmp eq ptr %3, null
br i1 %29, label %35, label %30
30: ; preds = %27
%31 = load i8, ptr %14, align 1, !tbaa !5
%32 = icmp ne i8 %31, 0
%33 = zext i1 %32 to i64
%34 = getelementptr inbounds i8, ptr %14, i64 %33
store ptr %34, ptr %3, align 8, !tbaa !8
br label %35
35: ; preds = %30, %27
%36 = sext i32 %28 to i64
%37 = getelementptr inbounds i8, ptr %13, i64 %36
%38 = ptrtoint ptr %14 to i64
%39 = ptrtoint ptr %13 to i64
%40 = add i64 %39, %36
%41 = sub i64 %38, %40
%42 = trunc i64 %41 to i32
%43 = tail call ptr @xmemdupz(ptr noundef nonnull %37, i32 noundef %42) #2
br label %51
44: ; preds = %18, %21, %24
%45 = load i8, ptr %14, align 1, !tbaa !5
%46 = icmp ne i8 %45, 0
%47 = getelementptr inbounds i8, ptr %14, i64 1
%48 = select i1 %46, ptr %47, ptr null
%49 = icmp ult ptr %48, %6
%50 = select i1 %46, i1 %49, i1 false
br i1 %50, label %12, label %51, !llvm.loop !10
51: ; preds = %44, %12, %4, %35
%52 = phi ptr [ %43, %35 ], [ null, %4 ], [ null, %12 ], [ null, %44 ]
ret ptr %52
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xmemdupz(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/builtin/extr_receive-pack.c_find_header.c'
source_filename = "AnghaBench/git/builtin/extr_receive-pack.c_find_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @find_header], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @find_header(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef writeonly %3) #0 {
%5 = tail call i32 @strlen(ptr noundef %2) #2
%6 = getelementptr inbounds i8, ptr %0, i64 %1
%7 = icmp ne ptr %0, null
%8 = icmp sgt i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %51
10: ; preds = %4
%11 = sext i32 %5 to i64
br label %12
12: ; preds = %10, %44
%13 = phi ptr [ %0, %10 ], [ %48, %44 ]
%14 = tail call ptr @strchrnul(ptr noundef nonnull %13, i8 noundef signext 10) #2
%15 = icmp ule ptr %6, %14
%16 = icmp eq ptr %13, %14
%17 = or i1 %15, %16
br i1 %17, label %51, label %18
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %13, i64 %11
%20 = icmp ult ptr %19, %14
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = tail call i32 @memcmp(ptr noundef nonnull %13, ptr noundef %2, i32 noundef %5) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %44
24: ; preds = %21
%25 = load i8, ptr %19, align 1, !tbaa !6
%26 = icmp eq i8 %25, 32
br i1 %26, label %27, label %44
27: ; preds = %24
%28 = add nsw i32 %5, 1
%29 = icmp eq ptr %3, null
br i1 %29, label %35, label %30
30: ; preds = %27
%31 = load i8, ptr %14, align 1, !tbaa !6
%32 = icmp ne i8 %31, 0
%33 = zext i1 %32 to i64
%34 = getelementptr inbounds i8, ptr %14, i64 %33
store ptr %34, ptr %3, align 8, !tbaa !9
br label %35
35: ; preds = %30, %27
%36 = sext i32 %28 to i64
%37 = getelementptr inbounds i8, ptr %13, i64 %36
%38 = ptrtoint ptr %14 to i64
%39 = ptrtoint ptr %13 to i64
%40 = add i64 %39, %36
%41 = sub i64 %38, %40
%42 = trunc i64 %41 to i32
%43 = tail call ptr @xmemdupz(ptr noundef nonnull %37, i32 noundef %42) #2
br label %51
44: ; preds = %18, %21, %24
%45 = load i8, ptr %14, align 1, !tbaa !6
%46 = icmp ne i8 %45, 0
%47 = getelementptr inbounds i8, ptr %14, i64 1
%48 = select i1 %46, ptr %47, ptr null
%49 = icmp ult ptr %48, %6
%50 = select i1 %46, i1 %49, i1 false
br i1 %50, label %12, label %51, !llvm.loop !11
51: ; preds = %44, %12, %4, %35
%52 = phi ptr [ %43, %35 ], [ null, %4 ], [ null, %12 ], [ null, %44 ]
ret ptr %52
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xmemdupz(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| git_builtin_extr_receive-pack.c_find_header |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/inetcomm/extr_mimeole.c_test_CreateSecurity.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/inetcomm/extr_mimeole.c_test_CreateSecurity.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@S_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"ret %08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_CreateSecurity], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_CreateSecurity() #0 {
%1 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
%2 = call i64 @MimeOleCreateSecurity(ptr noundef nonnull %1) #3
%3 = load i64, ptr @S_OK, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 @ok(i32 noundef %5, ptr noundef nonnull @.str, i64 noundef %2) #3
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = call i32 @IMimeSecurity_Release(ptr noundef %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @MimeOleCreateSecurity(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @IMimeSecurity_Release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/inetcomm/extr_mimeole.c_test_CreateSecurity.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/inetcomm/extr_mimeole.c_test_CreateSecurity.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@S_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"ret %08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_CreateSecurity], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_CreateSecurity() #0 {
%1 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
%2 = call i64 @MimeOleCreateSecurity(ptr noundef nonnull %1) #3
%3 = load i64, ptr @S_OK, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
%6 = call i32 @ok(i32 noundef %5, ptr noundef nonnull @.str, i64 noundef %2) #3
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = call i32 @IMimeSecurity_Release(ptr noundef %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @MimeOleCreateSecurity(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @IMimeSecurity_Release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| reactos_modules_rostests_winetests_inetcomm_extr_mimeole.c_test_CreateSecurity |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_toplev.c_process_options.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_toplev.c_process_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"
%struct.TYPE_13__ = type { i64 }
%struct.TYPE_15__ = type { %struct.TYPE_12__, ptr }
%struct.TYPE_12__ = type { i32 }
%struct.TYPE_14__ = type { ptr, i32 }
@do_nothing_debug_hooks = dso_local global %struct.TYPE_13__ zeroinitializer, align 8
@debug_hooks = dso_local local_unnamed_addr global ptr null, align 8
@lang_hooks = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8
@main_input_filename = dso_local global i64 0, align 8
@no_backend = dso_local local_unnamed_addr global i32 0, align 4
@input_filename = dso_local local_unnamed_addr global i64 0, align 8
@flag_section_anchors = dso_local local_unnamed_addr global i64 0, align 8
@OPT_fsection_anchors = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"this target does not support %qs\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"-fsection-anchors\00", align 1
@flag_short_enums = dso_local local_unnamed_addr global i32 0, align 4
@targetm = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@aux_base_name = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"gccaux\00", align 1
@align_loops = dso_local local_unnamed_addr global i32 0, align 4
@align_loops_max_skip = dso_local local_unnamed_addr global i32 0, align 4
@align_loops_log = dso_local local_unnamed_addr global ptr null, align 8
@align_jumps = dso_local local_unnamed_addr global i32 0, align 4
@align_jumps_max_skip = dso_local local_unnamed_addr global i32 0, align 4
@align_jumps_log = dso_local local_unnamed_addr global ptr null, align 8
@align_labels = dso_local local_unnamed_addr global i32 0, align 4
@align_labels_log = dso_local local_unnamed_addr global ptr null, align 8
@align_labels_max_skip = dso_local local_unnamed_addr global i32 0, align 4
@align_functions = dso_local local_unnamed_addr global i32 0, align 4
@align_functions_log = dso_local local_unnamed_addr global ptr null, align 8
@flag_unroll_all_loops = dso_local local_unnamed_addr global i64 0, align 8
@flag_unroll_loops = dso_local local_unnamed_addr global i32 0, align 4
@flag_rerun_cse_after_loop = dso_local local_unnamed_addr global i32 0, align 4
@AUTODETECT_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@flag_peel_loops = dso_local local_unnamed_addr global i64 0, align 8
@flag_web = dso_local local_unnamed_addr global i32 0, align 4
@flag_rename_registers = dso_local local_unnamed_addr global i32 0, align 4
@flag_non_call_exceptions = dso_local local_unnamed_addr global i64 0, align 8
@flag_asynchronous_unwind_tables = dso_local local_unnamed_addr global i32 0, align 4
@flag_unwind_tables = dso_local local_unnamed_addr global i32 0, align 4
@flag_unit_at_a_time = dso_local local_unnamed_addr global i64 0, align 8
@flag_value_profile_transformations = dso_local local_unnamed_addr global i64 0, align 8
@flag_profile_values = dso_local local_unnamed_addr global i32 0, align 4
@flag_schedule_insns = dso_local local_unnamed_addr global i64 0, align 8
@flag_schedule_insns_after_reload = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [60 x i8] c"instruction scheduling not supported on this target machine\00", align 1
@flag_delayed_branch = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [51 x i8] c"this target machine does not have delayed branches\00", align 1
@USER_LABEL_PREFIX = dso_local local_unnamed_addr global ptr null, align 8
@user_label_prefix = dso_local local_unnamed_addr global ptr null, align 8
@flag_leading_underscore = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [2 x i8] c"_\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [60 x i8] c"-f%sleading-underscore not supported on this target machine\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"no-\00", align 1
@version_flag = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@quiet_flag = dso_local local_unnamed_addr global i32 0, align 4
@MAX_LINE = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@flag_syntax_only = dso_local local_unnamed_addr global i64 0, align 8
@NO_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@write_symbols = dso_local local_unnamed_addr global i64 0, align 8
@profile_flag = dso_local local_unnamed_addr global i64 0, align 8
@debug_info_level = dso_local local_unnamed_addr global i64 0, align 8
@DINFO_LEVEL_NONE = dso_local local_unnamed_addr global i64 0, align 8
@PREFERRED_DEBUGGING_TYPE = dso_local local_unnamed_addr global i64 0, align 8
@default_debug_hooks = dso_local local_unnamed_addr global ptr null, align 8
@.str.11 = private unnamed_addr constant [53 x i8] c"target system does not support the \22%s\22 debug format\00", align 1
@debug_type_names = dso_local local_unnamed_addr global ptr null, align 8
@DINFO_LEVEL_NORMAL = dso_local local_unnamed_addr global i64 0, align 8
@flag_var_tracking = dso_local local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [69 x i8] c"variable tracking requested, but useless unless producing debug info\00", align 1
@.str.13 = private unnamed_addr constant [68 x i8] c"variable tracking requested, but not supported by this debug format\00", align 1
@optimize = dso_local local_unnamed_addr global i32 0, align 4
@flag_gen_aux_info = dso_local local_unnamed_addr global i64 0, align 8
@aux_info_file_name = dso_local local_unnamed_addr global i32 0, align 4
@.str.14 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@aux_info_file = dso_local local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [19 x i8] c"can%'t open %s: %m\00", align 1
@flag_function_sections = dso_local local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [50 x i8] c"-ffunction-sections not supported for this target\00", align 1
@flag_data_sections = dso_local local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [46 x i8] c"-fdata-sections not supported for this target\00", align 1
@.str.18 = private unnamed_addr constant [60 x i8] c"-ffunction-sections disabled; it makes profiling impossible\00", align 1
@flag_prefetch_loop_arrays = dso_local local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [53 x i8] c"-fprefetch-loop-arrays not supported for this target\00", align 1
@optimize_size = dso_local local_unnamed_addr global i64 0, align 8
@.str.21 = private unnamed_addr constant [57 x i8] c"-ffunction-sections may affect debugging on some targets\00", align 1
@flag_signaling_nans = dso_local local_unnamed_addr global i64 0, align 8
@flag_trapping_math = dso_local local_unnamed_addr global i32 0, align 4
@flag_cx_limited_range = dso_local local_unnamed_addr global i64 0, align 8
@flag_complex_method = dso_local local_unnamed_addr global i64 0, align 8
@FRAME_GROWS_DOWNWARD = dso_local local_unnamed_addr global i32 0, align 4
@flag_stack_protect = dso_local local_unnamed_addr global i64 0, align 8
@.str.22 = private unnamed_addr constant [48 x i8] c"-fstack-protector not supported for this target\00", align 1
@warn_stack_protect = dso_local local_unnamed_addr global i64 0, align 8
@ACCUMULATE_OUTGOING_ARGS = dso_local local_unnamed_addr global i32 0, align 4
@flag_omit_frame_pointer = dso_local local_unnamed_addr global i64 0, align 8
@.str.23 = private unnamed_addr constant [65 x i8] c"unwind tables currently requires a frame pointer for correctness\00", align 1
@DBX_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@DWARF2_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@HAVE_prefetch = dso_local local_unnamed_addr global i32 0, align 4
@OVERRIDE_OPTIONS = dso_local local_unnamed_addr global i32 0, align 4
@SDB_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@VMS_AND_DWARF2_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@VMS_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@XCOFF_DEBUG = dso_local local_unnamed_addr global i64 0, align 8
@dbx_debug_hooks = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@dwarf2_debug_hooks = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@sdb_debug_hooks = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@vmsdbg_debug_hooks = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@xcoff_debug_hooks = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @process_options], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @process_options() #0 {
store ptr @do_nothing_debug_hooks, ptr @debug_hooks, align 8, !tbaa !5
%1 = load ptr, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @lang_hooks, i64 0, i32 1), align 8, !tbaa !9
%2 = tail call i32 %1(ptr noundef nonnull @main_input_filename) #2
store i32 %2, ptr @no_backend, align 4, !tbaa !13
%3 = load i64, ptr @main_input_filename, align 8, !tbaa !14
store i64 %3, ptr @input_filename, align 8, !tbaa !14
%4 = load i64, ptr @flag_section_anchors, align 8, !tbaa !14
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = tail call i32 (...) @target_supports_section_anchors_p() #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, ptr @OPT_fsection_anchors, align 4, !tbaa !13
%11 = tail call i32 (i32, ptr, ...) @warning(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
store i64 0, ptr @flag_section_anchors, align 8, !tbaa !14
br label %12
12: ; preds = %9, %6, %0
%13 = load i32, ptr @flag_short_enums, align 4, !tbaa !13
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr @targetm, align 8, !tbaa !16
%17 = tail call i32 (...) %16() #2
store i32 %17, ptr @flag_short_enums, align 4, !tbaa !13
br label %18
18: ; preds = %15, %12
%19 = load ptr, ptr @aux_base_name, align 8, !tbaa !5
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i64, ptr @main_input_filename, align 8, !tbaa !14
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %21
%25 = tail call i32 @lbasename(i64 noundef %22) #2
%26 = tail call ptr @xstrdup(i32 noundef %25) #2
%27 = tail call i32 @strlen(ptr noundef %26) #2
%28 = tail call i32 @strip_off_ending(ptr noundef %26, i32 noundef %27) #2
br label %29
29: ; preds = %21, %24
%30 = phi ptr [ %26, %24 ], [ @.str.2, %21 ]
store ptr %30, ptr @aux_base_name, align 8, !tbaa !5
br label %31
31: ; preds = %29, %18
%32 = load i32, ptr @align_loops, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %31
store i32 1, ptr @align_loops, align 4, !tbaa !13
br label %35
35: ; preds = %34, %31
%36 = phi i32 [ 1, %34 ], [ %32, %31 ]
%37 = load i32, ptr @align_loops_max_skip, align 4, !tbaa !13
%38 = icmp sgt i32 %37, %36
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = add nsw i32 %36, -1
store i32 %40, ptr @align_loops_max_skip, align 4, !tbaa !13
br label %41
41: ; preds = %35, %39
%42 = shl nuw nsw i32 %36, 1
%43 = add nsw i32 %42, -1
%44 = tail call ptr @floor_log2(i32 noundef %43) #2
store ptr %44, ptr @align_loops_log, align 8, !tbaa !5
%45 = load i32, ptr @align_jumps, align 4
%46 = icmp slt i32 %45, 1
br i1 %46, label %47, label %48
47: ; preds = %41
store i32 1, ptr @align_jumps, align 4, !tbaa !13
br label %48
48: ; preds = %47, %41
%49 = phi i32 [ 1, %47 ], [ %45, %41 ]
%50 = load i32, ptr @align_jumps_max_skip, align 4, !tbaa !13
%51 = icmp sgt i32 %50, %49
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = add nsw i32 %49, -1
store i32 %53, ptr @align_jumps_max_skip, align 4, !tbaa !13
br label %54
54: ; preds = %48, %52
%55 = shl nuw nsw i32 %49, 1
%56 = add nsw i32 %55, -1
%57 = tail call ptr @floor_log2(i32 noundef %56) #2
store ptr %57, ptr @align_jumps_log, align 8, !tbaa !5
%58 = load i32, ptr @align_labels, align 4, !tbaa !13
%59 = icmp slt i32 %58, 1
br i1 %59, label %60, label %61
60: ; preds = %54
store i32 1, ptr @align_labels, align 4, !tbaa !13
br label %61
61: ; preds = %60, %54
%62 = phi i32 [ 1, %60 ], [ %58, %54 ]
%63 = shl nuw nsw i32 %62, 1
%64 = add nsw i32 %63, -1
%65 = tail call ptr @floor_log2(i32 noundef %64) #2
store ptr %65, ptr @align_labels_log, align 8, !tbaa !5
%66 = load i32, ptr @align_labels_max_skip, align 4, !tbaa !13
%67 = load i32, ptr @align_labels, align 4
%68 = icmp sle i32 %66, %67
%69 = icmp ne i32 %67, 0
%70 = and i1 %68, %69
br i1 %70, label %73, label %71
71: ; preds = %61
%72 = add nsw i32 %67, -1
store i32 %72, ptr @align_labels_max_skip, align 4, !tbaa !13
br label %73
73: ; preds = %61, %71
%74 = load i32, ptr @align_functions, align 4, !tbaa !13
%75 = icmp slt i32 %74, 1
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, ptr @align_functions, align 4, !tbaa !13
br label %77
77: ; preds = %76, %73
%78 = phi i32 [ 1, %76 ], [ %74, %73 ]
%79 = shl nuw nsw i32 %78, 1
%80 = add nsw i32 %79, -1
%81 = tail call ptr @floor_log2(i32 noundef %80) #2
store ptr %81, ptr @align_functions_log, align 8, !tbaa !5
%82 = load i64, ptr @flag_unroll_all_loops, align 8, !tbaa !14
%83 = icmp eq i64 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %77
store i32 1, ptr @flag_unroll_loops, align 4, !tbaa !13
br label %85
85: ; preds = %84, %77
%86 = load i32, ptr @flag_rerun_cse_after_loop, align 4, !tbaa !13
%87 = load i32, ptr @AUTODETECT_VALUE, align 4, !tbaa !13
%88 = icmp eq i32 %86, %87
br i1 %88, label %89, label %96
89: ; preds = %85
%90 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !13
%91 = icmp ne i32 %90, 0
%92 = load i64, ptr @flag_peel_loops, align 8
%93 = icmp ne i64 %92, 0
%94 = select i1 %91, i1 true, i1 %93
%95 = zext i1 %94 to i32
store i32 %95, ptr @flag_rerun_cse_after_loop, align 4, !tbaa !13
br label %96
96: ; preds = %89, %85
%97 = load i32, ptr @flag_web, align 4, !tbaa !13
%98 = icmp eq i32 %97, %87
br i1 %98, label %99, label %106
99: ; preds = %96
%100 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !13
%101 = icmp ne i32 %100, 0
%102 = load i64, ptr @flag_peel_loops, align 8
%103 = icmp ne i64 %102, 0
%104 = select i1 %101, i1 true, i1 %103
%105 = zext i1 %104 to i32
store i32 %105, ptr @flag_web, align 4, !tbaa !13
br label %106
106: ; preds = %99, %96
%107 = load i32, ptr @flag_rename_registers, align 4, !tbaa !13
%108 = icmp eq i32 %107, %87
br i1 %108, label %109, label %116
109: ; preds = %106
%110 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !13
%111 = icmp ne i32 %110, 0
%112 = load i64, ptr @flag_peel_loops, align 8
%113 = icmp ne i64 %112, 0
%114 = select i1 %111, i1 true, i1 %113
%115 = zext i1 %114 to i32
store i32 %115, ptr @flag_rename_registers, align 4, !tbaa !13
br label %116
116: ; preds = %109, %106
%117 = load i64, ptr @flag_non_call_exceptions, align 8, !tbaa !14
%118 = icmp eq i64 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %116
store i32 1, ptr @flag_asynchronous_unwind_tables, align 4, !tbaa !13
br label %123
120: ; preds = %116
%121 = load i32, ptr @flag_asynchronous_unwind_tables, align 4, !tbaa !13
%122 = icmp eq i32 %121, 0
br i1 %122, label %124, label %123
123: ; preds = %119, %120
store i32 1, ptr @flag_unwind_tables, align 4, !tbaa !13
br label %124
124: ; preds = %123, %120
%125 = load i64, ptr @flag_unit_at_a_time, align 8, !tbaa !14
%126 = icmp eq i64 %125, 0
%127 = load i32, ptr @lang_hooks, align 8
%128 = icmp ne i32 %127, 0
%129 = select i1 %126, i1 true, i1 %128
br i1 %129, label %131, label %130
130: ; preds = %124
store i64 0, ptr @flag_unit_at_a_time, align 8, !tbaa !14
br label %132
131: ; preds = %124
br i1 %126, label %132, label %133
132: ; preds = %130, %131
store i64 0, ptr @flag_section_anchors, align 8, !tbaa !14
br label %133
133: ; preds = %132, %131
%134 = load i64, ptr @flag_value_profile_transformations, align 8, !tbaa !14
%135 = icmp eq i64 %134, 0
br i1 %135, label %137, label %136
136: ; preds = %133
store i32 1, ptr @flag_profile_values, align 4, !tbaa !13
br label %137
137: ; preds = %136, %133
%138 = load i64, ptr @flag_schedule_insns, align 8, !tbaa !14
%139 = icmp ne i64 %138, 0
%140 = load i64, ptr @flag_schedule_insns_after_reload, align 8
%141 = icmp ne i64 %140, 0
%142 = select i1 %139, i1 true, i1 %141
br i1 %142, label %143, label %145
143: ; preds = %137
%144 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.3) #2
br label %145
145: ; preds = %137, %143
%146 = load i64, ptr @flag_delayed_branch, align 8, !tbaa !14
%147 = icmp eq i64 %146, 0
br i1 %147, label %150, label %148
148: ; preds = %145
%149 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.4) #2
br label %150
150: ; preds = %148, %145
%151 = load ptr, ptr @USER_LABEL_PREFIX, align 8, !tbaa !5
store ptr %151, ptr @user_label_prefix, align 8, !tbaa !5
%152 = load i32, ptr @flag_leading_underscore, align 4, !tbaa !13
%153 = icmp eq i32 %152, -1
br i1 %153, label %167, label %154
154: ; preds = %150
%155 = load i8, ptr %151, align 1, !tbaa !18
switch i8 %155, label %163 [
i8 0, label %160
i8 95, label %156
]
156: ; preds = %154
%157 = getelementptr inbounds i8, ptr %151, i64 1
%158 = load i8, ptr %157, align 1, !tbaa !18
%159 = icmp eq i8 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %154, %156
%161 = icmp eq i32 %152, 0
%162 = select i1 %161, ptr @.str.6, ptr @.str.5
store ptr %162, ptr @user_label_prefix, align 8, !tbaa !5
br label %167
163: ; preds = %154, %156
%164 = icmp eq i32 %152, 0
%165 = select i1 %164, ptr @.str.8, ptr @.str.6
%166 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %165) #2
br label %167
167: ; preds = %160, %163, %150
%168 = load i64, ptr @version_flag, align 8, !tbaa !14
%169 = icmp eq i64 %168, 0
br i1 %169, label %179, label %170
170: ; preds = %167
%171 = load i32, ptr @stderr, align 4, !tbaa !13
%172 = tail call i32 @print_version(i32 noundef %171, ptr noundef nonnull @.str.6) #2
%173 = load i32, ptr @quiet_flag, align 4, !tbaa !13
%174 = icmp eq i32 %173, 0
br i1 %174, label %175, label %179
175: ; preds = %170
%176 = load i32, ptr @stderr, align 4, !tbaa !13
%177 = load i32, ptr @MAX_LINE, align 4, !tbaa !13
%178 = tail call i32 @print_switch_values(i32 noundef %176, i32 noundef 0, i32 noundef %177, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
br label %179
179: ; preds = %170, %175, %167
%180 = load i64, ptr @flag_syntax_only, align 8, !tbaa !14
%181 = icmp eq i64 %180, 0
%182 = load i64, ptr @NO_DEBUG, align 8, !tbaa !14
br i1 %181, label %184, label %183
183: ; preds = %179
store i64 %182, ptr @write_symbols, align 8, !tbaa !14
store i64 0, ptr @profile_flag, align 8, !tbaa !14
br label %184
184: ; preds = %183, %179
%185 = load i64, ptr @debug_info_level, align 8, !tbaa !14
%186 = load i64, ptr @DINFO_LEVEL_NONE, align 8, !tbaa !14
%187 = icmp eq i64 %185, %186
br i1 %187, label %188, label %189
188: ; preds = %184
store i64 %182, ptr @write_symbols, align 8, !tbaa !14
br label %189
189: ; preds = %188, %184
%190 = load i64, ptr @PREFERRED_DEBUGGING_TYPE, align 8, !tbaa !14
%191 = icmp eq i64 %190, %182
br i1 %191, label %192, label %193
192: ; preds = %189
store ptr @do_nothing_debug_hooks, ptr @default_debug_hooks, align 8, !tbaa !5
br label %193
193: ; preds = %192, %189
%194 = load i64, ptr @write_symbols, align 8, !tbaa !14
%195 = icmp eq i64 %194, %182
br i1 %195, label %202, label %196
196: ; preds = %193
%197 = load ptr, ptr @debug_type_names, align 8, !tbaa !5
%198 = getelementptr inbounds i32, ptr %197, i64 %194
%199 = load i32, ptr %198, align 4, !tbaa !13
%200 = tail call i32 @error(ptr noundef nonnull @.str.11, i32 noundef %199) #2
%201 = load i64, ptr @debug_info_level, align 8, !tbaa !14
br label %202
202: ; preds = %193, %196
%203 = phi i64 [ %185, %193 ], [ %201, %196 ]
%204 = load i64, ptr @DINFO_LEVEL_NORMAL, align 8, !tbaa !14
%205 = icmp slt i64 %203, %204
br i1 %205, label %211, label %206
206: ; preds = %202
%207 = load ptr, ptr @debug_hooks, align 8, !tbaa !5
%208 = load i64, ptr %207, align 8, !tbaa !19
%209 = load i64, ptr @do_nothing_debug_hooks, align 8, !tbaa !19
%210 = icmp eq i64 %208, %209
br i1 %210, label %214, label %221
211: ; preds = %202
%212 = load i32, ptr @flag_var_tracking, align 4, !tbaa !13
%213 = icmp eq i32 %212, 1
br i1 %213, label %217, label %220
214: ; preds = %206
%215 = load i32, ptr @flag_var_tracking, align 4, !tbaa !13
%216 = icmp eq i32 %215, 1
br i1 %216, label %217, label %220
217: ; preds = %214, %211
%218 = phi ptr [ @.str.12, %211 ], [ @.str.13, %214 ]
%219 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull %218) #2
br label %220
220: ; preds = %217, %214, %211
store i32 0, ptr @flag_var_tracking, align 4, !tbaa !13
br label %221
221: ; preds = %220, %206
%222 = load i32, ptr @flag_rename_registers, align 4, !tbaa !13
%223 = load i32, ptr @AUTODETECT_VALUE, align 4, !tbaa !13
%224 = icmp eq i32 %222, %223
br i1 %224, label %225, label %231
225: ; preds = %221
%226 = load ptr, ptr @default_debug_hooks, align 8, !tbaa !5
%227 = load i64, ptr %226, align 8, !tbaa !19
%228 = load i64, ptr @do_nothing_debug_hooks, align 8, !tbaa !19
%229 = icmp ne i64 %227, %228
%230 = zext i1 %229 to i32
store i32 %230, ptr @flag_rename_registers, align 4, !tbaa !13
br label %231
231: ; preds = %225, %221
%232 = load i32, ptr @flag_var_tracking, align 4, !tbaa !13
%233 = icmp eq i32 %232, %223
br i1 %233, label %234, label %238
234: ; preds = %231
%235 = load i32, ptr @optimize, align 4, !tbaa !13
%236 = icmp sgt i32 %235, 0
%237 = zext i1 %236 to i32
store i32 %237, ptr @flag_var_tracking, align 4, !tbaa !13
br label %238
238: ; preds = %234, %231
%239 = load i64, ptr @flag_gen_aux_info, align 8, !tbaa !14
%240 = icmp eq i64 %239, 0
br i1 %240, label %248, label %241
241: ; preds = %238
%242 = load i32, ptr @aux_info_file_name, align 4, !tbaa !13
%243 = tail call i64 @fopen(i32 noundef %242, ptr noundef nonnull @.str.14) #2
store i64 %243, ptr @aux_info_file, align 8, !tbaa !14
%244 = icmp eq i64 %243, 0
br i1 %244, label %245, label %248
245: ; preds = %241
%246 = load i32, ptr @aux_info_file_name, align 4, !tbaa !13
%247 = tail call i32 @fatal_error(ptr noundef nonnull @.str.15, i32 noundef %246) #2
br label %248
248: ; preds = %241, %245, %238
%249 = load i32, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @targetm, i64 0, i32 1), align 8, !tbaa !21
%250 = icmp eq i32 %249, 0
%251 = load i64, ptr @flag_function_sections, align 8, !tbaa !14
br i1 %250, label %252, label %262
252: ; preds = %248
%253 = icmp eq i64 %251, 0
br i1 %253, label %256, label %254
254: ; preds = %252
%255 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.16) #2
store i64 0, ptr @flag_function_sections, align 8, !tbaa !14
br label %256
256: ; preds = %254, %252
%257 = load i64, ptr @flag_data_sections, align 8, !tbaa !14
%258 = icmp eq i64 %257, 0
br i1 %258, label %270, label %259
259: ; preds = %256
%260 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.17) #2
store i64 0, ptr @flag_data_sections, align 8, !tbaa !14
%261 = load i64, ptr @flag_function_sections, align 8, !tbaa !14
br label %262
262: ; preds = %259, %248
%263 = phi i64 [ %261, %259 ], [ %251, %248 ]
%264 = icmp ne i64 %263, 0
%265 = load i64, ptr @profile_flag, align 8
%266 = icmp ne i64 %265, 0
%267 = select i1 %264, i1 %266, i1 false
br i1 %267, label %268, label %270
268: ; preds = %262
%269 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.18) #2
store i64 0, ptr @flag_function_sections, align 8, !tbaa !14
br label %270
270: ; preds = %256, %268, %262
%271 = load i64, ptr @flag_prefetch_loop_arrays, align 8, !tbaa !14
%272 = icmp eq i64 %271, 0
br i1 %272, label %275, label %273
273: ; preds = %270
%274 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.19) #2
store i64 0, ptr @flag_prefetch_loop_arrays, align 8, !tbaa !14
br label %275
275: ; preds = %273, %270
%276 = load i64, ptr @flag_function_sections, align 8, !tbaa !14
%277 = icmp eq i64 %276, 0
br i1 %277, label %284, label %278
278: ; preds = %275
%279 = load i64, ptr @write_symbols, align 8, !tbaa !14
%280 = load i64, ptr @NO_DEBUG, align 8, !tbaa !14
%281 = icmp eq i64 %279, %280
br i1 %281, label %284, label %282
282: ; preds = %278
%283 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.21) #2
br label %284
284: ; preds = %282, %278, %275
%285 = load i64, ptr @flag_signaling_nans, align 8, !tbaa !14
%286 = icmp eq i64 %285, 0
br i1 %286, label %288, label %287
287: ; preds = %284
store i32 1, ptr @flag_trapping_math, align 4, !tbaa !13
br label %288
288: ; preds = %287, %284
%289 = load i64, ptr @flag_cx_limited_range, align 8, !tbaa !14
%290 = icmp eq i64 %289, 0
br i1 %290, label %292, label %291
291: ; preds = %288
store i64 0, ptr @flag_complex_method, align 8, !tbaa !14
br label %292
292: ; preds = %291, %288
%293 = load i32, ptr @FRAME_GROWS_DOWNWARD, align 4, !tbaa !13
%294 = icmp eq i32 %293, 0
%295 = load i64, ptr @flag_stack_protect, align 8
%296 = icmp ne i64 %295, 0
%297 = select i1 %294, i1 %296, i1 false
br i1 %297, label %298, label %300
298: ; preds = %292
%299 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.22) #2
store i64 0, ptr @flag_stack_protect, align 8, !tbaa !14
br label %302
300: ; preds = %292
%301 = icmp eq i64 %295, 0
br i1 %301, label %302, label %303
302: ; preds = %298, %300
store i64 0, ptr @warn_stack_protect, align 8, !tbaa !14
br label %303
303: ; preds = %302, %300
%304 = load i32, ptr @flag_unwind_tables, align 4, !tbaa !13
%305 = icmp ne i32 %304, 0
%306 = load i32, ptr @ACCUMULATE_OUTGOING_ARGS, align 4
%307 = icmp eq i32 %306, 0
%308 = select i1 %305, i1 %307, i1 false
%309 = load i64, ptr @flag_omit_frame_pointer, align 8
%310 = icmp ne i64 %309, 0
%311 = select i1 %308, i1 %310, i1 false
br i1 %311, label %312, label %314
312: ; preds = %303
%313 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.23) #2
store i64 0, ptr @flag_omit_frame_pointer, align 8, !tbaa !14
br label %314
314: ; preds = %312, %303
ret void
}
declare i32 @target_supports_section_anchors_p(...) local_unnamed_addr #1
declare i32 @warning(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #1
declare i32 @lbasename(i64 noundef) local_unnamed_addr #1
declare i32 @strip_off_ending(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @floor_log2(i32 noundef) local_unnamed_addr #1
declare i32 @print_version(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @print_switch_values(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fopen(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fatal_error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_15__", !11, i64 0, !6, i64 8}
!11 = !{!"TYPE_12__", !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_14__", !6, i64 0, !12, i64 8}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"TYPE_13__", !15, i64 0}
!21 = !{!17, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_toplev.c_process_options.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_toplev.c_process_options.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i64 }
%struct.TYPE_15__ = type { %struct.TYPE_12__, ptr }
%struct.TYPE_12__ = type { i32 }
%struct.TYPE_14__ = type { ptr, i32 }
@do_nothing_debug_hooks = common global %struct.TYPE_13__ zeroinitializer, align 8
@debug_hooks = common local_unnamed_addr global ptr null, align 8
@lang_hooks = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8
@main_input_filename = common global i64 0, align 8
@no_backend = common local_unnamed_addr global i32 0, align 4
@input_filename = common local_unnamed_addr global i64 0, align 8
@flag_section_anchors = common local_unnamed_addr global i64 0, align 8
@OPT_fsection_anchors = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"this target does not support %qs\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"-fsection-anchors\00", align 1
@flag_short_enums = common local_unnamed_addr global i32 0, align 4
@targetm = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@aux_base_name = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [7 x i8] c"gccaux\00", align 1
@align_loops = common local_unnamed_addr global i32 0, align 4
@align_loops_max_skip = common local_unnamed_addr global i32 0, align 4
@align_loops_log = common local_unnamed_addr global ptr null, align 8
@align_jumps = common local_unnamed_addr global i32 0, align 4
@align_jumps_max_skip = common local_unnamed_addr global i32 0, align 4
@align_jumps_log = common local_unnamed_addr global ptr null, align 8
@align_labels = common local_unnamed_addr global i32 0, align 4
@align_labels_log = common local_unnamed_addr global ptr null, align 8
@align_labels_max_skip = common local_unnamed_addr global i32 0, align 4
@align_functions = common local_unnamed_addr global i32 0, align 4
@align_functions_log = common local_unnamed_addr global ptr null, align 8
@flag_unroll_all_loops = common local_unnamed_addr global i64 0, align 8
@flag_unroll_loops = common local_unnamed_addr global i32 0, align 4
@flag_rerun_cse_after_loop = common local_unnamed_addr global i32 0, align 4
@AUTODETECT_VALUE = common local_unnamed_addr global i32 0, align 4
@flag_peel_loops = common local_unnamed_addr global i64 0, align 8
@flag_web = common local_unnamed_addr global i32 0, align 4
@flag_rename_registers = common local_unnamed_addr global i32 0, align 4
@flag_non_call_exceptions = common local_unnamed_addr global i64 0, align 8
@flag_asynchronous_unwind_tables = common local_unnamed_addr global i32 0, align 4
@flag_unwind_tables = common local_unnamed_addr global i32 0, align 4
@flag_unit_at_a_time = common local_unnamed_addr global i64 0, align 8
@flag_value_profile_transformations = common local_unnamed_addr global i64 0, align 8
@flag_profile_values = common local_unnamed_addr global i32 0, align 4
@flag_schedule_insns = common local_unnamed_addr global i64 0, align 8
@flag_schedule_insns_after_reload = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [60 x i8] c"instruction scheduling not supported on this target machine\00", align 1
@flag_delayed_branch = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [51 x i8] c"this target machine does not have delayed branches\00", align 1
@USER_LABEL_PREFIX = common local_unnamed_addr global ptr null, align 8
@user_label_prefix = common local_unnamed_addr global ptr null, align 8
@flag_leading_underscore = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [2 x i8] c"_\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [60 x i8] c"-f%sleading-underscore not supported on this target machine\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"no-\00", align 1
@version_flag = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@quiet_flag = common local_unnamed_addr global i32 0, align 4
@MAX_LINE = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@flag_syntax_only = common local_unnamed_addr global i64 0, align 8
@NO_DEBUG = common local_unnamed_addr global i64 0, align 8
@write_symbols = common local_unnamed_addr global i64 0, align 8
@profile_flag = common local_unnamed_addr global i64 0, align 8
@debug_info_level = common local_unnamed_addr global i64 0, align 8
@DINFO_LEVEL_NONE = common local_unnamed_addr global i64 0, align 8
@PREFERRED_DEBUGGING_TYPE = common local_unnamed_addr global i64 0, align 8
@default_debug_hooks = common local_unnamed_addr global ptr null, align 8
@.str.11 = private unnamed_addr constant [53 x i8] c"target system does not support the \22%s\22 debug format\00", align 1
@debug_type_names = common local_unnamed_addr global ptr null, align 8
@DINFO_LEVEL_NORMAL = common local_unnamed_addr global i64 0, align 8
@flag_var_tracking = common local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [69 x i8] c"variable tracking requested, but useless unless producing debug info\00", align 1
@.str.13 = private unnamed_addr constant [68 x i8] c"variable tracking requested, but not supported by this debug format\00", align 1
@optimize = common local_unnamed_addr global i32 0, align 4
@flag_gen_aux_info = common local_unnamed_addr global i64 0, align 8
@aux_info_file_name = common local_unnamed_addr global i32 0, align 4
@.str.14 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@aux_info_file = common local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [19 x i8] c"can%'t open %s: %m\00", align 1
@flag_function_sections = common local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [50 x i8] c"-ffunction-sections not supported for this target\00", align 1
@flag_data_sections = common local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [46 x i8] c"-fdata-sections not supported for this target\00", align 1
@.str.18 = private unnamed_addr constant [60 x i8] c"-ffunction-sections disabled; it makes profiling impossible\00", align 1
@flag_prefetch_loop_arrays = common local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [53 x i8] c"-fprefetch-loop-arrays not supported for this target\00", align 1
@optimize_size = common local_unnamed_addr global i64 0, align 8
@.str.21 = private unnamed_addr constant [57 x i8] c"-ffunction-sections may affect debugging on some targets\00", align 1
@flag_signaling_nans = common local_unnamed_addr global i64 0, align 8
@flag_trapping_math = common local_unnamed_addr global i32 0, align 4
@flag_cx_limited_range = common local_unnamed_addr global i64 0, align 8
@flag_complex_method = common local_unnamed_addr global i64 0, align 8
@FRAME_GROWS_DOWNWARD = common local_unnamed_addr global i32 0, align 4
@flag_stack_protect = common local_unnamed_addr global i64 0, align 8
@.str.22 = private unnamed_addr constant [48 x i8] c"-fstack-protector not supported for this target\00", align 1
@warn_stack_protect = common local_unnamed_addr global i64 0, align 8
@ACCUMULATE_OUTGOING_ARGS = common local_unnamed_addr global i32 0, align 4
@flag_omit_frame_pointer = common local_unnamed_addr global i64 0, align 8
@.str.23 = private unnamed_addr constant [65 x i8] c"unwind tables currently requires a frame pointer for correctness\00", align 1
@DBX_DEBUG = common local_unnamed_addr global i64 0, align 8
@DWARF2_DEBUG = common local_unnamed_addr global i64 0, align 8
@HAVE_prefetch = common local_unnamed_addr global i32 0, align 4
@OVERRIDE_OPTIONS = common local_unnamed_addr global i32 0, align 4
@SDB_DEBUG = common local_unnamed_addr global i64 0, align 8
@VMS_AND_DWARF2_DEBUG = common local_unnamed_addr global i64 0, align 8
@VMS_DEBUG = common local_unnamed_addr global i64 0, align 8
@XCOFF_DEBUG = common local_unnamed_addr global i64 0, align 8
@dbx_debug_hooks = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@dwarf2_debug_hooks = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@sdb_debug_hooks = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@vmsdbg_debug_hooks = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@xcoff_debug_hooks = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @process_options], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @process_options() #0 {
store ptr @do_nothing_debug_hooks, ptr @debug_hooks, align 8, !tbaa !6
%1 = load ptr, ptr getelementptr inbounds (i8, ptr @lang_hooks, i64 8), align 8, !tbaa !10
%2 = tail call i32 %1(ptr noundef nonnull @main_input_filename) #2
store i32 %2, ptr @no_backend, align 4, !tbaa !14
%3 = load i64, ptr @main_input_filename, align 8, !tbaa !15
store i64 %3, ptr @input_filename, align 8, !tbaa !15
%4 = load i64, ptr @flag_section_anchors, align 8, !tbaa !15
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = tail call i32 @target_supports_section_anchors_p() #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, ptr @OPT_fsection_anchors, align 4, !tbaa !14
%11 = tail call i32 (i32, ptr, ...) @warning(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
store i64 0, ptr @flag_section_anchors, align 8, !tbaa !15
br label %12
12: ; preds = %9, %6, %0
%13 = load i32, ptr @flag_short_enums, align 4, !tbaa !14
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load ptr, ptr @targetm, align 8, !tbaa !17
%17 = tail call i32 %16() #2
store i32 %17, ptr @flag_short_enums, align 4, !tbaa !14
br label %18
18: ; preds = %15, %12
%19 = load ptr, ptr @aux_base_name, align 8, !tbaa !6
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i64, ptr @main_input_filename, align 8, !tbaa !15
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %21
%25 = tail call i32 @lbasename(i64 noundef %22) #2
%26 = tail call ptr @xstrdup(i32 noundef %25) #2
%27 = tail call i32 @strlen(ptr noundef %26) #2
%28 = tail call i32 @strip_off_ending(ptr noundef %26, i32 noundef %27) #2
br label %29
29: ; preds = %21, %24
%30 = phi ptr [ %26, %24 ], [ @.str.2, %21 ]
store ptr %30, ptr @aux_base_name, align 8, !tbaa !6
br label %31
31: ; preds = %29, %18
%32 = load i32, ptr @align_loops, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %31
store i32 1, ptr @align_loops, align 4, !tbaa !14
br label %35
35: ; preds = %34, %31
%36 = phi i32 [ 1, %34 ], [ %32, %31 ]
%37 = load i32, ptr @align_loops_max_skip, align 4, !tbaa !14
%38 = icmp sgt i32 %37, %36
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = add nsw i32 %36, -1
store i32 %40, ptr @align_loops_max_skip, align 4, !tbaa !14
br label %41
41: ; preds = %35, %39
%42 = shl nuw nsw i32 %36, 1
%43 = add nsw i32 %42, -1
%44 = tail call ptr @floor_log2(i32 noundef %43) #2
store ptr %44, ptr @align_loops_log, align 8, !tbaa !6
%45 = load i32, ptr @align_jumps, align 4
%46 = icmp slt i32 %45, 1
br i1 %46, label %47, label %48
47: ; preds = %41
store i32 1, ptr @align_jumps, align 4, !tbaa !14
br label %48
48: ; preds = %47, %41
%49 = phi i32 [ 1, %47 ], [ %45, %41 ]
%50 = load i32, ptr @align_jumps_max_skip, align 4, !tbaa !14
%51 = icmp sgt i32 %50, %49
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = add nsw i32 %49, -1
store i32 %53, ptr @align_jumps_max_skip, align 4, !tbaa !14
br label %54
54: ; preds = %48, %52
%55 = shl nuw nsw i32 %49, 1
%56 = add nsw i32 %55, -1
%57 = tail call ptr @floor_log2(i32 noundef %56) #2
store ptr %57, ptr @align_jumps_log, align 8, !tbaa !6
%58 = load i32, ptr @align_labels, align 4, !tbaa !14
%59 = icmp slt i32 %58, 1
br i1 %59, label %60, label %61
60: ; preds = %54
store i32 1, ptr @align_labels, align 4, !tbaa !14
br label %61
61: ; preds = %60, %54
%62 = phi i32 [ 1, %60 ], [ %58, %54 ]
%63 = shl nuw nsw i32 %62, 1
%64 = add nsw i32 %63, -1
%65 = tail call ptr @floor_log2(i32 noundef %64) #2
store ptr %65, ptr @align_labels_log, align 8, !tbaa !6
%66 = load i32, ptr @align_labels_max_skip, align 4, !tbaa !14
%67 = load i32, ptr @align_labels, align 4
%68 = icmp sle i32 %66, %67
%69 = icmp ne i32 %67, 0
%70 = and i1 %68, %69
br i1 %70, label %73, label %71
71: ; preds = %61
%72 = add nsw i32 %67, -1
store i32 %72, ptr @align_labels_max_skip, align 4, !tbaa !14
br label %73
73: ; preds = %61, %71
%74 = load i32, ptr @align_functions, align 4, !tbaa !14
%75 = icmp slt i32 %74, 1
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, ptr @align_functions, align 4, !tbaa !14
br label %77
77: ; preds = %76, %73
%78 = phi i32 [ 1, %76 ], [ %74, %73 ]
%79 = shl nuw nsw i32 %78, 1
%80 = add nsw i32 %79, -1
%81 = tail call ptr @floor_log2(i32 noundef %80) #2
store ptr %81, ptr @align_functions_log, align 8, !tbaa !6
%82 = load i64, ptr @flag_unroll_all_loops, align 8, !tbaa !15
%83 = icmp eq i64 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %77
store i32 1, ptr @flag_unroll_loops, align 4, !tbaa !14
br label %85
85: ; preds = %84, %77
%86 = load i32, ptr @flag_rerun_cse_after_loop, align 4, !tbaa !14
%87 = load i32, ptr @AUTODETECT_VALUE, align 4, !tbaa !14
%88 = icmp eq i32 %86, %87
br i1 %88, label %89, label %96
89: ; preds = %85
%90 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !14
%91 = icmp ne i32 %90, 0
%92 = load i64, ptr @flag_peel_loops, align 8
%93 = icmp ne i64 %92, 0
%94 = select i1 %91, i1 true, i1 %93
%95 = zext i1 %94 to i32
store i32 %95, ptr @flag_rerun_cse_after_loop, align 4, !tbaa !14
br label %96
96: ; preds = %89, %85
%97 = load i32, ptr @flag_web, align 4, !tbaa !14
%98 = icmp eq i32 %97, %87
br i1 %98, label %99, label %106
99: ; preds = %96
%100 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !14
%101 = icmp ne i32 %100, 0
%102 = load i64, ptr @flag_peel_loops, align 8
%103 = icmp ne i64 %102, 0
%104 = select i1 %101, i1 true, i1 %103
%105 = zext i1 %104 to i32
store i32 %105, ptr @flag_web, align 4, !tbaa !14
br label %106
106: ; preds = %99, %96
%107 = load i32, ptr @flag_rename_registers, align 4, !tbaa !14
%108 = icmp eq i32 %107, %87
br i1 %108, label %109, label %116
109: ; preds = %106
%110 = load i32, ptr @flag_unroll_loops, align 4, !tbaa !14
%111 = icmp ne i32 %110, 0
%112 = load i64, ptr @flag_peel_loops, align 8
%113 = icmp ne i64 %112, 0
%114 = select i1 %111, i1 true, i1 %113
%115 = zext i1 %114 to i32
store i32 %115, ptr @flag_rename_registers, align 4, !tbaa !14
br label %116
116: ; preds = %109, %106
%117 = load i64, ptr @flag_non_call_exceptions, align 8, !tbaa !15
%118 = icmp eq i64 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %116
store i32 1, ptr @flag_asynchronous_unwind_tables, align 4, !tbaa !14
br label %123
120: ; preds = %116
%121 = load i32, ptr @flag_asynchronous_unwind_tables, align 4, !tbaa !14
%122 = icmp eq i32 %121, 0
br i1 %122, label %124, label %123
123: ; preds = %119, %120
store i32 1, ptr @flag_unwind_tables, align 4, !tbaa !14
br label %124
124: ; preds = %123, %120
%125 = load i64, ptr @flag_unit_at_a_time, align 8, !tbaa !15
%126 = icmp eq i64 %125, 0
%127 = load i32, ptr @lang_hooks, align 8
%128 = icmp ne i32 %127, 0
%129 = select i1 %126, i1 true, i1 %128
br i1 %129, label %131, label %130
130: ; preds = %124
store i64 0, ptr @flag_unit_at_a_time, align 8, !tbaa !15
br label %132
131: ; preds = %124
br i1 %126, label %132, label %133
132: ; preds = %130, %131
store i64 0, ptr @flag_section_anchors, align 8, !tbaa !15
br label %133
133: ; preds = %132, %131
%134 = load i64, ptr @flag_value_profile_transformations, align 8, !tbaa !15
%135 = icmp eq i64 %134, 0
br i1 %135, label %137, label %136
136: ; preds = %133
store i32 1, ptr @flag_profile_values, align 4, !tbaa !14
br label %137
137: ; preds = %136, %133
%138 = load i64, ptr @flag_schedule_insns, align 8, !tbaa !15
%139 = icmp ne i64 %138, 0
%140 = load i64, ptr @flag_schedule_insns_after_reload, align 8
%141 = icmp ne i64 %140, 0
%142 = select i1 %139, i1 true, i1 %141
br i1 %142, label %143, label %145
143: ; preds = %137
%144 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.3) #2
br label %145
145: ; preds = %137, %143
%146 = load i64, ptr @flag_delayed_branch, align 8, !tbaa !15
%147 = icmp eq i64 %146, 0
br i1 %147, label %150, label %148
148: ; preds = %145
%149 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.4) #2
br label %150
150: ; preds = %148, %145
%151 = load ptr, ptr @USER_LABEL_PREFIX, align 8, !tbaa !6
store ptr %151, ptr @user_label_prefix, align 8, !tbaa !6
%152 = load i32, ptr @flag_leading_underscore, align 4, !tbaa !14
%153 = icmp eq i32 %152, -1
br i1 %153, label %167, label %154
154: ; preds = %150
%155 = load i8, ptr %151, align 1, !tbaa !19
switch i8 %155, label %163 [
i8 0, label %160
i8 95, label %156
]
156: ; preds = %154
%157 = getelementptr inbounds i8, ptr %151, i64 1
%158 = load i8, ptr %157, align 1, !tbaa !19
%159 = icmp eq i8 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %154, %156
%161 = icmp eq i32 %152, 0
%162 = select i1 %161, ptr @.str.6, ptr @.str.5
store ptr %162, ptr @user_label_prefix, align 8, !tbaa !6
br label %167
163: ; preds = %154, %156
%164 = icmp eq i32 %152, 0
%165 = select i1 %164, ptr @.str.8, ptr @.str.6
%166 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %165) #2
br label %167
167: ; preds = %160, %163, %150
%168 = load i64, ptr @version_flag, align 8, !tbaa !15
%169 = icmp eq i64 %168, 0
br i1 %169, label %179, label %170
170: ; preds = %167
%171 = load i32, ptr @stderr, align 4, !tbaa !14
%172 = tail call i32 @print_version(i32 noundef %171, ptr noundef nonnull @.str.6) #2
%173 = load i32, ptr @quiet_flag, align 4, !tbaa !14
%174 = icmp eq i32 %173, 0
br i1 %174, label %175, label %179
175: ; preds = %170
%176 = load i32, ptr @stderr, align 4, !tbaa !14
%177 = load i32, ptr @MAX_LINE, align 4, !tbaa !14
%178 = tail call i32 @print_switch_values(i32 noundef %176, i32 noundef 0, i32 noundef %177, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #2
br label %179
179: ; preds = %170, %175, %167
%180 = load i64, ptr @flag_syntax_only, align 8, !tbaa !15
%181 = icmp eq i64 %180, 0
%182 = load i64, ptr @NO_DEBUG, align 8, !tbaa !15
br i1 %181, label %184, label %183
183: ; preds = %179
store i64 %182, ptr @write_symbols, align 8, !tbaa !15
store i64 0, ptr @profile_flag, align 8, !tbaa !15
br label %184
184: ; preds = %183, %179
%185 = load i64, ptr @debug_info_level, align 8, !tbaa !15
%186 = load i64, ptr @DINFO_LEVEL_NONE, align 8, !tbaa !15
%187 = icmp eq i64 %185, %186
br i1 %187, label %188, label %189
188: ; preds = %184
store i64 %182, ptr @write_symbols, align 8, !tbaa !15
br label %189
189: ; preds = %188, %184
%190 = load i64, ptr @PREFERRED_DEBUGGING_TYPE, align 8, !tbaa !15
%191 = icmp eq i64 %190, %182
br i1 %191, label %192, label %193
192: ; preds = %189
store ptr @do_nothing_debug_hooks, ptr @default_debug_hooks, align 8, !tbaa !6
br label %193
193: ; preds = %192, %189
%194 = load i64, ptr @write_symbols, align 8, !tbaa !15
%195 = icmp eq i64 %194, %182
br i1 %195, label %202, label %196
196: ; preds = %193
%197 = load ptr, ptr @debug_type_names, align 8, !tbaa !6
%198 = getelementptr inbounds i32, ptr %197, i64 %194
%199 = load i32, ptr %198, align 4, !tbaa !14
%200 = tail call i32 @error(ptr noundef nonnull @.str.11, i32 noundef %199) #2
%201 = load i64, ptr @debug_info_level, align 8, !tbaa !15
br label %202
202: ; preds = %193, %196
%203 = phi i64 [ %185, %193 ], [ %201, %196 ]
%204 = load i64, ptr @DINFO_LEVEL_NORMAL, align 8, !tbaa !15
%205 = icmp slt i64 %203, %204
br i1 %205, label %211, label %206
206: ; preds = %202
%207 = load ptr, ptr @debug_hooks, align 8, !tbaa !6
%208 = load i64, ptr %207, align 8, !tbaa !20
%209 = load i64, ptr @do_nothing_debug_hooks, align 8, !tbaa !20
%210 = icmp eq i64 %208, %209
br i1 %210, label %214, label %221
211: ; preds = %202
%212 = load i32, ptr @flag_var_tracking, align 4, !tbaa !14
%213 = icmp eq i32 %212, 1
br i1 %213, label %217, label %220
214: ; preds = %206
%215 = load i32, ptr @flag_var_tracking, align 4, !tbaa !14
%216 = icmp eq i32 %215, 1
br i1 %216, label %217, label %220
217: ; preds = %214, %211
%218 = phi ptr [ @.str.12, %211 ], [ @.str.13, %214 ]
%219 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull %218) #2
br label %220
220: ; preds = %217, %214, %211
store i32 0, ptr @flag_var_tracking, align 4, !tbaa !14
br label %221
221: ; preds = %220, %206
%222 = load i32, ptr @flag_rename_registers, align 4, !tbaa !14
%223 = load i32, ptr @AUTODETECT_VALUE, align 4, !tbaa !14
%224 = icmp eq i32 %222, %223
br i1 %224, label %225, label %231
225: ; preds = %221
%226 = load ptr, ptr @default_debug_hooks, align 8, !tbaa !6
%227 = load i64, ptr %226, align 8, !tbaa !20
%228 = load i64, ptr @do_nothing_debug_hooks, align 8, !tbaa !20
%229 = icmp ne i64 %227, %228
%230 = zext i1 %229 to i32
store i32 %230, ptr @flag_rename_registers, align 4, !tbaa !14
br label %231
231: ; preds = %225, %221
%232 = load i32, ptr @flag_var_tracking, align 4, !tbaa !14
%233 = icmp eq i32 %232, %223
br i1 %233, label %234, label %238
234: ; preds = %231
%235 = load i32, ptr @optimize, align 4, !tbaa !14
%236 = icmp sgt i32 %235, 0
%237 = zext i1 %236 to i32
store i32 %237, ptr @flag_var_tracking, align 4, !tbaa !14
br label %238
238: ; preds = %234, %231
%239 = load i64, ptr @flag_gen_aux_info, align 8, !tbaa !15
%240 = icmp eq i64 %239, 0
br i1 %240, label %248, label %241
241: ; preds = %238
%242 = load i32, ptr @aux_info_file_name, align 4, !tbaa !14
%243 = tail call i64 @fopen(i32 noundef %242, ptr noundef nonnull @.str.14) #2
store i64 %243, ptr @aux_info_file, align 8, !tbaa !15
%244 = icmp eq i64 %243, 0
br i1 %244, label %245, label %248
245: ; preds = %241
%246 = load i32, ptr @aux_info_file_name, align 4, !tbaa !14
%247 = tail call i32 @fatal_error(ptr noundef nonnull @.str.15, i32 noundef %246) #2
br label %248
248: ; preds = %241, %245, %238
%249 = load i32, ptr getelementptr inbounds (i8, ptr @targetm, i64 8), align 8, !tbaa !22
%250 = icmp eq i32 %249, 0
%251 = load i64, ptr @flag_function_sections, align 8, !tbaa !15
br i1 %250, label %252, label %262
252: ; preds = %248
%253 = icmp eq i64 %251, 0
br i1 %253, label %256, label %254
254: ; preds = %252
%255 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.16) #2
store i64 0, ptr @flag_function_sections, align 8, !tbaa !15
br label %256
256: ; preds = %254, %252
%257 = load i64, ptr @flag_data_sections, align 8, !tbaa !15
%258 = icmp eq i64 %257, 0
br i1 %258, label %270, label %259
259: ; preds = %256
%260 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.17) #2
store i64 0, ptr @flag_data_sections, align 8, !tbaa !15
%261 = load i64, ptr @flag_function_sections, align 8, !tbaa !15
br label %262
262: ; preds = %259, %248
%263 = phi i64 [ %261, %259 ], [ %251, %248 ]
%264 = icmp ne i64 %263, 0
%265 = load i64, ptr @profile_flag, align 8
%266 = icmp ne i64 %265, 0
%267 = select i1 %264, i1 %266, i1 false
br i1 %267, label %268, label %270
268: ; preds = %262
%269 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.18) #2
store i64 0, ptr @flag_function_sections, align 8, !tbaa !15
br label %270
270: ; preds = %256, %268, %262
%271 = load i64, ptr @flag_prefetch_loop_arrays, align 8, !tbaa !15
%272 = icmp eq i64 %271, 0
br i1 %272, label %275, label %273
273: ; preds = %270
%274 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.19) #2
store i64 0, ptr @flag_prefetch_loop_arrays, align 8, !tbaa !15
br label %275
275: ; preds = %273, %270
%276 = load i64, ptr @flag_function_sections, align 8, !tbaa !15
%277 = icmp eq i64 %276, 0
br i1 %277, label %284, label %278
278: ; preds = %275
%279 = load i64, ptr @write_symbols, align 8, !tbaa !15
%280 = load i64, ptr @NO_DEBUG, align 8, !tbaa !15
%281 = icmp eq i64 %279, %280
br i1 %281, label %284, label %282
282: ; preds = %278
%283 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.21) #2
br label %284
284: ; preds = %282, %278, %275
%285 = load i64, ptr @flag_signaling_nans, align 8, !tbaa !15
%286 = icmp eq i64 %285, 0
br i1 %286, label %288, label %287
287: ; preds = %284
store i32 1, ptr @flag_trapping_math, align 4, !tbaa !14
br label %288
288: ; preds = %287, %284
%289 = load i64, ptr @flag_cx_limited_range, align 8, !tbaa !15
%290 = icmp eq i64 %289, 0
br i1 %290, label %292, label %291
291: ; preds = %288
store i64 0, ptr @flag_complex_method, align 8, !tbaa !15
br label %292
292: ; preds = %291, %288
%293 = load i32, ptr @FRAME_GROWS_DOWNWARD, align 4, !tbaa !14
%294 = icmp eq i32 %293, 0
%295 = load i64, ptr @flag_stack_protect, align 8
%296 = icmp ne i64 %295, 0
%297 = select i1 %294, i1 %296, i1 false
br i1 %297, label %298, label %300
298: ; preds = %292
%299 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.22) #2
store i64 0, ptr @flag_stack_protect, align 8, !tbaa !15
br label %302
300: ; preds = %292
%301 = icmp eq i64 %295, 0
br i1 %301, label %302, label %303
302: ; preds = %298, %300
store i64 0, ptr @warn_stack_protect, align 8, !tbaa !15
br label %303
303: ; preds = %302, %300
%304 = load i32, ptr @flag_unwind_tables, align 4, !tbaa !14
%305 = icmp ne i32 %304, 0
%306 = load i32, ptr @ACCUMULATE_OUTGOING_ARGS, align 4
%307 = icmp eq i32 %306, 0
%308 = select i1 %305, i1 %307, i1 false
%309 = load i64, ptr @flag_omit_frame_pointer, align 8
%310 = icmp ne i64 %309, 0
%311 = select i1 %308, i1 %310, i1 false
br i1 %311, label %312, label %314
312: ; preds = %303
%313 = tail call i32 (i32, ptr, ...) @warning(i32 noundef 0, ptr noundef nonnull @.str.23) #2
store i64 0, ptr @flag_omit_frame_pointer, align 8, !tbaa !15
br label %314
314: ; preds = %312, %303
ret void
}
declare i32 @target_supports_section_anchors_p(...) local_unnamed_addr #1
declare i32 @warning(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #1
declare i32 @lbasename(i64 noundef) local_unnamed_addr #1
declare i32 @strip_off_ending(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare ptr @floor_log2(i32 noundef) local_unnamed_addr #1
declare i32 @print_version(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @print_switch_values(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fopen(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fatal_error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_15__", !12, i64 0, !7, i64 8}
!12 = !{!"TYPE_12__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_14__", !7, i64 0, !13, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !16, i64 0}
!21 = !{!"TYPE_13__", !16, i64 0}
!22 = !{!18, !13, i64 8}
| freebsd_contrib_gcc_extr_toplev.c_process_options |
; ModuleID = 'AnghaBench/linux/fs/autofs/extr_expire.c_autofs_tree_busy.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_expire.c_autofs_tree_busy.c"
target datalayout = "e-m:e-p270:32:32-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.autofs_info = type { ptr, i32 }
@.str = private unnamed_addr constant [12 x i8] c"top %p %pd\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"dentry %p %pd\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global ptr null, align 8
@AUTOFS_EXP_FORCED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @autofs_tree_busy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @autofs_tree_busy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @autofs_dentry_ino(ptr noundef %1) #2
%6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %1) #2
%7 = tail call i32 @simple_positive(ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %46, label %9
9: ; preds = %4
%10 = tail call ptr @get_next_positive_dentry(ptr noundef null, ptr noundef %1) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %9, %35
%13 = phi ptr [ %36, %35 ], [ %10, %9 ]
%14 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %13, ptr noundef nonnull %13) #2
%15 = tail call i64 @d_mountpoint(ptr noundef nonnull %13) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %12
%18 = tail call i64 @autofs_mount_busy(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %3) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %35, label %20
20: ; preds = %17
%21 = load ptr, ptr @jiffies, align 8, !tbaa !5
store ptr %21, ptr %5, align 8, !tbaa !9
%22 = tail call i32 @dput(ptr noundef nonnull %13) #2
br label %46
23: ; preds = %12
%24 = tail call ptr @autofs_dentry_ino(ptr noundef nonnull %13) #2
%25 = getelementptr inbounds %struct.autofs_info, ptr %24, i64 0, i32 1
%26 = tail call i32 @atomic_read(ptr noundef nonnull %25) #2
%27 = icmp eq ptr %13, %1
%28 = select i1 %27, i32 2, i32 1
%29 = add i32 %26, %28
%30 = tail call i32 @d_count(ptr noundef nonnull %13) #2
%31 = icmp ugt i32 %30, %29
br i1 %31, label %32, label %35
32: ; preds = %23
%33 = load ptr, ptr @jiffies, align 8, !tbaa !5
store ptr %33, ptr %5, align 8, !tbaa !9
%34 = tail call i32 @dput(ptr noundef nonnull %13) #2
br label %46
35: ; preds = %23, %17
%36 = tail call ptr @get_next_positive_dentry(ptr noundef nonnull %13, ptr noundef %1) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %12, !llvm.loop !12
38: ; preds = %35, %9
%39 = load i32, ptr @AUTOFS_EXP_FORCED, align 4, !tbaa !14
%40 = and i32 %39, %3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = tail call i32 @autofs_can_expire(ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
%44 = icmp eq i32 %43, 0
%45 = zext i1 %44 to i32
br label %46
46: ; preds = %32, %42, %38, %4, %20
%47 = phi i32 [ 1, %20 ], [ 1, %32 ], [ 1, %4 ], [ 0, %38 ], [ %45, %42 ]
ret i32 %47
}
declare ptr @autofs_dentry_ino(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @simple_positive(ptr noundef) local_unnamed_addr #1
declare ptr @get_next_positive_dentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @d_mountpoint(ptr noundef) local_unnamed_addr #1
declare i64 @autofs_mount_busy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dput(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @d_count(ptr noundef) local_unnamed_addr #1
declare i32 @autofs_can_expire(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"autofs_info", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/autofs/extr_expire.c_autofs_tree_busy.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_expire.c_autofs_tree_busy.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 [12 x i8] c"top %p %pd\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"dentry %p %pd\0A\00", align 1
@jiffies = common local_unnamed_addr global ptr null, align 8
@AUTOFS_EXP_FORCED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @autofs_tree_busy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @autofs_tree_busy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @autofs_dentry_ino(ptr noundef %1) #2
%6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %1) #2
%7 = tail call i32 @simple_positive(ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %46, label %9
9: ; preds = %4
%10 = tail call ptr @get_next_positive_dentry(ptr noundef null, ptr noundef %1) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %9, %35
%13 = phi ptr [ %36, %35 ], [ %10, %9 ]
%14 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %13, ptr noundef nonnull %13) #2
%15 = tail call i64 @d_mountpoint(ptr noundef nonnull %13) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %12
%18 = tail call i64 @autofs_mount_busy(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %3) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %35, label %20
20: ; preds = %17
%21 = load ptr, ptr @jiffies, align 8, !tbaa !6
store ptr %21, ptr %5, align 8, !tbaa !10
%22 = tail call i32 @dput(ptr noundef nonnull %13) #2
br label %46
23: ; preds = %12
%24 = tail call ptr @autofs_dentry_ino(ptr noundef nonnull %13) #2
%25 = getelementptr inbounds i8, ptr %24, i64 8
%26 = tail call i32 @atomic_read(ptr noundef nonnull %25) #2
%27 = icmp eq ptr %13, %1
%28 = select i1 %27, i32 2, i32 1
%29 = add i32 %26, %28
%30 = tail call i32 @d_count(ptr noundef nonnull %13) #2
%31 = icmp ugt i32 %30, %29
br i1 %31, label %32, label %35
32: ; preds = %23
%33 = load ptr, ptr @jiffies, align 8, !tbaa !6
store ptr %33, ptr %5, align 8, !tbaa !10
%34 = tail call i32 @dput(ptr noundef nonnull %13) #2
br label %46
35: ; preds = %23, %17
%36 = tail call ptr @get_next_positive_dentry(ptr noundef nonnull %13, ptr noundef %1) #2
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %12, !llvm.loop !13
38: ; preds = %35, %9
%39 = load i32, ptr @AUTOFS_EXP_FORCED, align 4, !tbaa !15
%40 = and i32 %39, %3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = tail call i32 @autofs_can_expire(ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
%44 = icmp eq i32 %43, 0
%45 = zext i1 %44 to i32
br label %46
46: ; preds = %32, %42, %38, %4, %20
%47 = phi i32 [ 1, %20 ], [ 1, %32 ], [ 1, %4 ], [ 0, %38 ], [ %45, %42 ]
ret i32 %47
}
declare ptr @autofs_dentry_ino(ptr noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @simple_positive(ptr noundef) local_unnamed_addr #1
declare ptr @get_next_positive_dentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @d_mountpoint(ptr noundef) local_unnamed_addr #1
declare i64 @autofs_mount_busy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dput(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @d_count(ptr noundef) local_unnamed_addr #1
declare i32 @autofs_can_expire(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"autofs_info", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!12, !12, i64 0}
| linux_fs_autofs_extr_expire.c_autofs_tree_busy |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_timeout_connect_listen.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_timeout_connect_listen.c"
target datalayout = "e-m:e-p270:32:32-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.p2p_data = type { ptr, i64 }
@.str = private unnamed_addr constant [57 x i8] c"Driver is still in Listen state; wait for it to complete\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Timeout on sending GO Negotiation Request without getting response\00", align 1
@P2P_CONNECT = dso_local local_unnamed_addr global i32 0, align 4
@P2P_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @p2p_timeout_connect_listen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @p2p_timeout_connect_listen(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.p2p_data, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 @p2p_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %24
10: ; preds = %4
%11 = load i32, ptr %2, align 4, !tbaa !12
%12 = icmp sgt i32 %11, 119
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = tail call i32 @p2p_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%15 = tail call i32 @p2p_go_neg_failed(ptr noundef nonnull %0, i32 noundef -1) #2
br label %24
16: ; preds = %10
%17 = load i32, ptr @P2P_CONNECT, align 4, !tbaa !15
%18 = tail call i32 @p2p_set_state(ptr noundef nonnull %0, i32 noundef %17) #2
%19 = load ptr, ptr %0, align 8, !tbaa !5
%20 = tail call i32 @p2p_connect_send(ptr noundef nonnull %0, ptr noundef %19) #2
br label %24
21: ; preds = %1
%22 = load i32, ptr @P2P_IDLE, align 4, !tbaa !15
%23 = tail call i32 @p2p_set_state(ptr noundef nonnull %0, i32 noundef %22) #2
br label %24
24: ; preds = %8, %13, %21, %16
ret void
}
declare i32 @p2p_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_go_neg_failed(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_connect_send(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 = !{!"p2p_data", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_timeout_connect_listen.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_timeout_connect_listen.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 [57 x i8] c"Driver is still in Listen state; wait for it to complete\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Timeout on sending GO Negotiation Request without getting response\00", align 1
@P2P_CONNECT = common local_unnamed_addr global i32 0, align 4
@P2P_IDLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @p2p_timeout_connect_listen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @p2p_timeout_connect_listen(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 @p2p_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %24
10: ; preds = %4
%11 = load i32, ptr %2, align 4, !tbaa !13
%12 = icmp sgt i32 %11, 119
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = tail call i32 @p2p_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%15 = tail call i32 @p2p_go_neg_failed(ptr noundef nonnull %0, i32 noundef -1) #2
br label %24
16: ; preds = %10
%17 = load i32, ptr @P2P_CONNECT, align 4, !tbaa !16
%18 = tail call i32 @p2p_set_state(ptr noundef nonnull %0, i32 noundef %17) #2
%19 = load ptr, ptr %0, align 8, !tbaa !6
%20 = tail call i32 @p2p_connect_send(ptr noundef nonnull %0, ptr noundef %19) #2
br label %24
21: ; preds = %1
%22 = load i32, ptr @P2P_IDLE, align 4, !tbaa !16
%23 = tail call i32 @p2p_set_state(ptr noundef nonnull %0, i32 noundef %22) #2
br label %24
24: ; preds = %8, %13, %21, %16
ret void
}
declare i32 @p2p_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @p2p_go_neg_failed(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_connect_send(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 = !{!"p2p_data", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
| freebsd_contrib_wpa_src_p2p_extr_p2p.c_p2p_timeout_connect_listen |
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_host_rescan_store.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_host_rescan_store.c"
target datalayout = "e-m:e-p270:32:32-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 @pqi_host_rescan_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @pqi_host_rescan_store(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @class_to_shost(ptr noundef %0) #2
%6 = tail call i32 @pqi_scan_start(ptr noundef %5) #2
ret i64 %3
}
declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1
declare i32 @pqi_scan_start(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/scsi/smartpqi/extr_smartpqi_init.c_pqi_host_rescan_store.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_host_rescan_store.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 @pqi_host_rescan_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @pqi_host_rescan_store(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @class_to_shost(ptr noundef %0) #2
%6 = tail call i32 @pqi_scan_start(ptr noundef %5) #2
ret i64 %3
}
declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1
declare i32 @pqi_scan_start(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_scsi_smartpqi_extr_smartpqi_init.c_pqi_host_rescan_store |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_opt.c_ZSTD_totalLen.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_opt.c_ZSTD_totalLen.c"
target datalayout = "e-m:e-p270:32:32-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 @ZSTD_totalLen], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @ZSTD_totalLen(i64 %0, i64 %1) #0 {
%3 = add nsw i64 %1, %0
ret i64 %3
}
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/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_opt.c_ZSTD_totalLen.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_opt.c_ZSTD_totalLen.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 @ZSTD_totalLen], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i64 @ZSTD_totalLen([2 x i64] %0) #0 {
%2 = extractvalue [2 x i64] %0, 0
%3 = extractvalue [2 x i64] %0, 1
%4 = add nsw i64 %3, %2
ret i64 %4
}
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)"}
| reactos_drivers_filesystems_btrfs_zstd_extr_zstd_opt.c_ZSTD_totalLen |
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-condvar.c_cv_timedwait_sig_hires.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-condvar.c_cv_timedwait_sig_hires.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TASK_INTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @cv_timedwait_sig_hires(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !5
%7 = tail call i32 @cv_timedwait_hires_common(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @cv_timedwait_hires_common(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-condvar.c_cv_timedwait_sig_hires.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-condvar.c_cv_timedwait_sig_hires.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TASK_INTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @cv_timedwait_sig_hires(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !6
%7 = tail call i32 @cv_timedwait_hires_common(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @cv_timedwait_hires_common(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| zfs_module_os_linux_spl_extr_spl-condvar.c_cv_timedwait_sig_hires |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7475.c_adt7475_detect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7475.c_adt7475_detect.c"
target datalayout = "e-m:e-p270:32:32-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.i2c_client = type { i64, ptr }
@I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@REG_VENDID = dso_local local_unnamed_addr global i32 0, align 4
@REG_DEVID = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"Couldn't detect a adt7475 part at 0x%02x\0A\00", align 1
@adt7475_id = dso_local local_unnamed_addr global ptr null, align 8
@I2C_NAME_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @adt7475_detect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @adt7475_detect(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !11
%7 = tail call i32 @i2c_check_functionality(ptr noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENODEV, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %34
12: ; preds = %3
%13 = icmp slt i32 %1, 1
br i1 %13, label %14, label %28
14: ; preds = %12
%15 = load i32, ptr @REG_VENDID, align 4, !tbaa !11
%16 = tail call i32 @adt7475_read(i32 noundef %15) #2
%17 = icmp eq i32 %16, 65
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr @REG_DEVID, align 4, !tbaa !11
%20 = tail call i32 @adt7475_read(i32 noundef %19) #2
%21 = icmp eq i32 %20, 117
br i1 %21, label %28, label %22
22: ; preds = %18, %14
%23 = load i64, ptr %0, align 8, !tbaa !13
%24 = trunc i64 %23 to i32
%25 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %24) #2
%26 = load i32, ptr @ENODEV, align 4, !tbaa !11
%27 = sub nsw i32 0, %26
br label %34
28: ; preds = %18, %12
%29 = load i32, ptr %2, align 4, !tbaa !14
%30 = load ptr, ptr @adt7475_id, align 8, !tbaa !16
%31 = load i32, ptr %30, align 4, !tbaa !17
%32 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !11
%33 = tail call i32 @strlcpy(i32 noundef %29, i32 noundef %31, i32 noundef %32) #2
br label %34
34: ; preds = %28, %22, %9
%35 = phi i32 [ %27, %22 ], [ 0, %28 ], [ %11, %9 ]
ret i32 %35
}
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @adt7475_read(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"i2c_client", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"i2c_board_info", !12, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_2__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7475.c_adt7475_detect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7475.c_adt7475_detect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@REG_VENDID = common local_unnamed_addr global i32 0, align 4
@REG_DEVID = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"Couldn't detect a adt7475 part at 0x%02x\0A\00", align 1
@adt7475_id = common local_unnamed_addr global ptr null, align 8
@I2C_NAME_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @adt7475_detect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @adt7475_detect(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !12
%7 = tail call i32 @i2c_check_functionality(ptr noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENODEV, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %34
12: ; preds = %3
%13 = icmp slt i32 %1, 1
br i1 %13, label %14, label %28
14: ; preds = %12
%15 = load i32, ptr @REG_VENDID, align 4, !tbaa !12
%16 = tail call i32 @adt7475_read(i32 noundef %15) #2
%17 = icmp eq i32 %16, 65
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr @REG_DEVID, align 4, !tbaa !12
%20 = tail call i32 @adt7475_read(i32 noundef %19) #2
%21 = icmp eq i32 %20, 117
br i1 %21, label %28, label %22
22: ; preds = %18, %14
%23 = load i64, ptr %0, align 8, !tbaa !14
%24 = trunc i64 %23 to i32
%25 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %24) #2
%26 = load i32, ptr @ENODEV, align 4, !tbaa !12
%27 = sub nsw i32 0, %26
br label %34
28: ; preds = %18, %12
%29 = load i32, ptr %2, align 4, !tbaa !15
%30 = load ptr, ptr @adt7475_id, align 8, !tbaa !17
%31 = load i32, ptr %30, align 4, !tbaa !18
%32 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !12
%33 = tail call i32 @strlcpy(i32 noundef %29, i32 noundef %31, i32 noundef %32) #2
br label %34
34: ; preds = %28, %22, %9
%35 = phi i32 [ %27, %22 ], [ 0, %28 ], [ %11, %9 ]
ret i32 %35
}
declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @adt7475_read(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"i2c_client", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"i2c_board_info", !13, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_2__", !13, i64 0}
| fastsocket_kernel_drivers_hwmon_extr_adt7475.c_adt7475_detect |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_control.c_is_safe_filename.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_control.c_is_safe_filename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@is_safe_filename.chclass = internal unnamed_addr constant [8 x i32] [i32 0, i32 0, i32 679477248, i32 1048575, i32 -4, i32 -1069547521, i32 -4, i32 4194303], align 16
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @is_safe_filename(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %42, label %3
3: ; preds = %1
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %42, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 1
%8 = ashr i8 %4, 4
%9 = icmp ugt i8 %8, 7
br i1 %9, label %42, label %10
10: ; preds = %6
%11 = zext nneg i8 %8 to i64
%12 = getelementptr inbounds [8 x i32], ptr @is_safe_filename.chclass, i64 0, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !8
%14 = sext i8 %4 to i32
%15 = shl nsw i32 %14, 1
%16 = and i32 %15, 30
%17 = shl nuw nsw i32 1, %16
%18 = and i32 %13, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %42, label %20, !llvm.loop !10
20: ; preds = %10
%21 = load i8, ptr %7, align 1, !tbaa !5
%22 = icmp eq i8 %21, 0
br i1 %22, label %42, label %26
23: ; preds = %32
%24 = load i8, ptr %29, align 1, !tbaa !5
%25 = icmp eq i8 %24, 0
br i1 %25, label %42, label %26, !llvm.loop !12
26: ; preds = %20, %23
%27 = phi ptr [ %29, %23 ], [ %7, %20 ]
%28 = phi i8 [ %24, %23 ], [ %21, %20 ]
%29 = getelementptr inbounds i8, ptr %27, i64 1
%30 = ashr i8 %28, 4
%31 = icmp ugt i8 %30, 7
br i1 %31, label %42, label %32
32: ; preds = %26
%33 = zext nneg i8 %30 to i64
%34 = getelementptr inbounds [8 x i32], ptr @is_safe_filename.chclass, i64 0, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !8
%36 = sext i8 %28 to i32
%37 = shl nsw i32 %36, 1
%38 = and i32 %37, 30
%39 = ashr i32 %35, %38
%40 = and i32 %39, 2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %23, !llvm.loop !10
42: ; preds = %23, %32, %26, %6, %10, %20, %1, %3
%43 = phi ptr [ @FALSE, %3 ], [ @FALSE, %1 ], [ @FALSE, %6 ], [ @FALSE, %10 ], [ @TRUE, %20 ], [ @FALSE, %26 ], [ @FALSE, %32 ], [ @TRUE, %23 ]
%44 = load i32, ptr %43, align 4, !tbaa !8
ret i32 %44
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.peeled.count", i32 1}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_control.c_is_safe_filename.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_control.c_is_safe_filename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@is_safe_filename.chclass = internal unnamed_addr constant [8 x i32] [i32 0, i32 0, i32 679477248, i32 1048575, i32 -4, i32 -1069547521, i32 -4, i32 4194303], align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @is_safe_filename(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %42, label %3
3: ; preds = %1
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %42, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 1
%8 = ashr i8 %4, 4
%9 = icmp ugt i8 %8, 7
br i1 %9, label %42, label %10
10: ; preds = %6
%11 = zext nneg i8 %8 to i64
%12 = getelementptr inbounds [8 x i32], ptr @is_safe_filename.chclass, i64 0, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !9
%14 = sext i8 %4 to i32
%15 = shl nsw i32 %14, 1
%16 = and i32 %15, 30
%17 = shl nuw nsw i32 1, %16
%18 = and i32 %13, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %42, label %20, !llvm.loop !11
20: ; preds = %10
%21 = load i8, ptr %7, align 1, !tbaa !6
%22 = icmp eq i8 %21, 0
br i1 %22, label %42, label %26
23: ; preds = %32
%24 = load i8, ptr %29, align 1, !tbaa !6
%25 = icmp eq i8 %24, 0
br i1 %25, label %42, label %26, !llvm.loop !13
26: ; preds = %20, %23
%27 = phi ptr [ %29, %23 ], [ %7, %20 ]
%28 = phi i8 [ %24, %23 ], [ %21, %20 ]
%29 = getelementptr inbounds i8, ptr %27, i64 1
%30 = ashr i8 %28, 4
%31 = icmp ugt i8 %30, 7
br i1 %31, label %42, label %32
32: ; preds = %26
%33 = zext nneg i8 %30 to i64
%34 = getelementptr inbounds [8 x i32], ptr @is_safe_filename.chclass, i64 0, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !9
%36 = sext i8 %28 to i32
%37 = shl nsw i32 %36, 1
%38 = and i32 %37, 30
%39 = ashr i32 %35, %38
%40 = and i32 %39, 2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %23, !llvm.loop !11
42: ; preds = %23, %32, %26, %6, %10, %20, %1, %3
%43 = phi ptr [ @FALSE, %3 ], [ @FALSE, %1 ], [ @FALSE, %6 ], [ @FALSE, %10 ], [ @TRUE, %20 ], [ @FALSE, %26 ], [ @FALSE, %32 ], [ @TRUE, %23 ]
%44 = load i32, ptr %43, align 4, !tbaa !9
ret i32 %44
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.peeled.count", i32 1}
| freebsd_contrib_ntp_ntpd_extr_ntp_control.c_is_safe_filename |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_vpid_sync_vcpu_all.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_vpid_sync_vcpu_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"
@VMX_VPID_EXTENT_SINGLE_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vpid_sync_vcpu_all], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @vpid_sync_vcpu_all(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @VMX_VPID_EXTENT_SINGLE_CONTEXT, align 4, !tbaa !10
%6 = tail call i32 @__invvpid(i32 noundef %5, i64 noundef %2, i32 noundef 0) #2
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @__invvpid(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vcpu_vmx", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_vpid_sync_vcpu_all.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_vpid_sync_vcpu_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VMX_VPID_EXTENT_SINGLE_CONTEXT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vpid_sync_vcpu_all], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @vpid_sync_vcpu_all(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @VMX_VPID_EXTENT_SINGLE_CONTEXT, align 4, !tbaa !11
%6 = tail call i32 @__invvpid(i32 noundef %5, i64 noundef %2, i32 noundef 0) #2
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @__invvpid(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vcpu_vmx", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_arch_x86_kvm_extr_vmx.c_vpid_sync_vcpu_all |
; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_m_menu.c_M_Init.c'
source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_m_menu.c_M_Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, i32 }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_9__ = type { i32, i32, i32 }
%struct.TYPE_11__ = type { i32 }
@MainDef = dso_local global %struct.TYPE_7__ zeroinitializer, align 8
@currentMenu = dso_local local_unnamed_addr global ptr null, align 8
@menuactive = dso_local local_unnamed_addr global i64 0, align 8
@itemOn = dso_local local_unnamed_addr global i32 0, align 4
@whichSkull = dso_local local_unnamed_addr global i64 0, align 8
@skullAnimCounter = dso_local local_unnamed_addr global i32 0, align 4
@screenblocks = dso_local local_unnamed_addr global i64 0, align 8
@screenSize = dso_local local_unnamed_addr global i64 0, align 8
@messageToPrint = dso_local local_unnamed_addr global i64 0, align 8
@messageString = dso_local local_unnamed_addr global ptr null, align 8
@messageLastMenuActive = dso_local local_unnamed_addr global i64 0, align 8
@quickSaveSlot = dso_local local_unnamed_addr global i32 0, align 4
@gamemode = dso_local local_unnamed_addr global i32 0, align 4
@MainMenu = dso_local local_unnamed_addr global ptr null, align 8
@quitdoom = dso_local local_unnamed_addr global i64 0, align 8
@readthis = dso_local local_unnamed_addr global i64 0, align 8
@NewDef = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8
@M_DrawReadThis1 = dso_local local_unnamed_addr global i32 0, align 4
@ReadDef1 = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@M_FinishReadThis = dso_local local_unnamed_addr global i32 0, align 4
@ReadMenu1 = dso_local local_unnamed_addr global ptr null, align 8
@EpiDef = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @M_Init() local_unnamed_addr #0 {
store ptr @MainDef, ptr @currentMenu, align 8, !tbaa !5
store i64 0, ptr @menuactive, align 8, !tbaa !9
%1 = load i32, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @MainDef, i64 0, i32 2), align 8, !tbaa !11
store i32 %1, ptr @itemOn, align 4, !tbaa !14
store i64 0, ptr @whichSkull, align 8, !tbaa !9
store i32 10, ptr @skullAnimCounter, align 4, !tbaa !14
%2 = load i64, ptr @screenblocks, align 8, !tbaa !9
%3 = add nsw i64 %2, -3
store i64 %3, ptr @screenSize, align 8, !tbaa !9
store i64 0, ptr @messageToPrint, align 8, !tbaa !9
store ptr null, ptr @messageString, align 8, !tbaa !5
store i64 0, ptr @messageLastMenuActive, align 8, !tbaa !9
store i32 -1, ptr @quickSaveSlot, align 4, !tbaa !14
%4 = load i32, ptr @gamemode, align 4, !tbaa !14
switch i32 %4, label %20 [
i32 131, label %5
i32 128, label %17
i32 130, label %17
]
5: ; preds = %0
%6 = load ptr, ptr @MainMenu, align 8, !tbaa !5
%7 = load i64, ptr @quitdoom, align 8, !tbaa !9
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i64, ptr @readthis, align 8, !tbaa !9
%11 = getelementptr inbounds i32, ptr %6, i64 %10
store i32 %9, ptr %11, align 4, !tbaa !14
%12 = load <2 x i32>, ptr @MainDef, align 8, !tbaa !14
%13 = add nsw <2 x i32> %12, <i32 8, i32 -1>
store <2 x i32> %13, ptr @MainDef, align 8, !tbaa !14
store ptr @MainDef, ptr @NewDef, align 8, !tbaa !15
%14 = load i32, ptr @M_DrawReadThis1, align 4, !tbaa !14
store i32 %14, ptr getelementptr inbounds (%struct.TYPE_9__, ptr @ReadDef1, i64 0, i32 2), align 4, !tbaa !17
store i32 330, ptr @ReadDef1, align 4, !tbaa !19
store i32 165, ptr getelementptr inbounds (%struct.TYPE_9__, ptr @ReadDef1, i64 0, i32 1), align 4, !tbaa !20
%15 = load i32, ptr @M_FinishReadThis, align 4, !tbaa !14
%16 = load ptr, ptr @ReadMenu1, align 8, !tbaa !5
store i32 %15, ptr %16, align 4, !tbaa !21
br label %20
17: ; preds = %0, %0
%18 = load i32, ptr @EpiDef, align 4, !tbaa !23
%19 = add nsw i32 %18, -1
store i32 %19, ptr @EpiDef, align 4, !tbaa !23
br label %20
20: ; preds = %0, %17, %5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_7__", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_10__", !6, i64 0}
!17 = !{!18, !13, i64 8}
!18 = !{!"TYPE_9__", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = !{!18, !13, i64 0}
!20 = !{!18, !13, i64 4}
!21 = !{!22, !13, i64 0}
!22 = !{!"TYPE_8__", !13, i64 0}
!23 = !{!24, !13, i64 0}
!24 = !{!"TYPE_11__", !13, i64 0}
| ; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_m_menu.c_M_Init.c'
source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_m_menu.c_M_Init.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 { i32, i32, i32 }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_9__ = type { i32, i32, i32 }
%struct.TYPE_11__ = type { i32 }
@MainDef = common global %struct.TYPE_7__ zeroinitializer, align 4
@currentMenu = common local_unnamed_addr global ptr null, align 8
@menuactive = common local_unnamed_addr global i64 0, align 8
@itemOn = common local_unnamed_addr global i32 0, align 4
@whichSkull = common local_unnamed_addr global i64 0, align 8
@skullAnimCounter = common local_unnamed_addr global i32 0, align 4
@screenblocks = common local_unnamed_addr global i64 0, align 8
@screenSize = common local_unnamed_addr global i64 0, align 8
@messageToPrint = common local_unnamed_addr global i64 0, align 8
@messageString = common local_unnamed_addr global ptr null, align 8
@messageLastMenuActive = common local_unnamed_addr global i64 0, align 8
@quickSaveSlot = common local_unnamed_addr global i32 0, align 4
@gamemode = common local_unnamed_addr global i32 0, align 4
@MainMenu = common local_unnamed_addr global ptr null, align 8
@quitdoom = common local_unnamed_addr global i64 0, align 8
@readthis = common local_unnamed_addr global i64 0, align 8
@NewDef = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8
@M_DrawReadThis1 = common local_unnamed_addr global i32 0, align 4
@ReadDef1 = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@M_FinishReadThis = common local_unnamed_addr global i32 0, align 4
@ReadMenu1 = common local_unnamed_addr global ptr null, align 8
@EpiDef = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @M_Init() local_unnamed_addr #0 {
store ptr @MainDef, ptr @currentMenu, align 8, !tbaa !6
store i64 0, ptr @menuactive, align 8, !tbaa !10
%1 = load i32, ptr getelementptr inbounds (i8, ptr @MainDef, i64 8), align 4, !tbaa !12
store i32 %1, ptr @itemOn, align 4, !tbaa !15
store i64 0, ptr @whichSkull, align 8, !tbaa !10
store i32 10, ptr @skullAnimCounter, align 4, !tbaa !15
%2 = load i64, ptr @screenblocks, align 8, !tbaa !10
%3 = add nsw i64 %2, -3
store i64 %3, ptr @screenSize, align 8, !tbaa !10
store i64 0, ptr @messageToPrint, align 8, !tbaa !10
store ptr null, ptr @messageString, align 8, !tbaa !6
store i64 0, ptr @messageLastMenuActive, align 8, !tbaa !10
store i32 -1, ptr @quickSaveSlot, align 4, !tbaa !15
%4 = load i32, ptr @gamemode, align 4, !tbaa !15
switch i32 %4, label %20 [
i32 131, label %5
i32 128, label %17
i32 130, label %17
]
5: ; preds = %0
%6 = load ptr, ptr @MainMenu, align 8, !tbaa !6
%7 = load i64, ptr @quitdoom, align 8, !tbaa !10
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load i64, ptr @readthis, align 8, !tbaa !10
%11 = getelementptr inbounds i32, ptr %6, i64 %10
store i32 %9, ptr %11, align 4, !tbaa !15
%12 = load <2 x i32>, ptr @MainDef, align 4, !tbaa !15
%13 = add nsw <2 x i32> %12, <i32 8, i32 -1>
store <2 x i32> %13, ptr @MainDef, align 4, !tbaa !15
store ptr @MainDef, ptr @NewDef, align 8, !tbaa !16
%14 = load i32, ptr @M_DrawReadThis1, align 4, !tbaa !15
store i32 %14, ptr getelementptr inbounds (i8, ptr @ReadDef1, i64 8), align 4, !tbaa !18
store <2 x i32> <i32 330, i32 165>, ptr @ReadDef1, align 4, !tbaa !15
%15 = load i32, ptr @M_FinishReadThis, align 4, !tbaa !15
%16 = load ptr, ptr @ReadMenu1, align 8, !tbaa !6
store i32 %15, ptr %16, align 4, !tbaa !20
br label %20
17: ; preds = %0, %0
%18 = load i32, ptr @EpiDef, align 4, !tbaa !22
%19 = add nsw i32 %18, -1
store i32 %19, ptr @EpiDef, align 4, !tbaa !22
br label %20
20: ; preds = %0, %17, %5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_7__", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_10__", !7, i64 0}
!18 = !{!19, !14, i64 8}
!19 = !{!"TYPE_9__", !14, i64 0, !14, i64 4, !14, i64 8}
!20 = !{!21, !14, i64 0}
!21 = !{!"TYPE_8__", !14, i64 0}
!22 = !{!23, !14, i64 0}
!23 = !{!"TYPE_11__", !14, i64 0}
| DOOM_linuxdoom-1.10_extr_m_menu.c_M_Init |
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufs-qcom.c_ufs_qcom_clk_scale_up_pre_change.c'
source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufs-qcom.c_ufs_qcom_clk_scale_up_pre_change.c"
target datalayout = "e-m:e-p270:32:32-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 @ufs_qcom_clk_scale_up_pre_change], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @ufs_qcom_clk_scale_up_pre_change(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufs-qcom.c_ufs_qcom_clk_scale_up_pre_change.c'
source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufs-qcom.c_ufs_qcom_clk_scale_up_pre_change.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 @ufs_qcom_clk_scale_up_pre_change], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @ufs_qcom_clk_scale_up_pre_change(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_scsi_ufs_extr_ufs-qcom.c_ufs_qcom_clk_scale_up_pre_change |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode.c_btrfs_setattr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode.c_btrfs_setattr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EROFS = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_MODE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @btrfs_setattr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @btrfs_setattr(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call ptr @BTRFS_I(ptr noundef %3) #2
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i64 @btrfs_root_readonly(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @EROFS, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %48
11: ; preds = %2
%12 = tail call i32 @inode_change_ok(ptr noundef %3, ptr noundef %1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %48
14: ; preds = %11
%15 = load i32, ptr %3, align 4, !tbaa !14
%16 = tail call i64 @S_ISREG(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !12
%19 = load i32, ptr %1, align 4, !tbaa !16
%20 = and i32 %18, %19
%21 = icmp eq i32 %20, 0
%22 = select i1 %17, i1 true, i1 %21
br i1 %22, label %29, label %23
23: ; preds = %14
%24 = tail call i32 @btrfs_setsize(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %48
26: ; preds = %23
%27 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !12
%28 = load i32, ptr %1, align 4, !tbaa !16
br label %29
29: ; preds = %26, %14
%30 = phi i32 [ %28, %26 ], [ %19, %14 ]
%31 = phi i32 [ %27, %26 ], [ %18, %14 ]
%32 = xor i32 %31, -1
%33 = and i32 %30, %32
store i32 %33, ptr %1, align 4, !tbaa !16
%34 = icmp eq i32 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %29
%36 = tail call i32 @inode_inc_iversion(ptr noundef nonnull %3) #2
%37 = tail call i32 @inode_setattr(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = load i32, ptr %1, align 4, !tbaa !16
br label %41
41: ; preds = %39, %29
%42 = phi i32 [ %40, %39 ], [ 0, %29 ]
%43 = load i32, ptr @ATTR_MODE, align 4, !tbaa !12
%44 = and i32 %43, %42
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %41
%47 = tail call i32 @btrfs_acl_chmod(ptr noundef nonnull %3) #2
br label %48
48: ; preds = %35, %41, %46, %23, %11, %8
%49 = phi i32 [ %10, %8 ], [ %12, %11 ], [ %24, %23 ], [ %37, %35 ], [ %47, %46 ], [ 0, %41 ]
ret i32 %49
}
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #1
declare i64 @btrfs_root_readonly(ptr noundef) local_unnamed_addr #1
declare i32 @inode_change_ok(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #1
declare i32 @btrfs_setsize(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @inode_inc_iversion(ptr noundef) local_unnamed_addr #1
declare i32 @inode_setattr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_acl_chmod(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dentry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"inode", !13, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"iattr", !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode.c_btrfs_setattr.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode.c_btrfs_setattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EROFS = common local_unnamed_addr global i32 0, align 4
@ATTR_SIZE = common local_unnamed_addr global i32 0, align 4
@ATTR_MODE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @btrfs_setattr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @btrfs_setattr(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call ptr @BTRFS_I(ptr noundef %3) #2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i64 @btrfs_root_readonly(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr @EROFS, align 4, !tbaa !13
%10 = sub nsw i32 0, %9
br label %48
11: ; preds = %2
%12 = tail call i32 @inode_change_ok(ptr noundef %3, ptr noundef %1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %48
14: ; preds = %11
%15 = load i32, ptr %3, align 4, !tbaa !15
%16 = tail call i64 @S_ISREG(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !13
%19 = load i32, ptr %1, align 4, !tbaa !17
%20 = and i32 %18, %19
%21 = icmp eq i32 %20, 0
%22 = select i1 %17, i1 true, i1 %21
br i1 %22, label %29, label %23
23: ; preds = %14
%24 = tail call i32 @btrfs_setsize(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %48
26: ; preds = %23
%27 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !13
%28 = load i32, ptr %1, align 4, !tbaa !17
br label %29
29: ; preds = %26, %14
%30 = phi i32 [ %28, %26 ], [ %19, %14 ]
%31 = phi i32 [ %27, %26 ], [ %18, %14 ]
%32 = xor i32 %31, -1
%33 = and i32 %30, %32
store i32 %33, ptr %1, align 4, !tbaa !17
%34 = icmp eq i32 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %29
%36 = tail call i32 @inode_inc_iversion(ptr noundef nonnull %3) #2
%37 = tail call i32 @inode_setattr(ptr noundef nonnull %3, ptr noundef nonnull %1) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = load i32, ptr %1, align 4, !tbaa !17
br label %41
41: ; preds = %39, %29
%42 = phi i32 [ %40, %39 ], [ 0, %29 ]
%43 = load i32, ptr @ATTR_MODE, align 4, !tbaa !13
%44 = and i32 %43, %42
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %41
%47 = tail call i32 @btrfs_acl_chmod(ptr noundef nonnull %3) #2
br label %48
48: ; preds = %35, %41, %46, %23, %11, %8
%49 = phi i32 [ %10, %8 ], [ %12, %11 ], [ %24, %23 ], [ %37, %35 ], [ %47, %46 ], [ 0, %41 ]
ret i32 %49
}
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #1
declare i64 @btrfs_root_readonly(ptr noundef) local_unnamed_addr #1
declare i32 @inode_change_ok(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #1
declare i32 @btrfs_setsize(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @inode_inc_iversion(ptr noundef) local_unnamed_addr #1
declare i32 @inode_setattr(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @btrfs_acl_chmod(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dentry", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"inode", !14, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"iattr", !14, i64 0}
| fastsocket_kernel_fs_btrfs_extr_inode.c_btrfs_setattr |
; ModuleID = 'AnghaBench/freebsd/sbin/bsdlabel/extr_bsdlabel.c_makelabel.c'
source_filename = "AnghaBench/freebsd/sbin/bsdlabel/extr_bsdlabel.c_makelabel.c"
target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"auto\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%s: unknown disk type\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @makelabel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @makelabel(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call ptr (...) @getvirginlabel() #2
br label %9
7: ; preds = %2
%8 = tail call ptr @getdiskbyname(ptr noundef %0) #2
br label %9
9: ; preds = %7, %5
%10 = phi ptr [ %6, %5 ], [ %8, %7 ]
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef %0) #2
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %10, align 4, !tbaa !5
store i32 %15, ptr %1, align 4, !tbaa !5
%16 = tail call i32 @bzero(i32 noundef %15, i32 noundef 4) #2
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @getvirginlabel(...) local_unnamed_addr #1
declare ptr @getdiskbyname(ptr noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bzero(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sbin/bsdlabel/extr_bsdlabel.c_makelabel.c'
source_filename = "AnghaBench/freebsd/sbin/bsdlabel/extr_bsdlabel.c_makelabel.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 [5 x i8] c"auto\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%s: unknown disk type\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @makelabel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @makelabel(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call ptr @getvirginlabel() #2
br label %9
7: ; preds = %2
%8 = tail call ptr @getdiskbyname(ptr noundef %0) #2
br label %9
9: ; preds = %7, %5
%10 = phi ptr [ %6, %5 ], [ %8, %7 ]
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef %0) #2
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %10, align 4, !tbaa !6
store i32 %15, ptr %1, align 4, !tbaa !6
%16 = tail call i32 @bzero(i32 noundef %15, i32 noundef 4) #2
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @getvirginlabel(...) local_unnamed_addr #1
declare ptr @getdiskbyname(ptr noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bzero(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sbin_bsdlabel_extr_bsdlabel.c_makelabel |
; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_startserver.c_ServerOptions_SetPlayerItems.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_startserver.c_ServerOptions_SetPlayerItems.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_16__ = type { i64, %struct.TYPE_15__*, %struct.TYPE_13__*, %struct.TYPE_12__*, %struct.TYPE_10__, %struct.TYPE_9__ }
%struct.TYPE_15__ = type { %struct.TYPE_14__ }
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_13__ = type { i32 }
%struct.TYPE_12__ = type { %struct.TYPE_11__ }
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_10__ = type { i8* }
%struct.TYPE_9__ = type { i64 }
@s_serveroptions = dso_local local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@.str = private unnamed_addr constant [6 x i8] c"Human\00", align 1
@QMF_HIDDEN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"Open\00", align 1
@PLAYER_SLOTS = dso_local local_unnamed_addr global i32 0, align 4
@QMF_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@GT_TEAM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void ()* @ServerOptions_SetPlayerItems to i8*)], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind uwtable
define internal void @ServerOptions_SetPlayerItems() #0 {
%1 = load i64, i64* getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 5, i32 0), align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %10
3: ; preds = %0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 4, i32 0), align 8, !tbaa !13
%4 = load i32, i32* @QMF_HIDDEN, align 4, !tbaa !14
%5 = xor i32 %4, -1
%6 = load %struct.TYPE_12__*, %struct.TYPE_12__** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 3), align 8, !tbaa !16
%7 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %6, i64 0, i32 0, i32 0
%8 = load i32, i32* %7, align 4, !tbaa !17
%9 = and i32 %8, %5
store i32 %9, i32* %7, align 4, !tbaa !17
br label %11
10: ; preds = %0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 4, i32 0), align 8, !tbaa !13
br label %11
11: ; preds = %10, %3
%12 = phi i32 [ 1, %3 ], [ 0, %10 ]
%13 = load i32, i32* @PLAYER_SLOTS, align 4, !tbaa !14
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %41
15: ; preds = %11
%16 = load %struct.TYPE_13__*, %struct.TYPE_13__** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 2), align 8, !tbaa !20
%17 = load %struct.TYPE_12__*, %struct.TYPE_12__** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 3), align 8
%18 = zext i32 %12 to i64
br label %19
19: ; preds = %15, %36
%20 = phi i64 [ %18, %15 ], [ %37, %36 ]
%21 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %16, i64 %20, i32 0
%22 = load i32, i32* %21, align 4, !tbaa !21
%23 = icmp eq i32 %22, 1
%24 = load i32, i32* @QMF_INACTIVE, align 4, !tbaa !14
%25 = load i32, i32* @QMF_HIDDEN, align 4, !tbaa !14
%26 = or i32 %25, %24
br i1 %23, label %27, label %32
27: ; preds = %19
%28 = xor i32 %26, -1
%29 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %17, i64 %20, i32 0, i32 0
%30 = load i32, i32* %29, align 4, !tbaa !17
%31 = and i32 %30, %28
store i32 %31, i32* %29, align 4, !tbaa !17
br label %36
32: ; preds = %19
%33 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %17, i64 %20, i32 0, i32 0
%34 = load i32, i32* %33, align 4, !tbaa !17
%35 = or i32 %26, %34
store i32 %35, i32* %33, align 4, !tbaa !17
br label %36
36: ; preds = %27, %32
%37 = add nuw nsw i64 %20, 1
%38 = load i32, i32* @PLAYER_SLOTS, align 4, !tbaa !14
%39 = sext i32 %38 to i64
%40 = icmp slt i64 %37, %39
br i1 %40, label %19, label %41, !llvm.loop !23
41: ; preds = %36, %11
%42 = phi i32 [ %13, %11 ], [ %38, %36 ]
%43 = load i64, i64* getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 0), align 8, !tbaa !25
%44 = load i64, i64* @GT_TEAM, align 8, !tbaa !26
%45 = icmp sge i64 %43, %44
%46 = icmp slt i32 %12, %42
%47 = select i1 %45, i1 %46, i1 false
br i1 %47, label %48, label %74
48: ; preds = %41
%49 = load %struct.TYPE_13__*, %struct.TYPE_13__** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 2), align 8, !tbaa !20
%50 = load %struct.TYPE_15__*, %struct.TYPE_15__** getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @s_serveroptions, i64 0, i32 1), align 8
%51 = zext i32 %12 to i64
br label %52
52: ; preds = %48, %69
%53 = phi i64 [ %51, %48 ], [ %70, %69 ]
%54 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %49, i64 %53, i32 0
%55 = load i32, i32* %54, align 4, !tbaa !21
%56 = icmp eq i32 %55, 2
%57 = load i32, i32* @QMF_INACTIVE, align 4, !tbaa !14
%58 = load i32, i32* @QMF_HIDDEN, align 4, !tbaa !14
%59 = or i32 %58, %57
br i1 %56, label %60, label %64
60: ; preds = %52
%61 = getelementptr inbounds %struct.TYPE_15__, %struct.TYPE_15__* %50, i64 %53, i32 0, i32 0
%62 = load i32, i32* %61, align 4, !tbaa !27
%63 = or i32 %59, %62
store i32 %63, i32* %61, align 4, !tbaa !27
br label %69
64: ; preds = %52
%65 = xor i32 %59, -1
%66 = getelementptr inbounds %struct.TYPE_15__, %struct.TYPE_15__* %50, i64 %53, i32 0, i32 0
%67 = load i32, i32* %66, align 4, !tbaa !27
%68 = and i32 %67, %65
store i32 %68, i32* %66, align 4, !tbaa !27
br label %69
69: ; preds = %60, %64
%70 = add nuw nsw i64 %53, 1
%71 = load i32, i32* @PLAYER_SLOTS, align 4, !tbaa !14
%72 = sext i32 %71 to i64
%73 = icmp slt i64 %70, %72
br i1 %73, label %52, label %74, !llvm.loop !30
74: ; preds = %69, %41
ret void
}
attributes #0 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 40}
!6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !12, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_10__", !10, i64 0}
!12 = !{!"TYPE_9__", !7, i64 0}
!13 = !{!6, !10, i64 32}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!6, !10, i64 24}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_12__", !19, i64 0}
!19 = !{!"TYPE_11__", !15, i64 0}
!20 = !{!6, !10, i64 16}
!21 = !{!22, !15, i64 0}
!22 = !{!"TYPE_13__", !15, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!6, !7, i64 0}
!26 = !{!7, !7, i64 0}
!27 = !{!28, !15, i64 0}
!28 = !{!"TYPE_15__", !29, i64 0}
!29 = !{!"TYPE_14__", !15, i64 0}
!30 = distinct !{!30, !24}
| ; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_startserver.c_ServerOptions_SetPlayerItems.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_startserver.c_ServerOptions_SetPlayerItems.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_16__ = type { i64, ptr, ptr, ptr, %struct.TYPE_10__, %struct.TYPE_9__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_13__ = type { i32 }
%struct.TYPE_12__ = type { %struct.TYPE_11__ }
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_15__ = type { %struct.TYPE_14__ }
%struct.TYPE_14__ = type { i32 }
@s_serveroptions = common local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@.str = private unnamed_addr constant [6 x i8] c"Human\00", align 1
@QMF_HIDDEN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"Open\00", align 1
@PLAYER_SLOTS = common local_unnamed_addr global i32 0, align 4
@QMF_INACTIVE = common local_unnamed_addr global i32 0, align 4
@GT_TEAM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ServerOptions_SetPlayerItems], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @ServerOptions_SetPlayerItems() #0 {
%1 = load i64, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 40), align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %9
3: ; preds = %0
%4 = load i32, ptr @QMF_HIDDEN, align 4, !tbaa !14
%5 = xor i32 %4, -1
%6 = load ptr, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 24), align 8, !tbaa !16
%7 = load i32, ptr %6, align 4, !tbaa !17
%8 = and i32 %7, %5
store i32 %8, ptr %6, align 4, !tbaa !17
br label %9
9: ; preds = %0, %3
%10 = phi ptr [ @.str, %3 ], [ @.str.1, %0 ]
%11 = phi i32 [ 1, %3 ], [ 0, %0 ]
store ptr %10, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 32), align 8
%12 = load i32, ptr @PLAYER_SLOTS, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %40
14: ; preds = %9
%15 = load ptr, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 16), align 8, !tbaa !20
%16 = load ptr, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 24), align 8
%17 = zext nneg i32 %11 to i64
br label %18
18: ; preds = %14, %35
%19 = phi i64 [ %17, %14 ], [ %36, %35 ]
%20 = getelementptr inbounds %struct.TYPE_13__, ptr %15, i64 %19
%21 = load i32, ptr %20, align 4, !tbaa !21
%22 = icmp eq i32 %21, 1
%23 = load i32, ptr @QMF_INACTIVE, align 4, !tbaa !14
%24 = load i32, ptr @QMF_HIDDEN, align 4, !tbaa !14
%25 = or i32 %24, %23
br i1 %22, label %26, label %31
26: ; preds = %18
%27 = xor i32 %25, -1
%28 = getelementptr inbounds %struct.TYPE_12__, ptr %16, i64 %19
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = and i32 %29, %27
store i32 %30, ptr %28, align 4, !tbaa !17
br label %35
31: ; preds = %18
%32 = getelementptr inbounds %struct.TYPE_12__, ptr %16, i64 %19
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = or i32 %25, %33
store i32 %34, ptr %32, align 4, !tbaa !17
br label %35
35: ; preds = %26, %31
%36 = add nuw nsw i64 %19, 1
%37 = load i32, ptr @PLAYER_SLOTS, align 4
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %36, %38
br i1 %39, label %18, label %40, !llvm.loop !23
40: ; preds = %35, %9
%41 = phi i32 [ %12, %9 ], [ %37, %35 ]
%42 = load i64, ptr @s_serveroptions, align 8, !tbaa !25
%43 = load i64, ptr @GT_TEAM, align 8, !tbaa !26
%44 = icmp sge i64 %42, %43
%45 = icmp slt i32 %11, %41
%46 = and i1 %44, %45
br i1 %46, label %47, label %73
47: ; preds = %40
%48 = load ptr, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 16), align 8, !tbaa !20
%49 = load ptr, ptr getelementptr inbounds (i8, ptr @s_serveroptions, i64 8), align 8
%50 = zext nneg i32 %11 to i64
br label %51
51: ; preds = %47, %68
%52 = phi i64 [ %50, %47 ], [ %69, %68 ]
%53 = getelementptr inbounds %struct.TYPE_13__, ptr %48, i64 %52
%54 = load i32, ptr %53, align 4, !tbaa !21
%55 = icmp eq i32 %54, 2
%56 = load i32, ptr @QMF_INACTIVE, align 4, !tbaa !14
%57 = load i32, ptr @QMF_HIDDEN, align 4, !tbaa !14
%58 = or i32 %57, %56
br i1 %55, label %59, label %63
59: ; preds = %51
%60 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %52
%61 = load i32, ptr %60, align 4, !tbaa !27
%62 = or i32 %58, %61
store i32 %62, ptr %60, align 4, !tbaa !27
br label %68
63: ; preds = %51
%64 = xor i32 %58, -1
%65 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 %52
%66 = load i32, ptr %65, align 4, !tbaa !27
%67 = and i32 %66, %64
store i32 %67, ptr %65, align 4, !tbaa !27
br label %68
68: ; preds = %59, %63
%69 = add nuw nsw i64 %52, 1
%70 = load i32, ptr @PLAYER_SLOTS, align 4, !tbaa !14
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %69, %71
br i1 %72, label %51, label %73, !llvm.loop !30
73: ; preds = %68, %40
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 40}
!7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_10__", !11, i64 0}
!13 = !{!"TYPE_9__", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !11, i64 24}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_12__", !19, i64 0}
!19 = !{!"TYPE_11__", !15, i64 0}
!20 = !{!7, !11, i64 16}
!21 = !{!22, !15, i64 0}
!22 = !{!"TYPE_13__", !15, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!7, !8, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!28, !15, i64 0}
!28 = !{!"TYPE_15__", !29, i64 0}
!29 = !{!"TYPE_14__", !15, i64 0}
!30 = distinct !{!30, !24}
| lab_engine_code_q3_ui_extr_ui_startserver.c_ServerOptions_SetPlayerItems |
; ModuleID = 'AnghaBench/linux/crypto/extr_sm4_generic.c_sm4_enc_lin_sub.c'
source_filename = "AnghaBench/linux/crypto/extr_sm4_generic.c_sm4_enc_lin_sub.c"
target datalayout = "e-m:e-p270:32:32-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 @sm4_enc_lin_sub], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sm4_enc_lin_sub(i32 noundef %0) #0 {
%2 = tail call i32 @rol32(i32 noundef %0, i32 noundef 2) #2
%3 = tail call i32 @rol32(i32 noundef %0, i32 noundef 10) #2
%4 = tail call i32 @rol32(i32 noundef %0, i32 noundef 18) #2
%5 = tail call i32 @rol32(i32 noundef %0, i32 noundef 24) #2
%6 = xor i32 %2, %3
%7 = xor i32 %6, %4
%8 = xor i32 %7, %5
%9 = xor i32 %8, %0
ret i32 %9
}
declare i32 @rol32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_sm4_generic.c_sm4_enc_lin_sub.c'
source_filename = "AnghaBench/linux/crypto/extr_sm4_generic.c_sm4_enc_lin_sub.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 @sm4_enc_lin_sub], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sm4_enc_lin_sub(i32 noundef %0) #0 {
%2 = tail call i32 @rol32(i32 noundef %0, i32 noundef 2) #2
%3 = tail call i32 @rol32(i32 noundef %0, i32 noundef 10) #2
%4 = tail call i32 @rol32(i32 noundef %0, i32 noundef 18) #2
%5 = tail call i32 @rol32(i32 noundef %0, i32 noundef 24) #2
%6 = xor i32 %2, %3
%7 = xor i32 %6, %4
%8 = xor i32 %7, %5
%9 = xor i32 %8, %0
ret i32 %9
}
declare i32 @rol32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_crypto_extr_sm4_generic.c_sm4_enc_lin_sub |
; ModuleID = 'AnghaBench/netdata/registry/extr_registry_url.c_registry_url_index_del.c'
source_filename = "AnghaBench/netdata/registry/extr_registry_url.c_registry_url_index_del.c"
target datalayout = "e-m:e-p270:32:32-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 }
@registry = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/netdata/registry/extr_registry_url.c_registry_url_index_del.c'
source_filename = "AnghaBench/netdata/registry/extr_registry_url.c_registry_url_index_del.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 }
@registry = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| netdata_registry_extr_registry_url.c_registry_url_index_del |
; ModuleID = 'AnghaBench/php-src/ext/json/extr_json_encoder.c_php_json_encode_zval.c'
source_filename = "AnghaBench/php-src/ext/json/extr_json_encoder.c_php_json_encode_zval.c"
target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"null\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@PHP_JSON_ERROR_INF_OR_NAN = dso_local local_unnamed_addr global i32 0, align 4
@php_json_serializable_ce = dso_local local_unnamed_addr global i32 0, align 4
@PHP_JSON_ERROR_UNSUPPORTED_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@PHP_JSON_PARTIAL_OUTPUT_ON_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @php_json_encode_zval(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
br label %6
6: ; preds = %43, %4
%7 = phi ptr [ %1, %4 ], [ %44, %43 ]
%8 = tail call i32 @Z_TYPE_P(ptr noundef %7) #3
switch i32 %8, label %45 [
i32 132, label %9
i32 128, label %11
i32 134, label %13
i32 133, label %15
i32 135, label %18
i32 129, label %28
i32 131, label %32
i32 136, label %39
i32 130, label %43
]
9: ; preds = %6
%10 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 4) #3
br label %54
11: ; preds = %6
%12 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 4) #3
br label %54
13: ; preds = %6
%14 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 5) #3
br label %54
15: ; preds = %6
%16 = tail call i32 @Z_LVAL_P(ptr noundef %7) #3
%17 = tail call i32 @smart_str_append_long(ptr noundef %0, i32 noundef %16) #3
br label %54
18: ; preds = %6
%19 = tail call i32 @Z_DVAL_P(ptr noundef %7) #3
%20 = tail call i32 @php_json_is_valid_double(i32 noundef %19) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = tail call i32 @Z_DVAL_P(ptr noundef %7) #3
%24 = tail call i32 @php_json_encode_double(ptr noundef %0, i32 noundef %23, i32 noundef %2) #3
br label %54
25: ; preds = %18
%26 = load i32, ptr @PHP_JSON_ERROR_INF_OR_NAN, align 4, !tbaa !5
store i32 %26, ptr %3, align 4, !tbaa !9
%27 = tail call i32 @smart_str_appendc(ptr noundef %0, i32 noundef 48) #3
br label %54
28: ; preds = %6
%29 = tail call i32 @Z_STRVAL_P(ptr noundef %7) #3
%30 = tail call i32 @Z_STRLEN_P(ptr noundef %7) #3
%31 = tail call i32 @php_json_escape_string(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %2, ptr noundef %3) #3
br label %56
32: ; preds = %6
%33 = tail call i32 @Z_OBJCE_P(ptr noundef %7) #3
%34 = load i32, ptr @php_json_serializable_ce, align 4, !tbaa !5
%35 = tail call i32 @instanceof_function(i32 noundef %33, i32 noundef %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = tail call i32 @php_json_encode_serializable_object(ptr noundef %0, ptr noundef %7, i32 noundef %2, ptr noundef %3) #3
br label %56
39: ; preds = %6, %32
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%40 = call i32 @ZVAL_COPY(ptr noundef nonnull %5, ptr noundef %7) #3
%41 = call i32 @php_json_encode_array(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %2, ptr noundef %3) #3
%42 = call i32 @zval_ptr_dtor_nogc(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %56
43: ; preds = %6
%44 = tail call ptr @Z_REFVAL_P(ptr noundef %7) #3
br label %6
45: ; preds = %6
%46 = load i32, ptr @PHP_JSON_ERROR_UNSUPPORTED_TYPE, align 4, !tbaa !5
store i32 %46, ptr %3, align 4, !tbaa !9
%47 = load i32, ptr @PHP_JSON_PARTIAL_OUTPUT_ON_ERROR, align 4, !tbaa !5
%48 = and i32 %47, %2
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 4) #3
br label %52
52: ; preds = %50, %45
%53 = load i32, ptr @FAILURE, align 4, !tbaa !5
br label %56
54: ; preds = %22, %25, %15, %13, %11, %9
%55 = load i32, ptr @SUCCESS, align 4, !tbaa !5
br label %56
56: ; preds = %54, %52, %39, %37, %28
%57 = phi i32 [ %53, %52 ], [ %41, %39 ], [ %38, %37 ], [ %31, %28 ], [ %55, %54 ]
ret i32 %57
}
declare i32 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1
declare i32 @smart_str_appendl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smart_str_append_long(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Z_LVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_is_valid_double(i32 noundef) local_unnamed_addr #1
declare i32 @Z_DVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_double(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smart_str_appendc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @php_json_escape_string(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRLEN_P(ptr noundef) local_unnamed_addr #1
declare i32 @instanceof_function(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Z_OBJCE_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_serializable_object(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @ZVAL_COPY(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_array(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zval_ptr_dtor_nogc(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare ptr @Z_REFVAL_P(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_6__", !6, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/json/extr_json_encoder.c_php_json_encode_zval.c'
source_filename = "AnghaBench/php-src/ext/json/extr_json_encoder.c_php_json_encode_zval.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 [5 x i8] c"null\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@PHP_JSON_ERROR_INF_OR_NAN = common local_unnamed_addr global i32 0, align 4
@php_json_serializable_ce = common local_unnamed_addr global i32 0, align 4
@PHP_JSON_ERROR_UNSUPPORTED_TYPE = common local_unnamed_addr global i32 0, align 4
@PHP_JSON_PARTIAL_OUTPUT_ON_ERROR = common local_unnamed_addr global i32 0, align 4
@FAILURE = common local_unnamed_addr global i32 0, align 4
@SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @php_json_encode_zval(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
br label %6
6: ; preds = %43, %4
%7 = phi ptr [ %1, %4 ], [ %44, %43 ]
%8 = tail call i32 @Z_TYPE_P(ptr noundef %7) #3
switch i32 %8, label %45 [
i32 132, label %9
i32 128, label %11
i32 134, label %13
i32 133, label %15
i32 135, label %18
i32 129, label %28
i32 131, label %32
i32 136, label %39
i32 130, label %43
]
9: ; preds = %6
%10 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 4) #3
br label %54
11: ; preds = %6
%12 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 4) #3
br label %54
13: ; preds = %6
%14 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 5) #3
br label %54
15: ; preds = %6
%16 = tail call i32 @Z_LVAL_P(ptr noundef %7) #3
%17 = tail call i32 @smart_str_append_long(ptr noundef %0, i32 noundef %16) #3
br label %54
18: ; preds = %6
%19 = tail call i32 @Z_DVAL_P(ptr noundef %7) #3
%20 = tail call i32 @php_json_is_valid_double(i32 noundef %19) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = tail call i32 @Z_DVAL_P(ptr noundef %7) #3
%24 = tail call i32 @php_json_encode_double(ptr noundef %0, i32 noundef %23, i32 noundef %2) #3
br label %54
25: ; preds = %18
%26 = load i32, ptr @PHP_JSON_ERROR_INF_OR_NAN, align 4, !tbaa !6
store i32 %26, ptr %3, align 4, !tbaa !10
%27 = tail call i32 @smart_str_appendc(ptr noundef %0, i32 noundef 48) #3
br label %54
28: ; preds = %6
%29 = tail call i32 @Z_STRVAL_P(ptr noundef %7) #3
%30 = tail call i32 @Z_STRLEN_P(ptr noundef %7) #3
%31 = tail call i32 @php_json_escape_string(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %2, ptr noundef %3) #3
br label %56
32: ; preds = %6
%33 = tail call i32 @Z_OBJCE_P(ptr noundef %7) #3
%34 = load i32, ptr @php_json_serializable_ce, align 4, !tbaa !6
%35 = tail call i32 @instanceof_function(i32 noundef %33, i32 noundef %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = tail call i32 @php_json_encode_serializable_object(ptr noundef %0, ptr noundef %7, i32 noundef %2, ptr noundef %3) #3
br label %56
39: ; preds = %6, %32
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%40 = call i32 @ZVAL_COPY(ptr noundef nonnull %5, ptr noundef %7) #3
%41 = call i32 @php_json_encode_array(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %2, ptr noundef %3) #3
%42 = call i32 @zval_ptr_dtor_nogc(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %56
43: ; preds = %6
%44 = tail call ptr @Z_REFVAL_P(ptr noundef %7) #3
br label %6
45: ; preds = %6
%46 = load i32, ptr @PHP_JSON_ERROR_UNSUPPORTED_TYPE, align 4, !tbaa !6
store i32 %46, ptr %3, align 4, !tbaa !10
%47 = load i32, ptr @PHP_JSON_PARTIAL_OUTPUT_ON_ERROR, align 4, !tbaa !6
%48 = and i32 %47, %2
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = tail call i32 @smart_str_appendl(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 4) #3
br label %52
52: ; preds = %50, %45
%53 = load i32, ptr @FAILURE, align 4, !tbaa !6
br label %56
54: ; preds = %22, %25, %15, %13, %11, %9
%55 = load i32, ptr @SUCCESS, align 4, !tbaa !6
br label %56
56: ; preds = %54, %52, %39, %37, %28
%57 = phi i32 [ %53, %52 ], [ %41, %39 ], [ %38, %37 ], [ %31, %28 ], [ %55, %54 ]
ret i32 %57
}
declare i32 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1
declare i32 @smart_str_appendl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smart_str_append_long(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Z_LVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_is_valid_double(i32 noundef) local_unnamed_addr #1
declare i32 @Z_DVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_double(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smart_str_appendc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @php_json_escape_string(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRLEN_P(ptr noundef) local_unnamed_addr #1
declare i32 @instanceof_function(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Z_OBJCE_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_serializable_object(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @ZVAL_COPY(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @php_json_encode_array(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zval_ptr_dtor_nogc(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare ptr @Z_REFVAL_P(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
| php-src_ext_json_extr_json_encoder.c_php_json_encode_zval |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_file.c_fuse_release_common.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_file.c_fuse_release_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.file = type { i32, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @fuse_release_common(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.file, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
%6 = zext i1 %5 to i32
%7 = tail call i64 @unlikely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load ptr, ptr %4, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.file, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @fuse_prepare_release(ptr noundef nonnull %4, i32 noundef %12, i32 noundef %1) #2
%14 = tail call i32 @path_get(ptr noundef nonnull %0) #2
%15 = load i32, ptr %0, align 8, !tbaa !14
store i32 %15, ptr %10, align 4, !tbaa !15
%16 = tail call i32 @fuse_file_put(ptr noundef nonnull %4) #2
br label %17
17: ; preds = %2, %9
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @fuse_prepare_release(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @path_get(ptr noundef) local_unnamed_addr #1
declare i32 @fuse_file_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"file", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"fuse_file", !10, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"fuse_req", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_file.c_fuse_release_common.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_file.c_fuse_release_common.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 @fuse_release_common(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
%6 = zext i1 %5 to i32
%7 = tail call i64 @unlikely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load ptr, ptr %4, align 8, !tbaa !12
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @fuse_prepare_release(ptr noundef nonnull %4, i32 noundef %12, i32 noundef %1) #2
%14 = tail call i32 @path_get(ptr noundef nonnull %0) #2
%15 = load i32, ptr %0, align 8, !tbaa !15
store i32 %15, ptr %10, align 4, !tbaa !16
%16 = tail call i32 @fuse_file_put(ptr noundef nonnull %4) #2
br label %17
17: ; preds = %2, %9
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @fuse_prepare_release(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @path_get(ptr noundef) local_unnamed_addr #1
declare i32 @fuse_file_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"file", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"fuse_file", !11, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"fuse_req", !18, i64 0}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"TYPE_3__", !8, i64 0}
| fastsocket_kernel_fs_fuse_extr_file.c_fuse_release_common |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_bnep.c_bnep_recv_extension.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_bnep.c_bnep_recv_extension.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, ptr, i32, i32 }
%struct.TYPE_8__ = type { ptr, i64 }
@.str = private unnamed_addr constant [32 x i8] c"ignored spurious data in exthdr\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"exthdr malloc() failed: %m\00", align 1
@next = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnep_recv_extension], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @bnep_recv_extension(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%3 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
br label %5
5: ; preds = %36, %1
%6 = load i32, ptr %0, align 8, !tbaa !5
%7 = icmp slt i32 %6, 2
br i1 %7, label %40, label %8
8: ; preds = %5
%9 = load ptr, ptr %2, align 8, !tbaa !11
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = getelementptr inbounds i32, ptr %9, i64 1
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = sext i32 %12 to i64
%14 = zext nneg i32 %6 to i64
%15 = add nsw i64 %13, 2
%16 = icmp ugt i64 %15, %14
br i1 %16, label %40, label %17
17: ; preds = %8
%18 = icmp eq i32 %10, 128
br i1 %18, label %19, label %26
19: ; preds = %17
%20 = load i32, ptr %4, align 4, !tbaa !13
%21 = getelementptr inbounds i32, ptr %9, i64 2
%22 = tail call i64 @bnep_recv_control(i32 noundef %20, ptr noundef nonnull %21, i64 noundef %13, i32 noundef 1) #2
%23 = icmp eq i64 %22, %13
br i1 %23, label %36, label %24
24: ; preds = %19
%25 = tail call i32 @log_err(ptr noundef nonnull @.str) #2
br label %36
26: ; preds = %17
%27 = tail call ptr @malloc(i32 noundef 16) #2
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = tail call i32 @log_err(ptr noundef nonnull @.str.1) #2
br label %36
31: ; preds = %26
%32 = load ptr, ptr %2, align 8, !tbaa !11
store ptr %32, ptr %27, align 8, !tbaa !14
%33 = getelementptr inbounds %struct.TYPE_8__, ptr %27, i64 0, i32 1
store i64 %13, ptr %33, align 8, !tbaa !17
%34 = load i32, ptr @next, align 4, !tbaa !12
%35 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull %3, ptr noundef nonnull %27, i32 noundef %34) #2
br label %36
36: ; preds = %19, %24, %31, %29
%37 = tail call i32 @packet_adj(ptr noundef nonnull %0, i64 noundef %15) #2
%38 = tail call i64 @BNEP_TYPE_EXT(i32 noundef %10) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %5, !llvm.loop !18
40: ; preds = %36, %8, %5
%41 = phi i32 [ 0, %5 ], [ 0, %8 ], [ 1, %36 ]
ret i32 %41
}
declare i64 @bnep_recv_control(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @packet_adj(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @BNEP_TYPE_EXT(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_7__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 20}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_8__", !10, i64 0, !16, i64 8}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !16, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_bnep.c_bnep_recv_extension.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_bnep.c_bnep_recv_extension.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [32 x i8] c"ignored spurious data in exthdr\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"exthdr malloc() failed: %m\00", align 1
@next = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnep_recv_extension], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @bnep_recv_extension(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = getelementptr inbounds i8, ptr %0, i64 20
br label %5
5: ; preds = %36, %1
%6 = load i32, ptr %0, align 8, !tbaa !6
%7 = icmp slt i32 %6, 2
br i1 %7, label %40, label %8
8: ; preds = %5
%9 = load ptr, ptr %2, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = getelementptr inbounds i8, ptr %9, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = sext i32 %12 to i64
%14 = zext nneg i32 %6 to i64
%15 = add nsw i64 %13, 2
%16 = icmp ugt i64 %15, %14
br i1 %16, label %40, label %17
17: ; preds = %8
%18 = icmp eq i32 %10, 128
br i1 %18, label %19, label %26
19: ; preds = %17
%20 = load i32, ptr %4, align 4, !tbaa !14
%21 = getelementptr inbounds i8, ptr %9, i64 8
%22 = tail call i64 @bnep_recv_control(i32 noundef %20, ptr noundef nonnull %21, i64 noundef %13, i32 noundef 1) #2
%23 = icmp eq i64 %22, %13
br i1 %23, label %36, label %24
24: ; preds = %19
%25 = tail call i32 @log_err(ptr noundef nonnull @.str) #2
br label %36
26: ; preds = %17
%27 = tail call ptr @malloc(i32 noundef 16) #2
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = tail call i32 @log_err(ptr noundef nonnull @.str.1) #2
br label %36
31: ; preds = %26
%32 = load ptr, ptr %2, align 8, !tbaa !12
store ptr %32, ptr %27, align 8, !tbaa !15
%33 = getelementptr inbounds i8, ptr %27, i64 8
store i64 %13, ptr %33, align 8, !tbaa !18
%34 = load i32, ptr @next, align 4, !tbaa !13
%35 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull %3, ptr noundef nonnull %27, i32 noundef %34) #2
br label %36
36: ; preds = %19, %24, %31, %29
%37 = tail call i32 @packet_adj(ptr noundef nonnull %0, i64 noundef %15) #2
%38 = tail call i64 @BNEP_TYPE_EXT(i32 noundef %10) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %5, !llvm.loop !19
40: ; preds = %36, %8, %5
%41 = phi i32 [ 0, %5 ], [ 0, %8 ], [ 1, %36 ]
ret i32 %41
}
declare i64 @bnep_recv_control(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_err(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @packet_adj(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @BNEP_TYPE_EXT(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_7__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 20}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_8__", !11, i64 0, !17, i64 8}
!17 = !{!"long", !9, i64 0}
!18 = !{!16, !17, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.sbin_bluetooth_btpand_extr_bnep.c_bnep_recv_extension |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_ocs_cbuf_put.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_ocs_cbuf_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64, i32, i32, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ocs_cbuf_put(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%4 = tail call i64 @ocs_sem_p(ptr noundef nonnull %3, i32 noundef -1) #2
%5 = icmp eq i64 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @likely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %28, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%11 = tail call i32 @ocs_lock(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = load i64, ptr %0, align 8, !tbaa !12
%15 = getelementptr inbounds ptr, ptr %13, i64 %14
store ptr %1, ptr %15, align 8, !tbaa !13
%16 = add i64 %14, 1
store i64 %16, ptr %0, align 8, !tbaa !12
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = icmp uge i64 %16, %18
%20 = zext i1 %19 to i32
%21 = tail call i64 @unlikely(i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %9
store i64 0, ptr %0, align 8, !tbaa !12
br label %24
24: ; preds = %23, %9
%25 = tail call i32 @ocs_unlock(ptr noundef nonnull %10) #2
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%27 = tail call i32 @ocs_sem_v(ptr noundef nonnull %26) #2
br label %28
28: ; preds = %2, %24
%29 = phi i32 [ 0, %24 ], [ -1, %2 ]
ret i32 %29
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i64 @ocs_sem_p(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocs_lock(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ocs_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ocs_sem_v(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 24}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_ocs_cbuf_put.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_ocs_cbuf_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @ocs_cbuf_put(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = tail call i64 @ocs_sem_p(ptr noundef nonnull %3, i32 noundef -1) #2
%5 = icmp eq i64 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @likely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %28, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 20
%11 = tail call i32 @ocs_lock(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 24
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = load i64, ptr %0, align 8, !tbaa !13
%15 = getelementptr inbounds ptr, ptr %13, i64 %14
store ptr %1, ptr %15, align 8, !tbaa !14
%16 = add i64 %14, 1
store i64 %16, ptr %0, align 8, !tbaa !13
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp uge i64 %16, %18
%20 = zext i1 %19 to i32
%21 = tail call i64 @unlikely(i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %9
store i64 0, ptr %0, align 8, !tbaa !13
br label %24
24: ; preds = %23, %9
%25 = tail call i32 @ocs_unlock(ptr noundef nonnull %10) #2
%26 = getelementptr inbounds i8, ptr %0, i64 16
%27 = tail call i32 @ocs_sem_v(ptr noundef nonnull %26) #2
br label %28
28: ; preds = %2, %24
%29 = phi i32 [ 0, %24 ], [ -1, %2 ]
ret i32 %29
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i64 @ocs_sem_p(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocs_lock(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @ocs_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ocs_sem_v(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 24}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!7, !8, i64 8}
| freebsd_sys_dev_ocs_fc_extr_ocs_utils.c_ocs_cbuf_put |
; ModuleID = 'AnghaBench/linux/drivers/iio/dac/extr_ad5064.c_ad5064_set_powerdown_mode.c'
source_filename = "AnghaBench/linux/drivers/iio/dac/extr_ad5064.c_ad5064_set_powerdown_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ad5064_state = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ad5064_set_powerdown_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ad5064_set_powerdown_mode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iio_priv(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.ad5064_state, ptr %4, i64 0, i32 1
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = add i32 %2, 1
%8 = load ptr, ptr %4, align 8, !tbaa !5
%9 = load i64, ptr %1, align 8, !tbaa !11
%10 = getelementptr inbounds i32, ptr %8, i64 %9
store i32 %7, ptr %10, align 4, !tbaa !14
%11 = tail call i32 @ad5064_sync_powerdown_mode(ptr noundef nonnull %4, ptr noundef nonnull %1) #2
%12 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
ret i32 %11
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ad5064_sync_powerdown_mode(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ad5064_state", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"iio_chan_spec", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/dac/extr_ad5064.c_ad5064_set_powerdown_mode.c'
source_filename = "AnghaBench/linux/drivers/iio/dac/extr_ad5064.c_ad5064_set_powerdown_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ad5064_set_powerdown_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ad5064_set_powerdown_mode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iio_priv(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = add i32 %2, 1
%8 = load ptr, ptr %4, align 8, !tbaa !6
%9 = load i64, ptr %1, align 8, !tbaa !12
%10 = getelementptr inbounds i32, ptr %8, i64 %9
store i32 %7, ptr %10, align 4, !tbaa !15
%11 = tail call i32 @ad5064_sync_powerdown_mode(ptr noundef nonnull %4, ptr noundef nonnull %1) #2
%12 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
ret i32 %11
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @ad5064_sync_powerdown_mode(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ad5064_state", !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 = !{!"iio_chan_spec", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!11, !11, i64 0}
| linux_drivers_iio_dac_extr_ad5064.c_ad5064_set_powerdown_mode |
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_super.c_nfs_validate_transport_protocol.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_super.c_nfs_validate_transport_protocol.c"
target datalayout = "e-m:e-p270:32:32-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 @nfs_validate_transport_protocol], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @nfs_validate_transport_protocol(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = add i32 %2, -128
%4 = icmp ult i32 %3, 3
br i1 %4, label %6, label %5
5: ; preds = %1
store i32 129, ptr %0, align 4, !tbaa !5
br label %6
6: ; preds = %1, %5
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, !8, i64 0}
!6 = !{!"nfs_parsed_mount_data", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/extr_super.c_nfs_validate_transport_protocol.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_super.c_nfs_validate_transport_protocol.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 @nfs_validate_transport_protocol], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @nfs_validate_transport_protocol(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = add i32 %2, -128
%4 = icmp ult i32 %3, 3
br i1 %4, label %6, label %5
5: ; preds = %1
store i32 129, ptr %0, align 4, !tbaa !6
br label %6
6: ; preds = %1, %5
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, !9, i64 0}
!7 = !{!"nfs_parsed_mount_data", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_fs_nfs_extr_super.c_nfs_validate_transport_protocol |
; ModuleID = 'AnghaBench/libevent/test/extr_tinytest_demo.c_clean_data_buffer.c'
source_filename = "AnghaBench/libevent/test/extr_tinytest_demo.c_clean_data_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @clean_data_buffer(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @free(ptr noundef nonnull %1) #2
br label %6
6: ; preds = %2, %4
%7 = phi i32 [ 1, %4 ], [ 0, %2 ]
ret i32 %7
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/libevent/test/extr_tinytest_demo.c_clean_data_buffer.c'
source_filename = "AnghaBench/libevent/test/extr_tinytest_demo.c_clean_data_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @clean_data_buffer(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @free(ptr noundef nonnull %1) #2
br label %6
6: ; preds = %2, %4
%7 = phi i32 [ 1, %4 ], [ 0, %2 ]
ret i32 %7
}
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| libevent_test_extr_tinytest_demo.c_clean_data_buffer |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_proresenc_kostya.c_prores_fdct.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_proresenc_kostya.c_prores_fdct.c"
target datalayout = "e-m:e-p270:32:32-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 @prores_fdct], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @prores_fdct(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = ashr i32 %2, 1
%6 = sext i32 %5 to i64
%7 = load i32, ptr %1, align 4, !tbaa !5
store i32 %7, ptr %3, align 4, !tbaa !5
%8 = getelementptr inbounds i32, ptr %1, i64 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = getelementptr inbounds i32, ptr %3, i64 1
store i32 %9, ptr %10, align 4, !tbaa !5
%11 = getelementptr inbounds i32, ptr %1, i64 2
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = getelementptr inbounds i32, ptr %3, i64 2
store i32 %12, ptr %13, align 4, !tbaa !5
%14 = getelementptr inbounds i32, ptr %1, i64 3
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = getelementptr inbounds i32, ptr %3, i64 3
store i32 %15, ptr %16, align 4, !tbaa !5
%17 = getelementptr inbounds i32, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !5
%19 = getelementptr inbounds i32, ptr %3, i64 4
store i32 %18, ptr %19, align 4, !tbaa !5
%20 = getelementptr inbounds i32, ptr %1, i64 5
%21 = load i32, ptr %20, align 4, !tbaa !5
%22 = getelementptr inbounds i32, ptr %3, i64 5
store i32 %21, ptr %22, align 4, !tbaa !5
%23 = getelementptr inbounds i32, ptr %1, i64 6
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = getelementptr inbounds i32, ptr %3, i64 6
store i32 %24, ptr %25, align 4, !tbaa !5
%26 = getelementptr inbounds i32, ptr %1, i64 7
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = getelementptr inbounds i32, ptr %3, i64 7
store i32 %27, ptr %28, align 4, !tbaa !5
%29 = getelementptr inbounds i32, ptr %1, i64 %6
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = getelementptr inbounds i32, ptr %3, i64 8
store i32 %30, ptr %31, align 4, !tbaa !5
%32 = getelementptr inbounds i32, ptr %29, i64 1
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = getelementptr inbounds i32, ptr %3, i64 9
store i32 %33, ptr %34, align 4, !tbaa !5
%35 = getelementptr inbounds i32, ptr %29, i64 2
%36 = load i32, ptr %35, align 4, !tbaa !5
%37 = getelementptr inbounds i32, ptr %3, i64 10
store i32 %36, ptr %37, align 4, !tbaa !5
%38 = getelementptr inbounds i32, ptr %29, i64 3
%39 = load i32, ptr %38, align 4, !tbaa !5
%40 = getelementptr inbounds i32, ptr %3, i64 11
store i32 %39, ptr %40, align 4, !tbaa !5
%41 = getelementptr inbounds i32, ptr %29, i64 4
%42 = load i32, ptr %41, align 4, !tbaa !5
%43 = getelementptr inbounds i32, ptr %3, i64 12
store i32 %42, ptr %43, align 4, !tbaa !5
%44 = getelementptr inbounds i32, ptr %29, i64 5
%45 = load i32, ptr %44, align 4, !tbaa !5
%46 = getelementptr inbounds i32, ptr %3, i64 13
store i32 %45, ptr %46, align 4, !tbaa !5
%47 = getelementptr inbounds i32, ptr %29, i64 6
%48 = load i32, ptr %47, align 4, !tbaa !5
%49 = getelementptr inbounds i32, ptr %3, i64 14
store i32 %48, ptr %49, align 4, !tbaa !5
%50 = getelementptr inbounds i32, ptr %29, i64 7
%51 = load i32, ptr %50, align 4, !tbaa !5
%52 = getelementptr inbounds i32, ptr %3, i64 15
store i32 %51, ptr %52, align 4, !tbaa !5
%53 = getelementptr inbounds i32, ptr %29, i64 %6
%54 = load i32, ptr %53, align 4, !tbaa !5
%55 = getelementptr inbounds i32, ptr %3, i64 16
store i32 %54, ptr %55, align 4, !tbaa !5
%56 = getelementptr inbounds i32, ptr %53, i64 1
%57 = load i32, ptr %56, align 4, !tbaa !5
%58 = getelementptr inbounds i32, ptr %3, i64 17
store i32 %57, ptr %58, align 4, !tbaa !5
%59 = getelementptr inbounds i32, ptr %53, i64 2
%60 = load i32, ptr %59, align 4, !tbaa !5
%61 = getelementptr inbounds i32, ptr %3, i64 18
store i32 %60, ptr %61, align 4, !tbaa !5
%62 = getelementptr inbounds i32, ptr %53, i64 3
%63 = load i32, ptr %62, align 4, !tbaa !5
%64 = getelementptr inbounds i32, ptr %3, i64 19
store i32 %63, ptr %64, align 4, !tbaa !5
%65 = getelementptr inbounds i32, ptr %53, i64 4
%66 = load i32, ptr %65, align 4, !tbaa !5
%67 = getelementptr inbounds i32, ptr %3, i64 20
store i32 %66, ptr %67, align 4, !tbaa !5
%68 = getelementptr inbounds i32, ptr %53, i64 5
%69 = load i32, ptr %68, align 4, !tbaa !5
%70 = getelementptr inbounds i32, ptr %3, i64 21
store i32 %69, ptr %70, align 4, !tbaa !5
%71 = getelementptr inbounds i32, ptr %53, i64 6
%72 = load i32, ptr %71, align 4, !tbaa !5
%73 = getelementptr inbounds i32, ptr %3, i64 22
store i32 %72, ptr %73, align 4, !tbaa !5
%74 = getelementptr inbounds i32, ptr %53, i64 7
%75 = load i32, ptr %74, align 4, !tbaa !5
%76 = getelementptr inbounds i32, ptr %3, i64 23
store i32 %75, ptr %76, align 4, !tbaa !5
%77 = getelementptr inbounds i32, ptr %53, i64 %6
%78 = load i32, ptr %77, align 4, !tbaa !5
%79 = getelementptr inbounds i32, ptr %3, i64 24
store i32 %78, ptr %79, align 4, !tbaa !5
%80 = getelementptr inbounds i32, ptr %77, i64 1
%81 = load i32, ptr %80, align 4, !tbaa !5
%82 = getelementptr inbounds i32, ptr %3, i64 25
store i32 %81, ptr %82, align 4, !tbaa !5
%83 = getelementptr inbounds i32, ptr %77, i64 2
%84 = load i32, ptr %83, align 4, !tbaa !5
%85 = getelementptr inbounds i32, ptr %3, i64 26
store i32 %84, ptr %85, align 4, !tbaa !5
%86 = getelementptr inbounds i32, ptr %77, i64 3
%87 = load i32, ptr %86, align 4, !tbaa !5
%88 = getelementptr inbounds i32, ptr %3, i64 27
store i32 %87, ptr %88, align 4, !tbaa !5
%89 = getelementptr inbounds i32, ptr %77, i64 4
%90 = load i32, ptr %89, align 4, !tbaa !5
%91 = getelementptr inbounds i32, ptr %3, i64 28
store i32 %90, ptr %91, align 4, !tbaa !5
%92 = getelementptr inbounds i32, ptr %77, i64 5
%93 = load i32, ptr %92, align 4, !tbaa !5
%94 = getelementptr inbounds i32, ptr %3, i64 29
store i32 %93, ptr %94, align 4, !tbaa !5
%95 = getelementptr inbounds i32, ptr %77, i64 6
%96 = load i32, ptr %95, align 4, !tbaa !5
%97 = getelementptr inbounds i32, ptr %3, i64 30
store i32 %96, ptr %97, align 4, !tbaa !5
%98 = getelementptr inbounds i32, ptr %77, i64 7
%99 = load i32, ptr %98, align 4, !tbaa !5
%100 = getelementptr inbounds i32, ptr %3, i64 31
store i32 %99, ptr %100, align 4, !tbaa !5
%101 = getelementptr inbounds i32, ptr %77, i64 %6
%102 = load i32, ptr %101, align 4, !tbaa !5
%103 = getelementptr inbounds i32, ptr %3, i64 32
store i32 %102, ptr %103, align 4, !tbaa !5
%104 = getelementptr inbounds i32, ptr %101, i64 1
%105 = load i32, ptr %104, align 4, !tbaa !5
%106 = getelementptr inbounds i32, ptr %3, i64 33
store i32 %105, ptr %106, align 4, !tbaa !5
%107 = getelementptr inbounds i32, ptr %101, i64 2
%108 = load i32, ptr %107, align 4, !tbaa !5
%109 = getelementptr inbounds i32, ptr %3, i64 34
store i32 %108, ptr %109, align 4, !tbaa !5
%110 = getelementptr inbounds i32, ptr %101, i64 3
%111 = load i32, ptr %110, align 4, !tbaa !5
%112 = getelementptr inbounds i32, ptr %3, i64 35
store i32 %111, ptr %112, align 4, !tbaa !5
%113 = getelementptr inbounds i32, ptr %101, i64 4
%114 = load i32, ptr %113, align 4, !tbaa !5
%115 = getelementptr inbounds i32, ptr %3, i64 36
store i32 %114, ptr %115, align 4, !tbaa !5
%116 = getelementptr inbounds i32, ptr %101, i64 5
%117 = load i32, ptr %116, align 4, !tbaa !5
%118 = getelementptr inbounds i32, ptr %3, i64 37
store i32 %117, ptr %118, align 4, !tbaa !5
%119 = getelementptr inbounds i32, ptr %101, i64 6
%120 = load i32, ptr %119, align 4, !tbaa !5
%121 = getelementptr inbounds i32, ptr %3, i64 38
store i32 %120, ptr %121, align 4, !tbaa !5
%122 = getelementptr inbounds i32, ptr %101, i64 7
%123 = load i32, ptr %122, align 4, !tbaa !5
%124 = getelementptr inbounds i32, ptr %3, i64 39
store i32 %123, ptr %124, align 4, !tbaa !5
%125 = getelementptr inbounds i32, ptr %101, i64 %6
%126 = load i32, ptr %125, align 4, !tbaa !5
%127 = getelementptr inbounds i32, ptr %3, i64 40
store i32 %126, ptr %127, align 4, !tbaa !5
%128 = getelementptr inbounds i32, ptr %125, i64 1
%129 = load i32, ptr %128, align 4, !tbaa !5
%130 = getelementptr inbounds i32, ptr %3, i64 41
store i32 %129, ptr %130, align 4, !tbaa !5
%131 = getelementptr inbounds i32, ptr %125, i64 2
%132 = load i32, ptr %131, align 4, !tbaa !5
%133 = getelementptr inbounds i32, ptr %3, i64 42
store i32 %132, ptr %133, align 4, !tbaa !5
%134 = getelementptr inbounds i32, ptr %125, i64 3
%135 = load i32, ptr %134, align 4, !tbaa !5
%136 = getelementptr inbounds i32, ptr %3, i64 43
store i32 %135, ptr %136, align 4, !tbaa !5
%137 = getelementptr inbounds i32, ptr %125, i64 4
%138 = load i32, ptr %137, align 4, !tbaa !5
%139 = getelementptr inbounds i32, ptr %3, i64 44
store i32 %138, ptr %139, align 4, !tbaa !5
%140 = getelementptr inbounds i32, ptr %125, i64 5
%141 = load i32, ptr %140, align 4, !tbaa !5
%142 = getelementptr inbounds i32, ptr %3, i64 45
store i32 %141, ptr %142, align 4, !tbaa !5
%143 = getelementptr inbounds i32, ptr %125, i64 6
%144 = load i32, ptr %143, align 4, !tbaa !5
%145 = getelementptr inbounds i32, ptr %3, i64 46
store i32 %144, ptr %145, align 4, !tbaa !5
%146 = getelementptr inbounds i32, ptr %125, i64 7
%147 = load i32, ptr %146, align 4, !tbaa !5
%148 = getelementptr inbounds i32, ptr %3, i64 47
store i32 %147, ptr %148, align 4, !tbaa !5
%149 = getelementptr inbounds i32, ptr %125, i64 %6
%150 = load i32, ptr %149, align 4, !tbaa !5
%151 = getelementptr inbounds i32, ptr %3, i64 48
store i32 %150, ptr %151, align 4, !tbaa !5
%152 = getelementptr inbounds i32, ptr %149, i64 1
%153 = load i32, ptr %152, align 4, !tbaa !5
%154 = getelementptr inbounds i32, ptr %3, i64 49
store i32 %153, ptr %154, align 4, !tbaa !5
%155 = getelementptr inbounds i32, ptr %149, i64 2
%156 = load i32, ptr %155, align 4, !tbaa !5
%157 = getelementptr inbounds i32, ptr %3, i64 50
store i32 %156, ptr %157, align 4, !tbaa !5
%158 = getelementptr inbounds i32, ptr %149, i64 3
%159 = load i32, ptr %158, align 4, !tbaa !5
%160 = getelementptr inbounds i32, ptr %3, i64 51
store i32 %159, ptr %160, align 4, !tbaa !5
%161 = getelementptr inbounds i32, ptr %149, i64 4
%162 = load i32, ptr %161, align 4, !tbaa !5
%163 = getelementptr inbounds i32, ptr %3, i64 52
store i32 %162, ptr %163, align 4, !tbaa !5
%164 = getelementptr inbounds i32, ptr %149, i64 5
%165 = load i32, ptr %164, align 4, !tbaa !5
%166 = getelementptr inbounds i32, ptr %3, i64 53
store i32 %165, ptr %166, align 4, !tbaa !5
%167 = getelementptr inbounds i32, ptr %149, i64 6
%168 = load i32, ptr %167, align 4, !tbaa !5
%169 = getelementptr inbounds i32, ptr %3, i64 54
store i32 %168, ptr %169, align 4, !tbaa !5
%170 = getelementptr inbounds i32, ptr %149, i64 7
%171 = load i32, ptr %170, align 4, !tbaa !5
%172 = getelementptr inbounds i32, ptr %3, i64 55
store i32 %171, ptr %172, align 4, !tbaa !5
%173 = getelementptr inbounds i32, ptr %149, i64 %6
%174 = load i32, ptr %173, align 4, !tbaa !5
%175 = getelementptr inbounds i32, ptr %3, i64 56
store i32 %174, ptr %175, align 4, !tbaa !5
%176 = getelementptr inbounds i32, ptr %173, i64 1
%177 = load i32, ptr %176, align 4, !tbaa !5
%178 = getelementptr inbounds i32, ptr %3, i64 57
store i32 %177, ptr %178, align 4, !tbaa !5
%179 = getelementptr inbounds i32, ptr %173, i64 2
%180 = load i32, ptr %179, align 4, !tbaa !5
%181 = getelementptr inbounds i32, ptr %3, i64 58
store i32 %180, ptr %181, align 4, !tbaa !5
%182 = getelementptr inbounds i32, ptr %173, i64 3
%183 = load i32, ptr %182, align 4, !tbaa !5
%184 = getelementptr inbounds i32, ptr %3, i64 59
store i32 %183, ptr %184, align 4, !tbaa !5
%185 = getelementptr inbounds i32, ptr %173, i64 4
%186 = load i32, ptr %185, align 4, !tbaa !5
%187 = getelementptr inbounds i32, ptr %3, i64 60
store i32 %186, ptr %187, align 4, !tbaa !5
%188 = getelementptr inbounds i32, ptr %173, i64 5
%189 = load i32, ptr %188, align 4, !tbaa !5
%190 = getelementptr inbounds i32, ptr %3, i64 61
store i32 %189, ptr %190, align 4, !tbaa !5
%191 = getelementptr inbounds i32, ptr %173, i64 6
%192 = load i32, ptr %191, align 4, !tbaa !5
%193 = getelementptr inbounds i32, ptr %3, i64 62
store i32 %192, ptr %193, align 4, !tbaa !5
%194 = getelementptr inbounds i32, ptr %173, i64 7
%195 = load i32, ptr %194, align 4, !tbaa !5
%196 = getelementptr inbounds i32, ptr %3, i64 63
store i32 %195, ptr %196, align 4, !tbaa !5
%197 = load ptr, ptr %0, align 8, !tbaa !9
%198 = tail call i32 %197(ptr noundef nonnull %3) #1
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_proresenc_kostya.c_prores_fdct.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_proresenc_kostya.c_prores_fdct.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 @prores_fdct], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @prores_fdct(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = ashr i32 %2, 1
%6 = sext i32 %5 to i64
%7 = load i32, ptr %1, align 4, !tbaa !6
store i32 %7, ptr %3, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %9, ptr %10, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %12, ptr %13, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %15, ptr %16, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %1, i64 16
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %18, ptr %19, align 4, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 20
%21 = load i32, ptr %20, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %3, i64 20
store i32 %21, ptr %22, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %1, i64 24
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %24, ptr %25, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %1, i64 28
%27 = load i32, ptr %26, align 4, !tbaa !6
%28 = getelementptr inbounds i8, ptr %3, i64 28
store i32 %27, ptr %28, align 4, !tbaa !6
%29 = getelementptr inbounds i32, ptr %1, i64 %6
%30 = load i32, ptr %29, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %3, i64 32
store i32 %30, ptr %31, align 4, !tbaa !6
%32 = getelementptr inbounds i8, ptr %29, i64 4
%33 = load i32, ptr %32, align 4, !tbaa !6
%34 = getelementptr inbounds i8, ptr %3, i64 36
store i32 %33, ptr %34, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %29, i64 8
%36 = load i32, ptr %35, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %3, i64 40
store i32 %36, ptr %37, align 4, !tbaa !6
%38 = getelementptr inbounds i8, ptr %29, i64 12
%39 = load i32, ptr %38, align 4, !tbaa !6
%40 = getelementptr inbounds i8, ptr %3, i64 44
store i32 %39, ptr %40, align 4, !tbaa !6
%41 = getelementptr inbounds i8, ptr %29, i64 16
%42 = load i32, ptr %41, align 4, !tbaa !6
%43 = getelementptr inbounds i8, ptr %3, i64 48
store i32 %42, ptr %43, align 4, !tbaa !6
%44 = getelementptr inbounds i8, ptr %29, i64 20
%45 = load i32, ptr %44, align 4, !tbaa !6
%46 = getelementptr inbounds i8, ptr %3, i64 52
store i32 %45, ptr %46, align 4, !tbaa !6
%47 = getelementptr inbounds i8, ptr %29, i64 24
%48 = load i32, ptr %47, align 4, !tbaa !6
%49 = getelementptr inbounds i8, ptr %3, i64 56
store i32 %48, ptr %49, align 4, !tbaa !6
%50 = getelementptr inbounds i8, ptr %29, i64 28
%51 = load i32, ptr %50, align 4, !tbaa !6
%52 = getelementptr inbounds i8, ptr %3, i64 60
store i32 %51, ptr %52, align 4, !tbaa !6
%53 = getelementptr inbounds i32, ptr %29, i64 %6
%54 = load i32, ptr %53, align 4, !tbaa !6
%55 = getelementptr inbounds i8, ptr %3, i64 64
store i32 %54, ptr %55, align 4, !tbaa !6
%56 = getelementptr inbounds i8, ptr %53, i64 4
%57 = load i32, ptr %56, align 4, !tbaa !6
%58 = getelementptr inbounds i8, ptr %3, i64 68
store i32 %57, ptr %58, align 4, !tbaa !6
%59 = getelementptr inbounds i8, ptr %53, i64 8
%60 = load i32, ptr %59, align 4, !tbaa !6
%61 = getelementptr inbounds i8, ptr %3, i64 72
store i32 %60, ptr %61, align 4, !tbaa !6
%62 = getelementptr inbounds i8, ptr %53, i64 12
%63 = load i32, ptr %62, align 4, !tbaa !6
%64 = getelementptr inbounds i8, ptr %3, i64 76
store i32 %63, ptr %64, align 4, !tbaa !6
%65 = getelementptr inbounds i8, ptr %53, i64 16
%66 = load i32, ptr %65, align 4, !tbaa !6
%67 = getelementptr inbounds i8, ptr %3, i64 80
store i32 %66, ptr %67, align 4, !tbaa !6
%68 = getelementptr inbounds i8, ptr %53, i64 20
%69 = load i32, ptr %68, align 4, !tbaa !6
%70 = getelementptr inbounds i8, ptr %3, i64 84
store i32 %69, ptr %70, align 4, !tbaa !6
%71 = getelementptr inbounds i8, ptr %53, i64 24
%72 = load i32, ptr %71, align 4, !tbaa !6
%73 = getelementptr inbounds i8, ptr %3, i64 88
store i32 %72, ptr %73, align 4, !tbaa !6
%74 = getelementptr inbounds i8, ptr %53, i64 28
%75 = load i32, ptr %74, align 4, !tbaa !6
%76 = getelementptr inbounds i8, ptr %3, i64 92
store i32 %75, ptr %76, align 4, !tbaa !6
%77 = getelementptr inbounds i32, ptr %53, i64 %6
%78 = load i32, ptr %77, align 4, !tbaa !6
%79 = getelementptr inbounds i8, ptr %3, i64 96
store i32 %78, ptr %79, align 4, !tbaa !6
%80 = getelementptr inbounds i8, ptr %77, i64 4
%81 = load i32, ptr %80, align 4, !tbaa !6
%82 = getelementptr inbounds i8, ptr %3, i64 100
store i32 %81, ptr %82, align 4, !tbaa !6
%83 = getelementptr inbounds i8, ptr %77, i64 8
%84 = load i32, ptr %83, align 4, !tbaa !6
%85 = getelementptr inbounds i8, ptr %3, i64 104
store i32 %84, ptr %85, align 4, !tbaa !6
%86 = getelementptr inbounds i8, ptr %77, i64 12
%87 = load i32, ptr %86, align 4, !tbaa !6
%88 = getelementptr inbounds i8, ptr %3, i64 108
store i32 %87, ptr %88, align 4, !tbaa !6
%89 = getelementptr inbounds i8, ptr %77, i64 16
%90 = load i32, ptr %89, align 4, !tbaa !6
%91 = getelementptr inbounds i8, ptr %3, i64 112
store i32 %90, ptr %91, align 4, !tbaa !6
%92 = getelementptr inbounds i8, ptr %77, i64 20
%93 = load i32, ptr %92, align 4, !tbaa !6
%94 = getelementptr inbounds i8, ptr %3, i64 116
store i32 %93, ptr %94, align 4, !tbaa !6
%95 = getelementptr inbounds i8, ptr %77, i64 24
%96 = load i32, ptr %95, align 4, !tbaa !6
%97 = getelementptr inbounds i8, ptr %3, i64 120
store i32 %96, ptr %97, align 4, !tbaa !6
%98 = getelementptr inbounds i8, ptr %77, i64 28
%99 = load i32, ptr %98, align 4, !tbaa !6
%100 = getelementptr inbounds i8, ptr %3, i64 124
store i32 %99, ptr %100, align 4, !tbaa !6
%101 = getelementptr inbounds i32, ptr %77, i64 %6
%102 = load i32, ptr %101, align 4, !tbaa !6
%103 = getelementptr inbounds i8, ptr %3, i64 128
store i32 %102, ptr %103, align 4, !tbaa !6
%104 = getelementptr inbounds i8, ptr %101, i64 4
%105 = load i32, ptr %104, align 4, !tbaa !6
%106 = getelementptr inbounds i8, ptr %3, i64 132
store i32 %105, ptr %106, align 4, !tbaa !6
%107 = getelementptr inbounds i8, ptr %101, i64 8
%108 = load i32, ptr %107, align 4, !tbaa !6
%109 = getelementptr inbounds i8, ptr %3, i64 136
store i32 %108, ptr %109, align 4, !tbaa !6
%110 = getelementptr inbounds i8, ptr %101, i64 12
%111 = load i32, ptr %110, align 4, !tbaa !6
%112 = getelementptr inbounds i8, ptr %3, i64 140
store i32 %111, ptr %112, align 4, !tbaa !6
%113 = getelementptr inbounds i8, ptr %101, i64 16
%114 = load i32, ptr %113, align 4, !tbaa !6
%115 = getelementptr inbounds i8, ptr %3, i64 144
store i32 %114, ptr %115, align 4, !tbaa !6
%116 = getelementptr inbounds i8, ptr %101, i64 20
%117 = load i32, ptr %116, align 4, !tbaa !6
%118 = getelementptr inbounds i8, ptr %3, i64 148
store i32 %117, ptr %118, align 4, !tbaa !6
%119 = getelementptr inbounds i8, ptr %101, i64 24
%120 = load i32, ptr %119, align 4, !tbaa !6
%121 = getelementptr inbounds i8, ptr %3, i64 152
store i32 %120, ptr %121, align 4, !tbaa !6
%122 = getelementptr inbounds i8, ptr %101, i64 28
%123 = load i32, ptr %122, align 4, !tbaa !6
%124 = getelementptr inbounds i8, ptr %3, i64 156
store i32 %123, ptr %124, align 4, !tbaa !6
%125 = getelementptr inbounds i32, ptr %101, i64 %6
%126 = load i32, ptr %125, align 4, !tbaa !6
%127 = getelementptr inbounds i8, ptr %3, i64 160
store i32 %126, ptr %127, align 4, !tbaa !6
%128 = getelementptr inbounds i8, ptr %125, i64 4
%129 = load i32, ptr %128, align 4, !tbaa !6
%130 = getelementptr inbounds i8, ptr %3, i64 164
store i32 %129, ptr %130, align 4, !tbaa !6
%131 = getelementptr inbounds i8, ptr %125, i64 8
%132 = load i32, ptr %131, align 4, !tbaa !6
%133 = getelementptr inbounds i8, ptr %3, i64 168
store i32 %132, ptr %133, align 4, !tbaa !6
%134 = getelementptr inbounds i8, ptr %125, i64 12
%135 = load i32, ptr %134, align 4, !tbaa !6
%136 = getelementptr inbounds i8, ptr %3, i64 172
store i32 %135, ptr %136, align 4, !tbaa !6
%137 = getelementptr inbounds i8, ptr %125, i64 16
%138 = load i32, ptr %137, align 4, !tbaa !6
%139 = getelementptr inbounds i8, ptr %3, i64 176
store i32 %138, ptr %139, align 4, !tbaa !6
%140 = getelementptr inbounds i8, ptr %125, i64 20
%141 = load i32, ptr %140, align 4, !tbaa !6
%142 = getelementptr inbounds i8, ptr %3, i64 180
store i32 %141, ptr %142, align 4, !tbaa !6
%143 = getelementptr inbounds i8, ptr %125, i64 24
%144 = load i32, ptr %143, align 4, !tbaa !6
%145 = getelementptr inbounds i8, ptr %3, i64 184
store i32 %144, ptr %145, align 4, !tbaa !6
%146 = getelementptr inbounds i8, ptr %125, i64 28
%147 = load i32, ptr %146, align 4, !tbaa !6
%148 = getelementptr inbounds i8, ptr %3, i64 188
store i32 %147, ptr %148, align 4, !tbaa !6
%149 = getelementptr inbounds i32, ptr %125, i64 %6
%150 = load i32, ptr %149, align 4, !tbaa !6
%151 = getelementptr inbounds i8, ptr %3, i64 192
store i32 %150, ptr %151, align 4, !tbaa !6
%152 = getelementptr inbounds i8, ptr %149, i64 4
%153 = load i32, ptr %152, align 4, !tbaa !6
%154 = getelementptr inbounds i8, ptr %3, i64 196
store i32 %153, ptr %154, align 4, !tbaa !6
%155 = getelementptr inbounds i8, ptr %149, i64 8
%156 = load i32, ptr %155, align 4, !tbaa !6
%157 = getelementptr inbounds i8, ptr %3, i64 200
store i32 %156, ptr %157, align 4, !tbaa !6
%158 = getelementptr inbounds i8, ptr %149, i64 12
%159 = load i32, ptr %158, align 4, !tbaa !6
%160 = getelementptr inbounds i8, ptr %3, i64 204
store i32 %159, ptr %160, align 4, !tbaa !6
%161 = getelementptr inbounds i8, ptr %149, i64 16
%162 = load i32, ptr %161, align 4, !tbaa !6
%163 = getelementptr inbounds i8, ptr %3, i64 208
store i32 %162, ptr %163, align 4, !tbaa !6
%164 = getelementptr inbounds i8, ptr %149, i64 20
%165 = load i32, ptr %164, align 4, !tbaa !6
%166 = getelementptr inbounds i8, ptr %3, i64 212
store i32 %165, ptr %166, align 4, !tbaa !6
%167 = getelementptr inbounds i8, ptr %149, i64 24
%168 = load i32, ptr %167, align 4, !tbaa !6
%169 = getelementptr inbounds i8, ptr %3, i64 216
store i32 %168, ptr %169, align 4, !tbaa !6
%170 = getelementptr inbounds i8, ptr %149, i64 28
%171 = load i32, ptr %170, align 4, !tbaa !6
%172 = getelementptr inbounds i8, ptr %3, i64 220
store i32 %171, ptr %172, align 4, !tbaa !6
%173 = getelementptr inbounds i32, ptr %149, i64 %6
%174 = load i32, ptr %173, align 4, !tbaa !6
%175 = getelementptr inbounds i8, ptr %3, i64 224
store i32 %174, ptr %175, align 4, !tbaa !6
%176 = getelementptr inbounds i8, ptr %173, i64 4
%177 = load i32, ptr %176, align 4, !tbaa !6
%178 = getelementptr inbounds i8, ptr %3, i64 228
store i32 %177, ptr %178, align 4, !tbaa !6
%179 = getelementptr inbounds i8, ptr %173, i64 8
%180 = load i32, ptr %179, align 4, !tbaa !6
%181 = getelementptr inbounds i8, ptr %3, i64 232
store i32 %180, ptr %181, align 4, !tbaa !6
%182 = getelementptr inbounds i8, ptr %173, i64 12
%183 = load i32, ptr %182, align 4, !tbaa !6
%184 = getelementptr inbounds i8, ptr %3, i64 236
store i32 %183, ptr %184, align 4, !tbaa !6
%185 = getelementptr inbounds i8, ptr %173, i64 16
%186 = load i32, ptr %185, align 4, !tbaa !6
%187 = getelementptr inbounds i8, ptr %3, i64 240
store i32 %186, ptr %187, align 4, !tbaa !6
%188 = getelementptr inbounds i8, ptr %173, i64 20
%189 = load i32, ptr %188, align 4, !tbaa !6
%190 = getelementptr inbounds i8, ptr %3, i64 244
store i32 %189, ptr %190, align 4, !tbaa !6
%191 = getelementptr inbounds i8, ptr %173, i64 24
%192 = load i32, ptr %191, align 4, !tbaa !6
%193 = getelementptr inbounds i8, ptr %3, i64 248
store i32 %192, ptr %193, align 4, !tbaa !6
%194 = getelementptr inbounds i8, ptr %173, i64 28
%195 = load i32, ptr %194, align 4, !tbaa !6
%196 = getelementptr inbounds i8, ptr %3, i64 252
store i32 %195, ptr %196, align 4, !tbaa !6
%197 = load ptr, ptr %0, align 8, !tbaa !10
%198 = tail call i32 %197(ptr noundef %3) #1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| FFmpeg_libavcodec_extr_proresenc_kostya.c_prores_fdct |
; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-mv-usb.c_mv_otg_set_peripheral.c'
source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-mv-usb.c_mv_otg_set_peripheral.c"
target datalayout = "e-m:e-p270:32:32-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 @mv_otg_set_peripheral], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef i32 @mv_otg_set_peripheral(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
store ptr %1, ptr %0, align 8, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"usb_otg", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-mv-usb.c_mv_otg_set_peripheral.c'
source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-mv-usb.c_mv_otg_set_peripheral.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 @mv_otg_set_peripheral], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef i32 @mv_otg_set_peripheral(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
store ptr %1, ptr %0, align 8, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_otg", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_phy_extr_phy-mv-usb.c_mv_otg_set_peripheral |
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_mdacon.c_mda_set_cursor.c'
source_filename = "AnghaBench/linux/drivers/video/console/extr_mdacon.c_mda_set_cursor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mda_cursor_loc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mda_set_cursor], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @mda_set_cursor(i32 noundef %0) #0 {
%2 = load i32, ptr @mda_cursor_loc, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = lshr i32 %0, 1
%6 = tail call i32 @write_mda_w(i32 noundef %5, i32 noundef 14) #2
store i32 %0, ptr @mda_cursor_loc, align 4, !tbaa !5
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @write_mda_w(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_mdacon.c_mda_set_cursor.c'
source_filename = "AnghaBench/linux/drivers/video/console/extr_mdacon.c_mda_set_cursor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mda_cursor_loc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mda_set_cursor], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @mda_set_cursor(i32 noundef %0) #0 {
%2 = load i32, ptr @mda_cursor_loc, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = lshr i32 %0, 1
%6 = tail call i32 @write_mda_w(i32 noundef %5, i32 noundef 14) #2
store i32 %0, ptr @mda_cursor_loc, align 4, !tbaa !6
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @write_mda_w(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_console_extr_mdacon.c_mda_set_cursor |
; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_SelectSplitPlaneNum.c'
source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_SelectSplitPlaneNum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, ptr }
%struct.TYPE_9__ = type { i64, i64, i64, i32, ptr, ptr }
%struct.TYPE_7__ = type { i32, i32, i32 }
@qfalse = dso_local local_unnamed_addr global ptr null, align 8
@hintsplit = dso_local local_unnamed_addr global ptr null, align 8
@BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@mapplanes = dso_local local_unnamed_addr global ptr null, align 8
@qtrue = dso_local local_unnamed_addr global ptr null, align 8
@SIDE_CROSS = dso_local local_unnamed_addr global i32 0, align 4
@SIDE_FRONT = dso_local local_unnamed_addr global i32 0, align 4
@SIDE_BACK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @SelectSplitPlaneNum(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @qfalse, align 8, !tbaa !5
store ptr %3, ptr @hintsplit, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%5 = load i32, ptr @BLOCK_SIZE, align 4, !tbaa !9
%6 = load ptr, ptr %0, align 8, !tbaa !11
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = sdiv i32 %7, %5
%9 = tail call i32 @floor(i32 noundef %8) #3
%10 = add nsw i32 %9, 1
%11 = mul nsw i32 %10, %5
%12 = sitofp i32 %11 to float
%13 = load ptr, ptr %4, align 8, !tbaa !13
%14 = load float, ptr %13, align 4, !tbaa !14
%15 = fcmp ogt float %14, %12
br i1 %15, label %34, label %16
16: ; preds = %2
%17 = load i32, ptr @BLOCK_SIZE, align 4, !tbaa !9
%18 = load ptr, ptr %0, align 8, !tbaa !11
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4, !tbaa !9
%21 = sdiv i32 %20, %17
%22 = tail call i32 @floor(i32 noundef %21) #3
%23 = add nsw i32 %22, 1
%24 = mul nsw i32 %23, %17
%25 = sitofp i32 %24 to float
%26 = load ptr, ptr %4, align 8, !tbaa !13
%27 = getelementptr inbounds float, ptr %26, i64 1
%28 = load float, ptr %27, align 4, !tbaa !14
%29 = fcmp ogt float %28, %25
br i1 %29, label %34, label %30
30: ; preds = %16
%31 = icmp eq ptr %1, null
br i1 %31, label %113, label %32
32: ; preds = %30
%33 = load ptr, ptr @qfalse, align 8, !tbaa !5
br label %36
34: ; preds = %16, %2
%35 = tail call i32 @VectorClear(ptr noundef undef) #3
unreachable
36: ; preds = %32, %36
%37 = phi ptr [ %1, %32 ], [ %40, %36 ]
%38 = getelementptr inbounds %struct.TYPE_9__, ptr %37, i64 0, i32 4
store ptr %33, ptr %38, align 8, !tbaa !16
%39 = getelementptr inbounds %struct.TYPE_9__, ptr %37, i64 0, i32 5
%40 = load ptr, ptr %39, align 8, !tbaa !19
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %36, !llvm.loop !20
42: ; preds = %36, %96
%43 = phi ptr [ %100, %96 ], [ %1, %36 ]
%44 = phi i32 [ %98, %96 ], [ -99999, %36 ]
%45 = phi ptr [ %97, %96 ], [ %1, %36 ]
%46 = getelementptr inbounds %struct.TYPE_9__, ptr %43, i64 0, i32 4
%47 = load ptr, ptr %46, align 8, !tbaa !16
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %96
49: ; preds = %42
%50 = load ptr, ptr @mapplanes, align 8, !tbaa !5
%51 = load i64, ptr %43, align 8, !tbaa !22
%52 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %51
%53 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %51, i32 2
%54 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %51, i32 1
br label %55
55: ; preds = %49, %76
%56 = phi ptr [ %1, %49 ], [ %80, %76 ]
%57 = phi i32 [ 0, %49 ], [ %78, %76 ]
%58 = phi i32 [ 0, %49 ], [ %77, %76 ]
%59 = load i64, ptr %56, align 8, !tbaa !22
%60 = load i64, ptr %43, align 8, !tbaa !22
%61 = icmp eq i64 %59, %60
br i1 %61, label %62, label %66
62: ; preds = %55
%63 = add nsw i32 %58, 1
%64 = load ptr, ptr @qtrue, align 8, !tbaa !5
%65 = getelementptr inbounds %struct.TYPE_9__, ptr %56, i64 0, i32 4
store ptr %64, ptr %65, align 8, !tbaa !16
br label %76
66: ; preds = %55
%67 = getelementptr inbounds %struct.TYPE_9__, ptr %56, i64 0, i32 3
%68 = load i32, ptr %67, align 8, !tbaa !23
%69 = load i32, ptr %53, align 4, !tbaa !24
%70 = load i32, ptr %54, align 4, !tbaa !26
%71 = tail call i32 @WindingOnPlaneSide(i32 noundef %68, i32 noundef %69, i32 noundef %70) #3
%72 = load i32, ptr @SIDE_CROSS, align 4, !tbaa !9
%73 = icmp eq i32 %71, %72
%74 = zext i1 %73 to i32
%75 = add nsw i32 %57, %74
br label %76
76: ; preds = %66, %62
%77 = phi i32 [ %63, %62 ], [ %58, %66 ]
%78 = phi i32 [ %57, %62 ], [ %75, %66 ]
%79 = getelementptr inbounds %struct.TYPE_9__, ptr %56, i64 0, i32 5
%80 = load ptr, ptr %79, align 8, !tbaa !19
%81 = icmp eq ptr %80, null
br i1 %81, label %82, label %55, !llvm.loop !27
82: ; preds = %76
%83 = sub i32 %77, %78
%84 = mul i32 %83, 5
%85 = load i32, ptr %52, align 4, !tbaa !28
%86 = icmp slt i32 %85, 3
%87 = add nsw i32 %84, 5
%88 = select i1 %86, i32 %87, i32 %84
%89 = getelementptr inbounds %struct.TYPE_9__, ptr %43, i64 0, i32 2
%90 = load i64, ptr %89, align 8, !tbaa !29
%91 = trunc i64 %90 to i32
%92 = add i32 %88, %91
%93 = icmp sgt i32 %92, %44
%94 = select i1 %93, ptr %43, ptr %45
%95 = tail call i32 @llvm.smax.i32(i32 %92, i32 %44)
br label %96
96: ; preds = %82, %42
%97 = phi ptr [ %45, %42 ], [ %94, %82 ]
%98 = phi i32 [ %44, %42 ], [ %95, %82 ]
%99 = getelementptr inbounds %struct.TYPE_9__, ptr %43, i64 0, i32 5
%100 = load ptr, ptr %99, align 8, !tbaa !19
%101 = icmp eq ptr %100, null
br i1 %101, label %102, label %42, !llvm.loop !30
102: ; preds = %96
%103 = icmp eq i32 %98, -99999
br i1 %103, label %113, label %104
104: ; preds = %102
%105 = getelementptr inbounds %struct.TYPE_9__, ptr %97, i64 0, i32 1
%106 = load i64, ptr %105, align 8, !tbaa !31
%107 = icmp eq i64 %106, 0
br i1 %107, label %110, label %108
108: ; preds = %104
%109 = load ptr, ptr @qtrue, align 8, !tbaa !5
store ptr %109, ptr @hintsplit, align 8, !tbaa !5
br label %110
110: ; preds = %108, %104
%111 = load i64, ptr %97, align 8, !tbaa !22
%112 = trunc i64 %111 to i32
br label %113
113: ; preds = %30, %102, %110
%114 = phi i32 [ %112, %110 ], [ -1, %102 ], [ -1, %30 ]
ret i32 %114
}
declare i32 @floor(i32 noundef) local_unnamed_addr #1
declare i32 @VectorClear(ptr noundef) local_unnamed_addr #1
declare i32 @WindingOnPlaneSide(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 0}
!12 = !{!"TYPE_8__", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!17, !6, i64 32}
!17 = !{!"TYPE_9__", !18, i64 0, !18, i64 8, !18, i64 16, !10, i64 24, !6, i64 32, !6, i64 40}
!18 = !{!"long", !7, i64 0}
!19 = !{!17, !6, i64 40}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!17, !18, i64 0}
!23 = !{!17, !10, i64 24}
!24 = !{!25, !10, i64 8}
!25 = !{!"TYPE_7__", !10, i64 0, !10, i64 4, !10, i64 8}
!26 = !{!25, !10, i64 4}
!27 = distinct !{!27, !21}
!28 = !{!25, !10, i64 0}
!29 = !{!17, !18, i64 16}
!30 = distinct !{!30, !21}
!31 = !{!17, !18, i64 8}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_SelectSplitPlaneNum.c'
source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_SelectSplitPlaneNum.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 { i32, i32, i32 }
@qfalse = common local_unnamed_addr global ptr null, align 8
@hintsplit = common local_unnamed_addr global ptr null, align 8
@BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4
@mapplanes = common local_unnamed_addr global ptr null, align 8
@qtrue = common local_unnamed_addr global ptr null, align 8
@SIDE_CROSS = common local_unnamed_addr global i32 0, align 4
@SIDE_FRONT = common local_unnamed_addr global i32 0, align 4
@SIDE_BACK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @SelectSplitPlaneNum(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @qfalse, align 8, !tbaa !6
store ptr %3, ptr @hintsplit, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr @BLOCK_SIZE, align 4, !tbaa !10
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = sdiv i32 %7, %5
%9 = tail call i32 @floor(i32 noundef %8) #4
%10 = add nsw i32 %9, 1
%11 = mul nsw i32 %10, %5
%12 = sitofp i32 %11 to float
%13 = load ptr, ptr %4, align 8, !tbaa !14
%14 = load float, ptr %13, align 4, !tbaa !15
%15 = fcmp ogt float %14, %12
br i1 %15, label %34, label %16
16: ; preds = %2
%17 = load i32, ptr @BLOCK_SIZE, align 4, !tbaa !10
%18 = load ptr, ptr %0, align 8, !tbaa !12
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !10
%21 = sdiv i32 %20, %17
%22 = tail call i32 @floor(i32 noundef %21) #4
%23 = add nsw i32 %22, 1
%24 = mul nsw i32 %23, %17
%25 = sitofp i32 %24 to float
%26 = load ptr, ptr %4, align 8, !tbaa !14
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = load float, ptr %27, align 4, !tbaa !15
%29 = fcmp ogt float %28, %25
br i1 %29, label %34, label %30
30: ; preds = %16
%31 = icmp eq ptr %1, null
br i1 %31, label %112, label %32
32: ; preds = %30
%33 = load ptr, ptr @qfalse, align 8, !tbaa !6
br label %35
34: ; preds = %2, %16
call void @SelectSplitPlaneNum.cold.1() #5
unreachable
35: ; preds = %32, %35
%36 = phi ptr [ %1, %32 ], [ %39, %35 ]
%37 = getelementptr inbounds i8, ptr %36, i64 32
store ptr %33, ptr %37, align 8, !tbaa !17
%38 = getelementptr inbounds i8, ptr %36, i64 40
%39 = load ptr, ptr %38, align 8, !tbaa !20
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %35, !llvm.loop !21
41: ; preds = %35, %95
%42 = phi ptr [ %99, %95 ], [ %1, %35 ]
%43 = phi i32 [ %97, %95 ], [ -99999, %35 ]
%44 = phi ptr [ %96, %95 ], [ %1, %35 ]
%45 = getelementptr inbounds i8, ptr %42, i64 32
%46 = load ptr, ptr %45, align 8, !tbaa !17
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %95
48: ; preds = %41
%49 = load ptr, ptr @mapplanes, align 8, !tbaa !6
%50 = load i64, ptr %42, align 8, !tbaa !23
%51 = getelementptr inbounds %struct.TYPE_7__, ptr %49, i64 %50
%52 = getelementptr inbounds i8, ptr %51, i64 8
%53 = getelementptr inbounds i8, ptr %51, i64 4
br label %54
54: ; preds = %48, %75
%55 = phi ptr [ %1, %48 ], [ %79, %75 ]
%56 = phi i32 [ 0, %48 ], [ %77, %75 ]
%57 = phi i32 [ 0, %48 ], [ %76, %75 ]
%58 = load i64, ptr %55, align 8, !tbaa !23
%59 = load i64, ptr %42, align 8, !tbaa !23
%60 = icmp eq i64 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %54
%62 = add nsw i32 %57, 1
%63 = load ptr, ptr @qtrue, align 8, !tbaa !6
%64 = getelementptr inbounds i8, ptr %55, i64 32
store ptr %63, ptr %64, align 8, !tbaa !17
br label %75
65: ; preds = %54
%66 = getelementptr inbounds i8, ptr %55, i64 24
%67 = load i32, ptr %66, align 8, !tbaa !24
%68 = load i32, ptr %52, align 4, !tbaa !25
%69 = load i32, ptr %53, align 4, !tbaa !27
%70 = tail call i32 @WindingOnPlaneSide(i32 noundef %67, i32 noundef %68, i32 noundef %69) #4
%71 = load i32, ptr @SIDE_CROSS, align 4, !tbaa !10
%72 = icmp eq i32 %70, %71
%73 = zext i1 %72 to i32
%74 = add nsw i32 %56, %73
br label %75
75: ; preds = %65, %61
%76 = phi i32 [ %62, %61 ], [ %57, %65 ]
%77 = phi i32 [ %56, %61 ], [ %74, %65 ]
%78 = getelementptr inbounds i8, ptr %55, i64 40
%79 = load ptr, ptr %78, align 8, !tbaa !20
%80 = icmp eq ptr %79, null
br i1 %80, label %81, label %54, !llvm.loop !28
81: ; preds = %75
%82 = sub i32 %76, %77
%83 = mul i32 %82, 5
%84 = load i32, ptr %51, align 4, !tbaa !29
%85 = icmp slt i32 %84, 3
%86 = add nsw i32 %83, 5
%87 = select i1 %85, i32 %86, i32 %83
%88 = getelementptr inbounds i8, ptr %42, i64 16
%89 = load i64, ptr %88, align 8, !tbaa !30
%90 = trunc i64 %89 to i32
%91 = add i32 %87, %90
%92 = icmp sgt i32 %91, %43
%93 = select i1 %92, ptr %42, ptr %44
%94 = tail call i32 @llvm.smax.i32(i32 %91, i32 %43)
br label %95
95: ; preds = %81, %41
%96 = phi ptr [ %44, %41 ], [ %93, %81 ]
%97 = phi i32 [ %43, %41 ], [ %94, %81 ]
%98 = getelementptr inbounds i8, ptr %42, i64 40
%99 = load ptr, ptr %98, align 8, !tbaa !20
%100 = icmp eq ptr %99, null
br i1 %100, label %101, label %41, !llvm.loop !31
101: ; preds = %95
%102 = icmp eq i32 %97, -99999
br i1 %102, label %112, label %103
103: ; preds = %101
%104 = getelementptr inbounds i8, ptr %96, i64 8
%105 = load i64, ptr %104, align 8, !tbaa !32
%106 = icmp eq i64 %105, 0
br i1 %106, label %109, label %107
107: ; preds = %103
%108 = load ptr, ptr @qtrue, align 8, !tbaa !6
store ptr %108, ptr @hintsplit, align 8, !tbaa !6
br label %109
109: ; preds = %107, %103
%110 = load i64, ptr %96, align 8, !tbaa !23
%111 = trunc i64 %110 to i32
br label %112
112: ; preds = %30, %101, %109
%113 = phi i32 [ %111, %109 ], [ -1, %101 ], [ -1, %30 ]
ret i32 %113
}
declare i32 @floor(i32 noundef) local_unnamed_addr #1
declare i32 @VectorClear(ptr noundef) local_unnamed_addr #1
declare i32 @WindingOnPlaneSide(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
; Function Attrs: cold minsize noreturn nounwind ssp uwtable(sync)
define internal void @SelectSplitPlaneNum.cold.1() #3 {
br label %1
1: ; preds = %0
%2 = tail call i32 @VectorClear(ptr noundef undef) #4
unreachable
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { cold minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noinline }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 0}
!13 = !{!"TYPE_8__", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!18, !7, i64 32}
!18 = !{!"TYPE_9__", !19, i64 0, !19, i64 8, !19, i64 16, !11, i64 24, !7, i64 32, !7, i64 40}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !7, i64 40}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!18, !19, i64 0}
!24 = !{!18, !11, i64 24}
!25 = !{!26, !11, i64 8}
!26 = !{!"TYPE_7__", !11, i64 0, !11, i64 4, !11, i64 8}
!27 = !{!26, !11, i64 4}
!28 = distinct !{!28, !22}
!29 = !{!26, !11, i64 0}
!30 = !{!18, !19, i64 16}
!31 = distinct !{!31, !22}
!32 = !{!18, !19, i64 8}
| Quake-III-Arena_q3map_extr_facebsp.c_SelectSplitPlaneNum |
; ModuleID = 'AnghaBench/redis/tests/modules/extr_blockonkeys.c_fsl_push.c'
source_filename = "AnghaBench/redis/tests/modules/extr_blockonkeys.c_fsl_push.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr }
@REDISMODULE_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"ERR invalid integer\00", align 1
@REDISMODULE_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@LIST_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"ERR list is full\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"ERR new element has to be greater than the head element\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @fsl_push(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = icmp eq i32 %2, 3
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @RedisModule_WrongArity(ptr noundef %0) #3
br label %62
9: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%10 = getelementptr inbounds ptr, ptr %1, i64 2
%11 = load ptr, ptr %10, align 8, !tbaa !5
%12 = call i64 @RedisModule_StringToLongLong(ptr noundef %11, ptr noundef nonnull %4) #3
%13 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !9
%14 = icmp eq i64 %12, %13
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %60
17: ; preds = %9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%18 = getelementptr inbounds ptr, ptr %1, i64 1
%19 = load ptr, ptr %18, align 8, !tbaa !5
%20 = load i32, ptr @REDISMODULE_WRITE, align 4, !tbaa !11
%21 = call i32 @get_fsl(ptr noundef %0, ptr noundef %19, i32 noundef %20, i32 noundef 1, ptr noundef nonnull %5, i32 noundef 1) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !9
%25 = trunc i64 %24 to i32
br label %58
26: ; preds = %17
%27 = load ptr, ptr %5, align 8, !tbaa !5
%28 = load i32, ptr %27, align 8, !tbaa !13
%29 = load i32, ptr @LIST_SIZE, align 4, !tbaa !11
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.1) #3
br label %58
33: ; preds = %26
%34 = icmp eq i32 %28, 0
br i1 %34, label %35, label %39
35: ; preds = %33
%36 = load i64, ptr %4, align 8, !tbaa !15
%37 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i64 0, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !17
store i32 1, ptr %27, align 8, !tbaa !13
store i64 %36, ptr %38, align 8, !tbaa !15
br label %56
39: ; preds = %33
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !17
%42 = sext i32 %28 to i64
%43 = getelementptr i64, ptr %41, i64 %42
%44 = getelementptr i64, ptr %43, i64 -1
%45 = load i64, ptr %44, align 8, !tbaa !15
%46 = load i64, ptr %4, align 8, !tbaa !15
%47 = icmp slt i64 %45, %46
br i1 %47, label %50, label %48
48: ; preds = %39
%49 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.2) #3
br label %58
50: ; preds = %39
%51 = add nsw i32 %28, 1
store i32 %51, ptr %27, align 8, !tbaa !13
store i64 %46, ptr %43, align 8, !tbaa !15
%52 = icmp sgt i32 %28, 0
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load ptr, ptr %18, align 8, !tbaa !5
%55 = call i32 @RedisModule_SignalKeyAsReady(ptr noundef %0, ptr noundef %54) #3
br label %56
56: ; preds = %35, %53, %50
%57 = call i32 @RedisModule_ReplyWithSimpleString(ptr noundef %0, ptr noundef nonnull @.str.3) #3
br label %58
58: ; preds = %56, %48, %31, %23
%59 = phi i32 [ %32, %31 ], [ %49, %48 ], [ %57, %56 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %60
60: ; preds = %58, %15
%61 = phi i32 [ %16, %15 ], [ %59, %58 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %62
62: ; preds = %60, %7
%63 = phi i32 [ %8, %7 ], [ %61, %60 ]
ret i32 %63
}
declare i32 @RedisModule_WrongArity(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i64 @RedisModule_StringToLongLong(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithError(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_fsl(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RedisModule_SignalKeyAsReady(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithSimpleString(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_3__", !12, i64 0, !6, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long long", !7, i64 0}
!17 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/redis/tests/modules/extr_blockonkeys.c_fsl_push.c'
source_filename = "AnghaBench/redis/tests/modules/extr_blockonkeys.c_fsl_push.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REDISMODULE_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"ERR invalid integer\00", align 1
@REDISMODULE_WRITE = common local_unnamed_addr global i32 0, align 4
@LIST_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"ERR list is full\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"ERR new element has to be greater than the head element\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fsl_push(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = icmp eq i32 %2, 3
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @RedisModule_WrongArity(ptr noundef %0) #3
br label %62
9: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load ptr, ptr %10, align 8, !tbaa !6
%12 = call i64 @RedisModule_StringToLongLong(ptr noundef %11, ptr noundef nonnull %4) #3
%13 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !10
%14 = icmp eq i64 %12, %13
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %60
17: ; preds = %9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !6
%20 = load i32, ptr @REDISMODULE_WRITE, align 4, !tbaa !12
%21 = call i32 @get_fsl(ptr noundef %0, ptr noundef %19, i32 noundef %20, i32 noundef 1, ptr noundef nonnull %5, i32 noundef 1) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = load i64, ptr @REDISMODULE_OK, align 8, !tbaa !10
%25 = trunc i64 %24 to i32
br label %58
26: ; preds = %17
%27 = load ptr, ptr %5, align 8, !tbaa !6
%28 = load i32, ptr %27, align 8, !tbaa !14
%29 = load i32, ptr @LIST_SIZE, align 4, !tbaa !12
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.1) #3
br label %58
33: ; preds = %26
%34 = icmp eq i32 %28, 0
br i1 %34, label %35, label %39
35: ; preds = %33
%36 = load i64, ptr %4, align 8, !tbaa !16
%37 = getelementptr inbounds i8, ptr %27, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !18
store i32 1, ptr %27, align 8, !tbaa !14
store i64 %36, ptr %38, align 8, !tbaa !16
br label %56
39: ; preds = %33
%40 = getelementptr inbounds i8, ptr %27, i64 8
%41 = load ptr, ptr %40, align 8, !tbaa !18
%42 = sext i32 %28 to i64
%43 = getelementptr i64, ptr %41, i64 %42
%44 = getelementptr i8, ptr %43, i64 -8
%45 = load i64, ptr %44, align 8, !tbaa !16
%46 = load i64, ptr %4, align 8, !tbaa !16
%47 = icmp slt i64 %45, %46
br i1 %47, label %50, label %48
48: ; preds = %39
%49 = call i32 @RedisModule_ReplyWithError(ptr noundef %0, ptr noundef nonnull @.str.2) #3
br label %58
50: ; preds = %39
%51 = add nsw i32 %28, 1
store i32 %51, ptr %27, align 8, !tbaa !14
store i64 %46, ptr %43, align 8, !tbaa !16
%52 = icmp sgt i32 %28, 0
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load ptr, ptr %18, align 8, !tbaa !6
%55 = call i32 @RedisModule_SignalKeyAsReady(ptr noundef %0, ptr noundef %54) #3
br label %56
56: ; preds = %35, %53, %50
%57 = call i32 @RedisModule_ReplyWithSimpleString(ptr noundef %0, ptr noundef nonnull @.str.3) #3
br label %58
58: ; preds = %56, %48, %31, %23
%59 = phi i32 [ %32, %31 ], [ %49, %48 ], [ %57, %56 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %60
60: ; preds = %58, %15
%61 = phi i32 [ %16, %15 ], [ %59, %58 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %62
62: ; preds = %60, %7
%63 = phi i32 [ %8, %7 ], [ %61, %60 ]
ret i32 %63
}
declare i32 @RedisModule_WrongArity(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i64 @RedisModule_StringToLongLong(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithError(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_fsl(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RedisModule_SignalKeyAsReady(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @RedisModule_ReplyWithSimpleString(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_3__", !13, i64 0, !7, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !8, i64 0}
!18 = !{!15, !7, i64 8}
| redis_tests_modules_extr_blockonkeys.c_fsl_push |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_set_format.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_set_format.c"
target datalayout = "e-m:e-p270:32:32-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_pcm_runtime = type { i32, i32, i32 }
@HEADER_FMT_BASE = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_MONO = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_INTEL = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_UPTO32 = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_UPTO11 = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_16BITS = dso_local local_unnamed_addr global i32 0, align 4
@HEADER_FMT_24BITS = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vx_set_format], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vx_set_format(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr @HEADER_FMT_BASE, align 4, !tbaa !5
%5 = load i32, ptr %2, align 4, !tbaa !9
%6 = icmp eq i32 %5, 1
%7 = load i32, ptr @HEADER_FMT_MONO, align 4
%8 = select i1 %6, i32 %7, i32 0
%9 = or i32 %8, %4
%10 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %2, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = tail call i64 @snd_pcm_format_little_endian(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @HEADER_FMT_INTEL, align 4
%15 = select i1 %13, i32 0, i32 %14
%16 = or i32 %9, %15
%17 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %2, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = add i32 %18, -11026
%20 = icmp ult i32 %19, 20974
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @HEADER_FMT_UPTO32, align 4, !tbaa !5
%23 = or i32 %22, %16
br label %29
24: ; preds = %3
%25 = icmp slt i32 %18, 11026
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load i32, ptr @HEADER_FMT_UPTO11, align 4, !tbaa !5
%28 = or i32 %27, %16
br label %29
29: ; preds = %24, %26, %21
%30 = phi i32 [ %23, %21 ], [ %28, %26 ], [ %16, %24 ]
%31 = load i32, ptr %10, align 4, !tbaa !11
%32 = tail call i32 @snd_pcm_format_physical_width(i32 noundef %31) #2
switch i32 %32, label %34 [
i32 16, label %38
i32 24, label %33
]
33: ; preds = %29
br label %38
34: ; preds = %29
%35 = tail call i32 (...) @snd_BUG() #2
%36 = load i32, ptr @EINVAL, align 4, !tbaa !5
%37 = sub nsw i32 0, %36
br label %43
38: ; preds = %29, %33
%39 = phi ptr [ @HEADER_FMT_24BITS, %33 ], [ @HEADER_FMT_16BITS, %29 ]
%40 = load i32, ptr %39, align 4, !tbaa !5
%41 = or i32 %40, %30
%42 = tail call i32 @vx_set_stream_format(ptr noundef %0, ptr noundef %1, i32 noundef %41) #2
br label %43
43: ; preds = %38, %34
%44 = phi i32 [ %37, %34 ], [ %42, %38 ]
ret i32 %44
}
declare i64 @snd_pcm_format_little_endian(i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_format_physical_width(i32 noundef) local_unnamed_addr #1
declare i32 @snd_BUG(...) local_unnamed_addr #1
declare i32 @vx_set_stream_format(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 = !{!10, !6, i64 0}
!10 = !{!"snd_pcm_runtime", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_set_format.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/vx/extr_vx_pcm.c_vx_set_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HEADER_FMT_BASE = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_MONO = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_INTEL = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_UPTO32 = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_UPTO11 = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_16BITS = common local_unnamed_addr global i32 0, align 4
@HEADER_FMT_24BITS = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vx_set_format], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vx_set_format(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr @HEADER_FMT_BASE, align 4, !tbaa !6
%5 = load i32, ptr %2, align 4, !tbaa !10
%6 = icmp eq i32 %5, 1
%7 = load i32, ptr @HEADER_FMT_MONO, align 4
%8 = select i1 %6, i32 %7, i32 0
%9 = or i32 %8, %4
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i64 @snd_pcm_format_little_endian(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @HEADER_FMT_INTEL, align 4
%15 = select i1 %13, i32 0, i32 %14
%16 = or i32 %9, %15
%17 = getelementptr inbounds i8, ptr %2, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = add i32 %18, -11026
%20 = icmp ult i32 %19, 20974
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @HEADER_FMT_UPTO32, align 4, !tbaa !6
%23 = or i32 %22, %16
br label %29
24: ; preds = %3
%25 = icmp slt i32 %18, 11026
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load i32, ptr @HEADER_FMT_UPTO11, align 4, !tbaa !6
%28 = or i32 %27, %16
br label %29
29: ; preds = %24, %26, %21
%30 = phi i32 [ %23, %21 ], [ %28, %26 ], [ %16, %24 ]
%31 = load i32, ptr %10, align 4, !tbaa !12
%32 = tail call i32 @snd_pcm_format_physical_width(i32 noundef %31) #2
switch i32 %32, label %34 [
i32 16, label %38
i32 24, label %33
]
33: ; preds = %29
br label %38
34: ; preds = %29
%35 = tail call i32 @snd_BUG() #2
%36 = load i32, ptr @EINVAL, align 4, !tbaa !6
%37 = sub nsw i32 0, %36
br label %43
38: ; preds = %29, %33
%39 = phi ptr [ @HEADER_FMT_24BITS, %33 ], [ @HEADER_FMT_16BITS, %29 ]
%40 = load i32, ptr %39, align 4, !tbaa !6
%41 = or i32 %40, %30
%42 = tail call i32 @vx_set_stream_format(ptr noundef %0, ptr noundef %1, i32 noundef %41) #2
br label %43
43: ; preds = %38, %34
%44 = phi i32 [ %37, %34 ], [ %42, %38 ]
ret i32 %44
}
declare i64 @snd_pcm_format_little_endian(i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_format_physical_width(i32 noundef) local_unnamed_addr #1
declare i32 @snd_BUG(...) local_unnamed_addr #1
declare i32 @vx_set_stream_format(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 = !{!11, !7, i64 0}
!11 = !{!"snd_pcm_runtime", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
| fastsocket_kernel_sound_drivers_vx_extr_vx_pcm.c_vx_set_format |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sd = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.usb_device_id = type { i32, i32, i32 }
@SENSOR_POxxxx = dso_local local_unnamed_addr global i32 0, align 4
@BRIGHTNESS_DEF = dso_local local_unnamed_addr global i32 0, align 4
@CONTRAST_DEF = dso_local local_unnamed_addr global i32 0, align 4
@COLOR_DEF = dso_local local_unnamed_addr global i32 0, align 4
@HFLIP_DEF = dso_local local_unnamed_addr global i32 0, align 4
@VFLIP_DEF = dso_local local_unnamed_addr global i32 0, align 4
@FREQ_DEF = dso_local local_unnamed_addr global i32 0, align 4
@SHARPNESS_DEF = dso_local local_unnamed_addr global i32 0, align 4
@GAIN_DEF = dso_local local_unnamed_addr global i32 0, align 4
@EXPOSURE_DEF = dso_local local_unnamed_addr global i32 0, align 4
@AUTOGAIN_DEF = dso_local local_unnamed_addr global i32 0, align 4
@BACKLIGHT_DEF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_config], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @sd_config(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = ashr i32 %3, 8
store i32 %4, ptr %0, align 4, !tbaa !10
%5 = and i32 %3, 255
%6 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = getelementptr inbounds %struct.usb_device_id, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = icmp eq i32 %8, 1133
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds %struct.usb_device_id, ptr %1, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !14
switch i32 %12, label %16 [
i32 2194, label %13
i32 2198, label %13
]
13: ; preds = %10, %10
%14 = load i32, ptr @SENSOR_POxxxx, align 4, !tbaa !15
%15 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 13
store i32 %14, ptr %15, align 4, !tbaa !16
br label %16
16: ; preds = %10, %13, %2
%17 = load i32, ptr @BRIGHTNESS_DEF, align 4, !tbaa !15
%18 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 12
store i32 %17, ptr %18, align 4, !tbaa !17
%19 = load i32, ptr @CONTRAST_DEF, align 4, !tbaa !15
%20 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 11
store i32 %19, ptr %20, align 4, !tbaa !18
%21 = load i32, ptr @COLOR_DEF, align 4, !tbaa !15
%22 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 10
store i32 %21, ptr %22, align 4, !tbaa !19
%23 = load i32, ptr @HFLIP_DEF, align 4, !tbaa !15
%24 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 9
store i32 %23, ptr %24, align 4, !tbaa !20
%25 = load i32, ptr @VFLIP_DEF, align 4, !tbaa !15
%26 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 8
store i32 %25, ptr %26, align 4, !tbaa !21
%27 = load i32, ptr @FREQ_DEF, align 4, !tbaa !15
%28 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 7
store i32 %27, ptr %28, align 4, !tbaa !22
%29 = load i32, ptr @SHARPNESS_DEF, align 4, !tbaa !15
%30 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 6
store i32 %29, ptr %30, align 4, !tbaa !23
%31 = load i32, ptr @GAIN_DEF, align 4, !tbaa !15
%32 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 5
store i32 %31, ptr %32, align 4, !tbaa !24
%33 = load i32, ptr @EXPOSURE_DEF, align 4, !tbaa !15
%34 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 4
store i32 %33, ptr %34, align 4, !tbaa !25
%35 = load i32, ptr @AUTOGAIN_DEF, align 4, !tbaa !15
%36 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 3
store i32 %35, ptr %36, align 4, !tbaa !26
%37 = load i32, ptr @BACKLIGHT_DEF, align 4, !tbaa !15
%38 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 2
store i32 %37, ptr %38, align 4, !tbaa !27
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 = !{!"usb_device_id", !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 0}
!11 = !{!"sd", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52}
!12 = !{!11, !7, i64 4}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!11, !7, i64 52}
!17 = !{!11, !7, i64 48}
!18 = !{!11, !7, i64 44}
!19 = !{!11, !7, i64 40}
!20 = !{!11, !7, i64 36}
!21 = !{!11, !7, i64 32}
!22 = !{!11, !7, i64 28}
!23 = !{!11, !7, i64 24}
!24 = !{!11, !7, i64 20}
!25 = !{!11, !7, i64 16}
!26 = !{!11, !7, i64 12}
!27 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SENSOR_POxxxx = common local_unnamed_addr global i32 0, align 4
@BRIGHTNESS_DEF = common local_unnamed_addr global i32 0, align 4
@CONTRAST_DEF = common local_unnamed_addr global i32 0, align 4
@COLOR_DEF = common local_unnamed_addr global i32 0, align 4
@HFLIP_DEF = common local_unnamed_addr global i32 0, align 4
@VFLIP_DEF = common local_unnamed_addr global i32 0, align 4
@FREQ_DEF = common local_unnamed_addr global i32 0, align 4
@SHARPNESS_DEF = common local_unnamed_addr global i32 0, align 4
@GAIN_DEF = common local_unnamed_addr global i32 0, align 4
@EXPOSURE_DEF = common local_unnamed_addr global i32 0, align 4
@AUTOGAIN_DEF = common local_unnamed_addr global i32 0, align 4
@BACKLIGHT_DEF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sd_config], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @sd_config(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = ashr i32 %3, 8
store i32 %4, ptr %0, align 4, !tbaa !11
%5 = and i32 %3, 255
%6 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %5, ptr %6, align 4, !tbaa !13
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = icmp eq i32 %8, 1133
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !15
switch i32 %12, label %16 [
i32 2194, label %13
i32 2198, label %13
]
13: ; preds = %10, %10
%14 = load i32, ptr @SENSOR_POxxxx, align 4, !tbaa !16
%15 = getelementptr inbounds i8, ptr %0, i64 52
store i32 %14, ptr %15, align 4, !tbaa !17
br label %16
16: ; preds = %10, %13, %2
%17 = load i32, ptr @BRIGHTNESS_DEF, align 4, !tbaa !16
%18 = getelementptr inbounds i8, ptr %0, i64 48
store i32 %17, ptr %18, align 4, !tbaa !18
%19 = load i32, ptr @CONTRAST_DEF, align 4, !tbaa !16
%20 = getelementptr inbounds i8, ptr %0, i64 44
store i32 %19, ptr %20, align 4, !tbaa !19
%21 = load i32, ptr @COLOR_DEF, align 4, !tbaa !16
%22 = getelementptr inbounds i8, ptr %0, i64 40
store i32 %21, ptr %22, align 4, !tbaa !20
%23 = load i32, ptr @HFLIP_DEF, align 4, !tbaa !16
%24 = getelementptr inbounds i8, ptr %0, i64 36
store i32 %23, ptr %24, align 4, !tbaa !21
%25 = load i32, ptr @VFLIP_DEF, align 4, !tbaa !16
%26 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %25, ptr %26, align 4, !tbaa !22
%27 = load i32, ptr @FREQ_DEF, align 4, !tbaa !16
%28 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %27, ptr %28, align 4, !tbaa !23
%29 = load i32, ptr @SHARPNESS_DEF, align 4, !tbaa !16
%30 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %29, ptr %30, align 4, !tbaa !24
%31 = load i32, ptr @GAIN_DEF, align 4, !tbaa !16
%32 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %31, ptr %32, align 4, !tbaa !25
%33 = load i32, ptr @EXPOSURE_DEF, align 4, !tbaa !16
%34 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %33, ptr %34, align 4, !tbaa !26
%35 = load i32, ptr @AUTOGAIN_DEF, align 4, !tbaa !16
%36 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %35, ptr %36, align 4, !tbaa !27
%37 = load i32, ptr @BACKLIGHT_DEF, align 4, !tbaa !16
%38 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %37, ptr %38, align 4, !tbaa !28
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 = !{!"usb_device_id", !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 0}
!12 = !{!"sd", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52}
!13 = !{!12, !8, i64 4}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 8}
!16 = !{!8, !8, i64 0}
!17 = !{!12, !8, i64 52}
!18 = !{!12, !8, i64 48}
!19 = !{!12, !8, i64 44}
!20 = !{!12, !8, i64 40}
!21 = !{!12, !8, i64 36}
!22 = !{!12, !8, i64 32}
!23 = !{!12, !8, i64 28}
!24 = !{!12, !8, i64 24}
!25 = !{!12, !8, i64 20}
!26 = !{!12, !8, i64 16}
!27 = !{!12, !8, i64 12}
!28 = !{!12, !8, i64 8}
| fastsocket_kernel_drivers_media_video_gspca_extr_vc032x.c_sd_config |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_color_check.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_color_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_crtc_state = type { i32, i32, i64, i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i64, i64, i64 }
@INTEL_OUTPUT_FORMAT_RGB = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ivb_color_check], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ivb_color_check(ptr noundef %0) #0 {
%2 = tail call i32 @ilk_csc_limited_range(ptr noundef %0) #2
%3 = tail call i32 @check_luts(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %39
5: ; preds = %1
%6 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 5
%7 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 5, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 5, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %10, %5
%15 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 6
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %14, %10
%20 = phi i32 [ 0, %10 ], [ %18, %14 ]
store i32 %20, ptr %0, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 2
%22 = load i64, ptr %21, align 8, !tbaa !15
%23 = load i64, ptr @INTEL_OUTPUT_FORMAT_RGB, align 8, !tbaa !16
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %19
%26 = load i64, ptr %6, align 8, !tbaa !17
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = icmp ne i32 %2, 0
%30 = zext i1 %29 to i32
br label %31
31: ; preds = %28, %25, %19
%32 = phi i32 [ 1, %25 ], [ 1, %19 ], [ %30, %28 ]
%33 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 1
store i32 %32, ptr %33, align 4, !tbaa !18
%34 = tail call i32 @ivb_gamma_mode(ptr noundef nonnull %0) #2
%35 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 4
store i32 %34, ptr %35, align 4, !tbaa !19
%36 = tail call i32 @ivb_csc_mode(ptr noundef nonnull %0) #2
%37 = getelementptr inbounds %struct.intel_crtc_state, ptr %0, i64 0, i32 3
store i32 %36, ptr %37, align 8, !tbaa !20
%38 = tail call i32 @intel_color_add_affected_planes(ptr noundef nonnull %0) #2
br label %39
39: ; preds = %31, %1
%40 = phi i32 [ %3, %1 ], [ %38, %31 ]
ret i32 %40
}
declare i32 @ilk_csc_limited_range(ptr noundef) local_unnamed_addr #1
declare i32 @check_luts(ptr noundef) local_unnamed_addr #1
declare i32 @ivb_gamma_mode(ptr noundef) local_unnamed_addr #1
declare i32 @ivb_csc_mode(ptr noundef) local_unnamed_addr #1
declare i32 @intel_color_add_affected_planes(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 40}
!6 = !{!"intel_crtc_state", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"TYPE_2__", !10, i64 0, !10, i64 8, !10, i64 16}
!12 = !{!6, !10, i64 32}
!13 = !{!6, !7, i64 48}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !10, i64 24}
!18 = !{!6, !7, i64 4}
!19 = !{!6, !7, i64 20}
!20 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_color_check.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_color.c_ivb_color_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTEL_OUTPUT_FORMAT_RGB = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ivb_color_check], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ivb_color_check(ptr noundef %0) #0 {
%2 = tail call i32 @ilk_csc_limited_range(ptr noundef %0) #2
%3 = tail call i32 @check_luts(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %39
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = getelementptr inbounds i8, ptr %0, i64 40
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %10, %5
%15 = getelementptr inbounds i8, ptr %0, i64 48
%16 = load i32, ptr %15, align 8, !tbaa !14
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %14, %10
%20 = phi i32 [ 0, %10 ], [ %18, %14 ]
store i32 %20, ptr %0, align 8, !tbaa !15
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !16
%23 = load i64, ptr @INTEL_OUTPUT_FORMAT_RGB, align 8, !tbaa !17
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %19
%26 = load i64, ptr %6, align 8, !tbaa !18
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = icmp ne i32 %2, 0
%30 = zext i1 %29 to i32
br label %31
31: ; preds = %28, %25, %19
%32 = phi i32 [ 1, %25 ], [ 1, %19 ], [ %30, %28 ]
%33 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %32, ptr %33, align 4, !tbaa !19
%34 = tail call i32 @ivb_gamma_mode(ptr noundef nonnull %0) #2
%35 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %34, ptr %35, align 4, !tbaa !20
%36 = tail call i32 @ivb_csc_mode(ptr noundef nonnull %0) #2
%37 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %36, ptr %37, align 8, !tbaa !21
%38 = tail call i32 @intel_color_add_affected_planes(ptr noundef nonnull %0) #2
br label %39
39: ; preds = %31, %1
%40 = phi i32 [ %3, %1 ], [ %38, %31 ]
ret i32 %40
}
declare i32 @ilk_csc_limited_range(ptr noundef) local_unnamed_addr #1
declare i32 @check_luts(ptr noundef) local_unnamed_addr #1
declare i32 @ivb_gamma_mode(ptr noundef) local_unnamed_addr #1
declare i32 @ivb_csc_mode(ptr noundef) local_unnamed_addr #1
declare i32 @intel_color_add_affected_planes(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 40}
!7 = !{!"intel_crtc_state", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24, !8, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_2__", !11, i64 0, !11, i64 8, !11, i64 16}
!13 = !{!7, !11, i64 32}
!14 = !{!7, !8, i64 48}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !11, i64 24}
!19 = !{!7, !8, i64 4}
!20 = !{!7, !8, i64 20}
!21 = !{!7, !8, i64 16}
| linux_drivers_gpu_drm_i915_display_extr_intel_color.c_ivb_color_check |
; ModuleID = 'AnghaBench/git/extr_bundle.c_compute_and_write_prerequisites.c'
source_filename = "AnghaBench/git/extr_bundle.c_compute_and_write_prerequisites.c"
target datalayout = "e-m:e-p270:32:32-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.child_process = type { i32, i32, i32 }
%struct.strbuf = type { i64, ptr }
%struct.object_id = type { i32 }
@CHILD_PROCESS_INIT = dso_local local_unnamed_addr global %struct.child_process zeroinitializer, align 4
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@.str = private unnamed_addr constant [9 x i8] c"rev-list\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"--boundary\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"--pretty=oneline\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local local_unnamed_addr global i64 0, align 8
@UNINTERESTING = dso_local local_unnamed_addr global i32 0, align 4
@SHOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [14 x i8] c"rev-list died\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @compute_and_write_prerequisites], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @compute_and_write_prerequisites(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca %struct.child_process, align 4
%6 = alloca %struct.strbuf, align 8
%7 = alloca %struct.object_id, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @CHILD_PROCESS_INIT, i64 12, i1 false), !tbaa.struct !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !10
%8 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 2
%9 = call i32 @argv_array_pushl(ptr noundef nonnull %8, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef null) #5
%10 = icmp sgt i32 %2, 1
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = zext nneg i32 %2 to i64
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 1, %11 ], [ %18, %13 ]
%15 = getelementptr inbounds ptr, ptr %3, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = call i32 @argv_array_push(ptr noundef nonnull %8, ptr noundef %16) #5
%18 = add nuw nsw i64 %14, 1
%19 = icmp eq i64 %18, %12
br i1 %19, label %20, label %13, !llvm.loop !15
20: ; preds = %13, %4
store i32 -1, ptr %5, align 4, !tbaa !17
%21 = getelementptr inbounds %struct.child_process, ptr %5, i64 0, i32 1
store i32 1, ptr %21, align 4, !tbaa !19
%22 = call i64 @start_command(ptr noundef nonnull %5) #5
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %74
24: ; preds = %20
%25 = load i32, ptr %5, align 4, !tbaa !17
%26 = call ptr @xfdopen(i32 noundef %25, ptr noundef nonnull @.str.3) #5
%27 = call i64 @strbuf_getwholeline(ptr noundef nonnull %6, ptr noundef %26, i8 noundef signext 10) #5
%28 = load i64, ptr @EOF, align 8, !tbaa !11
%29 = icmp eq i64 %27, %28
br i1 %29, label %66, label %30
30: ; preds = %24
%31 = getelementptr inbounds %struct.strbuf, ptr %6, i64 0, i32 1
br label %32
32: ; preds = %30, %62
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
%33 = load i64, ptr %6, align 8, !tbaa !20
%34 = icmp sgt i64 %33, 0
%35 = load ptr, ptr %31, align 8, !tbaa !22
br i1 %34, label %36, label %53
36: ; preds = %32
%37 = load i8, ptr %35, align 1, !tbaa !23
%38 = icmp eq i8 %37, 45
br i1 %38, label %39, label %53
39: ; preds = %36
%40 = call i32 @write_or_die(i32 noundef %0, ptr noundef nonnull %35, i64 noundef %33) #5
%41 = load ptr, ptr %31, align 8, !tbaa !22
%42 = getelementptr inbounds i8, ptr %41, i64 1
%43 = call i32 @get_oid_hex(ptr noundef nonnull %42, ptr noundef nonnull %7) #5
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %62
45: ; preds = %39
%46 = load ptr, ptr %31, align 8, !tbaa !22
%47 = call ptr @parse_object_or_die(ptr noundef nonnull %7, ptr noundef %46) #5
%48 = load i32, ptr @UNINTERESTING, align 4, !tbaa !6
%49 = load i32, ptr %47, align 4, !tbaa !24
%50 = or i32 %49, %48
store i32 %50, ptr %47, align 4, !tbaa !24
%51 = load ptr, ptr %31, align 8, !tbaa !22
%52 = call i32 @add_pending_object(ptr noundef %1, ptr noundef nonnull %47, ptr noundef %51) #5
br label %62
53: ; preds = %36, %32
%54 = call i32 @get_oid_hex(ptr noundef %35, ptr noundef nonnull %7) #5
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %53
%57 = load ptr, ptr %31, align 8, !tbaa !22
%58 = call ptr @parse_object_or_die(ptr noundef nonnull %7, ptr noundef %57) #5
%59 = load i32, ptr @SHOWN, align 4, !tbaa !6
%60 = load i32, ptr %58, align 4, !tbaa !24
%61 = or i32 %60, %59
store i32 %61, ptr %58, align 4, !tbaa !24
br label %62
62: ; preds = %53, %56, %39, %45
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
%63 = call i64 @strbuf_getwholeline(ptr noundef nonnull %6, ptr noundef %26, i8 noundef signext 10) #5
%64 = load i64, ptr @EOF, align 8, !tbaa !11
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %32, !llvm.loop !26
66: ; preds = %62, %24
%67 = call i32 @strbuf_release(ptr noundef nonnull %6) #5
%68 = call i32 @fclose(ptr noundef %26)
%69 = call i64 @finish_command(ptr noundef nonnull %5) #5
%70 = icmp eq i64 %69, 0
br i1 %70, label %74, label %71
71: ; preds = %66
%72 = call i32 @_(ptr noundef nonnull @.str.4) #5
%73 = call i32 @error(i32 noundef %72) #5
br label %74
74: ; preds = %66, %20, %71
%75 = phi i32 [ %73, %71 ], [ -1, %20 ], [ 0, %66 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
ret i32 %75
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @start_command(ptr noundef) local_unnamed_addr #3
declare ptr @xfdopen(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strbuf_getwholeline(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #3
declare i32 @write_or_die(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @get_oid_hex(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @parse_object_or_die(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @add_pending_object(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
declare i64 @finish_command(ptr noundef) local_unnamed_addr #3
declare i32 @error(i32 noundef) local_unnamed_addr #3
declare i32 @_(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{i64 0, i64 8, !11, i64 8, i64 8, !13}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !7, i64 0}
!18 = !{!"child_process", !7, i64 0, !7, i64 4, !7, i64 8}
!19 = !{!18, !7, i64 4}
!20 = !{!21, !12, i64 0}
!21 = !{!"strbuf", !12, i64 0, !14, i64 8}
!22 = !{!21, !14, i64 8}
!23 = !{!8, !8, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"object", !7, i64 0}
!26 = distinct !{!26, !16}
| ; ModuleID = 'AnghaBench/git/extr_bundle.c_compute_and_write_prerequisites.c'
source_filename = "AnghaBench/git/extr_bundle.c_compute_and_write_prerequisites.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.child_process = type { i32, i32, i32 }
%struct.strbuf = type { i64, ptr }
%struct.object_id = type { i32 }
@CHILD_PROCESS_INIT = common local_unnamed_addr global %struct.child_process zeroinitializer, align 4
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@.str = private unnamed_addr constant [9 x i8] c"rev-list\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"--boundary\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"--pretty=oneline\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = common local_unnamed_addr global i64 0, align 8
@UNINTERESTING = common local_unnamed_addr global i32 0, align 4
@SHOWN = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [14 x i8] c"rev-list died\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @compute_and_write_prerequisites], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @compute_and_write_prerequisites(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca %struct.child_process, align 8
%6 = alloca %struct.strbuf, align 8
%7 = alloca %struct.object_id, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @CHILD_PROCESS_INIT, i64 12, i1 false), !tbaa.struct !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !11
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = call i32 @argv_array_pushl(ptr noundef nonnull %8, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef null) #5
%10 = icmp sgt i32 %2, 1
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = zext nneg i32 %2 to i64
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 1, %11 ], [ %18, %13 ]
%15 = getelementptr inbounds ptr, ptr %3, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = call i32 @argv_array_push(ptr noundef nonnull %8, ptr noundef %16) #5
%18 = add nuw nsw i64 %14, 1
%19 = icmp eq i64 %18, %12
br i1 %19, label %20, label %13, !llvm.loop !16
20: ; preds = %13, %4
store <2 x i32> <i32 -1, i32 1>, ptr %5, align 8, !tbaa !7
%21 = call i64 @start_command(ptr noundef nonnull %5) #5
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %73
23: ; preds = %20
%24 = load i32, ptr %5, align 8, !tbaa !18
%25 = call ptr @xfdopen(i32 noundef %24, ptr noundef nonnull @.str.3) #5
%26 = call i64 @strbuf_getwholeline(ptr noundef nonnull %6, ptr noundef %25, i8 noundef signext 10) #5
%27 = load i64, ptr @EOF, align 8, !tbaa !12
%28 = icmp eq i64 %26, %27
br i1 %28, label %65, label %29
29: ; preds = %23
%30 = getelementptr inbounds i8, ptr %6, i64 8
br label %31
31: ; preds = %29, %61
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
%32 = load i64, ptr %6, align 8, !tbaa !20
%33 = icmp sgt i64 %32, 0
%34 = load ptr, ptr %30, align 8, !tbaa !22
br i1 %33, label %35, label %52
35: ; preds = %31
%36 = load i8, ptr %34, align 1, !tbaa !23
%37 = icmp eq i8 %36, 45
br i1 %37, label %38, label %52
38: ; preds = %35
%39 = call i32 @write_or_die(i32 noundef %0, ptr noundef nonnull %34, i64 noundef %32) #5
%40 = load ptr, ptr %30, align 8, !tbaa !22
%41 = getelementptr inbounds i8, ptr %40, i64 1
%42 = call i32 @get_oid_hex(ptr noundef nonnull %41, ptr noundef nonnull %7) #5
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %61
44: ; preds = %38
%45 = load ptr, ptr %30, align 8, !tbaa !22
%46 = call ptr @parse_object_or_die(ptr noundef nonnull %7, ptr noundef %45) #5
%47 = load i32, ptr @UNINTERESTING, align 4, !tbaa !7
%48 = load i32, ptr %46, align 4, !tbaa !24
%49 = or i32 %48, %47
store i32 %49, ptr %46, align 4, !tbaa !24
%50 = load ptr, ptr %30, align 8, !tbaa !22
%51 = call i32 @add_pending_object(ptr noundef %1, ptr noundef nonnull %46, ptr noundef %50) #5
br label %61
52: ; preds = %35, %31
%53 = call i32 @get_oid_hex(ptr noundef %34, ptr noundef nonnull %7) #5
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %52
%56 = load ptr, ptr %30, align 8, !tbaa !22
%57 = call ptr @parse_object_or_die(ptr noundef nonnull %7, ptr noundef %56) #5
%58 = load i32, ptr @SHOWN, align 4, !tbaa !7
%59 = load i32, ptr %57, align 4, !tbaa !24
%60 = or i32 %59, %58
store i32 %60, ptr %57, align 4, !tbaa !24
br label %61
61: ; preds = %52, %55, %38, %44
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
%62 = call i64 @strbuf_getwholeline(ptr noundef nonnull %6, ptr noundef %25, i8 noundef signext 10) #5
%63 = load i64, ptr @EOF, align 8, !tbaa !12
%64 = icmp eq i64 %62, %63
br i1 %64, label %65, label %31, !llvm.loop !26
65: ; preds = %61, %23
%66 = call i32 @strbuf_release(ptr noundef nonnull %6) #5
%67 = call i32 @fclose(ptr noundef %25)
%68 = call i64 @finish_command(ptr noundef nonnull %5) #5
%69 = icmp eq i64 %68, 0
br i1 %69, label %73, label %70
70: ; preds = %65
%71 = call i32 @_(ptr noundef nonnull @.str.4) #5
%72 = call i32 @error(i32 noundef %71) #5
br label %73
73: ; preds = %65, %20, %70
%74 = phi i32 [ %72, %70 ], [ -1, %20 ], [ 0, %65 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
ret i32 %74
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @argv_array_pushl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @argv_array_push(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @start_command(ptr noundef) local_unnamed_addr #3
declare ptr @xfdopen(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strbuf_getwholeline(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #3
declare i32 @write_or_die(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @get_oid_hex(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @parse_object_or_die(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @add_pending_object(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
declare i64 @finish_command(ptr noundef) local_unnamed_addr #3
declare i32 @error(i32 noundef) local_unnamed_addr #3
declare i32 @_(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { 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 #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{i64 0, i64 4, !7, i64 4, i64 4, !7, i64 8, i64 4, !7}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{i64 0, i64 8, !12, i64 8, i64 8, !14}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !8, i64 0}
!19 = !{!"child_process", !8, i64 0, !8, i64 4, !8, i64 8}
!20 = !{!21, !13, i64 0}
!21 = !{!"strbuf", !13, i64 0, !15, i64 8}
!22 = !{!21, !15, i64 8}
!23 = !{!9, !9, i64 0}
!24 = !{!25, !8, i64 0}
!25 = !{!"object", !8, i64 0}
!26 = distinct !{!26, !17}
| git_extr_bundle.c_compute_and_write_prerequisites |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ii_pci20kc.c_pci20006_insn_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ii_pci20kc.c_pci20006_insn_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PCI20006_LCHAN0 = dso_local local_unnamed_addr global i64 0, align 8
@PCI20006_STROBE0 = dso_local local_unnamed_addr global i64 0, align 8
@PCI20006_LCHAN1 = dso_local local_unnamed_addr global i64 0, align 8
@PCI20006_STROBE1 = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c" comedi%d: pci20xxx: ao channel Error!\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci20006_insn_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pci20006_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = load ptr, ptr %1, align 8, !tbaa !5
%6 = load i32, ptr %3, align 4, !tbaa !10
%7 = load ptr, ptr %5, align 8, !tbaa !12
%8 = load i32, ptr %2, align 4, !tbaa !13
%9 = tail call i32 @CR_CHAN(i32 noundef %8) #2
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %7, i64 %10
store i32 %6, ptr %11, align 4, !tbaa !10
%12 = load i32, ptr %3, align 4, !tbaa !10
%13 = and i32 %12, 255
%14 = lshr i32 %12, 8
%15 = and i32 %14, 255
%16 = xor i32 %15, 128
%17 = load i32, ptr %2, align 4, !tbaa !13
%18 = tail call i32 @CR_CHAN(i32 noundef %17) #2
switch i32 %18, label %47 [
i32 0, label %19
i32 1, label %33
]
19: ; preds = %4
%20 = load i64, ptr %5, align 8, !tbaa !12
%21 = load i64, ptr @PCI20006_LCHAN0, align 8, !tbaa !15
%22 = add nsw i64 %21, %20
%23 = tail call i32 @writeb(i32 noundef %13, i64 noundef %22) #2
%24 = load i64, ptr %5, align 8, !tbaa !12
%25 = load i64, ptr @PCI20006_LCHAN0, align 8, !tbaa !15
%26 = add i64 %24, 1
%27 = add i64 %26, %25
%28 = tail call i32 @writeb(i32 noundef %16, i64 noundef %27) #2
%29 = load i64, ptr %5, align 8, !tbaa !12
%30 = load i64, ptr @PCI20006_STROBE0, align 8, !tbaa !15
%31 = add nsw i64 %30, %29
%32 = tail call i32 @writeb(i32 noundef 0, i64 noundef %31) #2
br label %52
33: ; preds = %4
%34 = load i64, ptr %5, align 8, !tbaa !12
%35 = load i64, ptr @PCI20006_LCHAN1, align 8, !tbaa !15
%36 = add nsw i64 %35, %34
%37 = tail call i32 @writeb(i32 noundef %13, i64 noundef %36) #2
%38 = load i64, ptr %5, align 8, !tbaa !12
%39 = load i64, ptr @PCI20006_LCHAN1, align 8, !tbaa !15
%40 = add i64 %38, 1
%41 = add i64 %40, %39
%42 = tail call i32 @writeb(i32 noundef %16, i64 noundef %41) #2
%43 = load i64, ptr %5, align 8, !tbaa !12
%44 = load i64, ptr @PCI20006_STROBE1, align 8, !tbaa !15
%45 = add nsw i64 %44, %43
%46 = tail call i32 @writeb(i32 noundef 0, i64 noundef %45) #2
br label %52
47: ; preds = %4
%48 = load i32, ptr %0, align 4, !tbaa !17
%49 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %48) #2
%50 = load i32, ptr @EINVAL, align 4, !tbaa !10
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %19, %33, %47
%53 = phi i32 [ %51, %47 ], [ 1, %33 ], [ 1, %19 ]
ret i32 %53
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"comedi_subdevice", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"comedi_insn", !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"comedi_device", !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ii_pci20kc.c_pci20006_insn_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ii_pci20kc.c_pci20006_insn_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI20006_LCHAN0 = common local_unnamed_addr global i64 0, align 8
@PCI20006_STROBE0 = common local_unnamed_addr global i64 0, align 8
@PCI20006_LCHAN1 = common local_unnamed_addr global i64 0, align 8
@PCI20006_STROBE1 = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c" comedi%d: pci20xxx: ao channel Error!\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pci20006_insn_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pci20006_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = load ptr, ptr %1, align 8, !tbaa !6
%6 = load i32, ptr %3, align 4, !tbaa !11
%7 = load ptr, ptr %5, align 8, !tbaa !13
%8 = load i32, ptr %2, align 4, !tbaa !14
%9 = tail call i32 @CR_CHAN(i32 noundef %8) #2
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %7, i64 %10
store i32 %6, ptr %11, align 4, !tbaa !11
%12 = load i32, ptr %3, align 4, !tbaa !11
%13 = and i32 %12, 255
%14 = lshr i32 %12, 8
%15 = and i32 %14, 255
%16 = xor i32 %15, 128
%17 = load i32, ptr %2, align 4, !tbaa !14
%18 = tail call i32 @CR_CHAN(i32 noundef %17) #2
switch i32 %18, label %47 [
i32 0, label %19
i32 1, label %33
]
19: ; preds = %4
%20 = load i64, ptr %5, align 8, !tbaa !13
%21 = load i64, ptr @PCI20006_LCHAN0, align 8, !tbaa !16
%22 = add nsw i64 %21, %20
%23 = tail call i32 @writeb(i32 noundef %13, i64 noundef %22) #2
%24 = load i64, ptr %5, align 8, !tbaa !13
%25 = load i64, ptr @PCI20006_LCHAN0, align 8, !tbaa !16
%26 = add i64 %24, 1
%27 = add i64 %26, %25
%28 = tail call i32 @writeb(i32 noundef %16, i64 noundef %27) #2
%29 = load i64, ptr %5, align 8, !tbaa !13
%30 = load i64, ptr @PCI20006_STROBE0, align 8, !tbaa !16
%31 = add nsw i64 %30, %29
%32 = tail call i32 @writeb(i32 noundef 0, i64 noundef %31) #2
br label %52
33: ; preds = %4
%34 = load i64, ptr %5, align 8, !tbaa !13
%35 = load i64, ptr @PCI20006_LCHAN1, align 8, !tbaa !16
%36 = add nsw i64 %35, %34
%37 = tail call i32 @writeb(i32 noundef %13, i64 noundef %36) #2
%38 = load i64, ptr %5, align 8, !tbaa !13
%39 = load i64, ptr @PCI20006_LCHAN1, align 8, !tbaa !16
%40 = add i64 %38, 1
%41 = add i64 %40, %39
%42 = tail call i32 @writeb(i32 noundef %16, i64 noundef %41) #2
%43 = load i64, ptr %5, align 8, !tbaa !13
%44 = load i64, ptr @PCI20006_STROBE1, align 8, !tbaa !16
%45 = add nsw i64 %44, %43
%46 = tail call i32 @writeb(i32 noundef 0, i64 noundef %45) #2
br label %52
47: ; preds = %4
%48 = load i32, ptr %0, align 4, !tbaa !18
%49 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %48) #2
%50 = load i32, ptr @EINVAL, align 4, !tbaa !11
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %19, %33, %47
%53 = phi i32 [ %51, %47 ], [ 1, %33 ], [ 1, %19 ]
ret i32 %53
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"comedi_subdevice", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"comedi_insn", !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"comedi_device", !12, i64 0}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_ii_pci20kc.c_pci20006_insn_write |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_test_createpackage.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_test_createpackage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ERROR_INSTALL_PACKAGE_REJECTED = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Not enough rights to perform tests\0A\00", align 1
@msifile = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [30 x i8] c" Failed to create package %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Failed to close package\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_createpackage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_createpackage() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 0, ptr %1, align 4, !tbaa !5
%2 = tail call i32 (...) @create_package_db() #3
%3 = call i64 @package_from_db(i32 noundef %2, ptr noundef nonnull %1) #3
%4 = load i64, ptr @ERROR_INSTALL_PACKAGE_REJECTED, align 8, !tbaa !9
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @skip(ptr noundef nonnull @.str) #3
br label %19
8: ; preds = %0
%9 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !9
%10 = icmp eq i64 %3, %9
%11 = zext i1 %10 to i32
%12 = call i32 (i32, ptr, ...) @ok(i32 noundef %11, ptr noundef nonnull @.str.1, i64 noundef %3) #3
%13 = load i32, ptr %1, align 4, !tbaa !5
%14 = call i64 @MsiCloseHandle(i32 noundef %13) #3
%15 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !9
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.2) #3
br label %19
19: ; preds = %8, %6
%20 = load i32, ptr @msifile, align 4, !tbaa !5
%21 = call i32 @DeleteFileA(i32 noundef %20) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @package_from_db(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @create_package_db(...) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @DeleteFileA(i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @MsiCloseHandle(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_test_createpackage.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_test_createpackage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERROR_INSTALL_PACKAGE_REJECTED = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Not enough rights to perform tests\0A\00", align 1
@msifile = common local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [30 x i8] c" Failed to create package %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Failed to close package\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_createpackage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_createpackage() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 0, ptr %1, align 4, !tbaa !6
%2 = tail call i32 @create_package_db() #3
%3 = call i64 @package_from_db(i32 noundef %2, ptr noundef nonnull %1) #3
%4 = load i64, ptr @ERROR_INSTALL_PACKAGE_REJECTED, align 8, !tbaa !10
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @skip(ptr noundef nonnull @.str) #3
br label %19
8: ; preds = %0
%9 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !10
%10 = icmp eq i64 %3, %9
%11 = zext i1 %10 to i32
%12 = call i32 (i32, ptr, ...) @ok(i32 noundef %11, ptr noundef nonnull @.str.1, i64 noundef %3) #3
%13 = load i32, ptr %1, align 4, !tbaa !6
%14 = call i64 @MsiCloseHandle(i32 noundef %13) #3
%15 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !10
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.2) #3
br label %19
19: ; preds = %8, %6
%20 = load i32, ptr @msifile, align 4, !tbaa !6
%21 = call i32 @DeleteFileA(i32 noundef %20) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @package_from_db(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @create_package_db(...) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @DeleteFileA(i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @MsiCloseHandle(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| reactos_modules_rostests_winetests_msi_extr_package.c_test_createpackage |
; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_sdl.c_destroy_renderer.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_sdl.c_destroy_renderer.c"
target datalayout = "e-m:e-p270:32:32-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.priv = type { ptr, ptr, ptr }
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { ptr, ptr }
@MAX_OSD_PARTS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @destroy_renderer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @destroy_renderer(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.priv, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %4) #2
store ptr null, ptr %3, align 8, !tbaa !10
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @MAX_OSD_PARTS, align 4, !tbaa !12
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %65
11: ; preds = %8
%12 = getelementptr inbounds %struct.priv, ptr %2, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !14
br label %14
14: ; preds = %11, %58
%15 = phi i32 [ %9, %11 ], [ %59, %58 ]
%16 = phi ptr [ %13, %11 ], [ %60, %58 ]
%17 = phi ptr [ %13, %11 ], [ %61, %58 ]
%18 = phi i64 [ 0, %11 ], [ %62, %58 ]
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 %18
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %58
22: ; preds = %14, %49
%23 = phi ptr [ %50, %49 ], [ %16, %14 ]
%24 = phi i64 [ %51, %49 ], [ 0, %14 ]
%25 = phi ptr [ %50, %49 ], [ %17, %14 ]
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %18, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !17
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i64 %24, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !18
%30 = icmp eq ptr %29, null
br i1 %30, label %37, label %31
31: ; preds = %22
%32 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %29) #2
%33 = load ptr, ptr %12, align 8, !tbaa !14
%34 = getelementptr inbounds %struct.TYPE_4__, ptr %33, i64 %18, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !17
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i64 %24, i32 1
store ptr null, ptr %36, align 8, !tbaa !18
br label %37
37: ; preds = %31, %22
%38 = phi ptr [ %33, %31 ], [ %23, %22 ]
%39 = phi ptr [ %35, %31 ], [ %27, %22 ]
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i64 %24
%41 = load ptr, ptr %40, align 8, !tbaa !20
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %37
%44 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %41) #2
%45 = load ptr, ptr %12, align 8, !tbaa !14
%46 = getelementptr inbounds %struct.TYPE_4__, ptr %45, i64 %18, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i64 %24
store ptr null, ptr %48, align 8, !tbaa !20
br label %49
49: ; preds = %37, %43
%50 = phi ptr [ %38, %37 ], [ %45, %43 ]
%51 = add nuw nsw i64 %24, 1
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %50, i64 %18
%53 = load i32, ptr %52, align 8, !tbaa !15
%54 = sext i32 %53 to i64
%55 = icmp slt i64 %51, %54
br i1 %55, label %22, label %56, !llvm.loop !21
56: ; preds = %49
%57 = load i32, ptr @MAX_OSD_PARTS, align 4, !tbaa !12
br label %58
58: ; preds = %56, %14
%59 = phi i32 [ %57, %56 ], [ %15, %14 ]
%60 = phi ptr [ %50, %56 ], [ %16, %14 ]
%61 = phi ptr [ %50, %56 ], [ %17, %14 ]
%62 = add nuw nsw i64 %18, 1
%63 = sext i32 %59 to i64
%64 = icmp slt i64 %62, %63
br i1 %64, label %14, label %65, !llvm.loop !23
65: ; preds = %58, %8
%66 = load ptr, ptr %2, align 8, !tbaa !24
%67 = icmp eq ptr %66, null
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 @SDL_DestroyRenderer(ptr noundef nonnull %66) #2
store ptr null, ptr %2, align 8, !tbaa !24
br label %70
70: ; preds = %68, %65
ret void
}
declare i32 @SDL_DestroyTexture(ptr noundef) local_unnamed_addr #1
declare i32 @SDL_DestroyRenderer(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 = !{!"vo", !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 = !{!"priv", !7, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !7, i64 8}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_4__", !13, i64 0, !7, i64 8}
!17 = !{!16, !7, i64 8}
!18 = !{!19, !7, i64 8}
!19 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
!20 = !{!19, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_sdl.c_destroy_renderer.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_sdl.c_destroy_renderer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { ptr, ptr }
@MAX_OSD_PARTS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @destroy_renderer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @destroy_renderer(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = icmp eq ptr %4, null
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %4) #2
store ptr null, ptr %3, align 8, !tbaa !11
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @MAX_OSD_PARTS, align 4, !tbaa !13
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %65
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %2, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !15
br label %14
14: ; preds = %11, %58
%15 = phi i32 [ %9, %11 ], [ %59, %58 ]
%16 = phi ptr [ %13, %11 ], [ %60, %58 ]
%17 = phi ptr [ %13, %11 ], [ %61, %58 ]
%18 = phi i64 [ 0, %11 ], [ %62, %58 ]
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 %18
%20 = load i32, ptr %19, align 8, !tbaa !16
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %58
22: ; preds = %14, %49
%23 = phi ptr [ %50, %49 ], [ %16, %14 ]
%24 = phi i64 [ %51, %49 ], [ 0, %14 ]
%25 = phi ptr [ %50, %49 ], [ %17, %14 ]
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %18, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !18
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i64 %24, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !19
%30 = icmp eq ptr %29, null
br i1 %30, label %37, label %31
31: ; preds = %22
%32 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %29) #2
%33 = load ptr, ptr %12, align 8, !tbaa !15
%34 = getelementptr inbounds %struct.TYPE_4__, ptr %33, i64 %18, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !18
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i64 %24, i32 1
store ptr null, ptr %36, align 8, !tbaa !19
br label %37
37: ; preds = %31, %22
%38 = phi ptr [ %33, %31 ], [ %23, %22 ]
%39 = phi ptr [ %35, %31 ], [ %27, %22 ]
%40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i64 %24
%41 = load ptr, ptr %40, align 8, !tbaa !21
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %37
%44 = tail call i32 @SDL_DestroyTexture(ptr noundef nonnull %41) #2
%45 = load ptr, ptr %12, align 8, !tbaa !15
%46 = getelementptr inbounds %struct.TYPE_4__, ptr %45, i64 %18, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !18
%48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i64 %24
store ptr null, ptr %48, align 8, !tbaa !21
br label %49
49: ; preds = %37, %43
%50 = phi ptr [ %38, %37 ], [ %45, %43 ]
%51 = add nuw nsw i64 %24, 1
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %50, i64 %18
%53 = load i32, ptr %52, align 8, !tbaa !16
%54 = sext i32 %53 to i64
%55 = icmp slt i64 %51, %54
br i1 %55, label %22, label %56, !llvm.loop !22
56: ; preds = %49
%57 = load i32, ptr @MAX_OSD_PARTS, align 4, !tbaa !13
br label %58
58: ; preds = %56, %14
%59 = phi i32 [ %57, %56 ], [ %15, %14 ]
%60 = phi ptr [ %50, %56 ], [ %16, %14 ]
%61 = phi ptr [ %50, %56 ], [ %17, %14 ]
%62 = add nuw nsw i64 %18, 1
%63 = sext i32 %59 to i64
%64 = icmp slt i64 %62, %63
br i1 %64, label %14, label %65, !llvm.loop !24
65: ; preds = %58, %8
%66 = load ptr, ptr %2, align 8, !tbaa !25
%67 = icmp eq ptr %66, null
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 @SDL_DestroyRenderer(ptr noundef nonnull %66) #2
store ptr null, ptr %2, align 8, !tbaa !25
br label %70
70: ; preds = %68, %65
ret void
}
declare i32 @SDL_DestroyTexture(ptr noundef) local_unnamed_addr #1
declare i32 @SDL_DestroyRenderer(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 = !{!"vo", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"priv", !8, i64 0, !8, i64 8, !8, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !8, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_4__", !14, i64 0, !8, i64 8}
!18 = !{!17, !8, i64 8}
!19 = !{!20, !8, i64 8}
!20 = !{!"TYPE_3__", !8, i64 0, !8, i64 8}
!21 = !{!20, !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!12, !8, i64 0}
| mpv_video_out_extr_vo_sdl.c_destroy_renderer |
; ModuleID = 'AnghaBench/linux/arch/sparc/vdso/extr_vma.c_find_sections64.c'
source_filename = "AnghaBench/linux/arch/sparc/vdso/extr_vma.c_find_sections64.c"
target datalayout = "e-m:e-p270:32:32-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.vdso_elfinfo64 = type { ptr, ptr, i32, i32 }
@.str = private unnamed_addr constant [8 x i8] c".dynsym\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c".dynstr\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"VDSO64: Missing symbol sections.\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_sections64], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @find_sections64(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.vdso_elfinfo64, ptr %1, i64 0, i32 3
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.vdso_elfinfo64, ptr %1, i64 0, i32 2
%6 = tail call ptr @one_section64(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.vdso_elfinfo64, ptr %1, i64 0, i32 1
store ptr %6, ptr %7, align 8, !tbaa !13
%8 = tail call ptr @one_section64(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef null) #2
store ptr %8, ptr %1, align 8, !tbaa !14
%9 = load ptr, ptr %7, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
%11 = icmp eq ptr %8, null
%12 = select i1 %10, i1 true, i1 %11
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = tail call i32 @pr_err(ptr noundef nonnull @.str.2) #2
%15 = load i32, ptr @ENODEV, align 4, !tbaa !15
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %2, %13
%18 = phi i32 [ %16, %13 ], [ 0, %2 ]
ret i32 %18
}
declare ptr @one_section64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(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 = !{!"vdso_image", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 20}
!11 = !{!"vdso_elfinfo64", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !12, i64 0}
!15 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/vdso/extr_vma.c_find_sections64.c'
source_filename = "AnghaBench/linux/arch/sparc/vdso/extr_vma.c_find_sections64.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c".dynsym\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c".dynstr\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"VDSO64: Missing symbol sections.\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @find_sections64], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @find_sections64(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %3, ptr %4, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = tail call ptr @one_section64(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %6, ptr %7, align 8, !tbaa !14
%8 = tail call ptr @one_section64(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef null) #2
store ptr %8, ptr %1, align 8, !tbaa !15
%9 = load ptr, ptr %7, align 8, !tbaa !14
%10 = icmp eq ptr %9, null
%11 = icmp eq ptr %8, null
%12 = select i1 %10, i1 true, i1 %11
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = tail call i32 @pr_err(ptr noundef nonnull @.str.2) #2
%15 = load i32, ptr @ENODEV, align 4, !tbaa !16
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %2, %13
%18 = phi i32 [ %16, %13 ], [ 0, %2 ]
ret i32 %18
}
declare ptr @one_section64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(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 = !{!"vdso_image", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 20}
!12 = !{!"vdso_elfinfo64", !13, i64 0, !13, i64 8, !8, i64 16, !8, i64 20}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !13, i64 0}
!16 = !{!8, !8, i64 0}
| linux_arch_sparc_vdso_extr_vma.c_find_sections64 |
; ModuleID = 'AnghaBench/postgres/src/bin/pgbench/extr_pgbench.c_addToSimpleStats.c'
source_filename = "AnghaBench/postgres/src/bin/pgbench/extr_pgbench.c_addToSimpleStats.c"
target datalayout = "e-m:e-p270:32:32-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, double, double, double, double }
@llvm.compiler.used = appending global [1 x ptr] [ptr @addToSimpleStats], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @addToSimpleStats(ptr nocapture noundef %0, double noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
br i1 %4, label %6, label %7
6: ; preds = %2
store double %1, ptr %5, align 8, !tbaa !11
br label %15
7: ; preds = %2
%8 = load double, ptr %5, align 8, !tbaa !11
%9 = fcmp ogt double %8, %1
br i1 %9, label %10, label %11
10: ; preds = %7
store double %1, ptr %5, align 8, !tbaa !11
br label %11
11: ; preds = %7, %10
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%13 = load double, ptr %12, align 8, !tbaa !12
%14 = fcmp olt double %13, %1
br i1 %14, label %15, label %17
15: ; preds = %6, %11
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store double %1, ptr %16, align 8, !tbaa !12
br label %17
17: ; preds = %15, %11
%18 = add nsw i64 %3, 1
store i64 %18, ptr %0, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%20 = load double, ptr %19, align 8, !tbaa !13
%21 = fadd double %20, %1
store double %21, ptr %19, align 8, !tbaa !13
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%23 = load double, ptr %22, align 8, !tbaa !14
%24 = tail call double @llvm.fmuladd.f64(double %1, double %1, double %23)
store double %24, ptr %22, align 8, !tbaa !14
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
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" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 24}
!14 = !{!6, !10, i64 32}
| ; ModuleID = 'AnghaBench/postgres/src/bin/pgbench/extr_pgbench.c_addToSimpleStats.c'
source_filename = "AnghaBench/postgres/src/bin/pgbench/extr_pgbench.c_addToSimpleStats.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 @addToSimpleStats], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @addToSimpleStats(ptr nocapture noundef %0, double noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds i8, ptr %0, i64 8
br i1 %4, label %6, label %7
6: ; preds = %2
store double %1, ptr %5, align 8, !tbaa !12
br label %15
7: ; preds = %2
%8 = load double, ptr %5, align 8, !tbaa !12
%9 = fcmp ogt double %8, %1
br i1 %9, label %10, label %11
10: ; preds = %7
store double %1, ptr %5, align 8, !tbaa !12
br label %11
11: ; preds = %7, %10
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load double, ptr %12, align 8, !tbaa !13
%14 = fcmp olt double %13, %1
br i1 %14, label %15, label %17
15: ; preds = %6, %11
%16 = getelementptr inbounds i8, ptr %0, i64 16
store double %1, ptr %16, align 8, !tbaa !13
br label %17
17: ; preds = %15, %11
%18 = add nsw i64 %3, 1
store i64 %18, ptr %0, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %0, i64 24
%20 = load double, ptr %19, align 8, !tbaa !14
%21 = fadd double %20, %1
store double %21, ptr %19, align 8, !tbaa !14
%22 = getelementptr inbounds i8, ptr %0, i64 32
%23 = load double, ptr %22, align 8, !tbaa !15
%24 = tail call double @llvm.fmuladd.f64(double %1, double %1, double %23)
store double %24, ptr %22, align 8, !tbaa !15
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
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" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !11, i64 24}
!15 = !{!7, !11, i64 32}
| postgres_src_bin_pgbench_extr_pgbench.c_addToSimpleStats |
; ModuleID = 'AnghaBench/mozjpeg/extr_wrjpgcom.c_skip_variable.c'
source_filename = "AnghaBench/mozjpeg/extr_wrjpgcom.c_skip_variable.c"
target datalayout = "e-m:e-p270:32:32-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"Erroneous JPEG marker length\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @skip_variable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @skip_variable() #0 {
%1 = tail call i32 (...) @read_2_bytes() #2
%2 = icmp ult i32 %1, 2
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @ERREXIT(ptr noundef nonnull @.str) #2
%5 = or disjoint i32 %1, -2
br label %9
6: ; preds = %0
%7 = add i32 %1, -2
%8 = icmp eq i32 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %3, %6
%10 = phi i32 [ %7, %6 ], [ %5, %3 ]
br label %11
11: ; preds = %9, %11
%12 = phi i32 [ %14, %11 ], [ %10, %9 ]
%13 = tail call i32 (...) @read_1_byte() #2
%14 = add i32 %12, -1
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %11, !llvm.loop !5
16: ; preds = %11, %6
ret void
}
declare i32 @read_2_bytes(...) local_unnamed_addr #1
declare i32 @ERREXIT(ptr noundef) local_unnamed_addr #1
declare i32 @read_1_byte(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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/mozjpeg/extr_wrjpgcom.c_skip_variable.c'
source_filename = "AnghaBench/mozjpeg/extr_wrjpgcom.c_skip_variable.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"Erroneous JPEG marker length\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @skip_variable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @skip_variable() #0 {
%1 = tail call i32 @read_2_bytes() #2
%2 = icmp ult i32 %1, 2
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @ERREXIT(ptr noundef nonnull @.str) #2
%5 = or disjoint i32 %1, -2
br label %9
6: ; preds = %0
%7 = add i32 %1, -2
%8 = icmp eq i32 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %3, %6
%10 = phi i32 [ %7, %6 ], [ %5, %3 ]
br label %11
11: ; preds = %9, %11
%12 = phi i32 [ %14, %11 ], [ %10, %9 ]
%13 = tail call i32 @read_1_byte() #2
%14 = add i32 %12, -1
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %11, !llvm.loop !6
16: ; preds = %11, %6
ret void
}
declare i32 @read_2_bytes(...) local_unnamed_addr #1
declare i32 @ERREXIT(ptr noundef) local_unnamed_addr #1
declare i32 @read_1_byte(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 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"}
| mozjpeg_extr_wrjpgcom.c_skip_variable |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_wlan_util.c_update_bmc_sta_support_rate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_wlan_util.c_update_bmc_sta_support_rate.c"
target datalayout = "e-m:e-p270:32:32-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.mlme_ext_priv = type { i32, %struct.mlme_ext_info }
%struct.mlme_ext_info = type { ptr }
%struct.TYPE_2__ = type { i32 }
@WIRELESS_11B = dso_local local_unnamed_addr global i32 0, align 4
@rtw_basic_rate_cck = dso_local local_unnamed_addr global i32 0, align 4
@rtw_basic_rate_ofdm = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @update_bmc_sta_support_rate(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.mlme_ext_priv, ptr %0, i64 0, i32 1
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @WIRELESS_11B, align 4, !tbaa !12
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load ptr, ptr %3, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %1
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = select i1 %7, i32 3, i32 4
%12 = load i32, ptr @rtw_basic_rate_ofdm, align 4
%13 = load i32, ptr @rtw_basic_rate_cck, align 4
%14 = select i1 %7, i32 %12, i32 %13
%15 = tail call i32 @memcpy(i32 noundef %10, i32 noundef %14, i32 noundef %11) #2
ret void
}
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mlme_ext_priv", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"mlme_ext_info", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_wlan_util.c_update_bmc_sta_support_rate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_wlan_util.c_update_bmc_sta_support_rate.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 }
@WIRELESS_11B = common local_unnamed_addr global i32 0, align 4
@rtw_basic_rate_cck = common local_unnamed_addr global i32 0, align 4
@rtw_basic_rate_ofdm = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @update_bmc_sta_support_rate(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @WIRELESS_11B, align 4, !tbaa !13
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = load ptr, ptr %3, align 8, !tbaa !14
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %1
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = select i1 %7, i32 3, i32 4
%12 = load i32, ptr @rtw_basic_rate_ofdm, align 4
%13 = load i32, ptr @rtw_basic_rate_cck, align 4
%14 = select i1 %7, i32 %12, i32 %13
%15 = tail call i32 @memcpy(i32 noundef %10, i32 noundef %14, i32 noundef %11) #2
ret void
}
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mlme_ext_priv", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"mlme_ext_info", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_staging_rtl8188eu_core_extr_rtw_wlan_util.c_update_bmc_sta_support_rate |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_usb.c_mt7601u_vendor_single_wr.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_usb.c_mt7601u_vendor_single_wr.c"
target datalayout = "e-m:e-p270:32:32-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 @mt7601u_vendor_single_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @mutex_lock(ptr noundef %0) #2
%6 = tail call i32 @__mt7601u_vendor_single_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %6
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__mt7601u_vendor_single_wr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_usb.c_mt7601u_vendor_single_wr.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_usb.c_mt7601u_vendor_single_wr.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 @mt7601u_vendor_single_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @mutex_lock(ptr noundef %0) #2
%6 = tail call i32 @__mt7601u_vendor_single_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %6
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @__mt7601u_vendor_single_wr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_mediatek_mt7601u_extr_usb.c_mt7601u_vendor_single_wr |
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_fileio.c_fsdirNext.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_fileio.c_fsdirNext.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i32, i64, %struct.TYPE_9__, ptr, i32 }
%struct.TYPE_9__ = type { i32 }
%struct.TYPE_8__ = type { i64, i64 }
@SQLITE_NOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"cannot read directory: %s\00", align 1
@SQLITE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"cannot stat file: %s\00", align 1
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsdirNext], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fsdirNext(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
%5 = load i32, ptr %4, align 8, !tbaa !13
%6 = add nsw i32 %5, 1
store i32 %6, ptr %4, align 8, !tbaa !13
%7 = tail call i64 @S_ISDIR(i32 noundef %3) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %45, label %9
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = add nsw i32 %10, 1
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%17 = load ptr, ptr %16, align 8, !tbaa !16
br label %33
18: ; preds = %9
%19 = add nsw i32 %10, 2
%20 = shl i32 %19, 4
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = tail call i64 @sqlite3_realloc64(ptr noundef %22, i32 noundef %20) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %101, label %25
25: ; preds = %18
%26 = inttoptr i64 %23 to ptr
%27 = load i32, ptr %12, align 4, !tbaa !15
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %28
%30 = sub nsw i32 %19, %27
%31 = shl i32 %30, 4
%32 = tail call i32 @memset(ptr noundef nonnull %29, i32 noundef 0, i32 noundef %31) #3
store ptr %26, ptr %21, align 8, !tbaa !16
store i32 %19, ptr %12, align 4, !tbaa !15
br label %33
33: ; preds = %15, %25
%34 = phi ptr [ %17, %15 ], [ %26, %25 ]
store i32 %11, ptr %0, align 8, !tbaa !14
%35 = sext i32 %11 to i64
%36 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 %35
%37 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%38 = load i64, ptr %37, align 8, !tbaa !17
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 %35, i32 1
store i64 %38, ptr %39, align 8, !tbaa !18
store i64 0, ptr %37, align 8, !tbaa !17
%40 = tail call i64 @opendir(i64 noundef %38) #3
store i64 %40, ptr %36, align 8, !tbaa !20
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %33
%43 = load i64, ptr %37, align 8, !tbaa !17
%44 = tail call i32 @fsdirSetErrmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %43) #3
br label %101
45: ; preds = %33, %1
%46 = load i32, ptr %0, align 8, !tbaa !14
%47 = icmp sgt i32 %46, -1
br i1 %47, label %48, label %97
48: ; preds = %45
%49 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
br label %50
50: ; preds = %48, %94
%51 = phi i32 [ %46, %48 ], [ %95, %94 ]
%52 = load ptr, ptr %49, align 8, !tbaa !16
%53 = zext nneg i32 %51 to i64
%54 = getelementptr inbounds %struct.TYPE_8__, ptr %52, i64 %53
%55 = load i64, ptr %54, align 8, !tbaa !20
%56 = tail call ptr @readdir(i64 noundef %55) #3
%57 = icmp eq ptr %56, null
br i1 %57, label %84, label %58
58: ; preds = %50
%59 = load ptr, ptr %56, align 8, !tbaa !21
%60 = load i8, ptr %59, align 1, !tbaa !23
%61 = icmp eq i8 %60, 46
br i1 %61, label %62, label %69
62: ; preds = %58
%63 = getelementptr inbounds i8, ptr %59, i64 1
%64 = load i8, ptr %63, align 1, !tbaa !23
switch i8 %64, label %69 [
i8 46, label %65
i8 0, label %92
]
65: ; preds = %62
%66 = getelementptr inbounds i8, ptr %59, i64 2
%67 = load i8, ptr %66, align 1, !tbaa !23
%68 = icmp eq i8 %67, 0
br i1 %68, label %92, label %69, !llvm.loop !24
69: ; preds = %62, %65, %58
%70 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%71 = load i64, ptr %70, align 8, !tbaa !17
%72 = tail call i32 @sqlite3_free(i64 noundef %71) #3
%73 = getelementptr inbounds %struct.TYPE_8__, ptr %52, i64 %53, i32 1
%74 = load i64, ptr %73, align 8, !tbaa !18
%75 = load ptr, ptr %56, align 8, !tbaa !21
%76 = tail call i64 @sqlite3_mprintf(ptr noundef nonnull @.str.1, i64 noundef %74, ptr noundef %75) #3
store i64 %76, ptr %70, align 8, !tbaa !17
%77 = icmp eq i64 %76, 0
br i1 %77, label %101, label %78
78: ; preds = %69
%79 = tail call i64 @fileLinkStat(i64 noundef %76, ptr noundef nonnull %2) #3
%80 = icmp eq i64 %79, 0
br i1 %80, label %101, label %81
81: ; preds = %78
%82 = load i64, ptr %70, align 8, !tbaa !17
%83 = tail call i32 @fsdirSetErrmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i64 noundef %82) #3
br label %101
84: ; preds = %50
%85 = load i64, ptr %54, align 8, !tbaa !20
%86 = tail call i32 @closedir(i64 noundef %85) #3
%87 = getelementptr inbounds %struct.TYPE_8__, ptr %52, i64 %53, i32 1
%88 = load i64, ptr %87, align 8, !tbaa !18
%89 = tail call i32 @sqlite3_free(i64 noundef %88) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, i8 0, i64 16, i1 false)
%90 = load i32, ptr %0, align 8, !tbaa !14
%91 = add nsw i32 %90, -1
store i32 %91, ptr %0, align 8, !tbaa !14
br label %94
92: ; preds = %65, %62
%93 = load i32, ptr %0, align 8, !tbaa !14
br label %94
94: ; preds = %92, %84
%95 = phi i32 [ %93, %92 ], [ %91, %84 ]
%96 = icmp sgt i32 %95, -1
br i1 %96, label %50, label %97
97: ; preds = %94, %45
%98 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%99 = load i64, ptr %98, align 8, !tbaa !17
%100 = tail call i32 @sqlite3_free(i64 noundef %99) #3
store i64 0, ptr %98, align 8, !tbaa !17
br label %101
101: ; preds = %78, %69, %18, %81, %42, %97
%102 = phi ptr [ @SQLITE_OK, %97 ], [ @SQLITE_ERROR, %42 ], [ @SQLITE_ERROR, %81 ], [ @SQLITE_NOMEM, %18 ], [ @SQLITE_NOMEM, %69 ], [ @SQLITE_OK, %78 ]
%103 = load i32, ptr %102, align 4, !tbaa !26
ret i32 %103
}
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_realloc64(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @opendir(i64 noundef) local_unnamed_addr #1
declare i32 @fsdirSetErrmsg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @readdir(i64 noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(i64 noundef) local_unnamed_addr #1
declare i64 @sqlite3_mprintf(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @fileLinkStat(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @closedir(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !12, i64 24, !7, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"TYPE_9__", !7, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 4}
!16 = !{!6, !12, i64 24}
!17 = !{!6, !10, i64 8}
!18 = !{!19, !10, i64 8}
!19 = !{!"TYPE_8__", !10, i64 0, !10, i64 8}
!20 = !{!19, !10, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"dirent", !12, i64 0}
!23 = !{!8, !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_fileio.c_fsdirNext.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_fileio.c_fsdirNext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i64, i64 }
@SQLITE_NOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"cannot read directory: %s\00", align 1
@SQLITE_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"cannot stat file: %s\00", align 1
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fsdirNext], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fsdirNext(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load i32, ptr %4, align 8, !tbaa !14
%6 = add nsw i32 %5, 1
store i32 %6, ptr %4, align 8, !tbaa !14
%7 = tail call i64 @S_ISDIR(i32 noundef %3) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %45, label %9
9: ; preds = %1
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = add nsw i32 %10, 1
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %0, i64 24
%17 = load ptr, ptr %16, align 8, !tbaa !17
br label %33
18: ; preds = %9
%19 = add nsw i32 %10, 2
%20 = shl i32 %19, 4
%21 = getelementptr inbounds i8, ptr %0, i64 24
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = tail call i64 @sqlite3_realloc64(ptr noundef %22, i32 noundef %20) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %101, label %25
25: ; preds = %18
%26 = inttoptr i64 %23 to ptr
%27 = load i32, ptr %12, align 4, !tbaa !16
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %28
%30 = sub nsw i32 %19, %27
%31 = shl i32 %30, 4
%32 = tail call i32 @memset(ptr noundef nonnull %29, i32 noundef 0, i32 noundef %31) #3
store ptr %26, ptr %21, align 8, !tbaa !17
store i32 %19, ptr %12, align 4, !tbaa !16
br label %33
33: ; preds = %15, %25
%34 = phi ptr [ %17, %15 ], [ %26, %25 ]
store i32 %11, ptr %0, align 8, !tbaa !15
%35 = sext i32 %11 to i64
%36 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 %35
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load i64, ptr %37, align 8, !tbaa !18
%39 = getelementptr inbounds i8, ptr %36, i64 8
store i64 %38, ptr %39, align 8, !tbaa !19
store i64 0, ptr %37, align 8, !tbaa !18
%40 = tail call i64 @opendir(i64 noundef %38) #3
store i64 %40, ptr %36, align 8, !tbaa !21
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %33
%43 = load i64, ptr %37, align 8, !tbaa !18
%44 = tail call i32 @fsdirSetErrmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %43) #3
br label %101
45: ; preds = %33, %1
%46 = load i32, ptr %0, align 8, !tbaa !15
%47 = icmp sgt i32 %46, -1
br i1 %47, label %48, label %97
48: ; preds = %45
%49 = getelementptr inbounds i8, ptr %0, i64 24
br label %50
50: ; preds = %48, %94
%51 = phi i32 [ %46, %48 ], [ %95, %94 ]
%52 = load ptr, ptr %49, align 8, !tbaa !17
%53 = zext nneg i32 %51 to i64
%54 = getelementptr inbounds %struct.TYPE_8__, ptr %52, i64 %53
%55 = load i64, ptr %54, align 8, !tbaa !21
%56 = tail call ptr @readdir(i64 noundef %55) #3
%57 = icmp eq ptr %56, null
br i1 %57, label %84, label %58
58: ; preds = %50
%59 = load ptr, ptr %56, align 8, !tbaa !22
%60 = load i8, ptr %59, align 1, !tbaa !24
%61 = icmp eq i8 %60, 46
br i1 %61, label %62, label %69
62: ; preds = %58
%63 = getelementptr inbounds i8, ptr %59, i64 1
%64 = load i8, ptr %63, align 1, !tbaa !24
switch i8 %64, label %69 [
i8 46, label %65
i8 0, label %92
]
65: ; preds = %62
%66 = getelementptr inbounds i8, ptr %59, i64 2
%67 = load i8, ptr %66, align 1, !tbaa !24
%68 = icmp eq i8 %67, 0
br i1 %68, label %92, label %69, !llvm.loop !25
69: ; preds = %62, %65, %58
%70 = getelementptr inbounds i8, ptr %0, i64 8
%71 = load i64, ptr %70, align 8, !tbaa !18
%72 = tail call i32 @sqlite3_free(i64 noundef %71) #3
%73 = getelementptr inbounds i8, ptr %54, i64 8
%74 = load i64, ptr %73, align 8, !tbaa !19
%75 = load ptr, ptr %56, align 8, !tbaa !22
%76 = tail call i64 @sqlite3_mprintf(ptr noundef nonnull @.str.1, i64 noundef %74, ptr noundef %75) #3
store i64 %76, ptr %70, align 8, !tbaa !18
%77 = icmp eq i64 %76, 0
br i1 %77, label %101, label %78
78: ; preds = %69
%79 = tail call i64 @fileLinkStat(i64 noundef %76, ptr noundef nonnull %2) #3
%80 = icmp eq i64 %79, 0
br i1 %80, label %101, label %81
81: ; preds = %78
%82 = load i64, ptr %70, align 8, !tbaa !18
%83 = tail call i32 @fsdirSetErrmsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i64 noundef %82) #3
br label %101
84: ; preds = %50
%85 = load i64, ptr %54, align 8, !tbaa !21
%86 = tail call i32 @closedir(i64 noundef %85) #3
%87 = getelementptr inbounds i8, ptr %54, i64 8
%88 = load i64, ptr %87, align 8, !tbaa !19
%89 = tail call i32 @sqlite3_free(i64 noundef %88) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, i8 0, i64 16, i1 false)
%90 = load i32, ptr %0, align 8, !tbaa !15
%91 = add nsw i32 %90, -1
store i32 %91, ptr %0, align 8, !tbaa !15
br label %94
92: ; preds = %65, %62
%93 = load i32, ptr %0, align 8, !tbaa !15
br label %94
94: ; preds = %92, %84
%95 = phi i32 [ %93, %92 ], [ %91, %84 ]
%96 = icmp sgt i32 %95, -1
br i1 %96, label %50, label %97
97: ; preds = %94, %45
%98 = getelementptr inbounds i8, ptr %0, i64 8
%99 = load i64, ptr %98, align 8, !tbaa !18
%100 = tail call i32 @sqlite3_free(i64 noundef %99) #3
store i64 0, ptr %98, align 8, !tbaa !18
br label %101
101: ; preds = %78, %69, %18, %81, %42, %97
%102 = phi ptr [ @SQLITE_OK, %97 ], [ @SQLITE_ERROR, %42 ], [ @SQLITE_ERROR, %81 ], [ @SQLITE_NOMEM, %18 ], [ @SQLITE_NOMEM, %69 ], [ @SQLITE_OK, %78 ]
%103 = load i32, ptr %102, align 4, !tbaa !27
ret i32 %103
}
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_realloc64(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @opendir(i64 noundef) local_unnamed_addr #1
declare i32 @fsdirSetErrmsg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @readdir(i64 noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(i64 noundef) local_unnamed_addr #1
declare i64 @sqlite3_mprintf(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @fileLinkStat(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @closedir(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !13, i64 24, !8, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_9__", !8, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 32}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 4}
!17 = !{!7, !13, i64 24}
!18 = !{!7, !11, i64 8}
!19 = !{!20, !11, i64 8}
!20 = !{!"TYPE_8__", !11, i64 0, !11, i64 8}
!21 = !{!20, !11, i64 0}
!22 = !{!23, !13, i64 0}
!23 = !{!"dirent", !13, i64 0}
!24 = !{!9, !9, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!8, !8, i64 0}
| sqlcipher_ext_misc_extr_fileio.c_fsdirNext |
; ModuleID = 'AnghaBench/rofi/source/dialogs/extr_ssh.c_ssh_mode_get_num_entries.c'
source_filename = "AnghaBench/rofi/source/dialogs/extr_ssh.c_ssh_mode_get_num_entries.c"
target datalayout = "e-m:e-p270:32:32-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 @ssh_mode_get_num_entries], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ssh_mode_get_num_entries(ptr noundef %0) #0 {
%2 = tail call i64 @mode_get_private_data(ptr noundef %0) #2
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr %3, align 4, !tbaa !5
ret i32 %4
}
declare i64 @mode_get_private_data(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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/rofi/source/dialogs/extr_ssh.c_ssh_mode_get_num_entries.c'
source_filename = "AnghaBench/rofi/source/dialogs/extr_ssh.c_ssh_mode_get_num_entries.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 @ssh_mode_get_num_entries], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ssh_mode_get_num_entries(ptr noundef %0) #0 {
%2 = tail call i64 @mode_get_private_data(ptr noundef %0) #2
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr %3, align 4, !tbaa !6
ret i32 %4
}
declare i64 @mode_get_private_data(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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"}
| rofi_source_dialogs_extr_ssh.c_ssh_mode_get_num_entries |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/deltasplit75/extr_serial.c_serial_read_byte.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/deltasplit75/extr_serial.c_serial_read_byte.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @serial_read_byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @serial_read_byte() #0 {
%1 = tail call i32 (...) @serial_input() #2
%2 = tail call i32 (...) @serial_read_pin() #2
%3 = tail call i32 (...) @serial_delay() #2
%4 = tail call i32 @_delay_us(i32 noundef 1) #2
%5 = tail call i32 (...) @serial_read_pin() #2
%6 = tail call i32 (...) @serial_delay() #2
%7 = tail call i32 @_delay_us(i32 noundef 1) #2
%8 = shl i32 %2, 2
%9 = shl i32 %5, 1
%10 = or i32 %8, %9
%11 = tail call i32 (...) @serial_read_pin() #2
%12 = or i32 %11, %10
%13 = tail call i32 (...) @serial_delay() #2
%14 = tail call i32 @_delay_us(i32 noundef 1) #2
%15 = tail call i32 (...) @serial_read_pin() #2
%16 = tail call i32 (...) @serial_delay() #2
%17 = tail call i32 @_delay_us(i32 noundef 1) #2
%18 = shl i32 %12, 2
%19 = shl i32 %15, 1
%20 = or i32 %18, %19
%21 = tail call i32 (...) @serial_read_pin() #2
%22 = or i32 %21, %20
%23 = tail call i32 (...) @serial_delay() #2
%24 = tail call i32 @_delay_us(i32 noundef 1) #2
%25 = tail call i32 (...) @serial_read_pin() #2
%26 = tail call i32 (...) @serial_delay() #2
%27 = tail call i32 @_delay_us(i32 noundef 1) #2
%28 = shl i32 %22, 2
%29 = shl i32 %25, 1
%30 = or i32 %28, %29
%31 = tail call i32 (...) @serial_read_pin() #2
%32 = or i32 %31, %30
%33 = tail call i32 (...) @serial_delay() #2
%34 = tail call i32 @_delay_us(i32 noundef 1) #2
%35 = shl i32 %32, 1
%36 = tail call i32 (...) @serial_read_pin() #2
%37 = or i32 %36, %35
%38 = tail call i32 (...) @serial_delay() #2
%39 = tail call i32 @_delay_us(i32 noundef 1) #2
ret i32 %37
}
declare i32 @serial_input(...) local_unnamed_addr #1
declare i32 @serial_read_pin(...) local_unnamed_addr #1
declare i32 @serial_delay(...) local_unnamed_addr #1
declare i32 @_delay_us(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/qmk_firmware/keyboards/deltasplit75/extr_serial.c_serial_read_byte.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/deltasplit75/extr_serial.c_serial_read_byte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @serial_read_byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @serial_read_byte() #0 {
%1 = tail call i32 @serial_input() #2
%2 = tail call i32 @serial_read_pin() #2
%3 = tail call i32 @serial_delay() #2
%4 = tail call i32 @_delay_us(i32 noundef 1) #2
%5 = tail call i32 @serial_read_pin() #2
%6 = tail call i32 @serial_delay() #2
%7 = tail call i32 @_delay_us(i32 noundef 1) #2
%8 = shl i32 %2, 2
%9 = shl i32 %5, 1
%10 = or i32 %8, %9
%11 = tail call i32 @serial_read_pin() #2
%12 = or i32 %11, %10
%13 = tail call i32 @serial_delay() #2
%14 = tail call i32 @_delay_us(i32 noundef 1) #2
%15 = tail call i32 @serial_read_pin() #2
%16 = tail call i32 @serial_delay() #2
%17 = tail call i32 @_delay_us(i32 noundef 1) #2
%18 = shl i32 %12, 2
%19 = shl i32 %15, 1
%20 = or i32 %18, %19
%21 = tail call i32 @serial_read_pin() #2
%22 = or i32 %21, %20
%23 = tail call i32 @serial_delay() #2
%24 = tail call i32 @_delay_us(i32 noundef 1) #2
%25 = tail call i32 @serial_read_pin() #2
%26 = tail call i32 @serial_delay() #2
%27 = tail call i32 @_delay_us(i32 noundef 1) #2
%28 = shl i32 %22, 2
%29 = shl i32 %25, 1
%30 = or i32 %28, %29
%31 = tail call i32 @serial_read_pin() #2
%32 = or i32 %31, %30
%33 = tail call i32 @serial_delay() #2
%34 = tail call i32 @_delay_us(i32 noundef 1) #2
%35 = shl i32 %32, 1
%36 = tail call i32 @serial_read_pin() #2
%37 = or i32 %36, %35
%38 = tail call i32 @serial_delay() #2
%39 = tail call i32 @_delay_us(i32 noundef 1) #2
ret i32 %37
}
declare i32 @serial_input(...) local_unnamed_addr #1
declare i32 @serial_read_pin(...) local_unnamed_addr #1
declare i32 @serial_delay(...) local_unnamed_addr #1
declare i32 @_delay_us(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)"}
| qmk_firmware_keyboards_deltasplit75_extr_serial.c_serial_read_byte |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_interrupt_wait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_interrupt_wait.c"
target datalayout = "e-m:e-p270:32:32-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 @onenand_interrupt_wait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @onenand_interrupt_wait(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @wait_for_completion(ptr noundef %3) #2
%5 = tail call i32 @onenand_wait(ptr noundef nonnull %0, i32 noundef %1) #2
ret i32 %5
}
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
declare i32 @onenand_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtd_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_interrupt_wait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/onenand/extr_onenand_base.c_onenand_interrupt_wait.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 @onenand_interrupt_wait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @onenand_interrupt_wait(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @wait_for_completion(ptr noundef %3) #2
%5 = tail call i32 @onenand_wait(ptr noundef nonnull %0, i32 noundef %1) #2
ret i32 %5
}
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
declare i32 @onenand_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtd_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_mtd_onenand_extr_onenand_base.c_onenand_interrupt_wait |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_overlay.c_intel_cleanup_overlay.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_overlay.c_intel_cleanup_overlay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @intel_cleanup_overlay(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = load ptr, ptr %2, align 8, !tbaa !10
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = tail call i32 @drm_gem_object_unreference_unlocked(ptr noundef %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !10
%13 = tail call i32 @kfree(ptr noundef %12) #2
br label %14
14: ; preds = %1, %5
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @drm_gem_object_unreference_unlocked(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_6__", !7, i64 0, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_overlay.c_intel_cleanup_overlay.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_overlay.c_intel_cleanup_overlay.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_cleanup_overlay(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = load ptr, ptr %2, align 8, !tbaa !11
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = tail call i32 @drm_gem_object_unreference_unlocked(ptr noundef %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !11
%13 = tail call i32 @kfree(ptr noundef %12) #2
br label %14
14: ; preds = %1, %5
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @drm_gem_object_unreference_unlocked(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"TYPE_6__", !8, i64 0, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !8, i64 0}
| fastsocket_kernel_drivers_gpu_drm_i915_extr_intel_overlay.c_intel_cleanup_overlay |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_query_ipassists_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_query_ipassists_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.qeth_card = type { ptr, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, i64, i32, i32 }
@SETUP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"qipasscb\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"ipaunsup\00", align 1
@IPA_SETADAPTERPARMS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"%s IPA_CMD_QIPASSIST: Unhandled rc=%d\0A\00", align 1
@QETH_PROT_IPV4 = dso_local local_unnamed_addr global i64 0, align 8
@QETH_PROT_IPV6 = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [43 x i8] c"%s IPA_CMD_QIPASSIST: Flawed LIC detected\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"suppenbl\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @qeth_query_ipassists_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @qeth_query_ipassists_cb(ptr nocapture noundef %0, ptr nocapture readnone %1, i64 noundef %2) #0 {
%4 = load i32, ptr @SETUP, align 4, !tbaa !5
%5 = tail call i32 @QETH_DBF_TEXT(i32 noundef %4, i32 noundef 2, ptr noundef nonnull @.str) #2
%6 = inttoptr i64 %2 to ptr
%7 = load i32, ptr %6, align 8, !tbaa !9
%8 = and i32 %7, -2
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load i32, ptr @SETUP, align 4, !tbaa !5
%12 = tail call i32 @QETH_DBF_TEXT(i32 noundef %11, i32 noundef 2, ptr noundef nonnull @.str.1) #2
%13 = load i32, ptr @IPA_SETADAPTERPARMS, align 4, !tbaa !5
%14 = getelementptr inbounds %struct.qeth_card, ptr %0, i64 0, i32 1, i32 1, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.qeth_card, ptr %0, i64 0, i32 1, i32 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = or i32 %18, %13
store i32 %19, ptr %17, align 4, !tbaa !19
br label %58
20: ; preds = %3
%21 = icmp eq i32 %7, 0
br i1 %21, label %27, label %22
22: ; preds = %20
%23 = load ptr, ptr %0, align 8, !tbaa !20
%24 = tail call i32 @dev_name(ptr noundef %23) #2
%25 = load i32, ptr %6, align 8, !tbaa !9
%26 = tail call i32 (i32, ptr, i32, ...) @QETH_DBF_MESSAGE(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %24, i32 noundef %25) #2
br label %58
27: ; preds = %20
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1
%29 = load i64, ptr %28, align 8, !tbaa !21
%30 = load i64, ptr @QETH_PROT_IPV4, align 8, !tbaa !22
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = getelementptr inbounds %struct.qeth_card, ptr %0, i64 0, i32 1, i32 1
%34 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 2
%35 = load <2 x i32>, ptr %34, align 8, !tbaa !5
store <2 x i32> %35, ptr %33, align 8, !tbaa !5
br label %47
36: ; preds = %27
%37 = load i64, ptr @QETH_PROT_IPV6, align 8, !tbaa !22
%38 = icmp eq i64 %29, %37
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = getelementptr inbounds %struct.qeth_card, ptr %0, i64 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 2
%42 = load <2 x i32>, ptr %41, align 8, !tbaa !5
store <2 x i32> %42, ptr %40, align 8, !tbaa !5
br label %47
43: ; preds = %36
%44 = load ptr, ptr %0, align 8, !tbaa !20
%45 = tail call i32 @dev_name(ptr noundef %44) #2
%46 = tail call i32 (i32, ptr, i32, ...) @QETH_DBF_MESSAGE(i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef %45) #2
br label %47
47: ; preds = %39, %43, %32
%48 = load i32, ptr @SETUP, align 4, !tbaa !5
%49 = tail call i32 @QETH_DBF_TEXT(i32 noundef %48, i32 noundef 2, ptr noundef nonnull @.str.4) #2
%50 = load i32, ptr @SETUP, align 4, !tbaa !5
%51 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 3
%52 = load i32, ptr %51, align 4, !tbaa !23
%53 = tail call i32 @QETH_DBF_TEXT_(i32 noundef %50, i32 noundef 2, ptr noundef nonnull @.str.5, i32 noundef %52) #2
%54 = load i32, ptr @SETUP, align 4, !tbaa !5
%55 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 2
%56 = load i32, ptr %55, align 8, !tbaa !24
%57 = tail call i32 @QETH_DBF_TEXT_(i32 noundef %54, i32 noundef 2, ptr noundef nonnull @.str.5, i32 noundef %56) #2
br label %58
58: ; preds = %47, %22, %10
ret i32 0
}
declare i32 @QETH_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @QETH_DBF_MESSAGE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @dev_name(ptr noundef) local_unnamed_addr #1
declare i32 @QETH_DBF_TEXT_(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"qeth_ipa_cmd", !11, i64 0}
!11 = !{!"TYPE_10__", !6, i64 0, !12, i64 8, !6, i64 16, !6, i64 20}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 20}
!14 = !{!"qeth_card", !15, i64 0, !16, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"TYPE_8__", !17, i64 0, !18, i64 8}
!17 = !{!"TYPE_7__", !6, i64 0, !6, i64 4}
!18 = !{!"TYPE_6__", !6, i64 0, !6, i64 4}
!19 = !{!14, !6, i64 12}
!20 = !{!14, !15, i64 0}
!21 = !{!10, !12, i64 8}
!22 = !{!12, !12, i64 0}
!23 = !{!10, !6, i64 20}
!24 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_query_ipassists_cb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_query_ipassists_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SETUP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"qipasscb\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"ipaunsup\00", align 1
@IPA_SETADAPTERPARMS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"%s IPA_CMD_QIPASSIST: Unhandled rc=%d\0A\00", align 1
@QETH_PROT_IPV4 = common local_unnamed_addr global i64 0, align 8
@QETH_PROT_IPV6 = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [43 x i8] c"%s IPA_CMD_QIPASSIST: Flawed LIC detected\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"suppenbl\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @qeth_query_ipassists_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @qeth_query_ipassists_cb(ptr nocapture noundef %0, ptr nocapture readnone %1, i64 noundef %2) #0 {
%4 = load i32, ptr @SETUP, align 4, !tbaa !6
%5 = tail call i32 @QETH_DBF_TEXT(i32 noundef %4, i32 noundef 2, ptr noundef nonnull @.str) #2
%6 = inttoptr i64 %2 to ptr
%7 = load i32, ptr %6, align 8, !tbaa !10
%8 = and i32 %7, -2
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %20
10: ; preds = %3
%11 = load i32, ptr @SETUP, align 4, !tbaa !6
%12 = tail call i32 @QETH_DBF_TEXT(i32 noundef %11, i32 noundef 2, ptr noundef nonnull @.str.1) #2
%13 = load i32, ptr @IPA_SETADAPTERPARMS, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %0, i64 20
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = or i32 %15, %13
store i32 %16, ptr %14, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %0, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !20
%19 = or i32 %18, %13
store i32 %19, ptr %17, align 4, !tbaa !20
br label %58
20: ; preds = %3
%21 = icmp eq i32 %7, 0
br i1 %21, label %27, label %22
22: ; preds = %20
%23 = load ptr, ptr %0, align 8, !tbaa !21
%24 = tail call i32 @dev_name(ptr noundef %23) #2
%25 = load i32, ptr %6, align 8, !tbaa !10
%26 = tail call i32 (i32, ptr, i32, ...) @QETH_DBF_MESSAGE(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %24, i32 noundef %25) #2
br label %58
27: ; preds = %20
%28 = getelementptr inbounds i8, ptr %6, i64 8
%29 = load i64, ptr %28, align 8, !tbaa !22
%30 = load i64, ptr @QETH_PROT_IPV4, align 8, !tbaa !23
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = getelementptr inbounds i8, ptr %0, i64 16
%34 = getelementptr inbounds i8, ptr %6, i64 16
%35 = load <2 x i32>, ptr %34, align 8, !tbaa !6
store <2 x i32> %35, ptr %33, align 8, !tbaa !6
br label %47
36: ; preds = %27
%37 = load i64, ptr @QETH_PROT_IPV6, align 8, !tbaa !23
%38 = icmp eq i64 %29, %37
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = getelementptr inbounds i8, ptr %0, i64 8
%41 = getelementptr inbounds i8, ptr %6, i64 16
%42 = load <2 x i32>, ptr %41, align 8, !tbaa !6
store <2 x i32> %42, ptr %40, align 8, !tbaa !6
br label %47
43: ; preds = %36
%44 = load ptr, ptr %0, align 8, !tbaa !21
%45 = tail call i32 @dev_name(ptr noundef %44) #2
%46 = tail call i32 (i32, ptr, i32, ...) @QETH_DBF_MESSAGE(i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef %45) #2
br label %47
47: ; preds = %39, %43, %32
%48 = load i32, ptr @SETUP, align 4, !tbaa !6
%49 = tail call i32 @QETH_DBF_TEXT(i32 noundef %48, i32 noundef 2, ptr noundef nonnull @.str.4) #2
%50 = load i32, ptr @SETUP, align 4, !tbaa !6
%51 = getelementptr inbounds i8, ptr %6, i64 20
%52 = load i32, ptr %51, align 4, !tbaa !24
%53 = tail call i32 @QETH_DBF_TEXT_(i32 noundef %50, i32 noundef 2, ptr noundef nonnull @.str.5, i32 noundef %52) #2
%54 = load i32, ptr @SETUP, align 4, !tbaa !6
%55 = getelementptr inbounds i8, ptr %6, i64 16
%56 = load i32, ptr %55, align 8, !tbaa !25
%57 = tail call i32 @QETH_DBF_TEXT_(i32 noundef %54, i32 noundef 2, ptr noundef nonnull @.str.5, i32 noundef %56) #2
br label %58
58: ; preds = %47, %22, %10
ret i32 0
}
declare i32 @QETH_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @QETH_DBF_MESSAGE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @dev_name(ptr noundef) local_unnamed_addr #1
declare i32 @QETH_DBF_TEXT_(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"qeth_ipa_cmd", !12, i64 0}
!12 = !{!"TYPE_10__", !7, i64 0, !13, i64 8, !7, i64 16, !7, i64 20}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 20}
!15 = !{!"qeth_card", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"TYPE_8__", !18, i64 0, !19, i64 8}
!18 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!19 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!20 = !{!15, !7, i64 12}
!21 = !{!15, !16, i64 0}
!22 = !{!11, !13, i64 8}
!23 = !{!13, !13, i64 0}
!24 = !{!11, !7, i64 20}
!25 = !{!11, !7, i64 16}
| fastsocket_kernel_drivers_s390_net_extr_qeth_core_main.c_qeth_query_ipassists_cb |
; ModuleID = 'AnghaBench/TDengine/deps/jni/windows/win32/bridge/extr_AccessBridgeCalls.c_setTextContents.c'
source_filename = "AnghaBench/TDengine/deps/jni/windows/win32/bridge/extr_AccessBridgeCalls.c_setTextContents.c"
target datalayout = "e-m:e-p270:32:32-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 }
@theAccessBridgeInitializedFlag = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@theAccessBridge = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @setTextContents(i64 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr @theAccessBridgeInitializedFlag, align 8, !tbaa !5
%5 = load i64, ptr @TRUE, align 8, !tbaa !5
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load ptr, ptr @theAccessBridge, align 8, !tbaa !9
%9 = tail call i32 %8(i64 noundef %0, i32 noundef %1, ptr noundef %2) #1
br label %12
10: ; preds = %3
%11 = load i32, ptr @FALSE, align 4, !tbaa !12
br label %12
12: ; preds = %10, %7
%13 = phi i32 [ %9, %7 ], [ %11, %10 ]
ret i32 %13
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/TDengine/deps/jni/windows/win32/bridge/extr_AccessBridgeCalls.c_setTextContents.c'
source_filename = "AnghaBench/TDengine/deps/jni/windows/win32/bridge/extr_AccessBridgeCalls.c_setTextContents.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 }
@theAccessBridgeInitializedFlag = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i64 0, align 8
@theAccessBridge = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @setTextContents(i64 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i64, ptr @theAccessBridgeInitializedFlag, align 8, !tbaa !6
%5 = load i64, ptr @TRUE, align 8, !tbaa !6
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load ptr, ptr @theAccessBridge, align 8, !tbaa !10
%9 = tail call i32 %8(i64 noundef %0, i32 noundef %1, ptr noundef %2) #1
br label %12
10: ; preds = %3
%11 = load i32, ptr @FALSE, align 4, !tbaa !13
br label %12
12: ; preds = %10, %7
%13 = phi i32 [ %9, %7 ], [ %11, %10 ]
ret i32 %13
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| TDengine_deps_jni_windows_win32_bridge_extr_AccessBridgeCalls.c_setTextContents |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_is_ipv6.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_is_ipv6.c"
target datalayout = "e-m:e-p270:32:32-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.mlx5dr_match_param = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i64 }
%struct.TYPE_3__ = type { i32, i64 }
@ETH_P_IPV6 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dr_rule_is_ipv6], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @dr_rule_is_ipv6(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 6
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = icmp eq i32 %6, 6
br i1 %7, label %18, label %8
8: ; preds = %5
%9 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %0, i64 0, i32 1, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = load i64, ptr @ETH_P_IPV6, align 8, !tbaa !15
%12 = icmp eq i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %8
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = icmp eq i64 %15, %11
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %8, %5, %1
%19 = phi i32 [ 1, %8 ], [ 1, %5 ], [ 1, %1 ], [ %17, %13 ]
ret i32 %19
}
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, !8, i64 16}
!6 = !{!"mlx5dr_match_param", !7, i64 0, !12, i64 16}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!13 = !{!6, !8, i64 0}
!14 = !{!6, !11, i64 24}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_is_ipv6.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_is_ipv6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_P_IPV6 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dr_rule_is_ipv6], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @dr_rule_is_ipv6(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 6
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = icmp eq i32 %6, 6
br i1 %7, label %18, label %8
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = load i64, ptr @ETH_P_IPV6, align 8, !tbaa !16
%12 = icmp eq i64 %10, %11
br i1 %12, label %18, label %13
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = icmp eq i64 %15, %11
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %8, %5, %1
%19 = phi i32 [ 1, %8 ], [ 1, %5 ], [ 1, %1 ], [ %17, %13 ]
ret i32 %19
}
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, !9, i64 16}
!7 = !{!"mlx5dr_match_param", !8, i64 0, !13, i64 16}
!8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"TYPE_3__", !9, i64 0, !12, i64 8}
!14 = !{!7, !9, i64 0}
!15 = !{!7, !12, i64 24}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 8}
| linux_drivers_net_ethernet_mellanox_mlx5_core_steering_extr_dr_rule.c_dr_rule_is_ipv6 |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_low_level.c_read_id_part.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_low_level.c_read_id_part.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_ERR_FS_CORRUPT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Missing %s field in node-rev\00", align 1
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_id_part], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @read_id_part(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @svn_hash_gets(ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @SVN_ERR_FS_CORRUPT, align 4, !tbaa !5
%8 = tail call i32 @_(ptr noundef nonnull @.str) #2
%9 = tail call ptr @svn_error_createf(i32 noundef %7, ptr noundef null, i32 noundef %8, ptr noundef %2) #2
br label %14
10: ; preds = %3
%11 = tail call i32 @svn_fs_x__id_parse(ptr noundef %0, ptr noundef nonnull %4) #2
%12 = tail call i32 @SVN_ERR(i32 noundef %11) #2
%13 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !9
br label %14
14: ; preds = %10, %6
%15 = phi ptr [ %9, %6 ], [ %13, %10 ]
ret ptr %15
}
declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__id_parse(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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_low_level.c_read_id_part.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_low_level.c_read_id_part.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_ERR_FS_CORRUPT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Missing %s field in node-rev\00", align 1
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @read_id_part], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @read_id_part(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @svn_hash_gets(ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @SVN_ERR_FS_CORRUPT, align 4, !tbaa !6
%8 = tail call i32 @_(ptr noundef nonnull @.str) #2
%9 = tail call ptr @svn_error_createf(i32 noundef %7, ptr noundef null, i32 noundef %8, ptr noundef %2) #2
br label %14
10: ; preds = %3
%11 = tail call i32 @svn_fs_x__id_parse(ptr noundef %0, ptr noundef nonnull %4) #2
%12 = tail call i32 @SVN_ERR(i32 noundef %11) #2
%13 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
br label %14
14: ; preds = %10, %6
%15 = phi ptr [ %9, %6 ], [ %13, %10 ]
ret ptr %15
}
declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__id_parse(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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_low_level.c_read_id_part |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_ip22zilog.c_ip22zilog_start_tx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_ip22zilog.c_ip22zilog_start_tx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.uart_ip22zilog_port = type { i32, i32 }
%struct.zilog_channel = type { i32, i32 }
%struct.uart_port = type { %struct.TYPE_4__, ptr, i64 }
%struct.TYPE_4__ = type { i32 }
%struct.circ_buf = type { i64, ptr }
@IP22ZILOG_FLAG_TX_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@IP22ZILOG_FLAG_TX_STOPPED = dso_local local_unnamed_addr global i32 0, align 4
@Tx_BUF_EMP = dso_local local_unnamed_addr global i8 0, align 1
@UART_XMIT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@WAKEUP_CHARS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ip22zilog_start_tx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ip22zilog_start_tx(ptr noundef %0) #0 {
%2 = tail call ptr @ZILOG_CHANNEL_FROM_PORT(ptr noundef %0) #2
%3 = load i32, ptr @IP22ZILOG_FLAG_TX_ACTIVE, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.uart_ip22zilog_port, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = or i32 %5, %3
%7 = load i32, ptr @IP22ZILOG_FLAG_TX_STOPPED, align 4, !tbaa !5
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
store i32 %9, ptr %4, align 4, !tbaa !9
%10 = getelementptr inbounds %struct.zilog_channel, ptr %2, i64 0, i32 1
%11 = tail call zeroext i8 @readb(ptr noundef nonnull %10) #2
%12 = tail call i32 (...) @ZSDELAY() #2
%13 = load i8, ptr @Tx_BUF_EMP, align 1, !tbaa !11
%14 = and i8 %13, %11
%15 = icmp eq i8 %14, 0
br i1 %15, label %50, label %16
16: ; preds = %1
%17 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !12
%19 = icmp eq i64 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %16
%21 = tail call i32 @writeb(i64 noundef %18, ptr noundef %2) #2
%22 = tail call i32 (...) @ZSDELAY() #2
%23 = tail call i32 @ZS_WSYNC(ptr noundef %2) #2
%24 = load i32, ptr %0, align 8, !tbaa !17
%25 = add nsw i32 %24, 1
store i32 %25, ptr %0, align 8, !tbaa !17
store i64 0, ptr %17, align 8, !tbaa !12
br label %50
26: ; preds = %16
%27 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = getelementptr inbounds %struct.circ_buf, ptr %28, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !19
%31 = load i64, ptr %28, align 8, !tbaa !21
%32 = getelementptr inbounds i64, ptr %30, i64 %31
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = tail call i32 @writeb(i64 noundef %33, ptr noundef %2) #2
%35 = tail call i32 (...) @ZSDELAY() #2
%36 = tail call i32 @ZS_WSYNC(ptr noundef %2) #2
%37 = load i64, ptr %28, align 8, !tbaa !21
%38 = add i64 %37, 1
%39 = load i32, ptr @UART_XMIT_SIZE, align 4, !tbaa !5
%40 = add nsw i32 %39, -1
%41 = sext i32 %40 to i64
%42 = and i64 %38, %41
store i64 %42, ptr %28, align 8, !tbaa !21
%43 = load i32, ptr %0, align 8, !tbaa !17
%44 = add nsw i32 %43, 1
store i32 %44, ptr %0, align 8, !tbaa !17
%45 = tail call i64 @uart_circ_chars_pending(ptr noundef nonnull %28) #2
%46 = load i64, ptr @WAKEUP_CHARS, align 8, !tbaa !22
%47 = icmp slt i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %26
%49 = tail call i32 @uart_write_wakeup(ptr noundef nonnull %0) #2
br label %50
50: ; preds = %20, %48, %26, %1
ret void
}
declare ptr @ZILOG_CHANNEL_FROM_PORT(ptr noundef) local_unnamed_addr #1
declare zeroext i8 @readb(ptr noundef) local_unnamed_addr #1
declare i32 @ZSDELAY(...) local_unnamed_addr #1
declare i32 @writeb(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ZS_WSYNC(ptr noundef) local_unnamed_addr #1
declare i64 @uart_circ_chars_pending(ptr noundef) local_unnamed_addr #1
declare i32 @uart_write_wakeup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"uart_ip22zilog_port", !6, i64 0, !6, i64 4}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !16, i64 16}
!13 = !{!"uart_port", !14, i64 0, !15, i64 8, !16, i64 16}
!14 = !{!"TYPE_4__", !6, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!13, !6, i64 0}
!18 = !{!13, !15, i64 8}
!19 = !{!20, !15, i64 8}
!20 = !{!"circ_buf", !16, i64 0, !15, i64 8}
!21 = !{!20, !16, i64 0}
!22 = !{!16, !16, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_ip22zilog.c_ip22zilog_start_tx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_ip22zilog.c_ip22zilog_start_tx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IP22ZILOG_FLAG_TX_ACTIVE = common local_unnamed_addr global i32 0, align 4
@IP22ZILOG_FLAG_TX_STOPPED = common local_unnamed_addr global i32 0, align 4
@Tx_BUF_EMP = common local_unnamed_addr global i8 0, align 1
@UART_XMIT_SIZE = common local_unnamed_addr global i32 0, align 4
@WAKEUP_CHARS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ip22zilog_start_tx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ip22zilog_start_tx(ptr noundef %0) #0 {
%2 = tail call ptr @ZILOG_CHANNEL_FROM_PORT(ptr noundef %0) #2
%3 = load i32, ptr @IP22ZILOG_FLAG_TX_ACTIVE, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = or i32 %5, %3
%7 = load i32, ptr @IP22ZILOG_FLAG_TX_STOPPED, align 4, !tbaa !6
%8 = xor i32 %7, -1
%9 = and i32 %6, %8
store i32 %9, ptr %4, align 4, !tbaa !10
%10 = getelementptr inbounds i8, ptr %2, i64 4
%11 = tail call zeroext i8 @readb(ptr noundef nonnull %10) #2
%12 = tail call i32 @ZSDELAY() #2
%13 = load i8, ptr @Tx_BUF_EMP, align 1, !tbaa !12
%14 = and i8 %13, %11
%15 = icmp eq i8 %14, 0
br i1 %15, label %50, label %16
16: ; preds = %1
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = icmp eq i64 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %16
%21 = tail call i32 @writeb(i64 noundef %18, ptr noundef %2) #2
%22 = tail call i32 @ZSDELAY() #2
%23 = tail call i32 @ZS_WSYNC(ptr noundef %2) #2
%24 = load i32, ptr %0, align 8, !tbaa !18
%25 = add nsw i32 %24, 1
store i32 %25, ptr %0, align 8, !tbaa !18
store i64 0, ptr %17, align 8, !tbaa !13
br label %50
26: ; preds = %16
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !19
%29 = getelementptr inbounds i8, ptr %28, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = load i64, ptr %28, align 8, !tbaa !22
%32 = getelementptr inbounds i64, ptr %30, i64 %31
%33 = load i64, ptr %32, align 8, !tbaa !23
%34 = tail call i32 @writeb(i64 noundef %33, ptr noundef %2) #2
%35 = tail call i32 @ZSDELAY() #2
%36 = tail call i32 @ZS_WSYNC(ptr noundef %2) #2
%37 = load i64, ptr %28, align 8, !tbaa !22
%38 = add i64 %37, 1
%39 = load i32, ptr @UART_XMIT_SIZE, align 4, !tbaa !6
%40 = add nsw i32 %39, -1
%41 = sext i32 %40 to i64
%42 = and i64 %38, %41
store i64 %42, ptr %28, align 8, !tbaa !22
%43 = load i32, ptr %0, align 8, !tbaa !18
%44 = add nsw i32 %43, 1
store i32 %44, ptr %0, align 8, !tbaa !18
%45 = tail call i64 @uart_circ_chars_pending(ptr noundef nonnull %28) #2
%46 = load i64, ptr @WAKEUP_CHARS, align 8, !tbaa !23
%47 = icmp slt i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %26
%49 = tail call i32 @uart_write_wakeup(ptr noundef nonnull %0) #2
br label %50
50: ; preds = %20, %48, %26, %1
ret void
}
declare ptr @ZILOG_CHANNEL_FROM_PORT(ptr noundef) local_unnamed_addr #1
declare zeroext i8 @readb(ptr noundef) local_unnamed_addr #1
declare i32 @ZSDELAY(...) local_unnamed_addr #1
declare i32 @writeb(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ZS_WSYNC(ptr noundef) local_unnamed_addr #1
declare i64 @uart_circ_chars_pending(ptr noundef) local_unnamed_addr #1
declare i32 @uart_write_wakeup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"uart_ip22zilog_port", !7, i64 0, !7, i64 4}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !17, i64 16}
!14 = !{!"uart_port", !15, i64 0, !16, i64 8, !17, i64 16}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!14, !7, i64 0}
!19 = !{!14, !16, i64 8}
!20 = !{!21, !16, i64 8}
!21 = !{!"circ_buf", !17, i64 0, !16, i64 8}
!22 = !{!21, !17, i64 0}
!23 = !{!17, !17, i64 0}
| fastsocket_kernel_drivers_serial_extr_ip22zilog.c_ip22zilog_start_tx |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/bcma/extr_bcma_erom.c_bcma_erom_free_core_table.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/bcma/extr_bcma_erom.c_bcma_erom_free_core_table.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M_BHND = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcma_erom_free_core_table], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bcma_erom_free_core_table(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @M_BHND, align 4, !tbaa !5
%4 = tail call i32 @free(ptr noundef %1, i32 noundef %3) #2
ret void
}
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/bcma/extr_bcma_erom.c_bcma_erom_free_core_table.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/bcma/extr_bcma_erom.c_bcma_erom_free_core_table.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_BHND = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bcma_erom_free_core_table], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bcma_erom_free_core_table(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @M_BHND, align 4, !tbaa !6
%4 = tail call i32 @free(ptr noundef %1, i32 noundef %3) #2
ret void
}
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_bhnd_bcma_extr_bcma_erom.c_bcma_erom_free_core_table |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/oprofile/extr_backtrace.c_avr32_backtrace.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/oprofile/extr_backtrace.c_avr32_backtrace.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@current = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @avr32_backtrace(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @user_mode(ptr noundef nonnull %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %20, label %6
6: ; preds = %2
%7 = icmp ne i32 %1, 0
%8 = icmp ne i64 %3, 0
%9 = select i1 %7, i1 %8, i1 false
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = inttoptr i64 %3 to ptr
br label %12
12: ; preds = %10, %12
%13 = phi ptr [ %16, %12 ], [ %11, %10 ]
%14 = phi i32 [ %15, %12 ], [ %1, %10 ]
%15 = add i32 %14, -1
%16 = tail call ptr @dump_user_backtrace(ptr noundef nonnull %13) #2
%17 = icmp ne i32 %15, 0
%18 = icmp ne ptr %16, null
%19 = select i1 %17, i1 %18, i1 false
br i1 %19, label %12, label %20, !llvm.loop !10
20: ; preds = %12, %6, %2
ret void
}
declare i32 @user_mode(ptr noundef) local_unnamed_addr #1
declare ptr @dump_user_backtrace(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/oprofile/extr_backtrace.c_avr32_backtrace.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/oprofile/extr_backtrace.c_avr32_backtrace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @avr32_backtrace(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @user_mode(ptr noundef nonnull %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %20, label %6
6: ; preds = %2
%7 = icmp ne i32 %1, 0
%8 = icmp ne i64 %3, 0
%9 = select i1 %7, i1 %8, i1 false
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = inttoptr i64 %3 to ptr
br label %12
12: ; preds = %10, %12
%13 = phi ptr [ %16, %12 ], [ %11, %10 ]
%14 = phi i32 [ %15, %12 ], [ %1, %10 ]
%15 = add i32 %14, -1
%16 = tail call ptr @dump_user_backtrace(ptr noundef nonnull %13) #2
%17 = icmp ne i32 %15, 0
%18 = icmp ne ptr %16, null
%19 = select i1 %17, i1 %18, i1 false
br i1 %19, label %12, label %20, !llvm.loop !11
20: ; preds = %12, %6, %2
ret void
}
declare i32 @user_mode(ptr noundef) local_unnamed_addr #1
declare ptr @dump_user_backtrace(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 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_avr32_oprofile_extr_backtrace.c_avr32_backtrace |
; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_value_code.c'
source_filename = "AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_value_code.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { ptr, ptr, i64 }
%struct.TYPE_9__ = type { i64, i32 }
%struct.TYPE_11__ = type { ptr, i32 }
@NGX_LOG_DEBUG_HTTP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"http script value: \22%v\22\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ngx_http_script_value_code(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = add i64 %3, 16
store i64 %5, ptr %2, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %0, align 8, !tbaa !14
%9 = getelementptr inbounds %struct.TYPE_11__, ptr %8, i64 0, i32 1
store i32 %7, ptr %9, align 8, !tbaa !15
%10 = load i64, ptr %4, align 8, !tbaa !17
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %8, align 8, !tbaa !18
%12 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !19
%13 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !20
%15 = load ptr, ptr %14, align 8, !tbaa !21
%16 = load i32, ptr %15, align 4, !tbaa !23
%17 = tail call i32 @ngx_log_debug1(i32 noundef %12, i32 noundef %16, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %8) #2
%18 = load ptr, ptr %0, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_11__, ptr %18, i64 1
store ptr %19, ptr %0, align 8, !tbaa !14
ret void
}
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_9__", !10, i64 0, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !13, i64 8}
!16 = !{!"TYPE_11__", !7, i64 0, !13, i64 8}
!17 = !{!12, !10, i64 0}
!18 = !{!16, !7, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!6, !7, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_8__", !7, i64 0}
!23 = !{!24, !13, i64 0}
!24 = !{!"TYPE_7__", !13, i64 0}
| ; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_value_code.c'
source_filename = "AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_value_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_LOG_DEBUG_HTTP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"http script value: \22%v\22\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ngx_http_script_value_code(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = add i64 %3, 16
store i64 %5, ptr %2, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %4, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %0, align 8, !tbaa !15
%9 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %7, ptr %9, align 8, !tbaa !16
%10 = load i64, ptr %4, align 8, !tbaa !18
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %8, align 8, !tbaa !19
%12 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !20
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !21
%15 = load ptr, ptr %14, align 8, !tbaa !22
%16 = load i32, ptr %15, align 4, !tbaa !24
%17 = tail call i32 @ngx_log_debug1(i32 noundef %12, i32 noundef %16, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %8) #2
%18 = load ptr, ptr %0, align 8, !tbaa !15
%19 = getelementptr inbounds i8, ptr %18, i64 16
store ptr %19, ptr %0, align 8, !tbaa !15
ret void
}
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_9__", !11, i64 0, !14, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !14, i64 8}
!17 = !{!"TYPE_11__", !8, i64 0, !14, i64 8}
!18 = !{!13, !11, i64 0}
!19 = !{!17, !8, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!7, !8, i64 8}
!22 = !{!23, !8, i64 0}
!23 = !{!"TYPE_8__", !8, i64 0}
!24 = !{!25, !14, i64 0}
!25 = !{!"TYPE_7__", !14, i64 0}
| nginx_src_http_extr_ngx_http_script.c_ngx_http_script_value_code |
; ModuleID = 'AnghaBench/php-src/ext/pdo_pgsql/extr_pgsql_statement.c_pgsql_stmt_param_hook.c'
source_filename = "AnghaBench/php-src/ext/pdo_pgsql/extr_pgsql_statement.c_pgsql_stmt_param_hook.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i64, i32, i32, i64 }
%struct.pdo_bound_param_data = type { i64, i32, i32, i64, ptr, i32 }
%struct.TYPE_14__ = type { ptr, ptr, ptr, ptr }
@PDO_PLACEHOLDER_NAMED = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"HY093\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"parameter was not defined\00", align 1
@PDO_PARAM_LOB = dso_local local_unnamed_addr global i64 0, align 8
@IS_RESOURCE = dso_local local_unnamed_addr global i32 0, align 4
@pdo_pgsql_lob_stream_ops = dso_local local_unnamed_addr global i32 0, align 4
@OIDOID = dso_local local_unnamed_addr global i32 0, align 4
@PHP_STREAM_COPY_ALL = dso_local local_unnamed_addr global i32 0, align 4
@PGRES_FATAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@PDO_PARAM_NULL = dso_local local_unnamed_addr global i64 0, align 8
@IS_NULL = dso_local local_unnamed_addr global i32 0, align 4
@IS_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@IS_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"t\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"f\00", align 1
@PDO_PARAM_BOOL = dso_local local_unnamed_addr global i64 0, align 8
@PDO_PARAM_INPUT_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@PDO_PARAM_STR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pgsql_stmt_param_hook], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pgsql_stmt_param_hook(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
%7 = load i64, ptr %0, align 8, !tbaa !11
%8 = load i64, ptr @PDO_PLACEHOLDER_NAMED, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
%10 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 3
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %9, label %13, label %173
13: ; preds = %3
br i1 %12, label %193, label %14
14: ; preds = %13
switch i32 %2, label %193 [
i32 129, label %15
i32 128, label %21
i32 134, label %55
i32 132, label %67
]
15: ; preds = %14
%16 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 4
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = icmp eq ptr %17, null
br i1 %18, label %193, label %19
19: ; preds = %15
%20 = tail call i32 @efree(ptr noundef nonnull %17) #2
br label %193
21: ; preds = %14
%22 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 5
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = icmp eq i32 %23, 0
br i1 %24, label %193, label %25
25: ; preds = %21
%26 = tail call ptr @ZSTR_VAL(i32 noundef %23) #2
%27 = load i8, ptr %26, align 1, !tbaa !18
%28 = icmp eq i8 %27, 36
br i1 %28, label %29, label %35
29: ; preds = %25
%30 = load i64, ptr %1, align 8, !tbaa !19
%31 = load i32, ptr %22, align 8, !tbaa !17
%32 = tail call ptr @ZSTR_VAL(i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = tail call i32 @ZEND_ATOL(i64 noundef %30, ptr noundef nonnull %33) #2
br label %193
35: ; preds = %25
%36 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%37 = load i32, ptr %36, align 8, !tbaa !20
%38 = icmp eq i32 %37, 0
br i1 %38, label %49, label %39
39: ; preds = %35
%40 = load i32, ptr %22, align 8, !tbaa !17
%41 = tail call ptr @zend_hash_find_ptr(i32 noundef %37, i32 noundef %40) #2
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %39
%44 = load i64, ptr %1, align 8, !tbaa !19
%45 = getelementptr inbounds i8, ptr %41, i64 1
%46 = tail call i32 @ZEND_ATOL(i64 noundef %44, ptr noundef nonnull %45) #2
%47 = load i64, ptr %1, align 8, !tbaa !19
%48 = add i64 %47, -1
store i64 %48, ptr %1, align 8, !tbaa !19
br label %193
49: ; preds = %39, %35
%50 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%51 = load i32, ptr %50, align 4, !tbaa !21
%52 = load i32, ptr %22, align 8, !tbaa !17
%53 = tail call ptr @ZSTR_VAL(i32 noundef %52) #2
%54 = tail call i32 @pdo_raise_impl_error(i32 noundef %51, ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef %53) #2
br label %193
55: ; preds = %14
%56 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%57 = load i32, ptr %56, align 8, !tbaa !20
%58 = icmp eq i32 %57, 0
br i1 %58, label %193, label %59
59: ; preds = %55
%60 = load i64, ptr %1, align 8, !tbaa !19
%61 = tail call i32 @zend_hash_index_exists(i32 noundef %57, i64 noundef %60) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %193
63: ; preds = %59
%64 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%65 = load i32, ptr %64, align 4, !tbaa !21
%66 = tail call i32 @pdo_raise_impl_error(i32 noundef %65, ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
br label %193
67: ; preds = %14
%68 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%69 = load i32, ptr %68, align 8, !tbaa !20
%70 = icmp eq i32 %69, 0
br i1 %70, label %193, label %71
71: ; preds = %67
%72 = load ptr, ptr %6, align 8, !tbaa !22
%73 = icmp eq ptr %72, null
br i1 %73, label %74, label %89
74: ; preds = %71
%75 = tail call i32 @zend_hash_num_elements(i32 noundef %69) #2
%76 = tail call ptr @ecalloc(i32 noundef %75, i32 noundef 8) #2
store ptr %76, ptr %6, align 8, !tbaa !22
%77 = load i32, ptr %68, align 8, !tbaa !20
%78 = tail call i32 @zend_hash_num_elements(i32 noundef %77) #2
%79 = tail call ptr @ecalloc(i32 noundef %78, i32 noundef 4) #2
%80 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 1
store ptr %79, ptr %80, align 8, !tbaa !24
%81 = load i32, ptr %68, align 8, !tbaa !20
%82 = tail call i32 @zend_hash_num_elements(i32 noundef %81) #2
%83 = tail call ptr @ecalloc(i32 noundef %82, i32 noundef 4) #2
%84 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 2
store ptr %83, ptr %84, align 8, !tbaa !25
%85 = load i32, ptr %68, align 8, !tbaa !20
%86 = tail call i32 @zend_hash_num_elements(i32 noundef %85) #2
%87 = tail call ptr @ecalloc(i32 noundef %86, i32 noundef 4) #2
%88 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 3
store ptr %87, ptr %88, align 8, !tbaa !26
br label %89
89: ; preds = %71, %74
%90 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 2
%91 = load i32, ptr %90, align 4, !tbaa !27
%92 = tail call i32 @Z_ISREF(i32 noundef %91) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %97, label %94
94: ; preds = %89
%95 = load i32, ptr %90, align 4, !tbaa !27
%96 = tail call ptr @Z_REFVAL(i32 noundef %95) #2
br label %97
97: ; preds = %89, %94
%98 = phi ptr [ %96, %94 ], [ %90, %89 ]
%99 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 1
%100 = load i32, ptr %99, align 8, !tbaa !28
%101 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %100) #2
%102 = load i64, ptr @PDO_PARAM_LOB, align 8, !tbaa !12
%103 = icmp eq i64 %101, %102
br i1 %103, label %104, label %110
104: ; preds = %97
%105 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%106 = load i32, ptr @IS_RESOURCE, align 4, !tbaa !29
%107 = icmp eq i32 %105, %106
br i1 %107, label %108, label %110
108: ; preds = %104
%109 = tail call i32 @php_stream_from_zval_no_verify(ptr noundef undef, ptr noundef %98) #2
unreachable
110: ; preds = %104, %97
%111 = load i32, ptr %99, align 8, !tbaa !28
%112 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %111) #2
%113 = load i64, ptr @PDO_PARAM_NULL, align 8, !tbaa !12
%114 = icmp eq i64 %112, %113
br i1 %114, label %119, label %115
115: ; preds = %110
%116 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%117 = load i32, ptr @IS_NULL, align 4, !tbaa !29
%118 = icmp eq i32 %116, %117
br i1 %118, label %119, label %124
119: ; preds = %115, %110
%120 = load ptr, ptr %6, align 8, !tbaa !22
%121 = load i64, ptr %1, align 8, !tbaa !19
%122 = getelementptr inbounds ptr, ptr %120, i64 %121
store ptr null, ptr %122, align 8, !tbaa !30
%123 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 1
br label %156
124: ; preds = %115
%125 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%126 = load i32, ptr @IS_FALSE, align 4, !tbaa !29
%127 = icmp eq i32 %125, %126
br i1 %127, label %132, label %128
128: ; preds = %124
%129 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%130 = load i32, ptr @IS_TRUE, align 4, !tbaa !29
%131 = icmp eq i32 %129, %130
br i1 %131, label %132, label %144
132: ; preds = %128, %124
%133 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%134 = load i32, ptr @IS_TRUE, align 4, !tbaa !29
%135 = icmp eq i32 %133, %134
%136 = select i1 %135, ptr @.str.3, ptr @.str.4
%137 = load ptr, ptr %6, align 8, !tbaa !22
%138 = load i64, ptr %1, align 8, !tbaa !19
%139 = getelementptr inbounds ptr, ptr %137, i64 %138
store ptr %136, ptr %139, align 8, !tbaa !30
%140 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 1
%141 = load ptr, ptr %140, align 8, !tbaa !24
%142 = getelementptr inbounds i32, ptr %141, i64 %138
store i32 1, ptr %142, align 4, !tbaa !29
%143 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 2
br label %156
144: ; preds = %128
%145 = tail call i32 @convert_to_string_ex(ptr noundef %98) #2
%146 = tail call ptr @Z_STRVAL_P(ptr noundef %98) #2
%147 = load ptr, ptr %6, align 8, !tbaa !22
%148 = load i64, ptr %1, align 8, !tbaa !19
%149 = getelementptr inbounds ptr, ptr %147, i64 %148
store ptr %146, ptr %149, align 8, !tbaa !30
%150 = tail call i32 @Z_STRLEN_P(ptr noundef %98) #2
%151 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 1
%152 = load ptr, ptr %151, align 8, !tbaa !24
%153 = load i64, ptr %1, align 8, !tbaa !19
%154 = getelementptr inbounds i32, ptr %152, i64 %153
store i32 %150, ptr %154, align 4, !tbaa !29
%155 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 2
br label %156
156: ; preds = %132, %144, %119
%157 = phi ptr [ %143, %132 ], [ %155, %144 ], [ %123, %119 ]
%158 = phi i64 [ %138, %132 ], [ %153, %144 ], [ %121, %119 ]
%159 = load ptr, ptr %157, align 8, !tbaa !30
%160 = getelementptr inbounds i32, ptr %159, i64 %158
store i32 0, ptr %160, align 4, !tbaa !29
%161 = load i32, ptr %99, align 8, !tbaa !28
%162 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %161) #2
%163 = load i64, ptr @PDO_PARAM_LOB, align 8, !tbaa !12
%164 = icmp eq i64 %162, %163
%165 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 3
%166 = load ptr, ptr %165, align 8, !tbaa !26
%167 = load i64, ptr %1, align 8, !tbaa !19
%168 = getelementptr inbounds i32, ptr %166, i64 %167
store i32 0, ptr %168, align 4, !tbaa !29
br i1 %164, label %169, label %193
169: ; preds = %156
%170 = getelementptr inbounds %struct.TYPE_14__, ptr %6, i64 0, i32 2
%171 = load ptr, ptr %170, align 8, !tbaa !25
%172 = getelementptr inbounds i32, ptr %171, i64 %167
store i32 1, ptr %172, align 4, !tbaa !29
br label %193
173: ; preds = %3
br i1 %12, label %193, label %174
174: ; preds = %173
%175 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 1
%176 = load i32, ptr %175, align 8, !tbaa !28
%177 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %176) #2
%178 = load i64, ptr @PDO_PARAM_BOOL, align 8, !tbaa !12
%179 = icmp eq i64 %177, %178
br i1 %179, label %180, label %193
180: ; preds = %174
%181 = load i32, ptr %175, align 8, !tbaa !28
%182 = load i32, ptr @PDO_PARAM_INPUT_OUTPUT, align 4, !tbaa !29
%183 = and i32 %182, %181
%184 = icmp eq i32 %183, %182
br i1 %184, label %193, label %185
185: ; preds = %180
%186 = getelementptr inbounds %struct.pdo_bound_param_data, ptr %1, i64 0, i32 2
%187 = tail call i64 @zend_is_true(ptr noundef nonnull %186) #2
%188 = icmp eq i64 %187, 0
%189 = select i1 %188, ptr @.str.4, ptr @.str.3
%190 = load i32, ptr @PDO_PARAM_STR, align 4, !tbaa !29
store i32 %190, ptr %175, align 8, !tbaa !28
%191 = tail call i32 @zval_ptr_dtor(ptr noundef nonnull %186) #2
%192 = tail call i32 @ZVAL_STRINGL(ptr noundef nonnull %186, ptr noundef nonnull %189, i32 noundef 1) #2
br label %193
193: ; preds = %156, %13, %21, %29, %15, %19, %14, %174, %180, %185, %173, %43, %169, %67, %59, %55, %49, %63
%194 = phi i32 [ 0, %63 ], [ 0, %49 ], [ 1, %55 ], [ 1, %59 ], [ 1, %67 ], [ 1, %169 ], [ 1, %43 ], [ 1, %173 ], [ 1, %185 ], [ 1, %180 ], [ 1, %174 ], [ 1, %14 ], [ 1, %19 ], [ 1, %15 ], [ 1, %29 ], [ 1, %21 ], [ 1, %13 ], [ 1, %156 ]
ret i32 %194
}
declare i32 @efree(ptr noundef) local_unnamed_addr #1
declare ptr @ZSTR_VAL(i32 noundef) local_unnamed_addr #1
declare i32 @ZEND_ATOL(i64 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zend_hash_find_ptr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pdo_raise_impl_error(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zend_hash_index_exists(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @ecalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @zend_hash_num_elements(i32 noundef) local_unnamed_addr #1
declare i32 @Z_ISREF(i32 noundef) local_unnamed_addr #1
declare ptr @Z_REFVAL(i32 noundef) local_unnamed_addr #1
declare i64 @PDO_PARAM_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_stream_from_zval_no_verify(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @convert_to_string_ex(ptr noundef) local_unnamed_addr #1
declare ptr @Z_STRVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRLEN_P(ptr noundef) local_unnamed_addr #1
declare i64 @zend_is_true(ptr noundef) local_unnamed_addr #1
declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #1
declare i32 @ZVAL_STRINGL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_13__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"pdo_bound_param_data", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !15, i64 24, !10, i64 32}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !15, i64 24}
!17 = !{!14, !10, i64 32}
!18 = !{!8, !8, i64 0}
!19 = !{!14, !7, i64 0}
!20 = !{!6, !10, i64 8}
!21 = !{!6, !10, i64 12}
!22 = !{!23, !15, i64 0}
!23 = !{!"TYPE_14__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!24 = !{!23, !15, i64 8}
!25 = !{!23, !15, i64 16}
!26 = !{!23, !15, i64 24}
!27 = !{!14, !10, i64 12}
!28 = !{!14, !10, i64 8}
!29 = !{!10, !10, i64 0}
!30 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/pdo_pgsql/extr_pgsql_statement.c_pgsql_stmt_param_hook.c'
source_filename = "AnghaBench/php-src/ext/pdo_pgsql/extr_pgsql_statement.c_pgsql_stmt_param_hook.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PDO_PLACEHOLDER_NAMED = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"HY093\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"parameter was not defined\00", align 1
@PDO_PARAM_LOB = common local_unnamed_addr global i64 0, align 8
@IS_RESOURCE = common local_unnamed_addr global i32 0, align 4
@pdo_pgsql_lob_stream_ops = common local_unnamed_addr global i32 0, align 4
@OIDOID = common local_unnamed_addr global i32 0, align 4
@PHP_STREAM_COPY_ALL = common local_unnamed_addr global i32 0, align 4
@PGRES_FATAL_ERROR = common local_unnamed_addr global i32 0, align 4
@PDO_PARAM_NULL = common local_unnamed_addr global i64 0, align 8
@IS_NULL = common local_unnamed_addr global i32 0, align 4
@IS_FALSE = common local_unnamed_addr global i32 0, align 4
@IS_TRUE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"t\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"f\00", align 1
@PDO_PARAM_BOOL = common local_unnamed_addr global i64 0, align 8
@PDO_PARAM_INPUT_OUTPUT = common local_unnamed_addr global i32 0, align 4
@PDO_PARAM_STR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pgsql_stmt_param_hook], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @pgsql_stmt_param_hook(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
%7 = load i64, ptr %0, align 8, !tbaa !12
%8 = load i64, ptr @PDO_PLACEHOLDER_NAMED, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
br i1 %9, label %13, label %171
13: ; preds = %3
br i1 %12, label %191, label %14
14: ; preds = %13
switch i32 %2, label %191 [
i32 129, label %15
i32 128, label %21
i32 134, label %55
i32 132, label %67
]
15: ; preds = %14
%16 = getelementptr inbounds i8, ptr %1, i64 24
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = icmp eq ptr %17, null
br i1 %18, label %191, label %19
19: ; preds = %15
%20 = tail call i32 @efree(ptr noundef nonnull %17) #2
br label %191
21: ; preds = %14
%22 = getelementptr inbounds i8, ptr %1, i64 32
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = icmp eq i32 %23, 0
br i1 %24, label %191, label %25
25: ; preds = %21
%26 = tail call ptr @ZSTR_VAL(i32 noundef %23) #2
%27 = load i8, ptr %26, align 1, !tbaa !19
%28 = icmp eq i8 %27, 36
br i1 %28, label %29, label %35
29: ; preds = %25
%30 = load i64, ptr %1, align 8, !tbaa !20
%31 = load i32, ptr %22, align 8, !tbaa !18
%32 = tail call ptr @ZSTR_VAL(i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %32, i64 1
%34 = tail call i32 @ZEND_ATOL(i64 noundef %30, ptr noundef nonnull %33) #2
br label %191
35: ; preds = %25
%36 = getelementptr inbounds i8, ptr %0, i64 8
%37 = load i32, ptr %36, align 8, !tbaa !21
%38 = icmp eq i32 %37, 0
br i1 %38, label %49, label %39
39: ; preds = %35
%40 = load i32, ptr %22, align 8, !tbaa !18
%41 = tail call ptr @zend_hash_find_ptr(i32 noundef %37, i32 noundef %40) #2
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %39
%44 = load i64, ptr %1, align 8, !tbaa !20
%45 = getelementptr inbounds i8, ptr %41, i64 1
%46 = tail call i32 @ZEND_ATOL(i64 noundef %44, ptr noundef nonnull %45) #2
%47 = load i64, ptr %1, align 8, !tbaa !20
%48 = add i64 %47, -1
store i64 %48, ptr %1, align 8, !tbaa !20
br label %191
49: ; preds = %39, %35
%50 = getelementptr inbounds i8, ptr %0, i64 12
%51 = load i32, ptr %50, align 4, !tbaa !22
%52 = load i32, ptr %22, align 8, !tbaa !18
%53 = tail call ptr @ZSTR_VAL(i32 noundef %52) #2
%54 = tail call i32 @pdo_raise_impl_error(i32 noundef %51, ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef %53) #2
br label %191
55: ; preds = %14
%56 = getelementptr inbounds i8, ptr %0, i64 8
%57 = load i32, ptr %56, align 8, !tbaa !21
%58 = icmp eq i32 %57, 0
br i1 %58, label %191, label %59
59: ; preds = %55
%60 = load i64, ptr %1, align 8, !tbaa !20
%61 = tail call i32 @zend_hash_index_exists(i32 noundef %57, i64 noundef %60) #2
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %191
63: ; preds = %59
%64 = getelementptr inbounds i8, ptr %0, i64 12
%65 = load i32, ptr %64, align 4, !tbaa !22
%66 = tail call i32 @pdo_raise_impl_error(i32 noundef %65, ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
br label %191
67: ; preds = %14
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load i32, ptr %68, align 8, !tbaa !21
%70 = icmp eq i32 %69, 0
br i1 %70, label %191, label %71
71: ; preds = %67
%72 = load ptr, ptr %6, align 8, !tbaa !23
%73 = icmp eq ptr %72, null
br i1 %73, label %74, label %89
74: ; preds = %71
%75 = tail call i32 @zend_hash_num_elements(i32 noundef %69) #2
%76 = tail call ptr @ecalloc(i32 noundef %75, i32 noundef 8) #2
store ptr %76, ptr %6, align 8, !tbaa !23
%77 = load i32, ptr %68, align 8, !tbaa !21
%78 = tail call i32 @zend_hash_num_elements(i32 noundef %77) #2
%79 = tail call ptr @ecalloc(i32 noundef %78, i32 noundef 4) #2
%80 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %79, ptr %80, align 8, !tbaa !25
%81 = load i32, ptr %68, align 8, !tbaa !21
%82 = tail call i32 @zend_hash_num_elements(i32 noundef %81) #2
%83 = tail call ptr @ecalloc(i32 noundef %82, i32 noundef 4) #2
%84 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %83, ptr %84, align 8, !tbaa !26
%85 = load i32, ptr %68, align 8, !tbaa !21
%86 = tail call i32 @zend_hash_num_elements(i32 noundef %85) #2
%87 = tail call ptr @ecalloc(i32 noundef %86, i32 noundef 4) #2
%88 = getelementptr inbounds i8, ptr %6, i64 24
store ptr %87, ptr %88, align 8, !tbaa !27
br label %89
89: ; preds = %71, %74
%90 = getelementptr inbounds i8, ptr %1, i64 12
%91 = load i32, ptr %90, align 4, !tbaa !28
%92 = tail call i32 @Z_ISREF(i32 noundef %91) #2
%93 = icmp eq i32 %92, 0
br i1 %93, label %97, label %94
94: ; preds = %89
%95 = load i32, ptr %90, align 4, !tbaa !28
%96 = tail call ptr @Z_REFVAL(i32 noundef %95) #2
br label %97
97: ; preds = %89, %94
%98 = phi ptr [ %96, %94 ], [ %90, %89 ]
%99 = getelementptr inbounds i8, ptr %1, i64 8
%100 = load i32, ptr %99, align 8, !tbaa !29
%101 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %100) #2
%102 = load i64, ptr @PDO_PARAM_LOB, align 8, !tbaa !13
%103 = icmp eq i64 %101, %102
br i1 %103, label %104, label %110
104: ; preds = %97
%105 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%106 = load i32, ptr @IS_RESOURCE, align 4, !tbaa !30
%107 = icmp eq i32 %105, %106
br i1 %107, label %108, label %110
108: ; preds = %104
%109 = tail call i32 @php_stream_from_zval_no_verify(ptr noundef undef, ptr noundef %98) #2
unreachable
110: ; preds = %104, %97
%111 = load i32, ptr %99, align 8, !tbaa !29
%112 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %111) #2
%113 = load i64, ptr @PDO_PARAM_NULL, align 8, !tbaa !13
%114 = icmp eq i64 %112, %113
br i1 %114, label %119, label %115
115: ; preds = %110
%116 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%117 = load i32, ptr @IS_NULL, align 4, !tbaa !30
%118 = icmp eq i32 %116, %117
br i1 %118, label %119, label %123
119: ; preds = %115, %110
%120 = load ptr, ptr %6, align 8, !tbaa !23
%121 = load i64, ptr %1, align 8, !tbaa !20
%122 = getelementptr inbounds ptr, ptr %120, i64 %121
store ptr null, ptr %122, align 8, !tbaa !31
br label %153
123: ; preds = %115
%124 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%125 = load i32, ptr @IS_FALSE, align 4, !tbaa !30
%126 = icmp eq i32 %124, %125
br i1 %126, label %131, label %127
127: ; preds = %123
%128 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%129 = load i32, ptr @IS_TRUE, align 4, !tbaa !30
%130 = icmp eq i32 %128, %129
br i1 %130, label %131, label %142
131: ; preds = %127, %123
%132 = tail call i32 @Z_TYPE_P(ptr noundef %98) #2
%133 = load i32, ptr @IS_TRUE, align 4, !tbaa !30
%134 = icmp eq i32 %132, %133
%135 = select i1 %134, ptr @.str.3, ptr @.str.4
%136 = load ptr, ptr %6, align 8, !tbaa !23
%137 = load i64, ptr %1, align 8, !tbaa !20
%138 = getelementptr inbounds ptr, ptr %136, i64 %137
store ptr %135, ptr %138, align 8, !tbaa !31
%139 = getelementptr inbounds i8, ptr %6, i64 8
%140 = load ptr, ptr %139, align 8, !tbaa !25
%141 = getelementptr inbounds i32, ptr %140, i64 %137
store i32 1, ptr %141, align 4, !tbaa !30
br label %153
142: ; preds = %127
%143 = tail call i32 @convert_to_string_ex(ptr noundef %98) #2
%144 = tail call ptr @Z_STRVAL_P(ptr noundef %98) #2
%145 = load ptr, ptr %6, align 8, !tbaa !23
%146 = load i64, ptr %1, align 8, !tbaa !20
%147 = getelementptr inbounds ptr, ptr %145, i64 %146
store ptr %144, ptr %147, align 8, !tbaa !31
%148 = tail call i32 @Z_STRLEN_P(ptr noundef %98) #2
%149 = getelementptr inbounds i8, ptr %6, i64 8
%150 = load ptr, ptr %149, align 8, !tbaa !25
%151 = load i64, ptr %1, align 8, !tbaa !20
%152 = getelementptr inbounds i32, ptr %150, i64 %151
store i32 %148, ptr %152, align 4, !tbaa !30
br label %153
153: ; preds = %131, %142, %119
%154 = phi i64 [ 16, %131 ], [ 16, %142 ], [ 8, %119 ]
%155 = phi i64 [ %137, %131 ], [ %151, %142 ], [ %121, %119 ]
%156 = getelementptr inbounds i8, ptr %6, i64 %154
%157 = load ptr, ptr %156, align 8, !tbaa !31
%158 = getelementptr inbounds i32, ptr %157, i64 %155
store i32 0, ptr %158, align 4, !tbaa !30
%159 = load i32, ptr %99, align 8, !tbaa !29
%160 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %159) #2
%161 = load i64, ptr @PDO_PARAM_LOB, align 8, !tbaa !13
%162 = icmp eq i64 %160, %161
%163 = getelementptr inbounds i8, ptr %6, i64 24
%164 = load ptr, ptr %163, align 8, !tbaa !27
%165 = load i64, ptr %1, align 8, !tbaa !20
%166 = getelementptr inbounds i32, ptr %164, i64 %165
store i32 0, ptr %166, align 4, !tbaa !30
br i1 %162, label %167, label %191
167: ; preds = %153
%168 = getelementptr inbounds i8, ptr %6, i64 16
%169 = load ptr, ptr %168, align 8, !tbaa !26
%170 = getelementptr inbounds i32, ptr %169, i64 %165
store i32 1, ptr %170, align 4, !tbaa !30
br label %191
171: ; preds = %3
br i1 %12, label %191, label %172
172: ; preds = %171
%173 = getelementptr inbounds i8, ptr %1, i64 8
%174 = load i32, ptr %173, align 8, !tbaa !29
%175 = tail call i64 @PDO_PARAM_TYPE(i32 noundef %174) #2
%176 = load i64, ptr @PDO_PARAM_BOOL, align 8, !tbaa !13
%177 = icmp eq i64 %175, %176
br i1 %177, label %178, label %191
178: ; preds = %172
%179 = load i32, ptr %173, align 8, !tbaa !29
%180 = load i32, ptr @PDO_PARAM_INPUT_OUTPUT, align 4, !tbaa !30
%181 = and i32 %180, %179
%182 = icmp eq i32 %181, %180
br i1 %182, label %191, label %183
183: ; preds = %178
%184 = getelementptr inbounds i8, ptr %1, i64 12
%185 = tail call i64 @zend_is_true(ptr noundef nonnull %184) #2
%186 = icmp eq i64 %185, 0
%187 = select i1 %186, ptr @.str.4, ptr @.str.3
%188 = load i32, ptr @PDO_PARAM_STR, align 4, !tbaa !30
store i32 %188, ptr %173, align 8, !tbaa !29
%189 = tail call i32 @zval_ptr_dtor(ptr noundef nonnull %184) #2
%190 = tail call i32 @ZVAL_STRINGL(ptr noundef nonnull %184, ptr noundef nonnull %187, i32 noundef 1) #2
br label %191
191: ; preds = %153, %13, %21, %29, %15, %19, %14, %172, %178, %183, %171, %43, %167, %67, %59, %55, %49, %63
%192 = phi i32 [ 0, %63 ], [ 0, %49 ], [ 1, %55 ], [ 1, %59 ], [ 1, %67 ], [ 1, %167 ], [ 1, %43 ], [ 1, %171 ], [ 1, %183 ], [ 1, %178 ], [ 1, %172 ], [ 1, %14 ], [ 1, %19 ], [ 1, %15 ], [ 1, %29 ], [ 1, %21 ], [ 1, %13 ], [ 1, %153 ]
ret i32 %192
}
declare i32 @efree(ptr noundef) local_unnamed_addr #1
declare ptr @ZSTR_VAL(i32 noundef) local_unnamed_addr #1
declare i32 @ZEND_ATOL(i64 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @zend_hash_find_ptr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pdo_raise_impl_error(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zend_hash_index_exists(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @ecalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @zend_hash_num_elements(i32 noundef) local_unnamed_addr #1
declare i32 @Z_ISREF(i32 noundef) local_unnamed_addr #1
declare ptr @Z_REFVAL(i32 noundef) local_unnamed_addr #1
declare i64 @PDO_PARAM_TYPE(i32 noundef) local_unnamed_addr #1
declare i32 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1
declare i32 @php_stream_from_zval_no_verify(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @convert_to_string_ex(ptr noundef) local_unnamed_addr #1
declare ptr @Z_STRVAL_P(ptr noundef) local_unnamed_addr #1
declare i32 @Z_STRLEN_P(ptr noundef) local_unnamed_addr #1
declare i64 @zend_is_true(ptr noundef) local_unnamed_addr #1
declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #1
declare i32 @ZVAL_STRINGL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_13__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 16}
!15 = !{!"pdo_bound_param_data", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !16, i64 24, !11, i64 32}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!15, !16, i64 24}
!18 = !{!15, !11, i64 32}
!19 = !{!9, !9, i64 0}
!20 = !{!15, !8, i64 0}
!21 = !{!7, !11, i64 8}
!22 = !{!7, !11, i64 12}
!23 = !{!24, !16, i64 0}
!24 = !{!"TYPE_14__", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!25 = !{!24, !16, i64 8}
!26 = !{!24, !16, i64 16}
!27 = !{!24, !16, i64 24}
!28 = !{!15, !11, i64 12}
!29 = !{!15, !11, i64 8}
!30 = !{!11, !11, i64 0}
!31 = !{!16, !16, i64 0}
| php-src_ext_pdo_pgsql_extr_pgsql_statement.c_pgsql_stmt_param_hook |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e3ha2.c_s6e3ha2_touch_hsync_on1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e3ha2.c_s6e3ha2_touch_hsync_on1.c"
target datalayout = "e-m:e-p270:32:32-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 @s6e3ha2_touch_hsync_on1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @s6e3ha2_touch_hsync_on1(ptr noundef %0) #0 {
%2 = tail call i32 @s6e3ha2_dcs_write_seq_static(ptr noundef %0, i32 noundef 189, i32 noundef 51, i32 noundef 17, i32 noundef 2, i32 noundef 22, i32 noundef 2, i32 noundef 22) #2
ret i32 0
}
declare i32 @s6e3ha2_dcs_write_seq_static(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e3ha2.c_s6e3ha2_touch_hsync_on1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e3ha2.c_s6e3ha2_touch_hsync_on1.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 @s6e3ha2_touch_hsync_on1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @s6e3ha2_touch_hsync_on1(ptr noundef %0) #0 {
%2 = tail call i32 @s6e3ha2_dcs_write_seq_static(ptr noundef %0, i32 noundef 189, i32 noundef 51, i32 noundef 17, i32 noundef 2, i32 noundef 22, i32 noundef 2, i32 noundef 22) #2
ret i32 0
}
declare i32 @s6e3ha2_dcs_write_seq_static(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_panel_extr_panel-samsung-s6e3ha2.c_s6e3ha2_touch_hsync_on1 |
; ModuleID = 'AnghaBench/freebsd/contrib/diff/src/extr_util.c_output_1_line.c'
source_filename = "AnghaBench/freebsd/contrib/diff/src/extr_util.c_output_1_line.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@expand_tabs = dso_local local_unnamed_addr global i32 0, align 4
@outfile = dso_local local_unnamed_addr global ptr null, align 8
@tabsize = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @output_1_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @expand_tabs, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = ptrtoint ptr %0 to i64
%9 = ptrtoint ptr %1 to i64
%10 = sub i64 %9, %8
%11 = trunc i64 %10 to i32
%12 = load ptr, ptr @outfile, align 8, !tbaa !9
%13 = tail call i32 @fwrite(ptr noundef %0, i32 noundef 1, i32 noundef %11, ptr noundef %12) #2
br label %58
14: ; preds = %4
%15 = load ptr, ptr @outfile, align 8, !tbaa !9
%16 = load i64, ptr @tabsize, align 8, !tbaa !11
%17 = icmp ult ptr %0, %1
br i1 %17, label %18, label %58
18: ; preds = %14
%19 = icmp ne ptr %2, null
br label %20
20: ; preds = %18, %55
%21 = phi ptr [ %0, %18 ], [ %23, %55 ]
%22 = phi i64 [ 0, %18 ], [ %56, %55 ]
%23 = getelementptr inbounds i8, ptr %21, i64 1
%24 = load i8, ptr %21, align 1, !tbaa !13
switch i8 %24, label %47 [
i8 9, label %25
i8 13, label %33
i8 8, label %42
]
25: ; preds = %20
%26 = urem i64 %22, %16
%27 = sub i64 %16, %26
br label %28
28: ; preds = %28, %25
%29 = phi i64 [ %27, %25 ], [ %31, %28 ]
%30 = tail call i32 @putc(i8 noundef zeroext 32, ptr noundef %15) #2
%31 = add i64 %29, -1
%32 = icmp eq i64 %31, 0
br i1 %32, label %53, label %28, !llvm.loop !14
33: ; preds = %20
%34 = tail call i32 @putc(i8 noundef zeroext 13, ptr noundef %15) #2
%35 = icmp ult ptr %23, %1
%36 = select i1 %19, i1 %35, i1 false
br i1 %36, label %37, label %55
37: ; preds = %33
%38 = load i8, ptr %23, align 1, !tbaa !13
%39 = icmp eq i8 %38, 10
br i1 %39, label %55, label %40
40: ; preds = %37
%41 = tail call i32 @fprintf(ptr noundef %15, ptr noundef nonnull %2, ptr noundef %3) #2
br label %55
42: ; preds = %20
%43 = icmp eq i64 %22, 0
br i1 %43, label %55, label %44
44: ; preds = %42
%45 = add i64 %22, -1
%46 = tail call i32 @putc(i8 noundef zeroext 8, ptr noundef %15) #2
br label %55
47: ; preds = %20
%48 = tail call i32 @isprint(i8 noundef zeroext %24) #2
%49 = icmp ne i32 %48, 0
%50 = zext i1 %49 to i64
%51 = add i64 %22, %50
%52 = tail call i32 @putc(i8 noundef zeroext %24, ptr noundef %15) #2
br label %55
53: ; preds = %28
%54 = add i64 %27, %22
br label %55
55: ; preds = %53, %44, %47, %40, %37, %33, %42
%56 = phi i64 [ 0, %42 ], [ %51, %47 ], [ %45, %44 ], [ 0, %40 ], [ 0, %37 ], [ 0, %33 ], [ %54, %53 ]
%57 = icmp eq ptr %23, %1
br i1 %57, label %58, label %20, !llvm.loop !16
58: ; preds = %55, %14, %7
ret void
}
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @putc(i8 noundef zeroext, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @isprint(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| ; ModuleID = 'AnghaBench/freebsd/contrib/diff/src/extr_util.c_output_1_line.c'
source_filename = "AnghaBench/freebsd/contrib/diff/src/extr_util.c_output_1_line.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@expand_tabs = common local_unnamed_addr global i32 0, align 4
@outfile = common local_unnamed_addr global ptr null, align 8
@tabsize = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @output_1_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @expand_tabs, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = ptrtoint ptr %0 to i64
%9 = ptrtoint ptr %1 to i64
%10 = sub i64 %9, %8
%11 = trunc i64 %10 to i32
%12 = load ptr, ptr @outfile, align 8, !tbaa !10
%13 = tail call i32 @fwrite(ptr noundef %0, i32 noundef 1, i32 noundef %11, ptr noundef %12) #2
br label %58
14: ; preds = %4
%15 = load ptr, ptr @outfile, align 8, !tbaa !10
%16 = load i64, ptr @tabsize, align 8, !tbaa !12
%17 = icmp ult ptr %0, %1
br i1 %17, label %18, label %58
18: ; preds = %14
%19 = icmp ne ptr %2, null
br label %20
20: ; preds = %18, %55
%21 = phi ptr [ %0, %18 ], [ %23, %55 ]
%22 = phi i64 [ 0, %18 ], [ %56, %55 ]
%23 = getelementptr inbounds i8, ptr %21, i64 1
%24 = load i8, ptr %21, align 1, !tbaa !14
switch i8 %24, label %47 [
i8 9, label %25
i8 13, label %33
i8 8, label %42
]
25: ; preds = %20
%26 = urem i64 %22, %16
%27 = sub i64 %16, %26
br label %28
28: ; preds = %28, %25
%29 = phi i64 [ %27, %25 ], [ %31, %28 ]
%30 = tail call i32 @putc(i8 noundef zeroext 32, ptr noundef %15) #2
%31 = add i64 %29, -1
%32 = icmp eq i64 %31, 0
br i1 %32, label %53, label %28, !llvm.loop !15
33: ; preds = %20
%34 = tail call i32 @putc(i8 noundef zeroext 13, ptr noundef %15) #2
%35 = icmp ult ptr %23, %1
%36 = select i1 %19, i1 %35, i1 false
br i1 %36, label %37, label %55
37: ; preds = %33
%38 = load i8, ptr %23, align 1, !tbaa !14
%39 = icmp eq i8 %38, 10
br i1 %39, label %55, label %40
40: ; preds = %37
%41 = tail call i32 @fprintf(ptr noundef %15, ptr noundef nonnull %2, ptr noundef %3) #2
br label %55
42: ; preds = %20
%43 = icmp eq i64 %22, 0
br i1 %43, label %55, label %44
44: ; preds = %42
%45 = add i64 %22, -1
%46 = tail call i32 @putc(i8 noundef zeroext 8, ptr noundef %15) #2
br label %55
47: ; preds = %20
%48 = tail call i32 @isprint(i8 noundef zeroext %24) #2
%49 = icmp ne i32 %48, 0
%50 = zext i1 %49 to i64
%51 = add i64 %22, %50
%52 = tail call i32 @putc(i8 noundef zeroext %24, ptr noundef %15) #2
br label %55
53: ; preds = %28
%54 = add i64 %27, %22
br label %55
55: ; preds = %53, %44, %47, %40, %37, %33, %42
%56 = phi i64 [ 0, %42 ], [ %51, %47 ], [ %45, %44 ], [ 0, %40 ], [ 0, %37 ], [ 0, %33 ], [ %54, %53 ]
%57 = icmp eq ptr %23, %1
br i1 %57, label %58, label %20, !llvm.loop !17
58: ; preds = %55, %14, %7
ret void
}
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @putc(i8 noundef zeroext, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @isprint(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| freebsd_contrib_diff_src_extr_util.c_output_1_line |
; ModuleID = 'AnghaBench/linux/arch/m68k/sun3/prom/extr_misc.c_prom_version.c'
source_filename = "AnghaBench/linux/arch/m68k/sun3/prom/extr_misc.c_prom_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"
@romvec = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @prom_version() local_unnamed_addr #0 {
%1 = load ptr, ptr @romvec, align 8, !tbaa !5
%2 = load i32, ptr %1, align 4, !tbaa !9
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/m68k/sun3/prom/extr_misc.c_prom_version.c'
source_filename = "AnghaBench/linux/arch/m68k/sun3/prom/extr_misc.c_prom_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@romvec = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @prom_version() local_unnamed_addr #0 {
%1 = load ptr, ptr @romvec, align 8, !tbaa !6
%2 = load i32, ptr %1, align 4, !tbaa !10
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| linux_arch_m68k_sun3_prom_extr_misc.c_prom_version |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/xtensa/kernel/extr_pci-dma.c_dma_free_coherent.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/xtensa/kernel/extr_pci-dma.c_dma_free_coherent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XCHAL_KSEG_CACHED_VADDR = dso_local local_unnamed_addr global i64 0, align 8
@XCHAL_KSEG_BYPASS_VADDR = dso_local local_unnamed_addr global i64 0, align 8
@XCHAL_KSEG_SIZE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @dma_free_coherent(ptr nocapture noundef readnone %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = ptrtoint ptr %2 to i64
%6 = load i64, ptr @XCHAL_KSEG_CACHED_VADDR, align 8, !tbaa !5
%7 = add nsw i64 %6, %5
%8 = load i64, ptr @XCHAL_KSEG_BYPASS_VADDR, align 8, !tbaa !5
%9 = sub i64 %7, %8
%10 = icmp sgt i64 %9, -1
%11 = load i64, ptr @XCHAL_KSEG_SIZE, align 8
%12 = icmp slt i64 %9, %11
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %16, label %14
14: ; preds = %4
%15 = tail call i32 (...) @BUG() #2
br label %16
16: ; preds = %4, %14
%17 = tail call i32 @get_order(i64 noundef %1) #2
%18 = tail call i32 @free_pages(i64 noundef %9, i32 noundef %17) #2
ret void
}
declare i32 @BUG(...) local_unnamed_addr #1
declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_order(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/xtensa/kernel/extr_pci-dma.c_dma_free_coherent.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/xtensa/kernel/extr_pci-dma.c_dma_free_coherent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XCHAL_KSEG_CACHED_VADDR = common local_unnamed_addr global i64 0, align 8
@XCHAL_KSEG_BYPASS_VADDR = common local_unnamed_addr global i64 0, align 8
@XCHAL_KSEG_SIZE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @dma_free_coherent(ptr nocapture noundef readnone %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = ptrtoint ptr %2 to i64
%6 = load i64, ptr @XCHAL_KSEG_CACHED_VADDR, align 8, !tbaa !6
%7 = add nsw i64 %6, %5
%8 = load i64, ptr @XCHAL_KSEG_BYPASS_VADDR, align 8, !tbaa !6
%9 = sub i64 %7, %8
%10 = icmp sgt i64 %9, -1
%11 = load i64, ptr @XCHAL_KSEG_SIZE, align 8
%12 = icmp slt i64 %9, %11
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %16, label %14
14: ; preds = %4
%15 = tail call i32 @BUG() #2
br label %16
16: ; preds = %4, %14
%17 = tail call i32 @get_order(i64 noundef %1) #2
%18 = tail call i32 @free_pages(i64 noundef %9, i32 noundef %17) #2
ret void
}
declare i32 @BUG(...) local_unnamed_addr #1
declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_order(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"}
| fastsocket_kernel_arch_xtensa_kernel_extr_pci-dma.c_dma_free_coherent |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_analysis_enc.c_MergeHistograms.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_analysis_enc.c_MergeHistograms.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @MergeHistograms], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @MergeHistograms(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = icmp sgt i64 %3, %4
br i1 %5, label %6, label %7
6: ; preds = %2
store i64 %3, ptr %1, align 8, !tbaa !5
br label %7
7: ; preds = %6, %2
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !10
%12 = icmp sgt i64 %9, %11
br i1 %12, label %13, label %14
13: ; preds = %7
store i64 %9, ptr %10, align 8, !tbaa !10
br label %14
14: ; preds = %13, %7
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 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_analysis_enc.c_MergeHistograms.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_analysis_enc.c_MergeHistograms.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 @MergeHistograms], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @MergeHistograms(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = icmp sgt i64 %3, %4
br i1 %5, label %6, label %7
6: ; preds = %2
store i64 %3, ptr %1, align 8, !tbaa !6
br label %7
7: ; preds = %6, %2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = icmp sgt i64 %9, %11
br i1 %12, label %13, label %14
13: ; preds = %7
store i64 %9, ptr %10, align 8, !tbaa !11
br label %14
14: ; preds = %13, %7
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 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
| sumatrapdf_ext_libwebp_src_enc_extr_analysis_enc.c_MergeHistograms |
; ModuleID = 'AnghaBench/openssl/providers/implementations/ciphers/extr_cipher_chacha20.c_chacha20_dinit.c'
source_filename = "AnghaBench/openssl/providers/implementations/ciphers/extr_cipher_chacha20.c_chacha20_dinit.c"
target datalayout = "e-m:e-p270:32:32-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 @chacha20_dinit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @cipher_generic_dinit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
%7 = icmp ne i32 %6, 0
%8 = icmp ne ptr %3, null
%9 = and i1 %8, %7
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load i64, ptr %0, align 8, !tbaa !5
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = tail call i32 %13(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %10, %5
ret i32 %6
}
declare i32 @cipher_generic_dinit(ptr noundef, ptr noundef, i64 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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/openssl/providers/implementations/ciphers/extr_cipher_chacha20.c_chacha20_dinit.c'
source_filename = "AnghaBench/openssl/providers/implementations/ciphers/extr_cipher_chacha20.c_chacha20_dinit.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 @chacha20_dinit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @cipher_generic_dinit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
%7 = icmp ne i32 %6, 0
%8 = icmp ne ptr %3, null
%9 = and i1 %8, %7
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load i64, ptr %0, align 8, !tbaa !6
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = tail call i32 %13(ptr noundef nonnull %0) #2
br label %15
15: ; preds = %10, %5
ret i32 %6
}
declare i32 @cipher_generic_dinit(ptr noundef, ptr noundef, i64 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, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| openssl_providers_implementations_ciphers_extr_cipher_chacha20.c_chacha20_dinit |
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_e_null.c_null_cipher.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_e_null.c_null_cipher.c"
target datalayout = "e-m:e-p270:32:32-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 @null_cipher], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @null_cipher(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %2, %1
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %2, i64 noundef %3) #2
br label %8
8: ; preds = %6, %4
ret i32 1
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_e_null.c_null_cipher.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_e_null.c_null_cipher.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 @null_cipher], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @null_cipher(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %2, %1
br i1 %5, label %8, label %6
6: ; preds = %4
%7 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %2, i64 noundef %3) #2
br label %8
8: ; preds = %6, %4
ret i32 1
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| openssl_crypto_evp_extr_e_null.c_null_cipher |
; ModuleID = 'AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpcf_ctor_str.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpcf_ctor_str.c"
target datalayout = "e-m:e-p270:32:32-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 @mpcf_ctor_str() local_unnamed_addr #0 {
%1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 1) #2
ret ptr %1
}
declare ptr @calloc(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/radare2/shlr/mpc/extr_mpc.c_mpcf_ctor_str.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpcf_ctor_str.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 @mpcf_ctor_str() local_unnamed_addr #0 {
%1 = tail call ptr @calloc(i32 noundef 1, i32 noundef 1) #2
ret ptr %1
}
declare ptr @calloc(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)"}
| radare2_shlr_mpc_extr_mpc.c_mpcf_ctor_str |
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_CombineRgn.c_Test_CombineRgn_Params.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_CombineRgn.c_Test_CombineRgn_Params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_INVALID_PARAMETER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"wrong error: %ld\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @Test_CombineRgn_Params() local_unnamed_addr #0 {
%1 = tail call ptr @CreateRectRgn(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%2 = tail call ptr @CreateRectRgn(i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 10) #2
%3 = tail call ptr @CreateRectRgn(i32 noundef 5, i32 noundef 5, i32 noundef 20, i32 noundef 20) #2
%4 = tail call i32 @SetLastError(i32 noundef 195934910) #2
%5 = tail call i32 @CombineRgn(ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%6 = load i32, ptr @ERROR, align 4, !tbaa !5
%7 = tail call i32 @ok_long(i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @CombineRgn(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 0) #2
%9 = load i32, ptr @ERROR, align 4, !tbaa !5
%10 = tail call i32 @ok_long(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @CombineRgn(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 6) #2
%12 = load i32, ptr @ERROR, align 4, !tbaa !5
%13 = tail call i32 @ok_long(i32 noundef %11, i32 noundef %12) #2
%14 = tail call i32 (...) @GetLastError() #2
%15 = icmp eq i32 %14, 195934910
br i1 %15, label %21, label %16
16: ; preds = %0
%17 = tail call i32 (...) @GetLastError() #2
%18 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !5
%19 = icmp eq i32 %17, %18
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %16, %0
%22 = phi i32 [ 1, %0 ], [ %20, %16 ]
%23 = tail call i32 (...) @GetLastError() #2
%24 = tail call i32 @ok(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %23) #2
ret void
}
declare ptr @CreateRectRgn(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1
declare i32 @ok_long(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CombineRgn(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetLastError(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/reactos/modules/rostests/apitests/gdi32/extr_CombineRgn.c_Test_CombineRgn_Params.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_CombineRgn.c_Test_CombineRgn_Params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERROR_INVALID_PARAMETER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"wrong error: %ld\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @Test_CombineRgn_Params() local_unnamed_addr #0 {
%1 = tail call ptr @CreateRectRgn(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%2 = tail call ptr @CreateRectRgn(i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 10) #2
%3 = tail call ptr @CreateRectRgn(i32 noundef 5, i32 noundef 5, i32 noundef 20, i32 noundef 20) #2
%4 = tail call i32 @SetLastError(i32 noundef 195934910) #2
%5 = tail call i32 @CombineRgn(ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%6 = load i32, ptr @ERROR, align 4, !tbaa !6
%7 = tail call i32 @ok_long(i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @CombineRgn(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 0) #2
%9 = load i32, ptr @ERROR, align 4, !tbaa !6
%10 = tail call i32 @ok_long(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @CombineRgn(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 6) #2
%12 = load i32, ptr @ERROR, align 4, !tbaa !6
%13 = tail call i32 @ok_long(i32 noundef %11, i32 noundef %12) #2
%14 = tail call i32 @GetLastError() #2
%15 = icmp eq i32 %14, 195934910
br i1 %15, label %21, label %16
16: ; preds = %0
%17 = tail call i32 @GetLastError() #2
%18 = load i32, ptr @ERROR_INVALID_PARAMETER, align 4, !tbaa !6
%19 = icmp eq i32 %17, %18
%20 = zext i1 %19 to i32
br label %21
21: ; preds = %16, %0
%22 = phi i32 [ 1, %0 ], [ %20, %16 ]
%23 = tail call i32 @GetLastError() #2
%24 = tail call i32 @ok(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %23) #2
ret void
}
declare ptr @CreateRectRgn(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1
declare i32 @ok_long(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CombineRgn(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetLastError(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| reactos_modules_rostests_apitests_gdi32_extr_CombineRgn.c_Test_CombineRgn_Params |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/atl1c/extr_atl1c_main.c_atl1c_mdio_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/atl1c/extr_atl1c_main.c_atl1c_mdio_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @atl1c_mdio_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @atl1c_mdio_read(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = tail call ptr @netdev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = call i32 @atl1c_read_phy_reg(ptr noundef %5, i32 noundef %2, ptr noundef nonnull %4) #3
%7 = load i32, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @atl1c_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/atl1c/extr_atl1c_main.c_atl1c_mdio_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/atl1c/extr_atl1c_main.c_atl1c_mdio_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @atl1c_mdio_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @atl1c_mdio_read(ptr noundef %0, i32 %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = tail call ptr @netdev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = call i32 @atl1c_read_phy_reg(ptr noundef %5, i32 noundef %2, ptr noundef nonnull %4) #3
%7 = load i32, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i32 @atl1c_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_atl1c_extr_atl1c_main.c_atl1c_mdio_read |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_dfp.c_is_powersaving_dpms.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_dfp.c_is_powersaving_dpms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DRM_MODE_DPMS_ON = dso_local local_unnamed_addr global i32 0, align 4
@NV_DPMS_CLEARED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_powersaving_dpms], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @is_powersaving_dpms(i32 noundef %0) #0 {
%2 = load i32, ptr @DRM_MODE_DPMS_ON, align 4, !tbaa !5
%3 = icmp ne i32 %2, %0
%4 = load i32, ptr @NV_DPMS_CLEARED, align 4
%5 = icmp ne i32 %4, %0
%6 = select i1 %3, i1 %5, i1 false
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_dfp.c_is_powersaving_dpms.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_dfp.c_is_powersaving_dpms.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRM_MODE_DPMS_ON = common local_unnamed_addr global i32 0, align 4
@NV_DPMS_CLEARED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_powersaving_dpms], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_powersaving_dpms(i32 noundef %0) #0 {
%2 = load i32, ptr @DRM_MODE_DPMS_ON, align 4, !tbaa !6
%3 = icmp ne i32 %2, %0
%4 = load i32, ptr @NV_DPMS_CLEARED, align 4
%5 = icmp ne i32 %4, %0
%6 = select i1 %3, i1 %5, i1 false
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nv04_dfp.c_is_powersaving_dpms |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_traps.c_ist_enter.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_traps.c_ist_enter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"entry code didn't wake RCU\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"ist_enter didn't work\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ist_enter(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @user_mode(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 (...) @rcu_is_watching() #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @RCU_LOCKDEP_WARN(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %11
9: ; preds = %1
%10 = tail call i32 (...) @rcu_nmi_enter() #2
br label %11
11: ; preds = %9, %4
%12 = tail call i32 (...) @preempt_disable() #2
%13 = tail call i32 (...) @rcu_is_watching() #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @RCU_LOCKDEP_WARN(i32 noundef %15, ptr noundef nonnull @.str.1) #2
ret void
}
declare i64 @user_mode(ptr noundef) local_unnamed_addr #1
declare i32 @RCU_LOCKDEP_WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rcu_is_watching(...) local_unnamed_addr #1
declare i32 @rcu_nmi_enter(...) local_unnamed_addr #1
declare i32 @preempt_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/extr_traps.c_ist_enter.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/extr_traps.c_ist_enter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [27 x i8] c"entry code didn't wake RCU\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"ist_enter didn't work\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ist_enter(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @user_mode(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @rcu_is_watching() #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @RCU_LOCKDEP_WARN(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %11
9: ; preds = %1
%10 = tail call i32 @rcu_nmi_enter() #2
br label %11
11: ; preds = %9, %4
%12 = tail call i32 @preempt_disable() #2
%13 = tail call i32 @rcu_is_watching() #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @RCU_LOCKDEP_WARN(i32 noundef %15, ptr noundef nonnull @.str.1) #2
ret void
}
declare i64 @user_mode(ptr noundef) local_unnamed_addr #1
declare i32 @RCU_LOCKDEP_WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rcu_is_watching(...) local_unnamed_addr #1
declare i32 @rcu_nmi_enter(...) local_unnamed_addr #1
declare i32 @preempt_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_extr_traps.c_ist_enter |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flacdec.c_allocate_buffers.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flacdec.c_allocate_buffers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_5__ = type { %struct.TYPE_4__, i32, i64, i32 }
@AV_SAMPLE_FMT_S32P = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @allocate_buffers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @allocate_buffers(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @av_assert0(i32 noundef %2) #3
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr @AV_SAMPLE_FMT_S32P, align 4, !tbaa !13
%8 = tail call i32 @av_samples_get_buffer_size(ptr noundef null, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 0) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %28, label %10
10: ; preds = %1
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%13 = tail call i32 @av_fast_malloc(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %8) #3
%14 = load i32, ptr %11, align 8, !tbaa !14
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%18 = tail call i32 @AVERROR(i32 noundef %17) #3
br label %28
19: ; preds = %10
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%21 = load i64, ptr %20, align 8, !tbaa !15
%22 = inttoptr i64 %21 to ptr
%23 = load i32, ptr %4, align 4, !tbaa !12
%24 = load i32, ptr %0, align 8, !tbaa !5
%25 = load i32, ptr @AV_SAMPLE_FMT_S32P, align 4, !tbaa !13
%26 = tail call i32 @av_samples_fill_arrays(ptr noundef %22, ptr noundef null, i32 noundef %14, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef 0) #3
%27 = tail call i32 @llvm.smin.i32(i32 %26, i32 0)
br label %28
28: ; preds = %1, %19, %16
%29 = phi i32 [ %27, %19 ], [ %18, %16 ], [ %8, %1 ]
ret i32 %29
}
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1
declare i32 @av_samples_get_buffer_size(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fast_malloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @av_samples_fill_arrays(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.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 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!6, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !8, i64 8}
!15 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flacdec.c_allocate_buffers.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flacdec.c_allocate_buffers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_SAMPLE_FMT_S32P = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @allocate_buffers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @allocate_buffers(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @av_assert0(i32 noundef %2) #3
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = load i32, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr @AV_SAMPLE_FMT_S32P, align 4, !tbaa !14
%8 = tail call i32 @av_samples_get_buffer_size(ptr noundef null, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 0) #3
%9 = icmp slt i32 %8, 0
br i1 %9, label %28, label %10
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = getelementptr inbounds i8, ptr %0, i64 24
%13 = tail call i32 @av_fast_malloc(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %8) #3
%14 = load i32, ptr %11, align 8, !tbaa !15
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%18 = tail call i32 @AVERROR(i32 noundef %17) #3
br label %28
19: ; preds = %10
%20 = getelementptr inbounds i8, ptr %0, i64 16
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = inttoptr i64 %21 to ptr
%23 = load i32, ptr %4, align 4, !tbaa !13
%24 = load i32, ptr %0, align 8, !tbaa !6
%25 = load i32, ptr @AV_SAMPLE_FMT_S32P, align 4, !tbaa !14
%26 = tail call i32 @av_samples_fill_arrays(ptr noundef %22, ptr noundef null, i32 noundef %14, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef 0) #3
%27 = tail call i32 @llvm.smin.i32(i32 %26, i32 0)
br label %28
28: ; preds = %1, %19, %16
%29 = phi i32 [ %27, %19 ], [ %18, %16 ], [ %8, %1 ]
ret i32 %29
}
declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1
declare i32 @av_samples_get_buffer_size(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fast_malloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @av_samples_fill_arrays(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.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 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !9, i64 8, !12, i64 16, !9, i64 24}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!7, !9, i64 4}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !9, i64 8}
!16 = !{!7, !12, i64 16}
| FFmpeg_libavcodec_extr_flacdec.c_allocate_buffers |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_emulate_raw.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_emulate_raw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @emulate_raw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @emulate_raw(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = icmp ugt i32 %1, 127
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = zext i8 %2 to i32
%7 = or i32 %6, %1
%8 = tail call i32 @put_queue(ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %3, %5
%10 = phi i32 [ 0, %5 ], [ -1, %3 ]
ret i32 %10
}
declare i32 @put_queue(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_emulate_raw.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_keyboard.c_emulate_raw.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 @emulate_raw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @emulate_raw(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = icmp ugt i32 %1, 127
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = zext i8 %2 to i32
%7 = or i32 %6, %1
%8 = tail call i32 @put_queue(ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %3, %5
%10 = phi i32 [ 0, %5 ], [ -1, %3 ]
ret i32 %10
}
declare i32 @put_queue(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_char_extr_keyboard.c_emulate_raw |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_gmac.c_hns_gmac_config_max_frame_length.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_gmac.c_hns_gmac_config_max_frame_length.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GMAC_MAX_FRM_SIZE_REG = dso_local local_unnamed_addr global i32 0, align 4
@GMAC_MAX_FRM_SIZE_M = dso_local local_unnamed_addr global i32 0, align 4
@GMAC_MAX_FRM_SIZE_S = dso_local local_unnamed_addr global i32 0, align 4
@GAMC_RX_MAX_FRAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_gmac_config_max_frame_length], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hns_gmac_config_max_frame_length(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @GMAC_MAX_FRM_SIZE_REG, align 4, !tbaa !5
%4 = load i32, ptr @GMAC_MAX_FRM_SIZE_M, align 4, !tbaa !5
%5 = load i32, ptr @GMAC_MAX_FRM_SIZE_S, align 4, !tbaa !5
%6 = tail call i32 @dsaf_set_dev_field(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %1) #2
%7 = load i32, ptr @GAMC_RX_MAX_FRAME, align 4, !tbaa !5
%8 = load i32, ptr @GMAC_MAX_FRM_SIZE_M, align 4, !tbaa !5
%9 = load i32, ptr @GMAC_MAX_FRM_SIZE_S, align 4, !tbaa !5
%10 = tail call i32 @dsaf_set_dev_field(ptr noundef %0, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %1) #2
ret void
}
declare i32 @dsaf_set_dev_field(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_gmac.c_hns_gmac_config_max_frame_length.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_gmac.c_hns_gmac_config_max_frame_length.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GMAC_MAX_FRM_SIZE_REG = common local_unnamed_addr global i32 0, align 4
@GMAC_MAX_FRM_SIZE_M = common local_unnamed_addr global i32 0, align 4
@GMAC_MAX_FRM_SIZE_S = common local_unnamed_addr global i32 0, align 4
@GAMC_RX_MAX_FRAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hns_gmac_config_max_frame_length], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hns_gmac_config_max_frame_length(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @GMAC_MAX_FRM_SIZE_REG, align 4, !tbaa !6
%4 = load i32, ptr @GMAC_MAX_FRM_SIZE_M, align 4, !tbaa !6
%5 = load i32, ptr @GMAC_MAX_FRM_SIZE_S, align 4, !tbaa !6
%6 = tail call i32 @dsaf_set_dev_field(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %1) #2
%7 = load i32, ptr @GAMC_RX_MAX_FRAME, align 4, !tbaa !6
%8 = load i32, ptr @GMAC_MAX_FRM_SIZE_M, align 4, !tbaa !6
%9 = load i32, ptr @GMAC_MAX_FRM_SIZE_S, align 4, !tbaa !6
%10 = tail call i32 @dsaf_set_dev_field(ptr noundef %0, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %1) #2
ret void
}
declare i32 @dsaf_set_dev_field(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_hisilicon_hns_extr_hns_dsaf_gmac.c_hns_gmac_config_max_frame_length |
; ModuleID = 'AnghaBench/linux/sound/soc/fsl/extr_fsl_ssi.c_fsl_ssi_hw_clean.c'
source_filename = "AnghaBench/linux/sound/soc/fsl/extr_fsl_ssi.c_fsl_ssi_hw_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"
@REG_SSI_SCR = dso_local local_unnamed_addr global i32 0, align 4
@SSI_SCR_TE = dso_local local_unnamed_addr global i32 0, align 4
@SSI_SCR_RE = dso_local local_unnamed_addr global i32 0, align 4
@REG_SSI_SACNT = dso_local local_unnamed_addr global i32 0, align 4
@REG_SSI_SOR = dso_local local_unnamed_addr global i32 0, align 4
@SSI_SCR_SSIEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_ssi_hw_clean], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fsl_ssi_hw_clean(ptr noundef %0) #0 {
%2 = tail call i64 @fsl_ssi_is_ac97(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = load i32, ptr @REG_SSI_SCR, align 4, !tbaa !10
%7 = load i32, ptr @SSI_SCR_TE, align 4, !tbaa !10
%8 = load i32, ptr @SSI_SCR_RE, align 4, !tbaa !10
%9 = or i32 %8, %7
%10 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %6, i32 noundef %9, i32 noundef 0) #2
%11 = load i32, ptr %0, align 4, !tbaa !5
%12 = load i32, ptr @REG_SSI_SACNT, align 4, !tbaa !10
%13 = tail call i32 @regmap_write(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2
%14 = load i32, ptr %0, align 4, !tbaa !5
%15 = load i32, ptr @REG_SSI_SOR, align 4, !tbaa !10
%16 = tail call i32 @regmap_write(i32 noundef %14, i32 noundef %15, i32 noundef 0) #2
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = load i32, ptr @REG_SSI_SCR, align 4, !tbaa !10
%19 = load i32, ptr @SSI_SCR_SSIEN, align 4, !tbaa !10
%20 = tail call i32 @regmap_update_bits(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0) #2
br label %21
21: ; preds = %4, %1
ret void
}
declare i64 @fsl_ssi_is_ac97(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"fsl_ssi", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/fsl/extr_fsl_ssi.c_fsl_ssi_hw_clean.c'
source_filename = "AnghaBench/linux/sound/soc/fsl/extr_fsl_ssi.c_fsl_ssi_hw_clean.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_SSI_SCR = common local_unnamed_addr global i32 0, align 4
@SSI_SCR_TE = common local_unnamed_addr global i32 0, align 4
@SSI_SCR_RE = common local_unnamed_addr global i32 0, align 4
@REG_SSI_SACNT = common local_unnamed_addr global i32 0, align 4
@REG_SSI_SOR = common local_unnamed_addr global i32 0, align 4
@SSI_SCR_SSIEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fsl_ssi_hw_clean], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fsl_ssi_hw_clean(ptr noundef %0) #0 {
%2 = tail call i64 @fsl_ssi_is_ac97(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %21, label %4
4: ; preds = %1
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = load i32, ptr @REG_SSI_SCR, align 4, !tbaa !11
%7 = load i32, ptr @SSI_SCR_TE, align 4, !tbaa !11
%8 = load i32, ptr @SSI_SCR_RE, align 4, !tbaa !11
%9 = or i32 %8, %7
%10 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %6, i32 noundef %9, i32 noundef 0) #2
%11 = load i32, ptr %0, align 4, !tbaa !6
%12 = load i32, ptr @REG_SSI_SACNT, align 4, !tbaa !11
%13 = tail call i32 @regmap_write(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2
%14 = load i32, ptr %0, align 4, !tbaa !6
%15 = load i32, ptr @REG_SSI_SOR, align 4, !tbaa !11
%16 = tail call i32 @regmap_write(i32 noundef %14, i32 noundef %15, i32 noundef 0) #2
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = load i32, ptr @REG_SSI_SCR, align 4, !tbaa !11
%19 = load i32, ptr @SSI_SCR_SSIEN, align 4, !tbaa !11
%20 = tail call i32 @regmap_update_bits(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 0) #2
br label %21
21: ; preds = %4, %1
ret void
}
declare i64 @fsl_ssi_is_ac97(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"fsl_ssi", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_sound_soc_fsl_extr_fsl_ssi.c_fsl_ssi_hw_clean |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.