IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_IsGIF.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_IsGIF.c"
target datalayout = "e-m:e-p270:32:32-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 @IsGIF], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @IsGIF(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/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_IsGIF.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_IsGIF.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 @IsGIF], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @IsGIF(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)"}
| sumatrapdf_ext_libwebp_examples_extr_anim_util.c_IsGIF |
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscServer.c_tscBuildCreateUserMsg.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscServer.c_tscBuildCreateUserMsg.c"
target datalayout = "e-m:e-p270:32:32-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_11__ = type { ptr, %struct.TYPE_12__ }
%struct.TYPE_12__ = type { ptr, i32, i32 }
@tsRpcHeadSize = dso_local local_unnamed_addr global i32 0, align 4
@TSDB_MSG_TYPE_CREATE_USER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tscBuildCreateUserMsg(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call ptr @tscGetMeterMetaInfo(ptr noundef nonnull %2, i32 noundef 0) #2
%5 = load ptr, ptr %2, align 8, !tbaa !12
%6 = load i32, ptr @tsRpcHeadSize, align 4, !tbaa !13
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load ptr, ptr %3, align 8, !tbaa !16
%11 = tail call i32 @strcpy(i32 noundef %9, ptr noundef %10) #2
%12 = getelementptr inbounds i8, ptr %8, i64 4
%13 = getelementptr inbounds i8, ptr %8, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !18
%15 = load ptr, ptr %4, align 8, !tbaa !20
%16 = tail call i32 @strcpy(i32 noundef %14, ptr noundef %15) #2
%17 = load i32, ptr %12, align 4, !tbaa !22
%18 = load ptr, ptr %2, align 8, !tbaa !12
%19 = tail call i32 @strcpy(i32 noundef %17, ptr noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 1
store i32 12, ptr %20, align 8, !tbaa !23
%21 = load i32, ptr @TSDB_MSG_TYPE_CREATE_USER, align 4, !tbaa !13
%22 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 2
store i32 %21, ptr %22, align 4, !tbaa !24
ret i32 12
}
declare ptr @tscGetMeterMetaInfo(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_12__", !7, i64 0, !11, i64 8, !11, i64 12}
!11 = !{!"int", !8, i64 0}
!12 = !{!10, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_13__", !11, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_10__", !7, i64 0}
!18 = !{!19, !11, i64 4}
!19 = !{!"TYPE_15__", !11, i64 0, !11, i64 4}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_14__", !7, i64 0}
!22 = !{!19, !11, i64 0}
!23 = !{!10, !11, i64 8}
!24 = !{!10, !11, i64 12}
| ; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscServer.c_tscBuildCreateUserMsg.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscServer.c_tscBuildCreateUserMsg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tsRpcHeadSize = common local_unnamed_addr global i32 0, align 4
@TSDB_MSG_TYPE_CREATE_USER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @tscBuildCreateUserMsg(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call ptr @tscGetMeterMetaInfo(ptr noundef nonnull %2, i32 noundef 0) #2
%5 = load ptr, ptr %2, align 8, !tbaa !13
%6 = load i32, ptr @tsRpcHeadSize, align 4, !tbaa !14
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load ptr, ptr %3, align 8, !tbaa !17
%11 = tail call i32 @strcpy(i32 noundef %9, ptr noundef %10) #2
%12 = getelementptr inbounds i8, ptr %8, i64 4
%13 = getelementptr inbounds i8, ptr %8, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !19
%15 = load ptr, ptr %4, align 8, !tbaa !21
%16 = tail call i32 @strcpy(i32 noundef %14, ptr noundef %15) #2
%17 = load i32, ptr %12, align 4, !tbaa !23
%18 = load ptr, ptr %2, align 8, !tbaa !13
%19 = tail call i32 @strcpy(i32 noundef %17, ptr noundef %18) #2
%20 = getelementptr inbounds i8, ptr %0, i64 16
store i32 12, ptr %20, align 8, !tbaa !24
%21 = load i32, ptr @TSDB_MSG_TYPE_CREATE_USER, align 4, !tbaa !14
%22 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %21, ptr %22, align 4, !tbaa !25
ret i32 12
}
declare ptr @tscGetMeterMetaInfo(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_12__", !8, i64 0, !12, i64 8, !12, i64 12}
!12 = !{!"int", !9, i64 0}
!13 = !{!11, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_13__", !12, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_10__", !8, i64 0}
!19 = !{!20, !12, i64 4}
!20 = !{!"TYPE_15__", !12, i64 0, !12, i64 4}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_14__", !8, i64 0}
!23 = !{!20, !12, i64 0}
!24 = !{!11, !12, i64 8}
!25 = !{!11, !12, i64 12}
| TDengine_src_client_src_extr_tscServer.c_tscBuildCreateUserMsg |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_gap_ble_api.c_esp_ble_gap_set_rand_addr.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_gap_ble_api.c_esp_ble_gap_set_rand_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, i32 }
%struct.TYPE_8__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@ESP_BLUEDROID_STATUS_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@BTC_SIG_API_CALL = dso_local local_unnamed_addr global i32 0, align 4
@BTC_PID_GAP_BLE = dso_local local_unnamed_addr global i32 0, align 4
@BTC_GAP_BLE_ACT_SET_RAND_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@ESP_BD_ADDR_LEN = dso_local local_unnamed_addr global i32 0, align 4
@BT_STATUS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
@ESP_FAIL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @esp_ble_gap_set_rand_addr(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 4
%3 = alloca %struct.TYPE_8__, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @ESP_BLUEDROID_STATUS_ENABLED, align 4, !tbaa !5
%5 = tail call i32 @ESP_BLUEDROID_STATUS_CHECK(i32 noundef %4) #3
%6 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2
store i32 %6, ptr %7, align 4, !tbaa !9
%8 = load i32, ptr @BTC_PID_GAP_BLE, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !11
%10 = load i32, ptr @BTC_GAP_BLE_ACT_SET_RAND_ADDRESS, align 4, !tbaa !5
store i32 %10, ptr %2, align 4, !tbaa !12
%11 = load i32, ptr @ESP_BD_ADDR_LEN, align 4, !tbaa !5
%12 = tail call i32 @memcpy(i32 noundef undef, i32 noundef %0, i32 noundef %11) #3
%13 = call i64 @btc_transfer_context(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 4, ptr noundef null) #3
%14 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !13
%15 = icmp eq i64 %13, %14
%16 = load i32, ptr @ESP_OK, align 4
%17 = load i32, ptr @ESP_FAIL, align 4
%18 = select i1 %15, i32 %16, i32 %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ESP_BLUEDROID_STATUS_CHECK(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_gap_ble_api.c_esp_ble_gap_set_rand_addr.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_gap_ble_api.c_esp_ble_gap_set_rand_addr.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_8__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@ESP_BLUEDROID_STATUS_ENABLED = common local_unnamed_addr global i32 0, align 4
@BTC_SIG_API_CALL = common local_unnamed_addr global i32 0, align 4
@BTC_PID_GAP_BLE = common local_unnamed_addr global i32 0, align 4
@BTC_GAP_BLE_ACT_SET_RAND_ADDRESS = common local_unnamed_addr global i32 0, align 4
@ESP_BD_ADDR_LEN = common local_unnamed_addr global i32 0, align 4
@BT_STATUS_SUCCESS = common local_unnamed_addr global i64 0, align 8
@ESP_OK = common local_unnamed_addr global i32 0, align 4
@ESP_FAIL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @esp_ble_gap_set_rand_addr(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 4
%3 = alloca %struct.TYPE_8__, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @ESP_BLUEDROID_STATUS_ENABLED, align 4, !tbaa !6
%5 = tail call i32 @ESP_BLUEDROID_STATUS_CHECK(i32 noundef %4) #3
%6 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %6, ptr %7, align 4, !tbaa !10
%8 = load i32, ptr @BTC_PID_GAP_BLE, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %8, ptr %9, align 4, !tbaa !12
%10 = load i32, ptr @BTC_GAP_BLE_ACT_SET_RAND_ADDRESS, align 4, !tbaa !6
store i32 %10, ptr %2, align 4, !tbaa !13
%11 = load i32, ptr @ESP_BD_ADDR_LEN, align 4, !tbaa !6
%12 = tail call i32 @memcpy(i32 noundef undef, i32 noundef %0, i32 noundef %11) #3
%13 = call i64 @btc_transfer_context(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 4, ptr noundef null) #3
%14 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !14
%15 = icmp eq i64 %13, %14
%16 = load i32, ptr @ESP_OK, align 4
%17 = load i32, ptr @ESP_FAIL, align 4
%18 = select i1 %15, i32 %16, i32 %17
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ESP_BLUEDROID_STATUS_CHECK(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| esp-idf_components_bt_host_bluedroid_api_extr_esp_gap_ble_api.c_esp_ble_gap_set_rand_addr |
; ModuleID = 'AnghaBench/linux/drivers/ide/extr_ide-eh.c_ide_atapi_error.c'
source_filename = "AnghaBench/linux/drivers/ide/extr_ide-eh.c_ide_atapi_error.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, ptr }
%struct.TYPE_10__ = type { ptr, ptr }
@ATA_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@ATA_DF = dso_local local_unnamed_addr global i32 0, align 4
@IDE_DFLAG_NOWERR = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_RESET = dso_local local_unnamed_addr global i32 0, align 4
@ATA_DRQ = dso_local local_unnamed_addr global i32 0, align 4
@ATA_CMD_IDLEIMMEDIATE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_MAX = dso_local local_unnamed_addr global i32 0, align 4
@ide_stopped = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ide_atapi_error], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ide_atapi_error(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @ATA_BUSY, align 4, !tbaa !11
%8 = and i32 %7, %2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = load i32, ptr @ATA_DF, align 4, !tbaa !11
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %24, label %14
14: ; preds = %10
%15 = load i32, ptr %0, align 8, !tbaa !12
%16 = load i32, ptr @IDE_DFLAG_NOWERR, align 4, !tbaa !11
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14, %4
%20 = load i32, ptr @ERROR_RESET, align 4, !tbaa !11
%21 = tail call ptr @scsi_req(ptr noundef %1) #2
%22 = load i32, ptr %21, align 4, !tbaa !13
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 4, !tbaa !13
br label %24
24: ; preds = %10, %14, %19
%25 = load ptr, ptr %6, align 8, !tbaa !15
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = tail call i32 %26(ptr noundef nonnull %6) #2
%28 = load i32, ptr @ATA_BUSY, align 4, !tbaa !11
%29 = load i32, ptr @ATA_DRQ, align 4, !tbaa !11
%30 = or i32 %29, %28
%31 = and i32 %30, %27
%32 = icmp eq i32 %31, 0
br i1 %32, label %39, label %33
33: ; preds = %24
%34 = load ptr, ptr %6, align 8, !tbaa !15
%35 = getelementptr inbounds %struct.TYPE_10__, ptr %34, i64 0, i32 1
%36 = load ptr, ptr %35, align 8, !tbaa !19
%37 = load i32, ptr @ATA_CMD_IDLEIMMEDIATE, align 4, !tbaa !11
%38 = tail call i32 %36(ptr noundef nonnull %6, i32 noundef %37) #2
br label %39
39: ; preds = %33, %24
%40 = tail call ptr @scsi_req(ptr noundef %1) #2
%41 = load i32, ptr %40, align 4, !tbaa !13
%42 = load i32, ptr @ERROR_MAX, align 4, !tbaa !11
%43 = icmp slt i32 %41, %42
br i1 %43, label %46, label %44
44: ; preds = %39
%45 = tail call i32 @ide_kill_rq(ptr noundef nonnull %0, ptr noundef %1) #2
br label %57
46: ; preds = %39
%47 = tail call ptr @scsi_req(ptr noundef %1) #2
%48 = load i32, ptr %47, align 4, !tbaa !13
%49 = load i32, ptr @ERROR_RESET, align 4, !tbaa !11
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, %49
%52 = tail call ptr @scsi_req(ptr noundef %1) #2
%53 = load i32, ptr %52, align 4, !tbaa !13
%54 = add nsw i32 %53, 1
store i32 %54, ptr %52, align 4, !tbaa !13
br i1 %51, label %55, label %57
55: ; preds = %46
%56 = tail call i32 @ide_do_reset(ptr noundef nonnull %0) #2
br label %59
57: ; preds = %46, %44
%58 = load i32, ptr @ide_stopped, align 4, !tbaa !11
br label %59
59: ; preds = %57, %55
%60 = phi i32 [ %58, %57 ], [ %56, %55 ]
ret i32 %60
}
declare ptr @scsi_req(ptr noundef) local_unnamed_addr #1
declare i32 @ide_kill_rq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ide_do_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_13__", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_11__", !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_10__", !10, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/ide/extr_ide-eh.c_ide_atapi_error.c'
source_filename = "AnghaBench/linux/drivers/ide/extr_ide-eh.c_ide_atapi_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATA_BUSY = common local_unnamed_addr global i32 0, align 4
@ATA_DF = common local_unnamed_addr global i32 0, align 4
@IDE_DFLAG_NOWERR = common local_unnamed_addr global i32 0, align 4
@ERROR_RESET = common local_unnamed_addr global i32 0, align 4
@ATA_DRQ = common local_unnamed_addr global i32 0, align 4
@ATA_CMD_IDLEIMMEDIATE = common local_unnamed_addr global i32 0, align 4
@ERROR_MAX = common local_unnamed_addr global i32 0, align 4
@ide_stopped = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ide_atapi_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ide_atapi_error(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr @ATA_BUSY, align 4, !tbaa !12
%8 = and i32 %7, %2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = load i32, ptr @ATA_DF, align 4, !tbaa !12
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %24, label %14
14: ; preds = %10
%15 = load i32, ptr %0, align 8, !tbaa !13
%16 = load i32, ptr @IDE_DFLAG_NOWERR, align 4, !tbaa !12
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14, %4
%20 = load i32, ptr @ERROR_RESET, align 4, !tbaa !12
%21 = tail call ptr @scsi_req(ptr noundef %1) #2
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 4, !tbaa !14
br label %24
24: ; preds = %10, %14, %19
%25 = load ptr, ptr %6, align 8, !tbaa !16
%26 = load ptr, ptr %25, align 8, !tbaa !18
%27 = tail call i32 %26(ptr noundef nonnull %6) #2
%28 = load i32, ptr @ATA_BUSY, align 4, !tbaa !12
%29 = load i32, ptr @ATA_DRQ, align 4, !tbaa !12
%30 = or i32 %29, %28
%31 = and i32 %30, %27
%32 = icmp eq i32 %31, 0
br i1 %32, label %39, label %33
33: ; preds = %24
%34 = load ptr, ptr %6, align 8, !tbaa !16
%35 = getelementptr inbounds i8, ptr %34, i64 8
%36 = load ptr, ptr %35, align 8, !tbaa !20
%37 = load i32, ptr @ATA_CMD_IDLEIMMEDIATE, align 4, !tbaa !12
%38 = tail call i32 %36(ptr noundef nonnull %6, i32 noundef %37) #2
br label %39
39: ; preds = %33, %24
%40 = tail call ptr @scsi_req(ptr noundef %1) #2
%41 = load i32, ptr %40, align 4, !tbaa !14
%42 = load i32, ptr @ERROR_MAX, align 4, !tbaa !12
%43 = icmp slt i32 %41, %42
br i1 %43, label %46, label %44
44: ; preds = %39
%45 = tail call i32 @ide_kill_rq(ptr noundef nonnull %0, ptr noundef %1) #2
br label %57
46: ; preds = %39
%47 = tail call ptr @scsi_req(ptr noundef %1) #2
%48 = load i32, ptr %47, align 4, !tbaa !14
%49 = load i32, ptr @ERROR_RESET, align 4, !tbaa !12
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, %49
%52 = tail call ptr @scsi_req(ptr noundef %1) #2
%53 = load i32, ptr %52, align 4, !tbaa !14
%54 = add nsw i32 %53, 1
store i32 %54, ptr %52, align 4, !tbaa !14
br i1 %51, label %55, label %57
55: ; preds = %46
%56 = tail call i32 @ide_do_reset(ptr noundef nonnull %0) #2
br label %59
57: ; preds = %46, %44
%58 = load i32, ptr @ide_stopped, align 4, !tbaa !12
br label %59
59: ; preds = %57, %55
%60 = phi i32 [ %58, %57 ], [ %56, %55 ]
ret i32 %60
}
declare ptr @scsi_req(ptr noundef) local_unnamed_addr #1
declare i32 @ide_kill_rq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ide_do_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_13__", !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_11__", !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_10__", !11, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 8}
| linux_drivers_ide_extr_ide-eh.c_ide_atapi_error |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_accel.c_NVDmaWait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_accel.c_NVDmaWait.c"
target datalayout = "e-m:e-p270:32:32-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.nvidia_par = type { i32, i32, i32, i32, i32 }
@SKIPS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"DMA Get lockup\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"nvidiafb: DMA Wait Lockup\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @NVDmaWait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @NVDmaWait(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = icmp sgt i32 %4, %1
br i1 %5, label %68, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.nvidia_par, ptr %3, i64 0, i32 1
%8 = getelementptr inbounds %struct.nvidia_par, ptr %3, i64 0, i32 2
%9 = getelementptr inbounds %struct.nvidia_par, ptr %3, i64 0, i32 3
%10 = getelementptr inbounds %struct.nvidia_par, ptr %3, i64 0, i32 4
br label %11
11: ; preds = %6, %62
%12 = phi i32 [ 1000000000, %6 ], [ %13, %62 ]
%13 = add nsw i32 %12, -1
%14 = icmp eq i32 %13, 0
br i1 %14, label %65, label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4, !tbaa !13
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %68
18: ; preds = %15
%19 = tail call i32 @READ_GET(ptr noundef nonnull %3) #2
%20 = load i32, ptr %8, align 4, !tbaa !14
%21 = icmp slt i32 %20, %19
br i1 %21, label %55, label %22
22: ; preds = %18
%23 = load i32, ptr %9, align 4, !tbaa !15
%24 = load i32, ptr %10, align 4, !tbaa !16
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %3, align 4, !tbaa !10
%26 = icmp sgt i32 %25, %1
br i1 %26, label %62, label %27
27: ; preds = %22
%28 = tail call i32 @NVDmaNext(ptr noundef nonnull %3, i32 noundef 536870912) #2
%29 = load i32, ptr @SKIPS, align 4, !tbaa !17
%30 = icmp sgt i32 %19, %29
br i1 %30, label %50, label %31
31: ; preds = %27
%32 = load i32, ptr %8, align 4, !tbaa !14
%33 = icmp sgt i32 %32, %29
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = add nsw i32 %29, 1
%36 = tail call i32 @WRITE_PUT(ptr noundef nonnull %3, i32 noundef %35) #2
br label %37
37: ; preds = %34, %31
br label %38
38: ; preds = %37, %38
%39 = phi i32 [ %41, %38 ], [ 1000000000, %37 ]
%40 = tail call i32 @READ_GET(ptr noundef nonnull %3) #2
%41 = add nsw i32 %39, -1
%42 = icmp ne i32 %41, 0
%43 = load i32, ptr @SKIPS, align 4
%44 = icmp sle i32 %40, %43
%45 = select i1 %42, i1 %44, i1 false
br i1 %45, label %38, label %46, !llvm.loop !18
46: ; preds = %38
br i1 %42, label %50, label %47
47: ; preds = %46
%48 = tail call i32 @printk(ptr noundef nonnull @.str) #2
store i32 1, ptr %7, align 4, !tbaa !13
%49 = load i32, ptr @SKIPS, align 4, !tbaa !17
br label %50
50: ; preds = %46, %47, %27
%51 = phi i32 [ %43, %46 ], [ %49, %47 ], [ %29, %27 ]
%52 = phi i32 [ %40, %46 ], [ %40, %47 ], [ %19, %27 ]
%53 = tail call i32 @WRITE_PUT(ptr noundef nonnull %3, i32 noundef %51) #2
%54 = load i32, ptr @SKIPS, align 4, !tbaa !17
store i32 %54, ptr %8, align 4, !tbaa !14
store i32 %54, ptr %10, align 4, !tbaa !16
br label %57
55: ; preds = %18
%56 = load i32, ptr %10, align 4, !tbaa !16
br label %57
57: ; preds = %55, %50
%58 = phi i32 [ %56, %55 ], [ %54, %50 ]
%59 = phi i32 [ %19, %55 ], [ %52, %50 ]
%60 = xor i32 %58, -1
%61 = add i32 %59, %60
store i32 %61, ptr %3, align 4, !tbaa !10
br label %62
62: ; preds = %57, %22
%63 = phi i32 [ %25, %22 ], [ %61, %57 ]
%64 = icmp sgt i32 %63, %1
br i1 %64, label %68, label %11, !llvm.loop !20
65: ; preds = %11
%66 = tail call i32 @printk(ptr noundef nonnull @.str.1) #2
%67 = tail call i32 @nvidiafb_safe_mode(ptr noundef nonnull %0) #2
br label %68
68: ; preds = %62, %15, %2, %65
ret void
}
declare i32 @READ_GET(ptr noundef) local_unnamed_addr #1
declare i32 @NVDmaNext(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WRITE_PUT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef) local_unnamed_addr #1
declare i32 @nvidiafb_safe_mode(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fb_info", !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 = !{!"nvidia_par", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 12}
!16 = !{!11, !12, i64 16}
!17 = !{!12, !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_accel.c_NVDmaWait.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_accel.c_NVDmaWait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SKIPS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"DMA Get lockup\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"nvidiafb: DMA Wait Lockup\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @NVDmaWait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @NVDmaWait(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = icmp sgt i32 %4, %1
br i1 %5, label %68, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %3, i64 4
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = getelementptr inbounds i8, ptr %3, i64 12
%10 = getelementptr inbounds i8, ptr %3, i64 16
br label %11
11: ; preds = %6, %62
%12 = phi i32 [ 1000000000, %6 ], [ %13, %62 ]
%13 = add nsw i32 %12, -1
%14 = icmp eq i32 %13, 0
br i1 %14, label %65, label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %68
18: ; preds = %15
%19 = tail call i32 @READ_GET(ptr noundef nonnull %3) #2
%20 = load i32, ptr %8, align 4, !tbaa !15
%21 = icmp slt i32 %20, %19
br i1 %21, label %55, label %22
22: ; preds = %18
%23 = load i32, ptr %9, align 4, !tbaa !16
%24 = load i32, ptr %10, align 4, !tbaa !17
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %3, align 4, !tbaa !11
%26 = icmp sgt i32 %25, %1
br i1 %26, label %62, label %27
27: ; preds = %22
%28 = tail call i32 @NVDmaNext(ptr noundef nonnull %3, i32 noundef 536870912) #2
%29 = load i32, ptr @SKIPS, align 4, !tbaa !18
%30 = icmp sgt i32 %19, %29
br i1 %30, label %50, label %31
31: ; preds = %27
%32 = load i32, ptr %8, align 4, !tbaa !15
%33 = icmp sgt i32 %32, %29
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = add nsw i32 %29, 1
%36 = tail call i32 @WRITE_PUT(ptr noundef nonnull %3, i32 noundef %35) #2
br label %37
37: ; preds = %34, %31
br label %38
38: ; preds = %37, %38
%39 = phi i32 [ %41, %38 ], [ 1000000000, %37 ]
%40 = tail call i32 @READ_GET(ptr noundef nonnull %3) #2
%41 = add nsw i32 %39, -1
%42 = icmp ne i32 %41, 0
%43 = load i32, ptr @SKIPS, align 4
%44 = icmp sle i32 %40, %43
%45 = select i1 %42, i1 %44, i1 false
br i1 %45, label %38, label %46, !llvm.loop !19
46: ; preds = %38
br i1 %42, label %50, label %47
47: ; preds = %46
%48 = tail call i32 @printk(ptr noundef nonnull @.str) #2
store i32 1, ptr %7, align 4, !tbaa !14
%49 = load i32, ptr @SKIPS, align 4, !tbaa !18
br label %50
50: ; preds = %46, %47, %27
%51 = phi i32 [ %43, %46 ], [ %49, %47 ], [ %29, %27 ]
%52 = phi i32 [ %40, %46 ], [ %40, %47 ], [ %19, %27 ]
%53 = tail call i32 @WRITE_PUT(ptr noundef nonnull %3, i32 noundef %51) #2
%54 = load i32, ptr @SKIPS, align 4, !tbaa !18
store i32 %54, ptr %8, align 4, !tbaa !15
store i32 %54, ptr %10, align 4, !tbaa !17
br label %57
55: ; preds = %18
%56 = load i32, ptr %10, align 4, !tbaa !17
br label %57
57: ; preds = %55, %50
%58 = phi i32 [ %54, %50 ], [ %56, %55 ]
%59 = phi i32 [ %52, %50 ], [ %19, %55 ]
%60 = xor i32 %58, -1
%61 = add i32 %59, %60
store i32 %61, ptr %3, align 4, !tbaa !11
br label %62
62: ; preds = %57, %22
%63 = phi i32 [ %25, %22 ], [ %61, %57 ]
%64 = icmp sgt i32 %63, %1
br i1 %64, label %68, label %11, !llvm.loop !21
65: ; preds = %11
%66 = tail call i32 @printk(ptr noundef nonnull @.str.1) #2
%67 = tail call i32 @nvidiafb_safe_mode(ptr noundef nonnull %0) #2
br label %68
68: ; preds = %62, %15, %2, %65
ret void
}
declare i32 @READ_GET(ptr noundef) local_unnamed_addr #1
declare i32 @NVDmaNext(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WRITE_PUT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef) local_unnamed_addr #1
declare i32 @nvidiafb_safe_mode(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fb_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"nvidia_par", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 12}
!17 = !{!12, !13, i64 16}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
| fastsocket_kernel_drivers_video_nvidia_extr_nv_accel.c_NVDmaWait |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/disp/extr_nv50.c_nv50_disp_dmac_dtor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/disp/extr_nv50.c_nv50_disp_dmac_dtor.c"
target datalayout = "e-m:e-p270:32:32-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.nv50_disp_dmac = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @nv50_disp_dmac_dtor(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.nv50_disp_dmac, ptr %0, i64 0, i32 1
%3 = tail call i32 @nouveau_object_ref(ptr noundef null, ptr noundef nonnull %2) #2
%4 = tail call i32 @nv50_disp_chan_destroy(ptr noundef %0) #2
ret void
}
declare i32 @nouveau_object_ref(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nv50_disp_chan_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/disp/extr_nv50.c_nv50_disp_dmac_dtor.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/disp/extr_nv50.c_nv50_disp_dmac_dtor.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 @nv50_disp_dmac_dtor(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @nouveau_object_ref(ptr noundef null, ptr noundef nonnull %2) #2
%4 = tail call i32 @nv50_disp_chan_destroy(ptr noundef %0) #2
ret void
}
declare i32 @nouveau_object_ref(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nv50_disp_chan_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_disp_extr_nv50.c_nv50_disp_dmac_dtor |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_sm_qfull.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_sm_qfull.c"
target datalayout = "e-m:e-p270:32:32-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.bfa_ioim_s = type { i32, i32, i32, ptr }
@bfa_ioim_sm_active = dso_local local_unnamed_addr global i32 0, align 4
@bfa_ioim_sm_hcb = dso_local local_unnamed_addr global i32 0, align 4
@__bfa_cb_ioim_abort = dso_local local_unnamed_addr global i32 0, align 4
@__bfa_cb_ioim_failed = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioim_sm_qfull], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_ioim_sm_qfull(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = tail call i32 @bfa_trc(i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = tail call i32 @bfa_trc(i32 noundef %7, i32 noundef %1) #2
switch i32 %1, label %46 [
i32 128, label %9
i32 131, label %13
i32 130, label %24
i32 129, label %35
]
9: ; preds = %2
%10 = load i32, ptr @bfa_ioim_sm_active, align 4, !tbaa !12
%11 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = tail call i32 @bfa_ioim_send_ioreq(ptr noundef nonnull %0) #2
br label %49
13: ; preds = %2
%14 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !12
%15 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 3
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @bfa_reqq_wcancel(ptr noundef %17) #2
%19 = tail call i32 @bfa_ioim_move_to_comp_q(ptr noundef nonnull %0) #2
%20 = load i32, ptr %3, align 4, !tbaa !5
%21 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 2
%22 = load i32, ptr @__bfa_cb_ioim_abort, align 4, !tbaa !12
%23 = tail call i32 @bfa_cb_queue(i32 noundef %20, ptr noundef nonnull %21, i32 noundef %22, ptr noundef nonnull %0) #2
br label %49
24: ; preds = %2
%25 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !12
%26 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %25) #2
%27 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 3
%28 = load ptr, ptr %27, align 8, !tbaa !13
%29 = tail call i32 @bfa_reqq_wcancel(ptr noundef %28) #2
%30 = load i32, ptr %3, align 4, !tbaa !5
%31 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 2
%32 = load i32, ptr @__bfa_cb_ioim_failed, align 4, !tbaa !12
%33 = tail call i32 @bfa_cb_queue(i32 noundef %30, ptr noundef nonnull %31, i32 noundef %32, ptr noundef nonnull %0) #2
%34 = tail call i32 @bfa_ioim_notify_cleanup(ptr noundef nonnull %0) #2
br label %49
35: ; preds = %2
%36 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !12
%37 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %36) #2
%38 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 3
%39 = load ptr, ptr %38, align 8, !tbaa !13
%40 = tail call i32 @bfa_reqq_wcancel(ptr noundef %39) #2
%41 = tail call i32 @bfa_ioim_move_to_comp_q(ptr noundef nonnull %0) #2
%42 = load i32, ptr %3, align 4, !tbaa !5
%43 = getelementptr inbounds %struct.bfa_ioim_s, ptr %0, i64 0, i32 2
%44 = load i32, ptr @__bfa_cb_ioim_failed, align 4, !tbaa !12
%45 = tail call i32 @bfa_cb_queue(i32 noundef %42, ptr noundef nonnull %43, i32 noundef %44, ptr noundef nonnull %0) #2
br label %49
46: ; preds = %2
%47 = load i32, ptr %3, align 4, !tbaa !5
%48 = tail call i32 @bfa_sm_fault(i32 noundef %47, i32 noundef %1) #2
br label %49
49: ; preds = %46, %35, %24, %13, %9
ret void
}
declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_send_ioreq(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_reqq_wcancel(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_move_to_comp_q(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_cb_queue(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_notify_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_sm_fault(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"bfa_ioim_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_sm_qfull.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_ioim_sm_qfull.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bfa_ioim_sm_active = common local_unnamed_addr global i32 0, align 4
@bfa_ioim_sm_hcb = common local_unnamed_addr global i32 0, align 4
@__bfa_cb_ioim_abort = common local_unnamed_addr global i32 0, align 4
@__bfa_cb_ioim_failed = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfa_ioim_sm_qfull], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_ioim_sm_qfull(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = tail call i32 @bfa_trc(i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = tail call i32 @bfa_trc(i32 noundef %7, i32 noundef %1) #2
switch i32 %1, label %46 [
i32 128, label %9
i32 131, label %13
i32 130, label %24
i32 129, label %35
]
9: ; preds = %2
%10 = load i32, ptr @bfa_ioim_sm_active, align 4, !tbaa !13
%11 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = tail call i32 @bfa_ioim_send_ioreq(ptr noundef nonnull %0) #2
br label %49
13: ; preds = %2
%14 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !13
%15 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = tail call i32 @bfa_reqq_wcancel(ptr noundef %17) #2
%19 = tail call i32 @bfa_ioim_move_to_comp_q(ptr noundef nonnull %0) #2
%20 = load i32, ptr %3, align 4, !tbaa !6
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i32, ptr @__bfa_cb_ioim_abort, align 4, !tbaa !13
%23 = tail call i32 @bfa_cb_queue(i32 noundef %20, ptr noundef nonnull %21, i32 noundef %22, ptr noundef nonnull %0) #2
br label %49
24: ; preds = %2
%25 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !13
%26 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 16
%28 = load ptr, ptr %27, align 8, !tbaa !14
%29 = tail call i32 @bfa_reqq_wcancel(ptr noundef %28) #2
%30 = load i32, ptr %3, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load i32, ptr @__bfa_cb_ioim_failed, align 4, !tbaa !13
%33 = tail call i32 @bfa_cb_queue(i32 noundef %30, ptr noundef nonnull %31, i32 noundef %32, ptr noundef nonnull %0) #2
%34 = tail call i32 @bfa_ioim_notify_cleanup(ptr noundef nonnull %0) #2
br label %49
35: ; preds = %2
%36 = load i32, ptr @bfa_ioim_sm_hcb, align 4, !tbaa !13
%37 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %36) #2
%38 = getelementptr inbounds i8, ptr %0, i64 16
%39 = load ptr, ptr %38, align 8, !tbaa !14
%40 = tail call i32 @bfa_reqq_wcancel(ptr noundef %39) #2
%41 = tail call i32 @bfa_ioim_move_to_comp_q(ptr noundef nonnull %0) #2
%42 = load i32, ptr %3, align 4, !tbaa !6
%43 = getelementptr inbounds i8, ptr %0, i64 8
%44 = load i32, ptr @__bfa_cb_ioim_failed, align 4, !tbaa !13
%45 = tail call i32 @bfa_cb_queue(i32 noundef %42, ptr noundef nonnull %43, i32 noundef %44, ptr noundef nonnull %0) #2
br label %49
46: ; preds = %2
%47 = load i32, ptr %3, align 4, !tbaa !6
%48 = tail call i32 @bfa_sm_fault(i32 noundef %47, i32 noundef %1) #2
br label %49
49: ; preds = %46, %35, %24, %13, %9
ret void
}
declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_send_ioreq(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_reqq_wcancel(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_move_to_comp_q(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_cb_queue(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfa_ioim_notify_cleanup(ptr noundef) local_unnamed_addr #1
declare i32 @bfa_sm_fault(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"bfa_ioim_s", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 16}
| fastsocket_kernel_drivers_scsi_bfa_extr_bfa_fcpim.c_bfa_ioim_sm_qfull |
; ModuleID = 'AnghaBench/lede/target/linux/ar71xx/files/arch/mips/ath79/extr_mach-eap7660d.c_eap7660d_pci_init.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/arch/mips/ath79/extr_mach-eap7660d.c_eap7660d_pci_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap7660d_pci_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @eap7660d_pci_init(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
ret void
}
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/target/linux/ar71xx/files/arch/mips/ath79/extr_mach-eap7660d.c_eap7660d_pci_init.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/arch/mips/ath79/extr_mach-eap7660d.c_eap7660d_pci_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @eap7660d_pci_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @eap7660d_pci_init(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
ret void
}
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_target_linux_ar71xx_files_arch_mips_ath79_extr_mach-eap7660d.c_eap7660d_pci_init |
; ModuleID = 'AnghaBench/linux/arch/mips/loongson64/lemote-2f/extr_ec_kb3310b.c_ec_query_event_num.c'
source_filename = "AnghaBench/linux/arch/mips/loongson64/lemote-2f/extr_ec_kb3310b.c_ec_query_event_num.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CMD_GET_EVENT_NUM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ec_query_event_num() local_unnamed_addr #0 {
%1 = load i32, ptr @CMD_GET_EVENT_NUM, align 4, !tbaa !5
%2 = tail call i32 @ec_query_seq(i32 noundef %1) #2
ret i32 %2
}
declare i32 @ec_query_seq(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/arch/mips/loongson64/lemote-2f/extr_ec_kb3310b.c_ec_query_event_num.c'
source_filename = "AnghaBench/linux/arch/mips/loongson64/lemote-2f/extr_ec_kb3310b.c_ec_query_event_num.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMD_GET_EVENT_NUM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ec_query_event_num() local_unnamed_addr #0 {
%1 = load i32, ptr @CMD_GET_EVENT_NUM, align 4, !tbaa !6
%2 = tail call i32 @ec_query_seq(i32 noundef %1) #2
ret i32 %2
}
declare i32 @ec_query_seq(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_arch_mips_loongson64_lemote-2f_extr_ec_kb3310b.c_ec_query_event_num |
; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/extr_kuhl_m_lsadump.c_kuhl_m_lsadump_bkey.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/extr_kuhl_m_lsadump.c_kuhl_m_lsadump_bkey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64 }
@.str = private unnamed_addr constant [7 x i32] [i32 101, i32 120, i32 112, i32 111, i32 114, i32 116, i32 0], align 4
@.str.1 = private unnamed_addr constant [7 x i32] [i32 115, i32 101, i32 99, i32 114, i32 101, i32 116, i32 0], align 4
@.str.2 = private unnamed_addr constant [7 x i32] [i32 115, i32 121, i32 115, i32 116, i32 101, i32 109, i32 0], align 4
@.str.3 = private unnamed_addr constant [5 x i32] [i32 103, i32 117, i32 105, i32 100, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@.str.5 = private unnamed_addr constant [27 x i32] [i32 32, i32 115, i32 101, i32 101, i32 109, i32 115, i32 32, i32 116, i32 111, i32 32, i32 98, i32 101, i32 32, i32 97, i32 32, i32 118, i32 97, i32 108, i32 105, i32 100, i32 32, i32 71, i32 85, i32 73, i32 68, i32 10, i32 0], align 4
@.str.6 = private unnamed_addr constant [28 x i32] [i32 73, i32 110, i32 118, i32 97, i32 108, i32 105, i32 100, i32 32, i32 71, i32 85, i32 73, i32 68, i32 32, i32 40, i32 48, i32 120, i32 37, i32 48, i32 56, i32 120, i32 41, i32 32, i32 59, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.7 = private unnamed_addr constant [30 x i32] [i32 10, i32 67, i32 117, i32 114, i32 114, i32 101, i32 110, i32 116, i32 32, i32 112, i32 114, i32 101, i32 102, i32 101, i32 114, i32 101, i32 100, i32 32, i32 107, i32 101, i32 121, i32 58, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 0], align 4
@.str.8 = private unnamed_addr constant [21 x i32] [i32 71, i32 36, i32 66, i32 67, i32 75, i32 85, i32 80, i32 75, i32 69, i32 89, i32 95, i32 80, i32 82, i32 69, i32 70, i32 69, i32 82, i32 82, i32 69, i32 68, i32 0], align 4
@.str.9 = private unnamed_addr constant [47 x i32] [i32 107, i32 117, i32 104, i32 108, i32 95, i32 109, i32 95, i32 108, i32 115, i32 97, i32 100, i32 117, i32 109, i32 112, i32 95, i32 76, i32 115, i32 97, i32 82, i32 101, i32 116, i32 114, i32 105, i32 101, i32 118, i32 101, i32 80, i32 114, i32 105, i32 118, i32 97, i32 116, i32 101, i32 68, i32 97, i32 116, i32 97, i32 58, i32 32, i32 48, i32 120, i32 37, i32 48, i32 56, i32 120, i32 10, i32 0], align 4
@.str.10 = private unnamed_addr constant [30 x i32] [i32 10, i32 67, i32 111, i32 109, i32 112, i32 97, i32 116, i32 105, i32 98, i32 105, i32 108, i32 105, i32 116, i32 121, i32 32, i32 112, i32 114, i32 101, i32 102, i32 101, i32 114, i32 101, i32 100, i32 32, i32 107, i32 101, i32 121, i32 58, i32 32, i32 0], align 4
@.str.11 = private unnamed_addr constant [13 x i32] [i32 71, i32 36, i32 66, i32 67, i32 75, i32 85, i32 80, i32 75, i32 69, i32 89, i32 95, i32 80, i32 0], align 4
@STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kuhl_m_lsadump_bkey(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !5
%7 = tail call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null) #3
%8 = tail call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef null) #3
%9 = call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %6, ptr noundef null) #3
%10 = call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %5, ptr noundef null) #3
%11 = load ptr, ptr %5, align 8, !tbaa !5
%12 = icmp eq ptr %11, null
br i1 %12, label %27, label %13
13: ; preds = %2
%14 = call i32 @RtlInitUnicodeString(ptr noundef nonnull %3, ptr noundef nonnull %11) #3
%15 = call i32 @RtlGUIDFromString(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%16 = call i64 @NT_SUCCESS(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %13
%19 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%20 = call i32 @kull_m_string_displayGUID(ptr noundef nonnull %4) #3
%21 = call i32 @kprintf(ptr noundef nonnull @.str.5) #3
%22 = load ptr, ptr %6, align 8, !tbaa !5
%23 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef nonnull %4, i32 noundef %7, ptr noundef %22, i32 noundef %8) #3
br label %65
24: ; preds = %13
%25 = load ptr, ptr %5, align 8, !tbaa !5
%26 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.6, i32 noundef %15, ptr noundef %25) #3
br label %65
27: ; preds = %2
%28 = call i32 @kprintf(ptr noundef nonnull @.str.7) #3
%29 = load ptr, ptr %6, align 8, !tbaa !5
%30 = call i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef %29, ptr noundef nonnull @.str.8, ptr noundef nonnull %3, i32 noundef %8) #3
%31 = call i64 @NT_SUCCESS(i32 noundef %30) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %44, label %33
33: ; preds = %27
%34 = load i64, ptr %3, align 8, !tbaa !9
%35 = inttoptr i64 %34 to ptr
%36 = call i32 @kull_m_string_displayGUID(ptr noundef %35) #3
%37 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%38 = load i64, ptr %3, align 8, !tbaa !9
%39 = inttoptr i64 %38 to ptr
%40 = load ptr, ptr %6, align 8, !tbaa !5
%41 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef %39, i32 noundef %7, ptr noundef %40, i32 noundef %8) #3
%42 = load i64, ptr %3, align 8, !tbaa !9
%43 = call i32 @LocalFree(i64 noundef %42) #3
br label %46
44: ; preds = %27
%45 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.9, i32 noundef %30) #3
br label %46
46: ; preds = %44, %33
%47 = call i32 @kprintf(ptr noundef nonnull @.str.10) #3
%48 = load ptr, ptr %6, align 8, !tbaa !5
%49 = call i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef %48, ptr noundef nonnull @.str.11, ptr noundef nonnull %3, i32 noundef %8) #3
%50 = call i64 @NT_SUCCESS(i32 noundef %49) #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %63, label %52
52: ; preds = %46
%53 = load i64, ptr %3, align 8, !tbaa !9
%54 = inttoptr i64 %53 to ptr
%55 = call i32 @kull_m_string_displayGUID(ptr noundef %54) #3
%56 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%57 = load i64, ptr %3, align 8, !tbaa !9
%58 = inttoptr i64 %57 to ptr
%59 = load ptr, ptr %6, align 8, !tbaa !5
%60 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef %58, i32 noundef %7, ptr noundef %59, i32 noundef %8) #3
%61 = load i64, ptr %3, align 8, !tbaa !9
%62 = call i32 @LocalFree(i64 noundef %61) #3
br label %65
63: ; preds = %46
%64 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.9, i32 noundef %49) #3
br label %65
65: ; preds = %52, %63, %18, %24
%66 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @kull_m_string_args_byName(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlInitUnicodeString(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlGUIDFromString(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @kprintf(ptr noundef) local_unnamed_addr #2
declare i32 @kull_m_string_displayGUID(ptr noundef) local_unnamed_addr #2
declare i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PRINT_ERROR(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LocalFree(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/extr_kuhl_m_lsadump.c_kuhl_m_lsadump_bkey.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/extr_kuhl_m_lsadump.c_kuhl_m_lsadump_bkey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64 }
@.str = private unnamed_addr constant [7 x i32] [i32 101, i32 120, i32 112, i32 111, i32 114, i32 116, i32 0], align 4
@.str.1 = private unnamed_addr constant [7 x i32] [i32 115, i32 101, i32 99, i32 114, i32 101, i32 116, i32 0], align 4
@.str.2 = private unnamed_addr constant [7 x i32] [i32 115, i32 121, i32 115, i32 116, i32 101, i32 109, i32 0], align 4
@.str.3 = private unnamed_addr constant [5 x i32] [i32 103, i32 117, i32 105, i32 100, i32 0], align 4
@.str.4 = private unnamed_addr constant [2 x i32] [i32 10, i32 0], align 4
@.str.5 = private unnamed_addr constant [27 x i32] [i32 32, i32 115, i32 101, i32 101, i32 109, i32 115, i32 32, i32 116, i32 111, i32 32, i32 98, i32 101, i32 32, i32 97, i32 32, i32 118, i32 97, i32 108, i32 105, i32 100, i32 32, i32 71, i32 85, i32 73, i32 68, i32 10, i32 0], align 4
@.str.6 = private unnamed_addr constant [28 x i32] [i32 73, i32 110, i32 118, i32 97, i32 108, i32 105, i32 100, i32 32, i32 71, i32 85, i32 73, i32 68, i32 32, i32 40, i32 48, i32 120, i32 37, i32 48, i32 56, i32 120, i32 41, i32 32, i32 59, i32 32, i32 37, i32 115, i32 10, i32 0], align 4
@.str.7 = private unnamed_addr constant [30 x i32] [i32 10, i32 67, i32 117, i32 114, i32 114, i32 101, i32 110, i32 116, i32 32, i32 112, i32 114, i32 101, i32 102, i32 101, i32 114, i32 101, i32 100, i32 32, i32 107, i32 101, i32 121, i32 58, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 0], align 4
@.str.8 = private unnamed_addr constant [21 x i32] [i32 71, i32 36, i32 66, i32 67, i32 75, i32 85, i32 80, i32 75, i32 69, i32 89, i32 95, i32 80, i32 82, i32 69, i32 70, i32 69, i32 82, i32 82, i32 69, i32 68, i32 0], align 4
@.str.9 = private unnamed_addr constant [47 x i32] [i32 107, i32 117, i32 104, i32 108, i32 95, i32 109, i32 95, i32 108, i32 115, i32 97, i32 100, i32 117, i32 109, i32 112, i32 95, i32 76, i32 115, i32 97, i32 82, i32 101, i32 116, i32 114, i32 105, i32 101, i32 118, i32 101, i32 80, i32 114, i32 105, i32 118, i32 97, i32 116, i32 101, i32 68, i32 97, i32 116, i32 97, i32 58, i32 32, i32 48, i32 120, i32 37, i32 48, i32 56, i32 120, i32 10, i32 0], align 4
@.str.10 = private unnamed_addr constant [30 x i32] [i32 10, i32 67, i32 111, i32 109, i32 112, i32 97, i32 116, i32 105, i32 98, i32 105, i32 108, i32 105, i32 116, i32 121, i32 32, i32 112, i32 114, i32 101, i32 102, i32 101, i32 114, i32 101, i32 100, i32 32, i32 107, i32 101, i32 121, i32 58, i32 32, i32 0], align 4
@.str.11 = private unnamed_addr constant [13 x i32] [i32 71, i32 36, i32 66, i32 67, i32 75, i32 85, i32 80, i32 75, i32 69, i32 89, i32 95, i32 80, i32 0], align 4
@STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kuhl_m_lsadump_bkey(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !6
%7 = tail call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null) #3
%8 = tail call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef null) #3
%9 = call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %6, ptr noundef null) #3
%10 = call i32 @kull_m_string_args_byName(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %5, ptr noundef null) #3
%11 = load ptr, ptr %5, align 8, !tbaa !6
%12 = icmp eq ptr %11, null
br i1 %12, label %27, label %13
13: ; preds = %2
%14 = call i32 @RtlInitUnicodeString(ptr noundef nonnull %3, ptr noundef nonnull %11) #3
%15 = call i32 @RtlGUIDFromString(ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%16 = call i64 @NT_SUCCESS(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %13
%19 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%20 = call i32 @kull_m_string_displayGUID(ptr noundef nonnull %4) #3
%21 = call i32 @kprintf(ptr noundef nonnull @.str.5) #3
%22 = load ptr, ptr %6, align 8, !tbaa !6
%23 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef nonnull %4, i32 noundef %7, ptr noundef %22, i32 noundef %8) #3
br label %65
24: ; preds = %13
%25 = load ptr, ptr %5, align 8, !tbaa !6
%26 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.6, i32 noundef %15, ptr noundef %25) #3
br label %65
27: ; preds = %2
%28 = call i32 @kprintf(ptr noundef nonnull @.str.7) #3
%29 = load ptr, ptr %6, align 8, !tbaa !6
%30 = call i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef %29, ptr noundef nonnull @.str.8, ptr noundef nonnull %3, i32 noundef %8) #3
%31 = call i64 @NT_SUCCESS(i32 noundef %30) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %44, label %33
33: ; preds = %27
%34 = load i64, ptr %3, align 8, !tbaa !10
%35 = inttoptr i64 %34 to ptr
%36 = call i32 @kull_m_string_displayGUID(ptr noundef %35) #3
%37 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%38 = load i64, ptr %3, align 8, !tbaa !10
%39 = inttoptr i64 %38 to ptr
%40 = load ptr, ptr %6, align 8, !tbaa !6
%41 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef %39, i32 noundef %7, ptr noundef %40, i32 noundef %8) #3
%42 = load i64, ptr %3, align 8, !tbaa !10
%43 = call i32 @LocalFree(i64 noundef %42) #3
br label %46
44: ; preds = %27
%45 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.9, i32 noundef %30) #3
br label %46
46: ; preds = %44, %33
%47 = call i32 @kprintf(ptr noundef nonnull @.str.10) #3
%48 = load ptr, ptr %6, align 8, !tbaa !6
%49 = call i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef %48, ptr noundef nonnull @.str.11, ptr noundef nonnull %3, i32 noundef %8) #3
%50 = call i64 @NT_SUCCESS(i32 noundef %49) #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %63, label %52
52: ; preds = %46
%53 = load i64, ptr %3, align 8, !tbaa !10
%54 = inttoptr i64 %53 to ptr
%55 = call i32 @kull_m_string_displayGUID(ptr noundef %54) #3
%56 = call i32 @kprintf(ptr noundef nonnull @.str.4) #3
%57 = load i64, ptr %3, align 8, !tbaa !10
%58 = inttoptr i64 %57 to ptr
%59 = load ptr, ptr %6, align 8, !tbaa !6
%60 = call i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef %58, i32 noundef %7, ptr noundef %59, i32 noundef %8) #3
%61 = load i64, ptr %3, align 8, !tbaa !10
%62 = call i32 @LocalFree(i64 noundef %61) #3
br label %65
63: ; preds = %46
%64 = call i32 (ptr, i32, ...) @PRINT_ERROR(ptr noundef nonnull @.str.9, i32 noundef %49) #3
br label %65
65: ; preds = %52, %63, %18, %24
%66 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @kull_m_string_args_byName(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlInitUnicodeString(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlGUIDFromString(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @kprintf(ptr noundef) local_unnamed_addr #2
declare i32 @kull_m_string_displayGUID(ptr noundef) local_unnamed_addr #2
declare i32 @kuhl_m_lsadump_getKeyFromGUID(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PRINT_ERROR(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @kuhl_m_lsadump_LsaRetrievePrivateData(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LocalFree(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| mimikatz_mimikatz_modules_extr_kuhl_m_lsadump.c_kuhl_m_lsadump_bkey |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_simscsi.c_simscsi_readwrite6.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_simscsi.c_simscsi_readwrite6.c"
target datalayout = "e-m:e-p270:32:32-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 @simscsi_readwrite6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @simscsi_readwrite6(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds i32, ptr %3, i64 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = shl i32 %5, 16
%7 = and i32 %6, 2031616
%8 = getelementptr inbounds i32, ptr %3, i64 2
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = shl i32 %9, 8
%11 = or i32 %7, %10
%12 = getelementptr inbounds i32, ptr %3, i64 3
%13 = load i32, ptr %12, align 4, !tbaa !10
%14 = or i32 %11, %13
%15 = shl nsw i32 %14, 9
%16 = sext i32 %15 to i64
%17 = tail call i32 @simscsi_sg_readwrite(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %16) #2
ret void
}
declare i32 @simscsi_sg_readwrite(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"scsi_cmnd", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_simscsi.c_simscsi_readwrite6.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/hp/sim/extr_simscsi.c_simscsi_readwrite6.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 @simscsi_readwrite6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @simscsi_readwrite6(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = shl i32 %5, 16
%7 = and i32 %6, 2031616
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = shl i32 %9, 8
%11 = or i32 %7, %10
%12 = getelementptr inbounds i8, ptr %3, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = or i32 %11, %13
%15 = shl nsw i32 %14, 9
%16 = sext i32 %15 to i64
%17 = tail call i32 @simscsi_sg_readwrite(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %16) #2
ret void
}
declare i32 @simscsi_sg_readwrite(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"scsi_cmnd", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_arch_ia64_hp_sim_extr_simscsi.c_simscsi_readwrite6 |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_al_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_al_ix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_move_8_al_ix() local_unnamed_addr #0 {
%1 = tail call i32 (...) @OPER_AY_IX_8() #2
%2 = tail call i32 (...) @EA_AL_8() #2
%3 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2
%4 = tail call i32 @NFLAG_8(i32 noundef %1) #2
store i32 %4, ptr @FLAG_N, align 4, !tbaa !5
store i32 %1, ptr @FLAG_Z, align 4, !tbaa !5
%5 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %5, ptr @FLAG_V, align 4, !tbaa !5
%6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5
store i32 %6, ptr @FLAG_C, align 4, !tbaa !5
ret void
}
declare i32 @OPER_AY_IX_8(...) local_unnamed_addr #1
declare i32 @EA_AL_8(...) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_al_ix.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_al_ix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_move_8_al_ix() local_unnamed_addr #0 {
%1 = tail call i32 @OPER_AY_IX_8() #2
%2 = tail call i32 @EA_AL_8() #2
%3 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2
%4 = tail call i32 @NFLAG_8(i32 noundef %1) #2
store i32 %4, ptr @FLAG_N, align 4, !tbaa !6
store i32 %1, ptr @FLAG_Z, align 4, !tbaa !6
%5 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %5, ptr @FLAG_V, align 4, !tbaa !6
%6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6
store i32 %6, ptr @FLAG_C, align 4, !tbaa !6
ret void
}
declare i32 @OPER_AY_IX_8(...) local_unnamed_addr #1
declare i32 @EA_AL_8(...) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_move_8_al_ix |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_jpeg2000dec.c_jpeg2000_dec_cleanup.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_jpeg2000dec.c_jpeg2000_dec_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr }
%struct.TYPE_7__ = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @jpeg2000_dec_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @jpeg2000_dec_cleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %2, align 4, !tbaa !11
%5 = mul nsw i32 %4, %3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %50
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 7
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
br label %10
10: ; preds = %7, %43
%11 = phi i32 [ %4, %7 ], [ %44, %43 ]
%12 = phi i32 [ %3, %7 ], [ %45, %43 ]
%13 = phi i64 [ 0, %7 ], [ %46, %43 ]
%14 = load ptr, ptr %8, align 8, !tbaa !12
%15 = getelementptr inbounds %struct.TYPE_7__, ptr %14, i64 %13
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = icmp eq ptr %16, null
br i1 %17, label %43, label %18
18: ; preds = %10
%19 = load i32, ptr %9, align 8, !tbaa !15
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %37
21: ; preds = %18, %21
%22 = phi i64 [ %31, %21 ], [ 0, %18 ]
%23 = load ptr, ptr %8, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 %13
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 %22
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 %13, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !16
%29 = getelementptr inbounds i32, ptr %28, i64 %22
%30 = tail call i32 @ff_jpeg2000_cleanup(ptr noundef %26, ptr noundef %29) #2
%31 = add nuw nsw i64 %22, 1
%32 = load i32, ptr %9, align 8, !tbaa !15
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %21, label %35, !llvm.loop !17
35: ; preds = %21
%36 = load ptr, ptr %8, align 8, !tbaa !12
br label %37
37: ; preds = %35, %18
%38 = phi ptr [ %36, %35 ], [ %14, %18 ]
%39 = getelementptr inbounds %struct.TYPE_7__, ptr %38, i64 %13
%40 = tail call i32 @av_freep(ptr noundef %39) #2
%41 = load i32, ptr %0, align 8, !tbaa !5
%42 = load i32, ptr %2, align 4, !tbaa !11
br label %43
43: ; preds = %10, %37
%44 = phi i32 [ %11, %10 ], [ %42, %37 ]
%45 = phi i32 [ %12, %10 ], [ %41, %37 ]
%46 = add nuw nsw i64 %13, 1
%47 = mul nsw i32 %44, %45
%48 = sext i32 %47 to i64
%49 = icmp slt i64 %46, %48
br i1 %49, label %10, label %50, !llvm.loop !19
50: ; preds = %43, %1
%51 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 7
%52 = tail call i32 @av_freep(ptr noundef nonnull %51) #2
%53 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6
%54 = load ptr, ptr %53, align 8, !tbaa !20
%55 = tail call i32 @memset(ptr noundef %54, i32 noundef 0, i32 noundef 8) #2
%56 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5
%57 = load ptr, ptr %56, align 8, !tbaa !21
%58 = tail call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 8) #2
%59 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
%60 = load ptr, ptr %59, align 8, !tbaa !22
%61 = tail call i32 @memset(ptr noundef %60, i32 noundef 0, i32 noundef 8) #2
%62 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%63 = tail call i32 @memset(ptr noundef nonnull %62, i32 noundef 0, i32 noundef 4) #2
store i32 0, ptr %2, align 4, !tbaa !11
store i32 0, ptr %0, align 8, !tbaa !5
%64 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
store i32 0, ptr %64, align 8, !tbaa !15
ret void
}
declare i32 @ff_jpeg2000_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 40}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_7__", !10, i64 0, !10, i64 8}
!15 = !{!6, !7, i64 8}
!16 = !{!14, !10, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!6, !10, i64 32}
!21 = !{!6, !10, i64 24}
!22 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_jpeg2000dec.c_jpeg2000_dec_cleanup.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_jpeg2000dec.c_jpeg2000_dec_cleanup.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 { ptr, ptr }
@llvm.used = appending global [1 x ptr] [ptr @jpeg2000_dec_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @jpeg2000_dec_cleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %2, align 4, !tbaa !12
%5 = mul nsw i32 %4, %3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %50
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = getelementptr inbounds i8, ptr %0, i64 8
br label %10
10: ; preds = %7, %43
%11 = phi i32 [ %4, %7 ], [ %44, %43 ]
%12 = phi i32 [ %3, %7 ], [ %45, %43 ]
%13 = phi i64 [ 0, %7 ], [ %46, %43 ]
%14 = load ptr, ptr %8, align 8, !tbaa !13
%15 = getelementptr inbounds %struct.TYPE_7__, ptr %14, i64 %13
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = icmp eq ptr %16, null
br i1 %17, label %43, label %18
18: ; preds = %10
%19 = load i32, ptr %9, align 8, !tbaa !16
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %37
21: ; preds = %18, %21
%22 = phi i64 [ %31, %21 ], [ 0, %18 ]
%23 = load ptr, ptr %8, align 8, !tbaa !13
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 %13
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 %22
%27 = getelementptr inbounds i8, ptr %24, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = getelementptr inbounds i32, ptr %28, i64 %22
%30 = tail call i32 @ff_jpeg2000_cleanup(ptr noundef %26, ptr noundef %29) #2
%31 = add nuw nsw i64 %22, 1
%32 = load i32, ptr %9, align 8, !tbaa !16
%33 = sext i32 %32 to i64
%34 = icmp slt i64 %31, %33
br i1 %34, label %21, label %35, !llvm.loop !18
35: ; preds = %21
%36 = load ptr, ptr %8, align 8, !tbaa !13
br label %37
37: ; preds = %35, %18
%38 = phi ptr [ %36, %35 ], [ %14, %18 ]
%39 = getelementptr inbounds %struct.TYPE_7__, ptr %38, i64 %13
%40 = tail call i32 @av_freep(ptr noundef %39) #2
%41 = load i32, ptr %0, align 8, !tbaa !6
%42 = load i32, ptr %2, align 4, !tbaa !12
br label %43
43: ; preds = %10, %37
%44 = phi i32 [ %11, %10 ], [ %42, %37 ]
%45 = phi i32 [ %12, %10 ], [ %41, %37 ]
%46 = add nuw nsw i64 %13, 1
%47 = mul nsw i32 %44, %45
%48 = sext i32 %47 to i64
%49 = icmp slt i64 %46, %48
br i1 %49, label %10, label %50, !llvm.loop !20
50: ; preds = %43, %1
%51 = getelementptr inbounds i8, ptr %0, i64 40
%52 = tail call i32 @av_freep(ptr noundef nonnull %51) #2
%53 = getelementptr inbounds i8, ptr %0, i64 32
%54 = load ptr, ptr %53, align 8, !tbaa !21
%55 = tail call i32 @memset(ptr noundef %54, i32 noundef 0, i32 noundef 8) #2
%56 = getelementptr inbounds i8, ptr %0, i64 24
%57 = load ptr, ptr %56, align 8, !tbaa !22
%58 = tail call i32 @memset(ptr noundef %57, i32 noundef 0, i32 noundef 8) #2
%59 = getelementptr inbounds i8, ptr %0, i64 16
%60 = load ptr, ptr %59, align 8, !tbaa !23
%61 = tail call i32 @memset(ptr noundef %60, i32 noundef 0, i32 noundef 8) #2
%62 = getelementptr inbounds i8, ptr %0, i64 12
%63 = tail call i32 @memset(ptr noundef nonnull %62, i32 noundef 0, i32 noundef 4) #2
store <2 x i32> zeroinitializer, ptr %0, align 8, !tbaa !24
%64 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %64, align 8, !tbaa !16
ret void
}
declare i32 @ff_jpeg2000_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 40}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_7__", !11, i64 0, !11, i64 8}
!16 = !{!7, !8, i64 8}
!17 = !{!15, !11, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!7, !11, i64 32}
!22 = !{!7, !11, i64 24}
!23 = !{!7, !11, i64 16}
!24 = !{!8, !8, i64 0}
| FFmpeg_libavcodec_extr_jpeg2000dec.c_jpeg2000_dec_cleanup |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp2_interrupts_enable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp2_interrupts_enable.c"
target datalayout = "e-m:e-p270:32:32-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.mvpp2_port = type { i32, i32, i32, ptr }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvpp2_interrupts_enable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @mvpp2_interrupts_enable(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %38
4: ; preds = %1
%5 = getelementptr inbounds %struct.mvpp2_port, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = zext nneg i32 %2 to i64
%8 = icmp ult i32 %2, 8
br i1 %8, label %27, label %9
9: ; preds = %4
%10 = and i64 %7, 2147483640
br label %11
11: ; preds = %11, %9
%12 = phi i64 [ 0, %9 ], [ %21, %11 ]
%13 = phi <4 x i32> [ zeroinitializer, %9 ], [ %19, %11 ]
%14 = phi <4 x i32> [ zeroinitializer, %9 ], [ %20, %11 ]
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %12
%16 = getelementptr inbounds i32, ptr %15, i64 4
%17 = load <4 x i32>, ptr %15, align 4, !tbaa !12
%18 = load <4 x i32>, ptr %16, align 4, !tbaa !12
%19 = or <4 x i32> %17, %13
%20 = or <4 x i32> %18, %14
%21 = add nuw i64 %12, 8
%22 = icmp eq i64 %21, %10
br i1 %22, label %23, label %11, !llvm.loop !14
23: ; preds = %11
%24 = or <4 x i32> %20, %19
%25 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %24)
%26 = icmp eq i64 %10, %7
br i1 %26, label %38, label %27
27: ; preds = %4, %23
%28 = phi i64 [ 0, %4 ], [ %10, %23 ]
%29 = phi i32 [ 0, %4 ], [ %25, %23 ]
br label %30
30: ; preds = %27, %30
%31 = phi i64 [ %36, %30 ], [ %28, %27 ]
%32 = phi i32 [ %35, %30 ], [ %29, %27 ]
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %31
%34 = load i32, ptr %33, align 4, !tbaa !12
%35 = or i32 %34, %32
%36 = add nuw nsw i64 %31, 1
%37 = icmp eq i64 %36, %7
br i1 %37, label %38, label %30, !llvm.loop !18
38: ; preds = %30, %23, %1
%39 = phi i32 [ 0, %1 ], [ %25, %23 ], [ %35, %30 ]
%40 = getelementptr inbounds %struct.mvpp2_port, ptr %0, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !19
%42 = getelementptr inbounds %struct.mvpp2_port, ptr %0, i64 0, i32 1
%43 = load i32, ptr %42, align 4, !tbaa !20
%44 = tail call i32 @MVPP2_ISR_ENABLE_REG(i32 noundef %43) #3
%45 = tail call i32 @MVPP2_ISR_ENABLE_INTERRUPT(i32 noundef %39) #3
%46 = tail call i32 @mvpp2_write(i32 noundef %41, i32 noundef %44, i32 noundef %45) #3
ret void
}
declare i32 @mvpp2_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MVPP2_ISR_ENABLE_REG(i32 noundef) local_unnamed_addr #1
declare i32 @MVPP2_ISR_ENABLE_INTERRUPT(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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, !7, i64 0}
!6 = !{!"mvpp2_port", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !17, !16}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp2_interrupts_enable.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/mvpp2/extr_mvpp2_main.c_mvpp2_interrupts_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @mvpp2_interrupts_enable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @mvpp2_interrupts_enable(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %48
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = zext nneg i32 %2 to i64
%8 = icmp ult i32 %2, 16
br i1 %8, label %37, label %9
9: ; preds = %4
%10 = and i64 %7, 2147483632
br label %11
11: ; preds = %11, %9
%12 = phi i64 [ 0, %9 ], [ %29, %11 ]
%13 = phi <4 x i32> [ zeroinitializer, %9 ], [ %25, %11 ]
%14 = phi <4 x i32> [ zeroinitializer, %9 ], [ %26, %11 ]
%15 = phi <4 x i32> [ zeroinitializer, %9 ], [ %27, %11 ]
%16 = phi <4 x i32> [ zeroinitializer, %9 ], [ %28, %11 ]
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %12
%18 = getelementptr inbounds i8, ptr %17, i64 16
%19 = getelementptr inbounds i8, ptr %17, i64 32
%20 = getelementptr inbounds i8, ptr %17, i64 48
%21 = load <4 x i32>, ptr %17, align 4, !tbaa !13
%22 = load <4 x i32>, ptr %18, align 4, !tbaa !13
%23 = load <4 x i32>, ptr %19, align 4, !tbaa !13
%24 = load <4 x i32>, ptr %20, align 4, !tbaa !13
%25 = or <4 x i32> %21, %13
%26 = or <4 x i32> %22, %14
%27 = or <4 x i32> %23, %15
%28 = or <4 x i32> %24, %16
%29 = add nuw i64 %12, 16
%30 = icmp eq i64 %29, %10
br i1 %30, label %31, label %11, !llvm.loop !15
31: ; preds = %11
%32 = or <4 x i32> %26, %25
%33 = or <4 x i32> %27, %32
%34 = or <4 x i32> %28, %33
%35 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %34)
%36 = icmp eq i64 %10, %7
br i1 %36, label %48, label %37
37: ; preds = %31, %4
%38 = phi i64 [ 0, %4 ], [ %10, %31 ]
%39 = phi i32 [ 0, %4 ], [ %35, %31 ]
br label %40
40: ; preds = %37, %40
%41 = phi i64 [ %46, %40 ], [ %38, %37 ]
%42 = phi i32 [ %45, %40 ], [ %39, %37 ]
%43 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %41
%44 = load i32, ptr %43, align 4, !tbaa !13
%45 = or i32 %44, %42
%46 = add nuw nsw i64 %41, 1
%47 = icmp eq i64 %46, %7
br i1 %47, label %48, label %40, !llvm.loop !19
48: ; preds = %40, %31, %1
%49 = phi i32 [ 0, %1 ], [ %35, %31 ], [ %45, %40 ]
%50 = getelementptr inbounds i8, ptr %0, i64 8
%51 = load i32, ptr %50, align 8, !tbaa !20
%52 = getelementptr inbounds i8, ptr %0, i64 4
%53 = load i32, ptr %52, align 4, !tbaa !21
%54 = tail call i32 @MVPP2_ISR_ENABLE_REG(i32 noundef %53) #3
%55 = tail call i32 @MVPP2_ISR_ENABLE_INTERRUPT(i32 noundef %49) #3
%56 = tail call i32 @mvpp2_write(i32 noundef %51, i32 noundef %54, i32 noundef %55) #3
ret void
}
declare i32 @mvpp2_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MVPP2_ISR_ENABLE_REG(i32 noundef) local_unnamed_addr #1
declare i32 @MVPP2_ISR_ENABLE_INTERRUPT(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !8, i64 0}
!7 = !{!"mvpp2_port", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !16, !18, !17}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !8, i64 4}
| linux_drivers_net_ethernet_marvell_mvpp2_extr_mvpp2_main.c_mvpp2_interrupts_enable |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libntp/extr_a_md5encrypt.c_addr2refid.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/libntp/extr_a_md5encrypt.c_addr2refid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EVP_MAX_MD_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"MD5 init failed\00", align 1
@EVP_MD_CTX_FLAG_NON_FIPS_ALLOW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @addr2refid(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @EVP_MAX_MD_SIZE, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i32, i64 %5, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%7 = tail call i64 @IS_IPV4(ptr noundef %0) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @NSRCADR(ptr noundef %0) #4
br label %30
11: ; preds = %1
%12 = tail call i32 (...) @INIT_SSL() #4
%13 = tail call ptr (...) @EVP_MD_CTX_new() #4
%14 = tail call i32 (...) @EVP_md5() #4
%15 = tail call i32 @EVP_DigestInit_ex(ptr noundef %13, i32 noundef %14, ptr noundef null) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %11
%18 = load i32, ptr @LOG_ERR, align 4, !tbaa !5
%19 = tail call i32 @msyslog(i32 noundef %18, ptr noundef nonnull @.str) #4
%20 = tail call i32 @EVP_MD_CTX_free(ptr noundef %13) #4
%21 = tail call i32 @exit(i32 noundef 1) #5
unreachable
22: ; preds = %11
%23 = tail call i64 @PSOCK_ADDR6(ptr noundef %0) #4
%24 = inttoptr i64 %23 to ptr
%25 = tail call i32 @EVP_DigestUpdate(ptr noundef %13, ptr noundef %24, i32 noundef 4) #4
%26 = call i32 @EVP_DigestFinal(ptr noundef %13, ptr noundef nonnull %6, ptr noundef nonnull %3) #4
%27 = call i32 @EVP_MD_CTX_free(ptr noundef %13) #4
%28 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %6, i32 noundef 4) #4
%29 = load i32, ptr %2, align 4, !tbaa !5
br label %30
30: ; preds = %22, %9
%31 = phi i32 [ %10, %9 ], [ %29, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IS_IPV4(ptr noundef) local_unnamed_addr #2
declare i32 @NSRCADR(ptr noundef) local_unnamed_addr #2
declare i32 @INIT_SSL(...) local_unnamed_addr #2
declare ptr @EVP_MD_CTX_new(...) local_unnamed_addr #2
declare i32 @EVP_DigestInit_ex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_md5(...) local_unnamed_addr #2
declare i32 @msyslog(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_MD_CTX_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @PSOCK_ADDR6(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DigestFinal(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libntp/extr_a_md5encrypt.c_addr2refid.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/libntp/extr_a_md5encrypt.c_addr2refid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EVP_MAX_MD_SIZE = common local_unnamed_addr global i32 0, align 4
@LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"MD5 init failed\00", align 1
@EVP_MD_CTX_FLAG_NON_FIPS_ALLOW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @addr2refid(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @EVP_MAX_MD_SIZE, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i32, i64 %5, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%7 = tail call i64 @IS_IPV4(ptr noundef %0) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @NSRCADR(ptr noundef %0) #4
br label %30
11: ; preds = %1
%12 = tail call i32 @INIT_SSL() #4
%13 = tail call ptr @EVP_MD_CTX_new() #4
%14 = tail call i32 @EVP_md5() #4
%15 = tail call i32 @EVP_DigestInit_ex(ptr noundef %13, i32 noundef %14, ptr noundef null) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %11
%18 = load i32, ptr @LOG_ERR, align 4, !tbaa !6
%19 = tail call i32 @msyslog(i32 noundef %18, ptr noundef nonnull @.str) #4
%20 = tail call i32 @EVP_MD_CTX_free(ptr noundef %13) #4
%21 = tail call i32 @exit(i32 noundef 1) #5
unreachable
22: ; preds = %11
%23 = tail call i64 @PSOCK_ADDR6(ptr noundef %0) #4
%24 = inttoptr i64 %23 to ptr
%25 = tail call i32 @EVP_DigestUpdate(ptr noundef %13, ptr noundef %24, i32 noundef 4) #4
%26 = call i32 @EVP_DigestFinal(ptr noundef %13, ptr noundef nonnull %6, ptr noundef nonnull %3) #4
%27 = call i32 @EVP_MD_CTX_free(ptr noundef %13) #4
%28 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %6, i32 noundef 4) #4
%29 = load i32, ptr %2, align 4, !tbaa !6
br label %30
30: ; preds = %22, %9
%31 = phi i32 [ %10, %9 ], [ %29, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IS_IPV4(ptr noundef) local_unnamed_addr #2
declare i32 @NSRCADR(ptr noundef) local_unnamed_addr #2
declare i32 @INIT_SSL(...) local_unnamed_addr #2
declare ptr @EVP_MD_CTX_new(...) local_unnamed_addr #2
declare i32 @EVP_DigestInit_ex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_md5(...) local_unnamed_addr #2
declare i32 @msyslog(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_MD_CTX_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @PSOCK_ADDR6(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DigestFinal(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ntp_libntp_extr_a_md5encrypt.c_addr2refid |
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_set_lux_thresh_below.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_set_lux_thresh_below.c"
target datalayout = "e-m:e-p270:32:32-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 @bh1770_set_lux_thresh_below], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bh1770_set_lux_thresh_below(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = tail call i32 @bh1770_set_lux_thresh(ptr noundef %5, ptr noundef %5, ptr noundef %2) #2
%7 = icmp slt i32 %6, 0
%8 = trunc i64 %3 to i32
%9 = select i1 %7, i32 %6, i32 %8
ret i32 %9
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @bh1770_set_lux_thresh(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_set_lux_thresh_below.c'
source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_set_lux_thresh_below.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 @bh1770_set_lux_thresh_below], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bh1770_set_lux_thresh_below(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = tail call i32 @bh1770_set_lux_thresh(ptr noundef %5, ptr noundef %5, ptr noundef %2) #2
%7 = icmp slt i32 %6, 0
%8 = trunc i64 %3 to i32
%9 = select i1 %7, i32 %6, i32 %8
ret i32 %9
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @bh1770_set_lux_thresh(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_misc_extr_bh1770glc.c_bh1770_set_lux_thresh_below |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/crypto/nx/extr_nx-aes-cbc.c_cbc_aes_nx_decrypt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/crypto/nx/extr_nx-aes-cbc.c_cbc_aes_nx_decrypt.c"
target datalayout = "e-m:e-p270:32:32-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 @cbc_aes_nx_decrypt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cbc_aes_nx_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @cbc_aes_nx_crypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef 0) #2
ret i32 %5
}
declare i32 @cbc_aes_nx_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/crypto/nx/extr_nx-aes-cbc.c_cbc_aes_nx_decrypt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/crypto/nx/extr_nx-aes-cbc.c_cbc_aes_nx_decrypt.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 @cbc_aes_nx_decrypt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cbc_aes_nx_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @cbc_aes_nx_crypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef 0) #2
ret i32 %5
}
declare i32 @cbc_aes_nx_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_crypto_nx_extr_nx-aes-cbc.c_cbc_aes_nx_decrypt |
; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_ifaddr.c_pg_sockaddr_cidr_mask.c'
source_filename = "AnghaBench/postgres/src/backend/libpq/extr_ifaddr.c_pg_sockaddr_cidr_mask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @pg_sockaddr_cidr_mask(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
%5 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%6 = icmp eq ptr %1, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = icmp eq i32 %2, 129
%9 = select i1 %8, i64 32, i64 128
br label %18
10: ; preds = %3
%11 = call i64 @strtol(ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef 10)
%12 = load i8, ptr %1, align 1, !tbaa !5
%13 = icmp eq i8 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8, !tbaa !8
%16 = load i8, ptr %15, align 1, !tbaa !5
%17 = icmp eq i8 %16, 0
br i1 %17, label %18, label %34
18: ; preds = %14, %7
%19 = phi i64 [ %9, %7 ], [ %11, %14 ]
%20 = icmp eq i32 %2, 129
br i1 %20, label %21, label %34
21: ; preds = %18
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%22 = icmp ult i64 %19, 33
br i1 %22, label %23, label %33
23: ; preds = %21
%24 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 16) #4
%25 = icmp eq i64 %19, 0
%26 = sub nuw nsw i64 32, %19
%27 = shl nuw nsw i64 4294967295, %26
%28 = and i64 %27, 4294967295
%29 = select i1 %25, i64 0, i64 %28
%30 = call i32 @pg_hton32(i64 noundef %29) #4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i64 0, i32 1
store i32 %30, ptr %31, align 8, !tbaa !10
%32 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 16) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
store i32 129, ptr %0, align 4, !tbaa !15
br label %34
33: ; preds = %21
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
br label %34
34: ; preds = %18, %33, %10, %14, %23
%35 = phi i32 [ 0, %23 ], [ -1, %14 ], [ -1, %10 ], [ -1, %33 ], [ -1, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %35
}
; 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 nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @pg_hton32(i64 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn "no-trapping-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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !14, i64 8}
!11 = !{!"sockaddr_in", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_4__", !9, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"sockaddr_storage", !14, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_ifaddr.c_pg_sockaddr_cidr_mask.c'
source_filename = "AnghaBench/postgres/src/backend/libpq/extr_ifaddr.c_pg_sockaddr_cidr_mask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_in = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @pg_sockaddr_cidr_mask(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
%5 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%6 = icmp eq ptr %1, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = icmp eq i32 %2, 129
%9 = select i1 %8, i64 32, i64 128
br label %18
10: ; preds = %3
%11 = call i64 @strtol(ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef 10)
%12 = load i8, ptr %1, align 1, !tbaa !6
%13 = icmp eq i8 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8, !tbaa !9
%16 = load i8, ptr %15, align 1, !tbaa !6
%17 = icmp eq i8 %16, 0
br i1 %17, label %18, label %34
18: ; preds = %14, %7
%19 = phi i64 [ %9, %7 ], [ %11, %14 ]
%20 = icmp eq i32 %2, 129
br i1 %20, label %21, label %34
21: ; preds = %18
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%22 = icmp ult i64 %19, 33
br i1 %22, label %23, label %33
23: ; preds = %21
%24 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 16) #4
%25 = icmp eq i64 %19, 0
%26 = sub nuw nsw i64 32, %19
%27 = shl nuw nsw i64 4294967295, %26
%28 = and i64 %27, 4294967295
%29 = select i1 %25, i64 0, i64 %28
%30 = call i32 @pg_hton32(i64 noundef %29) #4
%31 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %30, ptr %31, align 8, !tbaa !11
%32 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 16) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
store i32 129, ptr %0, align 4, !tbaa !16
br label %34
33: ; preds = %21
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
br label %34
34: ; preds = %18, %33, %10, %14, %23
%35 = phi i32 [ 0, %23 ], [ -1, %14 ], [ -1, %10 ], [ -1, %33 ], [ -1, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %35
}
; 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 nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @pg_hton32(i64 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !15, i64 8}
!12 = !{!"sockaddr_in", !13, i64 0, !14, i64 8}
!13 = !{!"TYPE_4__", !10, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"sockaddr_storage", !15, i64 0}
| postgres_src_backend_libpq_extr_ifaddr.c_pg_sockaddr_cidr_mask |
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi.c_acpi_probe_order.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi.c_acpi_probe_order.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACPI_TYPE_PROCESSOR = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"PNP0C01\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"PNP0C02\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"PNP0100\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"PNP0103\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"PNP0B00\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"PNP0C09\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"PNP0C0F\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_probe_order], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @acpi_probe_order(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @AcpiGetType(i32 noundef %0, ptr noundef nonnull %3) #3
%5 = load i64, ptr %3, align 8, !tbaa !5
%6 = load i64, ptr @ACPI_TYPE_PROCESSOR, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
br i1 %7, label %29, label %8
8: ; preds = %2
%9 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %8
%12 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.1) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %29
14: ; preds = %11
%15 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.2) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %29
17: ; preds = %14
%18 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.3) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.4) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.5) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.6) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26, %23, %14, %17, %20, %8, %11, %2
%30 = phi i32 [ 0, %2 ], [ 1, %11 ], [ 1, %8 ], [ 2, %20 ], [ 2, %17 ], [ 2, %14 ], [ 3, %23 ], [ 4, %26 ]
store i32 %30, ptr %1, align 4, !tbaa !9
br label %31
31: ; preds = %29, %26
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AcpiGetType(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @acpi_MatchHid(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi.c_acpi_probe_order.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi.c_acpi_probe_order.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_TYPE_PROCESSOR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [8 x i8] c"PNP0C01\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"PNP0C02\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"PNP0100\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"PNP0103\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"PNP0B00\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"PNP0C09\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"PNP0C0F\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @acpi_probe_order], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @acpi_probe_order(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call i32 @AcpiGetType(i32 noundef %0, ptr noundef nonnull %3) #3
%5 = load i64, ptr %3, align 8, !tbaa !6
%6 = load i64, ptr @ACPI_TYPE_PROCESSOR, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
br i1 %7, label %29, label %8
8: ; preds = %2
%9 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %8
%12 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.1) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %29
14: ; preds = %11
%15 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.2) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %29
17: ; preds = %14
%18 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.3) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.4) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.5) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = call i64 @acpi_MatchHid(i32 noundef %0, ptr noundef nonnull @.str.6) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26, %23, %14, %17, %20, %8, %11, %2
%30 = phi i32 [ 0, %2 ], [ 1, %11 ], [ 1, %8 ], [ 2, %20 ], [ 2, %17 ], [ 2, %14 ], [ 3, %23 ], [ 4, %26 ]
store i32 %30, ptr %1, align 4, !tbaa !10
br label %31
31: ; preds = %29, %26
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AcpiGetType(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @acpi_MatchHid(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_sys_dev_acpica_extr_acpi.c_acpi_probe_order |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_find_glsl_pshader.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_find_glsl_pshader.c"
target datalayout = "e-m:e-p270:32:32-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.glsl_shader_private = type { i64, i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
%struct.glsl_ps_compiled_shader = type { i32, %struct.ps_np2fixup_info, %struct.ps_compile_args }
%struct.ps_np2fixup_info = type { i32 }
%struct.ps_compile_args = type { i32, i64 }
@.str = private unnamed_addr constant [34 x i8] c"Failed to allocate backend data.\0A\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"No matching GL shader found for shader %p, compiling a new shader.\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_glsl_pshader], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @find_glsl_pshader(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5) #0 {
%7 = load ptr, ptr %3, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = tail call ptr @heap_alloc_zero(i32 noundef 24) #3
store ptr %10, ptr %3, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @ERR(ptr noundef nonnull @.str) #3
br label %84
14: ; preds = %9, %6
%15 = phi ptr [ %10, %9 ], [ %7, %6 ]
%16 = getelementptr inbounds %struct.glsl_shader_private, ptr %15, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !10
%18 = load i64, ptr %15, align 8, !tbaa !14
%19 = icmp eq i64 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %14, %34
%21 = phi i64 [ %35, %34 ], [ 0, %14 ]
%22 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %17, i64 %21, i32 2
%23 = tail call i32 @memcmp(ptr noundef nonnull %22, ptr noundef %4, i32 noundef 16) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %34
25: ; preds = %20
%26 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %17, i64 %21
%27 = getelementptr inbounds %struct.ps_compile_args, ptr %4, i64 0, i32 1
%28 = load i64, ptr %27, align 8, !tbaa !15
%29 = icmp eq i64 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %25
%31 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %17, i64 %21, i32 1
store ptr %31, ptr %5, align 8, !tbaa !18
br label %32
32: ; preds = %30, %25
%33 = load i32, ptr %26, align 8, !tbaa !19
br label %84
34: ; preds = %20
%35 = add nuw i64 %21, 1
%36 = load i64, ptr %15, align 8, !tbaa !14
%37 = icmp ult i64 %35, %36
br i1 %37, label %20, label %38, !llvm.loop !22
38: ; preds = %34, %14
%39 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%40 = getelementptr inbounds %struct.glsl_shader_private, ptr %15, i64 0, i32 1
%41 = load i64, ptr %40, align 8, !tbaa !24
%42 = load i64, ptr %15, align 8, !tbaa !14
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %66
44: ; preds = %38
%45 = icmp eq i64 %41, 0
br i1 %45, label %56, label %46
46: ; preds = %44
%47 = lshr i64 %41, 1
%48 = trunc i64 %47 to i32
%49 = tail call i32 @max(i32 noundef 1, i32 noundef %48) #3
%50 = trunc i64 %41 to i32
%51 = add i32 %49, %50
%52 = load ptr, ptr %16, align 8, !tbaa !10
%53 = mul i32 %51, 24
%54 = tail call ptr @heap_realloc(ptr noundef %52, i32 noundef %53) #3
%55 = sext i32 %51 to i64
br label %58
56: ; preds = %44
%57 = tail call ptr @heap_alloc(i32 noundef 24) #3
br label %58
58: ; preds = %56, %46
%59 = phi ptr [ %54, %46 ], [ %57, %56 ]
%60 = phi i64 [ %55, %46 ], [ 1, %56 ]
%61 = icmp eq ptr %59, null
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #3
br label %84
64: ; preds = %58
store ptr %59, ptr %16, align 8, !tbaa !10
store i64 %60, ptr %40, align 8, !tbaa !24
%65 = load i64, ptr %15, align 8, !tbaa !14
br label %66
66: ; preds = %64, %38
%67 = phi i64 [ %65, %64 ], [ %42, %38 ]
%68 = phi ptr [ %59, %64 ], [ %17, %38 ]
%69 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %67, i32 2
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !25
%70 = load i64, ptr %15, align 8, !tbaa !14
%71 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %70, i32 1
%72 = tail call i32 @memset(ptr noundef nonnull %71, i32 noundef 0, i32 noundef 4) #3
%73 = getelementptr inbounds %struct.ps_compile_args, ptr %4, i64 0, i32 1
%74 = load i64, ptr %73, align 8, !tbaa !15
%75 = icmp eq i64 %74, 0
%76 = select i1 %75, ptr null, ptr %71
store ptr %76, ptr %5, align 8, !tbaa !18
%77 = load i32, ptr %4, align 8, !tbaa !28
%78 = tail call i32 @pixelshader_update_resource_types(ptr noundef nonnull %3, i32 noundef %77) #3
%79 = tail call i32 @string_buffer_clear(ptr noundef %1) #3
%80 = tail call i32 @shader_glsl_generate_pshader(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %71) #3
%81 = load i64, ptr %15, align 8, !tbaa !14
%82 = add i64 %81, 1
store i64 %82, ptr %15, align 8, !tbaa !14
%83 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %81
store i32 %80, ptr %83, align 8, !tbaa !19
br label %84
84: ; preds = %66, %62, %32, %12
%85 = phi i32 [ %33, %32 ], [ %80, %66 ], [ 0, %62 ], [ 0, %12 ]
ret i32 %85
}
declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @heap_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pixelshader_update_resource_types(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @string_buffer_clear(ptr noundef) local_unnamed_addr #1
declare i32 @shader_glsl_generate_pshader(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"wined3d_shader", !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 = !{!"glsl_shader_private", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"ps_compile_args", !17, i64 0, !12, i64 8}
!17 = !{!"int", !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !17, i64 0}
!20 = !{!"glsl_ps_compiled_shader", !17, i64 0, !21, i64 4, !16, i64 8}
!21 = !{!"ps_np2fixup_info", !17, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!11, !12, i64 8}
!25 = !{i64 0, i64 4, !26, i64 8, i64 8, !27}
!26 = !{!17, !17, i64 0}
!27 = !{!12, !12, i64 0}
!28 = !{!16, !17, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_find_glsl_pshader.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_find_glsl_pshader.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.glsl_ps_compiled_shader = type { i32, %struct.ps_np2fixup_info, %struct.ps_compile_args }
%struct.ps_np2fixup_info = type { i32 }
%struct.ps_compile_args = type { i32, i64 }
@.str = private unnamed_addr constant [34 x i8] c"Failed to allocate backend data.\0A\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"No matching GL shader found for shader %p, compiling a new shader.\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @find_glsl_pshader], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @find_glsl_pshader(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5) #0 {
%7 = load ptr, ptr %3, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = tail call ptr @heap_alloc_zero(i32 noundef 24) #3
store ptr %10, ptr %3, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i32 @ERR(ptr noundef nonnull @.str) #3
br label %84
14: ; preds = %9, %6
%15 = phi ptr [ %10, %9 ], [ %7, %6 ]
%16 = getelementptr inbounds i8, ptr %15, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !11
%18 = load i64, ptr %15, align 8, !tbaa !15
%19 = icmp eq i64 %18, 0
br i1 %19, label %38, label %24
20: ; preds = %24
%21 = add nuw i64 %25, 1
%22 = load i64, ptr %15, align 8, !tbaa !15
%23 = icmp ult i64 %21, %22
br i1 %23, label %24, label %38, !llvm.loop !16
24: ; preds = %14, %20
%25 = phi i64 [ %21, %20 ], [ 0, %14 ]
%26 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %17, i64 %25
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = tail call i32 @memcmp(ptr noundef nonnull %27, ptr noundef %4, i32 noundef 16) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %20
30: ; preds = %24
%31 = getelementptr inbounds i8, ptr %4, i64 8
%32 = load i64, ptr %31, align 8, !tbaa !18
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %30
%35 = getelementptr inbounds i8, ptr %26, i64 4
store ptr %35, ptr %5, align 8, !tbaa !21
br label %36
36: ; preds = %34, %30
%37 = load i32, ptr %26, align 8, !tbaa !22
br label %84
38: ; preds = %20, %14
%39 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%40 = getelementptr inbounds i8, ptr %15, i64 8
%41 = load i64, ptr %40, align 8, !tbaa !25
%42 = load i64, ptr %15, align 8, !tbaa !15
%43 = icmp eq i64 %41, %42
br i1 %43, label %44, label %66
44: ; preds = %38
%45 = icmp eq i64 %41, 0
br i1 %45, label %56, label %46
46: ; preds = %44
%47 = lshr i64 %41, 1
%48 = trunc i64 %47 to i32
%49 = tail call i32 @max(i32 noundef 1, i32 noundef %48) #3
%50 = trunc i64 %41 to i32
%51 = add i32 %49, %50
%52 = load ptr, ptr %16, align 8, !tbaa !11
%53 = mul i32 %51, 24
%54 = tail call ptr @heap_realloc(ptr noundef %52, i32 noundef %53) #3
%55 = sext i32 %51 to i64
br label %58
56: ; preds = %44
%57 = tail call ptr @heap_alloc(i32 noundef 24) #3
br label %58
58: ; preds = %56, %46
%59 = phi ptr [ %54, %46 ], [ %57, %56 ]
%60 = phi i64 [ %55, %46 ], [ 1, %56 ]
%61 = icmp eq ptr %59, null
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #3
br label %84
64: ; preds = %58
store ptr %59, ptr %16, align 8, !tbaa !11
store i64 %60, ptr %40, align 8, !tbaa !25
%65 = load i64, ptr %15, align 8, !tbaa !15
br label %66
66: ; preds = %64, %38
%67 = phi i64 [ %65, %64 ], [ %42, %38 ]
%68 = phi ptr [ %59, %64 ], [ %17, %38 ]
%69 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %67, i32 2
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !26
%70 = load i64, ptr %15, align 8, !tbaa !15
%71 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %70, i32 1
%72 = tail call i32 @memset(ptr noundef nonnull %71, i32 noundef 0, i32 noundef 4) #3
%73 = getelementptr inbounds i8, ptr %4, i64 8
%74 = load i64, ptr %73, align 8, !tbaa !18
%75 = icmp eq i64 %74, 0
%76 = select i1 %75, ptr null, ptr %71
store ptr %76, ptr %5, align 8, !tbaa !21
%77 = load i32, ptr %4, align 8, !tbaa !29
%78 = tail call i32 @pixelshader_update_resource_types(ptr noundef nonnull %3, i32 noundef %77) #3
%79 = tail call i32 @string_buffer_clear(ptr noundef %1) #3
%80 = tail call i32 @shader_glsl_generate_pshader(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %71) #3
%81 = load i64, ptr %15, align 8, !tbaa !15
%82 = add i64 %81, 1
store i64 %82, ptr %15, align 8, !tbaa !15
%83 = getelementptr inbounds %struct.glsl_ps_compiled_shader, ptr %68, i64 %81
store i32 %80, ptr %83, align 8, !tbaa !22
br label %84
84: ; preds = %66, %62, %36, %12
%85 = phi i32 [ %37, %36 ], [ %80, %66 ], [ 0, %62 ], [ 0, %12 ]
ret i32 %85
}
declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @heap_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pixelshader_update_resource_types(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @string_buffer_clear(ptr noundef) local_unnamed_addr #1
declare i32 @shader_glsl_generate_pshader(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"wined3d_shader", !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 = !{!"glsl_shader_private", !13, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!12, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !13, i64 8}
!19 = !{!"ps_compile_args", !20, i64 0, !13, i64 8}
!20 = !{!"int", !9, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!23, !20, i64 0}
!23 = !{!"glsl_ps_compiled_shader", !20, i64 0, !24, i64 4, !19, i64 8}
!24 = !{!"ps_np2fixup_info", !20, i64 0}
!25 = !{!12, !13, i64 8}
!26 = !{i64 0, i64 4, !27, i64 8, i64 8, !28}
!27 = !{!20, !20, i64 0}
!28 = !{!13, !13, i64 0}
!29 = !{!19, !20, i64 0}
| reactos_dll_directx_wine_wined3d_extr_glsl_shader.c_find_glsl_pshader |
; ModuleID = 'AnghaBench/robotjs/src/extr_bmp_io.c_MMBMPReadErrorString.c'
source_filename = "AnghaBench/robotjs/src/extr_bmp_io.c_MMBMPReadErrorString.c"
target datalayout = "e-m:e-p270:32:32-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 [20 x i8] c"Could not open file\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Not a BMP file\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Unsupported BMP header\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Invalid number of color panes in BMP file\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Unsupported color depth in BMP file\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"Unsupported file compression in BMP file\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Could not read BMP pixel data\00", align 1
@reltable.MMBMPReadErrorString = private unnamed_addr constant [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.MMBMPReadErrorString to i64)) to i32)], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef ptr @MMBMPReadErrorString(i32 noundef %0) local_unnamed_addr #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 7
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = shl i64 %5, 2
%7 = call ptr @llvm.load.relative.i64(ptr @reltable.MMBMPReadErrorString, i64 %6)
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ null, %1 ]
ret ptr %9
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/robotjs/src/extr_bmp_io.c_MMBMPReadErrorString.c'
source_filename = "AnghaBench/robotjs/src/extr_bmp_io.c_MMBMPReadErrorString.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 [20 x i8] c"Could not open file\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Not a BMP file\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Unsupported BMP header\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Invalid number of color panes in BMP file\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Unsupported color depth in BMP file\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"Unsupported file compression in BMP file\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Could not read BMP pixel data\00", align 1
@switch.table.MMBMPReadErrorString = private unnamed_addr constant [7 x ptr] [ptr @.str.2, ptr @.str.5, ptr @.str.4, ptr @.str.6, ptr @.str.1, ptr @.str.3, ptr @.str], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef ptr @MMBMPReadErrorString(i32 noundef %0) local_unnamed_addr #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 7
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [7 x ptr], ptr @switch.table.MMBMPReadErrorString, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ null, %1 ]
ret ptr %9
}
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)"}
| robotjs_src_extr_bmp_io.c_MMBMPReadErrorString |
; ModuleID = 'AnghaBench/linux/drivers/crypto/marvell/extr_hash.c_mv_cesa_sha1_digest.c'
source_filename = "AnghaBench/linux/drivers/crypto/marvell/extr_hash.c_mv_cesa_sha1_digest.c"
target datalayout = "e-m:e-p270:32:32-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_cesa_sha1_digest], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mv_cesa_sha1_digest(ptr noundef %0) #0 {
%2 = tail call i32 @mv_cesa_sha1_init(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @mv_cesa_ahash_finup(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ %2, %1 ]
ret i32 %7
}
declare i32 @mv_cesa_sha1_init(ptr noundef) local_unnamed_addr #1
declare i32 @mv_cesa_ahash_finup(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/crypto/marvell/extr_hash.c_mv_cesa_sha1_digest.c'
source_filename = "AnghaBench/linux/drivers/crypto/marvell/extr_hash.c_mv_cesa_sha1_digest.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_cesa_sha1_digest], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mv_cesa_sha1_digest(ptr noundef %0) #0 {
%2 = tail call i32 @mv_cesa_sha1_init(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @mv_cesa_ahash_finup(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ %2, %1 ]
ret i32 %7
}
declare i32 @mv_cesa_sha1_init(ptr noundef) local_unnamed_addr #1
declare i32 @mv_cesa_ahash_finup(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_crypto_marvell_extr_hash.c_mv_cesa_sha1_digest |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_digest_nid.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_digest_nid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32 }
@ssl_cipher_table_mac = dso_local local_unnamed_addr global ptr null, align 8
@NID_undef = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @SSL_CIPHER_get_digest_nid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ssl_cipher_table_mac, align 8, !tbaa !5
%3 = load i32, ptr %0, align 4, !tbaa !9
%4 = tail call i32 @ssl_cipher_info_lookup(ptr noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, -1
%6 = load ptr, ptr @ssl_cipher_table_mac, align 8
%7 = sext i32 %4 to i64
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 %7
%9 = select i1 %5, ptr @NID_undef, ptr %8
%10 = load i32, ptr %9, align 4, !tbaa !12
ret i32 %10
}
declare i32 @ssl_cipher_info_lookup(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, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_digest_nid.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_digest_nid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32 }
@ssl_cipher_table_mac = common local_unnamed_addr global ptr null, align 8
@NID_undef = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @SSL_CIPHER_get_digest_nid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ssl_cipher_table_mac, align 8, !tbaa !6
%3 = load i32, ptr %0, align 4, !tbaa !10
%4 = tail call i32 @ssl_cipher_info_lookup(ptr noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, -1
%6 = load ptr, ptr @ssl_cipher_table_mac, align 8
%7 = sext i32 %4 to i64
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 %7
%9 = select i1 %5, ptr @NID_undef, ptr %8
%10 = load i32, ptr %9, align 4, !tbaa !13
ret i32 %10
}
declare i32 @ssl_cipher_info_lookup(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, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| freebsd_crypto_openssl_ssl_extr_ssl_ciph.c_SSL_CIPHER_get_digest_nid |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge.c_sfxge_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge.c_sfxge_start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sfxge_softc = type { i64, i32, i32, ptr }
@SFXGE_STARTED = dso_local local_unnamed_addr global i64 0, align 8
@SFXGE_REGISTERED = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IFF_DRV_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
@IFF_DRV_OACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"sfxge_start: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @sfxge_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sfxge_start(ptr noundef %0) #0 {
%2 = tail call i32 @SFXGE_ADAPTER_LOCK_ASSERT_OWNED(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @SFXGE_STARTED, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %64, label %6
6: ; preds = %1
%7 = load i64, ptr @SFXGE_REGISTERED, align 8, !tbaa !12
%8 = icmp eq i64 %3, %7
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %59
11: ; preds = %6
%12 = tail call i32 @sfxge_set_drv_limits(ptr noundef nonnull %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %59
14: ; preds = %11
%15 = getelementptr inbounds %struct.sfxge_softc, ptr %0, i64 0, i32 2
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @efx_nic_init(i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %59
19: ; preds = %14
%20 = tail call i32 @sfxge_intr_start(ptr noundef nonnull %0) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %55
22: ; preds = %19
%23 = tail call i32 @sfxge_ev_start(ptr noundef nonnull %0) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %52
25: ; preds = %22
%26 = tail call i32 @sfxge_port_start(ptr noundef nonnull %0) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %49
28: ; preds = %25
%29 = tail call i32 @sfxge_rx_start(ptr noundef nonnull %0) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %46
31: ; preds = %28
%32 = tail call i32 @sfxge_tx_start(ptr noundef nonnull %0) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i64, ptr @SFXGE_STARTED, align 8, !tbaa !12
store i64 %35, ptr %0, align 8, !tbaa !5
%36 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13
%37 = getelementptr inbounds %struct.sfxge_softc, ptr %0, i64 0, i32 3
%38 = load ptr, ptr %37, align 8, !tbaa !15
%39 = load i32, ptr %38, align 4, !tbaa !16
%40 = or i32 %39, %36
store i32 %40, ptr %38, align 4, !tbaa !16
%41 = load i32, ptr @IFF_DRV_OACTIVE, align 4, !tbaa !13
%42 = xor i32 %41, -1
%43 = and i32 %40, %42
store i32 %43, ptr %38, align 4, !tbaa !16
br label %64
44: ; preds = %31
%45 = tail call i32 @sfxge_rx_stop(ptr noundef nonnull %0) #2
br label %46
46: ; preds = %28, %44
%47 = phi i32 [ %29, %28 ], [ %32, %44 ]
%48 = tail call i32 @sfxge_port_stop(ptr noundef nonnull %0) #2
br label %49
49: ; preds = %25, %46
%50 = phi i32 [ %26, %25 ], [ %47, %46 ]
%51 = tail call i32 @sfxge_ev_stop(ptr noundef nonnull %0) #2
br label %52
52: ; preds = %22, %49
%53 = phi i32 [ %23, %22 ], [ %50, %49 ]
%54 = tail call i32 @sfxge_intr_stop(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %19, %52
%56 = phi i32 [ %20, %19 ], [ %53, %52 ]
%57 = load i32, ptr %15, align 4, !tbaa !14
%58 = tail call i32 @efx_nic_fini(i32 noundef %57) #2
br label %59
59: ; preds = %14, %11, %55, %9
%60 = phi i32 [ %10, %9 ], [ %12, %11 ], [ %17, %14 ], [ %56, %55 ]
%61 = getelementptr inbounds %struct.sfxge_softc, ptr %0, i64 0, i32 1
%62 = load i32, ptr %61, align 8, !tbaa !18
%63 = tail call i32 @device_printf(i32 noundef %62, ptr noundef nonnull @.str, i32 noundef %60) #2
br label %64
64: ; preds = %1, %59, %34
%65 = phi i32 [ %60, %59 ], [ 0, %34 ], [ 0, %1 ]
ret i32 %65
}
declare i32 @SFXGE_ADAPTER_LOCK_ASSERT_OWNED(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_set_drv_limits(ptr noundef) local_unnamed_addr #1
declare i32 @efx_nic_init(i32 noundef) local_unnamed_addr #1
declare i32 @sfxge_intr_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_ev_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_port_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_rx_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_tx_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_rx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_port_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_ev_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_intr_stop(ptr noundef) local_unnamed_addr #1
declare i32 @efx_nic_fini(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sfxge_softc", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16}
!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 = !{!7, !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !11, i64 16}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_2__", !10, i64 0}
!18 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge.c_sfxge_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge.c_sfxge_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SFXGE_STARTED = common local_unnamed_addr global i64 0, align 8
@SFXGE_REGISTERED = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@IFF_DRV_RUNNING = common local_unnamed_addr global i32 0, align 4
@IFF_DRV_OACTIVE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"sfxge_start: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sfxge_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sfxge_start(ptr noundef %0) #0 {
%2 = tail call i32 @SFXGE_ADAPTER_LOCK_ASSERT_OWNED(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @SFXGE_STARTED, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %64, label %6
6: ; preds = %1
%7 = load i64, ptr @SFXGE_REGISTERED, align 8, !tbaa !13
%8 = icmp eq i64 %3, %7
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = load i32, ptr @EINVAL, align 4, !tbaa !14
br label %59
11: ; preds = %6
%12 = tail call i32 @sfxge_set_drv_limits(ptr noundef nonnull %0) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %59
14: ; preds = %11
%15 = getelementptr inbounds i8, ptr %0, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = tail call i32 @efx_nic_init(i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %59
19: ; preds = %14
%20 = tail call i32 @sfxge_intr_start(ptr noundef nonnull %0) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %55
22: ; preds = %19
%23 = tail call i32 @sfxge_ev_start(ptr noundef nonnull %0) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %52
25: ; preds = %22
%26 = tail call i32 @sfxge_port_start(ptr noundef nonnull %0) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %49
28: ; preds = %25
%29 = tail call i32 @sfxge_rx_start(ptr noundef nonnull %0) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %46
31: ; preds = %28
%32 = tail call i32 @sfxge_tx_start(ptr noundef nonnull %0) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %44
34: ; preds = %31
%35 = load i64, ptr @SFXGE_STARTED, align 8, !tbaa !13
store i64 %35, ptr %0, align 8, !tbaa !6
%36 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !14
%37 = getelementptr inbounds i8, ptr %0, i64 16
%38 = load ptr, ptr %37, align 8, !tbaa !16
%39 = load i32, ptr %38, align 4, !tbaa !17
%40 = or i32 %39, %36
store i32 %40, ptr %38, align 4, !tbaa !17
%41 = load i32, ptr @IFF_DRV_OACTIVE, align 4, !tbaa !14
%42 = xor i32 %41, -1
%43 = and i32 %40, %42
store i32 %43, ptr %38, align 4, !tbaa !17
br label %64
44: ; preds = %31
%45 = tail call i32 @sfxge_rx_stop(ptr noundef nonnull %0) #2
br label %46
46: ; preds = %28, %44
%47 = phi i32 [ %29, %28 ], [ %32, %44 ]
%48 = tail call i32 @sfxge_port_stop(ptr noundef nonnull %0) #2
br label %49
49: ; preds = %25, %46
%50 = phi i32 [ %26, %25 ], [ %47, %46 ]
%51 = tail call i32 @sfxge_ev_stop(ptr noundef nonnull %0) #2
br label %52
52: ; preds = %22, %49
%53 = phi i32 [ %23, %22 ], [ %50, %49 ]
%54 = tail call i32 @sfxge_intr_stop(ptr noundef nonnull %0) #2
br label %55
55: ; preds = %19, %52
%56 = phi i32 [ %20, %19 ], [ %53, %52 ]
%57 = load i32, ptr %15, align 4, !tbaa !15
%58 = tail call i32 @efx_nic_fini(i32 noundef %57) #2
br label %59
59: ; preds = %14, %11, %55, %9
%60 = phi i32 [ %10, %9 ], [ %12, %11 ], [ %17, %14 ], [ %56, %55 ]
%61 = getelementptr inbounds i8, ptr %0, i64 8
%62 = load i32, ptr %61, align 8, !tbaa !19
%63 = tail call i32 @device_printf(i32 noundef %62, ptr noundef nonnull @.str, i32 noundef %60) #2
br label %64
64: ; preds = %1, %59, %34
%65 = phi i32 [ %60, %59 ], [ 0, %34 ], [ 0, %1 ]
ret i32 %65
}
declare i32 @SFXGE_ADAPTER_LOCK_ASSERT_OWNED(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_set_drv_limits(ptr noundef) local_unnamed_addr #1
declare i32 @efx_nic_init(i32 noundef) local_unnamed_addr #1
declare i32 @sfxge_intr_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_ev_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_port_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_rx_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_tx_start(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_rx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_port_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_ev_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sfxge_intr_stop(ptr noundef) local_unnamed_addr #1
declare i32 @efx_nic_fini(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sfxge_softc", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!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 = !{!8, !8, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 12}
!16 = !{!7, !12, i64 16}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_2__", !11, i64 0}
!19 = !{!7, !11, i64 8}
| freebsd_sys_dev_sfxge_extr_sfxge.c_sfxge_start |
; ModuleID = 'AnghaBench/freebsd/sys/dev/gem/extr_if_gem_sbus.c_gem_sbus_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/gem/extr_if_gem_sbus.c_gem_sbus_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"network\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"SUNW,sbus-gem\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Sun GEM Gigabit Ethernet\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gem_sbus_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gem_sbus_probe(i32 noundef %0) #0 {
%2 = tail call ptr @ofw_bus_get_name(i32 noundef %0) #2
%3 = tail call i64 @strcmp(ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = tail call ptr @ofw_bus_get_compat(i32 noundef %0) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = tail call ptr @ofw_bus_get_compat(i32 noundef %0) #2
%10 = tail call i64 @strcmp(ptr noundef %9, ptr noundef nonnull @.str.1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.2) #2
br label %16
14: ; preds = %8, %5, %1
%15 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ 0, %12 ], [ %15, %14 ]
ret i32 %17
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ofw_bus_get_name(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_get_compat(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/gem/extr_if_gem_sbus.c_gem_sbus_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/gem/extr_if_gem_sbus.c_gem_sbus_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"network\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"SUNW,sbus-gem\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Sun GEM Gigabit Ethernet\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gem_sbus_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gem_sbus_probe(i32 noundef %0) #0 {
%2 = tail call ptr @ofw_bus_get_name(i32 noundef %0) #2
%3 = tail call i64 @strcmp(ptr noundef %2, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = tail call ptr @ofw_bus_get_compat(i32 noundef %0) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = tail call ptr @ofw_bus_get_compat(i32 noundef %0) #2
%10 = tail call i64 @strcmp(ptr noundef %9, ptr noundef nonnull @.str.1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.2) #2
br label %16
14: ; preds = %8, %5, %1
%15 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %16
16: ; preds = %14, %12
%17 = phi i32 [ 0, %12 ], [ %15, %14 ]
ret i32 %17
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ofw_bus_get_name(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_get_compat(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_gem_extr_if_gem_sbus.c_gem_sbus_probe |
; ModuleID = 'AnghaBench/git/compat/regex/extr_regcomp.c_calc_eclosure_iter.c'
source_filename = "AnghaBench/git/compat/regex/extr_regcomp.c_calc_eclosure_iter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i32 }
%struct.TYPE_16__ = type { ptr, ptr, ptr }
%struct.TYPE_14__ = type { i32, ptr }
%struct.TYPE_13__ = type { i32, i64, i32 }
@REG_NOERROR = dso_local local_unnamed_addr global i64 0, align 8
@REG_ESPACE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @calc_eclosure_iter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @calc_eclosure_iter(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_15__, align 4
%6 = alloca %struct.TYPE_15__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = sext i32 %2 to i64
%10 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 %9
%11 = load i32, ptr %10, align 8, !tbaa !10
%12 = add nsw i32 %11, 1
%13 = call i64 @re_node_set_alloc(ptr noundef nonnull %5, i32 noundef %12) #3
%14 = load i64, ptr @REG_NOERROR, align 8, !tbaa !13
%15 = icmp ne i64 %13, %14
%16 = zext i1 %15 to i32
%17 = call i64 @BE(i32 noundef %16, i32 noundef 0) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %127
19: ; preds = %4
%20 = load ptr, ptr %1, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_15__, ptr %20, i64 %9
store i32 -1, ptr %21, align 4, !tbaa !16
%22 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !18
%24 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 %9, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !19
%26 = icmp eq i64 %25, 0
br i1 %26, label %48, label %27
27: ; preds = %19
%28 = load ptr, ptr %7, align 8, !tbaa !5
%29 = getelementptr inbounds %struct.TYPE_14__, ptr %28, i64 %9
%30 = load i32, ptr %29, align 8, !tbaa !10
%31 = icmp eq i32 %30, 0
br i1 %31, label %48, label %32
32: ; preds = %27
%33 = getelementptr inbounds %struct.TYPE_14__, ptr %28, i64 %9, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !21
%35 = load i64, ptr %34, align 8, !tbaa !13
%36 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 %35, i32 2
%37 = load i32, ptr %36, align 8, !tbaa !22
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %32
%40 = call i64 @duplicate_node_closure(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %2, i32 noundef %2, i64 noundef %25) #3
%41 = load i64, ptr @REG_NOERROR, align 8, !tbaa !13
%42 = icmp ne i64 %40, %41
%43 = zext i1 %42 to i32
%44 = call i64 @BE(i32 noundef %43, i32 noundef 0) #3
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %127
46: ; preds = %39
%47 = load ptr, ptr %22, align 8, !tbaa !18
br label %48
48: ; preds = %46, %32, %27, %19
%49 = phi ptr [ %47, %46 ], [ %23, %32 ], [ %23, %27 ], [ %23, %19 ]
%50 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %9
%51 = load i32, ptr %50, align 8, !tbaa !23
%52 = call i64 @IS_EPSILON_NODE(i32 noundef %51) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %107, label %54
54: ; preds = %48
%55 = load ptr, ptr %7, align 8, !tbaa !5
%56 = getelementptr inbounds %struct.TYPE_14__, ptr %55, i64 %9
%57 = load i32, ptr %56, align 8, !tbaa !10
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %107
59: ; preds = %54, %97
%60 = phi i64 [ %99, %97 ], [ 0, %54 ]
%61 = phi ptr [ %100, %97 ], [ %55, %54 ]
%62 = phi i32 [ %98, %97 ], [ 0, %54 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%63 = getelementptr inbounds %struct.TYPE_14__, ptr %61, i64 %9, i32 1
%64 = load ptr, ptr %63, align 8, !tbaa !21
%65 = getelementptr inbounds i64, ptr %64, i64 %60
%66 = load i64, ptr %65, align 8, !tbaa !13
%67 = load ptr, ptr %1, align 8, !tbaa !15
%68 = shl i64 %66, 32
%69 = ashr exact i64 %68, 32
%70 = getelementptr inbounds %struct.TYPE_15__, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4, !tbaa !24
switch i32 %71, label %80 [
i32 -1, label %97
i32 0, label %72
]
72: ; preds = %59
%73 = trunc i64 %66 to i32
%74 = call i64 @calc_eclosure_iter(ptr noundef nonnull %6, ptr noundef nonnull %1, i32 noundef %73, i32 noundef 0)
%75 = load i64, ptr @REG_NOERROR, align 8, !tbaa !13
%76 = icmp ne i64 %74, %75
%77 = zext i1 %76 to i32
%78 = call i64 @BE(i32 noundef %77, i32 noundef 0) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %81, label %95
80: ; preds = %59
store i32 %71, ptr %6, align 4, !tbaa !24
br label %81
81: ; preds = %72, %80
%82 = call i64 @re_node_set_merge(ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%83 = load i64, ptr @REG_NOERROR, align 8, !tbaa !13
%84 = icmp ne i64 %82, %83
%85 = zext i1 %84 to i32
%86 = call i64 @BE(i32 noundef %85, i32 noundef 0) #3
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %95
88: ; preds = %81
%89 = load ptr, ptr %1, align 8, !tbaa !15
%90 = getelementptr inbounds %struct.TYPE_15__, ptr %89, i64 %69
%91 = load i32, ptr %90, align 4, !tbaa !16
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %97
93: ; preds = %88
%94 = call i32 @re_node_set_free(ptr noundef nonnull %6) #3
br label %97
95: ; preds = %81, %72
%96 = phi i64 [ %74, %72 ], [ %82, %81 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %127
97: ; preds = %59, %93, %88
%98 = phi i32 [ %62, %88 ], [ 1, %93 ], [ 1, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
%99 = add nuw nsw i64 %60, 1
%100 = load ptr, ptr %7, align 8, !tbaa !5
%101 = getelementptr inbounds %struct.TYPE_14__, ptr %100, i64 %9
%102 = load i32, ptr %101, align 8, !tbaa !10
%103 = sext i32 %102 to i64
%104 = icmp slt i64 %99, %103
br i1 %104, label %59, label %105, !llvm.loop !25
105: ; preds = %97
%106 = icmp eq i32 %98, 0
br label %107
107: ; preds = %105, %54, %48
%108 = phi i1 [ true, %48 ], [ true, %54 ], [ %106, %105 ]
%109 = call i32 @re_node_set_insert(ptr noundef nonnull %5, i32 noundef %2) #3
%110 = lshr i32 %109, 31
%111 = call i64 @BE(i32 noundef %110, i32 noundef 0) #3
%112 = icmp eq i64 %111, 0
br i1 %112, label %115, label %113
113: ; preds = %107
%114 = load i64, ptr @REG_ESPACE, align 8, !tbaa !13
br label %127
115: ; preds = %107
%116 = icmp ne i32 %3, 0
%117 = or i1 %116, %108
%118 = load ptr, ptr %1, align 8, !tbaa !15
%119 = getelementptr inbounds %struct.TYPE_15__, ptr %118, i64 %9
br i1 %117, label %122, label %120
120: ; preds = %115
store i32 0, ptr %119, align 4, !tbaa !16
%121 = load i32, ptr %5, align 4, !tbaa !24
br label %124
122: ; preds = %115
%123 = load i32, ptr %5, align 4, !tbaa !24
store i32 %123, ptr %119, align 4, !tbaa !24
br label %124
124: ; preds = %122, %120
%125 = phi i32 [ %123, %122 ], [ %121, %120 ]
store i32 %125, ptr %0, align 4, !tbaa !24
%126 = load i64, ptr @REG_NOERROR, align 8, !tbaa !13
br label %127
127: ; preds = %95, %39, %4, %124, %113
%128 = phi i64 [ %96, %95 ], [ %114, %113 ], [ %126, %124 ], [ %13, %4 ], [ %40, %39 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @re_node_set_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @BE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @duplicate_node_closure(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @IS_EPSILON_NODE(i32 noundef) local_unnamed_addr #2
declare i64 @re_node_set_merge(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @re_node_set_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @re_node_set_insert(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_16__", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_14__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_15__", !12, i64 0}
!18 = !{!6, !7, i64 16}
!19 = !{!20, !14, i64 8}
!20 = !{!"TYPE_13__", !12, i64 0, !14, i64 8, !12, i64 16}
!21 = !{!11, !7, i64 8}
!22 = !{!20, !12, i64 16}
!23 = !{!20, !12, i64 0}
!24 = !{!12, !12, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/compat/regex/extr_regcomp.c_calc_eclosure_iter.c'
source_filename = "AnghaBench/git/compat/regex/extr_regcomp.c_calc_eclosure_iter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { i32 }
%struct.TYPE_14__ = type { i32, ptr }
%struct.TYPE_13__ = type { i32, i64, i32 }
@REG_NOERROR = common local_unnamed_addr global i64 0, align 8
@REG_ESPACE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @calc_eclosure_iter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @calc_eclosure_iter(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_15__, align 4
%6 = alloca %struct.TYPE_15__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = sext i32 %2 to i64
%10 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 %9
%11 = load i32, ptr %10, align 8, !tbaa !11
%12 = add nsw i32 %11, 1
%13 = call i64 @re_node_set_alloc(ptr noundef nonnull %5, i32 noundef %12) #3
%14 = load i64, ptr @REG_NOERROR, align 8, !tbaa !14
%15 = icmp ne i64 %13, %14
%16 = zext i1 %15 to i32
%17 = call i64 @BE(i32 noundef %16, i32 noundef 0) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %127
19: ; preds = %4
%20 = load ptr, ptr %1, align 8, !tbaa !16
%21 = getelementptr inbounds %struct.TYPE_15__, ptr %20, i64 %9
store i32 -1, ptr %21, align 4, !tbaa !17
%22 = getelementptr inbounds i8, ptr %1, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !19
%24 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 %9, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !20
%26 = icmp eq i64 %25, 0
br i1 %26, label %48, label %27
27: ; preds = %19
%28 = load ptr, ptr %7, align 8, !tbaa !6
%29 = getelementptr inbounds %struct.TYPE_14__, ptr %28, i64 %9
%30 = load i32, ptr %29, align 8, !tbaa !11
%31 = icmp eq i32 %30, 0
br i1 %31, label %48, label %32
32: ; preds = %27
%33 = getelementptr inbounds i8, ptr %29, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !22
%35 = load i64, ptr %34, align 8, !tbaa !14
%36 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 %35, i32 2
%37 = load i32, ptr %36, align 8, !tbaa !23
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %32
%40 = call i64 @duplicate_node_closure(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %2, i32 noundef %2, i64 noundef %25) #3
%41 = load i64, ptr @REG_NOERROR, align 8, !tbaa !14
%42 = icmp ne i64 %40, %41
%43 = zext i1 %42 to i32
%44 = call i64 @BE(i32 noundef %43, i32 noundef 0) #3
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %127
46: ; preds = %39
%47 = load ptr, ptr %22, align 8, !tbaa !19
br label %48
48: ; preds = %46, %32, %27, %19
%49 = phi ptr [ %47, %46 ], [ %23, %32 ], [ %23, %27 ], [ %23, %19 ]
%50 = getelementptr inbounds %struct.TYPE_13__, ptr %49, i64 %9
%51 = load i32, ptr %50, align 8, !tbaa !24
%52 = call i64 @IS_EPSILON_NODE(i32 noundef %51) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %107, label %54
54: ; preds = %48
%55 = load ptr, ptr %7, align 8, !tbaa !6
%56 = getelementptr inbounds %struct.TYPE_14__, ptr %55, i64 %9
%57 = load i32, ptr %56, align 8, !tbaa !11
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %107
59: ; preds = %54, %97
%60 = phi i64 [ %99, %97 ], [ 0, %54 ]
%61 = phi ptr [ %100, %97 ], [ %55, %54 ]
%62 = phi i32 [ %98, %97 ], [ 0, %54 ]
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%63 = getelementptr inbounds %struct.TYPE_14__, ptr %61, i64 %9, i32 1
%64 = load ptr, ptr %63, align 8, !tbaa !22
%65 = getelementptr inbounds i64, ptr %64, i64 %60
%66 = load i64, ptr %65, align 8, !tbaa !14
%67 = load ptr, ptr %1, align 8, !tbaa !16
%68 = shl i64 %66, 32
%69 = ashr exact i64 %68, 32
%70 = getelementptr inbounds %struct.TYPE_15__, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4, !tbaa !25
switch i32 %71, label %80 [
i32 -1, label %97
i32 0, label %72
]
72: ; preds = %59
%73 = trunc i64 %66 to i32
%74 = call i64 @calc_eclosure_iter(ptr noundef nonnull %6, ptr noundef nonnull %1, i32 noundef %73, i32 noundef 0)
%75 = load i64, ptr @REG_NOERROR, align 8, !tbaa !14
%76 = icmp ne i64 %74, %75
%77 = zext i1 %76 to i32
%78 = call i64 @BE(i32 noundef %77, i32 noundef 0) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %81, label %95
80: ; preds = %59
store i32 %71, ptr %6, align 4, !tbaa !25
br label %81
81: ; preds = %72, %80
%82 = call i64 @re_node_set_merge(ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%83 = load i64, ptr @REG_NOERROR, align 8, !tbaa !14
%84 = icmp ne i64 %82, %83
%85 = zext i1 %84 to i32
%86 = call i64 @BE(i32 noundef %85, i32 noundef 0) #3
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %95
88: ; preds = %81
%89 = load ptr, ptr %1, align 8, !tbaa !16
%90 = getelementptr inbounds %struct.TYPE_15__, ptr %89, i64 %69
%91 = load i32, ptr %90, align 4, !tbaa !17
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %97
93: ; preds = %88
%94 = call i32 @re_node_set_free(ptr noundef nonnull %6) #3
br label %97
95: ; preds = %81, %72
%96 = phi i64 [ %74, %72 ], [ %82, %81 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %127
97: ; preds = %59, %93, %88
%98 = phi i32 [ %62, %88 ], [ 1, %93 ], [ 1, %59 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
%99 = add nuw nsw i64 %60, 1
%100 = load ptr, ptr %7, align 8, !tbaa !6
%101 = getelementptr inbounds %struct.TYPE_14__, ptr %100, i64 %9
%102 = load i32, ptr %101, align 8, !tbaa !11
%103 = sext i32 %102 to i64
%104 = icmp slt i64 %99, %103
br i1 %104, label %59, label %105, !llvm.loop !26
105: ; preds = %97
%106 = icmp eq i32 %98, 0
br label %107
107: ; preds = %105, %54, %48
%108 = phi i1 [ true, %48 ], [ true, %54 ], [ %106, %105 ]
%109 = call i32 @re_node_set_insert(ptr noundef nonnull %5, i32 noundef %2) #3
%110 = lshr i32 %109, 31
%111 = call i64 @BE(i32 noundef %110, i32 noundef 0) #3
%112 = icmp eq i64 %111, 0
br i1 %112, label %115, label %113
113: ; preds = %107
%114 = load i64, ptr @REG_ESPACE, align 8, !tbaa !14
br label %127
115: ; preds = %107
%116 = icmp ne i32 %3, 0
%117 = or i1 %116, %108
%118 = load ptr, ptr %1, align 8, !tbaa !16
%119 = getelementptr inbounds %struct.TYPE_15__, ptr %118, i64 %9
br i1 %117, label %122, label %120
120: ; preds = %115
store i32 0, ptr %119, align 4, !tbaa !17
%121 = load i32, ptr %5, align 4, !tbaa !25
br label %124
122: ; preds = %115
%123 = load i32, ptr %5, align 4, !tbaa !25
store i32 %123, ptr %119, align 4, !tbaa !25
br label %124
124: ; preds = %122, %120
%125 = phi i32 [ %123, %122 ], [ %121, %120 ]
store i32 %125, ptr %0, align 4, !tbaa !25
%126 = load i64, ptr @REG_NOERROR, align 8, !tbaa !14
br label %127
127: ; preds = %95, %39, %4, %124, %113
%128 = phi i64 [ %96, %95 ], [ %114, %113 ], [ %126, %124 ], [ %13, %4 ], [ %40, %39 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @re_node_set_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @BE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @duplicate_node_closure(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @IS_EPSILON_NODE(i32 noundef) local_unnamed_addr #2
declare i64 @re_node_set_merge(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @re_node_set_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @re_node_set_insert(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_16__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_14__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"TYPE_15__", !13, i64 0}
!19 = !{!7, !8, i64 16}
!20 = !{!21, !15, i64 8}
!21 = !{!"TYPE_13__", !13, i64 0, !15, i64 8, !13, i64 16}
!22 = !{!12, !8, i64 8}
!23 = !{!21, !13, i64 16}
!24 = !{!21, !13, i64 0}
!25 = !{!13, !13, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
| git_compat_regex_extr_regcomp.c_calc_eclosure_iter |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_wince.c_thread_alive.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_wince.c_thread_alive.c"
target datalayout = "e-m:e-p270:32:32-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 = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"ThreadAlive handle\00", align 1
@GDB_THREADALIVE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"ThreadAlive result\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @thread_alive], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @thread_alive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i64, ptr @s, align 8, !tbaa !5
%4 = icmp slt i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !9
%7 = tail call i32 @puthandle(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %0) #3
%8 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !9
%9 = call i32 @getresult(ptr noundef nonnull @.str.1, i32 noundef %8, ptr noundef nonnull %2, ptr noundef null) #3
br label %10
10: ; preds = %1, %5
%11 = phi i32 [ %9, %5 ], [ 1, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @puthandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getresult(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_wince.c_thread_alive.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_wince.c_thread_alive.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@s = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [19 x i8] c"ThreadAlive handle\00", align 1
@GDB_THREADALIVE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"ThreadAlive result\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @thread_alive], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @thread_alive(i32 noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i64, ptr @s, align 8, !tbaa !6
%4 = icmp slt i64 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !10
%7 = tail call i32 @puthandle(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %0) #3
%8 = load i32, ptr @GDB_THREADALIVE, align 4, !tbaa !10
%9 = call i32 @getresult(ptr noundef nonnull @.str.1, i32 noundef %8, ptr noundef nonnull %2, ptr noundef null) #3
br label %10
10: ; preds = %1, %5
%11 = phi i32 [ %9, %5 ], [ 1, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @puthandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @getresult(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| freebsd_contrib_gdb_gdb_extr_wince.c_thread_alive |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c__rtl_eri_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c__rtl_eri_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"
@ERIAR = dso_local local_unnamed_addr global i32 0, align 4
@ERIAR_READ_CMD = dso_local local_unnamed_addr global i32 0, align 4
@ERIAR_MASK_1111 = dso_local local_unnamed_addr global i32 0, align 4
@rtl_eriar_cond = dso_local global i32 0, align 4
@ERIDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl_eri_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_rtl_eri_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @ERIAR, align 4, !tbaa !5
%5 = load i32, ptr @ERIAR_READ_CMD, align 4, !tbaa !5
%6 = load i32, ptr @ERIAR_MASK_1111, align 4, !tbaa !5
%7 = or i32 %2, %1
%8 = or i32 %7, %5
%9 = or i32 %8, %6
%10 = tail call i32 @RTL_W32(ptr noundef %0, i32 noundef %4, i32 noundef %9) #2
%11 = tail call i64 @rtl_udelay_loop_wait_high(ptr noundef %0, ptr noundef nonnull @rtl_eriar_cond, i32 noundef 100, i32 noundef 100) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load i32, ptr @ERIDR, align 4, !tbaa !5
%15 = tail call i32 @RTL_R32(ptr noundef %0, i32 noundef %14) #2
br label %16
16: ; preds = %3, %13
%17 = phi i32 [ %15, %13 ], [ -1, %3 ]
ret i32 %17
}
declare i32 @RTL_W32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rtl_udelay_loop_wait_high(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RTL_R32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c__rtl_eri_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c__rtl_eri_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERIAR = common local_unnamed_addr global i32 0, align 4
@ERIAR_READ_CMD = common local_unnamed_addr global i32 0, align 4
@ERIAR_MASK_1111 = common local_unnamed_addr global i32 0, align 4
@rtl_eriar_cond = common global i32 0, align 4
@ERIDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_rtl_eri_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_rtl_eri_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @ERIAR, align 4, !tbaa !6
%5 = load i32, ptr @ERIAR_READ_CMD, align 4, !tbaa !6
%6 = load i32, ptr @ERIAR_MASK_1111, align 4, !tbaa !6
%7 = or i32 %2, %1
%8 = or i32 %7, %5
%9 = or i32 %8, %6
%10 = tail call i32 @RTL_W32(ptr noundef %0, i32 noundef %4, i32 noundef %9) #2
%11 = tail call i64 @rtl_udelay_loop_wait_high(ptr noundef %0, ptr noundef nonnull @rtl_eriar_cond, i32 noundef 100, i32 noundef 100) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load i32, ptr @ERIDR, align 4, !tbaa !6
%15 = tail call i32 @RTL_R32(ptr noundef %0, i32 noundef %14) #2
br label %16
16: ; preds = %3, %13
%17 = phi i32 [ %15, %13 ], [ -1, %3 ]
ret i32 %17
}
declare i32 @RTL_W32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rtl_udelay_loop_wait_high(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RTL_R32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_realtek_extr_r8169_main.c__rtl_eri_read |
; ModuleID = 'AnghaBench/openpilot/panda/board/extr_safetysafety_honda.h_honda_rx_hook.c'
source_filename = "AnghaBench/openpilot/panda/board/extr_safetysafety_honda.h_honda_rx_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"
@honda_moving = dso_local local_unnamed_addr global i32 0, align 4
@controls_allowed = dso_local local_unnamed_addr global i32 0, align 4
@honda_alt_brake_msg = dso_local local_unnamed_addr global i64 0, align 8
@honda_brake_pressed_prev = dso_local local_unnamed_addr global i32 0, align 4
@gas_interceptor_detected = dso_local local_unnamed_addr global i32 0, align 4
@HONDA_GAS_INTERCEPTOR_THRESHOLD = dso_local local_unnamed_addr global i32 0, align 4
@gas_interceptor_prev = dso_local local_unnamed_addr global i32 0, align 4
@long_controls_allowed = dso_local local_unnamed_addr global i64 0, align 8
@honda_gas_prev = dso_local local_unnamed_addr global i32 0, align 4
@honda_fwd_brake = dso_local local_unnamed_addr global i32 0, align 4
@honda_brake = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @honda_rx_hook], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @honda_rx_hook(ptr noundef %0) #0 {
%2 = tail call i32 @GET_ADDR(ptr noundef %0) #2
%3 = tail call i32 @GET_LEN(ptr noundef %0) #2
%4 = tail call i32 @GET_BUS(ptr noundef %0) #2
switch i32 %2, label %15 [
i32 344, label %5
i32 662, label %9
i32 422, label %9
]
5: ; preds = %1
%6 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%7 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 1) #2
%8 = or i32 %7, %6
store i32 %8, ptr @honda_moving, align 4, !tbaa !5
br label %15
9: ; preds = %1, %1
%10 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%11 = lshr i32 %10, 5
%12 = and i32 %11, 7
switch i32 %12, label %15 [
i32 2, label %13
i32 3, label %14
i32 4, label %14
]
13: ; preds = %9
store i32 0, ptr @controls_allowed, align 4, !tbaa !5
br label %15
14: ; preds = %9, %9
store i32 1, ptr @controls_allowed, align 4, !tbaa !5
br label %15
15: ; preds = %5, %1, %13, %14, %9
%16 = load i64, ptr @honda_alt_brake_msg, align 8, !tbaa !9
%17 = icmp eq i64 %16, 0
%18 = icmp eq i32 %2, 380
%19 = select i1 %17, i32 380, i32 446
%20 = icmp eq i32 %2, %19
br i1 %20, label %21, label %35
21: ; preds = %15
%22 = select i1 %17, i32 6, i32 0
%23 = select i1 %17, i32 32, i32 16
%24 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef %22) #2
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %21
%28 = load i32, ptr @honda_brake_pressed_prev, align 4, !tbaa !5
%29 = icmp eq i32 %28, 0
%30 = load i32, ptr @honda_moving, align 4
%31 = icmp ne i32 %30, 0
%32 = select i1 %29, i1 true, i1 %31
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 0, ptr @controls_allowed, align 4, !tbaa !5
br label %34
34: ; preds = %21, %33, %27
store i32 %25, ptr @honda_brake_pressed_prev, align 4, !tbaa !5
br label %51
35: ; preds = %15
%36 = icmp eq i32 %2, 513
%37 = icmp eq i32 %3, 6
%38 = select i1 %36, i1 %37, i1 false
br i1 %38, label %39, label %51
39: ; preds = %35
store i32 1, ptr @gas_interceptor_detected, align 4, !tbaa !5
%40 = tail call i32 @GET_INTERCEPTOR(ptr noundef %0) #2
%41 = load i32, ptr @HONDA_GAS_INTERCEPTOR_THRESHOLD, align 4, !tbaa !5
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %50
43: ; preds = %39
%44 = load i32, ptr @gas_interceptor_prev, align 4, !tbaa !5
%45 = icmp sle i32 %44, %41
%46 = load i64, ptr @long_controls_allowed, align 8
%47 = icmp ne i64 %46, 0
%48 = select i1 %45, i1 %47, i1 false
br i1 %48, label %49, label %50
49: ; preds = %43
store i32 0, ptr @controls_allowed, align 4, !tbaa !5
br label %50
50: ; preds = %39, %43, %49
store i32 %40, ptr @gas_interceptor_prev, align 4, !tbaa !5
br label %85
51: ; preds = %34, %35
%52 = load i32, ptr @gas_interceptor_detected, align 4, !tbaa !5
%53 = icmp eq i32 %52, 0
%54 = select i1 %53, i1 %18, i1 false
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%57 = icmp ne i32 %56, 0
%58 = load i32, ptr @honda_gas_prev, align 4
%59 = icmp eq i32 %58, 0
%60 = select i1 %57, i1 %59, i1 false
%61 = load i64, ptr @long_controls_allowed, align 8
%62 = icmp ne i64 %61, 0
%63 = select i1 %60, i1 %62, i1 false
br i1 %63, label %64, label %65
64: ; preds = %55
store i32 0, ptr @controls_allowed, align 4, !tbaa !5
br label %65
65: ; preds = %64, %55
store i32 %56, ptr @honda_gas_prev, align 4, !tbaa !5
br label %85
66: ; preds = %51
%67 = icmp eq i32 %4, 2
%68 = icmp eq i32 %2, 506
%69 = select i1 %67, i1 %68, i1 false
br i1 %69, label %70, label %85
70: ; preds = %66
%71 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 3) #2
%72 = and i32 %71, 32
%73 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%74 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 1) #2
%75 = icmp eq i32 %72, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 0, ptr @honda_fwd_brake, align 4, !tbaa !5
br label %85
77: ; preds = %70
%78 = shl i32 %73, 2
%79 = lshr i32 %74, 6
%80 = and i32 %79, 3
%81 = or disjoint i32 %80, %78
%82 = load i32, ptr @honda_brake, align 4, !tbaa !5
%83 = icmp slt i32 %81, %82
br i1 %83, label %85, label %84
84: ; preds = %77
store i32 1, ptr @honda_fwd_brake, align 4, !tbaa !5
br label %85
85: ; preds = %65, %50, %76, %77, %84, %66
ret void
}
declare i32 @GET_ADDR(ptr noundef) local_unnamed_addr #1
declare i32 @GET_LEN(ptr noundef) local_unnamed_addr #1
declare i32 @GET_BUS(ptr noundef) local_unnamed_addr #1
declare i32 @GET_BYTE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GET_INTERCEPTOR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/openpilot/panda/board/extr_safetysafety_honda.h_honda_rx_hook.c'
source_filename = "AnghaBench/openpilot/panda/board/extr_safetysafety_honda.h_honda_rx_hook.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@honda_moving = common local_unnamed_addr global i32 0, align 4
@controls_allowed = common local_unnamed_addr global i32 0, align 4
@honda_alt_brake_msg = common local_unnamed_addr global i64 0, align 8
@honda_brake_pressed_prev = common local_unnamed_addr global i32 0, align 4
@gas_interceptor_detected = common local_unnamed_addr global i32 0, align 4
@HONDA_GAS_INTERCEPTOR_THRESHOLD = common local_unnamed_addr global i32 0, align 4
@gas_interceptor_prev = common local_unnamed_addr global i32 0, align 4
@long_controls_allowed = common local_unnamed_addr global i64 0, align 8
@honda_gas_prev = common local_unnamed_addr global i32 0, align 4
@honda_fwd_brake = common local_unnamed_addr global i32 0, align 4
@honda_brake = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @honda_rx_hook], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @honda_rx_hook(ptr noundef %0) #0 {
%2 = tail call i32 @GET_ADDR(ptr noundef %0) #2
%3 = tail call i32 @GET_LEN(ptr noundef %0) #2
%4 = tail call i32 @GET_BUS(ptr noundef %0) #2
switch i32 %2, label %15 [
i32 344, label %5
i32 662, label %9
i32 422, label %9
]
5: ; preds = %1
%6 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%7 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 1) #2
%8 = or i32 %7, %6
store i32 %8, ptr @honda_moving, align 4, !tbaa !6
br label %15
9: ; preds = %1, %1
%10 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%11 = lshr i32 %10, 5
%12 = and i32 %11, 7
switch i32 %12, label %15 [
i32 2, label %13
i32 3, label %14
i32 4, label %14
]
13: ; preds = %9
store i32 0, ptr @controls_allowed, align 4, !tbaa !6
br label %15
14: ; preds = %9, %9
store i32 1, ptr @controls_allowed, align 4, !tbaa !6
br label %15
15: ; preds = %5, %1, %13, %14, %9
%16 = load i64, ptr @honda_alt_brake_msg, align 8, !tbaa !10
%17 = icmp eq i64 %16, 0
%18 = icmp eq i32 %2, 380
%19 = select i1 %17, i32 380, i32 446
%20 = icmp eq i32 %2, %19
br i1 %20, label %21, label %35
21: ; preds = %15
%22 = select i1 %17, i32 6, i32 0
%23 = select i1 %17, i32 32, i32 16
%24 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef %22) #2
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %21
%28 = load i32, ptr @honda_brake_pressed_prev, align 4, !tbaa !6
%29 = icmp eq i32 %28, 0
%30 = load i32, ptr @honda_moving, align 4
%31 = icmp ne i32 %30, 0
%32 = select i1 %29, i1 true, i1 %31
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 0, ptr @controls_allowed, align 4, !tbaa !6
br label %34
34: ; preds = %21, %33, %27
store i32 %25, ptr @honda_brake_pressed_prev, align 4, !tbaa !6
br label %51
35: ; preds = %15
%36 = icmp eq i32 %2, 513
%37 = icmp eq i32 %3, 6
%38 = select i1 %36, i1 %37, i1 false
br i1 %38, label %39, label %51
39: ; preds = %35
store i32 1, ptr @gas_interceptor_detected, align 4, !tbaa !6
%40 = tail call i32 @GET_INTERCEPTOR(ptr noundef %0) #2
%41 = load i32, ptr @HONDA_GAS_INTERCEPTOR_THRESHOLD, align 4, !tbaa !6
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %50
43: ; preds = %39
%44 = load i32, ptr @gas_interceptor_prev, align 4, !tbaa !6
%45 = icmp sle i32 %44, %41
%46 = load i64, ptr @long_controls_allowed, align 8
%47 = icmp ne i64 %46, 0
%48 = select i1 %45, i1 %47, i1 false
br i1 %48, label %49, label %50
49: ; preds = %43
store i32 0, ptr @controls_allowed, align 4, !tbaa !6
br label %50
50: ; preds = %39, %43, %49
store i32 %40, ptr @gas_interceptor_prev, align 4, !tbaa !6
br label %85
51: ; preds = %34, %35
%52 = load i32, ptr @gas_interceptor_detected, align 4, !tbaa !6
%53 = icmp eq i32 %52, 0
%54 = select i1 %53, i1 %18, i1 false
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%57 = icmp ne i32 %56, 0
%58 = load i32, ptr @honda_gas_prev, align 4
%59 = icmp eq i32 %58, 0
%60 = select i1 %57, i1 %59, i1 false
%61 = load i64, ptr @long_controls_allowed, align 8
%62 = icmp ne i64 %61, 0
%63 = select i1 %60, i1 %62, i1 false
br i1 %63, label %64, label %65
64: ; preds = %55
store i32 0, ptr @controls_allowed, align 4, !tbaa !6
br label %65
65: ; preds = %64, %55
store i32 %56, ptr @honda_gas_prev, align 4, !tbaa !6
br label %85
66: ; preds = %51
%67 = icmp eq i32 %4, 2
%68 = icmp eq i32 %2, 506
%69 = select i1 %67, i1 %68, i1 false
br i1 %69, label %70, label %85
70: ; preds = %66
%71 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 3) #2
%72 = and i32 %71, 32
%73 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 0) #2
%74 = tail call i32 @GET_BYTE(ptr noundef %0, i32 noundef 1) #2
%75 = icmp eq i32 %72, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 0, ptr @honda_fwd_brake, align 4, !tbaa !6
br label %85
77: ; preds = %70
%78 = shl i32 %73, 2
%79 = lshr i32 %74, 6
%80 = and i32 %79, 3
%81 = or disjoint i32 %80, %78
%82 = load i32, ptr @honda_brake, align 4, !tbaa !6
%83 = icmp slt i32 %81, %82
br i1 %83, label %85, label %84
84: ; preds = %77
store i32 1, ptr @honda_fwd_brake, align 4, !tbaa !6
br label %85
85: ; preds = %65, %50, %76, %77, %84, %66
ret void
}
declare i32 @GET_ADDR(ptr noundef) local_unnamed_addr #1
declare i32 @GET_LEN(ptr noundef) local_unnamed_addr #1
declare i32 @GET_BUS(ptr noundef) local_unnamed_addr #1
declare i32 @GET_BYTE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GET_INTERCEPTOR(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| openpilot_panda_board_extr_safetysafety_honda.h_honda_rx_hook |
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_ui.c_UiUnInitialize.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_ui.c_UiUnInitialize.c"
target datalayout = "e-m:e-p270:32:32-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 }
@UiVtbl = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @UiUnInitialize(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @UiDrawBackdrop() #2
%3 = tail call i32 @UiDrawStatusText(i32 noundef %0) #2
%4 = tail call i32 @UiInfoBox(i32 noundef %0) #2
%5 = load ptr, ptr @UiVtbl, align 8, !tbaa !5
%6 = tail call i32 (...) %5() #2
ret i32 undef
}
declare i32 @UiDrawBackdrop(...) local_unnamed_addr #1
declare i32 @UiDrawStatusText(i32 noundef) local_unnamed_addr #1
declare i32 @UiInfoBox(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_ui.c_UiUnInitialize.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/ui/extr_ui.c_UiUnInitialize.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 }
@UiVtbl = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @UiUnInitialize(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @UiDrawBackdrop() #2
%3 = tail call i32 @UiDrawStatusText(i32 noundef %0) #2
%4 = tail call i32 @UiInfoBox(i32 noundef %0) #2
%5 = load ptr, ptr @UiVtbl, align 8, !tbaa !6
%6 = tail call i32 %5() #2
ret i32 undef
}
declare i32 @UiDrawBackdrop(...) local_unnamed_addr #1
declare i32 @UiDrawStatusText(i32 noundef) local_unnamed_addr #1
declare i32 @UiInfoBox(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| reactos_boot_freeldr_freeldr_ui_extr_ui.c_UiUnInitialize |
; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-dma-sg.c_vb2_dma_sg_alloc_compacted.c'
source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-dma-sg.c_vb2_dma_sg_alloc_compacted.c"
target datalayout = "e-m:e-p270:32:32-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.vb2_dma_sg_buf = type { i64, ptr }
%struct.page = type { i32 }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@__GFP_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@__GFP_NOWARN = 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 @vb2_dma_sg_alloc_compacted], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vb2_dma_sg_alloc_compacted(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.vb2_dma_sg_buf, ptr %0, i64 0, i32 1
%5 = icmp eq i64 %3, 0
br i1 %5, label %118, label %6
6: ; preds = %2, %111
%7 = phi i64 [ %116, %111 ], [ %3, %2 ]
%8 = phi i32 [ %112, %111 ], [ 0, %2 ]
%9 = tail call i32 @get_order(i64 noundef %7) #2
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%11 = shl i32 %10, %9
%12 = sext i32 %11 to i64
%13 = icmp ult i64 %7, %12
%14 = sext i1 %13 to i32
%15 = add nsw i32 %9, %14
%16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%17 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !11
%18 = load i32, ptr @__GFP_NOWARN, align 4, !tbaa !11
%19 = or i32 %16, %17
%20 = or i32 %19, %18
%21 = or i32 %20, %1
%22 = tail call ptr @alloc_pages(i32 noundef %21, i32 noundef %15) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %52
24: ; preds = %6, %42
%25 = phi i32 [ %43, %42 ], [ %15, %6 ]
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %42
27: ; preds = %24
%28 = icmp eq i32 %8, 0
br i1 %28, label %39, label %29
29: ; preds = %27
%30 = zext i32 %8 to i64
br label %31
31: ; preds = %29, %31
%32 = phi i64 [ %30, %29 ], [ %33, %31 ]
%33 = add nsw i64 %32, -1
%34 = load ptr, ptr %4, align 8, !tbaa !13
%35 = getelementptr inbounds ptr, ptr %34, i64 %33
%36 = load ptr, ptr %35, align 8, !tbaa !14
%37 = tail call i32 @__free_page(ptr noundef %36) #2
%38 = icmp eq i64 %33, 0
br i1 %38, label %39, label %31, !llvm.loop !15
39: ; preds = %31, %27
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%41 = sub nsw i32 0, %40
br label %118
42: ; preds = %24
%43 = add nsw i32 %25, -1
%44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%45 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !11
%46 = load i32, ptr @__GFP_NOWARN, align 4, !tbaa !11
%47 = or i32 %44, %45
%48 = or i32 %47, %46
%49 = or i32 %48, %1
%50 = tail call ptr @alloc_pages(i32 noundef %49, i32 noundef %43) #2
%51 = icmp eq ptr %50, null
br i1 %51, label %24, label %52, !llvm.loop !17
52: ; preds = %42, %6
%53 = phi i32 [ %15, %6 ], [ %43, %42 ]
%54 = phi ptr [ %22, %6 ], [ %50, %42 ]
%55 = tail call i32 @split_page(ptr noundef nonnull %54, i32 noundef %53) #2
%56 = icmp eq i32 %53, 31
br i1 %56, label %111, label %57
57: ; preds = %52
%58 = shl nuw nsw i32 1, %53
%59 = zext nneg i32 %58 to i64
%60 = and i64 %59, 3
%61 = icmp ult i32 %53, 2
br i1 %61, label %94, label %62
62: ; preds = %57
%63 = and i64 %59, 2147483644
br label %64
64: ; preds = %64, %62
%65 = phi i64 [ 0, %62 ], [ %91, %64 ]
%66 = phi i32 [ %8, %62 ], [ %88, %64 ]
%67 = phi i64 [ 0, %62 ], [ %92, %64 ]
%68 = getelementptr inbounds %struct.page, ptr %54, i64 %65
%69 = load ptr, ptr %4, align 8, !tbaa !13
%70 = add i32 %66, 1
%71 = zext i32 %66 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
store ptr %68, ptr %72, align 8, !tbaa !14
%73 = or disjoint i64 %65, 1
%74 = getelementptr inbounds %struct.page, ptr %54, i64 %73
%75 = load ptr, ptr %4, align 8, !tbaa !13
%76 = add i32 %66, 2
%77 = zext i32 %70 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
store ptr %74, ptr %78, align 8, !tbaa !14
%79 = or disjoint i64 %65, 2
%80 = getelementptr inbounds %struct.page, ptr %54, i64 %79
%81 = load ptr, ptr %4, align 8, !tbaa !13
%82 = add i32 %66, 3
%83 = zext i32 %76 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
store ptr %80, ptr %84, align 8, !tbaa !14
%85 = or disjoint i64 %65, 3
%86 = getelementptr inbounds %struct.page, ptr %54, i64 %85
%87 = load ptr, ptr %4, align 8, !tbaa !13
%88 = add i32 %66, 4
%89 = zext i32 %82 to i64
%90 = getelementptr inbounds ptr, ptr %87, i64 %89
store ptr %86, ptr %90, align 8, !tbaa !14
%91 = add nuw nsw i64 %65, 4
%92 = add i64 %67, 4
%93 = icmp eq i64 %92, %63
br i1 %93, label %94, label %64, !llvm.loop !18
94: ; preds = %64, %57
%95 = phi i32 [ undef, %57 ], [ %88, %64 ]
%96 = phi i64 [ 0, %57 ], [ %91, %64 ]
%97 = phi i32 [ %8, %57 ], [ %88, %64 ]
%98 = icmp eq i64 %60, 0
br i1 %98, label %111, label %99
99: ; preds = %94, %99
%100 = phi i64 [ %108, %99 ], [ %96, %94 ]
%101 = phi i32 [ %105, %99 ], [ %97, %94 ]
%102 = phi i64 [ %109, %99 ], [ 0, %94 ]
%103 = getelementptr inbounds %struct.page, ptr %54, i64 %100
%104 = load ptr, ptr %4, align 8, !tbaa !13
%105 = add i32 %101, 1
%106 = zext i32 %101 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
store ptr %103, ptr %107, align 8, !tbaa !14
%108 = add nuw nsw i64 %100, 1
%109 = add i64 %102, 1
%110 = icmp eq i64 %109, %60
br i1 %110, label %111, label %99, !llvm.loop !19
111: ; preds = %94, %99, %52
%112 = phi i32 [ %8, %52 ], [ %95, %94 ], [ %105, %99 ]
%113 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%114 = shl i32 %113, %53
%115 = sext i32 %114 to i64
%116 = sub i64 %7, %115
%117 = icmp eq i64 %116, 0
br i1 %117, label %118, label %6, !llvm.loop !21
118: ; preds = %111, %2, %39
%119 = phi i32 [ %41, %39 ], [ 0, %2 ], [ 0, %111 ]
ret i32 %119
}
declare i32 @get_order(i64 noundef) local_unnamed_addr #1
declare ptr @alloc_pages(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__free_page(ptr noundef) local_unnamed_addr #1
declare i32 @split_page(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 = !{!"vb2_dma_sg_buf", !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, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!21 = distinct !{!21, !16}
| ; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-dma-sg.c_vb2_dma_sg_alloc_compacted.c'
source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-dma-sg.c_vb2_dma_sg_alloc_compacted.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.page = type { i32 }
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@__GFP_ZERO = common local_unnamed_addr global i32 0, align 4
@__GFP_NOWARN = 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 @vb2_dma_sg_alloc_compacted], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vb2_dma_sg_alloc_compacted(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = icmp eq i64 %3, 0
br i1 %5, label %77, label %6
6: ; preds = %2, %70
%7 = phi i64 [ %75, %70 ], [ %3, %2 ]
%8 = phi i32 [ %71, %70 ], [ 0, %2 ]
%9 = tail call i32 @get_order(i64 noundef %7) #2
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%11 = shl i32 %10, %9
%12 = sext i32 %11 to i64
%13 = icmp ult i64 %7, %12
%14 = sext i1 %13 to i32
%15 = add nsw i32 %9, %14
%16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%17 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !12
%18 = load i32, ptr @__GFP_NOWARN, align 4, !tbaa !12
%19 = or i32 %16, %17
%20 = or i32 %19, %18
%21 = or i32 %20, %1
%22 = tail call ptr @alloc_pages(i32 noundef %21, i32 noundef %15) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %52
24: ; preds = %6, %42
%25 = phi i32 [ %43, %42 ], [ %15, %6 ]
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %42
27: ; preds = %24
%28 = icmp eq i32 %8, 0
br i1 %28, label %39, label %29
29: ; preds = %27
%30 = zext i32 %8 to i64
br label %31
31: ; preds = %29, %31
%32 = phi i64 [ %30, %29 ], [ %33, %31 ]
%33 = add nsw i64 %32, -1
%34 = load ptr, ptr %4, align 8, !tbaa !14
%35 = getelementptr inbounds ptr, ptr %34, i64 %33
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = tail call i32 @__free_page(ptr noundef %36) #2
%38 = icmp eq i64 %33, 0
br i1 %38, label %39, label %31, !llvm.loop !16
39: ; preds = %31, %27
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%41 = sub nsw i32 0, %40
br label %77
42: ; preds = %24
%43 = add nsw i32 %25, -1
%44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%45 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !12
%46 = load i32, ptr @__GFP_NOWARN, align 4, !tbaa !12
%47 = or i32 %44, %45
%48 = or i32 %47, %46
%49 = or i32 %48, %1
%50 = tail call ptr @alloc_pages(i32 noundef %49, i32 noundef %43) #2
%51 = icmp eq ptr %50, null
br i1 %51, label %24, label %52, !llvm.loop !18
52: ; preds = %42, %6
%53 = phi i32 [ %15, %6 ], [ %43, %42 ]
%54 = phi ptr [ %22, %6 ], [ %50, %42 ]
%55 = tail call i32 @split_page(ptr noundef nonnull %54, i32 noundef %53) #2
%56 = icmp eq i32 %53, 31
br i1 %56, label %70, label %57
57: ; preds = %52
%58 = shl nuw nsw i32 1, %53
%59 = zext nneg i32 %58 to i64
br label %60
60: ; preds = %57, %60
%61 = phi i64 [ 0, %57 ], [ %68, %60 ]
%62 = phi i32 [ %8, %57 ], [ %65, %60 ]
%63 = getelementptr inbounds %struct.page, ptr %54, i64 %61
%64 = load ptr, ptr %4, align 8, !tbaa !14
%65 = add i32 %62, 1
%66 = zext i32 %62 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
store ptr %63, ptr %67, align 8, !tbaa !15
%68 = add nuw nsw i64 %61, 1
%69 = icmp eq i64 %68, %59
br i1 %69, label %70, label %60, !llvm.loop !19
70: ; preds = %60, %52
%71 = phi i32 [ %8, %52 ], [ %65, %60 ]
%72 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%73 = shl i32 %72, %53
%74 = sext i32 %73 to i64
%75 = sub i64 %7, %74
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %6, !llvm.loop !20
77: ; preds = %70, %2, %39
%78 = phi i32 [ %41, %39 ], [ 0, %2 ], [ 0, %70 ]
ret i32 %78
}
declare i32 @get_order(i64 noundef) local_unnamed_addr #1
declare ptr @alloc_pages(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__free_page(ptr noundef) local_unnamed_addr #1
declare i32 @split_page(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 = !{!"vb2_dma_sg_buf", !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, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
| linux_drivers_media_common_videobuf2_extr_videobuf2-dma-sg.c_vb2_dma_sg_alloc_compacted |
; ModuleID = 'AnghaBench/linux/sound/pci/vx222/extr_vx222_ops.c_vx_mic_level_put.c'
source_filename = "AnghaBench/linux/sound/pci/vx222/extr_vx222_ops.c_vx_mic_level_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"
@MIC_LEVEL_MAX = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vx_mic_level_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vx_mic_level_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call ptr @to_vx222(ptr noundef %3) #2
%5 = load ptr, ptr %1, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp slt i64 %6, 0
%8 = load i64, ptr @MIC_LEVEL_MAX, align 8
%9 = icmp sgt i64 %6, %8
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !14
%13 = sub nsw i32 0, %12
br label %25
14: ; preds = %2
%15 = tail call i32 @mutex_lock(ptr noundef %3) #2
%16 = load i64, ptr %4, align 8, !tbaa !16
%17 = load ptr, ptr %1, align 8, !tbaa !5
%18 = load i64, ptr %17, align 8, !tbaa !12
%19 = icmp eq i64 %16, %18
br i1 %19, label %23, label %20
20: ; preds = %14
store i64 %18, ptr %4, align 8, !tbaa !16
%21 = tail call i32 @vx2_set_input_level(ptr noundef nonnull %4) #2
%22 = tail call i32 @mutex_unlock(ptr noundef %3) #2
br label %25
23: ; preds = %14
%24 = tail call i32 @mutex_unlock(ptr noundef %3) #2
br label %25
25: ; preds = %23, %20, %11
%26 = phi i32 [ %13, %11 ], [ 1, %20 ], [ 0, %23 ]
ret i32 %26
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @to_vx222(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @vx2_set_input_level(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, !9, i64 0}
!6 = !{!"snd_ctl_elem_value", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"snd_vx222", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/vx222/extr_vx222_ops.c_vx_mic_level_put.c'
source_filename = "AnghaBench/linux/sound/pci/vx222/extr_vx222_ops.c_vx_mic_level_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MIC_LEVEL_MAX = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vx_mic_level_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @vx_mic_level_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call ptr @to_vx222(ptr noundef %3) #2
%5 = load ptr, ptr %1, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp slt i64 %6, 0
%8 = load i64, ptr @MIC_LEVEL_MAX, align 8
%9 = icmp sgt i64 %6, %8
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @EINVAL, align 4, !tbaa !15
%13 = sub nsw i32 0, %12
br label %25
14: ; preds = %2
%15 = tail call i32 @mutex_lock(ptr noundef %3) #2
%16 = load i64, ptr %4, align 8, !tbaa !17
%17 = load ptr, ptr %1, align 8, !tbaa !6
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = icmp eq i64 %16, %18
br i1 %19, label %23, label %20
20: ; preds = %14
store i64 %18, ptr %4, align 8, !tbaa !17
%21 = tail call i32 @vx2_set_input_level(ptr noundef nonnull %4) #2
%22 = tail call i32 @mutex_unlock(ptr noundef %3) #2
br label %25
23: ; preds = %14
%24 = tail call i32 @mutex_unlock(ptr noundef %3) #2
br label %25
25: ; preds = %23, %20, %11
%26 = phi i32 [ %13, %11 ], [ 1, %20 ], [ 0, %23 ]
ret i32 %26
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @to_vx222(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @vx2_set_input_level(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, !10, i64 0}
!7 = !{!"snd_ctl_elem_value", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !11, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"snd_vx222", !14, i64 0}
| linux_sound_pci_vx222_extr_vx222_ops.c_vx_mic_level_put |
; ModuleID = 'AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_usage.c'
source_filename = "AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_usage.c"
target datalayout = "e-m:e-p270:32:32-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 [148 x i8] c"usage: decryptcore [-fLv] -p privatekeyfile -k keyfile -e encryptedcore -c core\0A decryptcore [-fLv] [-d crashdir] -p privatekeyfile -n dumpnr\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usage() #0 {
%1 = tail call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @pjdlog_exitx(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_usage.c'
source_filename = "AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_usage.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 [148 x i8] c"usage: decryptcore [-fLv] -p privatekeyfile -k keyfile -e encryptedcore -c core\0A decryptcore [-fLv] [-d crashdir] -p privatekeyfile -n dumpnr\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usage() #0 {
%1 = tail call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @pjdlog_exitx(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sbin_decryptcore_extr_decryptcore.c_usage |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-common.c_binary_op_error.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-common.c_binary_op_error.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"==\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"!=\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c">=\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"<<\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c">>\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"&\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"&&\00", align 1
@.str.18 = private unnamed_addr constant [3 x i8] c"||\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"^\00", align 1
@.str.20 = private unnamed_addr constant [49 x i8] c"invalid operands to binary %s (have %qT and %qT)\00", align 1
@reltable.binary_op_error = private unnamed_addr constant [22 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.18 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.17 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.13 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.14 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.12 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.11 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.10 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.13 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.14 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.19 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.16 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.15 to i64), i64 ptrtoint (ptr @reltable.binary_op_error to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define dso_local void @binary_op_error(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = add i32 %0, -128
%5 = icmp ult i32 %4, 22
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 (...) @gcc_unreachable() #3
unreachable
8: ; preds = %3
%9 = zext nneg i32 %4 to i64
%10 = shl i64 %9, 2
%11 = call ptr @llvm.load.relative.i64(ptr @reltable.binary_op_error, i64 %10)
%12 = tail call i32 @error(ptr noundef nonnull @.str.20, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2) #3
ret void
}
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #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 willreturn memory(argmem: read) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-common.c_binary_op_error.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-common.c_binary_op_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"min\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"==\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"!=\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c">=\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"<<\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c">>\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"&\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"&&\00", align 1
@.str.18 = private unnamed_addr constant [3 x i8] c"||\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"^\00", align 1
@.str.20 = private unnamed_addr constant [49 x i8] c"invalid operands to binary %s (have %qT and %qT)\00", align 1
@switch.table.binary_op_error = private unnamed_addr constant [22 x ptr] [ptr @.str.18, ptr @.str.17, ptr @.str.13, ptr @.str.14, ptr @.str.12, ptr @.str, ptr @.str.6, ptr @.str.2, ptr @.str.4, ptr @.str.1, ptr @.str.3, ptr @.str.9, ptr @.str.11, ptr @.str.7, ptr @.str.10, ptr @.str.8, ptr @.str.13, ptr @.str.14, ptr @.str.5, ptr @.str.19, ptr @.str.16, ptr @.str.15], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @binary_op_error(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = add i32 %0, -128
%5 = icmp ult i32 %4, 22
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @gcc_unreachable() #2
unreachable
8: ; preds = %3
%9 = zext nneg i32 %4 to i64
%10 = getelementptr inbounds [22 x ptr], ptr @switch.table.binary_op_error, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = tail call i32 @error(ptr noundef nonnull @.str.20, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2) #2
ret void
}
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gcc_extr_c-common.c_binary_op_error |
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_xhci.c_xhci_check_args.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_xhci.c_xhci_check_args.c"
target datalayout = "e-m:e-p270:32:32-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.usb_device = type { i64, i32 }
%struct.xhci_hcd = type { i32, ptr }
@.str = private unnamed_addr constant [34 x i8] c"xHCI %s called with invalid args\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"xHCI %s called for root hub\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"xHCI %s called with unaddressed device\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"xHCI %s called with udev and virt_dev does not match\0A\00", align 1
@XHCI_STATE_HALTED = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xhci_check_args], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xhci_check_args(ptr noundef %0, ptr noundef readonly %1, ptr noundef readnone %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = icmp eq ptr %0, null
br i1 %7, label %14, label %8
8: ; preds = %6
%9 = icmp eq i32 %3, 0
%10 = icmp ne ptr %2, null
%11 = or i1 %10, %9
%12 = icmp ne ptr %1, null
%13 = and i1 %12, %11
br i1 %13, label %18, label %14
14: ; preds = %8, %6
%15 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %5) #2
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %55
18: ; preds = %8
%19 = getelementptr inbounds %struct.usb_device, ptr %1, i64 0, i32 1
%20 = load i32, ptr %19, align 8, !tbaa !9
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef %5) #2
br label %55
24: ; preds = %18
%25 = tail call ptr @hcd_to_xhci(ptr noundef nonnull %0) #2
%26 = icmp eq i32 %4, 0
br i1 %26, label %47, label %27
27: ; preds = %24
%28 = load i64, ptr %1, align 8, !tbaa !12
%29 = icmp eq i64 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %27
%31 = getelementptr inbounds %struct.xhci_hcd, ptr %25, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !13
%33 = getelementptr inbounds ptr, ptr %32, i64 %28
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %30, %27
%37 = tail call i32 @xhci_dbg(ptr noundef %25, ptr noundef nonnull @.str.2, ptr noundef %5) #2
%38 = load i32, ptr @EINVAL, align 4, !tbaa !5
%39 = sub nsw i32 0, %38
br label %55
40: ; preds = %30
%41 = load ptr, ptr %34, align 8, !tbaa !17
%42 = icmp eq ptr %41, %1
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = tail call i32 @xhci_dbg(ptr noundef nonnull %25, ptr noundef nonnull @.str.3, ptr noundef %5) #2
%45 = load i32, ptr @EINVAL, align 4, !tbaa !5
%46 = sub nsw i32 0, %45
br label %55
47: ; preds = %40, %24
%48 = load i32, ptr %25, align 8, !tbaa !19
%49 = load i32, ptr @XHCI_STATE_HALTED, align 4, !tbaa !5
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %47
%53 = load i32, ptr @ENODEV, align 4, !tbaa !5
%54 = sub nsw i32 0, %53
br label %55
55: ; preds = %47, %52, %43, %36, %22, %14
%56 = phi i32 [ %46, %43 ], [ %54, %52 ], [ %39, %36 ], [ 0, %22 ], [ %17, %14 ], [ 1, %47 ]
ret i32 %56
}
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_xhci(ptr noundef) local_unnamed_addr #1
declare i32 @xhci_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"usb_device", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"xhci_hcd", !6, i64 0, !15, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"xhci_virt_device", !15, i64 0}
!19 = !{!14, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_xhci.c_xhci_check_args.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_xhci.c_xhci_check_args.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 [34 x i8] c"xHCI %s called with invalid args\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"xHCI %s called for root hub\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"xHCI %s called with unaddressed device\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"xHCI %s called with udev and virt_dev does not match\0A\00", align 1
@XHCI_STATE_HALTED = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xhci_check_args], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @xhci_check_args(ptr noundef %0, ptr noundef readonly %1, ptr noundef readnone %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = icmp eq ptr %0, null
br i1 %7, label %14, label %8
8: ; preds = %6
%9 = icmp eq i32 %3, 0
%10 = icmp ne ptr %2, null
%11 = or i1 %10, %9
%12 = icmp ne ptr %1, null
%13 = and i1 %12, %11
br i1 %13, label %18, label %14
14: ; preds = %8, %6
%15 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %5) #2
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %55
18: ; preds = %8
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !10
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef %5) #2
br label %55
24: ; preds = %18
%25 = tail call ptr @hcd_to_xhci(ptr noundef nonnull %0) #2
%26 = icmp eq i32 %4, 0
br i1 %26, label %47, label %27
27: ; preds = %24
%28 = load i64, ptr %1, align 8, !tbaa !13
%29 = icmp eq i64 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %27
%31 = getelementptr inbounds i8, ptr %25, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !14
%33 = getelementptr inbounds ptr, ptr %32, i64 %28
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %30, %27
%37 = tail call i32 @xhci_dbg(ptr noundef %25, ptr noundef nonnull @.str.2, ptr noundef %5) #2
%38 = load i32, ptr @EINVAL, align 4, !tbaa !6
%39 = sub nsw i32 0, %38
br label %55
40: ; preds = %30
%41 = load ptr, ptr %34, align 8, !tbaa !18
%42 = icmp eq ptr %41, %1
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = tail call i32 @xhci_dbg(ptr noundef nonnull %25, ptr noundef nonnull @.str.3, ptr noundef %5) #2
%45 = load i32, ptr @EINVAL, align 4, !tbaa !6
%46 = sub nsw i32 0, %45
br label %55
47: ; preds = %40, %24
%48 = load i32, ptr %25, align 8, !tbaa !20
%49 = load i32, ptr @XHCI_STATE_HALTED, align 4, !tbaa !6
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %47
%53 = load i32, ptr @ENODEV, align 4, !tbaa !6
%54 = sub nsw i32 0, %53
br label %55
55: ; preds = %47, %52, %43, %36, %22, %14
%56 = phi i32 [ %46, %43 ], [ %54, %52 ], [ %39, %36 ], [ 0, %22 ], [ %17, %14 ], [ 1, %47 ]
ret i32 %56
}
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_xhci(ptr noundef) local_unnamed_addr #1
declare i32 @xhci_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"usb_device", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !16, i64 8}
!15 = !{!"xhci_hcd", !7, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!19, !16, i64 0}
!19 = !{!"xhci_virt_device", !16, i64 0}
!20 = !{!15, !7, i64 0}
| linux_drivers_usb_host_extr_xhci.c_xhci_check_args |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_sx.c_my_hd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_sx.c_my_hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%p \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%02x %s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @my_hd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @my_hd(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %170
4: ; preds = %2, %4
%5 = phi i64 [ %167, %4 ], [ 0, %2 ]
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, ptr noundef %6) #2
%8 = load i8, ptr %6, align 1, !tbaa !5
%9 = zext i8 %8 to i32
%10 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %9, ptr noundef nonnull @.str.3) #2
%11 = or disjoint i64 %5, 1
%12 = getelementptr inbounds i8, ptr %0, i64 %11
%13 = load i8, ptr %12, align 1, !tbaa !5
%14 = zext i8 %13 to i32
%15 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %14, ptr noundef nonnull @.str.3) #2
%16 = or disjoint i64 %5, 2
%17 = getelementptr inbounds i8, ptr %0, i64 %16
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = zext i8 %18 to i32
%20 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %19, ptr noundef nonnull @.str.3) #2
%21 = or disjoint i64 %5, 3
%22 = getelementptr inbounds i8, ptr %0, i64 %21
%23 = load i8, ptr %22, align 1, !tbaa !5
%24 = zext i8 %23 to i32
%25 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %24, ptr noundef nonnull @.str.3) #2
%26 = or disjoint i64 %5, 4
%27 = getelementptr inbounds i8, ptr %0, i64 %26
%28 = load i8, ptr %27, align 1, !tbaa !5
%29 = zext i8 %28 to i32
%30 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %29, ptr noundef nonnull @.str.3) #2
%31 = or disjoint i64 %5, 5
%32 = getelementptr inbounds i8, ptr %0, i64 %31
%33 = load i8, ptr %32, align 1, !tbaa !5
%34 = zext i8 %33 to i32
%35 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %34, ptr noundef nonnull @.str.3) #2
%36 = or disjoint i64 %5, 6
%37 = getelementptr inbounds i8, ptr %0, i64 %36
%38 = load i8, ptr %37, align 1, !tbaa !5
%39 = zext i8 %38 to i32
%40 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %39, ptr noundef nonnull @.str.3) #2
%41 = or disjoint i64 %5, 7
%42 = getelementptr inbounds i8, ptr %0, i64 %41
%43 = load i8, ptr %42, align 1, !tbaa !5
%44 = zext i8 %43 to i32
%45 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %44, ptr noundef nonnull @.str.2) #2
%46 = or disjoint i64 %5, 8
%47 = getelementptr inbounds i8, ptr %0, i64 %46
%48 = load i8, ptr %47, align 1, !tbaa !5
%49 = zext i8 %48 to i32
%50 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %49, ptr noundef nonnull @.str.3) #2
%51 = or disjoint i64 %5, 9
%52 = getelementptr inbounds i8, ptr %0, i64 %51
%53 = load i8, ptr %52, align 1, !tbaa !5
%54 = zext i8 %53 to i32
%55 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %54, ptr noundef nonnull @.str.3) #2
%56 = or disjoint i64 %5, 10
%57 = getelementptr inbounds i8, ptr %0, i64 %56
%58 = load i8, ptr %57, align 1, !tbaa !5
%59 = zext i8 %58 to i32
%60 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %59, ptr noundef nonnull @.str.3) #2
%61 = or disjoint i64 %5, 11
%62 = getelementptr inbounds i8, ptr %0, i64 %61
%63 = load i8, ptr %62, align 1, !tbaa !5
%64 = zext i8 %63 to i32
%65 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %64, ptr noundef nonnull @.str.3) #2
%66 = or disjoint i64 %5, 12
%67 = getelementptr inbounds i8, ptr %0, i64 %66
%68 = load i8, ptr %67, align 1, !tbaa !5
%69 = zext i8 %68 to i32
%70 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %69, ptr noundef nonnull @.str.3) #2
%71 = or disjoint i64 %5, 13
%72 = getelementptr inbounds i8, ptr %0, i64 %71
%73 = load i8, ptr %72, align 1, !tbaa !5
%74 = zext i8 %73 to i32
%75 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %74, ptr noundef nonnull @.str.3) #2
%76 = or disjoint i64 %5, 14
%77 = getelementptr inbounds i8, ptr %0, i64 %76
%78 = load i8, ptr %77, align 1, !tbaa !5
%79 = zext i8 %78 to i32
%80 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %79, ptr noundef nonnull @.str.3) #2
%81 = or disjoint i64 %5, 15
%82 = getelementptr inbounds i8, ptr %0, i64 %81
%83 = load i8, ptr %82, align 1, !tbaa !5
%84 = zext i8 %83 to i32
%85 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %84, ptr noundef nonnull @.str.3) #2
%86 = load i8, ptr %6, align 1, !tbaa !5
%87 = icmp slt i8 %86, 32
%88 = select i1 %87, i8 46, i8 %86
%89 = zext i8 %88 to i32
%90 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %89) #2
%91 = load i8, ptr %12, align 1, !tbaa !5
%92 = icmp slt i8 %91, 32
%93 = select i1 %92, i8 46, i8 %91
%94 = zext i8 %93 to i32
%95 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %94) #2
%96 = load i8, ptr %17, align 1, !tbaa !5
%97 = icmp slt i8 %96, 32
%98 = select i1 %97, i8 46, i8 %96
%99 = zext i8 %98 to i32
%100 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %99) #2
%101 = load i8, ptr %22, align 1, !tbaa !5
%102 = icmp slt i8 %101, 32
%103 = select i1 %102, i8 46, i8 %101
%104 = zext i8 %103 to i32
%105 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %104) #2
%106 = load i8, ptr %27, align 1, !tbaa !5
%107 = icmp slt i8 %106, 32
%108 = select i1 %107, i8 46, i8 %106
%109 = zext i8 %108 to i32
%110 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %109) #2
%111 = load i8, ptr %32, align 1, !tbaa !5
%112 = icmp slt i8 %111, 32
%113 = select i1 %112, i8 46, i8 %111
%114 = zext i8 %113 to i32
%115 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %114) #2
%116 = load i8, ptr %37, align 1, !tbaa !5
%117 = icmp slt i8 %116, 32
%118 = select i1 %117, i8 46, i8 %116
%119 = zext i8 %118 to i32
%120 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %119) #2
%121 = load i8, ptr %42, align 1, !tbaa !5
%122 = icmp slt i8 %121, 32
%123 = select i1 %122, i8 46, i8 %121
%124 = zext i8 %123 to i32
%125 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %124) #2
%126 = load i8, ptr %47, align 1, !tbaa !5
%127 = icmp slt i8 %126, 32
%128 = select i1 %127, i8 46, i8 %126
%129 = zext i8 %128 to i32
%130 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %129) #2
%131 = load i8, ptr %52, align 1, !tbaa !5
%132 = icmp slt i8 %131, 32
%133 = select i1 %132, i8 46, i8 %131
%134 = zext i8 %133 to i32
%135 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %134) #2
%136 = load i8, ptr %57, align 1, !tbaa !5
%137 = icmp slt i8 %136, 32
%138 = select i1 %137, i8 46, i8 %136
%139 = zext i8 %138 to i32
%140 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %139) #2
%141 = load i8, ptr %62, align 1, !tbaa !5
%142 = icmp slt i8 %141, 32
%143 = select i1 %142, i8 46, i8 %141
%144 = zext i8 %143 to i32
%145 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %144) #2
%146 = load i8, ptr %67, align 1, !tbaa !5
%147 = icmp slt i8 %146, 32
%148 = select i1 %147, i8 46, i8 %146
%149 = zext i8 %148 to i32
%150 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %149) #2
%151 = load i8, ptr %72, align 1, !tbaa !5
%152 = icmp slt i8 %151, 32
%153 = select i1 %152, i8 46, i8 %151
%154 = zext i8 %153 to i32
%155 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %154) #2
%156 = load i8, ptr %77, align 1, !tbaa !5
%157 = icmp slt i8 %156, 32
%158 = select i1 %157, i8 46, i8 %156
%159 = zext i8 %158 to i32
%160 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %159) #2
%161 = load i8, ptr %82, align 1, !tbaa !5
%162 = icmp slt i8 %161, 32
%163 = select i1 %162, i8 46, i8 %161
%164 = zext i8 %163 to i32
%165 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %164) #2
%166 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.5) #2
%167 = add nuw i64 %5, 16
%168 = trunc i64 %167 to i32
%169 = icmp slt i32 %168, %1
br i1 %169, label %4, label %170, !llvm.loop !8
170: ; preds = %4, %2
ret void
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_sx.c_my_hd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_sx.c_my_hd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%p \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%02x %s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @my_hd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @my_hd(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %170
4: ; preds = %2, %4
%5 = phi i64 [ %167, %4 ], [ 0, %2 ]
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, ptr noundef %6) #2
%8 = load i8, ptr %6, align 1, !tbaa !6
%9 = zext i8 %8 to i32
%10 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %9, ptr noundef nonnull @.str.3) #2
%11 = or disjoint i64 %5, 1
%12 = getelementptr inbounds i8, ptr %0, i64 %11
%13 = load i8, ptr %12, align 1, !tbaa !6
%14 = zext i8 %13 to i32
%15 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %14, ptr noundef nonnull @.str.3) #2
%16 = or disjoint i64 %5, 2
%17 = getelementptr inbounds i8, ptr %0, i64 %16
%18 = load i8, ptr %17, align 1, !tbaa !6
%19 = zext i8 %18 to i32
%20 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %19, ptr noundef nonnull @.str.3) #2
%21 = or disjoint i64 %5, 3
%22 = getelementptr inbounds i8, ptr %0, i64 %21
%23 = load i8, ptr %22, align 1, !tbaa !6
%24 = zext i8 %23 to i32
%25 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %24, ptr noundef nonnull @.str.3) #2
%26 = or disjoint i64 %5, 4
%27 = getelementptr inbounds i8, ptr %0, i64 %26
%28 = load i8, ptr %27, align 1, !tbaa !6
%29 = zext i8 %28 to i32
%30 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %29, ptr noundef nonnull @.str.3) #2
%31 = or disjoint i64 %5, 5
%32 = getelementptr inbounds i8, ptr %0, i64 %31
%33 = load i8, ptr %32, align 1, !tbaa !6
%34 = zext i8 %33 to i32
%35 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %34, ptr noundef nonnull @.str.3) #2
%36 = or disjoint i64 %5, 6
%37 = getelementptr inbounds i8, ptr %0, i64 %36
%38 = load i8, ptr %37, align 1, !tbaa !6
%39 = zext i8 %38 to i32
%40 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %39, ptr noundef nonnull @.str.3) #2
%41 = or disjoint i64 %5, 7
%42 = getelementptr inbounds i8, ptr %0, i64 %41
%43 = load i8, ptr %42, align 1, !tbaa !6
%44 = zext i8 %43 to i32
%45 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %44, ptr noundef nonnull @.str.2) #2
%46 = or disjoint i64 %5, 8
%47 = getelementptr inbounds i8, ptr %0, i64 %46
%48 = load i8, ptr %47, align 1, !tbaa !6
%49 = zext i8 %48 to i32
%50 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %49, ptr noundef nonnull @.str.3) #2
%51 = or disjoint i64 %5, 9
%52 = getelementptr inbounds i8, ptr %0, i64 %51
%53 = load i8, ptr %52, align 1, !tbaa !6
%54 = zext i8 %53 to i32
%55 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %54, ptr noundef nonnull @.str.3) #2
%56 = or disjoint i64 %5, 10
%57 = getelementptr inbounds i8, ptr %0, i64 %56
%58 = load i8, ptr %57, align 1, !tbaa !6
%59 = zext i8 %58 to i32
%60 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %59, ptr noundef nonnull @.str.3) #2
%61 = or disjoint i64 %5, 11
%62 = getelementptr inbounds i8, ptr %0, i64 %61
%63 = load i8, ptr %62, align 1, !tbaa !6
%64 = zext i8 %63 to i32
%65 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %64, ptr noundef nonnull @.str.3) #2
%66 = or disjoint i64 %5, 12
%67 = getelementptr inbounds i8, ptr %0, i64 %66
%68 = load i8, ptr %67, align 1, !tbaa !6
%69 = zext i8 %68 to i32
%70 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %69, ptr noundef nonnull @.str.3) #2
%71 = or disjoint i64 %5, 13
%72 = getelementptr inbounds i8, ptr %0, i64 %71
%73 = load i8, ptr %72, align 1, !tbaa !6
%74 = zext i8 %73 to i32
%75 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %74, ptr noundef nonnull @.str.3) #2
%76 = or disjoint i64 %5, 14
%77 = getelementptr inbounds i8, ptr %0, i64 %76
%78 = load i8, ptr %77, align 1, !tbaa !6
%79 = zext i8 %78 to i32
%80 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %79, ptr noundef nonnull @.str.3) #2
%81 = or disjoint i64 %5, 15
%82 = getelementptr inbounds i8, ptr %0, i64 %81
%83 = load i8, ptr %82, align 1, !tbaa !6
%84 = zext i8 %83 to i32
%85 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %84, ptr noundef nonnull @.str.3) #2
%86 = load i8, ptr %6, align 1, !tbaa !6
%87 = icmp slt i8 %86, 32
%88 = select i1 %87, i8 46, i8 %86
%89 = zext i8 %88 to i32
%90 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %89) #2
%91 = load i8, ptr %12, align 1, !tbaa !6
%92 = icmp slt i8 %91, 32
%93 = select i1 %92, i8 46, i8 %91
%94 = zext i8 %93 to i32
%95 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %94) #2
%96 = load i8, ptr %17, align 1, !tbaa !6
%97 = icmp slt i8 %96, 32
%98 = select i1 %97, i8 46, i8 %96
%99 = zext i8 %98 to i32
%100 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %99) #2
%101 = load i8, ptr %22, align 1, !tbaa !6
%102 = icmp slt i8 %101, 32
%103 = select i1 %102, i8 46, i8 %101
%104 = zext i8 %103 to i32
%105 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %104) #2
%106 = load i8, ptr %27, align 1, !tbaa !6
%107 = icmp slt i8 %106, 32
%108 = select i1 %107, i8 46, i8 %106
%109 = zext i8 %108 to i32
%110 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %109) #2
%111 = load i8, ptr %32, align 1, !tbaa !6
%112 = icmp slt i8 %111, 32
%113 = select i1 %112, i8 46, i8 %111
%114 = zext i8 %113 to i32
%115 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %114) #2
%116 = load i8, ptr %37, align 1, !tbaa !6
%117 = icmp slt i8 %116, 32
%118 = select i1 %117, i8 46, i8 %116
%119 = zext i8 %118 to i32
%120 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %119) #2
%121 = load i8, ptr %42, align 1, !tbaa !6
%122 = icmp slt i8 %121, 32
%123 = select i1 %122, i8 46, i8 %121
%124 = zext i8 %123 to i32
%125 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %124) #2
%126 = load i8, ptr %47, align 1, !tbaa !6
%127 = icmp slt i8 %126, 32
%128 = select i1 %127, i8 46, i8 %126
%129 = zext i8 %128 to i32
%130 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %129) #2
%131 = load i8, ptr %52, align 1, !tbaa !6
%132 = icmp slt i8 %131, 32
%133 = select i1 %132, i8 46, i8 %131
%134 = zext i8 %133 to i32
%135 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %134) #2
%136 = load i8, ptr %57, align 1, !tbaa !6
%137 = icmp slt i8 %136, 32
%138 = select i1 %137, i8 46, i8 %136
%139 = zext i8 %138 to i32
%140 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %139) #2
%141 = load i8, ptr %62, align 1, !tbaa !6
%142 = icmp slt i8 %141, 32
%143 = select i1 %142, i8 46, i8 %141
%144 = zext i8 %143 to i32
%145 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %144) #2
%146 = load i8, ptr %67, align 1, !tbaa !6
%147 = icmp slt i8 %146, 32
%148 = select i1 %147, i8 46, i8 %146
%149 = zext i8 %148 to i32
%150 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %149) #2
%151 = load i8, ptr %72, align 1, !tbaa !6
%152 = icmp slt i8 %151, 32
%153 = select i1 %152, i8 46, i8 %151
%154 = zext i8 %153 to i32
%155 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %154) #2
%156 = load i8, ptr %77, align 1, !tbaa !6
%157 = icmp slt i8 %156, 32
%158 = select i1 %157, i8 46, i8 %156
%159 = zext i8 %158 to i32
%160 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %159) #2
%161 = load i8, ptr %82, align 1, !tbaa !6
%162 = icmp slt i8 %161, 32
%163 = select i1 %162, i8 46, i8 %161
%164 = zext i8 %163 to i32
%165 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.4, i32 noundef %164) #2
%166 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.5) #2
%167 = add nuw nsw i64 %5, 16
%168 = trunc nuw i64 %167 to i32
%169 = icmp slt i32 %168, %1
br i1 %169, label %4, label %170, !llvm.loop !9
170: ; preds = %4, %2
ret void
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_char_extr_sx.c_my_hd |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Command.c_PcTunDownOnDisconnectEnable.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Command.c_PcTunDownOnDisconnectEnable.c"
target datalayout = "e-m:e-p270:32:32-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 }
@ERR_NO_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@ERR_INVALID_PARAMETER = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @PcTunDownOnDisconnectEnable(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call ptr @ParseCommandList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 0) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i64, ptr @ERR_INVALID_PARAMETER, align 8, !tbaa !5
br label %28
10: ; preds = %4
%11 = call i32 @Zero(ptr noundef nonnull %5, i32 noundef 4) #3
%12 = load i32, ptr %3, align 4, !tbaa !9
%13 = call i64 @CcGetClientConfig(i32 noundef %12, ptr noundef nonnull %5) #3
%14 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !5
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %10
store i32 1, ptr %5, align 4, !tbaa !12
%17 = load i32, ptr %3, align 4, !tbaa !9
%18 = call i64 @CcSetClientConfig(i32 noundef %17, ptr noundef nonnull %5) #3
%19 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !5
br label %20
20: ; preds = %16, %10
%21 = phi i64 [ %19, %16 ], [ %14, %10 ]
%22 = phi i64 [ %18, %16 ], [ %13, %10 ]
%23 = icmp eq i64 %22, %21
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = call i32 @CmdPrintError(ptr noundef %0, i64 noundef %22) #3
br label %26
26: ; preds = %24, %20
%27 = call i32 @FreeParamValueList(ptr noundef nonnull %6) #3
br label %28
28: ; preds = %26, %8
%29 = phi i64 [ %9, %8 ], [ %22, %26 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ParseCommandList(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CcGetClientConfig(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @CcSetClientConfig(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CmdPrintError(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @FreeParamValueList(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 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_7__", !11, i64 0}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Command.c_PcTunDownOnDisconnectEnable.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Command.c_PcTunDownOnDisconnectEnable.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 }
@ERR_NO_ERROR = common local_unnamed_addr global i64 0, align 8
@ERR_INVALID_PARAMETER = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @PcTunDownOnDisconnectEnable(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call ptr @ParseCommandList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 0) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i64, ptr @ERR_INVALID_PARAMETER, align 8, !tbaa !6
br label %28
10: ; preds = %4
%11 = call i32 @Zero(ptr noundef nonnull %5, i32 noundef 4) #3
%12 = load i32, ptr %3, align 4, !tbaa !10
%13 = call i64 @CcGetClientConfig(i32 noundef %12, ptr noundef nonnull %5) #3
%14 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !6
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %10
store i32 1, ptr %5, align 4, !tbaa !13
%17 = load i32, ptr %3, align 4, !tbaa !10
%18 = call i64 @CcSetClientConfig(i32 noundef %17, ptr noundef nonnull %5) #3
%19 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !6
br label %20
20: ; preds = %16, %10
%21 = phi i64 [ %19, %16 ], [ %14, %10 ]
%22 = phi i64 [ %18, %16 ], [ %13, %10 ]
%23 = icmp eq i64 %22, %21
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = call i32 @CmdPrintError(ptr noundef %0, i64 noundef %22) #3
br label %26
26: ; preds = %24, %20
%27 = call i32 @FreeParamValueList(ptr noundef nonnull %6) #3
br label %28
28: ; preds = %26, %8
%29 = phi i64 [ %9, %8 ], [ %22, %26 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i64 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ParseCommandList(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CcGetClientConfig(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @CcSetClientConfig(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CmdPrintError(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @FreeParamValueList(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 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_7__", !12, i64 0}
| SoftEtherVPN_src_Cedar_extr_Command.c_PcTunDownOnDisconnectEnable |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_nct6683.c_superio_enter.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_nct6683.c_superio_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"
@DRVNAME = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @superio_enter], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @superio_enter(i32 noundef %0) #0 {
%2 = load i32, ptr @DRVNAME, align 4, !tbaa !5
%3 = tail call i32 @request_muxed_region(i32 noundef %0, i32 noundef 2, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EBUSY, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %11
8: ; preds = %1
%9 = tail call i32 @outb(i32 noundef 135, i32 noundef %0) #2
%10 = tail call i32 @outb(i32 noundef 135, i32 noundef %0) #2
br label %11
11: ; preds = %8, %5
%12 = phi i32 [ 0, %8 ], [ %7, %5 ]
ret i32 %12
}
declare i32 @request_muxed_region(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(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/hwmon/extr_nct6683.c_superio_enter.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_nct6683.c_superio_enter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRVNAME = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @superio_enter], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @superio_enter(i32 noundef %0) #0 {
%2 = load i32, ptr @DRVNAME, align 4, !tbaa !6
%3 = tail call i32 @request_muxed_region(i32 noundef %0, i32 noundef 2, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EBUSY, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %11
8: ; preds = %1
%9 = tail call i32 @outb(i32 noundef 135, i32 noundef %0) #2
%10 = tail call i32 @outb(i32 noundef 135, i32 noundef %0) #2
br label %11
11: ; preds = %8, %5
%12 = phi i32 [ 0, %8 ], [ %7, %5 ]
ret i32 %12
}
declare i32 @request_muxed_region(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(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_hwmon_extr_nct6683.c_superio_enter |
; ModuleID = 'AnghaBench/freebsd/lib/libpmc/extr_libpmc.c_pmc_configure_logfile.c'
source_filename = "AnghaBench/freebsd/lib/libpmc/extr_libpmc.c_pmc_configure_logfile.c"
target datalayout = "e-m:e-p270:32:32-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.pmc_op_configurelog = type { i32 }
@CONFIGURELOG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pmc_configure_logfile(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.pmc_op_configurelog, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 %0, ptr %2, align 4, !tbaa !5
%3 = load i32, ptr @CONFIGURELOG, align 4, !tbaa !10
%4 = call i64 @PMC_CALL(i32 noundef %3, ptr noundef nonnull %2) #3
%5 = ashr i64 %4, 63
%6 = trunc i64 %5 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @PMC_CALL(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pmc_op_configurelog", !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/lib/libpmc/extr_libpmc.c_pmc_configure_logfile.c'
source_filename = "AnghaBench/freebsd/lib/libpmc/extr_libpmc.c_pmc_configure_logfile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pmc_op_configurelog = type { i32 }
@CONFIGURELOG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @pmc_configure_logfile(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.pmc_op_configurelog, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 %0, ptr %2, align 4, !tbaa !6
%3 = load i32, ptr @CONFIGURELOG, align 4, !tbaa !11
%4 = call i64 @PMC_CALL(i32 noundef %3, ptr noundef nonnull %2) #3
%5 = ashr i64 %4, 63
%6 = trunc nsw i64 %5 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @PMC_CALL(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pmc_op_configurelog", !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_lib_libpmc_extr_libpmc.c_pmc_configure_logfile |
; ModuleID = 'AnghaBench/linux/fs/coda/extr_dir.c_coda_readdir.c'
source_filename = "AnghaBench/linux/fs/coda/extr_dir.c_coda_readdir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @coda_readdir], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @coda_readdir(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @coda_ftoc(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %8, %2
%13 = tail call ptr @file_inode(ptr noundef nonnull %4) #2
%14 = load i32, ptr @ENOENT, align 4, !tbaa !15
%15 = sub nsw i32 0, %14
%16 = tail call i32 @IS_DEADDIR(ptr noundef %13) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %40
18: ; preds = %12
%19 = load ptr, ptr %4, align 8, !tbaa !10
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !14
%22 = icmp eq ptr %21, null
br i1 %22, label %31, label %23
23: ; preds = %18
%24 = tail call i32 @inode_lock_shared(ptr noundef %13) #2
%25 = load ptr, ptr %4, align 8, !tbaa !10
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i64 0, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !14
%28 = tail call i32 %27(ptr noundef nonnull %4, ptr noundef %1) #2
%29 = tail call i32 @file_accessed(ptr noundef nonnull %4) #2
%30 = tail call i32 @inode_unlock_shared(ptr noundef %13) #2
br label %40
31: ; preds = %18
%32 = tail call i32 @inode_lock(ptr noundef %13) #2
%33 = load ptr, ptr %4, align 8, !tbaa !10
%34 = load ptr, ptr %33, align 8, !tbaa !12
%35 = tail call i32 %34(ptr noundef nonnull %4, ptr noundef %1) #2
%36 = tail call i32 @file_accessed(ptr noundef nonnull %4) #2
%37 = tail call i32 @inode_unlock(ptr noundef %13) #2
br label %40
38: ; preds = %8
%39 = tail call i32 @coda_venus_readdir(ptr noundef %0, ptr noundef %1) #2
br label %40
40: ; preds = %12, %31, %23, %38
%41 = phi i32 [ %39, %38 ], [ %15, %12 ], [ %28, %23 ], [ %35, %31 ]
ret i32 %41
}
declare ptr @coda_ftoc(ptr noundef) local_unnamed_addr #1
declare ptr @file_inode(ptr noundef) local_unnamed_addr #1
declare i32 @IS_DEADDIR(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock_shared(ptr noundef) local_unnamed_addr #1
declare i32 @file_accessed(ptr noundef) local_unnamed_addr #1
declare i32 @inode_unlock_shared(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inode_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @coda_venus_readdir(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 = !{!"coda_file_info", !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 = !{!"file", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/coda/extr_dir.c_coda_readdir.c'
source_filename = "AnghaBench/linux/fs/coda/extr_dir.c_coda_readdir.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @coda_readdir], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @coda_readdir(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @coda_ftoc(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %5, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %8, %2
%13 = tail call ptr @file_inode(ptr noundef nonnull %4) #2
%14 = load i32, ptr @ENOENT, align 4, !tbaa !16
%15 = sub nsw i32 0, %14
%16 = tail call i32 @IS_DEADDIR(ptr noundef %13) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %40
18: ; preds = %12
%19 = load ptr, ptr %4, align 8, !tbaa !11
%20 = getelementptr inbounds i8, ptr %19, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = icmp eq ptr %21, null
br i1 %22, label %31, label %23
23: ; preds = %18
%24 = tail call i32 @inode_lock_shared(ptr noundef %13) #2
%25 = load ptr, ptr %4, align 8, !tbaa !11
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = tail call i32 %27(ptr noundef nonnull %4, ptr noundef %1) #2
%29 = tail call i32 @file_accessed(ptr noundef nonnull %4) #2
%30 = tail call i32 @inode_unlock_shared(ptr noundef %13) #2
br label %40
31: ; preds = %18
%32 = tail call i32 @inode_lock(ptr noundef %13) #2
%33 = load ptr, ptr %4, align 8, !tbaa !11
%34 = load ptr, ptr %33, align 8, !tbaa !13
%35 = tail call i32 %34(ptr noundef nonnull %4, ptr noundef %1) #2
%36 = tail call i32 @file_accessed(ptr noundef nonnull %4) #2
%37 = tail call i32 @inode_unlock(ptr noundef %13) #2
br label %40
38: ; preds = %8
%39 = tail call i32 @coda_venus_readdir(ptr noundef %0, ptr noundef %1) #2
br label %40
40: ; preds = %12, %31, %23, %38
%41 = phi i32 [ %39, %38 ], [ %15, %12 ], [ %28, %23 ], [ %35, %31 ]
ret i32 %41
}
declare ptr @coda_ftoc(ptr noundef) local_unnamed_addr #1
declare ptr @file_inode(ptr noundef) local_unnamed_addr #1
declare i32 @IS_DEADDIR(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock_shared(ptr noundef) local_unnamed_addr #1
declare i32 @file_accessed(ptr noundef) local_unnamed_addr #1
declare i32 @inode_unlock_shared(ptr noundef) local_unnamed_addr #1
declare i32 @inode_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inode_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @coda_venus_readdir(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 = !{!"coda_file_info", !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 = !{!"file", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0, !8, i64 8}
!15 = !{!14, !8, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
| linux_fs_coda_extr_dir.c_coda_readdir |
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lparser.c_check_conflict.c'
source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lparser.c_check_conflict.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i64, %struct.TYPE_14__ }
%struct.TYPE_14__ = type { %struct.TYPE_13__ }
%struct.TYPE_13__ = type { i32, i32 }
%struct.LHS_assign = type { %struct.TYPE_15__, ptr }
@VINDEXED = dso_local local_unnamed_addr global i64 0, align 8
@OP_MOVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_conflict], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @check_conflict(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = icmp eq ptr %1, null
br i1 %6, label %44, label %7
7: ; preds = %3
%8 = load i64, ptr @VINDEXED, align 8, !tbaa !13
br label %9
9: ; preds = %30, %7
%10 = phi i32 [ 0, %7 ], [ %31, %30 ]
%11 = phi ptr [ %1, %7 ], [ %32, %30 ]
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = icmp eq i64 %12, %8
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = getelementptr inbounds %struct.TYPE_15__, ptr %11, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !20
%17 = load i32, ptr %2, align 4, !tbaa !21
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 %5, ptr %15, align 8, !tbaa !20
br label %20
20: ; preds = %19, %14
%21 = phi i32 [ 1, %19 ], [ %10, %14 ]
%22 = getelementptr inbounds %struct.TYPE_15__, ptr %11, i64 0, i32 1, i32 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !25
%24 = icmp eq i32 %23, %17
br i1 %24, label %33, label %25
25: ; preds = %9, %20
%26 = phi i32 [ %21, %20 ], [ %10, %9 ]
%27 = getelementptr inbounds %struct.LHS_assign, ptr %11, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !26
%29 = icmp eq ptr %28, null
br i1 %29, label %37, label %30
30: ; preds = %25, %33
%31 = phi i32 [ %26, %25 ], [ 1, %33 ]
%32 = phi ptr [ %28, %25 ], [ %35, %33 ]
br label %9, !llvm.loop !27
33: ; preds = %20
store i32 %5, ptr %22, align 4, !tbaa !25
%34 = getelementptr inbounds %struct.LHS_assign, ptr %11, i64 0, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !26
%36 = icmp eq ptr %35, null
br i1 %36, label %39, label %30
37: ; preds = %25
%38 = icmp eq i32 %26, 0
br i1 %38, label %44, label %39
39: ; preds = %33, %37
%40 = load i32, ptr @OP_MOVE, align 4, !tbaa !29
%41 = load i32, ptr %2, align 4, !tbaa !21
%42 = tail call i32 @luaK_codeABC(ptr noundef nonnull %4, i32 noundef %40, i32 noundef %5, i32 noundef %41, i32 noundef 0) #2
%43 = tail call i32 @luaK_reserveregs(ptr noundef nonnull %4, i32 noundef 1) #2
br label %44
44: ; preds = %3, %39, %37
ret void
}
declare i32 @luaK_codeABC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaK_reserveregs(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_19__", !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_20__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"LHS_assign", !17, i64 0, !7, i64 16}
!17 = !{!"TYPE_15__", !14, i64 0, !18, i64 8}
!18 = !{!"TYPE_14__", !19, i64 0}
!19 = !{!"TYPE_13__", !12, i64 0, !12, i64 4}
!20 = !{!16, !12, i64 8}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_18__", !23, i64 0}
!23 = !{!"TYPE_17__", !24, i64 0}
!24 = !{!"TYPE_16__", !12, i64 0}
!25 = !{!16, !12, i64 12}
!26 = !{!16, !7, i64 16}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lparser.c_check_conflict.c'
source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lparser.c_check_conflict.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VINDEXED = common local_unnamed_addr global i64 0, align 8
@OP_MOVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_conflict], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @check_conflict(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = icmp eq ptr %1, null
br i1 %6, label %44, label %7
7: ; preds = %3
%8 = load i64, ptr @VINDEXED, align 8, !tbaa !14
br label %9
9: ; preds = %30, %7
%10 = phi i32 [ 0, %7 ], [ %31, %30 ]
%11 = phi ptr [ %1, %7 ], [ %32, %30 ]
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = icmp eq i64 %12, %8
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = getelementptr inbounds i8, ptr %11, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !21
%17 = load i32, ptr %2, align 4, !tbaa !22
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 %5, ptr %15, align 8, !tbaa !21
br label %20
20: ; preds = %19, %14
%21 = phi i32 [ 1, %19 ], [ %10, %14 ]
%22 = getelementptr inbounds i8, ptr %11, i64 12
%23 = load i32, ptr %22, align 4, !tbaa !26
%24 = icmp eq i32 %23, %17
br i1 %24, label %33, label %25
25: ; preds = %9, %20
%26 = phi i32 [ %21, %20 ], [ %10, %9 ]
%27 = getelementptr inbounds i8, ptr %11, i64 16
%28 = load ptr, ptr %27, align 8, !tbaa !27
%29 = icmp eq ptr %28, null
br i1 %29, label %37, label %30
30: ; preds = %25, %33
%31 = phi i32 [ %26, %25 ], [ 1, %33 ]
%32 = phi ptr [ %28, %25 ], [ %35, %33 ]
br label %9, !llvm.loop !28
33: ; preds = %20
store i32 %5, ptr %22, align 4, !tbaa !26
%34 = getelementptr inbounds i8, ptr %11, i64 16
%35 = load ptr, ptr %34, align 8, !tbaa !27
%36 = icmp eq ptr %35, null
br i1 %36, label %39, label %30
37: ; preds = %25
%38 = icmp eq i32 %26, 0
br i1 %38, label %44, label %39
39: ; preds = %33, %37
%40 = load i32, ptr @OP_MOVE, align 4, !tbaa !30
%41 = load i32, ptr %2, align 4, !tbaa !22
%42 = tail call i32 @luaK_codeABC(ptr noundef nonnull %4, i32 noundef %40, i32 noundef %5, i32 noundef %41, i32 noundef 0) #2
%43 = tail call i32 @luaK_reserveregs(ptr noundef nonnull %4, i32 noundef 1) #2
br label %44
44: ; preds = %3, %39, %37
ret void
}
declare i32 @luaK_codeABC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaK_reserveregs(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_19__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_20__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"LHS_assign", !18, i64 0, !8, i64 16}
!18 = !{!"TYPE_15__", !15, i64 0, !19, i64 8}
!19 = !{!"TYPE_14__", !20, i64 0}
!20 = !{!"TYPE_13__", !13, i64 0, !13, i64 4}
!21 = !{!17, !13, i64 8}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_18__", !24, i64 0}
!24 = !{!"TYPE_17__", !25, i64 0}
!25 = !{!"TYPE_16__", !13, i64 0}
!26 = !{!17, !13, i64 12}
!27 = !{!17, !8, i64 16}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!13, !13, i64 0}
| xLua_build_lua-5.1.5_src_extr_lparser.c_check_conflict |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5677.c_rt5677_dsp_mode_i2c_read_addr.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5677.c_rt5677_dsp_mode_i2c_read_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rt5677_priv = type { i32, i32, ptr }
@RT5677_DSP_I2C_ADDR_MSB = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Failed to set addr msb value: %d\0A\00", align 1
@RT5677_DSP_I2C_ADDR_LSB = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Failed to set addr lsb value: %d\0A\00", align 1
@RT5677_DSP_I2C_OP_CODE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Failed to set op code value: %d\0A\00", align 1
@RT5677_DSP_I2C_DATA_MSB = dso_local local_unnamed_addr global i32 0, align 4
@RT5677_DSP_I2C_DATA_LSB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt5677_dsp_mode_i2c_read_addr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rt5677_dsp_mode_i2c_read_addr(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds %struct.rt5677_priv, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = tail call i32 @mutex_lock(ptr noundef %0) #3
%9 = getelementptr inbounds %struct.rt5677_priv, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr @RT5677_DSP_I2C_ADDR_MSB, align 4, !tbaa !12
%12 = lshr i32 %1, 16
%13 = tail call i32 @regmap_write(i32 noundef %10, i32 noundef %11, i32 noundef %12) #3
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr %7, align 4, !tbaa !13
%17 = tail call i32 @dev_err(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %13) #3
br label %46
18: ; preds = %3
%19 = load i32, ptr %9, align 4, !tbaa !11
%20 = load i32, ptr @RT5677_DSP_I2C_ADDR_LSB, align 4, !tbaa !12
%21 = and i32 %1, 65535
%22 = tail call i32 @regmap_write(i32 noundef %19, i32 noundef %20, i32 noundef %21) #3
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %7, align 4, !tbaa !13
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %22) #3
br label %46
27: ; preds = %18
%28 = load i32, ptr %9, align 4, !tbaa !11
%29 = load i32, ptr @RT5677_DSP_I2C_OP_CODE, align 4, !tbaa !12
%30 = tail call i32 @regmap_write(i32 noundef %28, i32 noundef %29, i32 noundef 2) #3
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr %7, align 4, !tbaa !13
%34 = tail call i32 @dev_err(i32 noundef %33, ptr noundef nonnull @.str.2, i32 noundef %30) #3
br label %46
35: ; preds = %27
%36 = load i32, ptr %9, align 4, !tbaa !11
%37 = load i32, ptr @RT5677_DSP_I2C_DATA_MSB, align 4, !tbaa !12
%38 = call i32 @regmap_read(i32 noundef %36, i32 noundef %37, ptr noundef nonnull %4) #3
%39 = load i32, ptr %9, align 4, !tbaa !11
%40 = load i32, ptr @RT5677_DSP_I2C_DATA_LSB, align 4, !tbaa !12
%41 = call i32 @regmap_read(i32 noundef %39, i32 noundef %40, ptr noundef nonnull %5) #3
%42 = load i32, ptr %4, align 4, !tbaa !12
%43 = shl i32 %42, 16
%44 = load i32, ptr %5, align 4, !tbaa !12
%45 = or i32 %43, %44
store i32 %45, ptr %2, align 4, !tbaa !12
br label %46
46: ; preds = %35, %32, %24, %15
%47 = phi i32 [ %13, %15 ], [ %22, %24 ], [ %30, %32 ], [ %30, %35 ]
%48 = call i32 @mutex_unlock(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"rt5677_priv", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"snd_soc_component", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5677.c_rt5677_dsp_mode_i2c_read_addr.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5677.c_rt5677_dsp_mode_i2c_read_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RT5677_DSP_I2C_ADDR_MSB = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Failed to set addr msb value: %d\0A\00", align 1
@RT5677_DSP_I2C_ADDR_LSB = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Failed to set addr lsb value: %d\0A\00", align 1
@RT5677_DSP_I2C_OP_CODE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [33 x i8] c"Failed to set op code value: %d\0A\00", align 1
@RT5677_DSP_I2C_DATA_MSB = common local_unnamed_addr global i32 0, align 4
@RT5677_DSP_I2C_DATA_LSB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt5677_dsp_mode_i2c_read_addr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rt5677_dsp_mode_i2c_read_addr(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = tail call i32 @mutex_lock(ptr noundef %0) #3
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @RT5677_DSP_I2C_ADDR_MSB, align 4, !tbaa !13
%12 = lshr i32 %1, 16
%13 = tail call i32 @regmap_write(i32 noundef %10, i32 noundef %11, i32 noundef %12) #3
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr %7, align 4, !tbaa !14
%17 = tail call i32 @dev_err(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %13) #3
br label %46
18: ; preds = %3
%19 = load i32, ptr %9, align 4, !tbaa !12
%20 = load i32, ptr @RT5677_DSP_I2C_ADDR_LSB, align 4, !tbaa !13
%21 = and i32 %1, 65535
%22 = tail call i32 @regmap_write(i32 noundef %19, i32 noundef %20, i32 noundef %21) #3
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %7, align 4, !tbaa !14
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %22) #3
br label %46
27: ; preds = %18
%28 = load i32, ptr %9, align 4, !tbaa !12
%29 = load i32, ptr @RT5677_DSP_I2C_OP_CODE, align 4, !tbaa !13
%30 = tail call i32 @regmap_write(i32 noundef %28, i32 noundef %29, i32 noundef 2) #3
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr %7, align 4, !tbaa !14
%34 = tail call i32 @dev_err(i32 noundef %33, ptr noundef nonnull @.str.2, i32 noundef %30) #3
br label %46
35: ; preds = %27
%36 = load i32, ptr %9, align 4, !tbaa !12
%37 = load i32, ptr @RT5677_DSP_I2C_DATA_MSB, align 4, !tbaa !13
%38 = call i32 @regmap_read(i32 noundef %36, i32 noundef %37, ptr noundef nonnull %4) #3
%39 = load i32, ptr %9, align 4, !tbaa !12
%40 = load i32, ptr @RT5677_DSP_I2C_DATA_LSB, align 4, !tbaa !13
%41 = call i32 @regmap_read(i32 noundef %39, i32 noundef %40, ptr noundef nonnull %5) #3
%42 = load i32, ptr %4, align 4, !tbaa !13
%43 = shl i32 %42, 16
%44 = load i32, ptr %5, align 4, !tbaa !13
%45 = or i32 %43, %44
store i32 %45, ptr %2, align 4, !tbaa !13
br label %46
46: ; preds = %35, %32, %24, %15
%47 = phi i32 [ %13, %15 ], [ %22, %24 ], [ %30, %32 ], [ %30, %35 ]
%48 = call i32 @mutex_unlock(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"rt5677_priv", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"snd_soc_component", !8, i64 0}
| linux_sound_soc_codecs_extr_rt5677.c_rt5677_dsp_mode_i2c_read_addr |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_io.c_svn_io_is_file_executable.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_io.c_svn_io_is_file_executable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@APR_FINFO_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@APR_FINFO_PROT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local ptr @svn_io_is_file_executable(ptr nocapture noundef writeonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !5
store i32 %4, ptr %0, align 4, !tbaa !5
%5 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !9
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_io.c_svn_io_is_file_executable.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_io.c_svn_io_is_file_executable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@APR_FINFO_OWNER = common local_unnamed_addr global i32 0, align 4
@APR_FINFO_PROT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define ptr @svn_io_is_file_executable(ptr nocapture noundef writeonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !6
store i32 %4, ptr %0, align 4, !tbaa !6
%5 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_subr_extr_io.c_svn_io_is_file_executable |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwreq.c_lpm_adjust.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwreq.c_lpm_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"
; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define dso_local i32 @lpm_adjust(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %3, %2
%4 = phi i32 [ %0, %2 ], [ %9, %3 ]
%5 = icmp ne i32 %4, 0
%6 = and i32 %4, %1
%7 = icmp eq i32 %6, 0
%8 = and i1 %5, %7
%9 = ashr i32 %4, 1
br i1 %8, label %3, label %10, !llvm.loop !5
10: ; preds = %3
ret i32 %4
}
attributes #0 = { nofree norecurse nosync nounwind 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)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwreq.c_lpm_adjust.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_ccwreq.c_lpm_adjust.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync)
define i32 @lpm_adjust(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %3, %2
%4 = phi i32 [ %0, %2 ], [ %9, %3 ]
%5 = icmp ne i32 %4, 0
%6 = and i32 %4, %1
%7 = icmp eq i32 %6, 0
%8 = and i1 %5, %7
%9 = ashr i32 %4, 1
br i1 %8, label %3, label %10, !llvm.loop !6
10: ; preds = %3
ret i32 %4
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_s390_cio_extr_ccwreq.c_lpm_adjust |
; ModuleID = 'AnghaBench/redis/deps/hiredis/extr_read.c_processAggregateItem.c'
source_filename = "AnghaBench/redis/deps/hiredis/extr_read.c_processAggregateItem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i64, ptr, i32, ptr, ptr }
%struct.TYPE_13__ = type { i64, i64, i32, ptr, ptr, i64 }
%struct.TYPE_11__ = type { ptr, ptr }
@REDIS_ERR_PROTOCOL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"No support for nested multi bulk replies with depth > 7\00", align 1
@REDIS_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"Bad multi-bulk length\00", align 1
@LLONG_MAX = dso_local local_unnamed_addr global i64 0, align 8
@SIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [31 x i8] c"Multi-bulk length out of range\00", align 1
@REDIS_REPLY_NIL = dso_local local_unnamed_addr global i64 0, align 8
@REDIS_REPLY_MAP = dso_local local_unnamed_addr global i64 0, align 8
@REDIS_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @processAggregateItem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @processAggregateItem(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%8 = icmp eq i64 %6, 8
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !13
%11 = tail call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull @.str) #4
br label %103
12: ; preds = %1
%13 = call ptr @readLine(ptr noundef nonnull %0, ptr noundef nonnull %3) #4
%14 = icmp eq ptr %13, null
br i1 %14, label %103, label %15
15: ; preds = %12
%16 = load i32, ptr %3, align 4, !tbaa !13
%17 = call i32 @string2ll(ptr noundef nonnull %13, i32 noundef %16, ptr noundef nonnull %2) #4
%18 = load i32, ptr @REDIS_ERR, align 4, !tbaa !13
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !13
%22 = call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull @.str.1) #4
br label %103
23: ; preds = %15
%24 = load i64, ptr %0, align 8, !tbaa !12
%25 = icmp eq i64 %24, 0
%26 = load i64, ptr %2, align 8, !tbaa !14
%27 = icmp slt i64 %26, -1
br i1 %27, label %34, label %28
28: ; preds = %23
%29 = load i64, ptr @LLONG_MAX, align 8, !tbaa !14
%30 = load i64, ptr @SIZE_MAX, align 8, !tbaa !14
%31 = icmp sgt i64 %29, %30
%32 = icmp sgt i64 %26, %30
%33 = and i1 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %28, %23
%35 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !13
%36 = call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %35, ptr noundef nonnull @.str.2) #4
br label %103
37: ; preds = %28
%38 = icmp eq i64 %26, -1
br i1 %38, label %39, label %59
39: ; preds = %37
%40 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4
%41 = load ptr, ptr %40, align 8, !tbaa !16
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %39
%44 = getelementptr inbounds %struct.TYPE_11__, ptr %41, i64 0, i32 1
%45 = load ptr, ptr %44, align 8, !tbaa !17
%46 = icmp eq ptr %45, null
br i1 %46, label %49, label %47
47: ; preds = %43
%48 = call ptr %45(ptr noundef %7) #4
br label %52
49: ; preds = %43, %39
%50 = load i64, ptr @REDIS_REPLY_NIL, align 8, !tbaa !19
%51 = inttoptr i64 %50 to ptr
br label %52
52: ; preds = %49, %47
%53 = phi ptr [ %48, %47 ], [ %51, %49 ]
%54 = icmp eq ptr %53, null
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @__redisReaderSetErrorOOM(ptr noundef nonnull %0) #4
br label %103
57: ; preds = %52
%58 = call i32 @moveToNextTask(ptr noundef nonnull %0) #4
br label %99
59: ; preds = %37
%60 = load i64, ptr %7, align 8, !tbaa !20
%61 = load i64, ptr @REDIS_REPLY_MAP, align 8, !tbaa !19
%62 = icmp eq i64 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = shl nuw nsw i64 %26, 1
store i64 %64, ptr %2, align 8, !tbaa !14
br label %65
65: ; preds = %63, %59
%66 = phi i64 [ %64, %63 ], [ %26, %59 ]
%67 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4
%68 = load ptr, ptr %67, align 8, !tbaa !16
%69 = icmp eq ptr %68, null
br i1 %69, label %75, label %70
70: ; preds = %65
%71 = load ptr, ptr %68, align 8, !tbaa !22
%72 = icmp eq ptr %71, null
br i1 %72, label %75, label %73
73: ; preds = %70
%74 = call ptr %71(ptr noundef nonnull %7, i64 noundef %66) #4
br label %77
75: ; preds = %70, %65
%76 = inttoptr i64 %60 to ptr
br label %77
77: ; preds = %75, %73
%78 = phi ptr [ %74, %73 ], [ %76, %75 ]
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @__redisReaderSetErrorOOM(ptr noundef nonnull %0) #4
br label %103
82: ; preds = %77
%83 = load i64, ptr %2, align 8, !tbaa !14
%84 = icmp sgt i64 %83, 0
br i1 %84, label %85, label %97
85: ; preds = %82
%86 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %6, i32 1
store i64 %83, ptr %86, align 8, !tbaa !23
%87 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %6, i32 4
store ptr %78, ptr %87, align 8, !tbaa !24
%88 = load i64, ptr %0, align 8, !tbaa !12
%89 = add i64 %88, 1
store i64 %89, ptr %0, align 8, !tbaa !12
%90 = load ptr, ptr %4, align 8, !tbaa !5
%91 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %91, i8 -1, i64 16, i1 false)
%92 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 4
%93 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 3
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %92, i8 0, i64 16, i1 false)
store ptr %7, ptr %93, align 8, !tbaa !25
%94 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%95 = load i32, ptr %94, align 8, !tbaa !26
%96 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 2
store i32 %95, ptr %96, align 8, !tbaa !27
br label %99
97: ; preds = %82
%98 = call i32 @moveToNextTask(ptr noundef nonnull %0) #4
br label %99
99: ; preds = %85, %97, %57
%100 = phi ptr [ %53, %57 ], [ %78, %85 ], [ %78, %97 ]
br i1 %25, label %101, label %103
101: ; preds = %99
%102 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
store ptr %100, ptr %102, align 8, !tbaa !28
br label %103
103: ; preds = %12, %99, %101, %80, %55, %34, %20, %9
%104 = phi ptr [ @REDIS_ERR, %9 ], [ @REDIS_ERR, %20 ], [ @REDIS_ERR, %34 ], [ @REDIS_ERR, %55 ], [ @REDIS_ERR, %80 ], [ @REDIS_OK, %101 ], [ @REDIS_OK, %99 ], [ @REDIS_ERR, %12 ]
%105 = load i32, ptr %104, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %105
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__redisReaderSetError(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @readLine(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string2ll(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @__redisReaderSetErrorOOM(ptr noundef) local_unnamed_addr #2
declare i32 @moveToNextTask(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, !10, i64 24}
!6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !11, 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 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !8, i64 0}
!16 = !{!6, !10, i64 32}
!17 = !{!18, !10, i64 8}
!18 = !{!"TYPE_11__", !10, i64 0, !10, i64 8}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_13__", !7, i64 0, !15, i64 8, !11, i64 16, !10, i64 24, !10, i64 32, !7, i64 40}
!22 = !{!18, !10, i64 0}
!23 = !{!21, !15, i64 8}
!24 = !{!21, !10, i64 32}
!25 = !{!21, !10, i64 24}
!26 = !{!6, !11, i64 16}
!27 = !{!21, !11, i64 16}
!28 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/redis/deps/hiredis/extr_read.c_processAggregateItem.c'
source_filename = "AnghaBench/redis/deps/hiredis/extr_read.c_processAggregateItem.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, i64, i32, ptr, ptr, i64 }
@REDIS_ERR_PROTOCOL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"No support for nested multi bulk replies with depth > 7\00", align 1
@REDIS_ERR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"Bad multi-bulk length\00", align 1
@LLONG_MAX = common local_unnamed_addr global i64 0, align 8
@SIZE_MAX = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [31 x i8] c"Multi-bulk length out of range\00", align 1
@REDIS_REPLY_NIL = common local_unnamed_addr global i64 0, align 8
@REDIS_REPLY_MAP = common local_unnamed_addr global i64 0, align 8
@REDIS_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @processAggregateItem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @processAggregateItem(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %0, align 8, !tbaa !13
%7 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%8 = icmp eq i64 %6, 8
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !14
%11 = tail call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull @.str) #4
br label %103
12: ; preds = %1
%13 = call ptr @readLine(ptr noundef nonnull %0, ptr noundef nonnull %3) #4
%14 = icmp eq ptr %13, null
br i1 %14, label %103, label %15
15: ; preds = %12
%16 = load i32, ptr %3, align 4, !tbaa !14
%17 = call i32 @string2ll(ptr noundef nonnull %13, i32 noundef %16, ptr noundef nonnull %2) #4
%18 = load i32, ptr @REDIS_ERR, align 4, !tbaa !14
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !14
%22 = call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull @.str.1) #4
br label %103
23: ; preds = %15
%24 = load i64, ptr %0, align 8, !tbaa !13
%25 = icmp eq i64 %24, 0
%26 = load i64, ptr %2, align 8, !tbaa !15
%27 = icmp slt i64 %26, -1
br i1 %27, label %34, label %28
28: ; preds = %23
%29 = load i64, ptr @LLONG_MAX, align 8, !tbaa !15
%30 = load i64, ptr @SIZE_MAX, align 8, !tbaa !15
%31 = icmp sgt i64 %29, %30
%32 = icmp sgt i64 %26, %30
%33 = and i1 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %28, %23
%35 = load i32, ptr @REDIS_ERR_PROTOCOL, align 4, !tbaa !14
%36 = call i32 @__redisReaderSetError(ptr noundef nonnull %0, i32 noundef %35, ptr noundef nonnull @.str.2) #4
br label %103
37: ; preds = %28
%38 = icmp eq i64 %26, -1
br i1 %38, label %39, label %59
39: ; preds = %37
%40 = getelementptr inbounds i8, ptr %0, i64 32
%41 = load ptr, ptr %40, align 8, !tbaa !17
%42 = icmp eq ptr %41, null
br i1 %42, label %49, label %43
43: ; preds = %39
%44 = getelementptr inbounds i8, ptr %41, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !18
%46 = icmp eq ptr %45, null
br i1 %46, label %49, label %47
47: ; preds = %43
%48 = call ptr %45(ptr noundef %7) #4
br label %52
49: ; preds = %43, %39
%50 = load i64, ptr @REDIS_REPLY_NIL, align 8, !tbaa !20
%51 = inttoptr i64 %50 to ptr
br label %52
52: ; preds = %49, %47
%53 = phi ptr [ %48, %47 ], [ %51, %49 ]
%54 = icmp eq ptr %53, null
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @__redisReaderSetErrorOOM(ptr noundef nonnull %0) #4
br label %103
57: ; preds = %52
%58 = call i32 @moveToNextTask(ptr noundef nonnull %0) #4
br label %99
59: ; preds = %37
%60 = load i64, ptr %7, align 8, !tbaa !21
%61 = load i64, ptr @REDIS_REPLY_MAP, align 8, !tbaa !20
%62 = icmp eq i64 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = shl nuw nsw i64 %26, 1
store i64 %64, ptr %2, align 8, !tbaa !15
br label %65
65: ; preds = %63, %59
%66 = phi i64 [ %64, %63 ], [ %26, %59 ]
%67 = getelementptr inbounds i8, ptr %0, i64 32
%68 = load ptr, ptr %67, align 8, !tbaa !17
%69 = icmp eq ptr %68, null
br i1 %69, label %75, label %70
70: ; preds = %65
%71 = load ptr, ptr %68, align 8, !tbaa !23
%72 = icmp eq ptr %71, null
br i1 %72, label %75, label %73
73: ; preds = %70
%74 = call ptr %71(ptr noundef nonnull %7, i64 noundef %66) #4
br label %77
75: ; preds = %70, %65
%76 = inttoptr i64 %60 to ptr
br label %77
77: ; preds = %75, %73
%78 = phi ptr [ %74, %73 ], [ %76, %75 ]
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @__redisReaderSetErrorOOM(ptr noundef nonnull %0) #4
br label %103
82: ; preds = %77
%83 = load i64, ptr %2, align 8, !tbaa !15
%84 = icmp sgt i64 %83, 0
br i1 %84, label %85, label %97
85: ; preds = %82
%86 = getelementptr inbounds i8, ptr %7, i64 8
store i64 %83, ptr %86, align 8, !tbaa !24
%87 = getelementptr inbounds i8, ptr %7, i64 32
store ptr %78, ptr %87, align 8, !tbaa !25
%88 = load i64, ptr %0, align 8, !tbaa !13
%89 = add i64 %88, 1
store i64 %89, ptr %0, align 8, !tbaa !13
%90 = load ptr, ptr %4, align 8, !tbaa !6
%91 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %91, i8 -1, i64 16, i1 false)
%92 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 4
%93 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 3
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %92, i8 0, i64 16, i1 false)
store ptr %7, ptr %93, align 8, !tbaa !26
%94 = getelementptr inbounds i8, ptr %0, i64 16
%95 = load i32, ptr %94, align 8, !tbaa !27
%96 = getelementptr inbounds %struct.TYPE_13__, ptr %90, i64 %89, i32 2
store i32 %95, ptr %96, align 8, !tbaa !28
br label %99
97: ; preds = %82
%98 = call i32 @moveToNextTask(ptr noundef nonnull %0) #4
br label %99
99: ; preds = %85, %97, %57
%100 = phi ptr [ %53, %57 ], [ %78, %85 ], [ %78, %97 ]
br i1 %25, label %101, label %103
101: ; preds = %99
%102 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %100, ptr %102, align 8, !tbaa !29
br label %103
103: ; preds = %12, %99, %101, %80, %55, %34, %20, %9
%104 = phi ptr [ @REDIS_ERR, %9 ], [ @REDIS_ERR, %20 ], [ @REDIS_ERR, %34 ], [ @REDIS_ERR, %55 ], [ @REDIS_ERR, %80 ], [ @REDIS_OK, %101 ], [ @REDIS_OK, %99 ], [ @REDIS_ERR, %12 ]
%105 = load i32, ptr %104, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %105
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__redisReaderSetError(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @readLine(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string2ll(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @__redisReaderSetErrorOOM(ptr noundef) local_unnamed_addr #2
declare i32 @moveToNextTask(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, !11, i64 24}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !12, 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 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long long", !9, i64 0}
!17 = !{!7, !11, i64 32}
!18 = !{!19, !11, i64 8}
!19 = !{!"TYPE_11__", !11, i64 0, !11, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_13__", !8, i64 0, !16, i64 8, !12, i64 16, !11, i64 24, !11, i64 32, !8, i64 40}
!23 = !{!19, !11, i64 0}
!24 = !{!22, !16, i64 8}
!25 = !{!22, !11, i64 32}
!26 = !{!22, !11, i64 24}
!27 = !{!7, !12, i64 16}
!28 = !{!22, !12, i64 16}
!29 = !{!7, !11, i64 8}
| redis_deps_hiredis_extr_read.c_processAggregateItem |
; ModuleID = 'AnghaBench/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_trainFromBuffer_legacy.c'
source_filename = "AnghaBench/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_trainFromBuffer_legacy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ZDICT_MIN_SAMPLES_SIZE = dso_local local_unnamed_addr constant i64 0, align 8
@NOISELENGTH = dso_local local_unnamed_addr global i64 0, align 8
@memory_allocation = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @ZDICT_trainFromBuffer_legacy(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i64 @ZDICT_totalSampleSize(ptr noundef %3, i32 noundef %4) #3
%8 = load i64, ptr @NOISELENGTH, align 8, !tbaa !5
%9 = add i64 %8, %7
%10 = tail call ptr @malloc(i64 noundef %9)
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i32, ptr @memory_allocation, align 4, !tbaa !9
%14 = tail call i64 @ERROR(i32 noundef %13) #3
br label %22
15: ; preds = %6
%16 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef %2, i64 noundef %7) #3
%17 = getelementptr inbounds i8, ptr %10, i64 %7
%18 = load i64, ptr @NOISELENGTH, align 8, !tbaa !5
%19 = tail call i32 @ZDICT_fillNoise(ptr noundef nonnull %17, i64 noundef %18) #3
%20 = tail call i64 @ZDICT_trainFromBuffer_unsafe_legacy(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %10, ptr noundef %3, i32 noundef %4, i32 noundef %5) #3
%21 = tail call i32 @free(ptr noundef nonnull %10) #3
br label %22
22: ; preds = %15, %12
%23 = phi i64 [ %20, %15 ], [ %14, %12 ]
ret i64 %23
}
declare i64 @ZDICT_totalSampleSize(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZDICT_fillNoise(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ZDICT_trainFromBuffer_unsafe_legacy(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_trainFromBuffer_legacy.c'
source_filename = "AnghaBench/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_trainFromBuffer_legacy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZDICT_MIN_SAMPLES_SIZE = common local_unnamed_addr global i64 0, align 8
@NOISELENGTH = common local_unnamed_addr global i64 0, align 8
@memory_allocation = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ZDICT_trainFromBuffer_legacy(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i64 @ZDICT_totalSampleSize(ptr noundef %3, i32 noundef %4) #3
%8 = load i64, ptr @ZDICT_MIN_SAMPLES_SIZE, align 8, !tbaa !6
%9 = icmp ult i64 %7, %8
br i1 %9, label %25, label %10
10: ; preds = %6
%11 = load i64, ptr @NOISELENGTH, align 8, !tbaa !6
%12 = add i64 %11, %7
%13 = tail call ptr @malloc(i64 noundef %12)
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @memory_allocation, align 4, !tbaa !10
%17 = tail call i64 @ERROR(i32 noundef %16) #3
br label %25
18: ; preds = %10
%19 = tail call i32 @memcpy(ptr noundef nonnull %13, ptr noundef %2, i64 noundef %7) #3
%20 = getelementptr inbounds i8, ptr %13, i64 %7
%21 = load i64, ptr @NOISELENGTH, align 8, !tbaa !6
%22 = tail call i32 @ZDICT_fillNoise(ptr noundef nonnull %20, i64 noundef %21) #3
%23 = tail call i64 @ZDICT_trainFromBuffer_unsafe_legacy(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %13, ptr noundef %3, i32 noundef %4, i32 noundef %5) #3
%24 = tail call i32 @free(ptr noundef nonnull %13) #3
br label %25
25: ; preds = %6, %18, %15
%26 = phi i64 [ %23, %18 ], [ %17, %15 ], [ 0, %6 ]
ret i64 %26
}
declare i64 @ZDICT_totalSampleSize(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ZDICT_fillNoise(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ZDICT_trainFromBuffer_unsafe_legacy(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| zstd_lib_dictBuilder_extr_zdict.c_ZDICT_trainFromBuffer_legacy |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_asl_s_16.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_asl_s_16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"asl.w #%d, D%d\00", align 1
@g_3bit_qdata_table = dso_local local_unnamed_addr global ptr null, align 8
@g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_asl_s_16], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @d68000_asl_s_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !5
%2 = load ptr, ptr @g_3bit_qdata_table, align 8, !tbaa !9
%3 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%4 = lshr i32 %3, 9
%5 = and i32 %4, 7
%6 = zext nneg i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %2, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = and i32 %3, 7
%10 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_asl_s_16.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_asl_s_16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_dasm_str = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"asl.w #%d, D%d\00", align 1
@g_3bit_qdata_table = common local_unnamed_addr global ptr null, align 8
@g_cpu_ir = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d68000_asl_s_16], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @d68000_asl_s_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !6
%2 = load ptr, ptr @g_3bit_qdata_table, align 8, !tbaa !10
%3 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%4 = lshr i32 %3, 9
%5 = and i32 %4, 7
%6 = zext nneg i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %2, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = and i32 %3, 7
%10 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kdasm.c_d68000_asl_s_16 |
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_copyPayload.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_copyPayload.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @copyPayload], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @copyPayload(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = icmp eq i32 %3, 0
br i1 %6, label %13, label %7
7: ; preds = %5
%8 = tail call i32 @sqlite3PagerWrite(ptr noundef %4) #2
%9 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = tail call i32 @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %15
13: ; preds = %5
%14 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %0, i32 noundef %2) #2
br label %15
15: ; preds = %11, %13
%16 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
br label %17
17: ; preds = %7, %15
%18 = phi i32 [ %16, %15 ], [ %8, %7 ]
ret i32 %18
}
declare i32 @sqlite3PagerWrite(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_copyPayload.c'
source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_copyPayload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @copyPayload], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @copyPayload(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = icmp eq i32 %3, 0
br i1 %6, label %13, label %7
7: ; preds = %5
%8 = tail call i32 @sqlite3PagerWrite(ptr noundef %4) #2
%9 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = tail call i32 @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %15
13: ; preds = %5
%14 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %0, i32 noundef %2) #2
br label %15
15: ; preds = %11, %13
%16 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
br label %17
17: ; preds = %7, %15
%18 = phi i32 [ %16, %15 ], [ %8, %7 ]
ret i32 %18
}
declare i32 @sqlite3PagerWrite(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| mongoose_examples_api_server_extr_sqlite3.c_copyPayload |
; ModuleID = 'AnghaBench/kphp-kdb/bayes/extr_bayes-engine.c_memcache_stats.c'
source_filename = "AnghaBench/kphp-kdb/bayes/extr_bayes-engine.c_memcache_stats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stats_buff = dso_local local_unnamed_addr global ptr null, align 8
@STATS_BUFF_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"END\0D\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @memcache_stats(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @bayes_prepare_stats() #2
%3 = load ptr, ptr @stats_buff, align 8, !tbaa !5
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds i8, ptr %3, i64 %4
%6 = load i64, ptr @STATS_BUFF_SIZE, align 8, !tbaa !9
%7 = sub nsw i64 %6, %4
%8 = tail call i32 @prepare_stats(ptr noundef %0, ptr noundef %5, i64 noundef %7) #2
%9 = load ptr, ptr @stats_buff, align 8, !tbaa !5
%10 = add nsw i32 %8, %2
%11 = tail call i32 @write_out(ptr noundef %0, ptr noundef %9, i32 noundef %10) #2
%12 = tail call i32 @write_out(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 5) #2
ret i32 0
}
declare i32 @bayes_prepare_stats(...) local_unnamed_addr #1
declare i32 @prepare_stats(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_out(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 = !{!"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}
| ; ModuleID = 'AnghaBench/kphp-kdb/bayes/extr_bayes-engine.c_memcache_stats.c'
source_filename = "AnghaBench/kphp-kdb/bayes/extr_bayes-engine.c_memcache_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stats_buff = common local_unnamed_addr global ptr null, align 8
@STATS_BUFF_SIZE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [6 x i8] c"END\0D\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @memcache_stats(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @bayes_prepare_stats() #2
%3 = load ptr, ptr @stats_buff, align 8, !tbaa !6
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds i8, ptr %3, i64 %4
%6 = load i64, ptr @STATS_BUFF_SIZE, align 8, !tbaa !10
%7 = sub nsw i64 %6, %4
%8 = tail call i32 @prepare_stats(ptr noundef %0, ptr noundef %5, i64 noundef %7) #2
%9 = load ptr, ptr @stats_buff, align 8, !tbaa !6
%10 = add nsw i32 %8, %2
%11 = tail call i32 @write_out(ptr noundef %0, ptr noundef %9, i32 noundef %10) #2
%12 = tail call i32 @write_out(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 5) #2
ret i32 0
}
declare i32 @bayes_prepare_stats(...) local_unnamed_addr #1
declare i32 @prepare_stats(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_out(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 = !{!"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}
| kphp-kdb_bayes_extr_bayes-engine.c_memcache_stats |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ao_insn_write.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ao_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"
%struct.comedi_insn = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dt2811_ao_insn_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dt2811_ao_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = getelementptr inbounds %struct.comedi_insn, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @CR_CHAN(i32 noundef %6) #2
%8 = load ptr, ptr %1, align 8, !tbaa !10
%9 = zext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load i32, ptr %2, align 4, !tbaa !14
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %35
14: ; preds = %4, %14
%15 = phi i64 [ %29, %14 ], [ 0, %4 ]
%16 = getelementptr inbounds i32, ptr %3, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = and i32 %17, 255
%19 = load i64, ptr %0, align 8, !tbaa !15
%20 = tail call i64 @DT2811_DADATA_LO_REG(i32 noundef %7) #2
%21 = add nsw i64 %20, %19
%22 = tail call i32 @outb(i32 noundef %18, i64 noundef %21) #2
%23 = lshr i32 %17, 8
%24 = and i32 %23, 255
%25 = load i64, ptr %0, align 8, !tbaa !15
%26 = tail call i64 @DT2811_DADATA_HI_REG(i32 noundef %7) #2
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outb(i32 noundef %24, i64 noundef %27) #2
%29 = add nuw nsw i64 %15, 1
%30 = load i32, ptr %2, align 4, !tbaa !14
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %14, label %33, !llvm.loop !18
33: ; preds = %14
%34 = load ptr, ptr %1, align 8, !tbaa !10
br label %35
35: ; preds = %33, %4
%36 = phi ptr [ %8, %4 ], [ %34, %33 ]
%37 = phi i32 [ %11, %4 ], [ %17, %33 ]
%38 = getelementptr inbounds i32, ptr %36, i64 %9
store i32 %37, ptr %38, align 4, !tbaa !13
%39 = load i32, ptr %2, align 4, !tbaa !14
ret i32 %39
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @DT2811_DADATA_LO_REG(i32 noundef) local_unnamed_addr #1
declare i64 @DT2811_DADATA_HI_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"comedi_insn", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"comedi_subdevice", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"comedi_device", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ao_insn_write.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_dt2811.c_dt2811_ao_insn_write.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 @dt2811_ao_insn_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dt2811_ao_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @CR_CHAN(i32 noundef %6) #2
%8 = load ptr, ptr %1, align 8, !tbaa !11
%9 = zext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = load i32, ptr %2, align 4, !tbaa !15
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %35
14: ; preds = %4, %14
%15 = phi i64 [ %29, %14 ], [ 0, %4 ]
%16 = getelementptr inbounds i32, ptr %3, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = and i32 %17, 255
%19 = load i64, ptr %0, align 8, !tbaa !16
%20 = tail call i64 @DT2811_DADATA_LO_REG(i32 noundef %7) #2
%21 = add nsw i64 %20, %19
%22 = tail call i32 @outb(i32 noundef %18, i64 noundef %21) #2
%23 = lshr i32 %17, 8
%24 = and i32 %23, 255
%25 = load i64, ptr %0, align 8, !tbaa !16
%26 = tail call i64 @DT2811_DADATA_HI_REG(i32 noundef %7) #2
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outb(i32 noundef %24, i64 noundef %27) #2
%29 = add nuw nsw i64 %15, 1
%30 = load i32, ptr %2, align 4, !tbaa !15
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %14, label %33, !llvm.loop !19
33: ; preds = %14
%34 = load ptr, ptr %1, align 8, !tbaa !11
br label %35
35: ; preds = %33, %4
%36 = phi ptr [ %8, %4 ], [ %34, %33 ]
%37 = phi i32 [ %11, %4 ], [ %17, %33 ]
%38 = getelementptr inbounds i32, ptr %36, i64 %9
store i32 %37, ptr %38, align 4, !tbaa !14
%39 = load i32, ptr %2, align 4, !tbaa !15
ret i32 %39
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @DT2811_DADATA_LO_REG(i32 noundef) local_unnamed_addr #1
declare i64 @DT2811_DADATA_HI_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"comedi_insn", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"comedi_subdevice", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"comedi_device", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_comedi_drivers_extr_dt2811.c_dt2811_ao_insn_write |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID(i32 noundef %0) #0 {
%2 = load i32, ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__SHIFT = common local_unnamed_addr global i32 0, align 4
@A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID(i32 noundef %0) #0 {
%2 = load i32, ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a4xx.xml.h_A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID |
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lcode.c_luaK_reserveregs.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lcode.c_luaK_reserveregs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @luaK_reserveregs(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @luaK_checkstack(ptr noundef %0, i32 noundef %1) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = add nsw i32 %4, %1
store i32 %5, ptr %0, align 4, !tbaa !5
ret void
}
declare i32 @luaK_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lcode.c_luaK_reserveregs.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lcode.c_luaK_reserveregs.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 @luaK_reserveregs(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @luaK_checkstack(ptr noundef %0, i32 noundef %1) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = add nsw i32 %4, %1
store i32 %5, ptr %0, align 4, !tbaa !6
ret void
}
declare i32 @luaK_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| xLua_build_lua-5.3.3_src_extr_lcode.c_luaK_reserveregs |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_check_fw_revision.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_check_fw_revision.c"
target datalayout = "e-m:e-p270:32:32-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_FW_APIVER = dso_local local_unnamed_addr global i32 0, align 4
@REG_FW_REVISION = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"FW revision check failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"FW API ver.: 0x%X, FW rev.: 0x%X\0A\00", align 1
@S5K6AAFX_FW_APIVER = dso_local local_unnamed_addr global i64 0, align 8
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s5k6aa_check_fw_revision], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5k6aa_check_fw_revision(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @s5k6aa_set_ahb_address(ptr noundef %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load i32, ptr @REG_FW_APIVER, align 4, !tbaa !9
%9 = call i32 @s5k6aa_read(ptr noundef %4, i32 noundef %8, ptr noundef nonnull %2) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr @REG_FW_REVISION, align 4, !tbaa !9
%13 = call i32 @s5k6aa_read(ptr noundef %4, i32 noundef %12, ptr noundef nonnull %3) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %1, %7, %11
%16 = phi i32 [ %13, %11 ], [ %9, %7 ], [ %5, %1 ]
%17 = call i32 @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %28
18: ; preds = %11
%19 = load i64, ptr %2, align 8, !tbaa !5
%20 = load i64, ptr %3, align 8, !tbaa !5
%21 = call i32 @v4l2_info(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %19, i64 noundef %20) #3
%22 = load i64, ptr %2, align 8, !tbaa !5
%23 = load i64, ptr @S5K6AAFX_FW_APIVER, align 8, !tbaa !5
%24 = icmp eq i64 %22, %23
%25 = load i32, ptr @ENODEV, align 4
%26 = sub nsw i32 0, %25
%27 = select i1 %24, i32 0, i32 %26
br label %28
28: ; preds = %18, %15
%29 = phi i32 [ %16, %15 ], [ %27, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #2
declare i32 @s5k6aa_set_ahb_address(ptr noundef) local_unnamed_addr #2
declare i32 @s5k6aa_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @v4l2_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @v4l2_info(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_check_fw_revision.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_check_fw_revision.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_FW_APIVER = common local_unnamed_addr global i32 0, align 4
@REG_FW_REVISION = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"FW revision check failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"FW API ver.: 0x%X, FW rev.: 0x%X\0A\00", align 1
@S5K6AAFX_FW_APIVER = common local_unnamed_addr global i64 0, align 8
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s5k6aa_check_fw_revision], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5k6aa_check_fw_revision(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @s5k6aa_set_ahb_address(ptr noundef %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load i32, ptr @REG_FW_APIVER, align 4, !tbaa !10
%9 = call i32 @s5k6aa_read(ptr noundef %4, i32 noundef %8, ptr noundef nonnull %2) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr @REG_FW_REVISION, align 4, !tbaa !10
%13 = call i32 @s5k6aa_read(ptr noundef %4, i32 noundef %12, ptr noundef nonnull %3) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %1, %7, %11
%16 = phi i32 [ %13, %11 ], [ %9, %7 ], [ %5, %1 ]
%17 = call i32 @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str) #3
br label %28
18: ; preds = %11
%19 = load i64, ptr %2, align 8, !tbaa !6
%20 = load i64, ptr %3, align 8, !tbaa !6
%21 = call i32 @v4l2_info(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %19, i64 noundef %20) #3
%22 = load i64, ptr %2, align 8, !tbaa !6
%23 = load i64, ptr @S5K6AAFX_FW_APIVER, align 8, !tbaa !6
%24 = icmp eq i64 %22, %23
%25 = load i32, ptr @ENODEV, align 4
%26 = sub nsw i32 0, %25
%27 = select i1 %24, i32 0, i32 %26
br label %28
28: ; preds = %18, %15
%29 = phi i32 [ %16, %15 ], [ %27, %18 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #2
declare i32 @s5k6aa_set_ahb_address(ptr noundef) local_unnamed_addr #2
declare i32 @s5k6aa_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @v4l2_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @v4l2_info(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_media_i2c_extr_s5k6aa.c_s5k6aa_check_fw_revision |
; ModuleID = 'AnghaBench/git/extr_quote.c_write_name_quoted_relative.c'
source_filename = "AnghaBench/git/extr_quote.c_write_name_quoted_relative.c"
target datalayout = "e-m:e-p270:32:32-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.strbuf = type { i32 }
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local void @write_name_quoted_relative(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !5
store i32 %6, ptr %5, align 4, !tbaa !5
%7 = call ptr @relative_path(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%8 = call i32 @write_name_quoted(ptr noundef %7, ptr noundef %2, i32 noundef %3) #3
%9 = call i32 @strbuf_release(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @relative_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @write_name_quoted(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strbuf_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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/git/extr_quote.c_write_name_quoted_relative.c'
source_filename = "AnghaBench/git/extr_quote.c_write_name_quoted_relative.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strbuf = type { i32 }
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @write_name_quoted_relative(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !6
store i32 %6, ptr %5, align 4, !tbaa !6
%7 = call ptr @relative_path(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%8 = call i32 @write_name_quoted(ptr noundef %7, ptr noundef %2, i32 noundef %3) #3
%9 = call i32 @strbuf_release(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @relative_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @write_name_quoted(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strbuf_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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| git_extr_quote.c_write_name_quoted_relative |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_setparams.c_filter_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_setparams.c_filter_frame.c"
target datalayout = "e-m:e-p270:32:32-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_11__ = type { ptr, ptr }
%struct.TYPE_9__ = type { i32, i64, i64, i64, i64, i64 }
%struct.TYPE_8__ = type { i64, i64, i64, i64, i64 }
@MODE_PROG = dso_local local_unnamed_addr global i64 0, align 8
@MODE_AUTO = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @filter_frame], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @filter_frame(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @MODE_PROG, align 8, !tbaa !15
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %1, align 8, !tbaa !16
br label %15
10: ; preds = %2
%11 = load i64, ptr @MODE_AUTO, align 8, !tbaa !15
%12 = icmp eq i64 %6, %11
br i1 %12, label %15, label %13
13: ; preds = %10
store i32 1, ptr %1, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
store i64 %6, ptr %14, align 8, !tbaa !19
br label %15
15: ; preds = %10, %13, %9
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !20
%18 = icmp sgt i64 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 2
store i64 %17, ptr %20, align 8, !tbaa !21
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 2
%23 = load i64, ptr %22, align 8, !tbaa !22
%24 = icmp sgt i64 %23, -1
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 3
store i64 %23, ptr %26, align 8, !tbaa !23
br label %27
27: ; preds = %25, %21
%28 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 3
%29 = load i64, ptr %28, align 8, !tbaa !24
%30 = icmp sgt i64 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 4
store i64 %29, ptr %32, align 8, !tbaa !25
br label %33
33: ; preds = %31, %27
%34 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 4
%35 = load i64, ptr %34, align 8, !tbaa !26
%36 = icmp sgt i64 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 5
store i64 %35, ptr %38, align 8, !tbaa !27
br label %39
39: ; preds = %37, %33
%40 = load ptr, ptr %3, align 8, !tbaa !28
%41 = load i32, ptr %40, align 4, !tbaa !29
%42 = tail call i32 @ff_filter_frame(i32 noundef %41, ptr noundef %1) #2
ret i32 %42
}
declare i32 @ff_filter_frame(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !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_11__", !7, i64 0, !7, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_9__", !18, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!18 = !{!"int", !8, i64 0}
!19 = !{!17, !14, i64 8}
!20 = !{!13, !14, i64 8}
!21 = !{!17, !14, i64 16}
!22 = !{!13, !14, i64 16}
!23 = !{!17, !14, i64 24}
!24 = !{!13, !14, i64 24}
!25 = !{!17, !14, i64 32}
!26 = !{!13, !14, i64 32}
!27 = !{!17, !14, i64 40}
!28 = !{!11, !7, i64 0}
!29 = !{!18, !18, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_setparams.c_filter_frame.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_setparams.c_filter_frame.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MODE_PROG = common local_unnamed_addr global i64 0, align 8
@MODE_AUTO = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @filter_frame], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @filter_frame(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = load i64, ptr @MODE_PROG, align 8, !tbaa !16
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %1, align 8, !tbaa !17
br label %15
10: ; preds = %2
%11 = load i64, ptr @MODE_AUTO, align 8, !tbaa !16
%12 = icmp eq i64 %6, %11
br i1 %12, label %15, label %13
13: ; preds = %10
store i32 1, ptr %1, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %6, ptr %14, align 8, !tbaa !20
br label %15
15: ; preds = %10, %13, %9
%16 = getelementptr inbounds i8, ptr %5, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !21
%18 = icmp sgt i64 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %1, i64 16
store i64 %17, ptr %20, align 8, !tbaa !22
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds i8, ptr %5, i64 16
%23 = load i64, ptr %22, align 8, !tbaa !23
%24 = icmp sgt i64 %23, -1
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = getelementptr inbounds i8, ptr %1, i64 24
store i64 %23, ptr %26, align 8, !tbaa !24
br label %27
27: ; preds = %25, %21
%28 = getelementptr inbounds i8, ptr %5, i64 24
%29 = load i64, ptr %28, align 8, !tbaa !25
%30 = icmp sgt i64 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = getelementptr inbounds i8, ptr %1, i64 32
store i64 %29, ptr %32, align 8, !tbaa !26
br label %33
33: ; preds = %31, %27
%34 = getelementptr inbounds i8, ptr %5, i64 32
%35 = load i64, ptr %34, align 8, !tbaa !27
%36 = icmp sgt i64 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = getelementptr inbounds i8, ptr %1, i64 40
store i64 %35, ptr %38, align 8, !tbaa !28
br label %39
39: ; preds = %37, %33
%40 = load ptr, ptr %3, align 8, !tbaa !29
%41 = load i32, ptr %40, align 4, !tbaa !30
%42 = tail call i32 @ff_filter_frame(i32 noundef %41, ptr noundef %1) #2
ret i32 %42
}
declare i32 @ff_filter_frame(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"TYPE_11__", !8, i64 0, !8, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_9__", !19, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40}
!19 = !{!"int", !9, i64 0}
!20 = !{!18, !15, i64 8}
!21 = !{!14, !15, i64 8}
!22 = !{!18, !15, i64 16}
!23 = !{!14, !15, i64 16}
!24 = !{!18, !15, i64 24}
!25 = !{!14, !15, i64 24}
!26 = !{!18, !15, i64 32}
!27 = !{!14, !15, i64 32}
!28 = !{!18, !15, i64 40}
!29 = !{!12, !8, i64 0}
!30 = !{!19, !19, i64 0}
| FFmpeg_libavfilter_extr_vf_setparams.c_filter_frame |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_symbols.c_fb_label_instance.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_symbols.c_fb_label_instance.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FB_LABEL_SPECIAL = dso_local local_unnamed_addr global i64 0, align 8
@fb_low_counter = dso_local local_unnamed_addr global ptr null, align 8
@fb_labels = dso_local local_unnamed_addr global ptr null, align 8
@fb_label_count = dso_local local_unnamed_addr global i32 0, align 4
@fb_label_instances = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @fb_label_instance], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i64 @fb_label_instance(i64 noundef %0) #0 {
%2 = load i64, ptr @FB_LABEL_SPECIAL, align 8, !tbaa !5
%3 = icmp sgt i64 %2, %0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load ptr, ptr @fb_low_counter, align 8, !tbaa !9
%6 = getelementptr inbounds i64, ptr %5, i64 %0
br label %30
7: ; preds = %1
%8 = load ptr, ptr @fb_labels, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %33, label %10
10: ; preds = %7
%11 = load i32, ptr @fb_label_count, align 4, !tbaa !11
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %8, i64 %12
%14 = icmp slt i64 %2, %12
br i1 %14, label %15, label %33
15: ; preds = %10
%16 = getelementptr inbounds i64, ptr %8, i64 %2
br label %17
17: ; preds = %15, %27
%18 = phi ptr [ %28, %27 ], [ %16, %15 ]
%19 = load i64, ptr %18, align 8, !tbaa !5
%20 = icmp eq i64 %19, %0
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load ptr, ptr @fb_label_instances, align 8, !tbaa !9
%23 = ptrtoint ptr %18 to i64
%24 = ptrtoint ptr %8 to i64
%25 = sub i64 %23, %24
%26 = getelementptr inbounds i8, ptr %22, i64 %25
br label %30
27: ; preds = %17
%28 = getelementptr inbounds i64, ptr %18, i64 1
%29 = icmp ult ptr %28, %13
br i1 %29, label %17, label %33, !llvm.loop !13
30: ; preds = %4, %21
%31 = phi ptr [ %26, %21 ], [ %6, %4 ]
%32 = load i64, ptr %31, align 8, !tbaa !5
br label %33
33: ; preds = %27, %30, %10, %7
%34 = phi i64 [ 0, %7 ], [ 0, %10 ], [ %32, %30 ], [ 0, %27 ]
ret i64 %34
}
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_symbols.c_fb_label_instance.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_symbols.c_fb_label_instance.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FB_LABEL_SPECIAL = common local_unnamed_addr global i64 0, align 8
@fb_low_counter = common local_unnamed_addr global ptr null, align 8
@fb_labels = common local_unnamed_addr global ptr null, align 8
@fb_label_count = common local_unnamed_addr global i32 0, align 4
@fb_label_instances = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @fb_label_instance], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @fb_label_instance(i64 noundef %0) #0 {
%2 = load i64, ptr @FB_LABEL_SPECIAL, align 8, !tbaa !6
%3 = icmp sgt i64 %2, %0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load ptr, ptr @fb_low_counter, align 8, !tbaa !10
%6 = getelementptr inbounds i64, ptr %5, i64 %0
br label %30
7: ; preds = %1
%8 = load ptr, ptr @fb_labels, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %33, label %10
10: ; preds = %7
%11 = load i32, ptr @fb_label_count, align 4, !tbaa !12
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %8, i64 %12
%14 = icmp slt i64 %2, %12
br i1 %14, label %15, label %33
15: ; preds = %10
%16 = getelementptr inbounds i64, ptr %8, i64 %2
br label %17
17: ; preds = %15, %27
%18 = phi ptr [ %28, %27 ], [ %16, %15 ]
%19 = load i64, ptr %18, align 8, !tbaa !6
%20 = icmp eq i64 %19, %0
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load ptr, ptr @fb_label_instances, align 8, !tbaa !10
%23 = ptrtoint ptr %18 to i64
%24 = ptrtoint ptr %8 to i64
%25 = sub i64 %23, %24
%26 = getelementptr inbounds i8, ptr %22, i64 %25
br label %30
27: ; preds = %17
%28 = getelementptr inbounds i8, ptr %18, i64 8
%29 = icmp ult ptr %28, %13
br i1 %29, label %17, label %33, !llvm.loop !14
30: ; preds = %4, %21
%31 = phi ptr [ %26, %21 ], [ %6, %4 ]
%32 = load i64, ptr %31, align 8, !tbaa !6
br label %33
33: ; preds = %27, %30, %10, %7
%34 = phi i64 [ 0, %7 ], [ 0, %10 ], [ %32, %30 ], [ 0, %27 ]
ret i64 %34
}
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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_binutils_gas_extr_symbols.c_fb_label_instance |
; ModuleID = 'AnghaBench/linux/mm/extr_oom_kill.c_exit_oom_victim.c'
source_filename = "AnghaBench/linux/mm/extr_oom_kill.c_exit_oom_victim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIF_MEMDIE = dso_local local_unnamed_addr global i32 0, align 4
@oom_victims = dso_local global i32 0, align 4
@oom_victims_wait = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @exit_oom_victim() local_unnamed_addr #0 {
%1 = load i32, ptr @TIF_MEMDIE, align 4, !tbaa !5
%2 = tail call i32 @clear_thread_flag(i32 noundef %1) #2
%3 = tail call i32 @atomic_dec_return(ptr noundef nonnull @oom_victims) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = tail call i32 @wake_up_all(ptr noundef nonnull @oom_victims_wait) #2
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @clear_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_dec_return(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_all(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/mm/extr_oom_kill.c_exit_oom_victim.c'
source_filename = "AnghaBench/linux/mm/extr_oom_kill.c_exit_oom_victim.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIF_MEMDIE = common local_unnamed_addr global i32 0, align 4
@oom_victims = common global i32 0, align 4
@oom_victims_wait = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @exit_oom_victim() local_unnamed_addr #0 {
%1 = load i32, ptr @TIF_MEMDIE, align 4, !tbaa !6
%2 = tail call i32 @clear_thread_flag(i32 noundef %1) #2
%3 = tail call i32 @atomic_dec_return(ptr noundef nonnull @oom_victims) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = tail call i32 @wake_up_all(ptr noundef nonnull @oom_victims_wait) #2
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @clear_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_dec_return(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_all(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"}
| linux_mm_extr_oom_kill.c_exit_oom_victim |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_ialloc.c_ext3_count_free_inodes.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_ialloc.c_ext3_count_free_inodes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @ext3_count_free_inodes(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @EXT3_SB(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1, %15
%6 = phi i32 [ %17, %15 ], [ 0, %1 ]
%7 = phi i64 [ %16, %15 ], [ 0, %1 ]
%8 = tail call ptr @ext3_get_group_desc(ptr noundef %0, i32 noundef %6, ptr noundef null) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %5
%11 = load i32, ptr %8, align 4, !tbaa !11
%12 = tail call i64 @le16_to_cpu(i32 noundef %11) #2
%13 = add i64 %12, %7
%14 = tail call i32 (...) @cond_resched() #2
br label %15
15: ; preds = %5, %10
%16 = phi i64 [ %13, %10 ], [ %7, %5 ]
%17 = add nuw nsw i32 %6, 1
%18 = tail call ptr @EXT3_SB(ptr noundef %0) #2
%19 = load i32, ptr %18, align 8, !tbaa !5
%20 = icmp slt i32 %17, %19
br i1 %20, label %5, label %21, !llvm.loop !13
21: ; preds = %15, %1
%22 = phi i64 [ 0, %1 ], [ %16, %15 ]
ret i64 %22
}
declare ptr @EXT3_SB(ptr noundef) local_unnamed_addr #1
declare ptr @ext3_get_group_desc(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"ext3_group_desc", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_ialloc.c_ext3_count_free_inodes.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_ialloc.c_ext3_count_free_inodes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ext3_count_free_inodes(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @EXT3_SB(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1, %15
%6 = phi i32 [ %17, %15 ], [ 0, %1 ]
%7 = phi i64 [ %16, %15 ], [ 0, %1 ]
%8 = tail call ptr @ext3_get_group_desc(ptr noundef %0, i32 noundef %6, ptr noundef null) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %5
%11 = load i32, ptr %8, align 4, !tbaa !12
%12 = tail call i64 @le16_to_cpu(i32 noundef %11) #2
%13 = add i64 %12, %7
%14 = tail call i32 @cond_resched() #2
br label %15
15: ; preds = %5, %10
%16 = phi i64 [ %13, %10 ], [ %7, %5 ]
%17 = add nuw nsw i32 %6, 1
%18 = tail call ptr @EXT3_SB(ptr noundef %0) #2
%19 = load i32, ptr %18, align 8, !tbaa !6
%20 = icmp slt i32 %17, %19
br i1 %20, label %5, label %21, !llvm.loop !14
21: ; preds = %15, %1
%22 = phi i64 [ 0, %1 ], [ %16, %15 ]
ret i64 %22
}
declare ptr @EXT3_SB(ptr noundef) local_unnamed_addr #1
declare ptr @ext3_get_group_desc(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"ext3_group_desc", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_fs_ext3_extr_ialloc.c_ext3_count_free_inodes |
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477_spi.c_ksz9477_spi_shutdown.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477_spi.c_ksz9477_spi_shutdown.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ksz9477_spi_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ksz9477_spi_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load ptr, ptr %2, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 %6(ptr noundef nonnull %2) #2
br label %10
10: ; preds = %8, %4, %1
ret void
}
declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ksz_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_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477_spi.c_ksz9477_spi_shutdown.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz9477_spi.c_ksz9477_spi_shutdown.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 @ksz9477_spi_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ksz9477_spi_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load ptr, ptr %2, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 %6(ptr noundef nonnull %2) #2
br label %10
10: ; preds = %8, %4, %1
ret void
}
declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ksz_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_2__", !8, i64 0}
| linux_drivers_net_dsa_microchip_extr_ksz9477_spi.c_ksz9477_spi_shutdown |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_vf.c_ixgbevf_hv_set_vfta_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_vf.c_ixgbevf_hv_set_vfta_vf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbevf_hv_set_vfta_vf], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ixgbevf_hv_set_vfta_vf(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3) #0 {
%5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_vf.c_ixgbevf_hv_set_vfta_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_vf.c_ixgbevf_hv_set_vfta_vf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgbevf_hv_set_vfta_vf], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ixgbevf_hv_set_vfta_vf(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3) #0 {
%5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_intel_ixgbevf_extr_vf.c_ixgbevf_hv_set_vfta_vf |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_omap.c_omap_serial_fill_features_erratas.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_omap.c_omap_serial_fill_features_erratas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UART_OMAP_MVER = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_SCHEME_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MAJ_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MAJ_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MIN_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MAJ_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MAJ_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MIN_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Unknown revision, defaulting to highest\0A\00", align 1
@UART_ERRATA_i202_MDR1_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@OMAP_UART_WER_HAS_TX_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_serial_fill_features_erratas], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @omap_serial_fill_features_erratas(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @UART_OMAP_MVER, align 4, !tbaa !5
%4 = tail call i32 @uart_read(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @OMAP_UART_MVR_SCHEME_SHIFT, align 4, !tbaa !5
%6 = ashr i32 %4, %5
switch i32 %6, label %21 [
i32 0, label %7
i32 1, label %14
]
7: ; preds = %2
%8 = load i32, ptr @OMAP_UART_LEGACY_MVR_MAJ_MASK, align 4, !tbaa !5
%9 = and i32 %8, %4
%10 = load i32, ptr @OMAP_UART_LEGACY_MVR_MAJ_SHIFT, align 4, !tbaa !5
%11 = ashr i32 %9, %10
%12 = load i32, ptr @OMAP_UART_LEGACY_MVR_MIN_MASK, align 4, !tbaa !5
%13 = and i32 %12, %4
br label %24
14: ; preds = %2
%15 = load i32, ptr @OMAP_UART_MVR_MAJ_MASK, align 4, !tbaa !5
%16 = and i32 %15, %4
%17 = load i32, ptr @OMAP_UART_MVR_MAJ_SHIFT, align 4, !tbaa !5
%18 = ashr i32 %16, %17
%19 = load i32, ptr @OMAP_UART_MVR_MIN_MASK, align 4, !tbaa !5
%20 = and i32 %19, %4
br label %24
21: ; preds = %2
%22 = load i32, ptr %0, align 4, !tbaa !9
%23 = tail call i32 @dev_warn(i32 noundef %22, ptr noundef nonnull @.str) #2
br label %24
24: ; preds = %21, %14, %7
%25 = phi i32 [ 255, %21 ], [ %18, %14 ], [ %11, %7 ]
%26 = phi i32 [ 255, %21 ], [ %20, %14 ], [ %13, %7 ]
%27 = tail call i32 @UART_BUILD_REVISION(i32 noundef %25, i32 noundef %26) #2
switch i32 %27, label %43 [
i32 130, label %28
i32 129, label %30
i32 128, label %34
]
28: ; preds = %24
%29 = load i32, ptr %1, align 4, !tbaa !12
br label %38
30: ; preds = %24
%31 = load i32, ptr @UART_ERRATA_i202_MDR1_ACCESS, align 4, !tbaa !5
%32 = load i32, ptr @OMAP_UART_WER_HAS_TX_WAKEUP, align 4, !tbaa !5
%33 = or i32 %32, %31
br label %38
34: ; preds = %24
%35 = load i32, ptr @UART_ERRATA_i202_MDR1_ACCESS, align 4, !tbaa !5
%36 = load i32, ptr @OMAP_UART_WER_HAS_TX_WAKEUP, align 4, !tbaa !5
%37 = or i32 %36, %35
br label %38
38: ; preds = %28, %30, %34
%39 = phi ptr [ %1, %34 ], [ %1, %30 ], [ @UART_ERRATA_i202_MDR1_ACCESS, %28 ]
%40 = phi i32 [ %37, %34 ], [ %33, %30 ], [ %29, %28 ]
%41 = load i32, ptr %39, align 4, !tbaa !5
%42 = or i32 %40, %41
store i32 %42, ptr %1, align 4, !tbaa !12
br label %43
43: ; preds = %38, %24
ret void
}
declare i32 @uart_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UART_BUILD_REVISION(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"uart_8250_port", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"omap8250_priv", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_omap.c_omap_serial_fill_features_erratas.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_omap.c_omap_serial_fill_features_erratas.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UART_OMAP_MVER = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_SCHEME_SHIFT = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MAJ_MASK = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MAJ_SHIFT = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_LEGACY_MVR_MIN_MASK = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MAJ_MASK = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MAJ_SHIFT = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_MVR_MIN_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Unknown revision, defaulting to highest\0A\00", align 1
@UART_ERRATA_i202_MDR1_ACCESS = common local_unnamed_addr global i32 0, align 4
@OMAP_UART_WER_HAS_TX_WAKEUP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @omap_serial_fill_features_erratas], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @omap_serial_fill_features_erratas(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @UART_OMAP_MVER, align 4, !tbaa !6
%4 = tail call i32 @uart_read(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @OMAP_UART_MVR_SCHEME_SHIFT, align 4, !tbaa !6
%6 = ashr i32 %4, %5
switch i32 %6, label %21 [
i32 0, label %7
i32 1, label %14
]
7: ; preds = %2
%8 = load i32, ptr @OMAP_UART_LEGACY_MVR_MAJ_MASK, align 4, !tbaa !6
%9 = and i32 %8, %4
%10 = load i32, ptr @OMAP_UART_LEGACY_MVR_MAJ_SHIFT, align 4, !tbaa !6
%11 = ashr i32 %9, %10
%12 = load i32, ptr @OMAP_UART_LEGACY_MVR_MIN_MASK, align 4, !tbaa !6
%13 = and i32 %12, %4
br label %24
14: ; preds = %2
%15 = load i32, ptr @OMAP_UART_MVR_MAJ_MASK, align 4, !tbaa !6
%16 = and i32 %15, %4
%17 = load i32, ptr @OMAP_UART_MVR_MAJ_SHIFT, align 4, !tbaa !6
%18 = ashr i32 %16, %17
%19 = load i32, ptr @OMAP_UART_MVR_MIN_MASK, align 4, !tbaa !6
%20 = and i32 %19, %4
br label %24
21: ; preds = %2
%22 = load i32, ptr %0, align 4, !tbaa !10
%23 = tail call i32 @dev_warn(i32 noundef %22, ptr noundef nonnull @.str) #2
br label %24
24: ; preds = %21, %14, %7
%25 = phi i32 [ 255, %21 ], [ %18, %14 ], [ %11, %7 ]
%26 = phi i32 [ 255, %21 ], [ %20, %14 ], [ %13, %7 ]
%27 = tail call i32 @UART_BUILD_REVISION(i32 noundef %25, i32 noundef %26) #2
switch i32 %27, label %46 [
i32 130, label %28
i32 129, label %32
i32 128, label %38
]
28: ; preds = %24
%29 = load i32, ptr @UART_ERRATA_i202_MDR1_ACCESS, align 4, !tbaa !6
%30 = load i32, ptr %1, align 4, !tbaa !13
%31 = or i32 %30, %29
br label %44
32: ; preds = %24
%33 = load i32, ptr @UART_ERRATA_i202_MDR1_ACCESS, align 4, !tbaa !6
%34 = load i32, ptr @OMAP_UART_WER_HAS_TX_WAKEUP, align 4, !tbaa !6
%35 = or i32 %34, %33
%36 = load i32, ptr %1, align 4, !tbaa !13
%37 = or i32 %35, %36
br label %44
38: ; preds = %24
%39 = load i32, ptr @UART_ERRATA_i202_MDR1_ACCESS, align 4, !tbaa !6
%40 = load i32, ptr @OMAP_UART_WER_HAS_TX_WAKEUP, align 4, !tbaa !6
%41 = or i32 %40, %39
%42 = load i32, ptr %1, align 4, !tbaa !13
%43 = or i32 %41, %42
br label %44
44: ; preds = %28, %32, %38
%45 = phi i32 [ %43, %38 ], [ %37, %32 ], [ %31, %28 ]
store i32 %45, ptr %1, align 4, !tbaa !13
br label %46
46: ; preds = %44, %24
ret void
}
declare i32 @uart_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UART_BUILD_REVISION(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"uart_8250_port", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"omap8250_priv", !7, i64 0}
| linux_drivers_tty_serial_8250_extr_8250_omap.c_omap_serial_fill_features_erratas |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_shm_associate.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_shm_associate.c"
target datalayout = "e-m:e-p270:32:32-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.common_audit_data = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
%struct.TYPE_4__ = type { i32, ptr }
@IPC = dso_local local_unnamed_addr global i32 0, align 4
@SECCLASS_SHM = dso_local local_unnamed_addr global i32 0, align 4
@SHM__ASSOCIATE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @selinux_shm_associate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @selinux_shm_associate(ptr nocapture noundef readonly %0, i32 %1) #0 {
%3 = alloca %struct.common_audit_data, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 (...) @current_sid() #3
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @IPC, align 4, !tbaa !12
%8 = call i32 @COMMON_AUDIT_DATA_INIT(ptr noundef nonnull %3, i32 noundef %7) #3
%9 = load i32, ptr %0, align 8, !tbaa !13
store i32 %9, ptr %3, align 4, !tbaa !14
%10 = load i32, ptr %6, align 4, !tbaa !17
%11 = load i32, ptr @SECCLASS_SHM, align 4, !tbaa !12
%12 = load i32, ptr @SHM__ASSOCIATE, align 4, !tbaa !12
%13 = call i32 @avc_has_perm(i32 noundef %4, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @current_sid(...) local_unnamed_addr #2
declare i32 @COMMON_AUDIT_DATA_INIT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avc_has_perm(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"shmid_kernel", !7, i64 0}
!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 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"common_audit_data", !16, i64 0}
!16 = !{!"TYPE_3__", !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"ipc_security_struct", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_shm_associate.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_shm_associate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.common_audit_data = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@IPC = common local_unnamed_addr global i32 0, align 4
@SECCLASS_SHM = common local_unnamed_addr global i32 0, align 4
@SHM__ASSOCIATE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @selinux_shm_associate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @selinux_shm_associate(ptr nocapture noundef readonly %0, i32 %1) #0 {
%3 = alloca %struct.common_audit_data, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = tail call i32 @current_sid() #3
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr @IPC, align 4, !tbaa !13
%8 = call i32 @COMMON_AUDIT_DATA_INIT(ptr noundef nonnull %3, i32 noundef %7) #3
%9 = load i32, ptr %0, align 8, !tbaa !14
store i32 %9, ptr %3, align 4, !tbaa !15
%10 = load i32, ptr %6, align 4, !tbaa !18
%11 = load i32, ptr @SECCLASS_SHM, align 4, !tbaa !13
%12 = load i32, ptr @SHM__ASSOCIATE, align 4, !tbaa !13
%13 = call i32 @avc_has_perm(i32 noundef %4, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @current_sid(...) local_unnamed_addr #2
declare i32 @COMMON_AUDIT_DATA_INIT(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @avc_has_perm(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"shmid_kernel", !8, i64 0}
!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 = !{!"any pointer", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !9, i64 0}
!15 = !{!16, !9, i64 0}
!16 = !{!"common_audit_data", !17, i64 0}
!17 = !{!"TYPE_3__", !9, i64 0}
!18 = !{!19, !9, i64 0}
!19 = !{!"ipc_security_struct", !9, i64 0}
| fastsocket_kernel_security_selinux_extr_hooks.c_selinux_shm_associate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_fill_Dfifo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_fill_Dfifo.c"
target datalayout = "e-m:e-p270:32:32-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.w6692_hw = type { ptr, i32, i64, %struct.dchannel }
%struct.dchannel = type { i32, %struct.TYPE_6__, i32, ptr }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i32, ptr }
@W_D_CMDR_XMS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s: fill_Dfifo\0A\00", align 1
@W_D_FIFO_THRESH = dso_local local_unnamed_addr global i32 0, align 4
@W_D_CMDR_XME = dso_local local_unnamed_addr global i32 0, align 4
@W_D_XFIFO = dso_local local_unnamed_addr global i64 0, align 8
@W_D_CMDR = dso_local local_unnamed_addr global i32 0, align 4
@FLG_BUSY_TIMER = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"%s: fill_Dfifo dbusytimer running\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@DBUSY_TIMER_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@debug = dso_local local_unnamed_addr global i32 0, align 4
@DEBUG_HW_DFIFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"D-send %s %d \00", align 1
@DUMP_PREFIX_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @W6692_fill_Dfifo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @W6692_fill_Dfifo(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3
%3 = load i32, ptr @W_D_CMDR_XMS, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %4) #3
%6 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = icmp eq ptr %7, null
br i1 %8, label %65, label %9
9: ; preds = %1
%10 = load i32, ptr %7, align 8, !tbaa !16
%11 = load i32, ptr %2, align 8, !tbaa !18
%12 = sub nsw i32 %10, %11
%13 = icmp slt i32 %12, 1
br i1 %13, label %65, label %14
14: ; preds = %9
%15 = load i32, ptr @W_D_FIFO_THRESH, align 4, !tbaa !5
%16 = icmp sgt i32 %12, %15
%17 = load i32, ptr @W_D_CMDR_XME, align 4
%18 = tail call i32 @llvm.smin.i32(i32 %12, i32 %15)
%19 = select i1 %16, i32 0, i32 %17
%20 = or i32 %19, %3
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !19
%23 = sext i32 %11 to i64
%24 = getelementptr inbounds i32, ptr %22, i64 %23
%25 = add nsw i32 %18, %11
store i32 %25, ptr %2, align 8, !tbaa !18
%26 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 2
%27 = load i64, ptr %26, align 8, !tbaa !20
%28 = load i64, ptr @W_D_XFIFO, align 8, !tbaa !21
%29 = add nsw i64 %28, %27
%30 = tail call i32 @outsb(i64 noundef %29, ptr noundef %24, i32 noundef %18) #3
%31 = load i32, ptr @W_D_CMDR, align 4, !tbaa !5
%32 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %20) #3
%33 = load i32, ptr @FLG_BUSY_TIMER, align 4, !tbaa !5
%34 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3, i32 2
%35 = tail call i64 @test_and_set_bit(i32 noundef %33, ptr noundef nonnull %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %14
%38 = load ptr, ptr %0, align 8, !tbaa !9
%39 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef %38) #3
%40 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3, i32 1
%41 = tail call i32 @del_timer(ptr noundef nonnull %40) #3
br label %42
42: ; preds = %37, %14
%43 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3, i32 1
%44 = tail call i32 @init_timer(ptr noundef nonnull %43) #3
%45 = load i64, ptr @jiffies, align 8, !tbaa !21
%46 = load i32, ptr @DBUSY_TIMER_VALUE, align 4, !tbaa !5
%47 = load i32, ptr @HZ, align 4, !tbaa !5
%48 = mul nsw i32 %47, %46
%49 = sdiv i32 %48, 1000
%50 = sext i32 %49 to i64
%51 = add nsw i64 %45, %50
store i64 %51, ptr %43, align 8, !tbaa !22
%52 = tail call i32 @add_timer(ptr noundef nonnull %43) #3
%53 = load i32, ptr @debug, align 4, !tbaa !5
%54 = load i32, ptr @DEBUG_HW_DFIFO, align 4, !tbaa !5
%55 = and i32 %54, %53
%56 = icmp eq i32 %55, 0
br i1 %56, label %65, label %57
57: ; preds = %42
%58 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 1
%59 = load i32, ptr %58, align 8, !tbaa !23
%60 = load ptr, ptr %0, align 8, !tbaa !9
%61 = tail call i32 @snprintf(i32 noundef %59, i32 noundef 63, ptr noundef nonnull @.str.2, ptr noundef %60, i32 noundef %18) #3
%62 = load i32, ptr %58, align 8, !tbaa !23
%63 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !5
%64 = tail call i32 @print_hex_dump_bytes(i32 noundef %62, i32 noundef %63, ptr noundef %24, i32 noundef %18) #3
br label %65
65: ; preds = %42, %57, %9, %1
ret void
}
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @outsb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WriteW6692(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @init_timer(ptr noundef) local_unnamed_addr #1
declare i32 @add_timer(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_hex_dump_bytes(i32 noundef, i32 noundef, ptr 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, !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 = !{!"w6692_hw", !11, i64 0, !6, i64 8, !12, i64 16, !13, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"dchannel", !6, i64 0, !14, i64 8, !6, i64 16, !11, i64 24}
!14 = !{!"TYPE_6__", !12, i64 0}
!15 = !{!13, !11, i64 24}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_5__", !6, i64 0, !11, i64 8}
!18 = !{!13, !6, i64 0}
!19 = !{!17, !11, i64 8}
!20 = !{!10, !12, i64 16}
!21 = !{!12, !12, i64 0}
!22 = !{!13, !12, i64 8}
!23 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_fill_Dfifo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_fill_Dfifo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@W_D_CMDR_XMS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s: fill_Dfifo\0A\00", align 1
@W_D_FIFO_THRESH = common local_unnamed_addr global i32 0, align 4
@W_D_CMDR_XME = common local_unnamed_addr global i32 0, align 4
@W_D_XFIFO = common local_unnamed_addr global i64 0, align 8
@W_D_CMDR = common local_unnamed_addr global i32 0, align 4
@FLG_BUSY_TIMER = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"%s: fill_Dfifo dbusytimer running\0A\00", align 1
@jiffies = common local_unnamed_addr global i64 0, align 8
@DBUSY_TIMER_VALUE = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@debug = common local_unnamed_addr global i32 0, align 4
@DEBUG_HW_DFIFO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"D-send %s %d \00", align 1
@DUMP_PREFIX_OFFSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @W6692_fill_Dfifo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @W6692_fill_Dfifo(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load i32, ptr @W_D_CMDR_XMS, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %4) #3
%6 = getelementptr inbounds i8, ptr %0, i64 48
%7 = load ptr, ptr %6, align 8, !tbaa !16
%8 = icmp eq ptr %7, null
br i1 %8, label %65, label %9
9: ; preds = %1
%10 = load i32, ptr %7, align 8, !tbaa !17
%11 = load i32, ptr %2, align 8, !tbaa !19
%12 = sub nsw i32 %10, %11
%13 = icmp slt i32 %12, 1
br i1 %13, label %65, label %14
14: ; preds = %9
%15 = load i32, ptr @W_D_FIFO_THRESH, align 4, !tbaa !6
%16 = icmp sgt i32 %12, %15
%17 = load i32, ptr @W_D_CMDR_XME, align 4
%18 = tail call i32 @llvm.smin.i32(i32 %12, i32 %15)
%19 = select i1 %16, i32 0, i32 %17
%20 = or i32 %19, %3
%21 = getelementptr inbounds i8, ptr %7, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !20
%23 = sext i32 %11 to i64
%24 = getelementptr inbounds i32, ptr %22, i64 %23
%25 = add nsw i32 %18, %11
store i32 %25, ptr %2, align 8, !tbaa !19
%26 = getelementptr inbounds i8, ptr %0, i64 16
%27 = load i64, ptr %26, align 8, !tbaa !21
%28 = load i64, ptr @W_D_XFIFO, align 8, !tbaa !22
%29 = add nsw i64 %28, %27
%30 = tail call i32 @outsb(i64 noundef %29, ptr noundef %24, i32 noundef %18) #3
%31 = load i32, ptr @W_D_CMDR, align 4, !tbaa !6
%32 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %20) #3
%33 = load i32, ptr @FLG_BUSY_TIMER, align 4, !tbaa !6
%34 = getelementptr inbounds i8, ptr %0, i64 40
%35 = tail call i64 @test_and_set_bit(i32 noundef %33, ptr noundef nonnull %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %14
%38 = load ptr, ptr %0, align 8, !tbaa !10
%39 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef %38) #3
%40 = getelementptr inbounds i8, ptr %0, i64 32
%41 = tail call i32 @del_timer(ptr noundef nonnull %40) #3
br label %42
42: ; preds = %37, %14
%43 = getelementptr inbounds i8, ptr %0, i64 32
%44 = tail call i32 @init_timer(ptr noundef nonnull %43) #3
%45 = load i64, ptr @jiffies, align 8, !tbaa !22
%46 = load i32, ptr @DBUSY_TIMER_VALUE, align 4, !tbaa !6
%47 = load i32, ptr @HZ, align 4, !tbaa !6
%48 = mul nsw i32 %47, %46
%49 = sdiv i32 %48, 1000
%50 = sext i32 %49 to i64
%51 = add nsw i64 %45, %50
store i64 %51, ptr %43, align 8, !tbaa !23
%52 = tail call i32 @add_timer(ptr noundef nonnull %43) #3
%53 = load i32, ptr @debug, align 4, !tbaa !6
%54 = load i32, ptr @DEBUG_HW_DFIFO, align 4, !tbaa !6
%55 = and i32 %54, %53
%56 = icmp eq i32 %55, 0
br i1 %56, label %65, label %57
57: ; preds = %42
%58 = getelementptr inbounds i8, ptr %0, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !24
%60 = load ptr, ptr %0, align 8, !tbaa !10
%61 = tail call i32 @snprintf(i32 noundef %59, i32 noundef 63, ptr noundef nonnull @.str.2, ptr noundef %60, i32 noundef %18) #3
%62 = load i32, ptr %58, align 8, !tbaa !24
%63 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !6
%64 = tail call i32 @print_hex_dump_bytes(i32 noundef %62, i32 noundef %63, ptr noundef %24, i32 noundef %18) #3
br label %65
65: ; preds = %42, %57, %9, %1
ret void
}
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @outsb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WriteW6692(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @init_timer(ptr noundef) local_unnamed_addr #1
declare i32 @add_timer(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_hex_dump_bytes(i32 noundef, i32 noundef, ptr 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, !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 = !{!"w6692_hw", !12, i64 0, !7, i64 8, !13, i64 16, !14, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"dchannel", !7, i64 0, !15, i64 8, !7, i64 16, !12, i64 24}
!15 = !{!"TYPE_6__", !13, i64 0}
!16 = !{!14, !12, i64 24}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0, !12, i64 8}
!19 = !{!14, !7, i64 0}
!20 = !{!18, !12, i64 8}
!21 = !{!11, !13, i64 16}
!22 = !{!13, !13, i64 0}
!23 = !{!14, !13, i64 8}
!24 = !{!11, !7, i64 8}
| fastsocket_kernel_drivers_isdn_hardware_mISDN_extr_w6692.c_W6692_fill_Dfifo |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_request_timeout_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_request_timeout_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ZFCP_STATUS_COMMON_ERP_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"fsrth_1\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_fsf_request_timeout_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zfcp_fsf_request_timeout_handler(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = tail call i32 @zfcp_qdio_siosl(ptr noundef %2) #2
%4 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !5
%5 = tail call i32 @zfcp_erp_adapter_reopen(ptr noundef %2, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef null) #2
ret void
}
declare i32 @zfcp_qdio_siosl(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_erp_adapter_reopen(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_request_timeout_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_request_timeout_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZFCP_STATUS_COMMON_ERP_FAILED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"fsrth_1\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zfcp_fsf_request_timeout_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zfcp_fsf_request_timeout_handler(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = tail call i32 @zfcp_qdio_siosl(ptr noundef %2) #2
%4 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !6
%5 = tail call i32 @zfcp_erp_adapter_reopen(ptr noundef %2, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef null) #2
ret void
}
declare i32 @zfcp_qdio_siosl(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_erp_adapter_reopen(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_s390_scsi_extr_zfcp_fsf.c_zfcp_fsf_request_timeout_handler |
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_creator.c_creator_load_state.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_creator.c_creator_load_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @creator_load_state], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @creator_load_state(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @ENODEV, align 4, !tbaa !5
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_creator.c_creator_load_state.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_creator.c_creator_load_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @creator_load_state], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @creator_load_state(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @ENODEV, align 4, !tbaa !6
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_fb_extr_creator.c_creator_load_state |
; ModuleID = 'AnghaBench/linux/sound/pci/cs46xx/extr_cs46xx_lib.c_snd_cs46xx_codec_write.c'
source_filename = "AnghaBench/linux/sound/pci/cs46xx/extr_cs46xx_lib.c_snd_cs46xx_codec_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_cs46xx = type { ptr, ptr }
@CS46XX_PRIMARY_CODEC_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@CS46XX_SECONDARY_CODEC_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@BA0_ACCAD = dso_local local_unnamed_addr global i32 0, align 4
@BA0_ACCDA = dso_local local_unnamed_addr global i32 0, align 4
@BA0_ACCTL = dso_local local_unnamed_addr global i32 0, align 4
@ACCTL_VFRM = dso_local local_unnamed_addr global i16 0, align 2
@ACCTL_ESYN = dso_local local_unnamed_addr global i16 0, align 2
@ACCTL_RSTN = dso_local local_unnamed_addr global i16 0, align 2
@ACCTL_DCV = dso_local local_unnamed_addr global i16 0, align 2
@ACCTL_TC = dso_local local_unnamed_addr global i16 0, align 2
@.str = private unnamed_addr constant [63 x i8] c"AC'97 write problem, codec_index = %d, reg = 0x%x, val = 0x%x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cs46xx_codec_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @snd_cs46xx_codec_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CS46XX_PRIMARY_CODEC_INDEX, align 4, !tbaa !5
%6 = icmp ne i32 %5, %3
%7 = load i32, ptr @CS46XX_SECONDARY_CODEC_INDEX, align 4
%8 = icmp ne i32 %7, %3
%9 = select i1 %6, i1 %8, i1 false
%10 = zext i1 %9 to i32
%11 = tail call i64 @snd_BUG_ON(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %68
13: ; preds = %4
%14 = load ptr, ptr %0, align 8, !tbaa !9
%15 = tail call i32 %14(ptr noundef nonnull %0, i32 noundef 1) #2
%16 = load i32, ptr @BA0_ACCAD, align 4, !tbaa !5
%17 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %16, i16 noundef zeroext %1) #2
%18 = load i32, ptr @BA0_ACCDA, align 4, !tbaa !5
%19 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %18, i16 noundef zeroext %2) #2
%20 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !5
%21 = tail call zeroext i16 @snd_cs46xx_peekBA0(ptr noundef nonnull %0, i32 noundef %20) #2
%22 = load i32, ptr @CS46XX_PRIMARY_CODEC_INDEX, align 4, !tbaa !5
%23 = icmp eq i32 %22, %3
%24 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !5
br i1 %23, label %25, label %34
25: ; preds = %13
%26 = load i16, ptr @ACCTL_VFRM, align 2, !tbaa !12
%27 = load i16, ptr @ACCTL_ESYN, align 2, !tbaa !12
%28 = or i16 %27, %26
%29 = load i16, ptr @ACCTL_RSTN, align 2, !tbaa !12
%30 = or i16 %28, %29
%31 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %24, i16 noundef zeroext %30) #2
%32 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !5
%33 = load i16, ptr @ACCTL_VFRM, align 2, !tbaa !12
br label %38
34: ; preds = %13
%35 = load i16, ptr @ACCTL_DCV, align 2, !tbaa !12
%36 = load i16, ptr @ACCTL_TC, align 2, !tbaa !12
%37 = or i16 %36, %35
br label %38
38: ; preds = %34, %25
%39 = phi ptr [ @ACCTL_VFRM, %34 ], [ @ACCTL_DCV, %25 ]
%40 = phi i16 [ %37, %34 ], [ %33, %25 ]
%41 = phi i32 [ %24, %34 ], [ %32, %25 ]
%42 = load i16, ptr %39, align 2, !tbaa !12
%43 = or i16 %40, %42
%44 = load i16, ptr @ACCTL_ESYN, align 2, !tbaa !12
%45 = or i16 %43, %44
%46 = load i16, ptr @ACCTL_RSTN, align 2, !tbaa !12
%47 = or i16 %45, %46
%48 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %41, i16 noundef zeroext %47) #2
br label %52
49: ; preds = %52
%50 = add nuw nsw i32 %53, 1
%51 = icmp eq i32 %50, 4000
br i1 %51, label %60, label %52, !llvm.loop !14
52: ; preds = %38, %49
%53 = phi i32 [ 0, %38 ], [ %50, %49 ]
%54 = tail call i32 @udelay(i32 noundef 10) #2
%55 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !5
%56 = tail call zeroext i16 @snd_cs46xx_peekBA0(ptr noundef nonnull %0, i32 noundef %55) #2
%57 = load i16, ptr @ACCTL_DCV, align 2, !tbaa !12
%58 = and i16 %57, %56
%59 = icmp eq i16 %58, 0
br i1 %59, label %65, label %49
60: ; preds = %49
%61 = getelementptr inbounds %struct.snd_cs46xx, ptr %0, i64 0, i32 1
%62 = load ptr, ptr %61, align 8, !tbaa !16
%63 = load i32, ptr %62, align 4, !tbaa !17
%64 = tail call i32 @dev_err(i32 noundef %63, ptr noundef nonnull @.str, i32 noundef %3, i16 noundef zeroext %1, i16 noundef zeroext %2) #2
br label %65
65: ; preds = %52, %60
%66 = load ptr, ptr %0, align 8, !tbaa !9
%67 = tail call i32 %66(ptr noundef nonnull %0, i32 noundef -1) #2
br label %68
68: ; preds = %4, %65
ret void
}
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @snd_cs46xx_pokeBA0(ptr noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare zeroext i16 @snd_cs46xx_peekBA0(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i16 noundef zeroext, i16 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, !11, i64 0}
!10 = !{!"snd_cs46xx", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !11, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/cs46xx/extr_cs46xx_lib.c_snd_cs46xx_codec_write.c'
source_filename = "AnghaBench/linux/sound/pci/cs46xx/extr_cs46xx_lib.c_snd_cs46xx_codec_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CS46XX_PRIMARY_CODEC_INDEX = common local_unnamed_addr global i32 0, align 4
@CS46XX_SECONDARY_CODEC_INDEX = common local_unnamed_addr global i32 0, align 4
@BA0_ACCAD = common local_unnamed_addr global i32 0, align 4
@BA0_ACCDA = common local_unnamed_addr global i32 0, align 4
@BA0_ACCTL = common local_unnamed_addr global i32 0, align 4
@ACCTL_VFRM = common local_unnamed_addr global i16 0, align 2
@ACCTL_ESYN = common local_unnamed_addr global i16 0, align 2
@ACCTL_RSTN = common local_unnamed_addr global i16 0, align 2
@ACCTL_DCV = common local_unnamed_addr global i16 0, align 2
@ACCTL_TC = common local_unnamed_addr global i16 0, align 2
@.str = private unnamed_addr constant [63 x i8] c"AC'97 write problem, codec_index = %d, reg = 0x%x, val = 0x%x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @snd_cs46xx_codec_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @snd_cs46xx_codec_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = load i32, ptr @CS46XX_PRIMARY_CODEC_INDEX, align 4, !tbaa !6
%6 = icmp ne i32 %5, %3
%7 = load i32, ptr @CS46XX_SECONDARY_CODEC_INDEX, align 4
%8 = icmp ne i32 %7, %3
%9 = select i1 %6, i1 %8, i1 false
%10 = zext i1 %9 to i32
%11 = tail call i64 @snd_BUG_ON(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %69
13: ; preds = %4
%14 = load ptr, ptr %0, align 8, !tbaa !10
%15 = tail call i32 %14(ptr noundef nonnull %0, i32 noundef 1) #2
%16 = load i32, ptr @BA0_ACCAD, align 4, !tbaa !6
%17 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %16, i16 noundef zeroext %1) #2
%18 = load i32, ptr @BA0_ACCDA, align 4, !tbaa !6
%19 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %18, i16 noundef zeroext %2) #2
%20 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !6
%21 = tail call zeroext i16 @snd_cs46xx_peekBA0(ptr noundef nonnull %0, i32 noundef %20) #2
%22 = load i32, ptr @CS46XX_PRIMARY_CODEC_INDEX, align 4, !tbaa !6
%23 = icmp eq i32 %22, %3
%24 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !6
br i1 %23, label %25, label %36
25: ; preds = %13
%26 = load i16, ptr @ACCTL_VFRM, align 2, !tbaa !13
%27 = load i16, ptr @ACCTL_ESYN, align 2, !tbaa !13
%28 = or i16 %27, %26
%29 = load i16, ptr @ACCTL_RSTN, align 2, !tbaa !13
%30 = or i16 %28, %29
%31 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %24, i16 noundef zeroext %30) #2
%32 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !6
%33 = load i16, ptr @ACCTL_DCV, align 2, !tbaa !13
%34 = load i16, ptr @ACCTL_VFRM, align 2, !tbaa !13
%35 = or i16 %34, %33
br label %42
36: ; preds = %13
%37 = load i16, ptr @ACCTL_DCV, align 2, !tbaa !13
%38 = load i16, ptr @ACCTL_TC, align 2, !tbaa !13
%39 = or i16 %38, %37
%40 = load i16, ptr @ACCTL_VFRM, align 2, !tbaa !13
%41 = or i16 %39, %40
br label %42
42: ; preds = %36, %25
%43 = phi i16 [ %41, %36 ], [ %35, %25 ]
%44 = phi i32 [ %24, %36 ], [ %32, %25 ]
%45 = load i16, ptr @ACCTL_ESYN, align 2, !tbaa !13
%46 = or i16 %43, %45
%47 = load i16, ptr @ACCTL_RSTN, align 2, !tbaa !13
%48 = or i16 %46, %47
%49 = tail call i32 @snd_cs46xx_pokeBA0(ptr noundef nonnull %0, i32 noundef %44, i16 noundef zeroext %48) #2
br label %53
50: ; preds = %53
%51 = add nuw nsw i32 %54, 1
%52 = icmp eq i32 %51, 4000
br i1 %52, label %61, label %53, !llvm.loop !15
53: ; preds = %42, %50
%54 = phi i32 [ 0, %42 ], [ %51, %50 ]
%55 = tail call i32 @udelay(i32 noundef 10) #2
%56 = load i32, ptr @BA0_ACCTL, align 4, !tbaa !6
%57 = tail call zeroext i16 @snd_cs46xx_peekBA0(ptr noundef nonnull %0, i32 noundef %56) #2
%58 = load i16, ptr @ACCTL_DCV, align 2, !tbaa !13
%59 = and i16 %58, %57
%60 = icmp eq i16 %59, 0
br i1 %60, label %66, label %50
61: ; preds = %50
%62 = getelementptr inbounds i8, ptr %0, i64 8
%63 = load ptr, ptr %62, align 8, !tbaa !17
%64 = load i32, ptr %63, align 4, !tbaa !18
%65 = tail call i32 @dev_err(i32 noundef %64, ptr noundef nonnull @.str, i32 noundef %3, i16 noundef zeroext %1, i16 noundef zeroext %2) #2
br label %66
66: ; preds = %53, %61
%67 = load ptr, ptr %0, align 8, !tbaa !10
%68 = tail call i32 %67(ptr noundef nonnull %0, i32 noundef -1) #2
br label %69
69: ; preds = %4, %66
ret void
}
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @snd_cs46xx_pokeBA0(ptr noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare zeroext i16 @snd_cs46xx_peekBA0(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i16 noundef zeroext, i16 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, !12, i64 0}
!11 = !{!"snd_cs46xx", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!11, !12, i64 8}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_2__", !7, i64 0}
| linux_sound_pci_cs46xx_extr_cs46xx_lib.c_snd_cs46xx_codec_write |
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_test/extr_mac_test.c_test_ifnet_create.c'
source_filename = "AnghaBench/freebsd/sys/security/mac_test/extr_mac_test.c_test_ifnet_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAGIC_IFNET = dso_local local_unnamed_addr global i32 0, align 4
@ifnet_create = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_ifnet_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_ifnet_create(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @MAGIC_IFNET, align 4, !tbaa !5
%4 = tail call i32 @LABEL_CHECK(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @ifnet_create, align 4, !tbaa !5
%6 = tail call i32 @COUNTER_INC(i32 noundef %5) #2
ret void
}
declare i32 @LABEL_CHECK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @COUNTER_INC(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/security/mac_test/extr_mac_test.c_test_ifnet_create.c'
source_filename = "AnghaBench/freebsd/sys/security/mac_test/extr_mac_test.c_test_ifnet_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAGIC_IFNET = common local_unnamed_addr global i32 0, align 4
@ifnet_create = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_ifnet_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_ifnet_create(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @MAGIC_IFNET, align 4, !tbaa !6
%4 = tail call i32 @LABEL_CHECK(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @ifnet_create, align 4, !tbaa !6
%6 = tail call i32 @COUNTER_INC(i32 noundef %5) #2
ret void
}
declare i32 @LABEL_CHECK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @COUNTER_INC(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_security_mac_test_extr_mac_test.c_test_ifnet_create |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_register_leds.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_register_leds.c"
target datalayout = "e-m:e-p270:32:32-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.lp55xx_chip = type { i32, ptr, ptr, ptr }
%struct.lp55xx_device_config = type { ptr, i32 }
%struct.lp55xx_platform_data = type { i32, ptr }
%struct.TYPE_4__ = type { i64 }
%struct.lp55xx_led = type { ptr }
@.str = private unnamed_addr constant [32 x i8] c"empty brightness configuration\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @lp55xx_register_leds(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.lp55xx_chip, ptr %1, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.lp55xx_chip, ptr %1, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %4, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.lp55xx_device_config, ptr %6, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = icmp eq i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = icmp sgt i32 %7, 0
br i1 %12, label %13, label %45
13: ; preds = %11
%14 = getelementptr inbounds %struct.lp55xx_platform_data, ptr %4, i64 0, i32 1
%15 = zext nneg i32 %7 to i64
br label %22
16: ; preds = %2
%17 = getelementptr inbounds %struct.lp55xx_chip, ptr %1, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = tail call i32 @dev_err(ptr noundef %18, ptr noundef nonnull @.str) #2
%20 = load i32, ptr @EINVAL, align 4, !tbaa !17
%21 = sub nsw i32 0, %20
br label %45
22: ; preds = %13, %40
%23 = phi i64 [ 0, %13 ], [ %41, %40 ]
%24 = load ptr, ptr %14, align 8, !tbaa !18
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %23
%26 = load i64, ptr %25, align 8, !tbaa !19
%27 = icmp eq i64 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %22
%29 = getelementptr inbounds %struct.lp55xx_led, ptr %0, i64 %23
%30 = trunc i64 %23 to i32
%31 = tail call i32 @lp55xx_init_led(ptr noundef %29, ptr noundef %1, i32 noundef %30) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = load i32, ptr %1, align 8, !tbaa !22
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 8, !tbaa !22
store ptr %1, ptr %29, align 8, !tbaa !23
%36 = load ptr, ptr %6, align 8, !tbaa !25
%37 = icmp eq ptr %36, null
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = tail call i32 %36(ptr noundef nonnull %29, i64 noundef %26) #2
br label %40
40: ; preds = %33, %38, %22
%41 = add nuw nsw i64 %23, 1
%42 = icmp eq i64 %41, %15
br i1 %42, label %45, label %22, !llvm.loop !26
43: ; preds = %28
%44 = tail call i32 @lp55xx_unregister_leds(ptr noundef %0, ptr noundef %1) #2
br label %45
45: ; preds = %40, %11, %43, %16
%46 = phi i32 [ %31, %43 ], [ %21, %16 ], [ 0, %11 ], [ 0, %40 ]
ret i32 %46
}
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lp55xx_init_led(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lp55xx_unregister_leds(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 24}
!6 = !{!"lp55xx_chip", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !7, i64 0}
!13 = !{!"lp55xx_platform_data", !7, i64 0, !10, i64 8}
!14 = !{!15, !7, i64 8}
!15 = !{!"lp55xx_device_config", !10, i64 0, !7, i64 8}
!16 = !{!6, !10, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!13, !10, i64 8}
!19 = !{!20, !21, i64 0}
!20 = !{!"TYPE_4__", !21, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!6, !7, i64 0}
!23 = !{!24, !10, i64 0}
!24 = !{!"lp55xx_led", !10, i64 0}
!25 = !{!15, !10, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_register_leds.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-lp55xx-common.c_lp55xx_register_leds.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64 }
%struct.lp55xx_led = type { ptr }
@.str = private unnamed_addr constant [32 x i8] c"empty brightness configuration\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @lp55xx_register_leds(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %4, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %6, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !15
%10 = icmp eq i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %2
%12 = icmp sgt i32 %7, 0
br i1 %12, label %13, label %45
13: ; preds = %11
%14 = getelementptr inbounds i8, ptr %4, i64 8
%15 = zext nneg i32 %7 to i64
br label %22
16: ; preds = %2
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = tail call i32 @dev_err(ptr noundef %18, ptr noundef nonnull @.str) #2
%20 = load i32, ptr @EINVAL, align 4, !tbaa !18
%21 = sub nsw i32 0, %20
br label %45
22: ; preds = %13, %40
%23 = phi i64 [ 0, %13 ], [ %41, %40 ]
%24 = load ptr, ptr %14, align 8, !tbaa !19
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %23
%26 = load i64, ptr %25, align 8, !tbaa !20
%27 = icmp eq i64 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %22
%29 = getelementptr inbounds %struct.lp55xx_led, ptr %0, i64 %23
%30 = trunc nuw nsw i64 %23 to i32
%31 = tail call i32 @lp55xx_init_led(ptr noundef %29, ptr noundef %1, i32 noundef %30) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = load i32, ptr %1, align 8, !tbaa !23
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 8, !tbaa !23
store ptr %1, ptr %29, align 8, !tbaa !24
%36 = load ptr, ptr %6, align 8, !tbaa !26
%37 = icmp eq ptr %36, null
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = tail call i32 %36(ptr noundef nonnull %29, i64 noundef %26) #2
br label %40
40: ; preds = %33, %38, %22
%41 = add nuw nsw i64 %23, 1
%42 = icmp eq i64 %41, %15
br i1 %42, label %45, label %22, !llvm.loop !27
43: ; preds = %28
%44 = tail call i32 @lp55xx_unregister_leds(ptr noundef %0, ptr noundef %1) #2
br label %45
45: ; preds = %40, %11, %43, %16
%46 = phi i32 [ %31, %43 ], [ %21, %16 ], [ 0, %11 ], [ 0, %40 ]
ret i32 %46
}
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lp55xx_init_led(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lp55xx_unregister_leds(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 24}
!7 = !{!"lp55xx_chip", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !8, i64 0}
!14 = !{!"lp55xx_platform_data", !8, i64 0, !11, i64 8}
!15 = !{!16, !8, i64 8}
!16 = !{!"lp55xx_device_config", !11, i64 0, !8, i64 8}
!17 = !{!7, !11, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!14, !11, i64 8}
!20 = !{!21, !22, i64 0}
!21 = !{!"TYPE_4__", !22, i64 0}
!22 = !{!"long", !9, i64 0}
!23 = !{!7, !8, i64 0}
!24 = !{!25, !11, i64 0}
!25 = !{!"lp55xx_led", !11, i64 0}
!26 = !{!16, !11, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| linux_drivers_leds_extr_leds-lp55xx-common.c_lp55xx_register_leds |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_mv643xx_eth.c_rxq_process.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_mv643xx_eth.c_rxq_process.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mv643xx_eth_private = type { i32, i32, ptr }
%struct.TYPE_5__ = type { %struct.TYPE_6__, %struct.net_device_stats }
%struct.TYPE_6__ = type { i32 }
%struct.net_device_stats = type { i32, i32, i32, i32 }
%struct.rx_queue = type { i64, i64, i32, i32, i64, ptr, ptr }
%struct.rx_desc = type { i32, i32, i32, i32 }
%struct.sk_buff = type { i64, ptr, i32 }
@BUFFER_OWNED_BY_DMA = dso_local local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@RX_FIRST_DESC = dso_local local_unnamed_addr global i32 0, align 4
@RX_LAST_DESC = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_SUMMARY = dso_local local_unnamed_addr global i32 0, align 4
@LAYER_4_CHECKSUM_OK = dso_local local_unnamed_addr global i32 0, align 4
@CHECKSUM_UNNECESSARY = dso_local local_unnamed_addr global i64 0, align 8
@NETIF_F_LRO = dso_local local_unnamed_addr global i32 0, align 4
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"received packet spanning multiple descriptors\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rxq_process], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rxq_process(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @rxq_to_mp(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.mv643xx_eth_private, ptr %3, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1
%7 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 4
%8 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 6
%9 = icmp sgt i32 %1, 0
br i1 %9, label %10, label %127
10: ; preds = %2
%11 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 5
%12 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 1
%13 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 2
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1, i32 2
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1, i32 1
%16 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 3
br label %17
17: ; preds = %10, %117
%18 = phi i32 [ 0, %10 ], [ %118, %117 ]
%19 = phi i32 [ 0, %10 ], [ %50, %117 ]
%20 = load i64, ptr %7, align 8, !tbaa !11
%21 = icmp eq i64 %20, 0
br i1 %21, label %120, label %22
22: ; preds = %17
%23 = load ptr, ptr %8, align 8, !tbaa !14
%24 = load i64, ptr %0, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.rx_desc, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = load i32, ptr @BUFFER_OWNED_BY_DMA, align 4, !tbaa !18
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %120
30: ; preds = %22
%31 = tail call i32 (...) @rmb() #2
%32 = load ptr, ptr %11, align 8, !tbaa !19
%33 = load i64, ptr %0, align 8, !tbaa !15
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !20
store ptr null, ptr %34, align 8, !tbaa !20
%36 = add i64 %33, 1
%37 = load i64, ptr %12, align 8, !tbaa !21
%38 = icmp eq i64 %36, %37
%39 = select i1 %38, i64 0, i64 %36
store i64 %39, ptr %0, align 8
%40 = load ptr, ptr %4, align 8, !tbaa !5
%41 = load i32, ptr %40, align 4, !tbaa !22
%42 = getelementptr inbounds %struct.rx_desc, ptr %23, i64 %24, i32 3
%43 = load i32, ptr %42, align 4, !tbaa !26
%44 = getelementptr inbounds %struct.rx_desc, ptr %23, i64 %24, i32 2
%45 = load i32, ptr %44, align 4, !tbaa !27
%46 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !18
%47 = tail call i32 @dma_unmap_single(i32 noundef %41, i32 noundef %43, i32 noundef %45, i32 noundef %46) #2
%48 = load i64, ptr %7, align 8, !tbaa !11
%49 = add nsw i64 %48, -1
store i64 %49, ptr %7, align 8, !tbaa !11
%50 = add nuw nsw i32 %19, 1
%51 = load i32, ptr %13, align 8, !tbaa !28
%52 = shl nuw i32 1, %51
%53 = load i32, ptr %3, align 8, !tbaa !29
%54 = or i32 %53, %52
store i32 %54, ptr %3, align 8, !tbaa !29
%55 = getelementptr inbounds %struct.rx_desc, ptr %23, i64 %24, i32 1
%56 = load i32, ptr %55, align 4, !tbaa !30
%57 = add nsw i32 %56, -2
%58 = load <2 x i32>, ptr %14, align 4, !tbaa !18
%59 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %57, i64 0
%60 = add nsw <2 x i32> %59, %58
store <2 x i32> %60, ptr %14, align 4, !tbaa !18
%61 = load i32, ptr @RX_FIRST_DESC, align 4, !tbaa !18
%62 = load i32, ptr @RX_LAST_DESC, align 4, !tbaa !18
%63 = or i32 %62, %61
%64 = load i32, ptr @ERROR_SUMMARY, align 4, !tbaa !18
%65 = or i32 %63, %64
%66 = and i32 %65, %26
%67 = icmp eq i32 %66, %63
br i1 %67, label %68, label %96
68: ; preds = %30
%69 = add nsw i32 %56, -6
%70 = tail call i32 @skb_put(ptr noundef %35, i32 noundef %69) #2
%71 = load i32, ptr @LAYER_4_CHECKSUM_OK, align 4, !tbaa !18
%72 = and i32 %71, %26
%73 = icmp eq i32 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %68
%75 = load i64, ptr @CHECKSUM_UNNECESSARY, align 8, !tbaa !31
store i64 %75, ptr %35, align 8, !tbaa !32
br label %76
76: ; preds = %74, %68
%77 = load ptr, ptr %4, align 8, !tbaa !5
%78 = tail call i32 @eth_type_trans(ptr noundef %35, ptr noundef %77) #2
%79 = getelementptr inbounds %struct.sk_buff, ptr %35, i64 0, i32 2
store i32 %78, ptr %79, align 8, !tbaa !34
%80 = getelementptr inbounds %struct.sk_buff, ptr %35, i64 0, i32 1
%81 = load ptr, ptr %80, align 8, !tbaa !35
%82 = load i32, ptr %81, align 4, !tbaa !36
%83 = load i32, ptr @NETIF_F_LRO, align 4, !tbaa !18
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %94, label %86
86: ; preds = %76
%87 = load i64, ptr %35, align 8, !tbaa !32
%88 = load i64, ptr @CHECKSUM_UNNECESSARY, align 8, !tbaa !31
%89 = icmp eq i64 %87, %88
br i1 %89, label %90, label %94
90: ; preds = %86
%91 = zext i32 %26 to i64
%92 = inttoptr i64 %91 to ptr
%93 = tail call i32 @lro_receive_skb(ptr noundef nonnull %16, ptr noundef nonnull %35, ptr noundef %92) #2
br label %117, !llvm.loop !38
94: ; preds = %86, %76
%95 = tail call i32 @netif_receive_skb(ptr noundef nonnull %35) #2
br label %117, !llvm.loop !38
96: ; preds = %30
%97 = load i32, ptr %15, align 4, !tbaa !40
%98 = add nsw i32 %97, 1
store i32 %98, ptr %15, align 4, !tbaa !40
%99 = and i32 %63, %26
%100 = icmp eq i32 %99, %63
br i1 %100, label %108, label %101
101: ; preds = %96
%102 = tail call i64 (...) @net_ratelimit() #2
%103 = icmp eq i64 %102, 0
br i1 %103, label %108, label %104
104: ; preds = %101
%105 = load i32, ptr @KERN_ERR, align 4, !tbaa !18
%106 = load ptr, ptr %4, align 8, !tbaa !5
%107 = tail call i32 @dev_printk(i32 noundef %105, ptr noundef %106, ptr noundef nonnull @.str) #2
br label %108
108: ; preds = %101, %104, %96
%109 = load i32, ptr @ERROR_SUMMARY, align 4, !tbaa !18
%110 = and i32 %109, %26
%111 = icmp eq i32 %110, 0
br i1 %111, label %115, label %112
112: ; preds = %108
%113 = load i32, ptr %6, align 4, !tbaa !41
%114 = add nsw i32 %113, 1
store i32 %114, ptr %6, align 4, !tbaa !41
br label %115
115: ; preds = %112, %108
%116 = tail call i32 @dev_kfree_skb(ptr noundef %35) #2
br label %117
117: ; preds = %90, %94, %115
%118 = phi i32 [ %18, %115 ], [ 1, %90 ], [ %18, %94 ]
%119 = icmp eq i32 %50, %1
br i1 %119, label %120, label %17
120: ; preds = %17, %117, %22
%121 = phi i32 [ %19, %17 ], [ %1, %117 ], [ %19, %22 ]
%122 = phi i32 [ %18, %17 ], [ %118, %117 ], [ %18, %22 ]
%123 = icmp eq i32 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %120
%125 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 3
%126 = tail call i32 @lro_flush_all(ptr noundef nonnull %125) #2
br label %127
127: ; preds = %2, %124, %120
%128 = phi i32 [ %121, %124 ], [ %121, %120 ], [ 0, %2 ]
%129 = icmp slt i32 %128, %1
br i1 %129, label %130, label %138
130: ; preds = %127
%131 = getelementptr inbounds %struct.rx_queue, ptr %0, i64 0, i32 2
%132 = load i32, ptr %131, align 8, !tbaa !28
%133 = shl nuw i32 1, %132
%134 = xor i32 %133, -1
%135 = getelementptr inbounds %struct.mv643xx_eth_private, ptr %3, i64 0, i32 1
%136 = load i32, ptr %135, align 4, !tbaa !42
%137 = and i32 %136, %134
store i32 %137, ptr %135, align 4, !tbaa !42
br label %138
138: ; preds = %130, %127
ret i32 %128
}
declare ptr @rxq_to_mp(ptr noundef) local_unnamed_addr #1
declare i32 @rmb(...) local_unnamed_addr #1
declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @eth_type_trans(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lro_receive_skb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_receive_skb(ptr noundef) local_unnamed_addr #1
declare i64 @net_ratelimit(...) local_unnamed_addr #1
declare i32 @dev_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @lro_flush_all(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 = !{!"mv643xx_eth_private", !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, !13, i64 24}
!12 = !{!"rx_queue", !13, i64 0, !13, i64 8, !7, i64 16, !7, i64 20, !13, i64 24, !10, i64 32, !10, i64 40}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !10, i64 40}
!15 = !{!12, !13, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"rx_desc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!18 = !{!7, !7, i64 0}
!19 = !{!12, !10, i64 32}
!20 = !{!10, !10, i64 0}
!21 = !{!12, !13, i64 8}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_5__", !24, i64 0, !25, i64 4}
!24 = !{!"TYPE_6__", !7, i64 0}
!25 = !{!"net_device_stats", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!26 = !{!17, !7, i64 12}
!27 = !{!17, !7, i64 8}
!28 = !{!12, !7, i64 16}
!29 = !{!6, !7, i64 0}
!30 = !{!17, !7, i64 4}
!31 = !{!13, !13, i64 0}
!32 = !{!33, !13, i64 0}
!33 = !{!"sk_buff", !13, i64 0, !10, i64 8, !7, i64 16}
!34 = !{!33, !7, i64 16}
!35 = !{!33, !10, i64 8}
!36 = !{!37, !7, i64 0}
!37 = !{!"TYPE_4__", !7, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!25, !7, i64 4}
!41 = !{!25, !7, i64 0}
!42 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_mv643xx_eth.c_rxq_process.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_mv643xx_eth.c_rxq_process.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rx_desc = type { i32, i32, i32, i32 }
@BUFFER_OWNED_BY_DMA = common local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@RX_FIRST_DESC = common local_unnamed_addr global i32 0, align 4
@RX_LAST_DESC = common local_unnamed_addr global i32 0, align 4
@ERROR_SUMMARY = common local_unnamed_addr global i32 0, align 4
@LAYER_4_CHECKSUM_OK = common local_unnamed_addr global i32 0, align 4
@CHECKSUM_UNNECESSARY = common local_unnamed_addr global i64 0, align 8
@NETIF_F_LRO = common local_unnamed_addr global i32 0, align 4
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"received packet spanning multiple descriptors\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rxq_process], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rxq_process(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @rxq_to_mp(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = icmp sgt i32 %1, 0
br i1 %9, label %10, label %126
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = getelementptr inbounds i8, ptr %5, i64 12
%15 = getelementptr inbounds i8, ptr %5, i64 8
%16 = getelementptr inbounds i8, ptr %0, i64 20
br label %17
17: ; preds = %10, %117
%18 = phi i32 [ 0, %10 ], [ %118, %117 ]
%19 = phi i32 [ 0, %10 ], [ %50, %117 ]
%20 = load i64, ptr %7, align 8, !tbaa !12
%21 = icmp eq i64 %20, 0
br i1 %21, label %120, label %22
22: ; preds = %17
%23 = load ptr, ptr %8, align 8, !tbaa !15
%24 = load i64, ptr %0, align 8, !tbaa !16
%25 = getelementptr inbounds %struct.rx_desc, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = load i32, ptr @BUFFER_OWNED_BY_DMA, align 4, !tbaa !19
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %120
30: ; preds = %22
%31 = tail call i32 @rmb() #2
%32 = load ptr, ptr %11, align 8, !tbaa !20
%33 = load i64, ptr %0, align 8, !tbaa !16
%34 = getelementptr inbounds ptr, ptr %32, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !21
store ptr null, ptr %34, align 8, !tbaa !21
%36 = add i64 %33, 1
%37 = load i64, ptr %12, align 8, !tbaa !22
%38 = icmp eq i64 %36, %37
%39 = select i1 %38, i64 0, i64 %36
store i64 %39, ptr %0, align 8
%40 = load ptr, ptr %4, align 8, !tbaa !6
%41 = load i32, ptr %40, align 4, !tbaa !23
%42 = getelementptr inbounds i8, ptr %25, i64 12
%43 = load i32, ptr %42, align 4, !tbaa !27
%44 = getelementptr inbounds i8, ptr %25, i64 8
%45 = load i32, ptr %44, align 4, !tbaa !28
%46 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !19
%47 = tail call i32 @dma_unmap_single(i32 noundef %41, i32 noundef %43, i32 noundef %45, i32 noundef %46) #2
%48 = load i64, ptr %7, align 8, !tbaa !12
%49 = add nsw i64 %48, -1
store i64 %49, ptr %7, align 8, !tbaa !12
%50 = add nuw nsw i32 %19, 1
%51 = load i32, ptr %13, align 8, !tbaa !29
%52 = shl nuw i32 1, %51
%53 = load i32, ptr %3, align 8, !tbaa !30
%54 = or i32 %53, %52
store i32 %54, ptr %3, align 8, !tbaa !30
%55 = getelementptr inbounds i8, ptr %25, i64 4
%56 = load i32, ptr %55, align 4, !tbaa !31
%57 = add nsw i32 %56, -2
%58 = load <2 x i32>, ptr %14, align 4, !tbaa !19
%59 = insertelement <2 x i32> <i32 poison, i32 1>, i32 %57, i64 0
%60 = add nsw <2 x i32> %59, %58
store <2 x i32> %60, ptr %14, align 4, !tbaa !19
%61 = load i32, ptr @RX_FIRST_DESC, align 4, !tbaa !19
%62 = load i32, ptr @RX_LAST_DESC, align 4, !tbaa !19
%63 = or i32 %62, %61
%64 = load i32, ptr @ERROR_SUMMARY, align 4, !tbaa !19
%65 = or i32 %63, %64
%66 = and i32 %65, %26
%67 = icmp eq i32 %66, %63
br i1 %67, label %68, label %96
68: ; preds = %30
%69 = add nsw i32 %56, -6
%70 = tail call i32 @skb_put(ptr noundef %35, i32 noundef %69) #2
%71 = load i32, ptr @LAYER_4_CHECKSUM_OK, align 4, !tbaa !19
%72 = and i32 %71, %26
%73 = icmp eq i32 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %68
%75 = load i64, ptr @CHECKSUM_UNNECESSARY, align 8, !tbaa !32
store i64 %75, ptr %35, align 8, !tbaa !33
br label %76
76: ; preds = %74, %68
%77 = load ptr, ptr %4, align 8, !tbaa !6
%78 = tail call i32 @eth_type_trans(ptr noundef %35, ptr noundef %77) #2
%79 = getelementptr inbounds i8, ptr %35, i64 16
store i32 %78, ptr %79, align 8, !tbaa !35
%80 = getelementptr inbounds i8, ptr %35, i64 8
%81 = load ptr, ptr %80, align 8, !tbaa !36
%82 = load i32, ptr %81, align 4, !tbaa !37
%83 = load i32, ptr @NETIF_F_LRO, align 4, !tbaa !19
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %94, label %86
86: ; preds = %76
%87 = load i64, ptr %35, align 8, !tbaa !33
%88 = load i64, ptr @CHECKSUM_UNNECESSARY, align 8, !tbaa !32
%89 = icmp eq i64 %87, %88
br i1 %89, label %90, label %94
90: ; preds = %86
%91 = zext i32 %26 to i64
%92 = inttoptr i64 %91 to ptr
%93 = tail call i32 @lro_receive_skb(ptr noundef nonnull %16, ptr noundef nonnull %35, ptr noundef %92) #2
br label %117, !llvm.loop !39
94: ; preds = %86, %76
%95 = tail call i32 @netif_receive_skb(ptr noundef nonnull %35) #2
br label %117, !llvm.loop !39
96: ; preds = %30
%97 = load i32, ptr %15, align 4, !tbaa !41
%98 = add nsw i32 %97, 1
store i32 %98, ptr %15, align 4, !tbaa !41
%99 = and i32 %63, %26
%100 = icmp eq i32 %99, %63
br i1 %100, label %108, label %101
101: ; preds = %96
%102 = tail call i64 @net_ratelimit() #2
%103 = icmp eq i64 %102, 0
br i1 %103, label %108, label %104
104: ; preds = %101
%105 = load i32, ptr @KERN_ERR, align 4, !tbaa !19
%106 = load ptr, ptr %4, align 8, !tbaa !6
%107 = tail call i32 @dev_printk(i32 noundef %105, ptr noundef %106, ptr noundef nonnull @.str) #2
br label %108
108: ; preds = %101, %104, %96
%109 = load i32, ptr @ERROR_SUMMARY, align 4, !tbaa !19
%110 = and i32 %109, %26
%111 = icmp eq i32 %110, 0
br i1 %111, label %115, label %112
112: ; preds = %108
%113 = load i32, ptr %6, align 4, !tbaa !42
%114 = add nsw i32 %113, 1
store i32 %114, ptr %6, align 4, !tbaa !42
br label %115
115: ; preds = %112, %108
%116 = tail call i32 @dev_kfree_skb(ptr noundef %35) #2
br label %117
117: ; preds = %90, %94, %115
%118 = phi i32 [ %18, %115 ], [ 1, %90 ], [ %18, %94 ]
%119 = icmp eq i32 %50, %1
br i1 %119, label %120, label %17
120: ; preds = %17, %117, %22
%121 = phi i32 [ %19, %17 ], [ %1, %117 ], [ %19, %22 ]
%122 = phi i32 [ %18, %17 ], [ %118, %117 ], [ %18, %22 ]
%123 = icmp eq i32 %122, 0
br i1 %123, label %126, label %124
124: ; preds = %120
%125 = tail call i32 @lro_flush_all(ptr noundef nonnull %16) #2
br label %126
126: ; preds = %2, %124, %120
%127 = phi i32 [ %121, %124 ], [ %121, %120 ], [ 0, %2 ]
%128 = icmp slt i32 %127, %1
br i1 %128, label %129, label %137
129: ; preds = %126
%130 = getelementptr inbounds i8, ptr %0, i64 16
%131 = load i32, ptr %130, align 8, !tbaa !29
%132 = shl nuw i32 1, %131
%133 = xor i32 %132, -1
%134 = getelementptr inbounds i8, ptr %3, i64 4
%135 = load i32, ptr %134, align 4, !tbaa !43
%136 = and i32 %135, %133
store i32 %136, ptr %134, align 4, !tbaa !43
br label %137
137: ; preds = %129, %126
ret i32 %127
}
declare ptr @rxq_to_mp(ptr noundef) local_unnamed_addr #1
declare i32 @rmb(...) local_unnamed_addr #1
declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @eth_type_trans(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lro_receive_skb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_receive_skb(ptr noundef) local_unnamed_addr #1
declare i64 @net_ratelimit(...) local_unnamed_addr #1
declare i32 @dev_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @lro_flush_all(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 = !{!"mv643xx_eth_private", !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, !14, i64 24}
!13 = !{!"rx_queue", !14, i64 0, !14, i64 8, !8, i64 16, !8, i64 20, !14, i64 24, !11, i64 32, !11, i64 40}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !11, i64 40}
!16 = !{!13, !14, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"rx_desc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!19 = !{!8, !8, i64 0}
!20 = !{!13, !11, i64 32}
!21 = !{!11, !11, i64 0}
!22 = !{!13, !14, i64 8}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_5__", !25, i64 0, !26, i64 4}
!25 = !{!"TYPE_6__", !8, i64 0}
!26 = !{!"net_device_stats", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!27 = !{!18, !8, i64 12}
!28 = !{!18, !8, i64 8}
!29 = !{!13, !8, i64 16}
!30 = !{!7, !8, i64 0}
!31 = !{!18, !8, i64 4}
!32 = !{!14, !14, i64 0}
!33 = !{!34, !14, i64 0}
!34 = !{!"sk_buff", !14, i64 0, !11, i64 8, !8, i64 16}
!35 = !{!34, !8, i64 16}
!36 = !{!34, !11, i64 8}
!37 = !{!38, !8, i64 0}
!38 = !{!"TYPE_4__", !8, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!26, !8, i64 4}
!42 = !{!26, !8, i64 0}
!43 = !{!7, !8, i64 4}
| fastsocket_kernel_drivers_net_extr_mv643xx_eth.c_rxq_process |
; ModuleID = 'AnghaBench/obs-studio/libobs/media-io/extr_..utilutil_uint128.h_util_lshift64_internal_64.c'
source_filename = "AnghaBench/obs-studio/libobs/media-io/extr_..utilutil_uint128.h_util_lshift64_internal_64.c"
target datalayout = "e-m:e-p270:32:32-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 @util_lshift64_internal_64], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal { i32, i64 } @util_lshift64_internal_64(i32 noundef %0) #0 {
%2 = insertvalue { i32, i64 } poison, i32 %0, 0
%3 = insertvalue { i32, i64 } %2, i64 0, 1
ret { i32, i64 } %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/media-io/extr_..utilutil_uint128.h_util_lshift64_internal_64.c'
source_filename = "AnghaBench/obs-studio/libobs/media-io/extr_..utilutil_uint128.h_util_lshift64_internal_64.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 @util_lshift64_internal_64], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal [2 x i64] @util_lshift64_internal_64(i32 noundef %0) #0 {
%2 = zext i32 %0 to i64
%3 = insertvalue [2 x i64] poison, i64 %2, 0
%4 = insertvalue [2 x i64] %3, i64 0, 1
ret [2 x i64] %4
}
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)"}
| obs-studio_libobs_media-io_extr_..utilutil_uint128.h_util_lshift64_internal_64 |
; ModuleID = 'AnghaBench/git/extr_remote.c_get_local_heads.c'
source_filename = "AnghaBench/git/extr_remote.c_get_local_heads.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@one_local_ref = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @get_local_heads() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr %1, ptr %2, align 8, !tbaa !5
%3 = load i32, ptr @one_local_ref, align 4, !tbaa !9
%4 = call i32 @for_each_ref(i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load ptr, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret ptr %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @for_each_ref(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_remote.c_get_local_heads.c'
source_filename = "AnghaBench/git/extr_remote.c_get_local_heads.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@one_local_ref = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @get_local_heads() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr %1, ptr %2, align 8, !tbaa !6
%3 = load i32, ptr @one_local_ref, align 4, !tbaa !10
%4 = call i32 @for_each_ref(i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load ptr, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret ptr %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @for_each_ref(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 = !{!"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}
| git_extr_remote.c_get_local_heads |
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/blkback/extr_blkback.c_xbb_bio_done.c'
source_filename = "AnghaBench/freebsd/sys/dev/xen/blkback/extr_blkback.c_xbb_bio_done.c"
target datalayout = "e-m:e-p270:32:32-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.bio = type { i32, i64, i64, i32, i64, ptr }
%struct.xbb_xen_reqlist = type { i32, i32, i64, i64, i32, ptr }
%struct.xbb_softc = type { i32, i32 }
@.str = private unnamed_addr constant [50 x i8] c"BIO returned error %d for operation on device %s\0A\00", align 1
@BLKIF_RSP_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i64 0, align 8
@XenbusStateConnected = dso_local local_unnamed_addr global i64 0, align 8
@XenbusStateClosing = dso_local local_unnamed_addr global i32 0, align 4
@BIO_READ = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @xbb_bio_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xbb_bio_done(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.xbb_xen_reqlist, ptr %3, i64 0, i32 5
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = ashr i32 %6, 9
%8 = load i32, ptr %3, align 8, !tbaa !15
%9 = add nsw i32 %8, %7
store i32 %9, ptr %3, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = icmp eq i64 %11, 0
br i1 %12, label %31, label %13
13: ; preds = %1
%14 = getelementptr inbounds %struct.xbb_softc, ptr %5, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !17
%16 = tail call i32 @DPRINTF(ptr noundef nonnull @.str, i64 noundef %11, i32 noundef %15) #2
%17 = load i32, ptr @BLKIF_RSP_ERROR, align 4, !tbaa !19
%18 = getelementptr inbounds %struct.xbb_xen_reqlist, ptr %3, i64 0, i32 4
store i32 %17, ptr %18, align 8, !tbaa !20
%19 = load i64, ptr %10, align 8, !tbaa !16
%20 = load i64, ptr @ENXIO, align 8, !tbaa !21
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %13
%23 = load i32, ptr %5, align 4, !tbaa !22
%24 = tail call i64 @xenbus_get_state(i32 noundef %23) #2
%25 = load i64, ptr @XenbusStateConnected, align 8, !tbaa !21
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load i32, ptr %5, align 4, !tbaa !22
%29 = load i32, ptr @XenbusStateClosing, align 4, !tbaa !19
%30 = tail call i32 @xenbus_set_state(i32 noundef %28, i32 noundef %29) #2
br label %31
31: ; preds = %13, %22, %27, %1
%32 = getelementptr inbounds %struct.xbb_xen_reqlist, ptr %3, i64 0, i32 1
%33 = tail call i32 @atomic_fetchadd_int(ptr noundef nonnull %32, i32 noundef -1) #2
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = tail call i32 @xbb_complete_reqlist(ptr noundef %5, ptr noundef nonnull %3) #2
br label %37
37: ; preds = %35, %31
%38 = tail call i32 @g_destroy_bio(ptr noundef nonnull %0) #2
ret void
}
declare i32 @DPRINTF(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @xenbus_get_state(i32 noundef) local_unnamed_addr #1
declare i32 @xenbus_set_state(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_fetchadd_int(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xbb_complete_reqlist(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_destroy_bio(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 40}
!6 = !{!"bio", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 32}
!13 = !{!"xbb_xen_reqlist", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32}
!14 = !{!6, !7, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !7, i64 4}
!18 = !{!"xbb_softc", !7, i64 0, !7, i64 4}
!19 = !{!7, !7, i64 0}
!20 = !{!13, !7, i64 24}
!21 = !{!10, !10, i64 0}
!22 = !{!18, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/blkback/extr_blkback.c_xbb_bio_done.c'
source_filename = "AnghaBench/freebsd/sys/dev/xen/blkback/extr_blkback.c_xbb_bio_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [50 x i8] c"BIO returned error %d for operation on device %s\0A\00", align 1
@BLKIF_RSP_ERROR = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i64 0, align 8
@XenbusStateConnected = common local_unnamed_addr global i64 0, align 8
@XenbusStateClosing = common local_unnamed_addr global i32 0, align 4
@BIO_READ = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @xbb_bio_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xbb_bio_done(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 32
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load i32, ptr %0, align 8, !tbaa !15
%7 = ashr i32 %6, 9
%8 = load i32, ptr %3, align 8, !tbaa !16
%9 = add nsw i32 %8, %7
store i32 %9, ptr %3, align 8, !tbaa !16
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = icmp eq i64 %11, 0
br i1 %12, label %31, label %13
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %5, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !18
%16 = tail call i32 @DPRINTF(ptr noundef nonnull @.str, i64 noundef %11, i32 noundef %15) #2
%17 = load i32, ptr @BLKIF_RSP_ERROR, align 4, !tbaa !20
%18 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %17, ptr %18, align 8, !tbaa !21
%19 = load i64, ptr %10, align 8, !tbaa !17
%20 = load i64, ptr @ENXIO, align 8, !tbaa !22
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %13
%23 = load i32, ptr %5, align 4, !tbaa !23
%24 = tail call i64 @xenbus_get_state(i32 noundef %23) #2
%25 = load i64, ptr @XenbusStateConnected, align 8, !tbaa !22
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load i32, ptr %5, align 4, !tbaa !23
%29 = load i32, ptr @XenbusStateClosing, align 4, !tbaa !20
%30 = tail call i32 @xenbus_set_state(i32 noundef %28, i32 noundef %29) #2
br label %31
31: ; preds = %13, %22, %27, %1
%32 = getelementptr inbounds i8, ptr %3, i64 4
%33 = tail call i32 @atomic_fetchadd_int(ptr noundef nonnull %32, i32 noundef -1) #2
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = tail call i32 @xbb_complete_reqlist(ptr noundef %5, ptr noundef nonnull %3) #2
br label %37
37: ; preds = %35, %31
%38 = tail call i32 @g_destroy_bio(ptr noundef nonnull %0) #2
ret void
}
declare i32 @DPRINTF(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @xenbus_get_state(i32 noundef) local_unnamed_addr #1
declare i32 @xenbus_set_state(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_fetchadd_int(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xbb_complete_reqlist(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_destroy_bio(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 40}
!7 = !{!"bio", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !12, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 32}
!14 = !{!"xbb_xen_reqlist", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !12, i64 32}
!15 = !{!7, !8, i64 0}
!16 = !{!14, !8, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !8, i64 4}
!19 = !{!"xbb_softc", !8, i64 0, !8, i64 4}
!20 = !{!8, !8, i64 0}
!21 = !{!14, !8, i64 24}
!22 = !{!11, !11, i64 0}
!23 = !{!19, !8, i64 0}
| freebsd_sys_dev_xen_blkback_extr_blkback.c_xbb_bio_done |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_ethtool.c_fm10k_get_msglevel.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_ethtool.c_fm10k_get_msglevel.c"
target datalayout = "e-m:e-p270:32:32-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 @fm10k_get_msglevel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fm10k_get_msglevel(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
ret i32 %3
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fm10k_intfc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_ethtool.c_fm10k_get_msglevel.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/fm10k/extr_fm10k_ethtool.c_fm10k_get_msglevel.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 @fm10k_get_msglevel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fm10k_get_msglevel(ptr noundef %0) #0 {
%2 = tail call ptr @netdev_priv(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
ret i32 %3
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fm10k_intfc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_intel_fm10k_extr_fm10k_ethtool.c_fm10k_get_msglevel |
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_target.c_qlt_clear_mode.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_target.c_qlt_clear_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.scsi_qla_host = type { i32, ptr }
@MODE_UNKNOWN = dso_local local_unnamed_addr global ptr null, align 8
@MODE_INITIATOR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @qlt_clear_mode], section "llvm.metadata"
@switch.table.qlt_clear_mode = private unnamed_addr constant [4 x ptr] [ptr @MODE_INITIATOR, ptr @MODE_INITIATOR, ptr @MODE_INITIATOR, ptr @MODE_UNKNOWN], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @qlt_clear_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = add i32 %2, -128
%4 = icmp ult i32 %3, 4
br i1 %4, label %5, label %12
5: ; preds = %1
%6 = zext nneg i32 %3 to i64
%7 = getelementptr inbounds [4 x ptr], ptr @switch.table.qlt_clear_mode, i64 0, i64 %6
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.scsi_qla_host, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !12
store ptr %9, ptr %11, align 8, !tbaa !13
br label %12
12: ; preds = %1, %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, !7, i64 0}
!6 = !{!"scsi_qla_host", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_target.c_qlt_clear_mode.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_target.c_qlt_clear_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MODE_UNKNOWN = common local_unnamed_addr global ptr null, align 8
@MODE_INITIATOR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @qlt_clear_mode], section "llvm.metadata"
@switch.table.qlt_clear_mode = private unnamed_addr constant [4 x ptr] [ptr @MODE_INITIATOR, ptr @MODE_INITIATOR, ptr @MODE_INITIATOR, ptr @MODE_UNKNOWN], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @qlt_clear_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = add i32 %2, -128
%4 = icmp ult i32 %3, 4
br i1 %4, label %5, label %12
5: ; preds = %1
%6 = zext nneg i32 %3 to i64
%7 = getelementptr inbounds [4 x ptr], ptr @switch.table.qlt_clear_mode, i64 0, i64 %6
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !13
store ptr %9, ptr %11, align 8, !tbaa !14
br label %12
12: ; preds = %1, %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, !8, i64 0}
!7 = !{!"scsi_qla_host", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
| linux_drivers_scsi_qla2xxx_extr_qla_target.c_qlt_clear_mode |
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execUtils.c_GetAttributeByNum.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_execUtils.c_GetAttributeByNum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i32, i32, i32 }
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"invalid attribute number %d\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"a NULL isNull pointer was passed\00", align 1
@InvalidOid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @GetAttributeByNum(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
%5 = tail call i32 @AttributeNumberIsValid(i32 noundef %1) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @ERROR, align 4, !tbaa !5
%9 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %1) #3
br label %10
10: ; preds = %7, %3
%11 = icmp eq ptr %2, null
br i1 %11, label %12, label %15
12: ; preds = %10
%13 = load i32, ptr @ERROR, align 4, !tbaa !5
%14 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %13, ptr noundef nonnull @.str.1) #3
br label %15
15: ; preds = %12, %10
%16 = icmp eq ptr %0, null
br i1 %16, label %17, label %18
17: ; preds = %15
store i32 1, ptr %2, align 4, !tbaa !5
br label %30
18: ; preds = %15
%19 = tail call i32 @HeapTupleHeaderGetTypeId(ptr noundef nonnull %0) #3
%20 = tail call i32 @HeapTupleHeaderGetTypMod(ptr noundef nonnull %0) #3
%21 = tail call i32 @lookup_rowtype_tupdesc(i32 noundef %19, i32 noundef %20) #3
%22 = tail call i32 @HeapTupleHeaderGetDatumLength(ptr noundef nonnull %0) #3
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 3
store i32 %22, ptr %23, align 8, !tbaa !9
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 2
%25 = call i32 @ItemPointerSetInvalid(ptr noundef nonnull %24) #3
%26 = load i32, ptr @InvalidOid, align 4, !tbaa !5
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1
store i32 %26, ptr %27, align 8, !tbaa !12
store ptr %0, ptr %4, align 8, !tbaa !13
%28 = call i32 @heap_getattr(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %21, ptr noundef %2) #3
%29 = call i32 @ReleaseTupleDesc(i32 noundef %21) #3
br label %30
30: ; preds = %18, %17
%31 = phi i32 [ 0, %17 ], [ %28, %18 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AttributeNumberIsValid(i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetTypeId(ptr noundef) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetTypMod(ptr noundef) local_unnamed_addr #2
declare i32 @lookup_rowtype_tupdesc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetDatumLength(ptr noundef) local_unnamed_addr #2
declare i32 @ItemPointerSetInvalid(ptr noundef) local_unnamed_addr #2
declare i32 @heap_getattr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ReleaseTupleDesc(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"TYPE_3__", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execUtils.c_GetAttributeByNum.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_execUtils.c_GetAttributeByNum.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { ptr, i32, i32, i32 }
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"invalid attribute number %d\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"a NULL isNull pointer was passed\00", align 1
@InvalidOid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @GetAttributeByNum(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
%5 = tail call i32 @AttributeNumberIsValid(i32 noundef %1) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @ERROR, align 4, !tbaa !6
%9 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %1) #3
br label %10
10: ; preds = %7, %3
%11 = icmp eq ptr %2, null
br i1 %11, label %12, label %15
12: ; preds = %10
%13 = load i32, ptr @ERROR, align 4, !tbaa !6
%14 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %13, ptr noundef nonnull @.str.1) #3
br label %15
15: ; preds = %12, %10
%16 = icmp eq ptr %0, null
br i1 %16, label %17, label %18
17: ; preds = %15
store i32 1, ptr %2, align 4, !tbaa !6
br label %30
18: ; preds = %15
%19 = tail call i32 @HeapTupleHeaderGetTypeId(ptr noundef nonnull %0) #3
%20 = tail call i32 @HeapTupleHeaderGetTypMod(ptr noundef nonnull %0) #3
%21 = tail call i32 @lookup_rowtype_tupdesc(i32 noundef %19, i32 noundef %20) #3
%22 = tail call i32 @HeapTupleHeaderGetDatumLength(ptr noundef nonnull %0) #3
%23 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %22, ptr %23, align 8, !tbaa !10
%24 = getelementptr inbounds i8, ptr %4, i64 12
%25 = call i32 @ItemPointerSetInvalid(ptr noundef nonnull %24) #3
%26 = load i32, ptr @InvalidOid, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %26, ptr %27, align 8, !tbaa !13
store ptr %0, ptr %4, align 8, !tbaa !14
%28 = call i32 @heap_getattr(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %21, ptr noundef %2) #3
%29 = call i32 @ReleaseTupleDesc(i32 noundef %21) #3
br label %30
30: ; preds = %18, %17
%31 = phi i32 [ 0, %17 ], [ %28, %18 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @AttributeNumberIsValid(i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetTypeId(ptr noundef) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetTypMod(ptr noundef) local_unnamed_addr #2
declare i32 @lookup_rowtype_tupdesc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @HeapTupleHeaderGetDatumLength(ptr noundef) local_unnamed_addr #2
declare i32 @ItemPointerSetInvalid(ptr noundef) local_unnamed_addr #2
declare i32 @heap_getattr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ReleaseTupleDesc(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !12, i64 0}
| postgres_src_backend_executor_extr_execUtils.c_GetAttributeByNum |
; ModuleID = 'AnghaBench/exploitdb/exploits/php/webapps/extr_14193.c_usage.c'
source_filename = "AnghaBench/exploitdb/exploits/php/webapps/extr_14193.c_usage.c"
target datalayout = "e-m:e-p270:32:32-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 [385 x i8] c"\0APoC Remote Shell Upload - iScripts SocialWare 2.2.x\0AWritten by Salvatore Fresta\0A\0Ausage: %s [options]\0A\0ARequired options:\0A\0A\09--host : Target hostname\0A\09--port : Remote TCP Port (default 80)\0A\09--path : Webserver path (ex: /path/ or /)\0A\09--username : Registered username\0A\09--password : Password for username\0A\0AExample: %s --host localhost --path /path/ -u mario@mail.net -p rossi\0A\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @usage(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/php/webapps/extr_14193.c_usage.c'
source_filename = "AnghaBench/exploitdb/exploits/php/webapps/extr_14193.c_usage.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 [385 x i8] c"\0APoC Remote Shell Upload - iScripts SocialWare 2.2.x\0AWritten by Salvatore Fresta\0A\0Ausage: %s [options]\0A\0ARequired options:\0A\0A\09--host : Target hostname\0A\09--port : Remote TCP Port (default 80)\0A\09--path : Webserver path (ex: /path/ or /)\0A\09--username : Registered username\0A\09--password : Password for username\0A\0AExample: %s --host localhost --path /path/ -u mario@mail.net -p rossi\0A\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @usage(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| exploitdb_exploits_php_webapps_extr_14193.c_usage |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_qt1010.c_qt1010_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_qt1010.c_qt1010_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_5__ = type { i32, i32, i32, i32, i32, i32 }
%struct.dvb_frontend_parameters = type { i32 }
%struct.dvb_frontend = type { %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { ptr }
%struct.qt1010_priv = type { i64, i64, i64 }
@__const.qt1010_init.i2c_data = private unnamed_addr constant [34 x %struct.TYPE_5__] [%struct.TYPE_5__ { i32 128, i32 1, i32 128, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 13, i32 132, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 14, i32 183, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 42, i32 35, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 44, i32 220, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 37, i32 64, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 129, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 43, i32 112, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 42, i32 35, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 38, i32 8, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 130, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 5, i32 20, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 68, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 7, i32 40, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 8, i32 11, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 17, i32 253, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 34, i32 13, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 208, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 64, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 22, i32 240, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 2, i32 56, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 3, i32 24, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 32, i32 224, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 31, i32 32, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 132, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 129, i32 32, i32 32, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 3, i32 25, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 2, i32 63, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 33, i32 83, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 129, i32 33, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 17, i32 253, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 5, i32 52, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 68, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 8, i32 8, i32 0, i32 0, i32 0 }], align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @qt1010_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qt1010_init(ptr noundef %0) #0 {
%2 = alloca %struct.dvb_frontend_parameters, align 4
%3 = alloca i64, align 8
%4 = alloca [34 x %struct.TYPE_5__], align 16
%5 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 816, ptr nonnull %4) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(816) %4, ptr noundef nonnull align 16 dereferenceable(816) @__const.qt1010_init.i2c_data, i64 816, i1 false)
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 %7(ptr noundef nonnull %0, i32 noundef 1) #4
br label %11
11: ; preds = %9, %1
%12 = call i64 @ARRAY_SIZE(ptr noundef nonnull %4) #4
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = getelementptr inbounds %struct.qt1010_priv, ptr %6, i64 0, i32 2
%16 = getelementptr inbounds %struct.qt1010_priv, ptr %6, i64 0, i32 1
br label %20
17: ; preds = %55, %11
%18 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 49, ptr noundef nonnull %3) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %60, label %86
20: ; preds = %14, %55
%21 = phi i64 [ 0, %14 ], [ %57, %55 ]
%22 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 3
%23 = load i32, ptr %22, align 4, !tbaa !12
switch i32 %23, label %55 [
i32 128, label %24
i32 129, label %30
i32 130, label %38
]
24: ; preds = %20
%25 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 5
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 4
%28 = load i32, ptr %27, align 8, !tbaa !16
%29 = call i32 @qt1010_writereg(ptr noundef %6, i32 noundef %26, i32 noundef %28) #4
br label %51
30: ; preds = %20
%31 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 4
%32 = load i32, ptr %31, align 8, !tbaa !16
%33 = icmp eq i32 %32, 32
%34 = select i1 %33, ptr %6, ptr %3
%35 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 5
%36 = load i32, ptr %35, align 4, !tbaa !15
%37 = call i32 @qt1010_readreg(ptr noundef %6, i32 noundef %36, ptr noundef %34) #4
br label %51
38: ; preds = %20
%39 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 4
%40 = load i32, ptr %39, align 8, !tbaa !16
switch i32 %40, label %43 [
i32 37, label %41
i32 31, label %42
]
41: ; preds = %38
br label %43
42: ; preds = %38
br label %43
43: ; preds = %38, %42, %41
%44 = phi ptr [ %16, %41 ], [ %15, %42 ], [ %3, %38 ]
%45 = add nuw i64 %21, 1
%46 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %45, i32 5
%47 = load i32, ptr %46, align 4, !tbaa !15
%48 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21, i32 5
%49 = load i32, ptr %48, align 4, !tbaa !15
%50 = call i32 @qt1010_init_meas1(ptr noundef %6, i32 noundef %47, i32 noundef %49, i32 noundef %40, ptr noundef nonnull %44) #4
br label %51
51: ; preds = %43, %30, %24
%52 = phi i32 [ %50, %43 ], [ %37, %30 ], [ %29, %24 ]
%53 = phi i64 [ %45, %43 ], [ %21, %30 ], [ %21, %24 ]
%54 = icmp eq i32 %52, 0
br i1 %54, label %55, label %86
55: ; preds = %20, %51
%56 = phi i64 [ %53, %51 ], [ %21, %20 ]
%57 = add i64 %56, 1
%58 = call i64 @ARRAY_SIZE(ptr noundef nonnull %4) #4
%59 = icmp ult i64 %57, %58
br i1 %59, label %20, label %17, !llvm.loop !17
60: ; preds = %17
%61 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 50, ptr noundef nonnull %3) #4
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %86
63: ; preds = %60
%64 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 51, ptr noundef nonnull %3) #4
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %86
66: ; preds = %63
%67 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 52, ptr noundef nonnull %3) #4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %86
69: ; preds = %66
%70 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 53, ptr noundef nonnull %3) #4
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %86
72: ; preds = %69
%73 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 54, ptr noundef nonnull %3) #4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %86
75: ; preds = %72
%76 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 55, ptr noundef nonnull %3) #4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %86
78: ; preds = %75
%79 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 56, ptr noundef nonnull %3) #4
%80 = icmp eq i32 %79, 0
br i1 %80, label %81, label %86
81: ; preds = %78
%82 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 57, ptr noundef nonnull %3) #4
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %81
store i32 545000000, ptr %2, align 4, !tbaa !19
%85 = call i32 @qt1010_set_params(ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %86
86: ; preds = %51, %17, %60, %63, %66, %69, %72, %75, %78, %81, %84
%87 = phi i32 [ %85, %84 ], [ %18, %17 ], [ %61, %60 ], [ %64, %63 ], [ %67, %66 ], [ %70, %69 ], [ %73, %72 ], [ %76, %75 ], [ %79, %78 ], [ %82, %81 ], [ %52, %51 ]
call void @llvm.lifetime.end.p0(i64 816, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %87
}
; 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 i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_writereg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @qt1010_readreg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_init_meas1(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_init_meas2(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_set_params(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 8}
!6 = !{!"dvb_frontend", !7, i64 0, !8, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 0}
!12 = !{!13, !14, i64 12}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !14, i64 20}
!16 = !{!13, !14, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !14, i64 0}
!20 = !{!"dvb_frontend_parameters", !14, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_qt1010.c_qt1010_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_qt1010.c_qt1010_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32 }
%struct.dvb_frontend_parameters = type { i32 }
@__const.qt1010_init.i2c_data = private unnamed_addr constant [34 x %struct.TYPE_5__] [%struct.TYPE_5__ { i32 128, i32 1, i32 128, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 13, i32 132, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 14, i32 183, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 42, i32 35, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 44, i32 220, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 37, i32 64, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 129, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 43, i32 112, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 42, i32 35, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 38, i32 8, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 130, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 5, i32 20, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 68, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 7, i32 40, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 8, i32 11, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 17, i32 253, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 34, i32 13, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 208, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 64, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 22, i32 240, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 2, i32 56, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 3, i32 24, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 32, i32 224, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 31, i32 32, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 130, i32 132, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 129, i32 32, i32 32, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 3, i32 25, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 2, i32 63, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 33, i32 83, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 129, i32 33, i32 255, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 17, i32 253, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 5, i32 52, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 6, i32 68, i32 0, i32 0, i32 0 }, %struct.TYPE_5__ { i32 128, i32 8, i32 8, i32 0, i32 0, i32 0 }], align 4
@llvm.used = appending global [1 x ptr] [ptr @qt1010_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qt1010_init(ptr noundef %0) #0 {
%2 = alloca %struct.dvb_frontend_parameters, align 4
%3 = alloca i64, align 8
%4 = alloca [34 x %struct.TYPE_5__], align 4
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 816, ptr nonnull %4) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(816) %4, ptr noundef nonnull align 4 dereferenceable(816) @__const.qt1010_init.i2c_data, i64 816, i1 false)
%7 = load ptr, ptr %0, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 %7(ptr noundef nonnull %0, i32 noundef 1) #4
br label %11
11: ; preds = %9, %1
%12 = call i64 @ARRAY_SIZE(ptr noundef nonnull %4) #4
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = getelementptr inbounds i8, ptr %6, i64 16
%16 = getelementptr inbounds i8, ptr %6, i64 8
br label %20
17: ; preds = %56, %11
%18 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 49, ptr noundef nonnull %3) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %61, label %87
20: ; preds = %14, %56
%21 = phi i64 [ 0, %14 ], [ %58, %56 ]
%22 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %21
%23 = getelementptr inbounds i8, ptr %22, i64 12
%24 = load i32, ptr %23, align 4, !tbaa !13
switch i32 %24, label %56 [
i32 128, label %25
i32 129, label %31
i32 130, label %39
]
25: ; preds = %20
%26 = getelementptr inbounds i8, ptr %22, i64 20
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = getelementptr inbounds i8, ptr %22, i64 16
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = call i32 @qt1010_writereg(ptr noundef %6, i32 noundef %27, i32 noundef %29) #4
br label %52
31: ; preds = %20
%32 = getelementptr inbounds i8, ptr %22, i64 16
%33 = load i32, ptr %32, align 4, !tbaa !17
%34 = icmp eq i32 %33, 32
%35 = select i1 %34, ptr %6, ptr %3
%36 = getelementptr inbounds i8, ptr %22, i64 20
%37 = load i32, ptr %36, align 4, !tbaa !16
%38 = call i32 @qt1010_readreg(ptr noundef %6, i32 noundef %37, ptr noundef %35) #4
br label %52
39: ; preds = %20
%40 = getelementptr inbounds i8, ptr %22, i64 16
%41 = load i32, ptr %40, align 4, !tbaa !17
switch i32 %41, label %44 [
i32 37, label %42
i32 31, label %43
]
42: ; preds = %39
br label %44
43: ; preds = %39
br label %44
44: ; preds = %39, %43, %42
%45 = phi ptr [ %16, %42 ], [ %15, %43 ], [ %3, %39 ]
%46 = add nuw i64 %21, 1
%47 = getelementptr inbounds [34 x %struct.TYPE_5__], ptr %4, i64 0, i64 %46, i32 5
%48 = load i32, ptr %47, align 4, !tbaa !16
%49 = getelementptr inbounds i8, ptr %22, i64 20
%50 = load i32, ptr %49, align 4, !tbaa !16
%51 = call i32 @qt1010_init_meas1(ptr noundef %6, i32 noundef %48, i32 noundef %50, i32 noundef %41, ptr noundef nonnull %45) #4
br label %52
52: ; preds = %44, %31, %25
%53 = phi i32 [ %51, %44 ], [ %38, %31 ], [ %30, %25 ]
%54 = phi i64 [ %46, %44 ], [ %21, %31 ], [ %21, %25 ]
%55 = icmp eq i32 %53, 0
br i1 %55, label %56, label %87
56: ; preds = %20, %52
%57 = phi i64 [ %54, %52 ], [ %21, %20 ]
%58 = add i64 %57, 1
%59 = call i64 @ARRAY_SIZE(ptr noundef nonnull %4) #4
%60 = icmp ult i64 %58, %59
br i1 %60, label %20, label %17, !llvm.loop !18
61: ; preds = %17
%62 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 50, ptr noundef nonnull %3) #4
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %87
64: ; preds = %61
%65 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 51, ptr noundef nonnull %3) #4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %87
67: ; preds = %64
%68 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 52, ptr noundef nonnull %3) #4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %87
70: ; preds = %67
%71 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 53, ptr noundef nonnull %3) #4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %87
73: ; preds = %70
%74 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 54, ptr noundef nonnull %3) #4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %87
76: ; preds = %73
%77 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 55, ptr noundef nonnull %3) #4
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %87
79: ; preds = %76
%80 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 56, ptr noundef nonnull %3) #4
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %79
%83 = call i32 @qt1010_init_meas2(ptr noundef %6, i64 noundef 57, ptr noundef nonnull %3) #4
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %87
85: ; preds = %82
store i32 545000000, ptr %2, align 4, !tbaa !20
%86 = call i32 @qt1010_set_params(ptr noundef nonnull %0, ptr noundef nonnull %2) #4
br label %87
87: ; preds = %52, %17, %61, %64, %67, %70, %73, %76, %79, %82, %85
%88 = phi i32 [ %86, %85 ], [ %18, %17 ], [ %62, %61 ], [ %65, %64 ], [ %68, %67 ], [ %71, %70 ], [ %74, %73 ], [ %77, %76 ], [ %80, %79 ], [ %83, %82 ], [ %53, %52 ]
call void @llvm.lifetime.end.p0(i64 816, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %88
}
; 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 i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_writereg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @qt1010_readreg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_init_meas1(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_init_meas2(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @qt1010_set_params(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 8}
!7 = !{!"dvb_frontend", !8, i64 0, !9, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 0}
!13 = !{!14, !15, i64 12}
!14 = !{!"TYPE_5__", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20}
!15 = !{!"int", !10, i64 0}
!16 = !{!14, !15, i64 20}
!17 = !{!14, !15, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !15, i64 0}
!21 = !{!"dvb_frontend_parameters", !15, i64 0}
| fastsocket_kernel_drivers_media_common_tuners_extr_qt1010.c_qt1010_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.h_xfs_dir2_da_to_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.h_xfs_dir2_da_to_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 @xfs_dir2_da_to_byte], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @xfs_dir2_da_to_byte(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @xfs_dir2_da_to_db(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @xfs_dir2_db_off_to_byte(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2
ret i32 %4
}
declare i32 @xfs_dir2_db_off_to_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_dir2_da_to_db(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.h_xfs_dir2_da_to_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.h_xfs_dir2_da_to_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 @xfs_dir2_da_to_byte], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @xfs_dir2_da_to_byte(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @xfs_dir2_da_to_db(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @xfs_dir2_db_off_to_byte(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2
ret i32 %4
}
declare i32 @xfs_dir2_db_off_to_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_dir2_da_to_db(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_fs_xfs_extr_xfs_dir2_leaf.h_xfs_dir2_da_to_byte |
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_bmp280-core.c_bmp280_show_temp_oversampling_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_bmp280-core.c_bmp280_show_temp_oversampling_avail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bmp280_show_temp_oversampling_avail], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bmp280_show_temp_oversampling_avail(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @dev_to_iio_dev(ptr noundef %0) #2
%5 = tail call ptr @iio_priv(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = load i32, ptr %6, align 4, !tbaa !13
%10 = tail call i32 @bmp280_show_avail(ptr noundef %2, i32 noundef %8, i32 noundef %9) #2
ret i32 %10
}
declare ptr @iio_priv(i32 noundef) local_unnamed_addr #1
declare i32 @dev_to_iio_dev(ptr noundef) local_unnamed_addr #1
declare i32 @bmp280_show_avail(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bmp280_data", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_bmp280-core.c_bmp280_show_temp_oversampling_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_bmp280-core.c_bmp280_show_temp_oversampling_avail.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 @bmp280_show_temp_oversampling_avail], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bmp280_show_temp_oversampling_avail(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @dev_to_iio_dev(ptr noundef %0) #2
%5 = tail call ptr @iio_priv(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr %6, align 4, !tbaa !14
%10 = tail call i32 @bmp280_show_avail(ptr noundef %2, i32 noundef %8, i32 noundef %9) #2
ret i32 %10
}
declare ptr @iio_priv(i32 noundef) local_unnamed_addr #1
declare i32 @dev_to_iio_dev(ptr noundef) local_unnamed_addr #1
declare i32 @bmp280_show_avail(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bmp280_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 0}
| linux_drivers_iio_pressure_extr_bmp280-core.c_bmp280_show_temp_oversampling_avail |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_export.c_window_handler.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_export.c_window_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.handler_baton = type { i32, i32, i32, ptr }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @window_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @window_handler(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.handler_baton, ptr %1, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.handler_baton, ptr %1, i64 0, i32 2
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = tail call ptr %4(ptr noundef %0, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.handler_baton, ptr %1, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load i32, ptr @TRUE, align 4, !tbaa !13
%13 = load i32, ptr %1, align 8, !tbaa !14
%14 = tail call i32 @svn_io_remove_file2(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = tail call ptr @svn_error_compose_create(ptr noundef nonnull %7, i32 noundef %14) #2
br label %16
16: ; preds = %9, %2
%17 = phi ptr [ %15, %9 ], [ null, %2 ]
%18 = tail call ptr @svn_error_trace(ptr noundef %17) #2
ret ptr %18
}
declare ptr @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_io_remove_file2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_trace(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 = !{!"handler_baton", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_export.c_window_handler.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_export.c_window_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @window_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @window_handler(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call ptr %4(ptr noundef %0, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load i32, ptr @TRUE, align 4, !tbaa !14
%13 = load i32, ptr %1, align 8, !tbaa !15
%14 = tail call i32 @svn_io_remove_file2(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = tail call ptr @svn_error_compose_create(ptr noundef nonnull %7, i32 noundef %14) #2
br label %16
16: ; preds = %9, %2
%17 = phi ptr [ %15, %9 ], [ null, %2 ]
%18 = tail call ptr @svn_error_trace(ptr noundef %17) #2
ret ptr %18
}
declare ptr @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_io_remove_file2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_trace(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 = !{!"handler_baton", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_client_extr_export.c_window_handler |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_link_down.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_link_down.c"
target datalayout = "e-m:e-p270:32:32-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.brcmf_cfg80211_vif = type { %struct.TYPE_6__, i32, i32, %struct.TYPE_5__ }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i64, i32, i32 }
%struct.brcmf_cfg80211_info = type { i32, ptr }
@BRCMF_BUS_UP = dso_local local_unnamed_addr global i64 0, align 8
@TRACE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1
@BRCMF_VIF_STATUS_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4
@INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Call WLC_DISASSOC to stop excess roaming\0A\00", align 1
@BRCMF_C_DISASSOC = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"WLC_DISASSOC failed (%d)\0A\00", align 1
@NL80211_IFTYPE_STATION = dso_local local_unnamed_addr global i64 0, align 8
@NL80211_IFTYPE_P2P_CLIENT = dso_local local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_VIF_STATUS_CONNECTING = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_SCAN_STATUS_SUPPRESS = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_BTCOEX_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_PROFILE_FWSUP_NONE = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [6 x i8] c"Exit\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_link_down], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @brcmf_link_down(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 3
%4 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 3, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @wiphy_to_cfg(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.brcmf_cfg80211_info, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %8, align 8, !tbaa !16
%10 = load i64, ptr %9, align 8, !tbaa !18
%11 = load i64, ptr @BRCMF_BUS_UP, align 8, !tbaa !20
%12 = icmp eq i64 %10, %11
%13 = load i32, ptr @TRACE, align 4, !tbaa !21
%14 = tail call i32 @brcmf_dbg(i32 noundef %13, ptr noundef nonnull @.str) #2
%15 = load i32, ptr @BRCMF_VIF_STATUS_CONNECTED, align 4, !tbaa !21
%16 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 2
%17 = tail call i64 @test_and_clear_bit(i32 noundef %15, ptr noundef nonnull %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %42, label %19
19: ; preds = %2
br i1 %12, label %20, label %30
20: ; preds = %19
%21 = load i32, ptr @INFO, align 4, !tbaa !21
%22 = tail call i32 @brcmf_dbg(i32 noundef %21, ptr noundef nonnull @.str.1) #2
%23 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !22
%25 = load i32, ptr @BRCMF_C_DISASSOC, align 4, !tbaa !21
%26 = tail call i64 @brcmf_fil_cmd_data_set(i32 noundef %24, i32 noundef %25, ptr noundef null, i32 noundef 0) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %20
%29 = tail call i32 @bphy_err(ptr noundef nonnull %8, ptr noundef nonnull @.str.2, i64 noundef %26) #2
br label %30
30: ; preds = %20, %28, %19
%31 = load i64, ptr %3, align 8, !tbaa !23
%32 = load i64, ptr @NL80211_IFTYPE_STATION, align 8, !tbaa !20
%33 = icmp eq i64 %31, %32
%34 = load i64, ptr @NL80211_IFTYPE_P2P_CLIENT, align 8
%35 = icmp eq i64 %31, %34
%36 = select i1 %33, i1 true, i1 %35
br i1 %36, label %37, label %42
37: ; preds = %30
%38 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 3, i32 1
%39 = load i32, ptr %38, align 8, !tbaa !24
%40 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !21
%41 = tail call i32 @cfg80211_disconnected(i32 noundef %39, i32 noundef %1, ptr noundef null, i32 noundef 0, i32 noundef 1, i32 noundef %40) #2
br label %42
42: ; preds = %30, %37, %2
%43 = load i32, ptr @BRCMF_VIF_STATUS_CONNECTING, align 4, !tbaa !21
%44 = tail call i32 @clear_bit(i32 noundef %43, ptr noundef nonnull %16) #2
%45 = load i32, ptr @BRCMF_SCAN_STATUS_SUPPRESS, align 4, !tbaa !21
%46 = tail call i32 @clear_bit(i32 noundef %45, ptr noundef nonnull %6) #2
%47 = load i32, ptr @BRCMF_BTCOEX_ENABLED, align 4, !tbaa !21
%48 = tail call i32 @brcmf_btcoex_set_mode(ptr noundef nonnull %0, i32 noundef %47, i32 noundef 0) #2
%49 = load i64, ptr %0, align 8, !tbaa !25
%50 = load i64, ptr @BRCMF_PROFILE_FWSUP_NONE, align 8, !tbaa !20
%51 = icmp eq i64 %49, %50
br i1 %51, label %60, label %52
52: ; preds = %42
br i1 %12, label %53, label %58
53: ; preds = %52
%54 = getelementptr inbounds %struct.brcmf_cfg80211_vif, ptr %0, i64 0, i32 1
%55 = load i32, ptr %54, align 8, !tbaa !22
%56 = tail call i32 @brcmf_set_pmk(i32 noundef %55, ptr noundef null, i32 noundef 0) #2
%57 = load i64, ptr @BRCMF_PROFILE_FWSUP_NONE, align 8, !tbaa !20
br label %58
58: ; preds = %53, %52
%59 = phi i64 [ %57, %53 ], [ %50, %52 ]
store i64 %59, ptr %0, align 8, !tbaa !25
br label %60
60: ; preds = %58, %42
%61 = load i32, ptr @TRACE, align 4, !tbaa !21
%62 = tail call i32 @brcmf_dbg(i32 noundef %61, ptr noundef nonnull @.str.3) #2
ret void
}
declare ptr @wiphy_to_cfg(i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @brcmf_fil_cmd_data_set(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bphy_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @cfg80211_disconnected(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @brcmf_btcoex_set_mode(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_set_pmk(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, !11, i64 28}
!6 = !{!"brcmf_cfg80211_vif", !7, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12}
!13 = !{!14, !15, i64 8}
!14 = !{!"brcmf_cfg80211_info", !11, i64 0, !15, i64 8}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"brcmf_pub", !15, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_4__", !8, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!6, !11, i64 8}
!23 = !{!6, !8, i64 16}
!24 = !{!6, !11, i64 24}
!25 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_link_down.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_link_down.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRCMF_BUS_UP = common local_unnamed_addr global i64 0, align 8
@TRACE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1
@BRCMF_VIF_STATUS_CONNECTED = common local_unnamed_addr global i32 0, align 4
@INFO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Call WLC_DISASSOC to stop excess roaming\0A\00", align 1
@BRCMF_C_DISASSOC = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"WLC_DISASSOC failed (%d)\0A\00", align 1
@NL80211_IFTYPE_STATION = common local_unnamed_addr global i64 0, align 8
@NL80211_IFTYPE_P2P_CLIENT = common local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@BRCMF_VIF_STATUS_CONNECTING = common local_unnamed_addr global i32 0, align 4
@BRCMF_SCAN_STATUS_SUPPRESS = common local_unnamed_addr global i32 0, align 4
@BRCMF_BTCOEX_ENABLED = common local_unnamed_addr global i32 0, align 4
@BRCMF_PROFILE_FWSUP_NONE = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [6 x i8] c"Exit\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @brcmf_link_down], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @brcmf_link_down(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = getelementptr inbounds i8, ptr %0, i64 28
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @wiphy_to_cfg(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load ptr, ptr %8, align 8, !tbaa !17
%10 = load i64, ptr %9, align 8, !tbaa !19
%11 = load i64, ptr @BRCMF_BUS_UP, align 8, !tbaa !21
%12 = icmp eq i64 %10, %11
%13 = load i32, ptr @TRACE, align 4, !tbaa !22
%14 = tail call i32 @brcmf_dbg(i32 noundef %13, ptr noundef nonnull @.str) #2
%15 = load i32, ptr @BRCMF_VIF_STATUS_CONNECTED, align 4, !tbaa !22
%16 = getelementptr inbounds i8, ptr %0, i64 12
%17 = tail call i64 @test_and_clear_bit(i32 noundef %15, ptr noundef nonnull %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %42, label %19
19: ; preds = %2
br i1 %12, label %20, label %30
20: ; preds = %19
%21 = load i32, ptr @INFO, align 4, !tbaa !22
%22 = tail call i32 @brcmf_dbg(i32 noundef %21, ptr noundef nonnull @.str.1) #2
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !23
%25 = load i32, ptr @BRCMF_C_DISASSOC, align 4, !tbaa !22
%26 = tail call i64 @brcmf_fil_cmd_data_set(i32 noundef %24, i32 noundef %25, ptr noundef null, i32 noundef 0) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %20
%29 = tail call i32 @bphy_err(ptr noundef nonnull %8, ptr noundef nonnull @.str.2, i64 noundef %26) #2
br label %30
30: ; preds = %20, %28, %19
%31 = load i64, ptr %3, align 8, !tbaa !24
%32 = load i64, ptr @NL80211_IFTYPE_STATION, align 8, !tbaa !21
%33 = icmp eq i64 %31, %32
%34 = load i64, ptr @NL80211_IFTYPE_P2P_CLIENT, align 8
%35 = icmp eq i64 %31, %34
%36 = select i1 %33, i1 true, i1 %35
br i1 %36, label %37, label %42
37: ; preds = %30
%38 = getelementptr inbounds i8, ptr %0, i64 24
%39 = load i32, ptr %38, align 8, !tbaa !25
%40 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !22
%41 = tail call i32 @cfg80211_disconnected(i32 noundef %39, i32 noundef %1, ptr noundef null, i32 noundef 0, i32 noundef 1, i32 noundef %40) #2
br label %42
42: ; preds = %30, %37, %2
%43 = load i32, ptr @BRCMF_VIF_STATUS_CONNECTING, align 4, !tbaa !22
%44 = tail call i32 @clear_bit(i32 noundef %43, ptr noundef nonnull %16) #2
%45 = load i32, ptr @BRCMF_SCAN_STATUS_SUPPRESS, align 4, !tbaa !22
%46 = tail call i32 @clear_bit(i32 noundef %45, ptr noundef nonnull %6) #2
%47 = load i32, ptr @BRCMF_BTCOEX_ENABLED, align 4, !tbaa !22
%48 = tail call i32 @brcmf_btcoex_set_mode(ptr noundef nonnull %0, i32 noundef %47, i32 noundef 0) #2
%49 = load i64, ptr %0, align 8, !tbaa !26
%50 = load i64, ptr @BRCMF_PROFILE_FWSUP_NONE, align 8, !tbaa !21
%51 = icmp eq i64 %49, %50
br i1 %51, label %60, label %52
52: ; preds = %42
br i1 %12, label %53, label %58
53: ; preds = %52
%54 = getelementptr inbounds i8, ptr %0, i64 8
%55 = load i32, ptr %54, align 8, !tbaa !23
%56 = tail call i32 @brcmf_set_pmk(i32 noundef %55, ptr noundef null, i32 noundef 0) #2
%57 = load i64, ptr @BRCMF_PROFILE_FWSUP_NONE, align 8, !tbaa !21
br label %58
58: ; preds = %53, %52
%59 = phi i64 [ %57, %53 ], [ %50, %52 ]
store i64 %59, ptr %0, align 8, !tbaa !26
br label %60
60: ; preds = %58, %42
%61 = load i32, ptr @TRACE, align 4, !tbaa !22
%62 = tail call i32 @brcmf_dbg(i32 noundef %61, ptr noundef nonnull @.str.3) #2
ret void
}
declare ptr @wiphy_to_cfg(i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @brcmf_fil_cmd_data_set(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bphy_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @cfg80211_disconnected(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @brcmf_btcoex_set_mode(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_set_pmk(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, !12, i64 28}
!7 = !{!"brcmf_cfg80211_vif", !8, i64 0, !12, i64 8, !12, i64 12, !13, i64 16}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"TYPE_5__", !9, i64 0, !12, i64 8, !12, i64 12}
!14 = !{!15, !16, i64 8}
!15 = !{!"brcmf_cfg80211_info", !12, i64 0, !16, i64 8}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"brcmf_pub", !16, i64 0}
!19 = !{!20, !9, i64 0}
!20 = !{!"TYPE_4__", !9, i64 0}
!21 = !{!9, !9, i64 0}
!22 = !{!12, !12, i64 0}
!23 = !{!7, !12, i64 8}
!24 = !{!7, !9, i64 16}
!25 = !{!7, !12, i64 24}
!26 = !{!7, !9, i64 0}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_cfg80211.c_brcmf_link_down |
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-pic32-evic.c_irqd_to_priv.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-pic32-evic.c_irqd_to_priv.c"
target datalayout = "e-m:e-p270:32:32-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 @irqd_to_priv], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @irqd_to_priv(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"irq_data", !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 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-pic32-evic.c_irqd_to_priv.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-pic32-evic.c_irqd_to_priv.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 @irqd_to_priv], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @irqd_to_priv(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !11
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"irq_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| linux_drivers_irqchip_extr_irq-pic32-evic.c_irqd_to_priv |
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_show_os_ratio_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_show_os_ratio_avail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mma8452_os_ratio = dso_local local_unnamed_addr global ptr null, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mma8452_show_os_ratio_avail], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @mma8452_show_os_ratio_avail(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #2
%5 = tail call ptr @iio_priv(ptr noundef %4) #2
%6 = tail call i32 @mma8452_get_odr_index(ptr noundef %5) #2
%7 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !5
%8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %37
10: ; preds = %3
%11 = sext i32 %6 to i64
br label %12
12: ; preds = %10, %29
%13 = phi i64 [ 0, %10 ], [ %33, %29 ]
%14 = phi i64 [ 0, %10 ], [ %32, %29 ]
%15 = phi i64 [ 0, %10 ], [ %31, %29 ]
%16 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !5
%17 = getelementptr inbounds ptr, ptr %16, i64 %13
%18 = load ptr, ptr %17, align 8, !tbaa !5
%19 = getelementptr inbounds i64, ptr %18, i64 %11
%20 = load i64, ptr %19, align 8, !tbaa !9
%21 = icmp eq i64 %15, %20
br i1 %21, label %29, label %22
22: ; preds = %12
%23 = getelementptr inbounds i8, ptr %2, i64 %14
%24 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !9
%25 = sub i64 %24, %14
%26 = tail call i64 @scnprintf(ptr noundef %23, i64 noundef %25, ptr noundef nonnull @.str, i64 noundef %20) #2
%27 = add i64 %26, %14
%28 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !5
br label %29
29: ; preds = %12, %22
%30 = phi ptr [ %16, %12 ], [ %28, %22 ]
%31 = phi i64 [ %15, %12 ], [ %20, %22 ]
%32 = phi i64 [ %14, %12 ], [ %27, %22 ]
%33 = add nuw nsw i64 %13, 1
%34 = tail call i32 @ARRAY_SIZE(ptr noundef %30) #2
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %33, %35
br i1 %36, label %12, label %37, !llvm.loop !11
37: ; preds = %29, %3
%38 = phi i64 [ 0, %3 ], [ %32, %29 ]
%39 = getelementptr i8, ptr %2, i64 %38
%40 = getelementptr i8, ptr %39, i64 -1
store i8 10, ptr %40, align 1, !tbaa !13
ret i64 %38
}
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mma8452_get_odr_index(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @scnprintf(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, !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_show_os_ratio_avail.c'
source_filename = "AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_show_os_ratio_avail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mma8452_os_ratio = common local_unnamed_addr global ptr null, align 8
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mma8452_show_os_ratio_avail], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @mma8452_show_os_ratio_avail(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_to_iio_dev(ptr noundef %0) #2
%5 = tail call ptr @iio_priv(ptr noundef %4) #2
%6 = tail call i32 @mma8452_get_odr_index(ptr noundef %5) #2
%7 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !6
%8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %37
10: ; preds = %3
%11 = sext i32 %6 to i64
br label %12
12: ; preds = %10, %29
%13 = phi i64 [ 0, %10 ], [ %33, %29 ]
%14 = phi i64 [ 0, %10 ], [ %32, %29 ]
%15 = phi i64 [ 0, %10 ], [ %31, %29 ]
%16 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !6
%17 = getelementptr inbounds ptr, ptr %16, i64 %13
%18 = load ptr, ptr %17, align 8, !tbaa !6
%19 = getelementptr inbounds i64, ptr %18, i64 %11
%20 = load i64, ptr %19, align 8, !tbaa !10
%21 = icmp eq i64 %15, %20
br i1 %21, label %29, label %22
22: ; preds = %12
%23 = getelementptr inbounds i8, ptr %2, i64 %14
%24 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10
%25 = sub i64 %24, %14
%26 = tail call i64 @scnprintf(ptr noundef %23, i64 noundef %25, ptr noundef nonnull @.str, i64 noundef %20) #2
%27 = add i64 %26, %14
%28 = load ptr, ptr @mma8452_os_ratio, align 8, !tbaa !6
br label %29
29: ; preds = %12, %22
%30 = phi ptr [ %16, %12 ], [ %28, %22 ]
%31 = phi i64 [ %15, %12 ], [ %20, %22 ]
%32 = phi i64 [ %14, %12 ], [ %27, %22 ]
%33 = add nuw nsw i64 %13, 1
%34 = tail call i32 @ARRAY_SIZE(ptr noundef %30) #2
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %33, %35
br i1 %36, label %12, label %37, !llvm.loop !12
37: ; preds = %29, %3
%38 = phi i64 [ 0, %3 ], [ %32, %29 ]
%39 = getelementptr i8, ptr %2, i64 %38
%40 = getelementptr i8, ptr %39, i64 -1
store i8 10, ptr %40, align 1, !tbaa !14
ret i64 %38
}
declare ptr @dev_to_iio_dev(ptr noundef) local_unnamed_addr #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @mma8452_get_odr_index(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @scnprintf(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, !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!8, !8, i64 0}
| linux_drivers_iio_accel_extr_mma8452.c_mma8452_show_os_ratio_avail |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/extr_sii9234.c_sii9234_tmds_control.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/extr_sii9234.c_sii9234_tmds_control.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MHL_TX_TMDS_CCTRL = dso_local local_unnamed_addr global i32 0, align 4
@BIT_TMDS_CCTRL_TMDS_OE = dso_local local_unnamed_addr global i32 0, align 4
@MHL_TX_INT_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4
@MHL_HPD_OUT_OVR_EN = dso_local local_unnamed_addr global i32 0, align 4
@MHL_HPD_OUT_OVR_VAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sii9234_tmds_control], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sii9234_tmds_control(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MHL_TX_TMDS_CCTRL, align 4, !tbaa !5
%4 = icmp ne i32 %1, 0
%5 = sext i1 %4 to i32
%6 = load i32, ptr @BIT_TMDS_CCTRL_TMDS_OE, align 4, !tbaa !5
%7 = tail call i32 @mhl_tx_writebm(ptr noundef %0, i32 noundef %3, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @MHL_TX_INT_CTRL_REG, align 4, !tbaa !5
%9 = load i32, ptr @MHL_HPD_OUT_OVR_EN, align 4, !tbaa !5
%10 = load i32, ptr @MHL_HPD_OUT_OVR_VAL, align 4, !tbaa !5
%11 = or i32 %10, %9
%12 = tail call i32 @mhl_tx_writebm(ptr noundef %0, i32 noundef %8, i32 noundef %5, i32 noundef %11) #2
%13 = tail call i32 @sii9234_clear_error(ptr noundef %0) #2
ret i32 %13
}
declare i32 @mhl_tx_writebm(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sii9234_clear_error(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/extr_sii9234.c_sii9234_tmds_control.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/extr_sii9234.c_sii9234_tmds_control.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MHL_TX_TMDS_CCTRL = common local_unnamed_addr global i32 0, align 4
@BIT_TMDS_CCTRL_TMDS_OE = common local_unnamed_addr global i32 0, align 4
@MHL_TX_INT_CTRL_REG = common local_unnamed_addr global i32 0, align 4
@MHL_HPD_OUT_OVR_EN = common local_unnamed_addr global i32 0, align 4
@MHL_HPD_OUT_OVR_VAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sii9234_tmds_control], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sii9234_tmds_control(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MHL_TX_TMDS_CCTRL, align 4, !tbaa !6
%4 = icmp ne i32 %1, 0
%5 = sext i1 %4 to i32
%6 = load i32, ptr @BIT_TMDS_CCTRL_TMDS_OE, align 4, !tbaa !6
%7 = tail call i32 @mhl_tx_writebm(ptr noundef %0, i32 noundef %3, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @MHL_TX_INT_CTRL_REG, align 4, !tbaa !6
%9 = load i32, ptr @MHL_HPD_OUT_OVR_EN, align 4, !tbaa !6
%10 = load i32, ptr @MHL_HPD_OUT_OVR_VAL, align 4, !tbaa !6
%11 = or i32 %10, %9
%12 = tail call i32 @mhl_tx_writebm(ptr noundef %0, i32 noundef %8, i32 noundef %5, i32 noundef %11) #2
%13 = tail call i32 @sii9234_clear_error(ptr noundef %0) #2
ret i32 %13
}
declare i32 @mhl_tx_writebm(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sii9234_clear_error(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"}
| linux_drivers_gpu_drm_bridge_extr_sii9234.c_sii9234_tmds_control |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_imm.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_imm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bpf_insn = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ashr_imm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ashr_imm(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = shl nsw i32 %3, 1
%5 = getelementptr inbounds %struct.bpf_insn, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @__ashr_imm(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @__ashr_imm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bpf_insn", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_imm.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_imm.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 @ashr_imm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ashr_imm(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = shl nsw i32 %3, 1
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @__ashr_imm(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @__ashr_imm(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bpf_insn", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| linux_drivers_net_ethernet_netronome_nfp_bpf_extr_jit.c_ashr_imm |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_amerge.c_copy_samples.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_amerge.c_copy_samples.c"
target datalayout = "e-m:e-p270:32:32-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.amerge_input = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @copy_samples], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @copy_samples(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = icmp sgt i32 %0, 0
br i1 %8, label %9, label %33
9: ; preds = %7
%10 = zext nneg i32 %0 to i64
%11 = icmp ult i32 %0, 8
br i1 %11, label %30, label %12
12: ; preds = %9
%13 = and i64 %10, 2147483640
br label %14
14: ; preds = %14, %12
%15 = phi i64 [ 0, %12 ], [ %24, %14 ]
%16 = phi <4 x i32> [ zeroinitializer, %12 ], [ %22, %14 ]
%17 = phi <4 x i32> [ zeroinitializer, %12 ], [ %23, %14 ]
%18 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %15
%19 = getelementptr inbounds i32, ptr %18, i64 4
%20 = load <4 x i32>, ptr %18, align 4, !tbaa !5
%21 = load <4 x i32>, ptr %19, align 4, !tbaa !5
%22 = add <4 x i32> %20, %16
%23 = add <4 x i32> %21, %17
%24 = add nuw i64 %15, 8
%25 = icmp eq i64 %24, %13
br i1 %25, label %26, label %14, !llvm.loop !10
26: ; preds = %14
%27 = add <4 x i32> %23, %22
%28 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %27)
%29 = icmp eq i64 %13, %10
br i1 %29, label %33, label %30
30: ; preds = %9, %26
%31 = phi i64 [ 0, %9 ], [ %13, %26 ]
%32 = phi i32 [ 0, %9 ], [ %28, %26 ]
br label %41
33: ; preds = %41, %26, %7
%34 = phi i32 [ 0, %7 ], [ %28, %26 ], [ %46, %41 ]
%35 = icmp eq i32 %5, 0
br i1 %35, label %85, label %36
36: ; preds = %33
%37 = sext i32 %6 to i64
%38 = mul nsw i32 %34, %6
%39 = sext i32 %38 to i64
%40 = zext nneg i32 %0 to i64
br label %49
41: ; preds = %30, %41
%42 = phi i64 [ %47, %41 ], [ %31, %30 ]
%43 = phi i32 [ %46, %41 ], [ %32, %30 ]
%44 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %42
%45 = load i32, ptr %44, align 4, !tbaa !5
%46 = add nsw i32 %45, %43
%47 = add nuw nsw i64 %42, 1
%48 = icmp eq i64 %47, %10
br i1 %48, label %33, label %41, !llvm.loop !14
49: ; preds = %36, %81
%50 = phi i32 [ %5, %36 ], [ %51, %81 ]
%51 = add nsw i32 %50, -1
br i1 %8, label %52, label %81
52: ; preds = %49, %77
%53 = phi i64 [ %79, %77 ], [ 0, %49 ]
%54 = phi ptr [ %78, %77 ], [ %2, %49 ]
%55 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %53
%56 = load i32, ptr %55, align 4, !tbaa !5
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %77
58: ; preds = %52
%59 = getelementptr inbounds ptr, ptr %3, i64 %53
%60 = load ptr, ptr %59, align 8, !tbaa !15
br label %61
61: ; preds = %58, %61
%62 = phi ptr [ %60, %58 ], [ %73, %61 ]
%63 = phi i32 [ 0, %58 ], [ %74, %61 ]
%64 = phi ptr [ %54, %58 ], [ %66, %61 ]
%65 = load ptr, ptr %4, align 8, !tbaa !15
%66 = getelementptr inbounds i32, ptr %64, i64 1
%67 = load i32, ptr %64, align 4, !tbaa !17
%68 = mul nsw i32 %67, %6
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %65, i64 %69
%71 = tail call i32 @memcpy(ptr noundef %70, ptr noundef %62, i32 noundef %6) #3
%72 = load ptr, ptr %59, align 8, !tbaa !15
%73 = getelementptr inbounds i32, ptr %72, i64 %37
store ptr %73, ptr %59, align 8, !tbaa !15
%74 = add nuw nsw i32 %63, 1
%75 = load i32, ptr %55, align 4, !tbaa !5
%76 = icmp slt i32 %74, %75
br i1 %76, label %61, label %77, !llvm.loop !18
77: ; preds = %61, %52
%78 = phi ptr [ %54, %52 ], [ %66, %61 ]
%79 = add nuw nsw i64 %53, 1
%80 = icmp eq i64 %79, %40
br i1 %80, label %81, label %52, !llvm.loop !19
81: ; preds = %77, %49
%82 = load ptr, ptr %4, align 8, !tbaa !15
%83 = getelementptr inbounds i32, ptr %82, i64 %39
store ptr %83, ptr %4, align 8, !tbaa !15
%84 = icmp eq i32 %51, 0
br i1 %84, label %85, label %49, !llvm.loop !20
85: ; preds = %81, %33
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2
attributes #0 = { 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 = { 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, !7, i64 0}
!6 = !{!"amerge_input", !7, i64 0}
!7 = !{!"int", !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, !13, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !11}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_amerge.c_copy_samples.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_amerge.c_copy_samples.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.amerge_input = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @copy_samples], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @copy_samples(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = icmp sgt i32 %0, 0
br i1 %8, label %9, label %43
9: ; preds = %7
%10 = zext nneg i32 %0 to i64
%11 = icmp ult i32 %0, 16
br i1 %11, label %12, label %15
12: ; preds = %37, %9
%13 = phi i64 [ 0, %9 ], [ %16, %37 ]
%14 = phi i32 [ 0, %9 ], [ %41, %37 ]
br label %51
15: ; preds = %9
%16 = and i64 %10, 2147483632
br label %17
17: ; preds = %17, %15
%18 = phi i64 [ 0, %15 ], [ %35, %17 ]
%19 = phi <4 x i32> [ zeroinitializer, %15 ], [ %31, %17 ]
%20 = phi <4 x i32> [ zeroinitializer, %15 ], [ %32, %17 ]
%21 = phi <4 x i32> [ zeroinitializer, %15 ], [ %33, %17 ]
%22 = phi <4 x i32> [ zeroinitializer, %15 ], [ %34, %17 ]
%23 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %18
%24 = getelementptr inbounds i8, ptr %23, i64 16
%25 = getelementptr inbounds i8, ptr %23, i64 32
%26 = getelementptr inbounds i8, ptr %23, i64 48
%27 = load <4 x i32>, ptr %23, align 4, !tbaa !6
%28 = load <4 x i32>, ptr %24, align 4, !tbaa !6
%29 = load <4 x i32>, ptr %25, align 4, !tbaa !6
%30 = load <4 x i32>, ptr %26, align 4, !tbaa !6
%31 = add <4 x i32> %27, %19
%32 = add <4 x i32> %28, %20
%33 = add <4 x i32> %29, %21
%34 = add <4 x i32> %30, %22
%35 = add nuw i64 %18, 16
%36 = icmp eq i64 %35, %16
br i1 %36, label %37, label %17, !llvm.loop !11
37: ; preds = %17
%38 = add <4 x i32> %32, %31
%39 = add <4 x i32> %33, %38
%40 = add <4 x i32> %34, %39
%41 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %40)
%42 = icmp eq i64 %16, %10
br i1 %42, label %43, label %12
43: ; preds = %51, %37, %7
%44 = phi i32 [ 0, %7 ], [ %41, %37 ], [ %56, %51 ]
%45 = icmp eq i32 %5, 0
br i1 %45, label %95, label %46
46: ; preds = %43
%47 = sext i32 %6 to i64
%48 = mul nsw i32 %44, %6
%49 = sext i32 %48 to i64
%50 = zext nneg i32 %0 to i64
br label %59
51: ; preds = %12, %51
%52 = phi i64 [ %57, %51 ], [ %13, %12 ]
%53 = phi i32 [ %56, %51 ], [ %14, %12 ]
%54 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %52
%55 = load i32, ptr %54, align 4, !tbaa !6
%56 = add nsw i32 %55, %53
%57 = add nuw nsw i64 %52, 1
%58 = icmp eq i64 %57, %10
br i1 %58, label %43, label %51, !llvm.loop !15
59: ; preds = %46, %91
%60 = phi i32 [ %5, %46 ], [ %61, %91 ]
%61 = add nsw i32 %60, -1
br i1 %8, label %62, label %91
62: ; preds = %59, %87
%63 = phi i64 [ %89, %87 ], [ 0, %59 ]
%64 = phi ptr [ %88, %87 ], [ %2, %59 ]
%65 = getelementptr inbounds %struct.amerge_input, ptr %1, i64 %63
%66 = load i32, ptr %65, align 4, !tbaa !6
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %87
68: ; preds = %62
%69 = getelementptr inbounds ptr, ptr %3, i64 %63
%70 = load ptr, ptr %69, align 8, !tbaa !16
br label %71
71: ; preds = %68, %71
%72 = phi ptr [ %70, %68 ], [ %83, %71 ]
%73 = phi i32 [ 0, %68 ], [ %84, %71 ]
%74 = phi ptr [ %64, %68 ], [ %76, %71 ]
%75 = load ptr, ptr %4, align 8, !tbaa !16
%76 = getelementptr inbounds i8, ptr %74, i64 4
%77 = load i32, ptr %74, align 4, !tbaa !18
%78 = mul nsw i32 %77, %6
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %75, i64 %79
%81 = tail call i32 @memcpy(ptr noundef %80, ptr noundef %72, i32 noundef %6) #3
%82 = load ptr, ptr %69, align 8, !tbaa !16
%83 = getelementptr inbounds i32, ptr %82, i64 %47
store ptr %83, ptr %69, align 8, !tbaa !16
%84 = add nuw nsw i32 %73, 1
%85 = load i32, ptr %65, align 4, !tbaa !6
%86 = icmp slt i32 %84, %85
br i1 %86, label %71, label %87, !llvm.loop !19
87: ; preds = %71, %62
%88 = phi ptr [ %64, %62 ], [ %76, %71 ]
%89 = add nuw nsw i64 %63, 1
%90 = icmp eq i64 %89, %50
br i1 %90, label %91, label %62, !llvm.loop !20
91: ; preds = %87, %59
%92 = load ptr, ptr %4, align 8, !tbaa !16
%93 = getelementptr inbounds i32, ptr %92, i64 %49
store ptr %93, ptr %4, align 8, !tbaa !16
%94 = icmp eq i32 %61, 0
br i1 %94, label %95, label %59, !llvm.loop !21
95: ; preds = %91, %43
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2
attributes #0 = { 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 = { 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, !8, i64 0}
!7 = !{!"amerge_input", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
| FFmpeg_libavfilter_extr_af_amerge.c_copy_samples |
; ModuleID = 'AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_mode_store.c'
source_filename = "AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_mode_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"
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
@THERMAL_DEVICE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@THERMAL_DEVICE_DISABLED = 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 @mode_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_thermal_zone(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @EPERM, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %36
12: ; preds = %4
%13 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 7) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load ptr, ptr %5, align 8, !tbaa !5
%17 = load ptr, ptr %16, align 8, !tbaa !10
%18 = load i32, ptr @THERMAL_DEVICE_ENABLED, align 4, !tbaa !12
%19 = tail call i32 %17(ptr noundef nonnull %5, i32 noundef %18) #2
br label %31
20: ; preds = %12
%21 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef 8) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %5, align 8, !tbaa !5
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = load i32, ptr @THERMAL_DEVICE_DISABLED, align 4, !tbaa !12
%27 = tail call i32 %25(ptr noundef nonnull %5, i32 noundef %26) #2
br label %31
28: ; preds = %20
%29 = load i32, ptr @EINVAL, align 4, !tbaa !12
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %23, %28, %15
%32 = phi i32 [ %30, %28 ], [ %27, %23 ], [ %19, %15 ]
%33 = icmp eq i32 %32, 0
%34 = trunc i64 %3 to i32
%35 = select i1 %33, i32 %34, i32 %32
br label %36
36: ; preds = %31, %9
%37 = phi i32 [ %11, %9 ], [ %35, %31 ]
ret i32 %37
}
declare ptr @to_thermal_zone(ptr noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"thermal_zone_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_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_mode_store.c'
source_filename = "AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_mode_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EPERM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
@THERMAL_DEVICE_ENABLED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@THERMAL_DEVICE_DISABLED = 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 @mode_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_thermal_zone(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @EPERM, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %36
12: ; preds = %4
%13 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 7) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load ptr, ptr %5, align 8, !tbaa !6
%17 = load ptr, ptr %16, align 8, !tbaa !11
%18 = load i32, ptr @THERMAL_DEVICE_ENABLED, align 4, !tbaa !13
%19 = tail call i32 %17(ptr noundef nonnull %5, i32 noundef %18) #2
br label %31
20: ; preds = %12
%21 = tail call i32 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef 8) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load ptr, ptr %5, align 8, !tbaa !6
%25 = load ptr, ptr %24, align 8, !tbaa !11
%26 = load i32, ptr @THERMAL_DEVICE_DISABLED, align 4, !tbaa !13
%27 = tail call i32 %25(ptr noundef nonnull %5, i32 noundef %26) #2
br label %31
28: ; preds = %20
%29 = load i32, ptr @EINVAL, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
br label %31
31: ; preds = %23, %28, %15
%32 = phi i32 [ %30, %28 ], [ %27, %23 ], [ %19, %15 ]
%33 = icmp eq i32 %32, 0
%34 = trunc i64 %3 to i32
%35 = select i1 %33, i32 %34, i32 %32
br label %36
36: ; preds = %31, %9
%37 = phi i32 [ %11, %9 ], [ %35, %31 ]
ret i32 %37
}
declare ptr @to_thermal_zone(ptr noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"thermal_zone_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_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| linux_drivers_thermal_extr_thermal_sysfs.c_mode_store |
; ModuleID = 'AnghaBench/freebsd/sys/fs/unionfs/extr_union_subr.c_unionfs_mkwhiteout.c'
source_filename = "AnghaBench/freebsd/sys/fs/unionfs/extr_union_subr.c_unionfs_mkwhiteout.c"
target datalayout = "e-m:e-p270:32:32-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.componentname = type { ptr, i32, i32 }
@NULLVP = dso_local local_unnamed_addr global ptr null, align 8
@CREATE = dso_local local_unnamed_addr global i32 0, align 4
@HASBUF = dso_local local_unnamed_addr global i32 0, align 4
@namei_zone = dso_local local_unnamed_addr global i32 0, align 4
@EEXIST = dso_local local_unnamed_addr global i32 0, align 4
@V_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@PCATCH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @unionfs_mkwhiteout(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca %struct.componentname, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load ptr, ptr %1, align 8, !tbaa !5
br label %11
11: ; preds = %9, %4
%12 = phi ptr [ %10, %9 ], [ %3, %4 ]
%13 = load ptr, ptr @NULLVP, align 8, !tbaa !11
store ptr %13, ptr %5, align 8, !tbaa !11
%14 = tail call i32 @strlen(ptr noundef %12) #3
%15 = load i32, ptr @CREATE, align 4, !tbaa !12
%16 = call i32 @unionfs_relookup(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1, ptr noundef nonnull %6, ptr noundef %2, ptr noundef %12, i32 noundef %14, i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %70
18: ; preds = %11
%19 = load ptr, ptr %5, align 8, !tbaa !11
%20 = load ptr, ptr @NULLVP, align 8, !tbaa !11
%21 = icmp eq ptr %19, %20
br i1 %21, label %47, label %22
22: ; preds = %18
%23 = getelementptr inbounds %struct.componentname, ptr %6, i64 0, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !13
%25 = load i32, ptr @HASBUF, align 4, !tbaa !12
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %22
%29 = load i32, ptr @namei_zone, align 4, !tbaa !12
%30 = getelementptr inbounds %struct.componentname, ptr %6, i64 0, i32 2
%31 = load i32, ptr %30, align 4, !tbaa !14
%32 = call i32 @uma_zfree(i32 noundef %29, i32 noundef %31) #3
%33 = load i32, ptr @HASBUF, align 4, !tbaa !12
%34 = xor i32 %33, -1
%35 = load i32, ptr %23, align 8, !tbaa !13
%36 = and i32 %35, %34
store i32 %36, ptr %23, align 8, !tbaa !13
%37 = load ptr, ptr %5, align 8, !tbaa !11
br label %38
38: ; preds = %28, %22
%39 = phi ptr [ %37, %28 ], [ %19, %22 ]
%40 = icmp eq ptr %39, %0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @vrele(ptr noundef %0) #3
br label %45
43: ; preds = %38
%44 = call i32 @vput(ptr noundef %39) #3
br label %45
45: ; preds = %43, %41
%46 = load i32, ptr @EEXIST, align 4, !tbaa !12
br label %70
47: ; preds = %18
%48 = load i32, ptr @V_WAIT, align 4, !tbaa !12
%49 = load i32, ptr @PCATCH, align 4, !tbaa !12
%50 = or i32 %49, %48
%51 = call i32 @vn_start_write(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %50) #3
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %47
%54 = load i32, ptr @CREATE, align 4, !tbaa !12
%55 = call i32 @VOP_WHITEOUT(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %54) #3
%56 = load ptr, ptr %7, align 8, !tbaa !11
%57 = call i32 @vn_finished_write(ptr noundef %56) #3
br label %58
58: ; preds = %47, %53
%59 = phi i32 [ %51, %47 ], [ %55, %53 ]
%60 = getelementptr inbounds %struct.componentname, ptr %6, i64 0, i32 1
%61 = load i32, ptr %60, align 8, !tbaa !13
%62 = load i32, ptr @HASBUF, align 4, !tbaa !12
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
br i1 %64, label %70, label %65
65: ; preds = %58
%66 = load i32, ptr @namei_zone, align 4, !tbaa !12
%67 = getelementptr inbounds %struct.componentname, ptr %6, i64 0, i32 2
%68 = load i32, ptr %67, align 4, !tbaa !14
%69 = call i32 @uma_zfree(i32 noundef %66, i32 noundef %68) #3
br label %70
70: ; preds = %58, %65, %11, %45
%71 = phi i32 [ %46, %45 ], [ %16, %11 ], [ %59, %65 ], [ %59, %58 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @unionfs_relookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @uma_zfree(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vrele(ptr noundef) local_unnamed_addr #2
declare i32 @vput(ptr noundef) local_unnamed_addr #2
declare i32 @vn_start_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VOP_WHITEOUT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vn_finished_write(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"componentname", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/freebsd/sys/fs/unionfs/extr_union_subr.c_unionfs_mkwhiteout.c'
source_filename = "AnghaBench/freebsd/sys/fs/unionfs/extr_union_subr.c_unionfs_mkwhiteout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.componentname = type { ptr, i32, i32 }
@NULLVP = common local_unnamed_addr global ptr null, align 8
@CREATE = common local_unnamed_addr global i32 0, align 4
@HASBUF = common local_unnamed_addr global i32 0, align 4
@namei_zone = common local_unnamed_addr global i32 0, align 4
@EEXIST = common local_unnamed_addr global i32 0, align 4
@V_WAIT = common local_unnamed_addr global i32 0, align 4
@PCATCH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @unionfs_mkwhiteout(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca %struct.componentname, align 8
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load ptr, ptr %1, align 8, !tbaa !6
br label %11
11: ; preds = %9, %4
%12 = phi ptr [ %10, %9 ], [ %3, %4 ]
%13 = load ptr, ptr @NULLVP, align 8, !tbaa !12
store ptr %13, ptr %5, align 8, !tbaa !12
%14 = tail call i32 @strlen(ptr noundef %12) #3
%15 = load i32, ptr @CREATE, align 4, !tbaa !13
%16 = call i32 @unionfs_relookup(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1, ptr noundef nonnull %6, ptr noundef %2, ptr noundef %12, i32 noundef %14, i32 noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %70
18: ; preds = %11
%19 = load ptr, ptr %5, align 8, !tbaa !12
%20 = load ptr, ptr @NULLVP, align 8, !tbaa !12
%21 = icmp eq ptr %19, %20
br i1 %21, label %47, label %22
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %6, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !14
%25 = load i32, ptr @HASBUF, align 4, !tbaa !13
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %22
%29 = load i32, ptr @namei_zone, align 4, !tbaa !13
%30 = getelementptr inbounds i8, ptr %6, i64 12
%31 = load i32, ptr %30, align 4, !tbaa !15
%32 = call i32 @uma_zfree(i32 noundef %29, i32 noundef %31) #3
%33 = load i32, ptr @HASBUF, align 4, !tbaa !13
%34 = xor i32 %33, -1
%35 = load i32, ptr %23, align 8, !tbaa !14
%36 = and i32 %35, %34
store i32 %36, ptr %23, align 8, !tbaa !14
%37 = load ptr, ptr %5, align 8, !tbaa !12
br label %38
38: ; preds = %28, %22
%39 = phi ptr [ %37, %28 ], [ %19, %22 ]
%40 = icmp eq ptr %39, %0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @vrele(ptr noundef %39) #3
br label %45
43: ; preds = %38
%44 = call i32 @vput(ptr noundef %39) #3
br label %45
45: ; preds = %43, %41
%46 = load i32, ptr @EEXIST, align 4, !tbaa !13
br label %70
47: ; preds = %18
%48 = load i32, ptr @V_WAIT, align 4, !tbaa !13
%49 = load i32, ptr @PCATCH, align 4, !tbaa !13
%50 = or i32 %49, %48
%51 = call i32 @vn_start_write(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %50) #3
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %47
%54 = load i32, ptr @CREATE, align 4, !tbaa !13
%55 = call i32 @VOP_WHITEOUT(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %54) #3
%56 = load ptr, ptr %7, align 8, !tbaa !12
%57 = call i32 @vn_finished_write(ptr noundef %56) #3
br label %58
58: ; preds = %47, %53
%59 = phi i32 [ %51, %47 ], [ %55, %53 ]
%60 = getelementptr inbounds i8, ptr %6, i64 8
%61 = load i32, ptr %60, align 8, !tbaa !14
%62 = load i32, ptr @HASBUF, align 4, !tbaa !13
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
br i1 %64, label %70, label %65
65: ; preds = %58
%66 = load i32, ptr @namei_zone, align 4, !tbaa !13
%67 = getelementptr inbounds i8, ptr %6, i64 12
%68 = load i32, ptr %67, align 4, !tbaa !15
%69 = call i32 @uma_zfree(i32 noundef %66, i32 noundef %68) #3
br label %70
70: ; preds = %58, %65, %11, %45
%71 = phi i32 [ %46, %45 ], [ %16, %11 ], [ %59, %65 ], [ %59, %58 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @unionfs_relookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @uma_zfree(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vrele(ptr noundef) local_unnamed_addr #2
declare i32 @vput(ptr noundef) local_unnamed_addr #2
declare i32 @vn_start_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VOP_WHITEOUT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vn_finished_write(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"componentname", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !11, i64 12}
| freebsd_sys_fs_unionfs_extr_union_subr.c_unionfs_mkwhiteout |
; ModuleID = 'AnghaBench/Arduino/tools/sdk/lwip/src/app/extr_espconn_buf.c_ringbuf_bytes_free.c'
source_filename = "AnghaBench/Arduino/tools/sdk/lwip/src/app/extr_espconn_buf.c_ringbuf_bytes_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ringbuf_t = type { i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local i64 @ringbuf_bytes_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.ringbuf_t, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp slt i64 %2, %4
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = tail call i64 @ringbuf_capacity(ptr noundef nonnull %0) #2
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = load i64, ptr %3, align 8, !tbaa !10
%10 = sub i64 %7, %8
%11 = add i64 %10, %9
br label %15
12: ; preds = %1
%13 = xor i64 %2, -1
%14 = add i64 %4, %13
br label %15
15: ; preds = %12, %6
%16 = phi i64 [ %11, %6 ], [ %14, %12 ]
ret i64 %16
}
declare i64 @ringbuf_capacity(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 = !{!"ringbuf_t", !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/Arduino/tools/sdk/lwip/src/app/extr_espconn_buf.c_ringbuf_bytes_free.c'
source_filename = "AnghaBench/Arduino/tools/sdk/lwip/src/app/extr_espconn_buf.c_ringbuf_bytes_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ringbuf_bytes_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp slt i64 %2, %4
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = tail call i64 @ringbuf_capacity(ptr noundef nonnull %0) #2
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = load i64, ptr %3, align 8, !tbaa !11
%10 = sub i64 %7, %8
%11 = add i64 %10, %9
br label %15
12: ; preds = %1
%13 = xor i64 %2, -1
%14 = add i64 %4, %13
br label %15
15: ; preds = %12, %6
%16 = phi i64 [ %11, %6 ], [ %14, %12 ]
ret i64 %16
}
declare i64 @ringbuf_capacity(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 = !{!"ringbuf_t", !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}
| Arduino_tools_sdk_lwip_src_app_extr_espconn_buf.c_ringbuf_bytes_free |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilmap.h_map__unmap_ip.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilmap.h_map__unmap_ip.c"
target datalayout = "e-m:e-p270:32:32-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.map = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @map__unmap_ip], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i64 @map__unmap_ip(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.map, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = add nsw i64 %4, %1
%6 = load i64, ptr %0, align 8, !tbaa !10
%7 = sub i64 %5, %6
ret i64 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"map", !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 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilmap.h_map__unmap_ip.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilmap.h_map__unmap_ip.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 @map__unmap_ip], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i64 @map__unmap_ip(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = add nsw i64 %4, %1
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = sub i64 %5, %6
ret i64 %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"map", !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 0}
| fastsocket_kernel_tools_perf_ui_stdio_extr_....utilmap.h_map__unmap_ip |
; ModuleID = 'AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_oneseq_32_srandom_r.c'
source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_oneseq_32_srandom_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_oneseq_32_srandom_r.c'
source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_oneseq_32_srandom_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| numpy_numpy_random_src_pcg64_extr_pcg64.orig.h_pcg_oneseq_32_srandom_r |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_addpeer.c'
source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_addpeer.c"
target datalayout = "e-m:e-p270:32:32-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 [14 x i8] c"malloc failed\00", align 1
@pqueue = dso_local global i32 0, align 4
@next = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @addpeer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @addpeer(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr @calloc(i32 noundef 1, i32 noundef 4) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %1
%7 = load i32, ptr %0, align 4, !tbaa !5
store i32 %7, ptr %2, align 4, !tbaa !5
%8 = load i32, ptr @next, align 4, !tbaa !5
%9 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @pqueue, ptr noundef nonnull %2, i32 noundef %8) #2
ret i32 0
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_addpeer.c'
source_filename = "AnghaBench/freebsd/usr.sbin/syslogd/extr_syslogd.c_addpeer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [14 x i8] c"malloc failed\00", align 1
@pqueue = common global i32 0, align 4
@next = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @addpeer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @addpeer(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr @calloc(i32 noundef 1, i32 noundef 4) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %1
%7 = load i32, ptr %0, align 4, !tbaa !6
store i32 %7, ptr %2, align 4, !tbaa !6
%8 = load i32, ptr @next, align 4, !tbaa !6
%9 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull @pqueue, ptr noundef nonnull %2, i32 noundef %8) #2
ret i32 0
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_TAIL(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"}
| freebsd_usr.sbin_syslogd_extr_syslogd.c_addpeer |
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_property.c_is_acpi_data_node.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_property.c_is_acpi_data_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@acpi_data_fwnode_ops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @is_acpi_data_node(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, @acpi_data_fwnode_ops
%7 = zext i1 %6 to i32
br label %8
8: ; preds = %4, %1
%9 = phi i32 [ 0, %1 ], [ %7, %4 ]
ret i32 %9
}
declare i32 @IS_ERR_OR_NULL(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 = !{!"fwnode_handle", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_property.c_is_acpi_data_node.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_property.c_is_acpi_data_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@acpi_data_fwnode_ops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @is_acpi_data_node(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, @acpi_data_fwnode_ops
%7 = zext i1 %6 to i32
br label %8
8: ; preds = %4, %1
%9 = phi i32 [ 0, %1 ], [ %7, %4 ]
ret i32 %9
}
declare i32 @IS_ERR_OR_NULL(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 = !{!"fwnode_handle", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_acpi_extr_property.c_is_acpi_data_node |
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_bsg_job_done.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_bsg_job_done.c"
target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { ptr }
%struct.fc_bsg_reply = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @qla2x00_bsg_job_done(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
store i32 %1, ptr %5, align 4, !tbaa !13
%6 = getelementptr inbounds %struct.fc_bsg_reply, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = tail call i32 @bsg_job_done(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !17
%10 = tail call i32 %9(ptr noundef nonnull %0) #2
ret void
}
declare i32 @bsg_job_done(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"bsg_job", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"fc_bsg_reply", !15, i64 0, !15, i64 4}
!15 = !{!"int", !8, i64 0}
!16 = !{!14, !15, i64 4}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_bsg_job_done.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_bsg_job_done.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 @qla2x00_bsg_job_done(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 = load ptr, ptr %4, align 8, !tbaa !12
store i32 %1, ptr %5, align 4, !tbaa !14
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !17
%8 = tail call i32 @bsg_job_done(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !18
%10 = tail call i32 %9(ptr noundef nonnull %0) #2
ret void
}
declare i32 @bsg_job_done(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"bsg_job", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"fc_bsg_reply", !16, i64 0, !16, i64 4}
!16 = !{!"int", !9, i64 0}
!17 = !{!15, !16, i64 4}
!18 = !{!7, !8, i64 0}
| linux_drivers_scsi_qla2xxx_extr_qla_bsg.c_qla2x00_bsg_job_done |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_proc_stats_rid_open.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_proc_stats_rid_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.proc_data = type { i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@statsLabels = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [48 x i8] c"Potentially disastrous buffer overflow averted!\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%s: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Got a short rid\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @proc_stats_rid_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @proc_stats_rid_open(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_5__, align 8
%5 = tail call ptr @PDE_DATA(ptr noundef %0) #3
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #3
store ptr %8, ptr %1, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %76
13: ; preds = %3
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%15 = tail call ptr @kmalloc(i32 noundef 4096, i32 noundef %14) #3
%16 = getelementptr inbounds %struct.proc_data, ptr %8, i64 0, i32 1
store ptr %15, ptr %16, align 8, !tbaa !14
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %1, align 8, !tbaa !12
%20 = tail call i32 @kfree(ptr noundef %19) #3
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%22 = sub nsw i32 0, %21
br label %76
23: ; preds = %13
%24 = call i32 @readStatsRid(ptr noundef %6, ptr noundef nonnull %4, i32 noundef %2, i32 noundef 1) #3
%25 = load i32, ptr %4, align 8, !tbaa !16
%26 = call i32 @le16_to_cpu(i32 noundef %25) #3
%27 = load ptr, ptr @statsLabels, align 8, !tbaa !18
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = icmp ne ptr %28, inttoptr (i64 -1 to ptr)
%30 = icmp sgt i32 %26, 0
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %65
32: ; preds = %23, %54
%33 = phi ptr [ %55, %54 ], [ %27, %23 ]
%34 = phi i64 [ %57, %54 ], [ 0, %23 ]
%35 = phi ptr [ %59, %54 ], [ %28, %23 ]
%36 = phi i32 [ %56, %54 ], [ 0, %23 ]
%37 = icmp eq ptr %35, null
br i1 %37, label %54, label %38
38: ; preds = %32
%39 = call i32 @strlen(ptr noundef nonnull %35) #3
%40 = add nsw i32 %39, %36
%41 = icmp sgt i32 %40, 4080
br i1 %41, label %68, label %42
42: ; preds = %38
%43 = load ptr, ptr %16, align 8, !tbaa !14
%44 = sext i32 %36 to i64
%45 = getelementptr inbounds i32, ptr %43, i64 %44
%46 = load ptr, ptr @statsLabels, align 8, !tbaa !18
%47 = getelementptr inbounds ptr, ptr %46, i64 %34
%48 = load ptr, ptr %47, align 8, !tbaa !18
%49 = call i32 @le32_to_cpu(i32 noundef undef) #3
%50 = call i64 @sprintf(ptr noundef %45, ptr noundef nonnull @.str.1, ptr noundef %48, i32 noundef %49) #3
%51 = trunc i64 %50 to i32
%52 = add i32 %36, %51
%53 = load ptr, ptr @statsLabels, align 8, !tbaa !18
br label %54
54: ; preds = %32, %42
%55 = phi ptr [ %53, %42 ], [ %33, %32 ]
%56 = phi i32 [ %52, %42 ], [ %36, %32 ]
%57 = add nuw i64 %34, 1
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8, !tbaa !18
%60 = icmp ne ptr %59, inttoptr (i64 -1 to ptr)
%61 = trunc i64 %57 to i32
%62 = shl nsw i32 %61, 2
%63 = icmp slt i32 %62, %26
%64 = select i1 %60, i1 %63, i1 false
br i1 %64, label %32, label %65, !llvm.loop !19
65: ; preds = %54, %23
%66 = phi i32 [ 0, %23 ], [ %56, %54 ]
%67 = phi i1 [ %30, %23 ], [ %63, %54 ]
br i1 %67, label %74, label %68
68: ; preds = %38, %65
%69 = phi ptr [ @.str.2, %65 ], [ @.str, %38 ]
%70 = phi i32 [ %66, %65 ], [ %36, %38 ]
%71 = load ptr, ptr %6, align 8, !tbaa !21
%72 = load i32, ptr %71, align 4, !tbaa !23
%73 = call i32 @airo_print_warn(i32 noundef %72, ptr noundef nonnull %69) #3
br label %74
74: ; preds = %68, %65
%75 = phi i32 [ %66, %65 ], [ %70, %68 ]
store i32 %75, ptr %8, align 8, !tbaa !25
br label %76
76: ; preds = %74, %18, %10
%77 = phi i32 [ %12, %10 ], [ %22, %18 ], [ 0, %74 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret i32 %77
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PDE_DATA(ptr noundef) local_unnamed_addr #2
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @readStatsRid(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @airo_print_warn(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"net_device", !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 = !{!"file", !7, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"proc_data", !11, i64 0, !7, i64 8}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_5__", !11, i64 0, !7, i64 8}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !7, i64 0}
!22 = !{!"airo_info", !7, i64 0}
!23 = !{!24, !11, i64 0}
!24 = !{!"TYPE_4__", !11, i64 0}
!25 = !{!15, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_proc_stats_rid_open.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_proc_stats_rid_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32, ptr }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@statsLabels = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [48 x i8] c"Potentially disastrous buffer overflow averted!\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%s: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Got a short rid\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @proc_stats_rid_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @proc_stats_rid_open(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_5__, align 8
%5 = tail call ptr @PDE_DATA(ptr noundef %0) #3
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #3
store ptr %8, ptr %1, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %76
13: ; preds = %3
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%15 = tail call ptr @kmalloc(i32 noundef 4096, i32 noundef %14) #3
%16 = getelementptr inbounds i8, ptr %8, i64 8
store ptr %15, ptr %16, align 8, !tbaa !15
%17 = icmp eq ptr %15, null
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %1, align 8, !tbaa !13
%20 = tail call i32 @kfree(ptr noundef %19) #3
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%22 = sub nsw i32 0, %21
br label %76
23: ; preds = %13
%24 = call i32 @readStatsRid(ptr noundef %6, ptr noundef nonnull %4, i32 noundef %2, i32 noundef 1) #3
%25 = load i32, ptr %4, align 8, !tbaa !17
%26 = call i32 @le16_to_cpu(i32 noundef %25) #3
%27 = load ptr, ptr @statsLabels, align 8, !tbaa !19
%28 = load ptr, ptr %27, align 8, !tbaa !19
%29 = icmp ne ptr %28, inttoptr (i64 -1 to ptr)
%30 = icmp sgt i32 %26, 0
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %65
32: ; preds = %23, %54
%33 = phi ptr [ %55, %54 ], [ %27, %23 ]
%34 = phi i64 [ %57, %54 ], [ 0, %23 ]
%35 = phi ptr [ %59, %54 ], [ %28, %23 ]
%36 = phi i32 [ %56, %54 ], [ 0, %23 ]
%37 = icmp eq ptr %35, null
br i1 %37, label %54, label %38
38: ; preds = %32
%39 = call i32 @strlen(ptr noundef nonnull %35) #3
%40 = add nsw i32 %39, %36
%41 = icmp sgt i32 %40, 4080
br i1 %41, label %68, label %42
42: ; preds = %38
%43 = load ptr, ptr %16, align 8, !tbaa !15
%44 = sext i32 %36 to i64
%45 = getelementptr inbounds i32, ptr %43, i64 %44
%46 = load ptr, ptr @statsLabels, align 8, !tbaa !19
%47 = getelementptr inbounds ptr, ptr %46, i64 %34
%48 = load ptr, ptr %47, align 8, !tbaa !19
%49 = call i32 @le32_to_cpu(i32 noundef undef) #3
%50 = call i64 @sprintf(ptr noundef %45, ptr noundef nonnull @.str.1, ptr noundef %48, i32 noundef %49) #3
%51 = trunc i64 %50 to i32
%52 = add i32 %36, %51
%53 = load ptr, ptr @statsLabels, align 8, !tbaa !19
br label %54
54: ; preds = %32, %42
%55 = phi ptr [ %53, %42 ], [ %33, %32 ]
%56 = phi i32 [ %52, %42 ], [ %36, %32 ]
%57 = add nuw nsw i64 %34, 1
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8, !tbaa !19
%60 = icmp ne ptr %59, inttoptr (i64 -1 to ptr)
%61 = trunc nuw i64 %57 to i32
%62 = shl nsw i32 %61, 2
%63 = icmp slt i32 %62, %26
%64 = select i1 %60, i1 %63, i1 false
br i1 %64, label %32, label %65, !llvm.loop !20
65: ; preds = %54, %23
%66 = phi i32 [ 0, %23 ], [ %56, %54 ]
%67 = phi i1 [ %30, %23 ], [ %63, %54 ]
br i1 %67, label %74, label %68
68: ; preds = %38, %65
%69 = phi ptr [ @.str.2, %65 ], [ @.str, %38 ]
%70 = phi i32 [ %66, %65 ], [ %36, %38 ]
%71 = load ptr, ptr %6, align 8, !tbaa !22
%72 = load i32, ptr %71, align 4, !tbaa !24
%73 = call i32 @airo_print_warn(i32 noundef %72, ptr noundef nonnull %69) #3
br label %74
74: ; preds = %68, %65
%75 = phi i32 [ %66, %65 ], [ %70, %68 ]
store i32 %75, ptr %8, align 8, !tbaa !26
br label %76
76: ; preds = %74, %18, %10
%77 = phi i32 [ %12, %10 ], [ %22, %18 ], [ 0, %74 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret i32 %77
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @PDE_DATA(ptr noundef) local_unnamed_addr #2
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @readStatsRid(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @airo_print_warn(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"net_device", !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 = !{!"file", !8, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"proc_data", !12, i64 0, !8, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_5__", !12, i64 0, !8, i64 8}
!19 = !{!8, !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !8, i64 0}
!23 = !{!"airo_info", !8, i64 0}
!24 = !{!25, !12, i64 0}
!25 = !{!"TYPE_4__", !12, i64 0}
!26 = !{!16, !12, i64 0}
| linux_drivers_net_wireless_cisco_extr_airo.c_proc_stats_rid_open |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_udp.c_uv__udp_set_membership4.c'
source_filename = "AnghaBench/libuv/src/unix/extr_udp.c_uv__udp_set_membership4.c"
target datalayout = "e-m:e-p270:32:32-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.ip_mreq = type { %struct.TYPE_8__, %struct.TYPE_7__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32 }
@AF_INET = dso_local local_unnamed_addr global i32 0, align 4
@INADDR_ANY = dso_local local_unnamed_addr global i32 0, align 4
@IP_ADD_MEMBERSHIP = dso_local local_unnamed_addr global i32 0, align 4
@IP_DROP_MEMBERSHIP = dso_local local_unnamed_addr global i32 0, align 4
@UV_EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENXIO = dso_local local_unnamed_addr global i64 0, align 8
@UV_ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uv__udp_set_membership4], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uv__udp_set_membership4(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.ip_mreq, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 8) #4
%7 = icmp eq ptr %2, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = load i32, ptr @AF_INET, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.ip_mreq, ptr %5, i64 0, i32 1
%11 = call i32 @uv_inet_pton(i32 noundef %9, ptr noundef nonnull %2, ptr noundef nonnull %10) #4
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %32
13: ; preds = %4
%14 = load i32, ptr @INADDR_ANY, align 4, !tbaa !5
%15 = call i32 @htonl(i32 noundef %14)
%16 = getelementptr inbounds %struct.ip_mreq, ptr %5, i64 0, i32 1
store i32 %15, ptr %16, align 4, !tbaa !9
br label %17
17: ; preds = %8, %13
%18 = load i32, ptr %1, align 4, !tbaa !13
store i32 %18, ptr %5, align 4, !tbaa !16
switch i32 %3, label %20 [
i32 129, label %22
i32 128, label %19
]
19: ; preds = %17
br label %22
20: ; preds = %17
%21 = load i32, ptr @UV_EINVAL, align 4, !tbaa !5
br label %32
22: ; preds = %17, %19
%23 = phi ptr [ @IP_DROP_MEMBERSHIP, %19 ], [ @IP_ADD_MEMBERSHIP, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = load i32, ptr %0, align 4, !tbaa !17
%26 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !5
%27 = call i64 @setsockopt(i32 noundef %25, i32 noundef %26, i32 noundef %24, ptr noundef nonnull %5, i32 noundef 8) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load i64, ptr @errno, align 8, !tbaa !20
%31 = call i32 @UV__ERR(i64 noundef %30) #4
br label %32
32: ; preds = %22, %8, %29, %20
%33 = phi i32 [ %21, %20 ], [ %31, %29 ], [ %11, %8 ], [ 0, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uv_inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #3
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @UV__ERR(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"ip_mreq", !11, i64 0, !12, i64 4}
!11 = !{!"TYPE_8__", !6, i64 0}
!12 = !{!"TYPE_7__", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"sockaddr_in", !15, i64 0}
!15 = !{!"TYPE_9__", !6, i64 0}
!16 = !{!10, !6, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_11__", !19, i64 0}
!19 = !{!"TYPE_10__", !6, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/libuv/src/unix/extr_udp.c_uv__udp_set_membership4.c'
source_filename = "AnghaBench/libuv/src/unix/extr_udp.c_uv__udp_set_membership4.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ip_mreq = type { %struct.TYPE_8__, %struct.TYPE_7__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32 }
@AF_INET = common local_unnamed_addr global i32 0, align 4
@INADDR_ANY = common local_unnamed_addr global i32 0, align 4
@IP_ADD_MEMBERSHIP = common local_unnamed_addr global i32 0, align 4
@IP_DROP_MEMBERSHIP = common local_unnamed_addr global i32 0, align 4
@UV_EINVAL = common local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@ENXIO = common local_unnamed_addr global i64 0, align 8
@UV_ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uv__udp_set_membership4], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @uv__udp_set_membership4(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.ip_mreq, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 8) #4
%7 = icmp eq ptr %2, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = load i32, ptr @AF_INET, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %5, i64 4
%11 = call i32 @uv_inet_pton(i32 noundef %9, ptr noundef nonnull %2, ptr noundef nonnull %10) #4
%12 = icmp eq i32 %11, 0
br i1 %12, label %17, label %32
13: ; preds = %4
%14 = load i32, ptr @INADDR_ANY, align 4, !tbaa !6
%15 = call i32 @htonl(i32 noundef %14)
%16 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %15, ptr %16, align 4, !tbaa !10
br label %17
17: ; preds = %8, %13
%18 = load i32, ptr %1, align 4, !tbaa !14
store i32 %18, ptr %5, align 4, !tbaa !17
switch i32 %3, label %20 [
i32 129, label %22
i32 128, label %19
]
19: ; preds = %17
br label %22
20: ; preds = %17
%21 = load i32, ptr @UV_EINVAL, align 4, !tbaa !6
br label %32
22: ; preds = %17, %19
%23 = phi ptr [ @IP_DROP_MEMBERSHIP, %19 ], [ @IP_ADD_MEMBERSHIP, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = load i32, ptr %0, align 4, !tbaa !18
%26 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !6
%27 = call i64 @setsockopt(i32 noundef %25, i32 noundef %26, i32 noundef %24, ptr noundef nonnull %5, i32 noundef 8) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load i64, ptr @errno, align 8, !tbaa !21
%31 = call i32 @UV__ERR(i64 noundef %30) #4
br label %32
32: ; preds = %22, %8, %29, %20
%33 = phi i32 [ %21, %20 ], [ %31, %29 ], [ %11, %8 ], [ 0, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uv_inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #3
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @UV__ERR(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"ip_mreq", !12, i64 0, !13, i64 4}
!12 = !{!"TYPE_8__", !7, i64 0}
!13 = !{!"TYPE_7__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"sockaddr_in", !16, i64 0}
!16 = !{!"TYPE_9__", !7, i64 0}
!17 = !{!11, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_11__", !20, i64 0}
!20 = !{!"TYPE_10__", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !8, i64 0}
| libuv_src_unix_extr_udp.c_uv__udp_set_membership4 |
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_apds9960.c_apds9960_write_raw.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_apds9960.c_apds9960_write_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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @apds9960_write_raw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @apds9960_write_raw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @iio_priv(ptr noundef %0) #2
switch i64 %4, label %34 [
i64 131, label %7
i64 130, label %20
]
7: ; preds = %5
%8 = load i32, ptr %1, align 4, !tbaa !5
%9 = icmp eq i32 %8, 129
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = icmp eq i32 %2, 0
br i1 %11, label %15, label %12
12: ; preds = %10
%13 = load i32, ptr @EINVAL, align 4, !tbaa !10
%14 = sub nsw i32 0, %13
br label %37
15: ; preds = %10
%16 = tail call i32 @apds9960_set_it_time(ptr noundef %6, i32 noundef %3) #2
br label %37
17: ; preds = %7
%18 = load i32, ptr @EINVAL, align 4, !tbaa !10
%19 = sub nsw i32 0, %18
br label %37
20: ; preds = %5
%21 = icmp eq i32 %3, 0
br i1 %21, label %25, label %22
22: ; preds = %20
%23 = load i32, ptr @EINVAL, align 4, !tbaa !10
%24 = sub nsw i32 0, %23
br label %37
25: ; preds = %20
%26 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %26, label %31 [
i32 128, label %27
i32 129, label %29
]
27: ; preds = %25
%28 = tail call i32 @apds9960_set_pxs_gain(ptr noundef %6, i32 noundef %2) #2
br label %37
29: ; preds = %25
%30 = tail call i32 @apds9960_set_als_gain(ptr noundef %6, i32 noundef %2) #2
br label %37
31: ; preds = %25
%32 = load i32, ptr @EINVAL, align 4, !tbaa !10
%33 = sub nsw i32 0, %32
br label %37
34: ; preds = %5
%35 = load i32, ptr @EINVAL, align 4, !tbaa !10
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %34, %31, %29, %27, %22, %17, %15, %12
%38 = phi i32 [ %36, %34 ], [ %24, %22 ], [ %33, %31 ], [ %30, %29 ], [ %28, %27 ], [ %14, %12 ], [ %16, %15 ], [ %19, %17 ]
ret i32 %38
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @apds9960_set_it_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @apds9960_set_pxs_gain(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @apds9960_set_als_gain(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 = !{!"iio_chan_spec", !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/iio/light/extr_apds9960.c_apds9960_write_raw.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_apds9960.c_apds9960_write_raw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @apds9960_write_raw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @apds9960_write_raw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = tail call ptr @iio_priv(ptr noundef %0) #2
switch i64 %4, label %34 [
i64 131, label %7
i64 130, label %20
]
7: ; preds = %5
%8 = load i32, ptr %1, align 4, !tbaa !6
%9 = icmp eq i32 %8, 129
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = icmp eq i32 %2, 0
br i1 %11, label %15, label %12
12: ; preds = %10
%13 = load i32, ptr @EINVAL, align 4, !tbaa !11
%14 = sub nsw i32 0, %13
br label %37
15: ; preds = %10
%16 = tail call i32 @apds9960_set_it_time(ptr noundef %6, i32 noundef %3) #2
br label %37
17: ; preds = %7
%18 = load i32, ptr @EINVAL, align 4, !tbaa !11
%19 = sub nsw i32 0, %18
br label %37
20: ; preds = %5
%21 = icmp eq i32 %3, 0
br i1 %21, label %25, label %22
22: ; preds = %20
%23 = load i32, ptr @EINVAL, align 4, !tbaa !11
%24 = sub nsw i32 0, %23
br label %37
25: ; preds = %20
%26 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %26, label %31 [
i32 128, label %27
i32 129, label %29
]
27: ; preds = %25
%28 = tail call i32 @apds9960_set_pxs_gain(ptr noundef %6, i32 noundef %2) #2
br label %37
29: ; preds = %25
%30 = tail call i32 @apds9960_set_als_gain(ptr noundef %6, i32 noundef %2) #2
br label %37
31: ; preds = %25
%32 = load i32, ptr @EINVAL, align 4, !tbaa !11
%33 = sub nsw i32 0, %32
br label %37
34: ; preds = %5
%35 = load i32, ptr @EINVAL, align 4, !tbaa !11
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %34, %31, %29, %27, %22, %17, %15, %12
%38 = phi i32 [ %36, %34 ], [ %24, %22 ], [ %33, %31 ], [ %30, %29 ], [ %28, %27 ], [ %14, %12 ], [ %16, %15 ], [ %19, %17 ]
ret i32 %38
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @apds9960_set_it_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @apds9960_set_pxs_gain(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @apds9960_set_als_gain(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 = !{!"iio_chan_spec", !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_iio_light_extr_apds9960.c_apds9960_write_raw |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_freebsd.c_l2_packet_get_ip_addr.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_freebsd.c_l2_packet_get_ip_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, i32, ptr }
%struct.pcap_addr = type { ptr, i64 }
%struct.sockaddr_in = type { i64, i32 }
@PCAP_ERRBUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"pcap_findalldevs: %s\0A\00", align 1
@AF_INET = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @l2_packet_get_ip_addr(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%5 = load i32, ptr @PCAP_ERRBUF_SIZE, align 4, !tbaa !5
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = tail call ptr @llvm.stacksave.p0()
%9 = alloca i8, i64 %7, align 16
%10 = call i64 @pcap_findalldevs(ptr noundef nonnull %4, ptr noundef nonnull %9) #4
%11 = icmp slt i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load ptr, ptr %4, align 8, !tbaa !9
%14 = icmp eq ptr %13, null
br i1 %14, label %54, label %18
15: ; preds = %3
%16 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%17 = call i32 @wpa_printf(i32 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull %9) #4
br label %58
18: ; preds = %12, %47
%19 = phi ptr [ %49, %47 ], [ %13, %12 ]
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 1
%21 = load i32, ptr %20, align 8, !tbaa !11
%22 = load i32, ptr %0, align 4, !tbaa !13
%23 = call i64 @os_strcmp(i32 noundef %21, i32 noundef %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %47
25: ; preds = %18
%26 = load ptr, ptr %19, align 8, !tbaa !9
%27 = icmp eq ptr %26, null
br i1 %27, label %47, label %28
28: ; preds = %25
%29 = load i64, ptr @AF_INET, align 8
br label %30
30: ; preds = %28, %44
%31 = phi ptr [ %26, %28 ], [ %45, %44 ]
%32 = getelementptr inbounds %struct.pcap_addr, ptr %31, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %44, label %35
35: ; preds = %30
%36 = inttoptr i64 %33 to ptr
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = icmp eq i64 %37, %29
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i64 0, i32 1
%41 = load i32, ptr %40, align 8, !tbaa !20
%42 = call i32 @inet_ntoa(i32 noundef %41) #4
%43 = call i32 @os_strlcpy(ptr noundef %1, i32 noundef %42, i64 noundef %2) #4
br label %51
44: ; preds = %35, %30
%45 = load ptr, ptr %31, align 8, !tbaa !9
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %30, !llvm.loop !21
47: ; preds = %44, %25, %18
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 2
%49 = load ptr, ptr %48, align 8, !tbaa !9
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %18, !llvm.loop !23
51: ; preds = %47, %39
%52 = phi i32 [ 0, %39 ], [ -1, %47 ]
%53 = load ptr, ptr %4, align 8, !tbaa !9
br label %54
54: ; preds = %51, %12
%55 = phi ptr [ null, %12 ], [ %53, %51 ]
%56 = phi i32 [ -1, %12 ], [ %52, %51 ]
%57 = call i32 @pcap_freealldevs(ptr noundef %55) #4
br label %58
58: ; preds = %54, %15
%59 = phi i32 [ -1, %15 ], [ %56, %54 ]
call void @llvm.stackrestore.p0(ptr %8)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i64 @pcap_findalldevs(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @os_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @os_strlcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @inet_ntoa(i32 noundef) local_unnamed_addr #3
declare i32 @pcap_freealldevs(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"TYPE_4__", !10, i64 0, !6, i64 8, !10, i64 16}
!13 = !{!14, !6, i64 0}
!14 = !{!"l2_packet_data", !6, i64 0}
!15 = !{!16, !17, i64 8}
!16 = !{!"pcap_addr", !10, i64 0, !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"sockaddr_in", !17, i64 0, !6, i64 8}
!20 = !{!19, !6, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_freebsd.c_l2_packet_get_ip_addr.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/l2_packet/extr_l2_packet_freebsd.c_l2_packet_get_ip_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCAP_ERRBUF_SIZE = common local_unnamed_addr global i32 0, align 4
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"pcap_findalldevs: %s\0A\00", align 1
@AF_INET = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @l2_packet_get_ip_addr(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%5 = load i32, ptr @PCAP_ERRBUF_SIZE, align 4, !tbaa !6
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = tail call ptr @llvm.stacksave.p0()
%9 = alloca i8, i64 %7, align 1
%10 = call i64 @pcap_findalldevs(ptr noundef nonnull %4, ptr noundef nonnull %9) #4
%11 = icmp slt i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %3
%13 = load ptr, ptr %4, align 8, !tbaa !10
%14 = icmp eq ptr %13, null
br i1 %14, label %54, label %18
15: ; preds = %3
%16 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%17 = call i32 @wpa_printf(i32 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull %9) #4
br label %58
18: ; preds = %12, %47
%19 = phi ptr [ %49, %47 ], [ %13, %12 ]
%20 = getelementptr inbounds i8, ptr %19, i64 8
%21 = load i32, ptr %20, align 8, !tbaa !12
%22 = load i32, ptr %0, align 4, !tbaa !14
%23 = call i64 @os_strcmp(i32 noundef %21, i32 noundef %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %47
25: ; preds = %18
%26 = load ptr, ptr %19, align 8, !tbaa !10
%27 = icmp eq ptr %26, null
br i1 %27, label %47, label %28
28: ; preds = %25
%29 = load i64, ptr @AF_INET, align 8
br label %30
30: ; preds = %28, %44
%31 = phi ptr [ %26, %28 ], [ %45, %44 ]
%32 = getelementptr inbounds i8, ptr %31, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %44, label %35
35: ; preds = %30
%36 = inttoptr i64 %33 to ptr
%37 = load i64, ptr %36, align 8, !tbaa !19
%38 = icmp eq i64 %37, %29
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %36, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !21
%42 = call i32 @inet_ntoa(i32 noundef %41) #4
%43 = call i32 @os_strlcpy(ptr noundef %1, i32 noundef %42, i64 noundef %2) #4
br label %51
44: ; preds = %35, %30
%45 = load ptr, ptr %31, align 8, !tbaa !10
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %30, !llvm.loop !22
47: ; preds = %44, %25, %18
%48 = getelementptr inbounds i8, ptr %19, i64 16
%49 = load ptr, ptr %48, align 8, !tbaa !10
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %18, !llvm.loop !24
51: ; preds = %47, %39
%52 = phi i32 [ 0, %39 ], [ -1, %47 ]
%53 = load ptr, ptr %4, align 8, !tbaa !10
br label %54
54: ; preds = %51, %12
%55 = phi ptr [ null, %12 ], [ %53, %51 ]
%56 = phi i32 [ -1, %12 ], [ %52, %51 ]
%57 = call i32 @pcap_freealldevs(ptr noundef %55) #4
br label %58
58: ; preds = %54, %15
%59 = phi i32 [ -1, %15 ], [ %56, %54 ]
call void @llvm.stackrestore.p0(ptr %8)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i64 @pcap_findalldevs(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @os_strcmp(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @os_strlcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @inet_ntoa(i32 noundef) local_unnamed_addr #3
declare i32 @pcap_freealldevs(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_4__", !11, i64 0, !7, i64 8, !11, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"l2_packet_data", !7, i64 0}
!16 = !{!17, !18, i64 8}
!17 = !{!"pcap_addr", !11, i64 0, !18, i64 8}
!18 = !{!"long", !8, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"sockaddr_in", !18, i64 0, !7, i64 8}
!21 = !{!20, !7, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
| freebsd_contrib_wpa_src_l2_packet_extr_l2_packet_freebsd.c_l2_packet_get_ip_addr |
; ModuleID = 'AnghaBench/h2o/deps/libyrmcds/extr_counter.c_recv_data.c'
source_filename = "AnghaBench/h2o/deps/libyrmcds/extr_counter.c_recv_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, ptr, i32 }
@RECV_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@YRMCDS_OUT_OF_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EINTR = dso_local local_unnamed_addr global i64 0, align 8
@YRMCDS_SYSTEM_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@YRMCDS_DISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4
@YRMCDS_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @recv_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @recv_data(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = sext i32 %2 to i64
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = sub nsw i64 %3, %5
%7 = load i64, ptr @RECV_SIZE, align 8, !tbaa !13
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = shl nsw i32 %2, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = tail call i64 @realloc(ptr noundef %13, i64 noundef %11) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %36, label %16
16: ; preds = %9
%17 = inttoptr i64 %14 to ptr
store ptr %17, ptr %12, align 8, !tbaa !14
store i32 %10, ptr %0, align 8, !tbaa !5
br label %18
18: ; preds = %16, %1
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
br label %21
21: ; preds = %28, %18
%22 = load i32, ptr %19, align 8, !tbaa !15
%23 = load ptr, ptr %20, align 8, !tbaa !14
%24 = load i64, ptr %4, align 8, !tbaa !12
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i64, ptr @RECV_SIZE, align 8, !tbaa !13
%27 = tail call i32 @recv(i32 noundef %22, ptr noundef %25, i64 noundef %26, i32 noundef 0) #2
switch i32 %27, label %32 [
i32 -1, label %28
i32 0, label %36
]
28: ; preds = %21
%29 = load i64, ptr @errno, align 8, !tbaa !13
%30 = load i64, ptr @EINTR, align 8, !tbaa !13
%31 = icmp eq i64 %29, %30
br i1 %31, label %21, label %36
32: ; preds = %21
%33 = sext i32 %27 to i64
%34 = load i64, ptr %4, align 8, !tbaa !12
%35 = add i64 %34, %33
store i64 %35, ptr %4, align 8, !tbaa !12
br label %36
36: ; preds = %28, %21, %32, %9
%37 = phi ptr [ @YRMCDS_OUT_OF_MEMORY, %9 ], [ @YRMCDS_OK, %32 ], [ @YRMCDS_DISCONNECTED, %21 ], [ @YRMCDS_SYSTEM_ERROR, %28 ]
%38 = load i32, ptr %37, align 4, !tbaa !16
ret i32 %38
}
declare i64 @realloc(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @recv(i32 noundef, 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, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!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 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !7, i64 24}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/h2o/deps/libyrmcds/extr_counter.c_recv_data.c'
source_filename = "AnghaBench/h2o/deps/libyrmcds/extr_counter.c_recv_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RECV_SIZE = common local_unnamed_addr global i64 0, align 8
@YRMCDS_OUT_OF_MEMORY = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@EINTR = common local_unnamed_addr global i64 0, align 8
@YRMCDS_SYSTEM_ERROR = common local_unnamed_addr global i32 0, align 4
@YRMCDS_DISCONNECTED = common local_unnamed_addr global i32 0, align 4
@YRMCDS_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @recv_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @recv_data(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = sext i32 %2 to i64
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = sub nsw i64 %3, %5
%7 = load i64, ptr @RECV_SIZE, align 8, !tbaa !14
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %1
%10 = shl nsw i32 %2, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = tail call i64 @realloc(ptr noundef %13, i64 noundef %11) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %36, label %16
16: ; preds = %9
%17 = inttoptr i64 %14 to ptr
store ptr %17, ptr %12, align 8, !tbaa !15
store i32 %10, ptr %0, align 8, !tbaa !6
br label %18
18: ; preds = %16, %1
%19 = getelementptr inbounds i8, ptr %0, i64 24
%20 = getelementptr inbounds i8, ptr %0, i64 16
br label %21
21: ; preds = %28, %18
%22 = load i32, ptr %19, align 8, !tbaa !16
%23 = load ptr, ptr %20, align 8, !tbaa !15
%24 = load i64, ptr %4, align 8, !tbaa !13
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i64, ptr @RECV_SIZE, align 8, !tbaa !14
%27 = tail call i32 @recv(i32 noundef %22, ptr noundef %25, i64 noundef %26, i32 noundef 0) #2
switch i32 %27, label %32 [
i32 -1, label %28
i32 0, label %36
]
28: ; preds = %21
%29 = load i64, ptr @errno, align 8, !tbaa !14
%30 = load i64, ptr @EINTR, align 8, !tbaa !14
%31 = icmp eq i64 %29, %30
br i1 %31, label %21, label %36
32: ; preds = %21
%33 = sext i32 %27 to i64
%34 = load i64, ptr %4, align 8, !tbaa !13
%35 = add i64 %34, %33
store i64 %35, ptr %4, align 8, !tbaa !13
br label %36
36: ; preds = %28, %21, %32, %9
%37 = phi ptr [ @YRMCDS_OUT_OF_MEMORY, %9 ], [ @YRMCDS_OK, %32 ], [ @YRMCDS_DISCONNECTED, %21 ], [ @YRMCDS_SYSTEM_ERROR, %28 ]
%38 = load i32, ptr %37, align 4, !tbaa !17
ret i32 %38
}
declare i64 @realloc(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @recv(i32 noundef, 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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24}
!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 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !8, i64 24}
!17 = !{!8, !8, i64 0}
| h2o_deps_libyrmcds_extr_counter.c_recv_data |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pxa2xx-flash.c_pxa2xx_map_inval_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pxa2xx-flash.c_pxa2xx_map_inval_cache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.map_info = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @pxa2xx_map_inval_cache], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pxa2xx_map_inval_cache(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.map_info, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = tail call i32 @flush_ioremap_region(i32 noundef %5, i32 noundef %6, i64 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @flush_ioremap_region(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"map_info", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pxa2xx-flash.c_pxa2xx_map_inval_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pxa2xx-flash.c_pxa2xx_map_inval_cache.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 @pxa2xx_map_inval_cache], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pxa2xx_map_inval_cache(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = tail call i32 @flush_ioremap_region(i32 noundef %5, i32 noundef %6, i64 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @flush_ioremap_region(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"map_info", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_mtd_maps_extr_pxa2xx-flash.c_pxa2xx_map_inval_cache |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.