IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_atari.c_parport_atari_read_data.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_atari.c_parport_atari_read_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_2__ = type { i32 }
@sound_ym = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parport_atari_read_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef zeroext i8 @parport_atari_read_data(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @local_irq_save(i64 noundef undef) #2
store i32 15, ptr @sound_ym, align 4, !tbaa !5
%3 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret i8 15
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_atari.c_parport_atari_read_data.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_atari.c_parport_atari_read_data.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 }
@sound_ym = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @parport_atari_read_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef zeroext i8 @parport_atari_read_data(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @local_irq_save(i64 noundef undef) #2
store i32 15, ptr @sound_ym, align 4, !tbaa !6
%3 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret i8 15
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_parport_extr_parport_atari.c_parport_atari_read_data |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_auth_build_resp_ok.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_auth_build_resp_ok.c"
target datalayout = "e-m:e-p270:32:32-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.dpp_authentication = type { ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr }
%struct.TYPE_7__ = type { i64, i32, i32 }
@DPP_MAX_HASH_LEN = dso_local local_unnamed_addr global i32 0, align 4
@AES_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@DPP_STATUS_OK = 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 [35 x i8] c"DPP: Build Authentication Response\00", align 1
@MSG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"DPP: Failed to generate R-nonce\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"DPP: R-nonce\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"DPP: ECDH shared secret (N.x)\00", align 1
@DPP_ATTR_R_AUTH_TAG = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"DPP: {R-auth}ke\00", align 1
@DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_R_PROTO_KEY_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_STATUS_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_I_NONCE_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_AUTH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_NONCE_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_PROTO_KEY_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_STATUS_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@DPP_TEST_R_AUTH_MISMATCH_AUTH_RESP = dso_local local_unnamed_addr global i64 0, align 8
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@SHA256_MAC_LEN = dso_local local_unnamed_addr global i32 0, align 4
@dpp_nonce_override = dso_local local_unnamed_addr global ptr null, align 8
@dpp_nonce_override_len = dso_local local_unnamed_addr global i64 0, align 8
@dpp_protocol_key_override = dso_local local_unnamed_addr global i32 0, align 4
@dpp_protocol_key_override_len = dso_local local_unnamed_addr global i64 0, align 8
@dpp_test = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dpp_auth_build_resp_ok], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dpp_auth_build_resp_ok(ptr noundef %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @DPP_MAX_HASH_LEN, align 4, !tbaa !5
%4 = add nsw i32 %3, 4
%5 = zext i32 %4 to i64
%6 = tail call ptr @llvm.stacksave.p0()
%7 = alloca i32, i64 %5, align 16
%8 = load i32, ptr @DPP_MAX_HASH_LEN, align 4, !tbaa !5
%9 = add nsw i32 %8, 4
%10 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !5
%11 = add nsw i32 %9, %10
%12 = zext i32 %11 to i64
%13 = alloca i32, i64 %12, align 16
%14 = load i32, ptr @DPP_STATUS_OK, align 4, !tbaa !5
%15 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%16 = tail call i32 @wpa_printf(i32 noundef %15, ptr noundef nonnull @.str) #4
%17 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 6
%18 = load ptr, ptr %17, align 8, !tbaa !9
%19 = icmp eq ptr %18, null
br i1 %19, label %137, label %20
20: ; preds = %1
%21 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 4
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = load i64, ptr %22, align 8, !tbaa !13
%24 = load ptr, ptr %0, align 8, !tbaa !16
%25 = tail call i64 @random_get_bytes(ptr noundef %24, i64 noundef %23) #4
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %20
%28 = load i32, ptr @MSG_ERROR, align 4, !tbaa !5
%29 = tail call i32 @wpa_printf(i32 noundef %28, ptr noundef nonnull @.str.1) #4
br label %133
30: ; preds = %20
%31 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%32 = load ptr, ptr %0, align 8, !tbaa !16
%33 = tail call i32 @wpa_hexdump(i32 noundef %31, ptr noundef nonnull @.str.2, ptr noundef %32, i64 noundef %23) #4
%34 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 12
%35 = load ptr, ptr %34, align 8, !tbaa !17
%36 = tail call i32 @EVP_PKEY_free(ptr noundef %35) #4
%37 = load ptr, ptr %21, align 8, !tbaa !12
%38 = tail call ptr @dpp_gen_keypair(ptr noundef %37) #4
store ptr %38, ptr %34, align 8, !tbaa !17
%39 = icmp eq ptr %38, null
br i1 %39, label %133, label %40
40: ; preds = %30
%41 = tail call ptr @dpp_get_pubkey_point(ptr noundef nonnull %38, i32 noundef 0) #4
%42 = icmp eq ptr %41, null
br i1 %42, label %133, label %43
43: ; preds = %40
%44 = load ptr, ptr %34, align 8, !tbaa !17
%45 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 11
%46 = load i32, ptr %45, align 8, !tbaa !18
%47 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 9
%48 = load i32, ptr %47, align 8, !tbaa !19
%49 = call i64 @dpp_ecdh(ptr noundef %44, i32 noundef %46, i32 noundef %48, ptr noundef nonnull %2) #4
%50 = icmp slt i64 %49, 0
br i1 %50, label %133, label %51
51: ; preds = %43
%52 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%53 = load i32, ptr %47, align 8, !tbaa !19
%54 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 8
%55 = load i32, ptr %54, align 4, !tbaa !20
%56 = call i32 @wpa_hexdump_key(i32 noundef %52, ptr noundef nonnull @.str.3, i32 noundef %53, i32 noundef %55) #4
%57 = load i32, ptr %54, align 4, !tbaa !20
%58 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 10
store i32 %57, ptr %58, align 4, !tbaa !21
%59 = load i32, ptr %47, align 8, !tbaa !19
%60 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 3
%61 = load i32, ptr %60, align 8, !tbaa !22
%62 = load ptr, ptr %21, align 8, !tbaa !12
%63 = getelementptr inbounds %struct.TYPE_7__, ptr %62, i64 0, i32 1
%64 = load i32, ptr %63, align 8, !tbaa !23
%65 = call i64 @dpp_derive_k2(i32 noundef %59, i32 noundef %57, i32 noundef %61, i32 noundef %64) #4
%66 = icmp slt i64 %65, 0
br i1 %66, label %133, label %67
67: ; preds = %51
%68 = load ptr, ptr %17, align 8, !tbaa !9
%69 = icmp eq ptr %68, null
br i1 %69, label %77, label %70
70: ; preds = %67
%71 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 5
%72 = load ptr, ptr %71, align 8, !tbaa !24
%73 = icmp eq ptr %72, null
br i1 %73, label %77, label %74
74: ; preds = %70
%75 = call i64 @dpp_auth_derive_l_responder(ptr noundef nonnull %0) #4
%76 = icmp slt i64 %75, 0
br i1 %76, label %133, label %77
77: ; preds = %74, %70, %67
%78 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 7
%79 = load i32, ptr %78, align 8, !tbaa !25
%80 = load ptr, ptr %21, align 8, !tbaa !12
%81 = getelementptr inbounds %struct.TYPE_7__, ptr %80, i64 0, i32 1
%82 = load i32, ptr %81, align 8, !tbaa !23
%83 = call i64 @dpp_derive_ke(ptr noundef nonnull %0, i32 noundef %79, i32 noundef %82) #4
%84 = icmp slt i64 %83, 0
br i1 %84, label %133, label %85
85: ; preds = %77
%86 = load i32, ptr @DPP_ATTR_R_AUTH_TAG, align 4, !tbaa !5
%87 = call i32 @WPA_PUT_LE16(ptr noundef nonnull %7, i32 noundef %86) #4
%88 = getelementptr inbounds i32, ptr %7, i64 2
%89 = load ptr, ptr %21, align 8, !tbaa !12
%90 = getelementptr inbounds %struct.TYPE_7__, ptr %89, i64 0, i32 1
%91 = load i32, ptr %90, align 8, !tbaa !23
%92 = call i32 @WPA_PUT_LE16(ptr noundef nonnull %88, i32 noundef %91) #4
%93 = getelementptr inbounds i32, ptr %7, i64 4
%94 = call i64 @dpp_gen_r_auth(ptr noundef nonnull %0, ptr noundef nonnull %93) #4
%95 = icmp slt i64 %94, 0
br i1 %95, label %133, label %96
96: ; preds = %85
%97 = load i32, ptr %78, align 8, !tbaa !25
%98 = load ptr, ptr %21, align 8, !tbaa !12
%99 = getelementptr inbounds %struct.TYPE_7__, ptr %98, i64 0, i32 1
%100 = load i32, ptr %99, align 8, !tbaa !23
%101 = add nsw i32 %100, 4
%102 = call i64 @aes_siv_encrypt(i32 noundef %97, i32 noundef %100, ptr noundef nonnull %7, i32 noundef %101, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef nonnull %13) #4
%103 = icmp slt i64 %102, 0
br i1 %103, label %133, label %104
104: ; preds = %96
%105 = load ptr, ptr %21, align 8, !tbaa !12
%106 = getelementptr inbounds %struct.TYPE_7__, ptr %105, i64 0, i32 1
%107 = load i32, ptr %106, align 8, !tbaa !23
%108 = add nsw i32 %107, 4
%109 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !5
%110 = add nsw i32 %108, %109
%111 = sext i32 %110 to i64
%112 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%113 = call i32 @wpa_hexdump(i32 noundef %112, ptr noundef nonnull @.str.4, ptr noundef nonnull %13, i64 noundef %111) #4
%114 = load ptr, ptr %17, align 8, !tbaa !9
%115 = load ptr, ptr %114, align 8, !tbaa !26
%116 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 5
%117 = load ptr, ptr %116, align 8, !tbaa !24
%118 = icmp eq ptr %117, null
br i1 %118, label %121, label %119
119: ; preds = %104
%120 = load ptr, ptr %117, align 8, !tbaa !28
br label %121
121: ; preds = %104, %119
%122 = phi ptr [ %120, %119 ], [ null, %104 ]
%123 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 1
%124 = load ptr, ptr %123, align 8, !tbaa !30
%125 = load ptr, ptr %0, align 8, !tbaa !16
%126 = load i32, ptr %60, align 8, !tbaa !22
%127 = call ptr @dpp_auth_build_resp(ptr noundef nonnull %0, i32 noundef %14, ptr noundef nonnull %41, i64 noundef %23, ptr noundef %115, ptr noundef %122, ptr noundef %125, ptr noundef %124, ptr noundef nonnull %13, i64 noundef %111, i32 noundef %126) #4
%128 = icmp eq ptr %127, null
br i1 %128, label %133, label %129
129: ; preds = %121
%130 = getelementptr inbounds %struct.dpp_authentication, ptr %0, i64 0, i32 2
%131 = load ptr, ptr %130, align 8, !tbaa !31
%132 = call i32 @wpabuf_free(ptr noundef %131) #4
store ptr %127, ptr %130, align 8, !tbaa !31
br label %133
133: ; preds = %121, %96, %85, %77, %74, %51, %43, %40, %30, %129, %27
%134 = phi i32 [ -1, %27 ], [ -1, %43 ], [ -1, %51 ], [ -1, %74 ], [ -1, %77 ], [ -1, %85 ], [ -1, %96 ], [ 0, %129 ], [ -1, %121 ], [ -1, %40 ], [ -1, %30 ]
%135 = phi ptr [ null, %27 ], [ %41, %43 ], [ %41, %51 ], [ %41, %74 ], [ %41, %77 ], [ %41, %85 ], [ %41, %96 ], [ %41, %129 ], [ %41, %121 ], [ null, %40 ], [ null, %30 ]
%136 = call i32 @wpabuf_free(ptr noundef %135) #4
br label %137
137: ; preds = %1, %133
%138 = phi i32 [ %134, %133 ], [ -1, %1 ]
call void @llvm.stackrestore.p0(ptr %6)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %138
}
; 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 i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @random_get_bytes(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #3
declare ptr @dpp_gen_keypair(ptr noundef) local_unnamed_addr #3
declare ptr @dpp_get_pubkey_point(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_ecdh(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_derive_k2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_auth_derive_l_responder(ptr noundef) local_unnamed_addr #3
declare i64 @dpp_derive_ke(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @WPA_PUT_LE16(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_gen_r_auth(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @aes_siv_encrypt(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @dpp_auth_build_resp(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @wpabuf_free(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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { 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, !11, i64 48}
!10 = !{!"dpp_authentication", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !11, i64 80}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 32}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_7__", !15, i64 0, !6, i64 8, !6, i64 12}
!15 = !{!"long", !7, i64 0}
!16 = !{!10, !11, i64 0}
!17 = !{!10, !11, i64 80}
!18 = !{!10, !6, i64 72}
!19 = !{!10, !6, i64 64}
!20 = !{!10, !6, i64 60}
!21 = !{!10, !6, i64 68}
!22 = !{!10, !6, i64 24}
!23 = !{!14, !6, i64 8}
!24 = !{!10, !11, i64 40}
!25 = !{!10, !6, i64 56}
!26 = !{!27, !11, i64 0}
!27 = !{!"TYPE_5__", !11, i64 0}
!28 = !{!29, !11, i64 0}
!29 = !{!"TYPE_6__", !11, i64 0}
!30 = !{!10, !11, i64 8}
!31 = !{!10, !11, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_auth_build_resp_ok.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_dpp.c_dpp_auth_build_resp_ok.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DPP_MAX_HASH_LEN = common local_unnamed_addr global i32 0, align 4
@AES_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4
@DPP_STATUS_OK = 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 [35 x i8] c"DPP: Build Authentication Response\00", align 1
@MSG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"DPP: Failed to generate R-nonce\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"DPP: R-nonce\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"DPP: ECDH shared secret (N.x)\00", align 1
@DPP_ATTR_R_AUTH_TAG = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"DPP: {R-auth}ke\00", align 1
@DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_R_PROTO_KEY_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_INVALID_STATUS_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_I_NONCE_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_AUTH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_NONCE_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_R_PROTO_KEY_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_NO_STATUS_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@DPP_TEST_R_AUTH_MISMATCH_AUTH_RESP = common local_unnamed_addr global i64 0, align 8
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@SHA256_MAC_LEN = common local_unnamed_addr global i32 0, align 4
@dpp_nonce_override = common local_unnamed_addr global ptr null, align 8
@dpp_nonce_override_len = common local_unnamed_addr global i64 0, align 8
@dpp_protocol_key_override = common local_unnamed_addr global i32 0, align 4
@dpp_protocol_key_override_len = common local_unnamed_addr global i64 0, align 8
@dpp_test = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dpp_auth_build_resp_ok], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @dpp_auth_build_resp_ok(ptr noundef %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @DPP_MAX_HASH_LEN, align 4, !tbaa !6
%4 = add nsw i32 %3, 4
%5 = zext i32 %4 to i64
%6 = tail call ptr @llvm.stacksave.p0()
%7 = alloca i32, i64 %5, align 4
%8 = load i32, ptr @DPP_MAX_HASH_LEN, align 4, !tbaa !6
%9 = add nsw i32 %8, 4
%10 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !6
%11 = add nsw i32 %9, %10
%12 = zext i32 %11 to i64
%13 = alloca i32, i64 %12, align 4
%14 = load i32, ptr @DPP_STATUS_OK, align 4, !tbaa !6
%15 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%16 = tail call i32 @wpa_printf(i32 noundef %15, ptr noundef nonnull @.str) #4
%17 = getelementptr inbounds i8, ptr %0, i64 48
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = icmp eq ptr %18, null
br i1 %19, label %137, label %20
20: ; preds = %1
%21 = getelementptr inbounds i8, ptr %0, i64 32
%22 = load ptr, ptr %21, align 8, !tbaa !13
%23 = load i64, ptr %22, align 8, !tbaa !14
%24 = load ptr, ptr %0, align 8, !tbaa !17
%25 = tail call i64 @random_get_bytes(ptr noundef %24, i64 noundef %23) #4
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %20
%28 = load i32, ptr @MSG_ERROR, align 4, !tbaa !6
%29 = tail call i32 @wpa_printf(i32 noundef %28, ptr noundef nonnull @.str.1) #4
br label %133
30: ; preds = %20
%31 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%32 = load ptr, ptr %0, align 8, !tbaa !17
%33 = tail call i32 @wpa_hexdump(i32 noundef %31, ptr noundef nonnull @.str.2, ptr noundef %32, i64 noundef %23) #4
%34 = getelementptr inbounds i8, ptr %0, i64 80
%35 = load ptr, ptr %34, align 8, !tbaa !18
%36 = tail call i32 @EVP_PKEY_free(ptr noundef %35) #4
%37 = load ptr, ptr %21, align 8, !tbaa !13
%38 = tail call ptr @dpp_gen_keypair(ptr noundef %37) #4
store ptr %38, ptr %34, align 8, !tbaa !18
%39 = icmp eq ptr %38, null
br i1 %39, label %133, label %40
40: ; preds = %30
%41 = tail call ptr @dpp_get_pubkey_point(ptr noundef nonnull %38, i32 noundef 0) #4
%42 = icmp eq ptr %41, null
br i1 %42, label %133, label %43
43: ; preds = %40
%44 = load ptr, ptr %34, align 8, !tbaa !18
%45 = getelementptr inbounds i8, ptr %0, i64 72
%46 = load i32, ptr %45, align 8, !tbaa !19
%47 = getelementptr inbounds i8, ptr %0, i64 64
%48 = load i32, ptr %47, align 8, !tbaa !20
%49 = call i64 @dpp_ecdh(ptr noundef %44, i32 noundef %46, i32 noundef %48, ptr noundef nonnull %2) #4
%50 = icmp slt i64 %49, 0
br i1 %50, label %133, label %51
51: ; preds = %43
%52 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%53 = load i32, ptr %47, align 8, !tbaa !20
%54 = getelementptr inbounds i8, ptr %0, i64 60
%55 = load i32, ptr %54, align 4, !tbaa !21
%56 = call i32 @wpa_hexdump_key(i32 noundef %52, ptr noundef nonnull @.str.3, i32 noundef %53, i32 noundef %55) #4
%57 = load i32, ptr %54, align 4, !tbaa !21
%58 = getelementptr inbounds i8, ptr %0, i64 68
store i32 %57, ptr %58, align 4, !tbaa !22
%59 = load i32, ptr %47, align 8, !tbaa !20
%60 = getelementptr inbounds i8, ptr %0, i64 24
%61 = load i32, ptr %60, align 8, !tbaa !23
%62 = load ptr, ptr %21, align 8, !tbaa !13
%63 = getelementptr inbounds i8, ptr %62, i64 8
%64 = load i32, ptr %63, align 8, !tbaa !24
%65 = call i64 @dpp_derive_k2(i32 noundef %59, i32 noundef %57, i32 noundef %61, i32 noundef %64) #4
%66 = icmp slt i64 %65, 0
br i1 %66, label %133, label %67
67: ; preds = %51
%68 = load ptr, ptr %17, align 8, !tbaa !10
%69 = icmp eq ptr %68, null
br i1 %69, label %77, label %70
70: ; preds = %67
%71 = getelementptr inbounds i8, ptr %0, i64 40
%72 = load ptr, ptr %71, align 8, !tbaa !25
%73 = icmp eq ptr %72, null
br i1 %73, label %77, label %74
74: ; preds = %70
%75 = call i64 @dpp_auth_derive_l_responder(ptr noundef nonnull %0) #4
%76 = icmp slt i64 %75, 0
br i1 %76, label %133, label %77
77: ; preds = %74, %70, %67
%78 = getelementptr inbounds i8, ptr %0, i64 56
%79 = load i32, ptr %78, align 8, !tbaa !26
%80 = load ptr, ptr %21, align 8, !tbaa !13
%81 = getelementptr inbounds i8, ptr %80, i64 8
%82 = load i32, ptr %81, align 8, !tbaa !24
%83 = call i64 @dpp_derive_ke(ptr noundef nonnull %0, i32 noundef %79, i32 noundef %82) #4
%84 = icmp slt i64 %83, 0
br i1 %84, label %133, label %85
85: ; preds = %77
%86 = load i32, ptr @DPP_ATTR_R_AUTH_TAG, align 4, !tbaa !6
%87 = call i32 @WPA_PUT_LE16(ptr noundef nonnull %7, i32 noundef %86) #4
%88 = getelementptr inbounds i8, ptr %7, i64 8
%89 = load ptr, ptr %21, align 8, !tbaa !13
%90 = getelementptr inbounds i8, ptr %89, i64 8
%91 = load i32, ptr %90, align 8, !tbaa !24
%92 = call i32 @WPA_PUT_LE16(ptr noundef nonnull %88, i32 noundef %91) #4
%93 = getelementptr inbounds i8, ptr %7, i64 16
%94 = call i64 @dpp_gen_r_auth(ptr noundef nonnull %0, ptr noundef nonnull %93) #4
%95 = icmp slt i64 %94, 0
br i1 %95, label %133, label %96
96: ; preds = %85
%97 = load i32, ptr %78, align 8, !tbaa !26
%98 = load ptr, ptr %21, align 8, !tbaa !13
%99 = getelementptr inbounds i8, ptr %98, i64 8
%100 = load i32, ptr %99, align 8, !tbaa !24
%101 = add nsw i32 %100, 4
%102 = call i64 @aes_siv_encrypt(i32 noundef %97, i32 noundef %100, ptr noundef nonnull %7, i32 noundef %101, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef nonnull %13) #4
%103 = icmp slt i64 %102, 0
br i1 %103, label %133, label %104
104: ; preds = %96
%105 = load ptr, ptr %21, align 8, !tbaa !13
%106 = getelementptr inbounds i8, ptr %105, i64 8
%107 = load i32, ptr %106, align 8, !tbaa !24
%108 = add nsw i32 %107, 4
%109 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !6
%110 = add nsw i32 %108, %109
%111 = sext i32 %110 to i64
%112 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%113 = call i32 @wpa_hexdump(i32 noundef %112, ptr noundef nonnull @.str.4, ptr noundef nonnull %13, i64 noundef %111) #4
%114 = load ptr, ptr %17, align 8, !tbaa !10
%115 = load ptr, ptr %114, align 8, !tbaa !27
%116 = getelementptr inbounds i8, ptr %0, i64 40
%117 = load ptr, ptr %116, align 8, !tbaa !25
%118 = icmp eq ptr %117, null
br i1 %118, label %121, label %119
119: ; preds = %104
%120 = load ptr, ptr %117, align 8, !tbaa !29
br label %121
121: ; preds = %104, %119
%122 = phi ptr [ %120, %119 ], [ null, %104 ]
%123 = getelementptr inbounds i8, ptr %0, i64 8
%124 = load ptr, ptr %123, align 8, !tbaa !31
%125 = load ptr, ptr %0, align 8, !tbaa !17
%126 = load i32, ptr %60, align 8, !tbaa !23
%127 = call ptr @dpp_auth_build_resp(ptr noundef nonnull %0, i32 noundef %14, ptr noundef nonnull %41, i64 noundef %23, ptr noundef %115, ptr noundef %122, ptr noundef %125, ptr noundef %124, ptr noundef nonnull %13, i64 noundef %111, i32 noundef %126) #4
%128 = icmp eq ptr %127, null
br i1 %128, label %133, label %129
129: ; preds = %121
%130 = getelementptr inbounds i8, ptr %0, i64 16
%131 = load ptr, ptr %130, align 8, !tbaa !32
%132 = call i32 @wpabuf_free(ptr noundef %131) #4
store ptr %127, ptr %130, align 8, !tbaa !32
br label %133
133: ; preds = %121, %96, %85, %77, %74, %51, %43, %40, %30, %129, %27
%134 = phi i32 [ -1, %27 ], [ -1, %43 ], [ -1, %51 ], [ -1, %74 ], [ -1, %77 ], [ -1, %85 ], [ -1, %96 ], [ 0, %129 ], [ -1, %121 ], [ -1, %40 ], [ -1, %30 ]
%135 = phi ptr [ null, %27 ], [ %41, %43 ], [ %41, %51 ], [ %41, %74 ], [ %41, %77 ], [ %41, %85 ], [ %41, %96 ], [ %41, %129 ], [ %41, %121 ], [ null, %40 ], [ null, %30 ]
%136 = call i32 @wpabuf_free(ptr noundef %135) #4
br label %137
137: ; preds = %1, %133
%138 = phi i32 [ %134, %133 ], [ -1, %1 ]
call void @llvm.stackrestore.p0(ptr %6)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %138
}
; 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 i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @random_get_bytes(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #3
declare ptr @dpp_gen_keypair(ptr noundef) local_unnamed_addr #3
declare ptr @dpp_get_pubkey_point(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_ecdh(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_derive_k2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_auth_derive_l_responder(ptr noundef) local_unnamed_addr #3
declare i64 @dpp_derive_ke(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @WPA_PUT_LE16(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @dpp_gen_r_auth(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @aes_siv_encrypt(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @dpp_auth_build_resp(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @wpabuf_free(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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { 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, !12, i64 48}
!11 = !{!"dpp_authentication", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !12, i64 80}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 32}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_7__", !16, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!"long", !8, i64 0}
!17 = !{!11, !12, i64 0}
!18 = !{!11, !12, i64 80}
!19 = !{!11, !7, i64 72}
!20 = !{!11, !7, i64 64}
!21 = !{!11, !7, i64 60}
!22 = !{!11, !7, i64 68}
!23 = !{!11, !7, i64 24}
!24 = !{!15, !7, i64 8}
!25 = !{!11, !12, i64 40}
!26 = !{!11, !7, i64 56}
!27 = !{!28, !12, i64 0}
!28 = !{!"TYPE_5__", !12, i64 0}
!29 = !{!30, !12, i64 0}
!30 = !{!"TYPE_6__", !12, i64 0}
!31 = !{!11, !12, i64 8}
!32 = !{!11, !12, i64 16}
| freebsd_contrib_wpa_src_common_extr_dpp.c_dpp_auth_build_resp_ok |
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawn_file_actions_addopen.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawn_file_actions_addopen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, i64, ptr }
%struct.TYPE_6__ = type { i32, %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@OPEN_MAX = dso_local local_unnamed_addr global i32 0, align 4
@EBADF = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@PSFA_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @posix_spawn_file_actions_addopen(ptr noalias noundef %0, i32 noundef %1, ptr noalias noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp eq ptr %0, null
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7, %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %47
12: ; preds = %7
%13 = icmp sgt i32 %1, -1
%14 = load i32, ptr @OPEN_MAX, align 4
%15 = icmp sgt i32 %14, %1
%16 = select i1 %13, i1 %15, i1 false
br i1 %16, label %19, label %17
17: ; preds = %12
%18 = load i32, ptr @EBADF, align 4, !tbaa !9
br label %47
19: ; preds = %12
%20 = load i64, ptr %8, align 8, !tbaa !11
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1
%22 = load i64, ptr %21, align 8, !tbaa !14
%23 = icmp eq i64 %20, %22
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = tail call i64 @_posix_spawn_file_actions_grow(ptr noundef nonnull %0) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load ptr, ptr %0, align 8, !tbaa !5
%29 = load i64, ptr %28, align 8, !tbaa !11
br label %32
30: ; preds = %24
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !9
br label %47
32: ; preds = %27, %19
%33 = phi i64 [ %29, %27 ], [ %20, %19 ]
%34 = phi ptr [ %28, %27 ], [ %8, %19 ]
%35 = getelementptr inbounds %struct.TYPE_7__, ptr %34, i64 0, i32 2
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = add nsw i64 %33, 1
store i64 %37, ptr %34, align 8, !tbaa !11
%38 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33
%39 = load i32, ptr @PSFA_OPEN, align 4, !tbaa !9
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33, i32 2
store i32 %39, ptr %40, align 4, !tbaa !16
store i32 %1, ptr %38, align 4, !tbaa !19
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33, i32 1
store i32 %3, ptr %41, align 4, !tbaa !20
%42 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33, i32 1, i32 2
store i32 %4, ptr %42, align 4, !tbaa !21
%43 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33, i32 1, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !22
%45 = load i32, ptr @PATH_MAX, align 4, !tbaa !9
%46 = tail call i32 @strlcpy(i32 noundef %44, ptr noundef %2, i32 noundef %45) #2
br label %47
47: ; preds = %32, %30, %17, %10
%48 = phi i32 [ %11, %10 ], [ %18, %17 ], [ %31, %30 ], [ 0, %32 ]
ret i32 %48
}
declare i64 @_posix_spawn_file_actions_grow(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0, !13, i64 8, !6, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !6, i64 16}
!16 = !{!17, !10, i64 16}
!17 = !{!"TYPE_6__", !10, i64 0, !18, i64 4, !10, i64 16}
!18 = !{!"TYPE_5__", !10, i64 0, !10, i64 4, !10, i64 8}
!19 = !{!17, !10, i64 0}
!20 = !{!17, !10, i64 4}
!21 = !{!17, !10, i64 12}
!22 = !{!17, !10, i64 8}
| ; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawn_file_actions_addopen.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/spawn/extr_posix_spawn.c_posix_spawn_file_actions_addopen.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, %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i32, i32, i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@OPEN_MAX = common local_unnamed_addr global i32 0, align 4
@EBADF = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@PSFA_OPEN = common local_unnamed_addr global i32 0, align 4
@PATH_MAX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @posix_spawn_file_actions_addopen(ptr noalias noundef %0, i32 noundef %1, ptr noalias noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp eq ptr %0, null
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7, %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !10
br label %47
12: ; preds = %7
%13 = icmp sgt i32 %1, -1
%14 = load i32, ptr @OPEN_MAX, align 4
%15 = icmp sgt i32 %14, %1
%16 = select i1 %13, i1 %15, i1 false
br i1 %16, label %19, label %17
17: ; preds = %12
%18 = load i32, ptr @EBADF, align 4, !tbaa !10
br label %47
19: ; preds = %12
%20 = load i64, ptr %8, align 8, !tbaa !12
%21 = getelementptr inbounds i8, ptr %8, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !15
%23 = icmp eq i64 %20, %22
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = tail call i64 @_posix_spawn_file_actions_grow(ptr noundef nonnull %0) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load ptr, ptr %0, align 8, !tbaa !6
%29 = load i64, ptr %28, align 8, !tbaa !12
br label %32
30: ; preds = %24
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !10
br label %47
32: ; preds = %27, %19
%33 = phi i64 [ %29, %27 ], [ %20, %19 ]
%34 = phi ptr [ %28, %27 ], [ %8, %19 ]
%35 = getelementptr inbounds i8, ptr %34, i64 16
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = add nsw i64 %33, 1
store i64 %37, ptr %34, align 8, !tbaa !12
%38 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 %33
%39 = load i32, ptr @PSFA_OPEN, align 4, !tbaa !10
%40 = getelementptr inbounds i8, ptr %38, i64 16
store i32 %39, ptr %40, align 4, !tbaa !17
store i32 %1, ptr %38, align 4, !tbaa !20
%41 = getelementptr inbounds i8, ptr %38, i64 4
store i32 %3, ptr %41, align 4, !tbaa !21
%42 = getelementptr inbounds i8, ptr %38, i64 12
store i32 %4, ptr %42, align 4, !tbaa !22
%43 = getelementptr inbounds i8, ptr %38, i64 8
%44 = load i32, ptr %43, align 4, !tbaa !23
%45 = load i32, ptr @PATH_MAX, align 4, !tbaa !10
%46 = tail call i32 @strlcpy(i32 noundef %44, ptr noundef %2, i32 noundef %45) #2
br label %47
47: ; preds = %32, %30, %17, %10
%48 = phi i32 [ %11, %10 ], [ %18, %17 ], [ %31, %30 ], [ 0, %32 ]
ret i32 %48
}
declare i64 @_posix_spawn_file_actions_grow(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0, !14, i64 8, !7, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !7, i64 16}
!17 = !{!18, !11, i64 16}
!18 = !{!"TYPE_6__", !11, i64 0, !19, i64 4, !11, i64 16}
!19 = !{!"TYPE_5__", !11, i64 0, !11, i64 4, !11, i64 8}
!20 = !{!18, !11, i64 0}
!21 = !{!18, !11, i64 4}
!22 = !{!18, !11, i64 12}
!23 = !{!18, !11, i64 8}
| darwin-xnu_libsyscall_wrappers_spawn_extr_posix_spawn.c_posix_spawn_file_actions_addopen |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/extr_mdp_format.c_mdp_get_format.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/extr_mdp_format.c_mdp_get_format.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mdp_format = type { %struct.msm_format }
%struct.msm_format = type { i64 }
@formats = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @mdp_get_format(ptr nocapture noundef readnone %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @formats, align 8, !tbaa !5
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = icmp sgt i32 %5, 0
br i1 %6, label %12, label %20
7: ; preds = %12
%8 = add nuw nsw i64 %13, 1
%9 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %14) #2
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %20, !llvm.loop !9
12: ; preds = %3, %7
%13 = phi i64 [ %8, %7 ], [ 0, %3 ]
%14 = load ptr, ptr @formats, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.mdp_format, ptr %14, i64 %13
%16 = load i64, ptr %15, align 8, !tbaa !11
%17 = icmp eq i64 %16, %1
br i1 %17, label %18, label %7
18: ; preds = %12
%19 = getelementptr inbounds %struct.mdp_format, ptr %14, i64 %13
br label %20
20: ; preds = %7, %18, %3
%21 = phi ptr [ null, %3 ], [ %19, %18 ], [ null, %7 ]
ret ptr %21
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 0}
!12 = !{!"mdp_format", !13, i64 0}
!13 = !{!"msm_format", !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/extr_mdp_format.c_mdp_get_format.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/extr_mdp_format.c_mdp_get_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mdp_format = type { %struct.msm_format }
%struct.msm_format = type { i64 }
@formats = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mdp_get_format(ptr nocapture noundef readnone %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @formats, align 8, !tbaa !6
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = icmp sgt i32 %5, 0
br i1 %6, label %12, label %20
7: ; preds = %12
%8 = add nuw nsw i64 %13, 1
%9 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %14) #2
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %20, !llvm.loop !10
12: ; preds = %3, %7
%13 = phi i64 [ %8, %7 ], [ 0, %3 ]
%14 = load ptr, ptr @formats, align 8, !tbaa !6
%15 = getelementptr inbounds %struct.mdp_format, ptr %14, i64 %13
%16 = load i64, ptr %15, align 8, !tbaa !12
%17 = icmp eq i64 %16, %1
br i1 %17, label %18, label %7
18: ; preds = %12
%19 = getelementptr inbounds %struct.mdp_format, ptr %14, i64 %13
br label %20
20: ; preds = %18, %7, %3
%21 = phi ptr [ null, %3 ], [ %19, %18 ], [ null, %7 ]
ret ptr %21
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !15, i64 0}
!13 = !{!"mdp_format", !14, i64 0}
!14 = !{!"msm_format", !15, i64 0}
!15 = !{!"long", !8, i64 0}
| linux_drivers_gpu_drm_msm_disp_extr_mdp_format.c_mdp_get_format |
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_tsearchcmds.c_AlterTSConfiguration.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_tsearchcmds.c_AlterTSConfiguration.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, i64, i32 }
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"text search configuration \22%s\22 does not exist\00", align 1
@ACLCHECK_NOT_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@OBJECT_TSCONFIGURATION = dso_local local_unnamed_addr global i32 0, align 4
@TSConfigMapRelationId = dso_local local_unnamed_addr global i32 0, align 4
@RowExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4
@TSConfigRelationId = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @AlterTSConfiguration(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @GetTSConfigTuple(i32 noundef %3) #2
%5 = tail call i32 @HeapTupleIsValid(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load i32, ptr @ERROR, align 4, !tbaa !11
%9 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !11
%10 = tail call i32 @errcode(i32 noundef %9) #2
%11 = load i32, ptr %2, align 8, !tbaa !5
%12 = tail call i32 @NameListToString(i32 noundef %11) #2
%13 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %12) #2
%14 = tail call i32 @ereport(i32 noundef %8, i32 noundef %13) #2
br label %15
15: ; preds = %7, %1
%16 = tail call i64 @GETSTRUCT(i32 noundef %4) #2
%17 = inttoptr i64 %16 to ptr
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i32 (...) @GetUserId() #2
%20 = tail call i32 @pg_ts_config_ownercheck(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !11
%24 = load i32, ptr @OBJECT_TSCONFIGURATION, align 4, !tbaa !11
%25 = load i32, ptr %2, align 8, !tbaa !5
%26 = tail call i32 @NameListToString(i32 noundef %25) #2
%27 = tail call i32 @aclcheck_error(i32 noundef %23, i32 noundef %24, i32 noundef %26) #2
br label %28
28: ; preds = %22, %15
%29 = load i32, ptr @TSConfigMapRelationId, align 4, !tbaa !11
%30 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !11
%31 = tail call i32 @table_open(i32 noundef %29, i32 noundef %30) #2
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !14
%34 = icmp eq i64 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %28
%36 = tail call i32 @MakeConfigurationMapping(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %31) #2
br label %42
37: ; preds = %28
%38 = load i64, ptr %0, align 8, !tbaa !15
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = tail call i32 @DropConfigurationMapping(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %31) #2
br label %42
42: ; preds = %37, %40, %35
%43 = tail call i32 @makeConfigurationDependencies(i32 noundef %4, i32 noundef 1, i32 noundef %31) #2
%44 = load i32, ptr @TSConfigRelationId, align 4, !tbaa !11
%45 = tail call i32 @InvokeObjectPostAlterHook(i32 noundef %44, i32 noundef %18, i32 noundef 0) #2
%46 = load i32, ptr @TSConfigRelationId, align 4, !tbaa !11
%47 = tail call i32 @ObjectAddressSet(i32 noundef undef, i32 noundef %46, i32 noundef %18) #2
%48 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !11
%49 = tail call i32 @table_close(i32 noundef %31, i32 noundef %48) #2
%50 = tail call i32 @ReleaseSysCache(i32 noundef %4) #2
ret i32 undef
}
declare i32 @GetTSConfigTuple(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NameListToString(i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare i32 @pg_ts_config_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetUserId(...) local_unnamed_addr #1
declare i32 @aclcheck_error(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @table_open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MakeConfigurationMapping(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DropConfigurationMapping(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @makeConfigurationDependencies(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @InvokeObjectPostAlterHook(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectAddressSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @table_close(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_6__", !10, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_tsearchcmds.c_AlterTSConfiguration.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_tsearchcmds.c_AlterTSConfiguration.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_OBJECT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"text search configuration \22%s\22 does not exist\00", align 1
@ACLCHECK_NOT_OWNER = common local_unnamed_addr global i32 0, align 4
@OBJECT_TSCONFIGURATION = common local_unnamed_addr global i32 0, align 4
@TSConfigMapRelationId = common local_unnamed_addr global i32 0, align 4
@RowExclusiveLock = common local_unnamed_addr global i32 0, align 4
@TSConfigRelationId = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @AlterTSConfiguration(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @GetTSConfigTuple(i32 noundef %3) #2
%5 = tail call i32 @HeapTupleIsValid(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load i32, ptr @ERROR, align 4, !tbaa !12
%9 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !12
%10 = tail call i32 @errcode(i32 noundef %9) #2
%11 = load i32, ptr %2, align 8, !tbaa !6
%12 = tail call i32 @NameListToString(i32 noundef %11) #2
%13 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %12) #2
%14 = tail call i32 @ereport(i32 noundef %8, i32 noundef %13) #2
br label %15
15: ; preds = %7, %1
%16 = tail call i64 @GETSTRUCT(i32 noundef %4) #2
%17 = inttoptr i64 %16 to ptr
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 @GetUserId() #2
%20 = tail call i32 @pg_ts_config_ownercheck(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !12
%24 = load i32, ptr @OBJECT_TSCONFIGURATION, align 4, !tbaa !12
%25 = load i32, ptr %2, align 8, !tbaa !6
%26 = tail call i32 @NameListToString(i32 noundef %25) #2
%27 = tail call i32 @aclcheck_error(i32 noundef %23, i32 noundef %24, i32 noundef %26) #2
br label %28
28: ; preds = %22, %15
%29 = load i32, ptr @TSConfigMapRelationId, align 4, !tbaa !12
%30 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !12
%31 = tail call i32 @table_open(i32 noundef %29, i32 noundef %30) #2
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = icmp eq i64 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %28
%36 = tail call i32 @MakeConfigurationMapping(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %31) #2
br label %42
37: ; preds = %28
%38 = load i64, ptr %0, align 8, !tbaa !16
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = tail call i32 @DropConfigurationMapping(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %31) #2
br label %42
42: ; preds = %37, %40, %35
%43 = tail call i32 @makeConfigurationDependencies(i32 noundef %4, i32 noundef 1, i32 noundef %31) #2
%44 = load i32, ptr @TSConfigRelationId, align 4, !tbaa !12
%45 = tail call i32 @InvokeObjectPostAlterHook(i32 noundef %44, i32 noundef %18, i32 noundef 0) #2
%46 = load i32, ptr @TSConfigRelationId, align 4, !tbaa !12
%47 = tail call i32 @ObjectAddressSet(i32 noundef undef, i32 noundef %46, i32 noundef %18) #2
%48 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !12
%49 = tail call i32 @table_close(i32 noundef %31, i32 noundef %48) #2
%50 = tail call i32 @ReleaseSysCache(i32 noundef %4) #2
ret i32 undef
}
declare i32 @GetTSConfigTuple(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NameListToString(i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare i32 @pg_ts_config_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetUserId(...) local_unnamed_addr #1
declare i32 @aclcheck_error(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @table_open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MakeConfigurationMapping(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DropConfigurationMapping(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @makeConfigurationDependencies(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @InvokeObjectPostAlterHook(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectAddressSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @table_close(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_6__", !11, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 0}
| postgres_src_backend_commands_extr_tsearchcmds.c_AlterTSConfiguration |
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_vgacon.c_vgacon_init.c'
source_filename = "AnghaBench/linux/drivers/video/console/extr_vgacon.c_vgacon_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
%struct.vc_data = type { i32, i32, ptr, %struct.TYPE_3__, i32, i32, i32, i32 }
%struct.TYPE_3__ = type { i32 }
@vga_can_do_color = dso_local local_unnamed_addr global i32 0, align 4
@vga_video_num_columns = dso_local local_unnamed_addr global i32 0, align 4
@vga_video_num_lines = dso_local local_unnamed_addr global i32 0, align 4
@vga_scan_lines = dso_local local_unnamed_addr global i32 0, align 4
@vga_video_font_height = dso_local local_unnamed_addr global i32 0, align 4
@vga_512_chars = dso_local local_unnamed_addr global i64 0, align 8
@vgacon_uni_pagedir = dso_local global ptr null, align 8
@vgacon_refcount = dso_local local_unnamed_addr global i32 0, align 4
@global_cursor_default = dso_local local_unnamed_addr global i32 0, align 4
@screen_info = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@VIDEO_FLAGS_NOCURSOR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vgacon_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vgacon_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @vga_can_do_color, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 7
store i32 %3, ptr %4, align 8, !tbaa !9
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @vga_video_num_columns, align 4, !tbaa !5
br i1 %5, label %11, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 6
store i32 %6, ptr %8, align 4, !tbaa !13
%9 = load i32, ptr @vga_video_num_lines, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 5
store i32 %9, ptr %10, align 8, !tbaa !14
br label %14
11: ; preds = %2
%12 = load i32, ptr @vga_video_num_lines, align 4, !tbaa !5
%13 = tail call i32 @vc_resize(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %12) #2
br label %14
14: ; preds = %11, %7
%15 = load i32, ptr @vga_scan_lines, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 4
store i32 %15, ptr %16, align 4, !tbaa !15
%17 = load i32, ptr @vga_video_font_height, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 3
store i32 %17, ptr %18, align 8, !tbaa !16
store i32 30464, ptr %0, align 8, !tbaa !17
%19 = load i64, ptr @vga_512_chars, align 8, !tbaa !18
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %14
%22 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 1
store i32 2048, ptr %22, align 4, !tbaa !20
br label %23
23: ; preds = %21, %14
%24 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !21
%26 = load ptr, ptr %25, align 8, !tbaa !22
%27 = icmp eq ptr %25, @vgacon_uni_pagedir
br i1 %27, label %32, label %28
28: ; preds = %23
%29 = tail call i32 @con_free_unimap(ptr noundef nonnull %0) #2
store ptr @vgacon_uni_pagedir, ptr %24, align 8, !tbaa !21
%30 = load i32, ptr @vgacon_refcount, align 4, !tbaa !5
%31 = add nsw i32 %30, 1
store i32 %31, ptr @vgacon_refcount, align 4, !tbaa !5
br label %32
32: ; preds = %28, %23
%33 = load ptr, ptr @vgacon_uni_pagedir, align 8, !tbaa !22
%34 = icmp eq ptr %33, null
%35 = icmp ne ptr %26, null
%36 = select i1 %34, i1 %35, i1 false
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = tail call i32 @con_set_default_unimap(ptr noundef nonnull %0) #2
br label %39
39: ; preds = %37, %32
%40 = load i32, ptr @global_cursor_default, align 4, !tbaa !5
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load i32, ptr @screen_info, align 4, !tbaa !23
%44 = load i32, ptr @VIDEO_FLAGS_NOCURSOR, align 4, !tbaa !5
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
%47 = zext i1 %46 to i32
store i32 %47, ptr @global_cursor_default, align 4, !tbaa !5
br label %48
48: ; preds = %42, %39
ret void
}
declare i32 @vc_resize(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @con_free_unimap(ptr noundef) local_unnamed_addr #1
declare i32 @con_set_default_unimap(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 32}
!10 = !{!"vc_data", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
!13 = !{!10, !6, i64 28}
!14 = !{!10, !6, i64 24}
!15 = !{!10, !6, i64 20}
!16 = !{!10, !6, i64 16}
!17 = !{!10, !6, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!10, !6, i64 4}
!21 = !{!10, !11, i64 8}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_vgacon.c_vgacon_init.c'
source_filename = "AnghaBench/linux/drivers/video/console/extr_vgacon.c_vgacon_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@vga_can_do_color = common local_unnamed_addr global i32 0, align 4
@vga_video_num_columns = common local_unnamed_addr global i32 0, align 4
@vga_video_num_lines = common local_unnamed_addr global i32 0, align 4
@vga_scan_lines = common local_unnamed_addr global i32 0, align 4
@vga_video_font_height = common local_unnamed_addr global i32 0, align 4
@vga_512_chars = common local_unnamed_addr global i64 0, align 8
@vgacon_uni_pagedir = common global ptr null, align 8
@vgacon_refcount = common local_unnamed_addr global i32 0, align 4
@global_cursor_default = common local_unnamed_addr global i32 0, align 4
@screen_info = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@VIDEO_FLAGS_NOCURSOR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vgacon_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vgacon_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @vga_can_do_color, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %3, ptr %4, align 8, !tbaa !10
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @vga_video_num_columns, align 4, !tbaa !6
br i1 %5, label %11, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %6, ptr %8, align 4, !tbaa !14
%9 = load i32, ptr @vga_video_num_lines, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %9, ptr %10, align 8, !tbaa !15
br label %14
11: ; preds = %2
%12 = load i32, ptr @vga_video_num_lines, align 4, !tbaa !6
%13 = tail call i32 @vc_resize(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %12) #2
br label %14
14: ; preds = %11, %7
%15 = load i32, ptr @vga_scan_lines, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %15, ptr %16, align 4, !tbaa !16
%17 = load i32, ptr @vga_video_font_height, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %17, ptr %18, align 8, !tbaa !17
store i32 30464, ptr %0, align 8, !tbaa !18
%19 = load i64, ptr @vga_512_chars, align 8, !tbaa !19
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %14
%22 = getelementptr inbounds i8, ptr %0, i64 4
store i32 2048, ptr %22, align 4, !tbaa !21
br label %23
23: ; preds = %21, %14
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !22
%26 = load ptr, ptr %25, align 8, !tbaa !23
%27 = icmp eq ptr %25, @vgacon_uni_pagedir
br i1 %27, label %32, label %28
28: ; preds = %23
%29 = tail call i32 @con_free_unimap(ptr noundef nonnull %0) #2
store ptr @vgacon_uni_pagedir, ptr %24, align 8, !tbaa !22
%30 = load i32, ptr @vgacon_refcount, align 4, !tbaa !6
%31 = add nsw i32 %30, 1
store i32 %31, ptr @vgacon_refcount, align 4, !tbaa !6
br label %32
32: ; preds = %28, %23
%33 = load ptr, ptr @vgacon_uni_pagedir, align 8, !tbaa !23
%34 = icmp eq ptr %33, null
%35 = icmp ne ptr %26, null
%36 = select i1 %34, i1 %35, i1 false
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = tail call i32 @con_set_default_unimap(ptr noundef nonnull %0) #2
br label %39
39: ; preds = %37, %32
%40 = load i32, ptr @global_cursor_default, align 4, !tbaa !6
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load i32, ptr @screen_info, align 4, !tbaa !24
%44 = load i32, ptr @VIDEO_FLAGS_NOCURSOR, align 4, !tbaa !6
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
%47 = zext i1 %46 to i32
store i32 %47, ptr @global_cursor_default, align 4, !tbaa !6
br label %48
48: ; preds = %42, %39
ret void
}
declare i32 @vc_resize(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @con_free_unimap(ptr noundef) local_unnamed_addr #1
declare i32 @con_set_default_unimap(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 32}
!11 = !{!"vc_data", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = !{!11, !7, i64 28}
!15 = !{!11, !7, i64 24}
!16 = !{!11, !7, i64 20}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = !{!11, !7, i64 4}
!22 = !{!11, !12, i64 8}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"TYPE_4__", !7, i64 0}
| linux_drivers_video_console_extr_vgacon.c_vgacon_init |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/smipcie/extr_smipcie-main.c_smi_dvbsky_m88ds3103_fe_attach.c'
source_filename = "AnghaBench/linux/drivers/media/pci/smipcie/extr_smipcie-main.c_smi_dvbsky_m88ds3103_fe_attach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2c_board_info = type { i32, ptr, i32 }
%struct.ts2020_config = type { ptr }
%struct.smi_port = type { i64, ptr, ptr, ptr }
%struct.i2c_adapter = type { i32 }
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i32 }
@m88ds3103_attach = dso_local local_unnamed_addr global i32 0, align 4
@smi_dvbsky_m88ds3103_cfg = dso_local global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"ts2020\00", align 1
@I2C_NAME_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smi_dvbsky_m88ds3103_fe_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @smi_dvbsky_m88ds3103_fe_attach(ptr nocapture noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.i2c_board_info, align 8
%4 = alloca %struct.ts2020_config, align 8
%5 = getelementptr inbounds %struct.smi_port, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 24) #3
%8 = load i64, ptr %0, align 8, !tbaa !11
%9 = icmp ne i64 %8, 0
%10 = load ptr, ptr %6, align 8, !tbaa !12
%11 = zext i1 %9 to i64
%12 = getelementptr inbounds %struct.i2c_adapter, ptr %10, i64 %11
%13 = load i32, ptr @m88ds3103_attach, align 4, !tbaa !14
%14 = call ptr @dvb_attach(i32 noundef %13, ptr noundef nonnull @smi_dvbsky_m88ds3103_cfg, ptr noundef %12, ptr noundef nonnull %2) #3
%15 = getelementptr inbounds %struct.smi_port, ptr %0, i64 0, i32 1
store ptr %14, ptr %15, align 8, !tbaa !16
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load i32, ptr @ENODEV, align 4, !tbaa !14
%19 = sub nsw i32 0, %18
br label %39
20: ; preds = %1
store ptr %14, ptr %4, align 8, !tbaa !17
%21 = getelementptr inbounds %struct.i2c_board_info, ptr %3, i64 0, i32 2
%22 = load i32, ptr %21, align 8, !tbaa !19
%23 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !14
%24 = call i32 @strscpy(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %23) #3
store i32 96, ptr %3, align 8, !tbaa !21
%25 = getelementptr inbounds %struct.i2c_board_info, ptr %3, i64 0, i32 1
store ptr %4, ptr %25, align 8, !tbaa !22
%26 = load ptr, ptr %2, align 8, !tbaa !23
%27 = call ptr @smi_add_i2c_client(ptr noundef %26, ptr noundef nonnull %3) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %20
%30 = load i32, ptr @ENODEV, align 4, !tbaa !14
%31 = sub nsw i32 0, %30
%32 = load ptr, ptr %15, align 8, !tbaa !16
%33 = call i32 @dvb_frontend_detach(ptr noundef %32) #3
br label %39
34: ; preds = %20
%35 = load ptr, ptr %15, align 8, !tbaa !16
%36 = load i32, ptr %35, align 4, !tbaa !24
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %35, i64 0, i32 1
store i32 %36, ptr %37, align 4, !tbaa !28
%38 = getelementptr inbounds %struct.smi_port, ptr %0, i64 0, i32 2
store ptr %27, ptr %38, align 8, !tbaa !29
br label %39
39: ; preds = %29, %34, %17
%40 = phi i32 [ 0, %34 ], [ %31, %29 ], [ %19, %17 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %40
}
; 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 ptr @dvb_attach(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @smi_add_i2c_client(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dvb_frontend_detach(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 24}
!6 = !{!"smi_port", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"smi_dev", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"ts2020_config", !10, i64 0}
!19 = !{!20, !15, i64 16}
!20 = !{!"i2c_board_info", !15, i64 0, !10, i64 8, !15, i64 16}
!21 = !{!20, !15, i64 0}
!22 = !{!20, !10, i64 8}
!23 = !{!10, !10, i64 0}
!24 = !{!25, !15, i64 0}
!25 = !{!"TYPE_7__", !26, i64 0}
!26 = !{!"TYPE_6__", !27, i64 0, !15, i64 4}
!27 = !{!"TYPE_5__", !15, i64 0}
!28 = !{!25, !15, i64 4}
!29 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/smipcie/extr_smipcie-main.c_smi_dvbsky_m88ds3103_fe_attach.c'
source_filename = "AnghaBench/linux/drivers/media/pci/smipcie/extr_smipcie-main.c_smi_dvbsky_m88ds3103_fe_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i2c_board_info = type { i32, ptr, i32 }
%struct.ts2020_config = type { ptr }
@m88ds3103_attach = common local_unnamed_addr global i32 0, align 4
@smi_dvbsky_m88ds3103_cfg = common global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"ts2020\00", align 1
@I2C_NAME_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smi_dvbsky_m88ds3103_fe_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @smi_dvbsky_m88ds3103_fe_attach(ptr nocapture noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.i2c_board_info, align 8
%4 = alloca %struct.ts2020_config, align 8
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 24) #3
%8 = load i64, ptr %0, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
%10 = load ptr, ptr %6, align 8, !tbaa !13
%11 = select i1 %9, i64 0, i64 4
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i32, ptr @m88ds3103_attach, align 4, !tbaa !15
%14 = call ptr @dvb_attach(i32 noundef %13, ptr noundef nonnull @smi_dvbsky_m88ds3103_cfg, ptr noundef %12, ptr noundef nonnull %2) #3
%15 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %14, ptr %15, align 8, !tbaa !17
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load i32, ptr @ENODEV, align 4, !tbaa !15
%19 = sub nsw i32 0, %18
br label %39
20: ; preds = %1
store ptr %14, ptr %4, align 8, !tbaa !18
%21 = getelementptr inbounds i8, ptr %3, i64 16
%22 = load i32, ptr %21, align 8, !tbaa !20
%23 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !15
%24 = call i32 @strscpy(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %23) #3
store i32 96, ptr %3, align 8, !tbaa !22
%25 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %4, ptr %25, align 8, !tbaa !23
%26 = load ptr, ptr %2, align 8, !tbaa !24
%27 = call ptr @smi_add_i2c_client(ptr noundef %26, ptr noundef nonnull %3) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %20
%30 = load i32, ptr @ENODEV, align 4, !tbaa !15
%31 = sub nsw i32 0, %30
%32 = load ptr, ptr %15, align 8, !tbaa !17
%33 = call i32 @dvb_frontend_detach(ptr noundef %32) #3
br label %39
34: ; preds = %20
%35 = load ptr, ptr %15, align 8, !tbaa !17
%36 = load i32, ptr %35, align 4, !tbaa !25
%37 = getelementptr inbounds i8, ptr %35, i64 4
store i32 %36, ptr %37, align 4, !tbaa !29
%38 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %27, ptr %38, align 8, !tbaa !30
br label %39
39: ; preds = %29, %34, %17
%40 = phi i32 [ 0, %34 ], [ %31, %29 ], [ %19, %17 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %40
}
; 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 ptr @dvb_attach(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @smi_add_i2c_client(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dvb_frontend_detach(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 24}
!7 = !{!"smi_port", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"smi_dev", !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"ts2020_config", !11, i64 0}
!20 = !{!21, !16, i64 16}
!21 = !{!"i2c_board_info", !16, i64 0, !11, i64 8, !16, i64 16}
!22 = !{!21, !16, i64 0}
!23 = !{!21, !11, i64 8}
!24 = !{!11, !11, i64 0}
!25 = !{!26, !16, i64 0}
!26 = !{!"TYPE_7__", !27, i64 0}
!27 = !{!"TYPE_6__", !28, i64 0, !16, i64 4}
!28 = !{!"TYPE_5__", !16, i64 0}
!29 = !{!26, !16, i64 4}
!30 = !{!7, !11, i64 16}
| linux_drivers_media_pci_smipcie_extr_smipcie-main.c_smi_dvbsky_m88ds3103_fe_attach |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_dashdec.c_copy_init_section.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_dashdec.c_copy_init_section.c"
target datalayout = "e-m:e-p270:32:32-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.representation = type { i32, i32, i32, i32, i32 }
@AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Cannot alloc memory for init_sec_buf\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @copy_init_section], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @copy_init_section(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.representation, ptr %1, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @av_mallocz(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.representation, ptr %0, i64 0, i32 3
store i32 %5, ptr %6, align 4, !tbaa !10
%7 = icmp eq i32 %5, 0
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = getelementptr inbounds %struct.representation, ptr %0, i64 0, i32 4
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !12
%12 = tail call i32 @av_log(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %24
15: ; preds = %2
%16 = getelementptr inbounds %struct.representation, ptr %1, i64 0, i32 3
%17 = load i32, ptr %16, align 4, !tbaa !10
%18 = getelementptr inbounds %struct.representation, ptr %1, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i32 @memcpy(i32 noundef %5, i32 noundef %17, i32 noundef %19) #2
%21 = load i32, ptr %3, align 4, !tbaa !5
%22 = getelementptr inbounds %struct.representation, ptr %0, i64 0, i32 2
store i32 %21, ptr %22, align 4, !tbaa !5
%23 = load <2 x i32>, ptr %1, align 4, !tbaa !12
store <2 x i32> %23, ptr %0, align 4, !tbaa !12
br label %24
24: ; preds = %15, %8
%25 = phi i32 [ 0, %15 ], [ %14, %8 ]
ret i32 %25
}
declare i32 @av_mallocz(i32 noundef) local_unnamed_addr #1
declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"representation", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 12}
!11 = !{!6, !7, i64 16}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_dashdec.c_copy_init_section.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_dashdec.c_copy_init_section.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Cannot alloc memory for init_sec_buf\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @copy_init_section], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @copy_init_section(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @av_mallocz(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %5, ptr %6, align 4, !tbaa !11
%7 = icmp eq i32 %5, 0
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !13
%12 = tail call i32 @av_log(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %24
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %1, i64 12
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = getelementptr inbounds i8, ptr %1, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = tail call i32 @memcpy(i32 noundef %5, i32 noundef %17, i32 noundef %19) #2
%21 = load i32, ptr %3, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %21, ptr %22, align 4, !tbaa !6
%23 = load <2 x i32>, ptr %1, align 4, !tbaa !13
store <2 x i32> %23, ptr %0, align 4, !tbaa !13
br label %24
24: ; preds = %15, %8
%25 = phi i32 [ 0, %15 ], [ %14, %8 ]
ret i32 %25
}
declare i32 @av_mallocz(i32 noundef) local_unnamed_addr #1
declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"representation", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 12}
!12 = !{!7, !8, i64 16}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 4}
| FFmpeg_libavformat_extr_dashdec.c_copy_init_section |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new.h_wpas_dbus_unregister_p2p_group.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new.h_wpas_dbus_unregister_p2p_group.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @wpas_dbus_unregister_p2p_group], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @wpas_dbus_unregister_p2p_group(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new.h_wpas_dbus_unregister_p2p_group.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new.h_wpas_dbus_unregister_p2p_group.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 @wpas_dbus_unregister_p2p_group], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @wpas_dbus_unregister_p2p_group(ptr nocapture readnone %0, ptr nocapture readnone %1) #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)"}
| freebsd_contrib_wpa_wpa_supplicant_dbus_extr_dbus_new.h_wpas_dbus_unregister_p2p_group |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/preonic/keymaps/senseored/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/senseored/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SCALE = dso_local local_unnamed_addr global ptr null, align 8
@last_muse_note = dso_local local_unnamed_addr global i64 0, align 8
@muse_counter = dso_local local_unnamed_addr global i32 0, align 4
@muse_mode = dso_local local_unnamed_addr global i64 0, align 8
@muse_offset = dso_local local_unnamed_addr global i64 0, align 8
@muse_tempo = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/preonic/keymaps/senseored/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/senseored/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCALE = common local_unnamed_addr global ptr null, align 8
@last_muse_note = common local_unnamed_addr global i64 0, align 8
@muse_counter = common local_unnamed_addr global i32 0, align 4
@muse_mode = common local_unnamed_addr global i64 0, align 8
@muse_offset = common local_unnamed_addr global i64 0, align 8
@muse_tempo = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_preonic_keymaps_senseored_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_ht16k33.c_ht16k33_keypad_stop.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_ht16k33.c_ht16k33_keypad_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ht16k33_keypad = type { i32, ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ht16k33_keypad_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ht16k33_keypad_stop(ptr noundef %0) #0 {
%2 = tail call ptr @input_get_drvdata(ptr noundef %0) #2
store i32 1, ptr %2, align 8, !tbaa !5
%3 = tail call i32 (...) @mb() #2
%4 = getelementptr inbounds %struct.ht16k33_keypad, ptr %2, i64 0, i32 2
%5 = tail call i32 @wake_up(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.ht16k33_keypad, ptr %2, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @disable_irq(i32 noundef %8) #2
ret void
}
declare ptr @input_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ht16k33_keypad", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_ht16k33.c_ht16k33_keypad_stop.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_ht16k33.c_ht16k33_keypad_stop.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 @ht16k33_keypad_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ht16k33_keypad_stop(ptr noundef %0) #0 {
%2 = tail call ptr @input_get_drvdata(ptr noundef %0) #2
store i32 1, ptr %2, align 8, !tbaa !6
%3 = tail call i32 @mb() #2
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = tail call i32 @wake_up(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @disable_irq(i32 noundef %8) #2
ret void
}
declare ptr @input_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ht16k33_keypad", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_auxdisplay_extr_ht16k33.c_ht16k33_keypad_stop |
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_segment.c___detach_discard_cmd.c'
source_filename = "AnghaBench/linux/fs/f2fs/extr_segment.c___detach_discard_cmd.c"
target datalayout = "e-m:e-p270:32:32-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.discard_cmd = type { i64, i64, i32, i32, i32 }
%struct.discard_cmd_control = type { i32, i32, i32, i32 }
@D_DONE = dso_local local_unnamed_addr global i64 0, align 8
@discard_cmd_slab = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__detach_discard_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__detach_discard_cmd(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @D_DONE, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = getelementptr inbounds %struct.discard_cmd, ptr %1, i64 0, i32 4
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.discard_cmd_control, ptr %0, i64 0, i32 3
%10 = tail call i32 @atomic_sub(i32 noundef %8, ptr noundef nonnull %9) #2
br label %11
11: ; preds = %6, %2
%12 = getelementptr inbounds %struct.discard_cmd, ptr %1, i64 0, i32 3
%13 = tail call i32 @list_del(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds %struct.discard_cmd, ptr %1, i64 0, i32 2
%15 = getelementptr inbounds %struct.discard_cmd_control, ptr %0, i64 0, i32 2
%16 = tail call i32 @rb_erase_cached(ptr noundef nonnull %14, ptr noundef nonnull %15) #2
%17 = getelementptr inbounds %struct.discard_cmd, ptr %1, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = getelementptr inbounds %struct.discard_cmd_control, ptr %0, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = trunc i64 %18 to i32
%22 = sub i32 %20, %21
store i32 %22, ptr %19, align 4, !tbaa !14
%23 = load i32, ptr @discard_cmd_slab, align 4, !tbaa !16
%24 = tail call i32 @kmem_cache_free(i32 noundef %23, ptr noundef nonnull %1) #2
%25 = tail call i32 @atomic_dec(ptr noundef %0) #2
ret void
}
declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @rb_erase_cached(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(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 = !{!"discard_cmd", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !10, i64 4}
!15 = !{!"discard_cmd_control", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!16 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_segment.c___detach_discard_cmd.c'
source_filename = "AnghaBench/linux/fs/f2fs/extr_segment.c___detach_discard_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D_DONE = common local_unnamed_addr global i64 0, align 8
@discard_cmd_slab = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__detach_discard_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__detach_discard_cmd(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @D_DONE, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 24
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %0, i64 12
%10 = tail call i32 @atomic_sub(i32 noundef %8, ptr noundef nonnull %9) #2
br label %11
11: ; preds = %6, %2
%12 = getelementptr inbounds i8, ptr %1, i64 20
%13 = tail call i32 @list_del(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = tail call i32 @rb_erase_cached(ptr noundef nonnull %14, ptr noundef nonnull %15) #2
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = trunc i64 %18 to i32
%22 = sub i32 %20, %21
store i32 %22, ptr %19, align 4, !tbaa !15
%23 = load i32, ptr @discard_cmd_slab, align 4, !tbaa !17
%24 = tail call i32 @kmem_cache_free(i32 noundef %23, ptr noundef nonnull %1) #2
%25 = tail call i32 @atomic_dec(ptr noundef %0) #2
ret void
}
declare i32 @atomic_sub(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @rb_erase_cached(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(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 = !{!"discard_cmd", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 24}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !11, i64 4}
!16 = !{!"discard_cmd_control", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!17 = !{!11, !11, i64 0}
| linux_fs_f2fs_extr_segment.c___detach_discard_cmd |
; ModuleID = 'AnghaBench/linux/drivers/scsi/hisi_sas/extr_hisi_sas_main.c_hisi_sas_debugfs_bist_enable_open.c'
source_filename = "AnghaBench/linux/drivers/scsi/hisi_sas/extr_hisi_sas_main.c_hisi_sas_debugfs_bist_enable_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"
@hisi_sas_debugfs_bist_enable_show = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hisi_sas_debugfs_bist_enable_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hisi_sas_debugfs_bist_enable_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @hisi_sas_debugfs_bist_enable_show, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"inode", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/hisi_sas/extr_hisi_sas_main.c_hisi_sas_debugfs_bist_enable_open.c'
source_filename = "AnghaBench/linux/drivers/scsi/hisi_sas/extr_hisi_sas_main.c_hisi_sas_debugfs_bist_enable_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hisi_sas_debugfs_bist_enable_show = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hisi_sas_debugfs_bist_enable_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hisi_sas_debugfs_bist_enable_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @hisi_sas_debugfs_bist_enable_show, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"inode", !7, i64 0}
| linux_drivers_scsi_hisi_sas_extr_hisi_sas_main.c_hisi_sas_debugfs_bist_enable_open |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_blank_line.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_blank_line.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.string = type { i32, i32, i32 }
%struct.tty3270 = type { i64, i32, i32 }
@tty3270_blank_line.blueprint = internal constant [13 x i8] c"\80\00\00\81\84\83\81\85\86\82\00\00\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tty3270_blank_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tty3270_blank_line(ptr noundef %0) #0 {
%2 = tail call ptr @tty3270_alloc_string(ptr noundef %0, i32 noundef 13) #2
%3 = getelementptr inbounds %struct.string, ptr %2, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @memcpy(i32 noundef %4, ptr noundef nonnull @tty3270_blank_line.blueprint, i32 noundef 13) #2
store i32 13, ptr %2, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.string, ptr %2, i64 0, i32 1
%7 = getelementptr inbounds %struct.tty3270, ptr %0, i64 0, i32 2
%8 = tail call i32 @list_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %7) #2
%9 = getelementptr inbounds %struct.tty3270, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !11
%11 = add nsw i32 %10, 1
store i32 %11, ptr %9, align 8, !tbaa !11
%12 = load i64, ptr %0, align 8, !tbaa !14
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %1
%15 = add nsw i64 %12, 1
store i64 %15, ptr %0, align 8, !tbaa !14
br label %16
16: ; preds = %14, %1
ret void
}
declare ptr @tty3270_alloc_string(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"string", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"tty3270", !13, i64 0, !7, i64 8, !7, i64 12}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_blank_line.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_blank_line.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tty3270_blank_line.blueprint = internal constant [13 x i8] c"\80\00\00\81\84\83\81\85\86\82\00\00\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tty3270_blank_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tty3270_blank_line(ptr noundef %0) #0 {
%2 = tail call ptr @tty3270_alloc_string(ptr noundef %0, i32 noundef 13) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @memcpy(i32 noundef %4, ptr noundef nonnull @tty3270_blank_line.blueprint, i32 noundef 13) #2
store i32 13, ptr %2, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = tail call i32 @list_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = add nsw i32 %10, 1
store i32 %11, ptr %9, align 8, !tbaa !12
%12 = load i64, ptr %0, align 8, !tbaa !15
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %1
%15 = add nsw i64 %12, 1
store i64 %15, ptr %0, align 8, !tbaa !15
br label %16
16: ; preds = %14, %1
ret void
}
declare ptr @tty3270_alloc_string(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"string", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"tty3270", !14, i64 0, !8, i64 8, !8, i64 12}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !14, i64 0}
| fastsocket_kernel_drivers_s390_char_extr_tty3270.c_tty3270_blank_line |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_metadata_show.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_metadata_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mddev = type { i32, i32, ptr, i64, i64 }
@.str = private unnamed_addr constant [7 x i8] c"%d.%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"external:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @metadata_show], section "llvm.metadata"
; Function Attrs: nofree nounwind uwtable
define internal noundef i32 @metadata_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 4
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = load i32, ptr %0, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %7, i32 noundef %9)
br label %20
11: ; preds = %2
%12 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 3
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %17)
br label %20
19: ; preds = %11
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %1, ptr noundef nonnull align 1 dereferenceable(6) @.str.2, i64 6, i1 false)
br label %20
20: ; preds = %19, %15, %6
%21 = phi i32 [ %10, %6 ], [ %18, %15 ], [ 5, %19 ]
ret i32 %21
}
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"mddev", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, 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 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_metadata_show.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_metadata_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"%d.%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"external:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @metadata_show], section "llvm.metadata"
; Function Attrs: nofree nounwind ssp uwtable(sync)
define internal noundef i32 @metadata_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = load i32, ptr %0, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %7, i32 noundef %9)
br label %20
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %17)
br label %20
19: ; preds = %11
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %1, ptr noundef nonnull align 1 dereferenceable(6) @.str.2, i64 6, i1 false)
br label %20
20: ; preds = %19, %15, %6
%21 = phi i32 [ %10, %6 ], [ %18, %15 ], [ 5, %19 ]
ret i32 %21
}
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"mddev", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, 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 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_md_extr_md.c_metadata_show |
; ModuleID = 'AnghaBench/libgit2/tests/repo/extr_open.c_test_repo_open__check_if_repository.c'
source_filename = "AnghaBench/libgit2/tests/repo/extr_open.c_test_repo_open__check_if_repository.c"
target datalayout = "e-m:e-p270:32:32-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"empty_standard_repo\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"repo_does_not_exist\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_repo_open__check_if_repository() local_unnamed_addr #0 {
%1 = tail call i32 @cl_git_sandbox_init(ptr noundef nonnull @.str) #2
%2 = tail call i32 @git_repository_open_ext(ptr noundef null, ptr noundef nonnull @.str, i32 noundef 0, ptr noundef null) #2
%3 = tail call i32 @cl_git_pass(i32 noundef %2) #2
%4 = tail call i32 @git_repository_open_ext(ptr noundef null, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef null) #2
%5 = tail call i32 @cl_git_fail(i32 noundef %4) #2
%6 = tail call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @cl_git_sandbox_init(ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_repository_open_ext(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #1
declare i32 @cl_fixture_cleanup(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/libgit2/tests/repo/extr_open.c_test_repo_open__check_if_repository.c'
source_filename = "AnghaBench/libgit2/tests/repo/extr_open.c_test_repo_open__check_if_repository.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"empty_standard_repo\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"repo_does_not_exist\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_repo_open__check_if_repository() local_unnamed_addr #0 {
%1 = tail call i32 @cl_git_sandbox_init(ptr noundef nonnull @.str) #2
%2 = tail call i32 @git_repository_open_ext(ptr noundef null, ptr noundef nonnull @.str, i32 noundef 0, ptr noundef null) #2
%3 = tail call i32 @cl_git_pass(i32 noundef %2) #2
%4 = tail call i32 @git_repository_open_ext(ptr noundef null, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef null) #2
%5 = tail call i32 @cl_git_fail(i32 noundef %4) #2
%6 = tail call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @cl_git_sandbox_init(ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_repository_open_ext(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #1
declare i32 @cl_fixture_cleanup(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)"}
| libgit2_tests_repo_extr_open.c_test_repo_open__check_if_repository |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_write.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ths7303_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ths7303_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%5 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
br label %12
12: ; preds = %10, %7, %3
%13 = phi i32 [ 0, %3 ], [ 0, %7 ], [ %11, %10 ]
ret i32 %13
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(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/linux/drivers/media/i2c/extr_ths7303.c_ths7303_write.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ths7303.c_ths7303_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 @ths7303_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ths7303_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%5 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
br label %12
12: ; preds = %10, %7, %3
%13 = phi i32 [ 0, %3 ], [ 0, %7 ], [ %11, %10 ]
ret i32 %13
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(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)"}
| linux_drivers_media_i2c_extr_ths7303.c_ths7303_write |
; ModuleID = 'AnghaBench/linux/drivers/soc/qcom/extr_llcc-slice.c_llcc_slice_activate.c'
source_filename = "AnghaBench/linux/drivers/soc/qcom/extr_llcc-slice.c_llcc_slice_activate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@drv_data = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@ACT_CTRL_OPCODE_ACTIVATE = dso_local local_unnamed_addr global i32 0, align 4
@ACT_CTRL_OPCODE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@DEACTIVATE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @llcc_slice_activate(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @drv_data, align 8, !tbaa !5
%3 = tail call i64 @IS_ERR(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load ptr, ptr @drv_data, align 8, !tbaa !5
%7 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %45
8: ; preds = %1
%9 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr @EINVAL, align 4, !tbaa !9
%13 = sub nsw i32 0, %12
br label %45
14: ; preds = %8
%15 = load ptr, ptr @drv_data, align 8, !tbaa !5
%16 = tail call i32 @mutex_lock(ptr noundef %15) #2
%17 = load i32, ptr %0, align 4, !tbaa !11
%18 = load ptr, ptr @drv_data, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %18, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = tail call i64 @test_bit(i32 noundef %17, i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %14
%24 = load ptr, ptr @drv_data, align 8, !tbaa !5
%25 = tail call i32 @mutex_unlock(ptr noundef %24) #2
br label %45
26: ; preds = %14
%27 = load i32, ptr @ACT_CTRL_OPCODE_ACTIVATE, align 4, !tbaa !9
%28 = load i32, ptr @ACT_CTRL_OPCODE_SHIFT, align 4, !tbaa !9
%29 = shl i32 %27, %28
%30 = load i32, ptr %0, align 4, !tbaa !11
%31 = load i32, ptr @DEACTIVATE, align 4, !tbaa !9
%32 = tail call i32 @llcc_update_act_ctrl(i32 noundef %30, i32 noundef %29, i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %26
%35 = load ptr, ptr @drv_data, align 8, !tbaa !5
%36 = tail call i32 @mutex_unlock(ptr noundef %35) #2
br label %45
37: ; preds = %26
%38 = load i32, ptr %0, align 4, !tbaa !11
%39 = load ptr, ptr @drv_data, align 8, !tbaa !5
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 1
%41 = load i32, ptr %40, align 4, !tbaa !13
%42 = tail call i32 @__set_bit(i32 noundef %38, i32 noundef %41) #2
%43 = load ptr, ptr @drv_data, align 8, !tbaa !5
%44 = tail call i32 @mutex_unlock(ptr noundef %43) #2
br label %45
45: ; preds = %37, %34, %23, %11, %5
%46 = phi i32 [ %7, %5 ], [ %13, %11 ], [ 0, %23 ], [ %32, %34 ], [ 0, %37 ]
ret i32 %46
}
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @llcc_update_act_ctrl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"llcc_slice_desc", !10, i64 0}
!13 = !{!14, !10, i64 4}
!14 = !{!"TYPE_4__", !10, i64 0, !10, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/soc/qcom/extr_llcc-slice.c_llcc_slice_activate.c'
source_filename = "AnghaBench/linux/drivers/soc/qcom/extr_llcc-slice.c_llcc_slice_activate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@drv_data = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@ACT_CTRL_OPCODE_ACTIVATE = common local_unnamed_addr global i32 0, align 4
@ACT_CTRL_OPCODE_SHIFT = common local_unnamed_addr global i32 0, align 4
@DEACTIVATE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @llcc_slice_activate(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @drv_data, align 8, !tbaa !6
%3 = tail call i64 @IS_ERR(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load ptr, ptr @drv_data, align 8, !tbaa !6
%7 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %45
8: ; preds = %1
%9 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr @EINVAL, align 4, !tbaa !10
%13 = sub nsw i32 0, %12
br label %45
14: ; preds = %8
%15 = load ptr, ptr @drv_data, align 8, !tbaa !6
%16 = tail call i32 @mutex_lock(ptr noundef %15) #2
%17 = load i32, ptr %0, align 4, !tbaa !12
%18 = load ptr, ptr @drv_data, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = tail call i64 @test_bit(i32 noundef %17, i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %14
%24 = load ptr, ptr @drv_data, align 8, !tbaa !6
%25 = tail call i32 @mutex_unlock(ptr noundef %24) #2
br label %45
26: ; preds = %14
%27 = load i32, ptr @ACT_CTRL_OPCODE_ACTIVATE, align 4, !tbaa !10
%28 = load i32, ptr @ACT_CTRL_OPCODE_SHIFT, align 4, !tbaa !10
%29 = shl i32 %27, %28
%30 = load i32, ptr %0, align 4, !tbaa !12
%31 = load i32, ptr @DEACTIVATE, align 4, !tbaa !10
%32 = tail call i32 @llcc_update_act_ctrl(i32 noundef %30, i32 noundef %29, i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %26
%35 = load ptr, ptr @drv_data, align 8, !tbaa !6
%36 = tail call i32 @mutex_unlock(ptr noundef %35) #2
br label %45
37: ; preds = %26
%38 = load i32, ptr %0, align 4, !tbaa !12
%39 = load ptr, ptr @drv_data, align 8, !tbaa !6
%40 = getelementptr inbounds i8, ptr %39, i64 4
%41 = load i32, ptr %40, align 4, !tbaa !14
%42 = tail call i32 @__set_bit(i32 noundef %38, i32 noundef %41) #2
%43 = load ptr, ptr @drv_data, align 8, !tbaa !6
%44 = tail call i32 @mutex_unlock(ptr noundef %43) #2
br label %45
45: ; preds = %37, %34, %23, %11, %5
%46 = phi i32 [ %7, %5 ], [ %13, %11 ], [ 0, %23 ], [ %32, %34 ], [ 0, %37 ]
ret i32 %46
}
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @llcc_update_act_ctrl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"llcc_slice_desc", !11, i64 0}
!14 = !{!15, !11, i64 4}
!15 = !{!"TYPE_4__", !11, i64 0, !11, i64 4}
| linux_drivers_soc_qcom_extr_llcc-slice.c_llcc_slice_activate |
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_socket.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_socket.c"
target datalayout = "e-m:e-p270:32:32-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.linux_socket_args = type { i32, i32, i32 }
@LINUX_SOCK_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@LINUX_SOCK_MAX = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EAFNOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_RAW = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_RAW = dso_local local_unnamed_addr global i32 0, align 4
@PF_INET = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = dso_local local_unnamed_addr global i32 0, align 4
@IP_HDRINCL = dso_local local_unnamed_addr global i32 0, align 4
@UIO_SYSSPACE = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_IPV6 = dso_local local_unnamed_addr global i32 0, align 4
@IPV6_V6ONLY = dso_local local_unnamed_addr global i32 0, align 4
@PF_INET6 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @linux_socket(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = load i32, ptr @LINUX_SOCK_TYPE_MASK, align 4, !tbaa !10
%7 = and i32 %6, %5
store i32 %7, ptr %3, align 4, !tbaa !10
%8 = icmp slt i32 %7, 0
%9 = load i32, ptr @LINUX_SOCK_MAX, align 4
%10 = icmp sgt i32 %7, %9
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4, !tbaa !10
br label %52
14: ; preds = %2
%15 = xor i32 %6, -1
%16 = and i32 %5, %15
%17 = call i32 @linux_set_socket_flags(i32 noundef %16, ptr noundef nonnull %3) #3
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %52
19: ; preds = %14
%20 = getelementptr inbounds %struct.linux_socket_args, ptr %1, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !11
%22 = call i32 @linux_to_bsd_domain(i32 noundef %21) #3
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !10
br label %52
26: ; preds = %19
%27 = load i32, ptr %3, align 4, !tbaa !10
%28 = getelementptr inbounds %struct.linux_socket_args, ptr %1, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !12
%30 = call i32 @kern_socket(ptr noundef %0, i32 noundef %22, i32 noundef %27, i32 noundef %29) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %26
%33 = load i32, ptr %3, align 4, !tbaa !10
%34 = load i32, ptr @SOCK_RAW, align 4, !tbaa !10
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %52
36: ; preds = %32
%37 = load i32, ptr %28, align 4, !tbaa !12
%38 = load i32, ptr @IPPROTO_RAW, align 4, !tbaa !10
%39 = icmp eq i32 %37, %38
%40 = icmp eq i32 %37, 0
%41 = or i1 %40, %39
%42 = load i32, ptr @PF_INET, align 4
%43 = icmp eq i32 %22, %42
%44 = select i1 %41, i1 %43, i1 false
br i1 %44, label %45, label %52
45: ; preds = %36
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 1, ptr %4, align 4, !tbaa !10
%46 = load ptr, ptr %0, align 8, !tbaa !13
%47 = load i32, ptr %46, align 4, !tbaa !10
%48 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !10
%49 = load i32, ptr @IP_HDRINCL, align 4, !tbaa !10
%50 = load i32, ptr @UIO_SYSSPACE, align 4, !tbaa !10
%51 = call i32 @kern_setsockopt(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef nonnull %4, i32 noundef %50, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %52
52: ; preds = %32, %45, %36, %26, %14, %24, %12
%53 = phi i32 [ %13, %12 ], [ %25, %24 ], [ %17, %14 ], [ %30, %26 ], [ 0, %36 ], [ 0, %45 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @linux_set_socket_flags(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @linux_to_bsd_domain(i32 noundef) local_unnamed_addr #2
declare i32 @kern_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kern_setsockopt(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"linux_socket_args", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !15, i64 0}
!14 = !{!"thread", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_socket.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_socket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LINUX_SOCK_TYPE_MASK = common local_unnamed_addr global i32 0, align 4
@LINUX_SOCK_MAX = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@EAFNOSUPPORT = common local_unnamed_addr global i32 0, align 4
@SOCK_RAW = common local_unnamed_addr global i32 0, align 4
@IPPROTO_RAW = common local_unnamed_addr global i32 0, align 4
@PF_INET = common local_unnamed_addr global i32 0, align 4
@IPPROTO_IP = common local_unnamed_addr global i32 0, align 4
@IP_HDRINCL = common local_unnamed_addr global i32 0, align 4
@UIO_SYSSPACE = common local_unnamed_addr global i32 0, align 4
@IPPROTO_IPV6 = common local_unnamed_addr global i32 0, align 4
@IPV6_V6ONLY = common local_unnamed_addr global i32 0, align 4
@PF_INET6 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @linux_socket(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = load i32, ptr @LINUX_SOCK_TYPE_MASK, align 4, !tbaa !11
%7 = and i32 %6, %5
store i32 %7, ptr %3, align 4, !tbaa !11
%8 = icmp slt i32 %7, 0
%9 = load i32, ptr @LINUX_SOCK_MAX, align 4
%10 = icmp sgt i32 %7, %9
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4, !tbaa !11
br label %52
14: ; preds = %2
%15 = xor i32 %6, -1
%16 = and i32 %5, %15
%17 = call i32 @linux_set_socket_flags(i32 noundef %16, ptr noundef nonnull %3) #3
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %52
19: ; preds = %14
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = load i32, ptr %20, align 4, !tbaa !12
%22 = call i32 @linux_to_bsd_domain(i32 noundef %21) #3
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = load i32, ptr @EAFNOSUPPORT, align 4, !tbaa !11
br label %52
26: ; preds = %19
%27 = load i32, ptr %3, align 4, !tbaa !11
%28 = getelementptr inbounds i8, ptr %1, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = call i32 @kern_socket(ptr noundef %0, i32 noundef %22, i32 noundef %27, i32 noundef %29) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %26
%33 = load i32, ptr %3, align 4, !tbaa !11
%34 = load i32, ptr @SOCK_RAW, align 4, !tbaa !11
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %52
36: ; preds = %32
%37 = load i32, ptr %28, align 4, !tbaa !13
%38 = load i32, ptr @IPPROTO_RAW, align 4, !tbaa !11
%39 = icmp eq i32 %37, %38
%40 = icmp eq i32 %37, 0
%41 = or i1 %40, %39
%42 = load i32, ptr @PF_INET, align 4
%43 = icmp eq i32 %22, %42
%44 = select i1 %41, i1 %43, i1 false
br i1 %44, label %45, label %52
45: ; preds = %36
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 1, ptr %4, align 4, !tbaa !11
%46 = load ptr, ptr %0, align 8, !tbaa !14
%47 = load i32, ptr %46, align 4, !tbaa !11
%48 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !11
%49 = load i32, ptr @IP_HDRINCL, align 4, !tbaa !11
%50 = load i32, ptr @UIO_SYSSPACE, align 4, !tbaa !11
%51 = call i32 @kern_setsockopt(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef nonnull %4, i32 noundef %50, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %52
52: ; preds = %32, %45, %36, %26, %14, %24, %12
%53 = phi i32 [ %13, %12 ], [ %25, %24 ], [ %17, %14 ], [ %30, %26 ], [ 0, %36 ], [ 0, %45 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @linux_set_socket_flags(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @linux_to_bsd_domain(i32 noundef) local_unnamed_addr #2
declare i32 @kern_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kern_setsockopt(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"linux_socket_args", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!15, !16, i64 0}
!15 = !{!"thread", !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
| freebsd_sys_compat_linux_extr_linux_socket.c_linux_socket |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/extr_ti_sysc.c_ti_sysc_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/extr_ti_sysc.c_ti_sysc_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@compat_data = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"TI SYSC Interconnect\00", align 1
@bootverbose = dso_local local_unnamed_addr global i32 0, align 4
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ti_sysc_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ti_sysc_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = load i32, ptr @compat_data, align 4, !tbaa !5
%6 = tail call ptr @ofw_bus_search_compatible(i32 noundef %0, i32 noundef %5) #2
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %4
%10 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @bootverbose, align 4, !tbaa !5
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @device_quiet(i32 noundef %0) #2
br label %15
15: ; preds = %9, %13, %4, %1
%16 = phi ptr [ @ENXIO, %1 ], [ @ENXIO, %4 ], [ @BUS_PROBE_DEFAULT, %13 ], [ @BUS_PROBE_DEFAULT, %9 ]
%17 = load i32, ptr %16, align 4, !tbaa !5
ret i32 %17
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_search_compatible(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_quiet(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/extr_ti_sysc.c_ti_sysc_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/extr_ti_sysc.c_ti_sysc_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@compat_data = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"TI SYSC Interconnect\00", align 1
@bootverbose = common local_unnamed_addr global i32 0, align 4
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ti_sysc_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ti_sysc_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = load i32, ptr @compat_data, align 4, !tbaa !6
%6 = tail call ptr @ofw_bus_search_compatible(i32 noundef %0, i32 noundef %5) #2
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %4
%10 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2
%11 = load i32, ptr @bootverbose, align 4, !tbaa !6
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = tail call i32 @device_quiet(i32 noundef %0) #2
br label %15
15: ; preds = %9, %13, %4, %1
%16 = phi ptr [ @ENXIO, %1 ], [ @ENXIO, %4 ], [ @BUS_PROBE_DEFAULT, %13 ], [ @BUS_PROBE_DEFAULT, %9 ]
%17 = load i32, ptr %16, align 4, !tbaa !6
ret i32 %17
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_search_compatible(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_quiet(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| freebsd_sys_arm_ti_extr_ti_sysc.c_ti_sysc_probe |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_wx.c_r8180_wx_set_scan_type.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_wx.c_r8180_wx_set_scan_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @r8180_wx_set_scan_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @r8180_wx_set_scan_type(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %3) #0 {
%5 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = load i32, ptr %3, align 4, !tbaa !14
store i32 %11, ptr %6, align 8, !tbaa !15
br label %12
12: ; preds = %4, %10
%13 = phi i32 [ 1, %10 ], [ 0, %4 ]
ret i32 %13
}
declare ptr @ieee80211_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 = !{!"r8180_priv", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_wx.c_r8180_wx_set_scan_type.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8180_wx.c_r8180_wx_set_scan_type.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 @r8180_wx_set_scan_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @r8180_wx_set_scan_type(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %3) #0 {
%5 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %4
%11 = load i32, ptr %3, align 4, !tbaa !15
store i32 %11, ptr %6, align 8, !tbaa !16
br label %12
12: ; preds = %4, %10
%13 = phi i32 [ 1, %10 ], [ 0, %4 ]
ret i32 %13
}
declare ptr @ieee80211_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 = !{!"r8180_priv", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 0}
| fastsocket_kernel_drivers_staging_rtl8187se_extr_r8180_wx.c_r8180_wx_set_scan_type |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_addr.c_rpc_sockaddr2uaddr.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_addr.c_rpc_sockaddr2uaddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RPCBIND_MAXUADDRPLEN = dso_local local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXUADDRLEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c".%u.%u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @rpc_sockaddr2uaddr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @RPCBIND_MAXUADDRPLEN, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = load i32, ptr @RPCBIND_MAXUADDRLEN, align 4, !tbaa !5
%7 = zext i32 %6 to i64
%8 = alloca i8, i64 %7, align 16
%9 = load i32, ptr %0, align 4, !tbaa !9
switch i32 %9, label %29 [
i32 129, label %10
i32 128, label %13
]
10: ; preds = %2
%11 = call i32 @rpc_ntop4(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %6) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %29, label %16
13: ; preds = %2
%14 = call i32 @rpc_ntop6_noscopeid(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %6) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %29, label %16
16: ; preds = %13, %10
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = call zeroext i16 @ntohs(i32 noundef %17) #2
%19 = lshr i16 %18, 8
%20 = and i16 %18, 255
%21 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str, i16 noundef zeroext %19, i16 noundef zeroext %20) #2
%22 = icmp sgt i32 %21, %3
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = call i32 @strlcat(ptr noundef nonnull %8, ptr noundef nonnull %5, i32 noundef %6) #2
%25 = sext i32 %24 to i64
%26 = icmp ugt i64 %25, %7
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = call ptr @kstrdup(ptr noundef nonnull %8, i32 noundef %1) #2
br label %29
29: ; preds = %23, %16, %2, %13, %10, %27
%30 = phi ptr [ %28, %27 ], [ null, %10 ], [ null, %13 ], [ null, %2 ], [ null, %16 ], [ null, %23 ]
ret ptr %30
}
declare i32 @rpc_ntop4(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare zeroext i16 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @rpc_ntop6_noscopeid(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sockaddr", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_addr.c_rpc_sockaddr2uaddr.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_addr.c_rpc_sockaddr2uaddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RPCBIND_MAXUADDRPLEN = common local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXUADDRLEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c".%u.%u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @rpc_sockaddr2uaddr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @RPCBIND_MAXUADDRPLEN, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = load i32, ptr @RPCBIND_MAXUADDRLEN, align 4, !tbaa !6
%7 = zext i32 %6 to i64
%8 = alloca i8, i64 %7, align 1
%9 = load i32, ptr %0, align 4, !tbaa !10
switch i32 %9, label %29 [
i32 129, label %10
i32 128, label %13
]
10: ; preds = %2
%11 = call i32 @rpc_ntop4(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %6) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %29, label %16
13: ; preds = %2
%14 = call i32 @rpc_ntop6_noscopeid(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %6) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %29, label %16
16: ; preds = %13, %10
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = call zeroext i16 @ntohs(i32 noundef %17) #2
%19 = lshr i16 %18, 8
%20 = and i16 %18, 255
%21 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str, i16 noundef zeroext %19, i16 noundef zeroext %20) #2
%22 = icmp sgt i32 %21, %3
br i1 %22, label %29, label %23
23: ; preds = %16
%24 = call i32 @strlcat(ptr noundef nonnull %8, ptr noundef nonnull %5, i32 noundef %6) #2
%25 = sext i32 %24 to i64
%26 = icmp ugt i64 %25, %7
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = call ptr @kstrdup(ptr noundef nonnull %8, i32 noundef %1) #2
br label %29
29: ; preds = %23, %16, %2, %13, %10, %27
%30 = phi ptr [ %28, %27 ], [ null, %10 ], [ null, %13 ], [ null, %2 ], [ null, %16 ], [ null, %23 ]
ret ptr %30
}
declare i32 @rpc_ntop4(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare zeroext i16 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @rpc_ntop6_noscopeid(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sockaddr", !7, i64 0}
| linux_net_sunrpc_extr_addr.c_rpc_sockaddr2uaddr |
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_pluginhost.c_invoke_plugin_prop.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_pluginhost.c_invoke_plugin_prop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr, ptr }
@.str = private unnamed_addr constant [21 x i8] c"Called with no disp\0A\00", align 1
@E_UNEXPECTED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Insecure object\0A\00", align 1
@E_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@MSHTML_DISPID_CUSTOM_MIN = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c"Invalid id\0A\00", align 1
@IID_NULL = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @invoke_plugin_prop(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load i32, ptr %9, align 4, !tbaa !11
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11, %7
%15 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2
%16 = load i32, ptr @E_UNEXPECTED, align 4, !tbaa !14
br label %41
17: ; preds = %11
%18 = tail call i32 @check_script_safety(ptr noundef nonnull %9) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2
%22 = load i32, ptr @E_FAIL, align 4, !tbaa !14
br label %41
23: ; preds = %17
%24 = load i64, ptr @MSHTML_DISPID_CUSTOM_MIN, align 8, !tbaa !15
%25 = icmp sgt i64 %24, %1
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = load i64, ptr %0, align 8, !tbaa !16
%28 = add nsw i64 %27, %24
%29 = icmp slt i64 %28, %1
br i1 %29, label %30, label %33
30: ; preds = %26, %23
%31 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2
%32 = load i32, ptr @E_FAIL, align 4, !tbaa !14
br label %41
33: ; preds = %26
%34 = load i32, ptr %9, align 4, !tbaa !11
%35 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%36 = load ptr, ptr %35, align 8, !tbaa !17
%37 = sub nsw i64 %1, %24
%38 = getelementptr inbounds i32, ptr %36, i64 %37
%39 = load i32, ptr %38, align 4, !tbaa !14
%40 = tail call i32 @IDispatch_Invoke(i32 noundef %34, i32 noundef %39, ptr noundef nonnull @IID_NULL, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef null) #2
br label %41
41: ; preds = %33, %30, %20, %14
%42 = phi i32 [ %32, %30 ], [ %40, %33 ], [ %22, %20 ], [ %16, %14 ]
ret i32 %42
}
declare i32 @FIXME(ptr noundef) local_unnamed_addr #1
declare i32 @check_script_safety(ptr noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i32 @IDispatch_Invoke(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_pluginhost.c_invoke_plugin_prop.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_pluginhost.c_invoke_plugin_prop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [21 x i8] c"Called with no disp\0A\00", align 1
@E_UNEXPECTED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Insecure object\0A\00", align 1
@E_FAIL = common local_unnamed_addr global i32 0, align 4
@MSHTML_DISPID_CUSTOM_MIN = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c"Invalid id\0A\00", align 1
@IID_NULL = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @invoke_plugin_prop(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %7
%12 = load i32, ptr %9, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11, %7
%15 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2
%16 = load i32, ptr @E_UNEXPECTED, align 4, !tbaa !15
br label %41
17: ; preds = %11
%18 = tail call i32 @check_script_safety(ptr noundef nonnull %9) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2
%22 = load i32, ptr @E_FAIL, align 4, !tbaa !15
br label %41
23: ; preds = %17
%24 = load i64, ptr @MSHTML_DISPID_CUSTOM_MIN, align 8, !tbaa !16
%25 = icmp sgt i64 %24, %1
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = load i64, ptr %0, align 8, !tbaa !17
%28 = add nsw i64 %27, %24
%29 = icmp slt i64 %28, %1
br i1 %29, label %30, label %33
30: ; preds = %26, %23
%31 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2
%32 = load i32, ptr @E_FAIL, align 4, !tbaa !15
br label %41
33: ; preds = %26
%34 = load i32, ptr %9, align 4, !tbaa !12
%35 = getelementptr inbounds i8, ptr %0, i64 8
%36 = load ptr, ptr %35, align 8, !tbaa !18
%37 = sub nsw i64 %1, %24
%38 = getelementptr inbounds i32, ptr %36, i64 %37
%39 = load i32, ptr %38, align 4, !tbaa !15
%40 = tail call i32 @IDispatch_Invoke(i32 noundef %34, i32 noundef %39, ptr noundef nonnull @IID_NULL, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef null) #2
br label %41
41: ; preds = %33, %30, %20, %14
%42 = phi i32 [ %32, %30 ], [ %40, %33 ], [ %22, %20 ], [ %16, %14 ]
ret i32 %42
}
declare i32 @FIXME(ptr noundef) local_unnamed_addr #1
declare i32 @check_script_safety(ptr noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i32 @IDispatch_Invoke(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !11, i64 8}
| reactos_dll_win32_mshtml_extr_pluginhost.c_invoke_plugin_prop |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_ra.c_svn_client__repos_location_segments.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_ra.c_svn_client__repos_location_segments.c"
target datalayout = "e-m:e-p270:32:32-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.gls_receiver_baton_t = type { ptr, ptr, ptr }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@gls_receiver = dso_local local_unnamed_addr global i32 0, align 4
@compare_segments = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_client__repos_location_segments(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca %struct.gls_receiver_baton_t, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%11 = tail call ptr @apr_array_make(ptr noundef %7, i32 noundef 8, i32 noundef 8) #3
store ptr %11, ptr %0, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.gls_receiver_baton_t, ptr %9, i64 0, i32 2
store ptr %11, ptr %12, align 8, !tbaa !9
%13 = getelementptr inbounds %struct.gls_receiver_baton_t, ptr %9, i64 0, i32 1
store ptr %6, ptr %13, align 8, !tbaa !11
store ptr %7, ptr %9, align 8, !tbaa !12
%14 = call i32 @svn_client__ensure_ra_session_url(ptr noundef nonnull %10, ptr noundef %1, ptr noundef %2, ptr noundef %7) #3
%15 = call i32 @SVN_ERR(i32 noundef %14) #3
%16 = load i32, ptr @gls_receiver, align 4, !tbaa !13
%17 = call ptr @svn_ra_get_location_segments(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %16, ptr noundef nonnull %9, ptr noundef %7) #3
%18 = load ptr, ptr %10, align 8, !tbaa !5
%19 = call i32 @svn_ra_reparent(ptr noundef %1, ptr noundef %18, ptr noundef %7) #3
%20 = call i32 @svn_error_compose_create(ptr noundef %17, i32 noundef %19) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load ptr, ptr %0, align 8, !tbaa !5
%23 = load i32, ptr @compare_segments, align 4, !tbaa !13
%24 = call i32 @svn_sort__array(ptr noundef %22, i32 noundef %23) #3
%25 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
ret ptr %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @apr_array_make(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_client__ensure_ra_session_url(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_ra_get_location_segments(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svn_ra_reparent(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_sort__array(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"gls_receiver_baton_t", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_ra.c_svn_client__repos_location_segments.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_ra.c_svn_client__repos_location_segments.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.gls_receiver_baton_t = type { ptr, ptr, ptr }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@gls_receiver = common local_unnamed_addr global i32 0, align 4
@compare_segments = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_client__repos_location_segments(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca %struct.gls_receiver_baton_t, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%11 = tail call ptr @apr_array_make(ptr noundef %7, i32 noundef 8, i32 noundef 8) #3
store ptr %11, ptr %0, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %9, i64 16
store ptr %11, ptr %12, align 8, !tbaa !10
%13 = getelementptr inbounds i8, ptr %9, i64 8
store ptr %6, ptr %13, align 8, !tbaa !12
store ptr %7, ptr %9, align 8, !tbaa !13
%14 = call i32 @svn_client__ensure_ra_session_url(ptr noundef nonnull %10, ptr noundef %1, ptr noundef %2, ptr noundef %7) #3
%15 = call i32 @SVN_ERR(i32 noundef %14) #3
%16 = load i32, ptr @gls_receiver, align 4, !tbaa !14
%17 = call ptr @svn_ra_get_location_segments(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %16, ptr noundef nonnull %9, ptr noundef %7) #3
%18 = load ptr, ptr %10, align 8, !tbaa !6
%19 = call i32 @svn_ra_reparent(ptr noundef %1, ptr noundef %18, ptr noundef %7) #3
%20 = call i32 @svn_error_compose_create(ptr noundef %17, i32 noundef %19) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load ptr, ptr %0, align 8, !tbaa !6
%23 = load i32, ptr @compare_segments, align 4, !tbaa !14
%24 = call i32 @svn_sort__array(ptr noundef %22, i32 noundef %23) #3
%25 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
ret ptr %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @apr_array_make(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_client__ensure_ra_session_url(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_ra_get_location_segments(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svn_ra_reparent(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_sort__array(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"gls_receiver_baton_t", !7, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_client_extr_ra.c_svn_client__repos_location_segments |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_omadec.c_read_packet.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_omadec.c_read_packet.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, ptr }
%struct.TYPE_13__ = type { %struct.TYPE_11__, ptr }
%struct.TYPE_11__ = type { i64, i32 }
%struct.TYPE_10__ = type { i32, i32 }
%struct.TYPE_14__ = type { i32, i32, i32, i64, i32 }
%struct.TYPE_12__ = type { i64, i32, i32, i64 }
@AV_PKT_FLAG_CORRUPT = dso_local local_unnamed_addr global i32 0, align 4
@AVERROR_EOF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !17
%11 = getelementptr inbounds %struct.TYPE_10__, ptr %9, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = ashr i32 %12, 3
%14 = load i32, ptr %0, align 8, !tbaa !20
%15 = tail call i64 @avio_tell(i32 noundef %14) #2
%16 = load i32, ptr %0, align 8, !tbaa !20
%17 = tail call i32 @av_get_packet(i32 noundef %16, ptr noundef %1, i32 noundef %10) #2
%18 = icmp slt i32 %17, %10
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load i32, ptr @AV_PKT_FLAG_CORRUPT, align 4, !tbaa !21
%21 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 4
%22 = load i32, ptr %21, align 8, !tbaa !22
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 8, !tbaa !22
br label %24
24: ; preds = %19, %2
%25 = icmp slt i32 %17, 0
br i1 %25, label %64, label %26
26: ; preds = %24
%27 = icmp eq i32 %17, 0
br i1 %27, label %28, label %30
28: ; preds = %26
%29 = load i32, ptr @AVERROR_EOF, align 4, !tbaa !21
br label %64
30: ; preds = %26
%31 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 3
store i64 0, ptr %31, align 8, !tbaa !24
%32 = load i64, ptr %4, align 8, !tbaa !25
%33 = icmp sge i64 %15, %32
%34 = icmp sgt i32 %13, 0
%35 = select i1 %33, i1 %34, i1 false
br i1 %35, label %36, label %46
36: ; preds = %30
%37 = sub nsw i64 %15, %32
%38 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 0, i32 1
%39 = load i32, ptr %38, align 8, !tbaa !27
%40 = load i64, ptr %7, align 8, !tbaa !28
%41 = trunc i64 %40 to i32
%42 = mul i32 %13, %41
%43 = tail call i32 @av_rescale(i64 noundef %37, i32 noundef %39, i32 noundef %42) #2
%44 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1
store i32 %43, ptr %44, align 4, !tbaa !29
%45 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 2
store i32 %43, ptr %45, align 8, !tbaa !30
br label %46
46: ; preds = %36, %30
%47 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 3
%48 = load i64, ptr %47, align 8, !tbaa !31
%49 = icmp eq i64 %48, 0
br i1 %49, label %64, label %50
50: ; preds = %46
%51 = icmp eq i32 %17, %10
br i1 %51, label %52, label %60
52: ; preds = %50
%53 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 2
%54 = load i32, ptr %53, align 4, !tbaa !32
%55 = load i32, ptr %1, align 8, !tbaa !33
%56 = lshr i32 %10, 3
%57 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1
%58 = load i32, ptr %57, align 8, !tbaa !34
%59 = tail call i32 @av_des_crypt(i32 noundef %54, i32 noundef %55, i32 noundef %55, i32 noundef %56, i32 noundef %58, i32 noundef 1) #2
br label %64
60: ; preds = %50
%61 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1
%62 = load i32, ptr %61, align 8, !tbaa !34
%63 = tail call i32 @memset(i32 noundef %62, i32 noundef 0, i32 noundef 8) #2
br label %64
64: ; preds = %46, %60, %52, %24, %28
%65 = phi i32 [ %29, %28 ], [ %17, %24 ], [ %10, %52 ], [ %17, %60 ], [ %17, %46 ]
ret i32 %65
}
declare i64 @avio_tell(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_packet(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_rescale(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_des_crypt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"TYPE_13__", !15, i64 0, !10, i64 16}
!15 = !{!"TYPE_11__", !16, i64 0, !7, i64 8}
!16 = !{!"long", !8, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_10__", !7, i64 0, !7, i64 4}
!19 = !{!18, !7, i64 4}
!20 = !{!6, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !7, i64 24}
!23 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8, !16, i64 16, !7, i64 24}
!24 = !{!23, !16, i64 16}
!25 = !{!26, !16, i64 0}
!26 = !{!"TYPE_12__", !16, i64 0, !7, i64 8, !7, i64 12, !16, i64 16}
!27 = !{!14, !7, i64 8}
!28 = !{!14, !16, i64 0}
!29 = !{!23, !7, i64 4}
!30 = !{!23, !7, i64 8}
!31 = !{!26, !16, i64 16}
!32 = !{!26, !7, i64 12}
!33 = !{!23, !7, i64 0}
!34 = !{!26, !7, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_omadec.c_read_packet.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_omadec.c_read_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_PKT_FLAG_CORRUPT = common local_unnamed_addr global i32 0, align 4
@AVERROR_EOF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %7, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i32, ptr %9, align 4, !tbaa !18
%11 = getelementptr inbounds i8, ptr %9, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !20
%13 = ashr i32 %12, 3
%14 = load i32, ptr %0, align 8, !tbaa !21
%15 = tail call i64 @avio_tell(i32 noundef %14) #2
%16 = load i32, ptr %0, align 8, !tbaa !21
%17 = tail call i32 @av_get_packet(i32 noundef %16, ptr noundef %1, i32 noundef %10) #2
%18 = icmp slt i32 %17, %10
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load i32, ptr @AV_PKT_FLAG_CORRUPT, align 4, !tbaa !22
%21 = getelementptr inbounds i8, ptr %1, i64 24
%22 = load i32, ptr %21, align 8, !tbaa !23
%23 = or i32 %22, %20
store i32 %23, ptr %21, align 8, !tbaa !23
br label %24
24: ; preds = %19, %2
%25 = icmp slt i32 %17, 0
br i1 %25, label %64, label %26
26: ; preds = %24
%27 = icmp eq i32 %17, 0
br i1 %27, label %28, label %30
28: ; preds = %26
%29 = load i32, ptr @AVERROR_EOF, align 4, !tbaa !22
br label %64
30: ; preds = %26
%31 = getelementptr inbounds i8, ptr %1, i64 16
store i64 0, ptr %31, align 8, !tbaa !25
%32 = load i64, ptr %4, align 8, !tbaa !26
%33 = icmp sge i64 %15, %32
%34 = icmp sgt i32 %13, 0
%35 = select i1 %33, i1 %34, i1 false
br i1 %35, label %36, label %46
36: ; preds = %30
%37 = sub nsw i64 %15, %32
%38 = getelementptr inbounds i8, ptr %7, i64 8
%39 = load i32, ptr %38, align 8, !tbaa !28
%40 = load i64, ptr %7, align 8, !tbaa !29
%41 = trunc i64 %40 to i32
%42 = mul i32 %13, %41
%43 = tail call i32 @av_rescale(i64 noundef %37, i32 noundef %39, i32 noundef %42) #2
%44 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %43, ptr %44, align 4, !tbaa !30
%45 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %43, ptr %45, align 8, !tbaa !31
br label %46
46: ; preds = %36, %30
%47 = getelementptr inbounds i8, ptr %4, i64 16
%48 = load i64, ptr %47, align 8, !tbaa !32
%49 = icmp eq i64 %48, 0
br i1 %49, label %64, label %50
50: ; preds = %46
%51 = icmp eq i32 %17, %10
br i1 %51, label %52, label %60
52: ; preds = %50
%53 = getelementptr inbounds i8, ptr %4, i64 12
%54 = load i32, ptr %53, align 4, !tbaa !33
%55 = load i32, ptr %1, align 8, !tbaa !34
%56 = lshr i32 %10, 3
%57 = getelementptr inbounds i8, ptr %4, i64 8
%58 = load i32, ptr %57, align 8, !tbaa !35
%59 = tail call i32 @av_des_crypt(i32 noundef %54, i32 noundef %55, i32 noundef %55, i32 noundef %56, i32 noundef %58, i32 noundef 1) #2
br label %64
60: ; preds = %50
%61 = getelementptr inbounds i8, ptr %4, i64 8
%62 = load i32, ptr %61, align 8, !tbaa !35
%63 = tail call i32 @memset(i32 noundef %62, i32 noundef 0, i32 noundef 8) #2
br label %64
64: ; preds = %46, %60, %52, %24, %28
%65 = phi i32 [ %29, %28 ], [ %17, %24 ], [ %10, %52 ], [ %17, %60 ], [ %17, %46 ]
ret i32 %65
}
declare i64 @avio_tell(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_packet(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_rescale(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_des_crypt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_13__", !16, i64 0, !11, i64 16}
!16 = !{!"TYPE_11__", !17, i64 0, !8, i64 8}
!17 = !{!"long", !9, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_10__", !8, i64 0, !8, i64 4}
!20 = !{!19, !8, i64 4}
!21 = !{!7, !8, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !8, i64 24}
!24 = !{!"TYPE_14__", !8, i64 0, !8, i64 4, !8, i64 8, !17, i64 16, !8, i64 24}
!25 = !{!24, !17, i64 16}
!26 = !{!27, !17, i64 0}
!27 = !{!"TYPE_12__", !17, i64 0, !8, i64 8, !8, i64 12, !17, i64 16}
!28 = !{!15, !8, i64 8}
!29 = !{!15, !17, i64 0}
!30 = !{!24, !8, i64 4}
!31 = !{!24, !8, i64 8}
!32 = !{!27, !17, i64 16}
!33 = !{!27, !8, i64 12}
!34 = !{!24, !8, i64 0}
!35 = !{!27, !8, i64 8}
| FFmpeg_libavformat_extr_omadec.c_read_packet |
; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_boot.h_cmdline_find_option.c'
source_filename = "AnghaBench/linux/arch/x86/boot/extr_boot.h_cmdline_find_option.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@boot_params = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmdline_find_option], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @cmdline_find_option(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr @boot_params, align 8, !tbaa !5
%5 = icmp ugt i64 %4, 1048575
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @__cmdline_find_option(i64 noundef %4, ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %8
8: ; preds = %3, %6
%9 = phi i32 [ %7, %6 ], [ -1, %3 ]
ret i32 %9
}
declare i32 @__cmdline_find_option(i64 noundef, ptr noundef, 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)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_boot.h_cmdline_find_option.c'
source_filename = "AnghaBench/linux/arch/x86/boot/extr_boot.h_cmdline_find_option.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 { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@boot_params = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @cmdline_find_option], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @cmdline_find_option(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr @boot_params, align 8, !tbaa !6
%5 = icmp ugt i64 %4, 1048575
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @__cmdline_find_option(i64 noundef %4, ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
br label %8
8: ; preds = %3, %6
%9 = phi i32 [ %7, %6 ], [ -1, %3 ]
ret i32 %9
}
declare i32 @__cmdline_find_option(i64 noundef, ptr noundef, 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)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_boot_extr_boot.h_cmdline_find_option |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_dao_put_ctrl_blk.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_dao_put_ctrl_blk.c"
target datalayout = "e-m:e-p270:32:32-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 @dao_put_ctrl_blk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dao_put_ctrl_blk(ptr noundef %0) #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret i32 0
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_dao_put_ctrl_blk.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_dao_put_ctrl_blk.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 @dao_put_ctrl_blk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dao_put_ctrl_blk(ptr noundef %0) #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret i32 0
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_sound_pci_ctxfi_extr_cthw20k2.c_dao_put_ctrl_blk |
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_ich_chip_init.c'
source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_ich_chip_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.intel8x0m = type { i64, ptr, ptr }
@ICH_RCS = dso_local local_unnamed_addr global i32 0, align 4
@ICH_MIINT = dso_local local_unnamed_addr global i32 0, align 4
@ICH_MOINT = dso_local local_unnamed_addr global i32 0, align 4
@GLOB_STA = dso_local local_unnamed_addr global i32 0, align 4
@GLOB_CNT = dso_local local_unnamed_addr global i32 0, align 4
@ICH_ACLINK = dso_local local_unnamed_addr global i32 0, align 4
@ICH_AC97COLD = dso_local local_unnamed_addr global i32 0, align 4
@ICH_AC97WARM = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"AC'97 warm reset still in progress? [0x%x]\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@ICH_PCR = dso_local local_unnamed_addr global i32 0, align 4
@ICH_SCR = dso_local local_unnamed_addr global i32 0, align 4
@ICH_TCR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"codec_ready: codec is not ready [0x%x]\0A\00", align 1
@DEVICE_SIS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_intel8x0m_ich_chip_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_intel8x0m_ich_chip_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @ICH_RCS, align 4, !tbaa !5
%4 = load i32, ptr @ICH_MIINT, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr @ICH_MOINT, align 4, !tbaa !5
%7 = or i32 %5, %6
%8 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%9 = tail call i32 @ICHREG(i32 noundef %8) #2
%10 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %9) #2
%11 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%12 = tail call i32 @ICHREG(i32 noundef %11) #2
%13 = and i32 %10, %7
%14 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5
%16 = tail call i32 @ICHREG(i32 noundef %15) #2
%17 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @ICH_ACLINK, align 4, !tbaa !5
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i32, ptr @ICH_AC97COLD, align 4
%22 = and i32 %20, %21
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr @ICH_AC97WARM, align 4
%25 = select i1 %23, i32 %21, i32 %24
%26 = or i32 %25, %20
%27 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5
%28 = tail call i32 @ICHREG(i32 noundef %27) #2
%29 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %28, i32 noundef %26) #2
%30 = tail call i32 @usleep_range(i32 noundef 500, i32 noundef 1000) #2
%31 = load i32, ptr @jiffies, align 4, !tbaa !5
%32 = load i32, ptr @HZ, align 4, !tbaa !5
%33 = sdiv i32 %32, 4
%34 = add nsw i32 %33, %31
%35 = sext i32 %34 to i64
br label %36
36: ; preds = %43, %2
%37 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5
%38 = tail call i32 @ICHREG(i32 noundef %37) #2
%39 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %38) #2
%40 = load i32, ptr @ICH_AC97WARM, align 4, !tbaa !5
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %58, label %43
43: ; preds = %36
%44 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%45 = load i32, ptr @jiffies, align 4, !tbaa !5
%46 = tail call i64 @time_after_eq(i64 noundef %35, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %36, !llvm.loop !9
48: ; preds = %43
%49 = getelementptr inbounds %struct.intel8x0m, ptr %0, i64 0, i32 2
%50 = load ptr, ptr %49, align 8, !tbaa !11
%51 = load i32, ptr %50, align 4, !tbaa !15
%52 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5
%53 = tail call i32 @ICHREG(i32 noundef %52) #2
%54 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %53) #2
%55 = tail call i32 @dev_err(i32 noundef %51, ptr noundef nonnull @.str, i32 noundef %54) #2
%56 = load i32, ptr @EIO, align 4, !tbaa !5
%57 = sub nsw i32 0, %56
br label %148
58: ; preds = %36
%59 = icmp eq i32 %1, 0
br i1 %59, label %111, label %60
60: ; preds = %58
%61 = load i32, ptr @jiffies, align 4, !tbaa !5
%62 = load i32, ptr @HZ, align 4, !tbaa !5
%63 = add nsw i32 %62, %61
%64 = sext i32 %63 to i64
br label %65
65: ; preds = %76, %60
%66 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%67 = tail call i32 @ICHREG(i32 noundef %66) #2
%68 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %67) #2
%69 = load i32, ptr @ICH_PCR, align 4, !tbaa !5
%70 = load i32, ptr @ICH_SCR, align 4, !tbaa !5
%71 = or i32 %70, %69
%72 = load i32, ptr @ICH_TCR, align 4, !tbaa !5
%73 = or i32 %71, %72
%74 = and i32 %73, %68
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %91
76: ; preds = %65
%77 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%78 = load i32, ptr @jiffies, align 4, !tbaa !5
%79 = tail call i64 @time_after_eq(i64 noundef %64, i32 noundef %78) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %65, !llvm.loop !17
81: ; preds = %76
%82 = getelementptr inbounds %struct.intel8x0m, ptr %0, i64 0, i32 2
%83 = load ptr, ptr %82, align 8, !tbaa !11
%84 = load i32, ptr %83, align 4, !tbaa !15
%85 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%86 = tail call i32 @ICHREG(i32 noundef %85) #2
%87 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %86) #2
%88 = tail call i32 @dev_err(i32 noundef %84, ptr noundef nonnull @.str.1, i32 noundef %87) #2
%89 = load i32, ptr @EIO, align 4, !tbaa !5
%90 = sub nsw i32 0, %89
br label %148
91: ; preds = %65
%92 = load i32, ptr @jiffies, align 4, !tbaa !5
%93 = load i32, ptr @HZ, align 4, !tbaa !5
%94 = sdiv i32 %93, 4
%95 = add nsw i32 %94, %92
%96 = sext i32 %95 to i64
%97 = icmp eq i32 %74, %71
br i1 %97, label %140, label %98
98: ; preds = %91, %103
%99 = phi i32 [ %109, %103 ], [ %74, %91 ]
%100 = load i32, ptr @jiffies, align 4, !tbaa !5
%101 = tail call i64 @time_after_eq(i64 noundef %96, i32 noundef %100) #2
%102 = icmp eq i64 %101, 0
br i1 %102, label %140, label %103
103: ; preds = %98
%104 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%105 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%106 = tail call i32 @ICHREG(i32 noundef %105) #2
%107 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %106) #2
%108 = and i32 %107, %71
%109 = or i32 %108, %99
%110 = icmp eq i32 %109, %71
br i1 %110, label %140, label %98, !llvm.loop !18
111: ; preds = %58
%112 = getelementptr inbounds %struct.intel8x0m, ptr %0, i64 0, i32 1
%113 = load ptr, ptr %112, align 8, !tbaa !19
%114 = icmp eq ptr %113, null
br i1 %114, label %118, label %115
115: ; preds = %111
%116 = load i32, ptr %113, align 4, !tbaa !20
%117 = tail call i32 @get_ich_codec_bit(ptr noundef nonnull %0, i32 noundef %116) #2
br label %118
118: ; preds = %115, %111
%119 = phi i32 [ %117, %115 ], [ 0, %111 ]
%120 = load i32, ptr @jiffies, align 4, !tbaa !5
%121 = load i32, ptr @HZ, align 4, !tbaa !5
%122 = add nsw i32 %121, %120
%123 = sext i32 %122 to i64
br label %124
124: ; preds = %135, %118
%125 = load i32, ptr @GLOB_STA, align 4, !tbaa !5
%126 = tail call i32 @ICHREG(i32 noundef %125) #2
%127 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %126) #2
%128 = load i32, ptr @ICH_PCR, align 4, !tbaa !5
%129 = load i32, ptr @ICH_SCR, align 4, !tbaa !5
%130 = or i32 %129, %128
%131 = load i32, ptr @ICH_TCR, align 4, !tbaa !5
%132 = or i32 %130, %131
%133 = and i32 %132, %127
%134 = icmp eq i32 %119, %133
br i1 %134, label %140, label %135
135: ; preds = %124
%136 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%137 = load i32, ptr @jiffies, align 4, !tbaa !5
%138 = tail call i64 @time_after_eq(i64 noundef %123, i32 noundef %137) #2
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %124, !llvm.loop !22
140: ; preds = %103, %98, %135, %124, %91
%141 = load i64, ptr %0, align 8, !tbaa !23
%142 = load i64, ptr @DEVICE_SIS, align 8, !tbaa !24
%143 = icmp eq i64 %141, %142
br i1 %143, label %144, label %148
144: ; preds = %140
%145 = tail call i32 @igetword(ptr noundef nonnull %0, i32 noundef 76) #2
%146 = or i32 %145, 1
%147 = tail call i32 @iputword(ptr noundef nonnull %0, i32 noundef 76, i32 noundef %146) #2
br label %148
148: ; preds = %140, %144, %81, %48
%149 = phi i32 [ %90, %81 ], [ %57, %48 ], [ 0, %144 ], [ 0, %140 ]
ret i32 %149
}
declare i32 @igetdword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ICHREG(i32 noundef) local_unnamed_addr #1
declare i32 @iputdword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1
declare i64 @time_after_eq(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_ich_codec_bit(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iputword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @igetword(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 16}
!12 = !{!"intel8x0m", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_3__", !6, i64 0}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = !{!12, !14, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_4__", !6, i64 0}
!22 = distinct !{!22, !10}
!23 = !{!12, !13, i64 0}
!24 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_ich_chip_init.c'
source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_ich_chip_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ICH_RCS = common local_unnamed_addr global i32 0, align 4
@ICH_MIINT = common local_unnamed_addr global i32 0, align 4
@ICH_MOINT = common local_unnamed_addr global i32 0, align 4
@GLOB_STA = common local_unnamed_addr global i32 0, align 4
@GLOB_CNT = common local_unnamed_addr global i32 0, align 4
@ICH_ACLINK = common local_unnamed_addr global i32 0, align 4
@ICH_AC97COLD = common local_unnamed_addr global i32 0, align 4
@ICH_AC97WARM = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"AC'97 warm reset still in progress? [0x%x]\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@ICH_PCR = common local_unnamed_addr global i32 0, align 4
@ICH_SCR = common local_unnamed_addr global i32 0, align 4
@ICH_TCR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"codec_ready: codec is not ready [0x%x]\0A\00", align 1
@DEVICE_SIS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_intel8x0m_ich_chip_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @snd_intel8x0m_ich_chip_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @ICH_RCS, align 4, !tbaa !6
%4 = load i32, ptr @ICH_MIINT, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr @ICH_MOINT, align 4, !tbaa !6
%7 = or i32 %5, %6
%8 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%9 = tail call i32 @ICHREG(i32 noundef %8) #2
%10 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %9) #2
%11 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%12 = tail call i32 @ICHREG(i32 noundef %11) #2
%13 = and i32 %10, %7
%14 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6
%16 = tail call i32 @ICHREG(i32 noundef %15) #2
%17 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @ICH_ACLINK, align 4, !tbaa !6
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i32, ptr @ICH_AC97COLD, align 4
%22 = and i32 %20, %21
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr @ICH_AC97WARM, align 4
%25 = select i1 %23, i32 %21, i32 %24
%26 = or i32 %25, %20
%27 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6
%28 = tail call i32 @ICHREG(i32 noundef %27) #2
%29 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %28, i32 noundef %26) #2
%30 = tail call i32 @usleep_range(i32 noundef 500, i32 noundef 1000) #2
%31 = load i32, ptr @jiffies, align 4, !tbaa !6
%32 = load i32, ptr @HZ, align 4, !tbaa !6
%33 = sdiv i32 %32, 4
%34 = add nsw i32 %33, %31
%35 = sext i32 %34 to i64
br label %36
36: ; preds = %43, %2
%37 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6
%38 = tail call i32 @ICHREG(i32 noundef %37) #2
%39 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %38) #2
%40 = load i32, ptr @ICH_AC97WARM, align 4, !tbaa !6
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %58, label %43
43: ; preds = %36
%44 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%45 = load i32, ptr @jiffies, align 4, !tbaa !6
%46 = tail call i64 @time_after_eq(i64 noundef %35, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %36, !llvm.loop !10
48: ; preds = %43
%49 = getelementptr inbounds i8, ptr %0, i64 16
%50 = load ptr, ptr %49, align 8, !tbaa !12
%51 = load i32, ptr %50, align 4, !tbaa !16
%52 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6
%53 = tail call i32 @ICHREG(i32 noundef %52) #2
%54 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %53) #2
%55 = tail call i32 @dev_err(i32 noundef %51, ptr noundef nonnull @.str, i32 noundef %54) #2
%56 = load i32, ptr @EIO, align 4, !tbaa !6
%57 = sub nsw i32 0, %56
br label %148
58: ; preds = %36
%59 = icmp eq i32 %1, 0
br i1 %59, label %111, label %60
60: ; preds = %58
%61 = load i32, ptr @jiffies, align 4, !tbaa !6
%62 = load i32, ptr @HZ, align 4, !tbaa !6
%63 = add nsw i32 %62, %61
%64 = sext i32 %63 to i64
br label %65
65: ; preds = %76, %60
%66 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%67 = tail call i32 @ICHREG(i32 noundef %66) #2
%68 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %67) #2
%69 = load i32, ptr @ICH_PCR, align 4, !tbaa !6
%70 = load i32, ptr @ICH_SCR, align 4, !tbaa !6
%71 = or i32 %70, %69
%72 = load i32, ptr @ICH_TCR, align 4, !tbaa !6
%73 = or i32 %71, %72
%74 = and i32 %73, %68
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %91
76: ; preds = %65
%77 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%78 = load i32, ptr @jiffies, align 4, !tbaa !6
%79 = tail call i64 @time_after_eq(i64 noundef %64, i32 noundef %78) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %65, !llvm.loop !18
81: ; preds = %76
%82 = getelementptr inbounds i8, ptr %0, i64 16
%83 = load ptr, ptr %82, align 8, !tbaa !12
%84 = load i32, ptr %83, align 4, !tbaa !16
%85 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%86 = tail call i32 @ICHREG(i32 noundef %85) #2
%87 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %86) #2
%88 = tail call i32 @dev_err(i32 noundef %84, ptr noundef nonnull @.str.1, i32 noundef %87) #2
%89 = load i32, ptr @EIO, align 4, !tbaa !6
%90 = sub nsw i32 0, %89
br label %148
91: ; preds = %65
%92 = load i32, ptr @jiffies, align 4, !tbaa !6
%93 = load i32, ptr @HZ, align 4, !tbaa !6
%94 = sdiv i32 %93, 4
%95 = add nsw i32 %94, %92
%96 = sext i32 %95 to i64
%97 = icmp eq i32 %74, %71
br i1 %97, label %140, label %98
98: ; preds = %91, %103
%99 = phi i32 [ %109, %103 ], [ %74, %91 ]
%100 = load i32, ptr @jiffies, align 4, !tbaa !6
%101 = tail call i64 @time_after_eq(i64 noundef %96, i32 noundef %100) #2
%102 = icmp eq i64 %101, 0
br i1 %102, label %140, label %103
103: ; preds = %98
%104 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%105 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%106 = tail call i32 @ICHREG(i32 noundef %105) #2
%107 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %106) #2
%108 = and i32 %107, %71
%109 = or i32 %108, %99
%110 = icmp eq i32 %109, %71
br i1 %110, label %140, label %98, !llvm.loop !19
111: ; preds = %58
%112 = getelementptr inbounds i8, ptr %0, i64 8
%113 = load ptr, ptr %112, align 8, !tbaa !20
%114 = icmp eq ptr %113, null
br i1 %114, label %118, label %115
115: ; preds = %111
%116 = load i32, ptr %113, align 4, !tbaa !21
%117 = tail call i32 @get_ich_codec_bit(ptr noundef nonnull %0, i32 noundef %116) #2
br label %118
118: ; preds = %115, %111
%119 = phi i32 [ %117, %115 ], [ 0, %111 ]
%120 = load i32, ptr @jiffies, align 4, !tbaa !6
%121 = load i32, ptr @HZ, align 4, !tbaa !6
%122 = add nsw i32 %121, %120
%123 = sext i32 %122 to i64
br label %124
124: ; preds = %135, %118
%125 = load i32, ptr @GLOB_STA, align 4, !tbaa !6
%126 = tail call i32 @ICHREG(i32 noundef %125) #2
%127 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %126) #2
%128 = load i32, ptr @ICH_PCR, align 4, !tbaa !6
%129 = load i32, ptr @ICH_SCR, align 4, !tbaa !6
%130 = or i32 %129, %128
%131 = load i32, ptr @ICH_TCR, align 4, !tbaa !6
%132 = or i32 %130, %131
%133 = and i32 %132, %127
%134 = icmp eq i32 %119, %133
br i1 %134, label %140, label %135
135: ; preds = %124
%136 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2
%137 = load i32, ptr @jiffies, align 4, !tbaa !6
%138 = tail call i64 @time_after_eq(i64 noundef %123, i32 noundef %137) #2
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %124, !llvm.loop !23
140: ; preds = %103, %98, %135, %124, %91
%141 = load i64, ptr %0, align 8, !tbaa !24
%142 = load i64, ptr @DEVICE_SIS, align 8, !tbaa !25
%143 = icmp eq i64 %141, %142
br i1 %143, label %144, label %148
144: ; preds = %140
%145 = tail call i32 @igetword(ptr noundef nonnull %0, i32 noundef 76) #2
%146 = or i32 %145, 1
%147 = tail call i32 @iputword(ptr noundef nonnull %0, i32 noundef 76, i32 noundef %146) #2
br label %148
148: ; preds = %140, %144, %81, %48
%149 = phi i32 [ %90, %81 ], [ %57, %48 ], [ 0, %144 ], [ 0, %140 ]
ret i32 %149
}
declare i32 @igetdword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ICHREG(i32 noundef) local_unnamed_addr #1
declare i32 @iputdword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1
declare i64 @time_after_eq(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_ich_codec_bit(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iputword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @igetword(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !15, i64 16}
!13 = !{!"intel8x0m", !14, i64 0, !15, i64 8, !15, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_3__", !7, i64 0}
!18 = distinct !{!18, !11}
!19 = distinct !{!19, !11}
!20 = !{!13, !15, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_4__", !7, i64 0}
!23 = distinct !{!23, !11}
!24 = !{!13, !14, i64 0}
!25 = !{!14, !14, i64 0}
| linux_sound_pci_extr_intel8x0m.c_snd_intel8x0m_ich_chip_init |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_lubbock.c_lubbock_irda_transceiver_mode.c'
source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_lubbock.c_lubbock_irda_transceiver_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"
@IR_SIRMODE = dso_local local_unnamed_addr global i32 0, align 4
@IR_FIRMODE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lubbock_irda_transceiver_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lubbock_irda_transceiver_mode(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @local_irq_save(i64 noundef undef) #2
%4 = load i32, ptr @IR_SIRMODE, align 4, !tbaa !5
%5 = and i32 %4, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = tail call i32 @BIT(i32 noundef 4) #2
br label %16
9: ; preds = %2
%10 = load i32, ptr @IR_FIRMODE, align 4, !tbaa !5
%11 = and i32 %10, %1
%12 = icmp eq i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %9
%14 = tail call i32 @BIT(i32 noundef 4) #2
%15 = tail call i32 @BIT(i32 noundef 4) #2
br label %16
16: ; preds = %7, %13
%17 = phi i32 [ %15, %13 ], [ 0, %7 ]
%18 = phi i32 [ %14, %13 ], [ %8, %7 ]
%19 = tail call i32 @lubbock_set_misc_wr(i32 noundef %18, i32 noundef %17) #2
br label %20
20: ; preds = %16, %9
%21 = tail call i32 @pxa2xx_transceiver_mode(ptr noundef %0, i32 noundef %1) #2
%22 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret void
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @lubbock_set_misc_wr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare i32 @pxa2xx_transceiver_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_lubbock.c_lubbock_irda_transceiver_mode.c'
source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_lubbock.c_lubbock_irda_transceiver_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IR_SIRMODE = common local_unnamed_addr global i32 0, align 4
@IR_FIRMODE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lubbock_irda_transceiver_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lubbock_irda_transceiver_mode(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @local_irq_save(i64 noundef undef) #2
%4 = load i32, ptr @IR_SIRMODE, align 4, !tbaa !6
%5 = and i32 %4, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = tail call i32 @BIT(i32 noundef 4) #2
%9 = tail call i32 @lubbock_set_misc_wr(i32 noundef %8, i32 noundef 0) #2
br label %18
10: ; preds = %2
%11 = load i32, ptr @IR_FIRMODE, align 4, !tbaa !6
%12 = and i32 %11, %1
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %10
%15 = tail call i32 @BIT(i32 noundef 4) #2
%16 = tail call i32 @BIT(i32 noundef 4) #2
%17 = tail call i32 @lubbock_set_misc_wr(i32 noundef %15, i32 noundef %16) #2
br label %18
18: ; preds = %10, %14, %7
%19 = tail call i32 @pxa2xx_transceiver_mode(ptr noundef %0, i32 noundef %1) #2
%20 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret void
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @lubbock_set_misc_wr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare i32 @pxa2xx_transceiver_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_arm_mach-pxa_extr_lubbock.c_lubbock_irda_transceiver_mode |
; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_init.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_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.amdtp_stream = type { i32, i32, i32, i32, %struct.TYPE_4__, ptr, i32, i64, i32, i32, i32, ptr, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@pcm_period_tasklet = dso_local local_unnamed_addr global i32 0, align 4
@AMDTP_OUT_STREAM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @amdtp_stream_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = icmp eq ptr %5, null
br i1 %8, label %9, label %12
9: ; preds = %7
%10 = load i32, ptr @EINVAL, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %41
12: ; preds = %7
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%14 = tail call i32 @kzalloc(i32 noundef %6, i32 noundef %13) #2
%15 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 12
store i32 %14, ptr %15, align 8, !tbaa !9
%16 = icmp eq i32 %14, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %41
20: ; preds = %12
%21 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 11
store ptr %1, ptr %21, align 8, !tbaa !15
store i32 %2, ptr %0, align 8, !tbaa !16
%22 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 1
store i32 %3, ptr %22, align 4, !tbaa !17
%23 = tail call i32 @ERR_PTR(i32 noundef -1) #2
%24 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 10
store i32 %23, ptr %24, align 8, !tbaa !18
%25 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 9
%26 = tail call i32 @mutex_init(ptr noundef nonnull %25) #2
%27 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 8
%28 = load i32, ptr @pcm_period_tasklet, align 4, !tbaa !5
%29 = ptrtoint ptr %0 to i64
%30 = tail call i32 @tasklet_init(ptr noundef nonnull %27, i32 noundef %28, i64 noundef %29) #2
%31 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 7
store i64 0, ptr %31, align 8, !tbaa !19
%32 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 6
%33 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %32) #2
%34 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 2
store i32 0, ptr %34, align 8, !tbaa !20
%35 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 3
store i32 %4, ptr %35, align 4, !tbaa !21
%36 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 5
store ptr %5, ptr %36, align 8, !tbaa !22
%37 = load i32, ptr @AMDTP_OUT_STREAM, align 4, !tbaa !5
%38 = icmp eq i32 %37, %2
br i1 %38, label %39, label %41
39: ; preds = %20
%40 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 4
store i32 -1, ptr %40, align 8, !tbaa !23
br label %41
41: ; preds = %20, %39, %17, %9
%42 = phi i32 [ %11, %9 ], [ %19, %17 ], [ 0, %39 ], [ 0, %20 ]
ret i32 %42
}
declare i32 @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_init(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 72}
!10 = !{!"amdtp_stream", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !13, i64 24, !6, i64 32, !14, i64 40, !6, i64 48, !6, i64 52, !6, i64 56, !13, i64 64, !6, i64 72}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !13, i64 64}
!16 = !{!10, !6, i64 0}
!17 = !{!10, !6, i64 4}
!18 = !{!10, !6, i64 56}
!19 = !{!10, !14, i64 40}
!20 = !{!10, !6, i64 8}
!21 = !{!10, !6, i64 12}
!22 = !{!10, !13, i64 24}
!23 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_init.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_init.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
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@pcm_period_tasklet = common local_unnamed_addr global i32 0, align 4
@AMDTP_OUT_STREAM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @amdtp_stream_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = icmp eq ptr %5, null
br i1 %8, label %9, label %12
9: ; preds = %7
%10 = load i32, ptr @EINVAL, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %41
12: ; preds = %7
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%14 = tail call i32 @kzalloc(i32 noundef %6, i32 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %0, i64 72
store i32 %14, ptr %15, align 8, !tbaa !10
%16 = icmp eq i32 %14, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %41
20: ; preds = %12
%21 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %1, ptr %21, align 8, !tbaa !16
store i32 %2, ptr %0, align 8, !tbaa !17
%22 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %3, ptr %22, align 4, !tbaa !18
%23 = tail call i32 @ERR_PTR(i32 noundef -1) #2
%24 = getelementptr inbounds i8, ptr %0, i64 56
store i32 %23, ptr %24, align 8, !tbaa !19
%25 = getelementptr inbounds i8, ptr %0, i64 52
%26 = tail call i32 @mutex_init(ptr noundef nonnull %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 48
%28 = load i32, ptr @pcm_period_tasklet, align 4, !tbaa !6
%29 = ptrtoint ptr %0 to i64
%30 = tail call i32 @tasklet_init(ptr noundef nonnull %27, i32 noundef %28, i64 noundef %29) #2
%31 = getelementptr inbounds i8, ptr %0, i64 40
store i64 0, ptr %31, align 8, !tbaa !20
%32 = getelementptr inbounds i8, ptr %0, i64 32
%33 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %32) #2
%34 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %34, align 8, !tbaa !21
%35 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %4, ptr %35, align 4, !tbaa !22
%36 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %5, ptr %36, align 8, !tbaa !23
%37 = load i32, ptr @AMDTP_OUT_STREAM, align 4, !tbaa !6
%38 = icmp eq i32 %37, %2
br i1 %38, label %39, label %41
39: ; preds = %20
%40 = getelementptr inbounds i8, ptr %0, i64 16
store i32 -1, ptr %40, align 8, !tbaa !24
br label %41
41: ; preds = %20, %39, %17, %9
%42 = phi i32 [ %11, %9 ], [ %19, %17 ], [ 0, %39 ], [ 0, %20 ]
ret i32 %42
}
declare i32 @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_init(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 72}
!11 = !{!"amdtp_stream", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !14, i64 24, !7, i64 32, !15, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !14, i64 64, !7, i64 72}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !14, i64 64}
!17 = !{!11, !7, i64 0}
!18 = !{!11, !7, i64 4}
!19 = !{!11, !7, i64 56}
!20 = !{!11, !15, i64 40}
!21 = !{!11, !7, i64 8}
!22 = !{!11, !7, i64 12}
!23 = !{!11, !14, i64 24}
!24 = !{!11, !7, i64 16}
| linux_sound_firewire_extr_amdtp-stream.c_amdtp_stream_init |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlmemory.c_xmlMemSetup.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlmemory.c_xmlMemSetup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@xmlFree = dso_local local_unnamed_addr global ptr null, align 8
@xmlMalloc = dso_local local_unnamed_addr global ptr null, align 8
@xmlMallocAtomic = dso_local local_unnamed_addr global ptr null, align 8
@xmlRealloc = dso_local local_unnamed_addr global ptr null, align 8
@xmlMemStrdup = dso_local local_unnamed_addr global ptr null, align 8
@xmlGenericErrorContext = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define dso_local noundef i32 @xmlMemSetup(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = insertelement <4 x ptr> poison, ptr %1, i64 0
%6 = insertelement <4 x ptr> %5, ptr %0, i64 1
%7 = insertelement <4 x ptr> %6, ptr %2, i64 2
%8 = insertelement <4 x ptr> %7, ptr %3, i64 3
%9 = icmp eq <4 x ptr> %8, zeroinitializer
%10 = bitcast <4 x i1> %9 to i4
%11 = icmp eq i4 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
store ptr %0, ptr @xmlFree, align 8, !tbaa !5
store ptr %1, ptr @xmlMalloc, align 8, !tbaa !5
store ptr %1, ptr @xmlMallocAtomic, align 8, !tbaa !5
store ptr %2, ptr @xmlRealloc, align 8, !tbaa !5
store ptr %3, ptr @xmlMemStrdup, align 8, !tbaa !5
br label %13
13: ; preds = %4, %12
%14 = phi i32 [ 0, %12 ], [ -1, %4 ]
ret i32 %14
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlmemory.c_xmlMemSetup.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlmemory.c_xmlMemSetup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xmlFree = common local_unnamed_addr global ptr null, align 8
@xmlMalloc = common local_unnamed_addr global ptr null, align 8
@xmlMallocAtomic = common local_unnamed_addr global ptr null, align 8
@xmlRealloc = common local_unnamed_addr global ptr null, align 8
@xmlMemStrdup = common local_unnamed_addr global ptr null, align 8
@xmlGenericErrorContext = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i32 -1, 1) i32 @xmlMemSetup(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %0, null
%6 = icmp eq ptr %1, null
%7 = or i1 %5, %6
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
%10 = icmp eq ptr %3, null
%11 = or i1 %9, %10
br i1 %11, label %13, label %12
12: ; preds = %4
store ptr %0, ptr @xmlFree, align 8, !tbaa !6
store ptr %1, ptr @xmlMalloc, align 8, !tbaa !6
store ptr %1, ptr @xmlMallocAtomic, align 8, !tbaa !6
store ptr %2, ptr @xmlRealloc, align 8, !tbaa !6
store ptr %3, ptr @xmlMemStrdup, align 8, !tbaa !6
br label %13
13: ; preds = %4, %12
%14 = phi i32 [ 0, %12 ], [ -1, %4 ]
ret i32 %14
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_sdk_lib_3rdparty_libxml2_extr_xmlmemory.c_xmlMemSetup |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_low_i2c.c_pmac_i2c_do_end.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_low_i2c.c_pmac_i2c_do_end.c"
target datalayout = "e-m:e-p270:32:32-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 @pmac_i2c_do_end], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pmac_i2c_do_end(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %8, label %4
4: ; preds = %2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = tail call i32 @pmac_i2c_close(i32 noundef %5) #2
%7 = tail call i32 @kfree(ptr noundef nonnull %1) #2
br label %8
8: ; preds = %2, %4
ret void
}
declare i32 @pmac_i2c_close(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pmac_i2c_pf_inst", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_low_i2c.c_pmac_i2c_do_end.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_low_i2c.c_pmac_i2c_do_end.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 @pmac_i2c_do_end], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pmac_i2c_do_end(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %8, label %4
4: ; preds = %2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = tail call i32 @pmac_i2c_close(i32 noundef %5) #2
%7 = tail call i32 @kfree(ptr noundef nonnull %1) #2
br label %8
8: ; preds = %2, %4
ret void
}
declare i32 @pmac_i2c_close(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pmac_i2c_pf_inst", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_powerpc_platforms_powermac_extr_low_i2c.c_pmac_i2c_do_end |
; ModuleID = 'AnghaBench/git/t/helper/extr_test-revision-walking.c_print_commit.c'
source_filename = "AnghaBench/git/t/helper/extr_test-revision-walking.c_print_commit.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr }
%struct.pretty_print_context = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@DATE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c" %m %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_commit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_commit(ptr noundef %0) #0 {
%2 = alloca %struct.strbuf, align 8
%3 = alloca %struct.pretty_print_context, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load i64, ptr @STRBUF_INIT, align 8, !tbaa !5
store i64 %4, 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
%5 = load i32, ptr @DATE_NORMAL, align 4, !tbaa !9
store i32 %5, ptr %3, align 8, !tbaa !11
%6 = call i32 @format_commit_message(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%7 = load ptr, ptr %2, align 8, !tbaa !14
%8 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %7) #3
%9 = call i32 @strbuf_release(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
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 @format_commit_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"pretty_print_context", !13, i64 0, !10, i64 4}
!13 = !{!"TYPE_2__", !10, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"strbuf", !6, i64 0}
| ; ModuleID = 'AnghaBench/git/t/helper/extr_test-revision-walking.c_print_commit.c'
source_filename = "AnghaBench/git/t/helper/extr_test-revision-walking.c_print_commit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strbuf = type { ptr }
%struct.pretty_print_context = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 8
@DATE_NORMAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c" %m %s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_commit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_commit(ptr noundef %0) #0 {
%2 = alloca %struct.strbuf, align 8
%3 = alloca %struct.pretty_print_context, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load i64, ptr @STRBUF_INIT, align 8, !tbaa !6
store i64 %4, 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
%5 = load i32, ptr @DATE_NORMAL, align 4, !tbaa !10
store i32 %5, ptr %3, align 8, !tbaa !12
%6 = call i32 @format_commit_message(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%7 = load ptr, ptr %2, align 8, !tbaa !15
%8 = call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %7) #3
%9 = call i32 @strbuf_release(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
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 @format_commit_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr 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 = !{!"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, !11, i64 0}
!13 = !{!"pretty_print_context", !14, i64 0, !11, i64 4}
!14 = !{!"TYPE_2__", !11, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"strbuf", !7, i64 0}
| git_t_helper_extr_test-revision-walking.c_print_commit |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_int_max.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_int_max.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OBS_PROPERTY_INT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @obs_property_int_max(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OBS_PROPERTY_INT, align 4, !tbaa !5
%3 = tail call ptr @get_type_data(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = load i32, ptr %3, align 4, !tbaa !9
br label %7
7: ; preds = %1, %5
%8 = phi i32 [ %6, %5 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @get_type_data(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"int_data", !6, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_int_max.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_int_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBS_PROPERTY_INT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @obs_property_int_max(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OBS_PROPERTY_INT, align 4, !tbaa !6
%3 = tail call ptr @get_type_data(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = load i32, ptr %3, align 4, !tbaa !10
br label %7
7: ; preds = %1, %5
%8 = phi i32 [ %6, %5 ], [ 0, %1 ]
ret i32 %8
}
declare ptr @get_type_data(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"int_data", !7, i64 0}
| obs-studio_libobs_extr_obs-properties.c_obs_property_int_max |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_intel.c_azx_corb_send_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_intel.c_azx_corb_send_cmd.c"
target datalayout = "e-m:e-p270:32:32-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.azx = type { i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { ptr }
@CORBWP = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@ICH6_MAX_CORB_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4
@CORBRP = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @azx_corb_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @azx_corb_send_cmd(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @azx_command_addr(i32 noundef %1) #2
%5 = tail call i32 @spin_lock_irq(ptr noundef %3) #2
%6 = load i32, ptr @CORBWP, align 4, !tbaa !10
%7 = tail call i32 @azx_readw(ptr noundef %3, i32 noundef %6) #2
%8 = icmp eq i32 %7, 65535
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
%11 = load i32, ptr @EIO, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %39
13: ; preds = %2
%14 = add i32 %7, 1
%15 = load i32, ptr @ICH6_MAX_CORB_ENTRIES, align 4, !tbaa !10
%16 = urem i32 %14, %15
%17 = load i32, ptr @CORBRP, align 4, !tbaa !10
%18 = tail call i32 @azx_readw(ptr noundef %3, i32 noundef %17) #2
%19 = icmp eq i32 %16, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
%22 = load i32, ptr @EAGAIN, align 4, !tbaa !10
%23 = sub nsw i32 0, %22
br label %39
24: ; preds = %13
%25 = getelementptr inbounds %struct.azx, ptr %3, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !12
%27 = zext i32 %4 to i64
%28 = getelementptr inbounds i32, ptr %26, i64 %27
%29 = load i32, ptr %28, align 4, !tbaa !10
%30 = add nsw i32 %29, 1
store i32 %30, ptr %28, align 4, !tbaa !10
%31 = tail call i32 @cpu_to_le32(i32 noundef %1) #2
%32 = getelementptr inbounds %struct.azx, ptr %3, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !16
%34 = zext i32 %16 to i64
%35 = getelementptr inbounds i32, ptr %33, i64 %34
store i32 %31, ptr %35, align 4, !tbaa !10
%36 = load i32, ptr @CORBWP, align 4, !tbaa !10
%37 = tail call i32 @azx_writel(ptr noundef %3, i32 noundef %36, i32 noundef %16) #2
%38 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
br label %39
39: ; preds = %24, %20, %9
%40 = phi i32 [ %12, %9 ], [ %23, %20 ], [ 0, %24 ]
ret i32 %40
}
declare i32 @azx_command_addr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @azx_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @azx_writel(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 = !{!"hda_bus", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"azx", !11, i64 0, !14, i64 8, !15, i64 16}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_intel.c_azx_corb_send_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_intel.c_azx_corb_send_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CORBWP = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@ICH6_MAX_CORB_ENTRIES = common local_unnamed_addr global i32 0, align 4
@CORBRP = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @azx_corb_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @azx_corb_send_cmd(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @azx_command_addr(i32 noundef %1) #2
%5 = tail call i32 @spin_lock_irq(ptr noundef %3) #2
%6 = load i32, ptr @CORBWP, align 4, !tbaa !11
%7 = tail call i32 @azx_readw(ptr noundef %3, i32 noundef %6) #2
%8 = icmp eq i32 %7, 65535
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
%11 = load i32, ptr @EIO, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %39
13: ; preds = %2
%14 = add i32 %7, 1
%15 = load i32, ptr @ICH6_MAX_CORB_ENTRIES, align 4, !tbaa !11
%16 = urem i32 %14, %15
%17 = load i32, ptr @CORBRP, align 4, !tbaa !11
%18 = tail call i32 @azx_readw(ptr noundef %3, i32 noundef %17) #2
%19 = icmp eq i32 %16, %18
br i1 %19, label %20, label %24
20: ; preds = %13
%21 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
%22 = load i32, ptr @EAGAIN, align 4, !tbaa !11
%23 = sub nsw i32 0, %22
br label %39
24: ; preds = %13
%25 = getelementptr inbounds i8, ptr %3, i64 16
%26 = load ptr, ptr %25, align 8, !tbaa !13
%27 = zext i32 %4 to i64
%28 = getelementptr inbounds i32, ptr %26, i64 %27
%29 = load i32, ptr %28, align 4, !tbaa !11
%30 = add nsw i32 %29, 1
store i32 %30, ptr %28, align 4, !tbaa !11
%31 = tail call i32 @cpu_to_le32(i32 noundef %1) #2
%32 = getelementptr inbounds i8, ptr %3, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !17
%34 = zext i32 %16 to i64
%35 = getelementptr inbounds i32, ptr %33, i64 %34
store i32 %31, ptr %35, align 4, !tbaa !11
%36 = load i32, ptr @CORBWP, align 4, !tbaa !11
%37 = tail call i32 @azx_writel(ptr noundef %3, i32 noundef %36, i32 noundef %16) #2
%38 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2
br label %39
39: ; preds = %24, %20, %9
%40 = phi i32 [ %12, %9 ], [ %23, %20 ], [ 0, %24 ]
ret i32 %40
}
declare i32 @azx_command_addr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @azx_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @azx_writel(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 = !{!"hda_bus", !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 16}
!14 = !{!"azx", !12, i64 0, !15, i64 8, !16, i64 16}
!15 = !{!"TYPE_4__", !8, i64 0}
!16 = !{!"TYPE_3__", !8, i64 0}
!17 = !{!14, !8, i64 8}
| fastsocket_kernel_sound_pci_hda_extr_hda_intel.c_azx_corb_send_cmd |
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_setup-common.c_c_next.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_setup-common.c_c_next.c"
target datalayout = "e-m:e-p270:32:32-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 @c_next], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @c_next(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4, !tbaa !5
%6 = tail call ptr @c_start(ptr noundef %0, ptr noundef nonnull %2) #2
ret ptr %6
}
declare ptr @c_start(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/linux/arch/powerpc/kernel/extr_setup-common.c_c_next.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_setup-common.c_c_next.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 @c_next], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @c_next(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = add nsw i32 %4, 1
store i32 %5, ptr %2, align 4, !tbaa !6
%6 = tail call ptr @c_start(ptr noundef %0, ptr noundef nonnull %2) #2
ret ptr %6
}
declare ptr @c_start(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"}
| linux_arch_powerpc_kernel_extr_setup-common.c_c_next |
; ModuleID = 'AnghaBench/linux/net/core/extr_flow_dissector.c___flow_hash_from_keys.c'
source_filename = "AnghaBench/linux/net/core/extr_flow_dissector.c___flow_hash_from_keys.c"
target datalayout = "e-m:e-p270:32:32-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 @__flow_hash_from_keys], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @__flow_hash_from_keys(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__flow_hash_consistentify(ptr noundef %0) #3
%4 = tail call i32 @flow_keys_hash_start(ptr noundef %0) #3
%5 = tail call i32 @flow_keys_hash_length(ptr noundef %0) #3
%6 = tail call i32 @siphash(i32 noundef %4, i32 noundef %5, ptr noundef %1) #3
%7 = tail call i32 @llvm.umax.i32(i32 %6, i32 1)
ret i32 %7
}
declare i32 @__flow_hash_consistentify(ptr noundef) local_unnamed_addr #1
declare i32 @siphash(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @flow_keys_hash_start(ptr noundef) local_unnamed_addr #1
declare i32 @flow_keys_hash_length(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, 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)"}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_flow_dissector.c___flow_hash_from_keys.c'
source_filename = "AnghaBench/linux/net/core/extr_flow_dissector.c___flow_hash_from_keys.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 @__flow_hash_from_keys], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @__flow_hash_from_keys(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__flow_hash_consistentify(ptr noundef %0) #3
%4 = tail call i32 @flow_keys_hash_start(ptr noundef %0) #3
%5 = tail call i32 @flow_keys_hash_length(ptr noundef %0) #3
%6 = tail call i32 @siphash(i32 noundef %4, i32 noundef %5, ptr noundef %1) #3
%7 = tail call i32 @llvm.umax.i32(i32 %6, i32 1)
ret i32 %7
}
declare i32 @__flow_hash_consistentify(ptr noundef) local_unnamed_addr #1
declare i32 @siphash(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @flow_keys_hash_start(ptr noundef) local_unnamed_addr #1
declare i32 @flow_keys_hash_length(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, 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)"}
| linux_net_core_extr_flow_dissector.c___flow_hash_from_keys |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_input.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IO_INPUT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @io_input], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @io_input(ptr noundef %0) #0 {
%2 = load i32, ptr @IO_INPUT, align 4, !tbaa !5
%3 = tail call i32 @g_iofile(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
ret i32 %3
}
declare i32 @g_iofile(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_input.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IO_INPUT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @io_input], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @io_input(ptr noundef %0) #0 {
%2 = load i32, ptr @IO_INPUT, align 4, !tbaa !6
%3 = tail call i32 @g_iofile(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
ret i32 %3
}
declare i32 @g_iofile(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| nodemcu-firmware_app_lua_luac_cross_extr_liolib.c_io_input |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_link.c_align.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_link.c_align.c"
target datalayout = "e-m:e-p270:32:32-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 @align], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @align(i32 noundef %0) #0 {
%2 = add i32 %0, 3
%3 = and i32 %2, -4
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_link.c_align.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_link.c_align.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 @align], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef range(i32 0, -3) i32 @align(i32 noundef %0) #0 {
%2 = add i32 %0, 3
%3 = and i32 %2, -4
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_net_tipc_extr_link.c_align |
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl_ha.c_ctl_ha_msg_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl_ha.c_ctl_ha_msg_shutdown.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ha_softc = type { i32, i32, i32 }
@ha_softc = dso_local global %struct.ha_softc zeroinitializer, align 4
@.str = private unnamed_addr constant [9 x i8] c"shutdown\00", align 1
@hz = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ctl_ha_msg_shutdown(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 @mtx_lock(ptr noundef nonnull getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 2)) #2
%3 = load i32, ptr @ha_softc, align 4, !tbaa !5
%4 = icmp slt i32 %3, 2
br i1 %4, label %5, label %17
5: ; preds = %1
store i32 1, ptr @ha_softc, align 4, !tbaa !5
store i32 1, ptr getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 1), align 4, !tbaa !10
%6 = tail call i32 @wakeup(ptr noundef nonnull getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 1)) #2
%7 = load i32, ptr @ha_softc, align 4, !tbaa !5
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %5, %12
%10 = tail call i32 (...) @SCHEDULER_STOPPED() #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr @hz, align 4, !tbaa !11
%14 = tail call i32 @msleep(ptr noundef nonnull getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 1), ptr noundef nonnull getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 2), i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %13) #2
%15 = load i32, ptr @ha_softc, align 4, !tbaa !5
%16 = icmp slt i32 %15, 2
br i1 %16, label %9, label %17, !llvm.loop !12
17: ; preds = %12, %9, %5, %1
%18 = tail call i32 @mtx_unlock(ptr noundef nonnull getelementptr inbounds (%struct.ha_softc, ptr @ha_softc, i64 0, i32 2)) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @SCHEDULER_STOPPED(...) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ha_softc", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl_ha.c_ctl_ha_msg_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl_ha.c_ctl_ha_msg_shutdown.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ha_softc = type { i32, i32, i32 }
@ha_softc = common global %struct.ha_softc zeroinitializer, align 4
@.str = private unnamed_addr constant [9 x i8] c"shutdown\00", align 1
@hz = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ctl_ha_msg_shutdown(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 @mtx_lock(ptr noundef nonnull getelementptr inbounds (i8, ptr @ha_softc, i64 8)) #2
%3 = load i32, ptr @ha_softc, align 4, !tbaa !6
%4 = icmp slt i32 %3, 2
br i1 %4, label %5, label %17
5: ; preds = %1
store <2 x i32> <i32 1, i32 1>, ptr @ha_softc, align 4, !tbaa !11
%6 = tail call i32 @wakeup(ptr noundef nonnull getelementptr inbounds (i8, ptr @ha_softc, i64 4)) #2
%7 = load i32, ptr @ha_softc, align 4, !tbaa !6
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %5, %12
%10 = tail call i32 @SCHEDULER_STOPPED() #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr @hz, align 4, !tbaa !11
%14 = tail call i32 @msleep(ptr noundef nonnull getelementptr inbounds (i8, ptr @ha_softc, i64 4), ptr noundef nonnull getelementptr inbounds (i8, ptr @ha_softc, i64 8), i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %13) #2
%15 = load i32, ptr @ha_softc, align 4, !tbaa !6
%16 = icmp slt i32 %15, 2
br i1 %16, label %9, label %17, !llvm.loop !12
17: ; preds = %12, %9, %5, %1
%18 = tail call i32 @mtx_unlock(ptr noundef nonnull getelementptr inbounds (i8, ptr @ha_softc, i64 8)) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @SCHEDULER_STOPPED(...) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ha_softc", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_cam_ctl_extr_ctl_ha.c_ctl_ha_msg_shutdown |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shlview.c_test_newmenu.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shlview.c_test_newmenu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CLSID_NewMenu = dso_local global i32 0, align 4
@CLSCTX_INPROC_SERVER = dso_local local_unnamed_addr global i32 0, align 4
@IID_IUnknown = dso_local global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"Failed to create NewMenu object, hr %#x.\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"NewMenu is not supported.\0A\00", align 1
@IID_IShellExtInit = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"Failed to get IShellExtInit, hr %#x.\0A\00", align 1
@IID_IContextMenu = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"Failed to get IContextMenu, hr %#x.\0A\00", align 1
@IID_IContextMenu2 = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"Failed to get IContextMenu2, hr %#x.\0A\00", align 1
@IID_IContextMenu3 = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [38 x i8] c"Failed to get IContextMenu3, hr %#x.\0A\00", align 1
@IID_IObjectWithSite = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [40 x i8] c"Failed to get IObjectWithSite, hr %#x.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_newmenu], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_newmenu() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @CLSCTX_INPROC_SERVER, align 4, !tbaa !5
%4 = call i64 @CoCreateInstance(ptr noundef nonnull @CLSID_NewMenu, ptr noundef null, i32 noundef %3, ptr noundef nonnull @IID_IUnknown, ptr noundef nonnull %1) #3
%5 = load i64, ptr @S_OK, align 8, !tbaa !9
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str, i64 noundef %4) #3
%9 = load i64, ptr @S_OK, align 8, !tbaa !9
%10 = icmp eq i64 %4, %9
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = call i32 @skip(ptr noundef nonnull @.str.1) #3
br label %56
13: ; preds = %0
%14 = load ptr, ptr %1, align 8, !tbaa !11
%15 = call i64 @IUnknown_QueryInterface(ptr noundef %14, ptr noundef nonnull @IID_IShellExtInit, ptr noundef nonnull %2) #3
%16 = load i64, ptr @S_OK, align 8, !tbaa !9
%17 = icmp eq i64 %15, %16
%18 = zext i1 %17 to i32
%19 = call i32 @ok(i32 noundef %18, ptr noundef nonnull @.str.2, i64 noundef %15) #3
%20 = load ptr, ptr %2, align 8, !tbaa !11
%21 = call i32 @IUnknown_Release(ptr noundef %20) #3
%22 = load ptr, ptr %1, align 8, !tbaa !11
%23 = call i64 @IUnknown_QueryInterface(ptr noundef %22, ptr noundef nonnull @IID_IContextMenu, ptr noundef nonnull %2) #3
%24 = load i64, ptr @S_OK, align 8, !tbaa !9
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.3, i64 noundef %23) #3
%28 = load ptr, ptr %2, align 8, !tbaa !11
%29 = call i32 @IUnknown_Release(ptr noundef %28) #3
%30 = load ptr, ptr %1, align 8, !tbaa !11
%31 = call i64 @IUnknown_QueryInterface(ptr noundef %30, ptr noundef nonnull @IID_IContextMenu2, ptr noundef nonnull %2) #3
%32 = load i64, ptr @S_OK, align 8, !tbaa !9
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @ok(i32 noundef %34, ptr noundef nonnull @.str.4, i64 noundef %31) #3
%36 = load ptr, ptr %2, align 8, !tbaa !11
%37 = call i32 @IUnknown_Release(ptr noundef %36) #3
%38 = load ptr, ptr %1, align 8, !tbaa !11
%39 = call i64 @IUnknown_QueryInterface(ptr noundef %38, ptr noundef nonnull @IID_IContextMenu3, ptr noundef nonnull %2) #3
%40 = load i64, ptr @S_OK, align 8, !tbaa !9
%41 = icmp eq i64 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @ok(i32 noundef %42, ptr noundef nonnull @.str.5, i64 noundef %39) #3
%44 = load ptr, ptr %2, align 8, !tbaa !11
%45 = call i32 @IUnknown_Release(ptr noundef %44) #3
%46 = load ptr, ptr %1, align 8, !tbaa !11
%47 = call i64 @IUnknown_QueryInterface(ptr noundef %46, ptr noundef nonnull @IID_IObjectWithSite, ptr noundef nonnull %2) #3
%48 = load i64, ptr @S_OK, align 8, !tbaa !9
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @ok(i32 noundef %50, ptr noundef nonnull @.str.6, i64 noundef %47) #3
%52 = load ptr, ptr %2, align 8, !tbaa !11
%53 = call i32 @IUnknown_Release(ptr noundef %52) #3
%54 = load ptr, ptr %1, align 8, !tbaa !11
%55 = call i32 @IUnknown_Release(ptr noundef %54) #3
br label %56
56: ; preds = %13, %11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i64 @IUnknown_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IUnknown_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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shlview.c_test_newmenu.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shlview.c_test_newmenu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLSID_NewMenu = common global i32 0, align 4
@CLSCTX_INPROC_SERVER = common local_unnamed_addr global i32 0, align 4
@IID_IUnknown = common global i32 0, align 4
@S_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"Failed to create NewMenu object, hr %#x.\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"NewMenu is not supported.\0A\00", align 1
@IID_IShellExtInit = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"Failed to get IShellExtInit, hr %#x.\0A\00", align 1
@IID_IContextMenu = common global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"Failed to get IContextMenu, hr %#x.\0A\00", align 1
@IID_IContextMenu2 = common global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"Failed to get IContextMenu2, hr %#x.\0A\00", align 1
@IID_IContextMenu3 = common global i32 0, align 4
@.str.5 = private unnamed_addr constant [38 x i8] c"Failed to get IContextMenu3, hr %#x.\0A\00", align 1
@IID_IObjectWithSite = common global i32 0, align 4
@.str.6 = private unnamed_addr constant [40 x i8] c"Failed to get IObjectWithSite, hr %#x.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_newmenu], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_newmenu() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @CLSCTX_INPROC_SERVER, align 4, !tbaa !6
%4 = call i64 @CoCreateInstance(ptr noundef nonnull @CLSID_NewMenu, ptr noundef null, i32 noundef %3, ptr noundef nonnull @IID_IUnknown, ptr noundef nonnull %1) #3
%5 = load i64, ptr @S_OK, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str, i64 noundef %4) #3
%9 = load i64, ptr @S_OK, align 8, !tbaa !10
%10 = icmp eq i64 %4, %9
br i1 %10, label %13, label %11
11: ; preds = %0
%12 = call i32 @skip(ptr noundef nonnull @.str.1) #3
br label %56
13: ; preds = %0
%14 = load ptr, ptr %1, align 8, !tbaa !12
%15 = call i64 @IUnknown_QueryInterface(ptr noundef %14, ptr noundef nonnull @IID_IShellExtInit, ptr noundef nonnull %2) #3
%16 = load i64, ptr @S_OK, align 8, !tbaa !10
%17 = icmp eq i64 %15, %16
%18 = zext i1 %17 to i32
%19 = call i32 @ok(i32 noundef %18, ptr noundef nonnull @.str.2, i64 noundef %15) #3
%20 = load ptr, ptr %2, align 8, !tbaa !12
%21 = call i32 @IUnknown_Release(ptr noundef %20) #3
%22 = load ptr, ptr %1, align 8, !tbaa !12
%23 = call i64 @IUnknown_QueryInterface(ptr noundef %22, ptr noundef nonnull @IID_IContextMenu, ptr noundef nonnull %2) #3
%24 = load i64, ptr @S_OK, align 8, !tbaa !10
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.3, i64 noundef %23) #3
%28 = load ptr, ptr %2, align 8, !tbaa !12
%29 = call i32 @IUnknown_Release(ptr noundef %28) #3
%30 = load ptr, ptr %1, align 8, !tbaa !12
%31 = call i64 @IUnknown_QueryInterface(ptr noundef %30, ptr noundef nonnull @IID_IContextMenu2, ptr noundef nonnull %2) #3
%32 = load i64, ptr @S_OK, align 8, !tbaa !10
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @ok(i32 noundef %34, ptr noundef nonnull @.str.4, i64 noundef %31) #3
%36 = load ptr, ptr %2, align 8, !tbaa !12
%37 = call i32 @IUnknown_Release(ptr noundef %36) #3
%38 = load ptr, ptr %1, align 8, !tbaa !12
%39 = call i64 @IUnknown_QueryInterface(ptr noundef %38, ptr noundef nonnull @IID_IContextMenu3, ptr noundef nonnull %2) #3
%40 = load i64, ptr @S_OK, align 8, !tbaa !10
%41 = icmp eq i64 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @ok(i32 noundef %42, ptr noundef nonnull @.str.5, i64 noundef %39) #3
%44 = load ptr, ptr %2, align 8, !tbaa !12
%45 = call i32 @IUnknown_Release(ptr noundef %44) #3
%46 = load ptr, ptr %1, align 8, !tbaa !12
%47 = call i64 @IUnknown_QueryInterface(ptr noundef %46, ptr noundef nonnull @IID_IObjectWithSite, ptr noundef nonnull %2) #3
%48 = load i64, ptr @S_OK, align 8, !tbaa !10
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @ok(i32 noundef %50, ptr noundef nonnull @.str.6, i64 noundef %47) #3
%52 = load ptr, ptr %2, align 8, !tbaa !12
%53 = call i32 @IUnknown_Release(ptr noundef %52) #3
%54 = load ptr, ptr %1, align 8, !tbaa !12
%55 = call i32 @IUnknown_Release(ptr noundef %54) #3
br label %56
56: ; preds = %13, %11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i64 @IUnknown_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @IUnknown_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"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| reactos_modules_rostests_winetests_shell32_extr_shlview.c_test_newmenu |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lib_io.c_io_stdfile.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lib_io.c_io_stdfile.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LJ_ERR_IOSTDCL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @io_stdfile], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @io_stdfile(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @IOSTDF_IOF(ptr noundef %0, i32 noundef %1) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @LJ_ERR_IOSTDCL, align 4, !tbaa !10
%8 = tail call i32 @lj_err_caller(ptr noundef %0, i32 noundef %7) #2
%9 = load ptr, ptr %3, align 8, !tbaa !5
br label %10
10: ; preds = %6, %2
%11 = phi ptr [ %9, %6 ], [ %4, %2 ]
ret ptr %11
}
declare ptr @IOSTDF_IOF(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lj_err_caller(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_3__", !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/xLua/build/luajit-2.1.0b2/src/extr_lib_io.c_io_stdfile.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lib_io.c_io_stdfile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LJ_ERR_IOSTDCL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @io_stdfile], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @io_stdfile(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @IOSTDF_IOF(ptr noundef %0, i32 noundef %1) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @LJ_ERR_IOSTDCL, align 4, !tbaa !11
%8 = tail call i32 @lj_err_caller(ptr noundef %0, i32 noundef %7) #2
%9 = load ptr, ptr %3, align 8, !tbaa !6
br label %10
10: ; preds = %6, %2
%11 = phi ptr [ %9, %6 ], [ %4, %2 ]
ret ptr %11
}
declare ptr @IOSTDF_IOF(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lj_err_caller(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_3__", !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}
| xLua_build_luajit-2.1.0b2_src_extr_lib_io.c_io_stdfile |
; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_lib.c_snd_pcm_hw_constraint_ratnums.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm_lib.c_snd_pcm_hw_constraint_ratnums.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@snd_pcm_hw_rule_ratnums = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_pcm_hw_constraint_ratnums(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @snd_pcm_hw_rule_ratnums, align 4, !tbaa !5
%6 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5, ptr noundef %3, i32 noundef %2, i32 noundef -1) #2
ret i32 %6
}
declare i32 @snd_pcm_hw_rule_add(ptr noundef, i32 noundef, i32 noundef, 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"}
| ; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_lib.c_snd_pcm_hw_constraint_ratnums.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm_lib.c_snd_pcm_hw_constraint_ratnums.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@snd_pcm_hw_rule_ratnums = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @snd_pcm_hw_constraint_ratnums(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @snd_pcm_hw_rule_ratnums, align 4, !tbaa !6
%6 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5, ptr noundef %3, i32 noundef %2, i32 noundef -1) #2
ret i32 %6
}
declare i32 @snd_pcm_hw_rule_add(ptr noundef, i32 noundef, i32 noundef, 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"}
| linux_sound_core_extr_pcm_lib.c_snd_pcm_hw_constraint_ratnums |
; ModuleID = 'AnghaBench/lz4/examples/extr_dictionaryRandomAccess.c_write_bin.c'
source_filename = "AnghaBench/lz4/examples/extr_dictionaryRandomAccess.c_write_bin.c"
target datalayout = "e-m:e-p270:32:32-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 @write_bin(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @fwrite(ptr noundef %1, i32 noundef 1, i64 noundef %2, ptr noundef %0) #3
%5 = icmp eq i64 %4, %2
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @exit(i32 noundef 11) #4
unreachable
8: ; preds = %3
ret void
}
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/lz4/examples/extr_dictionaryRandomAccess.c_write_bin.c'
source_filename = "AnghaBench/lz4/examples/extr_dictionaryRandomAccess.c_write_bin.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 @write_bin(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @fwrite(ptr noundef %1, i32 noundef 1, i64 noundef %2, ptr noundef %0) #3
%5 = icmp eq i64 %4, %2
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @exit(i32 noundef 11) #4
unreachable
8: ; preds = %3
ret void
}
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| lz4_examples_extr_dictionaryRandomAccess.c_write_bin |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib9000.c_dib9000_fw_set_channel_union.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib9000.c_dib9000_fw_set_channel_union.c"
target datalayout = "e-m:e-p270:32:32-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.dibDVBTChannel = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32, i32 }
@FE_MM_W_CHANNEL_UNION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dib9000_fw_set_channel_union], section "llvm.metadata"
@switch.table.dib9000_fw_set_channel_union = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 0], align 4
@switch.table.dib9000_fw_set_channel_union.1 = private unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 0, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.2 = private unnamed_addr constant [4 x i32] [i32 0, i32 -1, i32 2, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.3 = private unnamed_addr constant [5 x i32] [i32 0, i32 -1, i32 1, i32 1, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.5 = private unnamed_addr constant [5 x i32] [i32 7, i32 5, i32 3, i32 2, i32 1], align 4
; Function Attrs: nounwind uwtable
define internal noundef i32 @dib9000_fw_set_channel_union(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.dibDVBTChannel, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %5, align 4, !tbaa !13
switch i32 %6, label %9 [
i32 136, label %7
i32 137, label %8
]
7: ; preds = %1
store i32 1, ptr %2, align 4, !tbaa !17
br label %10
8: ; preds = %1
store i32 0, ptr %2, align 4, !tbaa !17
br label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4, !tbaa !17
br label %10
10: ; preds = %9, %8, %7
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 1
%14 = add i32 %12, -129
%15 = icmp ult i32 %14, 3
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = zext nneg i32 %14 to i64
%18 = getelementptr inbounds [3 x i32], ptr @switch.table.dib9000_fw_set_channel_union, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
br label %20
20: ; preds = %10, %16
%21 = phi i32 [ %19, %16 ], [ 1, %10 ]
store i32 %21, ptr %13, align 4, !tbaa !20
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = add i32 %23, -145
%25 = icmp ult i32 %24, 4
br i1 %25, label %26, label %30
26: ; preds = %20
%27 = zext nneg i32 %24 to i64
%28 = getelementptr inbounds [4 x i32], ptr @switch.table.dib9000_fw_set_channel_union.1, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
br label %30
30: ; preds = %20, %26
%31 = phi i32 [ %29, %26 ], [ -1, %20 ]
%32 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 2
store i32 %31, ptr %32, align 4, !tbaa !22
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !23
%35 = add i32 %34, -132
%36 = icmp ult i32 %35, 4
br i1 %36, label %37, label %41
37: ; preds = %30
%38 = zext nneg i32 %35 to i64
%39 = getelementptr inbounds [4 x i32], ptr @switch.table.dib9000_fw_set_channel_union.2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
br label %41
41: ; preds = %30, %37
%42 = phi i32 [ %40, %37 ], [ -1, %30 ]
%43 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 3
store i32 %42, ptr %43, align 4, !tbaa !24
%44 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4
%45 = load i32, ptr %44, align 4, !tbaa !25
%46 = add i32 %45, -139
%47 = icmp ult i32 %46, 5
br i1 %47, label %48, label %52
48: ; preds = %41
%49 = zext nneg i32 %46 to i64
%50 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
br label %52
52: ; preds = %41, %48
%53 = phi i32 [ %51, %48 ], [ -1, %41 ]
%54 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 4
store i32 %53, ptr %54, align 4, !tbaa !26
%55 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 5
store i32 1, ptr %55, align 4, !tbaa !27
%56 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 5
%57 = load i32, ptr %56, align 4, !tbaa !28
%58 = add i32 %57, -150
%59 = icmp ult i32 %58, 5
br i1 %59, label %60, label %64
60: ; preds = %52
%61 = zext nneg i32 %58 to i64
%62 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.5, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
br label %64
64: ; preds = %52, %60
%65 = phi i32 [ %63, %60 ], [ -1, %52 ]
%66 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 6
store i32 %65, ptr %66, align 4, !tbaa !29
%67 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 6
%68 = load i32, ptr %67, align 4, !tbaa !30
%69 = add i32 %68, -150
%70 = icmp ult i32 %69, 5
br i1 %70, label %71, label %75
71: ; preds = %64
%72 = zext nneg i32 %69 to i64
%73 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.5, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
br label %75
75: ; preds = %64, %71
%76 = phi i32 [ %74, %71 ], [ -1, %64 ]
%77 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 7
store i32 %76, ptr %77, align 4, !tbaa !31
%78 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 8
store i32 1, ptr %78, align 4, !tbaa !32
%79 = getelementptr inbounds %struct.dibDVBTChannel, ptr %2, i64 0, i32 9
store i32 1, ptr %79, align 4, !tbaa !33
%80 = load i32, ptr @FE_MM_W_CHANNEL_UNION, align 4, !tbaa !34
%81 = call i32 @dib9000_risc_mem_write(ptr noundef nonnull %3, i32 noundef %80, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dib9000_risc_mem_write(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, !7, i64 0}
!6 = !{!"dvb_frontend", !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 = !{!"dib9000_state", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24}
!16 = !{!"int", !8, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"dibDVBTChannel", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36}
!19 = !{!14, !16, i64 4}
!20 = !{!18, !16, i64 4}
!21 = !{!14, !16, i64 8}
!22 = !{!18, !16, i64 8}
!23 = !{!14, !16, i64 12}
!24 = !{!18, !16, i64 12}
!25 = !{!14, !16, i64 16}
!26 = !{!18, !16, i64 16}
!27 = !{!18, !16, i64 20}
!28 = !{!14, !16, i64 20}
!29 = !{!18, !16, i64 24}
!30 = !{!14, !16, i64 24}
!31 = !{!18, !16, i64 28}
!32 = !{!18, !16, i64 32}
!33 = !{!18, !16, i64 36}
!34 = !{!16, !16, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib9000.c_dib9000_fw_set_channel_union.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib9000.c_dib9000_fw_set_channel_union.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.dibDVBTChannel = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@FE_MM_W_CHANNEL_UNION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dib9000_fw_set_channel_union], section "llvm.metadata"
@switch.table.dib9000_fw_set_channel_union = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 0], align 4
@switch.table.dib9000_fw_set_channel_union.1 = private unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 0, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.2 = private unnamed_addr constant [4 x i32] [i32 0, i32 -1, i32 2, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.3 = private unnamed_addr constant [5 x i32] [i32 0, i32 -1, i32 1, i32 1, i32 1], align 4
@switch.table.dib9000_fw_set_channel_union.5 = private unnamed_addr constant [5 x i32] [i32 7, i32 5, i32 3, i32 2, i32 1], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dib9000_fw_set_channel_union(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.dibDVBTChannel, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load i32, ptr %5, align 4, !tbaa !14
switch i32 %6, label %9 [
i32 136, label %7
i32 137, label %8
]
7: ; preds = %1
store i32 1, ptr %2, align 4, !tbaa !18
br label %10
8: ; preds = %1
store i32 0, ptr %2, align 4, !tbaa !18
br label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4, !tbaa !18
br label %10
10: ; preds = %9, %8, %7
%11 = getelementptr inbounds i8, ptr %5, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !20
%13 = getelementptr inbounds i8, ptr %2, i64 4
%14 = add i32 %12, -129
%15 = icmp ult i32 %14, 3
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = zext nneg i32 %14 to i64
%18 = getelementptr inbounds [3 x i32], ptr @switch.table.dib9000_fw_set_channel_union, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
br label %20
20: ; preds = %10, %16
%21 = phi i32 [ %19, %16 ], [ 1, %10 ]
store i32 %21, ptr %13, align 4, !tbaa !21
%22 = getelementptr inbounds i8, ptr %5, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !22
%24 = add i32 %23, -145
%25 = icmp ult i32 %24, 4
br i1 %25, label %26, label %30
26: ; preds = %20
%27 = zext nneg i32 %24 to i64
%28 = getelementptr inbounds [4 x i32], ptr @switch.table.dib9000_fw_set_channel_union.1, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
br label %30
30: ; preds = %20, %26
%31 = phi i32 [ %29, %26 ], [ -1, %20 ]
%32 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %31, ptr %32, align 4, !tbaa !23
%33 = getelementptr inbounds i8, ptr %5, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !24
%35 = add i32 %34, -132
%36 = icmp ult i32 %35, 4
br i1 %36, label %37, label %41
37: ; preds = %30
%38 = zext nneg i32 %35 to i64
%39 = getelementptr inbounds [4 x i32], ptr @switch.table.dib9000_fw_set_channel_union.2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
br label %41
41: ; preds = %30, %37
%42 = phi i32 [ %40, %37 ], [ -1, %30 ]
%43 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %42, ptr %43, align 4, !tbaa !25
%44 = getelementptr inbounds i8, ptr %5, i64 16
%45 = load i32, ptr %44, align 4, !tbaa !26
%46 = add i32 %45, -139
%47 = icmp ult i32 %46, 5
br i1 %47, label %48, label %52
48: ; preds = %41
%49 = zext nneg i32 %46 to i64
%50 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
br label %52
52: ; preds = %41, %48
%53 = phi i32 [ %51, %48 ], [ -1, %41 ]
%54 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %53, ptr %54, align 4, !tbaa !27
%55 = getelementptr inbounds i8, ptr %2, i64 20
store i32 1, ptr %55, align 4, !tbaa !28
%56 = getelementptr inbounds i8, ptr %5, i64 20
%57 = load i32, ptr %56, align 4, !tbaa !29
%58 = add i32 %57, -150
%59 = icmp ult i32 %58, 5
br i1 %59, label %60, label %64
60: ; preds = %52
%61 = zext nneg i32 %58 to i64
%62 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.5, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
br label %64
64: ; preds = %52, %60
%65 = phi i32 [ %63, %60 ], [ -1, %52 ]
%66 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %65, ptr %66, align 4, !tbaa !30
%67 = getelementptr inbounds i8, ptr %5, i64 24
%68 = load i32, ptr %67, align 4, !tbaa !31
%69 = add i32 %68, -150
%70 = icmp ult i32 %69, 5
br i1 %70, label %71, label %75
71: ; preds = %64
%72 = zext nneg i32 %69 to i64
%73 = getelementptr inbounds [5 x i32], ptr @switch.table.dib9000_fw_set_channel_union.5, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
br label %75
75: ; preds = %64, %71
%76 = phi i32 [ %74, %71 ], [ -1, %64 ]
%77 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %76, ptr %77, align 4, !tbaa !32
%78 = getelementptr inbounds i8, ptr %2, i64 32
store <2 x i32> <i32 1, i32 1>, ptr %78, align 4, !tbaa !33
%79 = load i32, ptr @FE_MM_W_CHANNEL_UNION, align 4, !tbaa !33
%80 = call i32 @dib9000_risc_mem_write(ptr noundef nonnull %3, i32 noundef %79, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dib9000_risc_mem_write(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, !8, i64 0}
!7 = !{!"dvb_frontend", !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 = !{!"dib9000_state", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24}
!17 = !{!"int", !9, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"dibDVBTChannel", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36}
!20 = !{!15, !17, i64 4}
!21 = !{!19, !17, i64 4}
!22 = !{!15, !17, i64 8}
!23 = !{!19, !17, i64 8}
!24 = !{!15, !17, i64 12}
!25 = !{!19, !17, i64 12}
!26 = !{!15, !17, i64 16}
!27 = !{!19, !17, i64 16}
!28 = !{!19, !17, i64 20}
!29 = !{!15, !17, i64 20}
!30 = !{!19, !17, i64 24}
!31 = !{!15, !17, i64 24}
!32 = !{!19, !17, i64 28}
!33 = !{!17, !17, i64 0}
| linux_drivers_media_dvb-frontends_extr_dib9000.c_dib9000_fw_set_channel_union |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_getline.c_gl_char_cleanup.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_getline.c_gl_char_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"
@TCSETA = dso_local local_unnamed_addr global i32 0, align 4
@old_termio = dso_local global i32 0, align 4
@TCSANOW = dso_local local_unnamed_addr global i32 0, align 4
@TIOCSETN = dso_local local_unnamed_addr global i32 0, align 4
@old_termios = dso_local local_unnamed_addr global i32 0, align 4
@old_tty = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gl_char_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gl_char_cleanup() #0 {
%1 = load i32, ptr @TCSETA, align 4, !tbaa !5
%2 = tail call i32 @ioctl(i32 noundef 0, i32 noundef %1, ptr noundef nonnull @old_termio) #2
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_getline.c_gl_char_cleanup.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_getline.c_gl_char_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCSANOW = common local_unnamed_addr global i32 0, align 4
@TCSETA = common local_unnamed_addr global i32 0, align 4
@TIOCSETN = common local_unnamed_addr global i32 0, align 4
@old_termio = common local_unnamed_addr global i32 0, align 4
@old_termios = common local_unnamed_addr global i32 0, align 4
@old_tty = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gl_char_cleanup], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @gl_char_cleanup() #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_modules_rosapps_applications_net_ncftp_ncftp_extr_getline.c_gl_char_cleanup |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_ipv4_blackhole_dst_check.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_ipv4_blackhole_dst_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipv4_blackhole_dst_check], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noalias noundef ptr @ipv4_blackhole_dst_check(ptr nocapture readnone %0, i32 %1) #0 {
ret ptr null
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_ipv4_blackhole_dst_check.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_ipv4_blackhole_dst_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ipv4_blackhole_dst_check], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noalias noundef ptr @ipv4_blackhole_dst_check(ptr nocapture readnone %0, i32 %1) #0 {
ret ptr null
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_net_ipv4_extr_route.c_ipv4_blackhole_dst_check |
; ModuleID = 'AnghaBench/linux/kernel/events/extr_internal.h_perf_aux_size.c'
source_filename = "AnghaBench/linux/kernel/events/extr_internal.h_perf_aux_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_aux_size], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i64 @perf_aux_size(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !10
%4 = shl i64 %2, %3
ret i64 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ring_buffer", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/kernel/events/extr_internal.h_perf_aux_size.c'
source_filename = "AnghaBench/linux/kernel/events/extr_internal.h_perf_aux_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @perf_aux_size], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @perf_aux_size(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11
%4 = shl i64 %2, %3
ret i64 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ring_buffer", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_kernel_events_extr_internal.h_perf_aux_size |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__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/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__SHIFT = common local_unnamed_addr global i32 0, align 4
@MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD__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_disp_mdp5_extr_mdp5.xml.h_MDP5_WB_DST_OP_MODE_CHROMA_DWN_SAMPLE_H_MTHD |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_revs-txns.c_txn_body_abort_txn.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_revs-txns.c_txn_body_abort_txn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, i32 }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@transaction_kind_normal = dso_local local_unnamed_addr global i64 0, align 8
@transaction_kind_dead = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @txn_body_abort_txn], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @txn_body_abort_txn(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.TYPE_11__, 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 = load i32, ptr @FALSE, align 4, !tbaa !11
%8 = load i32, ptr %1, align 4, !tbaa !12
%9 = call i32 @get_txn(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef nonnull %1, i32 noundef %8) #3
%10 = call i32 @SVN_ERR(i32 noundef %9) #3
%11 = load ptr, ptr %3, align 8, !tbaa !14
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = load i64, ptr @transaction_kind_normal, align 8, !tbaa !19
%14 = icmp eq i64 %12, %13
br i1 %14, label %19, label %15
15: ; preds = %2
%16 = load i32, ptr %4, align 4, !tbaa !5
%17 = load i32, ptr %0, align 4, !tbaa !10
%18 = call ptr @svn_fs_base__err_txn_not_mutable(i32 noundef %16, i32 noundef %17) #3
br label %25
19: ; preds = %2
%20 = load i64, ptr @transaction_kind_dead, align 8, !tbaa !19
store i64 %20, ptr %11, align 8, !tbaa !16
%21 = load i32, ptr %4, align 4, !tbaa !5
%22 = load i32, ptr %0, align 4, !tbaa !10
%23 = load i32, ptr %1, align 4, !tbaa !12
%24 = call ptr @put_txn(i32 noundef %21, ptr noundef nonnull %11, i32 noundef %22, ptr noundef nonnull %1, i32 noundef %23) #3
br label %25
25: ; preds = %19, %15
%26 = phi ptr [ %18, %15 ], [ %24, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @get_txn(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @svn_fs_base__err_txn_not_mutable(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @put_txn(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_11__", !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}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_10__", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_9__", !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!18, !18, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_revs-txns.c_txn_body_abort_txn.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_revs-txns.c_txn_body_abort_txn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@transaction_kind_normal = common local_unnamed_addr global i64 0, align 8
@transaction_kind_dead = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @txn_body_abort_txn], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @txn_body_abort_txn(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%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 = load i32, ptr @FALSE, align 4, !tbaa !12
%8 = load i32, ptr %1, align 4, !tbaa !13
%9 = call i32 @get_txn(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef nonnull %1, i32 noundef %8) #3
%10 = call i32 @SVN_ERR(i32 noundef %9) #3
%11 = load ptr, ptr %3, align 8, !tbaa !15
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = load i64, ptr @transaction_kind_normal, align 8, !tbaa !20
%14 = icmp eq i64 %12, %13
br i1 %14, label %19, label %15
15: ; preds = %2
%16 = load i32, ptr %4, align 4, !tbaa !6
%17 = load i32, ptr %0, align 4, !tbaa !11
%18 = call ptr @svn_fs_base__err_txn_not_mutable(i32 noundef %16, i32 noundef %17) #3
br label %25
19: ; preds = %2
%20 = load i64, ptr @transaction_kind_dead, align 8, !tbaa !20
store i64 %20, ptr %11, align 8, !tbaa !17
%21 = load i32, ptr %4, align 4, !tbaa !6
%22 = load i32, ptr %0, align 4, !tbaa !11
%23 = load i32, ptr %1, align 4, !tbaa !13
%24 = call ptr @put_txn(i32 noundef %21, ptr noundef nonnull %11, i32 noundef %22, ptr noundef nonnull %1, i32 noundef %23) #3
br label %25
25: ; preds = %19, %15
%26 = phi ptr [ %18, %15 ], [ %24, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @get_txn(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @svn_fs_base__err_txn_not_mutable(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @put_txn(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_11__", !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}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_10__", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_9__", !19, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!19, !19, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_base_extr_revs-txns.c_txn_body_abort_txn |
; ModuleID = 'AnghaBench/zstd/tests/regression/extr_method.c_init_cstream.c'
source_filename = "AnghaBench/zstd/tests/regression/extr_method.c_init_cstream.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, ptr }
@ZSTD_dlm_byRef = dso_local local_unnamed_addr global i32 0, align 4
@ZSTD_dct_auto = dso_local local_unnamed_addr global i32 0, align 4
@ZSTD_defaultCMem = dso_local local_unnamed_addr global i32 0, align 4
@ZSTD_CONTENTSIZE_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@CONFIG_NO_LEVEL = dso_local local_unnamed_addr constant i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_cstream], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @init_cstream(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef writeonly %4) #0 {
%6 = icmp eq i32 %3, 0
br i1 %6, label %38, label %7
7: ; preds = %5
%8 = tail call i64 @config_get_zstd_params(ptr noundef %2, i32 noundef 0, i32 noundef 0) #2
%9 = trunc i64 %8 to i32
%10 = lshr i64 %8, 32
%11 = trunc i64 %10 to i32
%12 = icmp eq ptr %4, null
%13 = load i64, ptr %2, align 8, !tbaa !5
%14 = icmp eq i64 %13, 0
br i1 %12, label %28, label %15
15: ; preds = %7
br i1 %14, label %67, label %16
16: ; preds = %15
%17 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = load i32, ptr %0, align 8, !tbaa !15
%20 = load i32, ptr @ZSTD_dlm_byRef, align 4, !tbaa !16
%21 = load i32, ptr @ZSTD_dct_auto, align 4, !tbaa !16
%22 = load i32, ptr @ZSTD_defaultCMem, align 4, !tbaa !16
%23 = tail call ptr @ZSTD_createCDict_advanced(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11, i32 noundef %22) #2
store ptr %23, ptr %4, align 8, !tbaa !17
%24 = icmp eq ptr %23, null
br i1 %24, label %67, label %25
25: ; preds = %16
%26 = load i32, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 4, !tbaa !16
%27 = tail call i64 @ZSTD_initCStream_usingCDict_advanced(ptr noundef %1, ptr noundef nonnull %23, i32 noundef %9, i32 noundef %26) #2
br label %62
28: ; preds = %7
br i1 %14, label %33, label %29
29: ; preds = %28
%30 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !10
%32 = load i32, ptr %0, align 8, !tbaa !15
br label %33
33: ; preds = %28, %29
%34 = phi ptr [ %31, %29 ], [ null, %28 ]
%35 = phi i32 [ %32, %29 ], [ 0, %28 ]
%36 = load i32, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 4, !tbaa !16
%37 = tail call i64 @ZSTD_initCStream_advanced(ptr noundef %1, ptr noundef %34, i32 noundef %35, i64 %8, i32 noundef %36) #2
br label %62
38: ; preds = %5
%39 = tail call i32 @config_get_level(ptr noundef %2) #2
%40 = icmp eq i32 %39, 0
br i1 %40, label %67, label %41
41: ; preds = %38
%42 = icmp eq ptr %4, null
%43 = load i64, ptr %2, align 8, !tbaa !5
%44 = icmp eq i64 %43, 0
br i1 %42, label %54, label %45
45: ; preds = %41
br i1 %44, label %67, label %46
46: ; preds = %45
%47 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%48 = load ptr, ptr %47, align 8, !tbaa !10
%49 = load i32, ptr %0, align 8, !tbaa !15
%50 = tail call ptr @ZSTD_createCDict(ptr noundef %48, i32 noundef %49, i32 noundef %39) #2
store ptr %50, ptr %4, align 8, !tbaa !17
%51 = icmp eq ptr %50, null
br i1 %51, label %67, label %52
52: ; preds = %46
%53 = tail call i64 @ZSTD_initCStream_usingCDict(ptr noundef %1, ptr noundef nonnull %50) #2
br label %62
54: ; preds = %41
br i1 %44, label %60, label %55
55: ; preds = %54
%56 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%57 = load ptr, ptr %56, align 8, !tbaa !10
%58 = load i32, ptr %0, align 8, !tbaa !15
%59 = tail call i64 @ZSTD_initCStream_usingDict(ptr noundef %1, ptr noundef %57, i32 noundef %58, i32 noundef %39) #2
br label %62
60: ; preds = %54
%61 = tail call i64 @ZSTD_initCStream(ptr noundef %1, i32 noundef %39) #2
br label %62
62: ; preds = %52, %60, %55, %25, %33
%63 = phi i64 [ %37, %33 ], [ %27, %25 ], [ %61, %60 ], [ %59, %55 ], [ %53, %52 ]
%64 = tail call i64 @ZSTD_isError(i64 noundef %63) #2
%65 = icmp ne i64 %64, 0
%66 = zext i1 %65 to i32
br label %67
67: ; preds = %38, %45, %46, %15, %16, %62
%68 = phi i32 [ %66, %62 ], [ 1, %16 ], [ 1, %15 ], [ 1, %46 ], [ 1, %45 ], [ 1, %38 ]
ret i32 %68
}
declare i64 @config_get_zstd_params(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ZSTD_createCDict_advanced(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingCDict_advanced(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_advanced(ptr noundef, ptr noundef, i32 noundef, i64, i32 noundef) local_unnamed_addr #1
declare i32 @config_get_level(ptr noundef) local_unnamed_addr #1
declare ptr @ZSTD_createCDict(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingCDict(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingDict(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_isError(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 8}
!11 = !{!"TYPE_13__", !12, i64 0}
!12 = !{!"TYPE_11__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/zstd/tests/regression/extr_method.c_init_cstream.c'
source_filename = "AnghaBench/zstd/tests/regression/extr_method.c_init_cstream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZSTD_dlm_byRef = common local_unnamed_addr global i32 0, align 4
@ZSTD_dct_auto = common local_unnamed_addr global i32 0, align 4
@ZSTD_defaultCMem = common local_unnamed_addr global i32 0, align 4
@ZSTD_CONTENTSIZE_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@CONFIG_NO_LEVEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_cstream], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @init_cstream(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef writeonly %4) #0 {
%6 = icmp eq i32 %3, 0
br i1 %6, label %38, label %7
7: ; preds = %5
%8 = tail call i64 @config_get_zstd_params(ptr noundef %2, i32 noundef 0, i32 noundef 0) #2
%9 = trunc i64 %8 to i32
%10 = lshr i64 %8, 32
%11 = trunc nuw i64 %10 to i32
%12 = icmp eq ptr %4, null
%13 = load i64, ptr %2, align 8, !tbaa !6
%14 = icmp eq i64 %13, 0
br i1 %12, label %28, label %15
15: ; preds = %7
br i1 %14, label %68, label %16
16: ; preds = %15
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !11
%19 = load i32, ptr %0, align 8, !tbaa !16
%20 = load i32, ptr @ZSTD_dlm_byRef, align 4, !tbaa !17
%21 = load i32, ptr @ZSTD_dct_auto, align 4, !tbaa !17
%22 = load i32, ptr @ZSTD_defaultCMem, align 4, !tbaa !17
%23 = tail call ptr @ZSTD_createCDict_advanced(ptr noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11, i32 noundef %22) #2
store ptr %23, ptr %4, align 8, !tbaa !18
%24 = icmp eq ptr %23, null
br i1 %24, label %68, label %25
25: ; preds = %16
%26 = load i32, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 4, !tbaa !17
%27 = tail call i64 @ZSTD_initCStream_usingCDict_advanced(ptr noundef %1, ptr noundef nonnull %23, i32 noundef %9, i32 noundef %26) #2
br label %63
28: ; preds = %7
br i1 %14, label %33, label %29
29: ; preds = %28
%30 = getelementptr inbounds i8, ptr %0, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !11
%32 = load i32, ptr %0, align 8, !tbaa !16
br label %33
33: ; preds = %28, %29
%34 = phi ptr [ %31, %29 ], [ null, %28 ]
%35 = phi i32 [ %32, %29 ], [ 0, %28 ]
%36 = load i32, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 4, !tbaa !17
%37 = tail call i64 @ZSTD_initCStream_advanced(ptr noundef %1, ptr noundef %34, i32 noundef %35, i64 %8, i32 noundef %36) #2
br label %63
38: ; preds = %5
%39 = tail call i32 @config_get_level(ptr noundef %2) #2
%40 = load i32, ptr @CONFIG_NO_LEVEL, align 4, !tbaa !17
%41 = icmp eq i32 %39, %40
br i1 %41, label %68, label %42
42: ; preds = %38
%43 = icmp eq ptr %4, null
%44 = load i64, ptr %2, align 8, !tbaa !6
%45 = icmp eq i64 %44, 0
br i1 %43, label %55, label %46
46: ; preds = %42
br i1 %45, label %68, label %47
47: ; preds = %46
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = load ptr, ptr %48, align 8, !tbaa !11
%50 = load i32, ptr %0, align 8, !tbaa !16
%51 = tail call ptr @ZSTD_createCDict(ptr noundef %49, i32 noundef %50, i32 noundef %39) #2
store ptr %51, ptr %4, align 8, !tbaa !18
%52 = icmp eq ptr %51, null
br i1 %52, label %68, label %53
53: ; preds = %47
%54 = tail call i64 @ZSTD_initCStream_usingCDict(ptr noundef %1, ptr noundef nonnull %51) #2
br label %63
55: ; preds = %42
br i1 %45, label %61, label %56
56: ; preds = %55
%57 = getelementptr inbounds i8, ptr %0, i64 8
%58 = load ptr, ptr %57, align 8, !tbaa !11
%59 = load i32, ptr %0, align 8, !tbaa !16
%60 = tail call i64 @ZSTD_initCStream_usingDict(ptr noundef %1, ptr noundef %58, i32 noundef %59, i32 noundef %39) #2
br label %63
61: ; preds = %55
%62 = tail call i64 @ZSTD_initCStream(ptr noundef %1, i32 noundef %39) #2
br label %63
63: ; preds = %53, %61, %56, %25, %33
%64 = phi i64 [ %37, %33 ], [ %27, %25 ], [ %62, %61 ], [ %60, %56 ], [ %54, %53 ]
%65 = tail call i64 @ZSTD_isError(i64 noundef %64) #2
%66 = icmp ne i64 %65, 0
%67 = zext i1 %66 to i32
br label %68
68: ; preds = %38, %46, %47, %15, %16, %63
%69 = phi i32 [ %67, %63 ], [ 1, %16 ], [ 1, %15 ], [ 1, %47 ], [ 1, %46 ], [ 1, %38 ]
ret i32 %69
}
declare i64 @config_get_zstd_params(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ZSTD_createCDict_advanced(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingCDict_advanced(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_advanced(ptr noundef, ptr noundef, i32 noundef, i64, i32 noundef) local_unnamed_addr #1
declare i32 @config_get_level(ptr noundef) local_unnamed_addr #1
declare ptr @ZSTD_createCDict(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingCDict(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream_usingDict(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_initCStream(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ZSTD_isError(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 8}
!12 = !{!"TYPE_13__", !13, i64 0}
!13 = !{!"TYPE_11__", !14, i64 0, !15, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!12, !14, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!15, !15, i64 0}
| zstd_tests_regression_extr_method.c_init_cstream |
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_namei.c_store_de_entry_key.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_namei.c_store_de_entry_key.c"
target datalayout = "e-m:e-p270:32:32-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.reiserfs_dir_entry = type { i32, %struct.TYPE_8__, ptr, ptr }
%struct.TYPE_8__ = type { %struct.TYPE_6__, i32 }
%struct.TYPE_6__ = type { ptr, ptr }
%struct.reiserfs_de_head = type { i32 }
%struct.TYPE_7__ = type { i32, i32 }
@KEY_FORMAT_3_5 = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_DIRENTRY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_de_entry_key], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @store_de_entry_key(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.reiserfs_dir_entry, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %0, align 8, !tbaa !13
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds %struct.reiserfs_de_head, ptr %3, i64 %5
%7 = getelementptr inbounds %struct.reiserfs_dir_entry, ptr %0, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = tail call i64 @ih_entry_count(ptr noundef %8) #2
%10 = icmp sle i64 %9, %5
%11 = zext i1 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
%13 = load i32, ptr @KEY_FORMAT_3_5, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.reiserfs_dir_entry, ptr %0, i64 0, i32 1
%15 = getelementptr inbounds %struct.reiserfs_dir_entry, ptr %0, i64 0, i32 1, i32 1
store i32 %13, ptr %15, align 8, !tbaa !16
%16 = load ptr, ptr %7, align 8, !tbaa !14
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %16, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !17
%19 = tail call ptr @le32_to_cpu(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.reiserfs_dir_entry, ptr %0, i64 0, i32 1, i32 0, i32 1
store ptr %19, ptr %20, align 8, !tbaa !20
%21 = load ptr, ptr %7, align 8, !tbaa !14
%22 = load i32, ptr %21, align 4, !tbaa !21
%23 = tail call ptr @le32_to_cpu(i32 noundef %22) #2
store ptr %23, ptr %14, align 8, !tbaa !22
%24 = tail call i32 @deh_offset(ptr noundef %6) #2
%25 = tail call i32 @set_cpu_key_k_offset(ptr noundef nonnull %14, i32 noundef %24) #2
%26 = load i32, ptr @TYPE_DIRENTRY, align 4, !tbaa !15
%27 = tail call i32 @set_cpu_key_k_type(ptr noundef nonnull %14, i32 noundef %26) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @ih_entry_count(ptr noundef) local_unnamed_addr #1
declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @set_cpu_key_k_offset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @deh_offset(ptr noundef) local_unnamed_addr #1
declare i32 @set_cpu_key_k_type(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)"}
!5 = !{!6, !12, i64 40}
!6 = !{!"reiserfs_dir_entry", !7, i64 0, !10, i64 8, !12, i64 32, !12, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !11, i64 0, !7, i64 16}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !12, i64 32}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 24}
!17 = !{!18, !7, i64 4}
!18 = !{!"TYPE_9__", !19, i64 0}
!19 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!20 = !{!6, !12, i64 16}
!21 = !{!18, !7, i64 0}
!22 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_namei.c_store_de_entry_key.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_namei.c_store_de_entry_key.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.reiserfs_de_head = type { i32 }
@KEY_FORMAT_3_5 = common local_unnamed_addr global i32 0, align 4
@TYPE_DIRENTRY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @store_de_entry_key], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @store_de_entry_key(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %0, align 8, !tbaa !14
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds %struct.reiserfs_de_head, ptr %3, i64 %5
%7 = getelementptr inbounds i8, ptr %0, i64 32
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = tail call i64 @ih_entry_count(ptr noundef %8) #2
%10 = icmp sle i64 %9, %5
%11 = zext i1 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
%13 = load i32, ptr @KEY_FORMAT_3_5, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %13, ptr %15, align 8, !tbaa !17
%16 = load ptr, ptr %7, align 8, !tbaa !15
%17 = getelementptr inbounds i8, ptr %16, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = tail call ptr @le32_to_cpu(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %19, ptr %20, align 8, !tbaa !21
%21 = load ptr, ptr %7, align 8, !tbaa !15
%22 = load i32, ptr %21, align 4, !tbaa !22
%23 = tail call ptr @le32_to_cpu(i32 noundef %22) #2
store ptr %23, ptr %14, align 8, !tbaa !23
%24 = tail call i32 @deh_offset(ptr noundef %6) #2
%25 = tail call i32 @set_cpu_key_k_offset(ptr noundef nonnull %14, i32 noundef %24) #2
%26 = load i32, ptr @TYPE_DIRENTRY, align 4, !tbaa !16
%27 = tail call i32 @set_cpu_key_k_type(ptr noundef nonnull %14, i32 noundef %26) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @ih_entry_count(ptr noundef) local_unnamed_addr #1
declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @set_cpu_key_k_offset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @deh_offset(ptr noundef) local_unnamed_addr #1
declare i32 @set_cpu_key_k_type(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)"}
!6 = !{!7, !13, i64 40}
!7 = !{!"reiserfs_dir_entry", !8, i64 0, !11, i64 8, !13, i64 32, !13, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !12, i64 0, !8, i64 16}
!12 = !{!"TYPE_6__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !13, i64 32}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 24}
!18 = !{!19, !8, i64 4}
!19 = !{!"TYPE_9__", !20, i64 0}
!20 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!21 = !{!7, !13, i64 16}
!22 = !{!19, !8, i64 0}
!23 = !{!7, !13, i64 8}
| linux_fs_reiserfs_extr_namei.c_store_de_entry_key |
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_set.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mtk_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mtk_rmw(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %2) #2
ret void
}
declare i32 @mtk_rmw(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_set.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-mt7622.c_mtk_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mtk_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mtk_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mtk_rmw(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %2) #2
ret void
}
declare i32 @mtk_rmw(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_rtc_extr_rtc-mt7622.c_mtk_set |
; ModuleID = 'AnghaBench/postgres/src/backend/replication/libpqwalreceiver/extr_libpqwalreceiver.c_libpqrcv_PQgetResult.c'
source_filename = "AnghaBench/postgres/src/backend/replication/libpqwalreceiver/extr_libpqwalreceiver.c_libpqrcv_PQgetResult.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MyLatch = dso_local local_unnamed_addr global i32 0, align 4
@WL_EXIT_ON_PM_DEATH = dso_local local_unnamed_addr global i32 0, align 4
@WL_SOCKET_READABLE = dso_local local_unnamed_addr global i32 0, align 4
@WL_LATCH_SET = dso_local local_unnamed_addr global i32 0, align 4
@WAIT_EVENT_LIBPQWALRECEIVER_RECEIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @libpqrcv_PQgetResult], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @libpqrcv_PQgetResult(ptr noundef %0) #0 {
br label %2
2: ; preds = %22, %1
%3 = tail call i64 @PQisBusy(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %25, label %5
5: ; preds = %2
%6 = load i32, ptr @MyLatch, align 4, !tbaa !5
%7 = load i32, ptr @WL_EXIT_ON_PM_DEATH, align 4, !tbaa !5
%8 = load i32, ptr @WL_SOCKET_READABLE, align 4, !tbaa !5
%9 = or i32 %8, %7
%10 = load i32, ptr @WL_LATCH_SET, align 4, !tbaa !5
%11 = or i32 %9, %10
%12 = tail call i32 @PQsocket(ptr noundef %0) #2
%13 = load i32, ptr @WAIT_EVENT_LIBPQWALRECEIVER_RECEIVE, align 4, !tbaa !5
%14 = tail call i32 @WaitLatchOrSocket(i32 noundef %6, i32 noundef %11, i32 noundef %12, i32 noundef 0, i32 noundef %13) #2
%15 = load i32, ptr @WL_LATCH_SET, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %5
%19 = load i32, ptr @MyLatch, align 4, !tbaa !5
%20 = tail call i32 @ResetLatch(i32 noundef %19) #2
%21 = tail call i32 (...) @ProcessWalRcvInterrupts() #2
br label %22
22: ; preds = %18, %5
%23 = tail call i64 @PQconsumeInput(ptr noundef %0) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %2
25: ; preds = %2
%26 = tail call ptr @PQgetResult(ptr noundef %0) #2
br label %27
27: ; preds = %22, %25
%28 = phi ptr [ %26, %25 ], [ null, %22 ]
ret ptr %28
}
declare i64 @PQisBusy(ptr noundef) local_unnamed_addr #1
declare i32 @WaitLatchOrSocket(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PQsocket(ptr noundef) local_unnamed_addr #1
declare i32 @ResetLatch(i32 noundef) local_unnamed_addr #1
declare i32 @ProcessWalRcvInterrupts(...) local_unnamed_addr #1
declare i64 @PQconsumeInput(ptr noundef) local_unnamed_addr #1
declare ptr @PQgetResult(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/postgres/src/backend/replication/libpqwalreceiver/extr_libpqwalreceiver.c_libpqrcv_PQgetResult.c'
source_filename = "AnghaBench/postgres/src/backend/replication/libpqwalreceiver/extr_libpqwalreceiver.c_libpqrcv_PQgetResult.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MyLatch = common local_unnamed_addr global i32 0, align 4
@WL_EXIT_ON_PM_DEATH = common local_unnamed_addr global i32 0, align 4
@WL_SOCKET_READABLE = common local_unnamed_addr global i32 0, align 4
@WL_LATCH_SET = common local_unnamed_addr global i32 0, align 4
@WAIT_EVENT_LIBPQWALRECEIVER_RECEIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @libpqrcv_PQgetResult], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @libpqrcv_PQgetResult(ptr noundef %0) #0 {
br label %2
2: ; preds = %22, %1
%3 = tail call i64 @PQisBusy(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %25, label %5
5: ; preds = %2
%6 = load i32, ptr @MyLatch, align 4, !tbaa !6
%7 = load i32, ptr @WL_EXIT_ON_PM_DEATH, align 4, !tbaa !6
%8 = load i32, ptr @WL_SOCKET_READABLE, align 4, !tbaa !6
%9 = or i32 %8, %7
%10 = load i32, ptr @WL_LATCH_SET, align 4, !tbaa !6
%11 = or i32 %9, %10
%12 = tail call i32 @PQsocket(ptr noundef %0) #2
%13 = load i32, ptr @WAIT_EVENT_LIBPQWALRECEIVER_RECEIVE, align 4, !tbaa !6
%14 = tail call i32 @WaitLatchOrSocket(i32 noundef %6, i32 noundef %11, i32 noundef %12, i32 noundef 0, i32 noundef %13) #2
%15 = load i32, ptr @WL_LATCH_SET, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %5
%19 = load i32, ptr @MyLatch, align 4, !tbaa !6
%20 = tail call i32 @ResetLatch(i32 noundef %19) #2
%21 = tail call i32 @ProcessWalRcvInterrupts() #2
br label %22
22: ; preds = %18, %5
%23 = tail call i64 @PQconsumeInput(ptr noundef %0) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %2
25: ; preds = %2
%26 = tail call ptr @PQgetResult(ptr noundef %0) #2
br label %27
27: ; preds = %22, %25
%28 = phi ptr [ %26, %25 ], [ null, %22 ]
ret ptr %28
}
declare i64 @PQisBusy(ptr noundef) local_unnamed_addr #1
declare i32 @WaitLatchOrSocket(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PQsocket(ptr noundef) local_unnamed_addr #1
declare i32 @ResetLatch(i32 noundef) local_unnamed_addr #1
declare i32 @ProcessWalRcvInterrupts(...) local_unnamed_addr #1
declare i64 @PQconsumeInput(ptr noundef) local_unnamed_addr #1
declare ptr @PQgetResult(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"}
| postgres_src_backend_replication_libpqwalreceiver_extr_libpqwalreceiver.c_libpqrcv_PQgetResult |
; ModuleID = 'AnghaBench/linux/tools/testing/radix-tree/extr_......libxarray.c___xa_cmpxchg.c'
source_filename = "AnghaBench/linux/tools/testing/radix-tree/extr_......libxarray.c___xa_cmpxchg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@xas = dso_local global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@XA_FREE_MARK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @__xa_cmpxchg(ptr noundef %0, i64 noundef %1, ptr noundef readnone %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @xas, align 4, !tbaa !5
%7 = tail call i32 @XA_STATE(i32 noundef %6, ptr noundef %0, i64 noundef %1) #2
%8 = tail call i32 @xa_is_advanced(ptr noundef %3) #2
%9 = tail call i64 @WARN_ON_ONCE(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = icmp eq ptr %3, null
%13 = icmp ne ptr %2, null
br label %18
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
%17 = tail call ptr @XA_ERROR(i32 noundef %16) #2
br label %35
18: ; preds = %11, %30
%19 = tail call ptr @xas_load(ptr noundef nonnull @xas) #2
%20 = icmp eq ptr %19, %2
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = tail call i32 @xas_store(ptr noundef nonnull @xas, ptr noundef %3) #2
%23 = tail call i64 @xa_track_free(ptr noundef %0) #2
%24 = icmp eq i64 %23, 0
%25 = or i1 %12, %24
%26 = or i1 %13, %25
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @XA_FREE_MARK, align 4, !tbaa !5
%29 = tail call i32 @xas_clear_mark(ptr noundef nonnull @xas, i32 noundef %28) #2
br label %30
30: ; preds = %18, %27, %21
%31 = tail call i64 @__xas_nomem(ptr noundef nonnull @xas, i32 noundef %4) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %18, !llvm.loop !9
33: ; preds = %30
%34 = tail call ptr @xas_result(ptr noundef nonnull @xas, ptr noundef %19) #2
br label %35
35: ; preds = %33, %14
%36 = phi ptr [ %17, %14 ], [ %34, %33 ]
ret ptr %36
}
declare i32 @XA_STATE(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @xa_is_advanced(ptr noundef) local_unnamed_addr #1
declare ptr @XA_ERROR(i32 noundef) local_unnamed_addr #1
declare ptr @xas_load(ptr noundef) local_unnamed_addr #1
declare i32 @xas_store(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @xa_track_free(ptr noundef) local_unnamed_addr #1
declare i32 @xas_clear_mark(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @__xas_nomem(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xas_result(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/radix-tree/extr_......libxarray.c___xa_cmpxchg.c'
source_filename = "AnghaBench/linux/tools/testing/radix-tree/extr_......libxarray.c___xa_cmpxchg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xas = common global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@XA_FREE_MARK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @__xa_cmpxchg(ptr noundef %0, i64 noundef %1, ptr noundef readnone %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @xas, align 4, !tbaa !6
%7 = tail call i32 @XA_STATE(i32 noundef %6, ptr noundef %0, i64 noundef %1) #2
%8 = tail call i32 @xa_is_advanced(ptr noundef %3) #2
%9 = tail call i64 @WARN_ON_ONCE(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = icmp eq ptr %3, null
%13 = icmp ne ptr %2, null
br label %18
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
%17 = tail call ptr @XA_ERROR(i32 noundef %16) #2
br label %35
18: ; preds = %11, %30
%19 = tail call ptr @xas_load(ptr noundef nonnull @xas) #2
%20 = icmp eq ptr %19, %2
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = tail call i32 @xas_store(ptr noundef nonnull @xas, ptr noundef %3) #2
%23 = tail call i64 @xa_track_free(ptr noundef %0) #2
%24 = icmp eq i64 %23, 0
%25 = or i1 %12, %24
%26 = or i1 %13, %25
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @XA_FREE_MARK, align 4, !tbaa !6
%29 = tail call i32 @xas_clear_mark(ptr noundef nonnull @xas, i32 noundef %28) #2
br label %30
30: ; preds = %18, %27, %21
%31 = tail call i64 @__xas_nomem(ptr noundef nonnull @xas, i32 noundef %4) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %18, !llvm.loop !10
33: ; preds = %30
%34 = tail call ptr @xas_result(ptr noundef nonnull @xas, ptr noundef %19) #2
br label %35
35: ; preds = %33, %14
%36 = phi ptr [ %17, %14 ], [ %34, %33 ]
ret ptr %36
}
declare i32 @XA_STATE(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @xa_is_advanced(ptr noundef) local_unnamed_addr #1
declare ptr @XA_ERROR(i32 noundef) local_unnamed_addr #1
declare ptr @xas_load(ptr noundef) local_unnamed_addr #1
declare i32 @xas_store(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @xa_track_free(ptr noundef) local_unnamed_addr #1
declare i32 @xas_clear_mark(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @__xas_nomem(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xas_result(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_tools_testing_radix-tree_extr_......libxarray.c___xa_cmpxchg |
; ModuleID = 'AnghaBench/linux/drivers/acpi/apei/extr_einj.c_einj_check_trigger_header.c'
source_filename = "AnghaBench/linux/drivers/acpi/apei/extr_einj.c_einj_check_trigger_header.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.acpi_einj_trigger = type { i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @einj_check_trigger_header], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @einj_check_trigger_header(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 12
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !10
%6 = sub nsw i32 0, %5
br label %26
7: ; preds = %1
%8 = getelementptr inbounds %struct.acpi_einj_trigger, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10
%11 = icmp sgt i32 %9, %10
%12 = icmp slt i32 %9, 12
%13 = or i1 %12, %11
br i1 %13, label %14, label %17
14: ; preds = %7
%15 = load i32, ptr @EINVAL, align 4, !tbaa !10
%16 = sub nsw i32 0, %15
br label %26
17: ; preds = %7
%18 = getelementptr inbounds %struct.acpi_einj_trigger, ptr %0, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = add nsw i32 %9, -12
%21 = lshr i32 %20, 2
%22 = icmp eq i32 %21, %19
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = load i32, ptr @EINVAL, align 4, !tbaa !10
%25 = sub nsw i32 0, %24
br label %26
26: ; preds = %17, %23, %14, %4
%27 = phi i32 [ %6, %4 ], [ %16, %14 ], [ %25, %23 ], [ 0, %17 ]
ret i32 %27
}
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 = !{!"acpi_einj_trigger", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/acpi/apei/extr_einj.c_einj_check_trigger_header.c'
source_filename = "AnghaBench/linux/drivers/acpi/apei/extr_einj.c_einj_check_trigger_header.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
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @einj_check_trigger_header], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @einj_check_trigger_header(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 12
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !11
%6 = sub nsw i32 0, %5
br label %26
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%11 = icmp sgt i32 %9, %10
%12 = icmp slt i32 %9, 12
%13 = or i1 %12, %11
br i1 %13, label %14, label %17
14: ; preds = %7
%15 = load i32, ptr @EINVAL, align 4, !tbaa !11
%16 = sub nsw i32 0, %15
br label %26
17: ; preds = %7
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = add nsw i32 %9, -12
%21 = lshr i32 %20, 2
%22 = icmp eq i32 %21, %19
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = load i32, ptr @EINVAL, align 4, !tbaa !11
%25 = sub nsw i32 0, %24
br label %26
26: ; preds = %17, %23, %14, %4
%27 = phi i32 [ %6, %4 ], [ %16, %14 ], [ %25, %23 ], [ 0, %17 ]
ret i32 %27
}
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 = !{!"acpi_einj_trigger", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
| linux_drivers_acpi_apei_extr_einj.c_einj_check_trigger_header |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_bpobj.c_bpobj_iterate_nofree.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_bpobj.c_bpobj_iterate_nofree.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bpobj_iterate_nofree(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%6 = tail call i32 @bpobj_iterate_impl(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef null, i32 noundef %5, ptr noundef %3) #2
ret i32 %6
}
declare i32 @bpobj_iterate_impl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_bpobj.c_bpobj_iterate_nofree.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_bpobj.c_bpobj_iterate_nofree.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bpobj_iterate_nofree(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%6 = tail call i32 @bpobj_iterate_impl(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef null, i32 noundef %5, ptr noundef %3) #2
ret i32 %6
}
declare i32 @bpobj_iterate_impl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| zfs_module_zfs_extr_bpobj.c_bpobj_iterate_nofree |
; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_arl_callback_status_vmswap.c'
source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_arl_callback_status_vmswap.c"
target datalayout = "e-m:e-p270:32:32-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.arl_callback_ptr = type { i32, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @arl_callback_status_vmswap(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.arl_callback_ptr, ptr %3, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = load i32, ptr %3, align 8, !tbaa !11
%8 = tail call i32 @procfile_linewords(i32 noundef %6, i32 noundef %7) #2
%9 = icmp slt i32 %8, 3
%10 = zext i1 %9 to i32
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %4
%14 = load i32, ptr %5, align 4, !tbaa !5
%15 = load i32, ptr %3, align 8, !tbaa !11
%16 = tail call i32 @procfile_lineword(i32 noundef %14, i32 noundef %15, i32 noundef 1) #2
%17 = tail call i32 @str2kernel_uint_t(i32 noundef %16) #2
%18 = getelementptr inbounds %struct.arl_callback_ptr, ptr %3, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !12
store i32 %17, ptr %19, align 4, !tbaa !13
br label %20
20: ; preds = %4, %13
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @procfile_linewords(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @str2kernel_uint_t(i32 noundef) local_unnamed_addr #1
declare i32 @procfile_lineword(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"arl_callback_ptr", !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 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_arl_callback_status_vmswap.c'
source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_arl_callback_status_vmswap.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 @arl_callback_status_vmswap(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %3, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = load i32, ptr %3, align 8, !tbaa !12
%8 = tail call i32 @procfile_linewords(i32 noundef %6, i32 noundef %7) #2
%9 = icmp slt i32 %8, 3
%10 = zext i1 %9 to i32
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %4
%14 = load i32, ptr %5, align 4, !tbaa !6
%15 = load i32, ptr %3, align 8, !tbaa !12
%16 = tail call i32 @procfile_lineword(i32 noundef %14, i32 noundef %15, i32 noundef 1) #2
%17 = tail call i32 @str2kernel_uint_t(i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !13
store i32 %17, ptr %19, align 4, !tbaa !14
br label %20
20: ; preds = %4, %13
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @procfile_linewords(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @str2kernel_uint_t(i32 noundef) local_unnamed_addr #1
declare i32 @procfile_lineword(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"arl_callback_ptr", !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 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
| netdata_collectors_apps.plugin_extr_apps_plugin.c_arl_callback_status_vmswap |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/mtk-vcodec/venc/extr_venc_vp8_if.c_vp8_enc_wait_venc_done.c'
source_filename = "AnghaBench/linux/drivers/media/platform/mtk-vcodec/venc/extr_venc_vp8_if.c_vp8_enc_wait_venc_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"
@MTK_INST_IRQ_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4
@WAIT_INTR_TIMEOUT_MS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"isr return %x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @vp8_enc_wait_venc_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vp8_enc_wait_venc_done(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @MTK_INST_IRQ_RECEIVED, align 4, !tbaa !10
%5 = load i32, ptr @WAIT_INTR_TIMEOUT_MS, align 4, !tbaa !10
%6 = tail call i32 @mtk_vcodec_wait_for_done_ctx(ptr noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4, !tbaa !12
%10 = tail call i32 @mtk_vcodec_debug(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %9) #2
br label %11
11: ; preds = %8, %1
%12 = phi i32 [ 0, %1 ], [ %9, %8 ]
ret i32 %12
}
declare i32 @mtk_vcodec_wait_for_done_ctx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtk_vcodec_debug(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 = !{!"venc_vp8_inst", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"mtk_vcodec_ctx", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/mtk-vcodec/venc/extr_venc_vp8_if.c_vp8_enc_wait_venc_done.c'
source_filename = "AnghaBench/linux/drivers/media/platform/mtk-vcodec/venc/extr_venc_vp8_if.c_vp8_enc_wait_venc_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MTK_INST_IRQ_RECEIVED = common local_unnamed_addr global i32 0, align 4
@WAIT_INTR_TIMEOUT_MS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"isr return %x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @vp8_enc_wait_venc_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vp8_enc_wait_venc_done(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @MTK_INST_IRQ_RECEIVED, align 4, !tbaa !11
%5 = load i32, ptr @WAIT_INTR_TIMEOUT_MS, align 4, !tbaa !11
%6 = tail call i32 @mtk_vcodec_wait_for_done_ctx(ptr noundef %3, i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4, !tbaa !13
%10 = tail call i32 @mtk_vcodec_debug(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %9) #2
br label %11
11: ; preds = %8, %1
%12 = phi i32 [ 0, %1 ], [ %9, %8 ]
ret i32 %12
}
declare i32 @mtk_vcodec_wait_for_done_ctx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtk_vcodec_debug(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 = !{!"venc_vp8_inst", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"mtk_vcodec_ctx", !12, i64 0}
| linux_drivers_media_platform_mtk-vcodec_venc_extr_venc_vp8_if.c_vp8_enc_wait_venc_done |
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_store.c_CRYPT_SysRegOpenStoreW.c'
source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_store.c_CRYPT_SysRegOpenStoreW.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CRYPT_SysRegOpenStoreW.fmt = internal constant [6 x i8] c"%s\\%s\00", align 1
@.str = private unnamed_addr constant [17 x i8] c"(%ld, %08x, %s)\0A\00", align 1
@E_INVALIDARG = dso_local local_unnamed_addr global i32 0, align 4
@CERT_SYSTEM_STORE_LOCATION_MASK = dso_local local_unnamed_addr global i32 0, align 4
@HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4
@CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH = dso_local local_unnamed_addr global ptr null, align 8
@rootW = dso_local local_unnamed_addr global i32 0, align 4
@HKEY_CURRENT_USER = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"CERT_SYSTEM_STORE_CURRENT_SERVICE, %s: stub\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"CERT_SYSTEM_STORE_SERVICES, %s: stub\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"CERT_SYSTEM_STORE_USERS, %s: stub\0A\00", align 1
@CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH = dso_local local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [54 x i8] c"CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE, %s: stub\0A\00", align 1
@CERT_STORE_READONLY_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@KEY_READ = dso_local local_unnamed_addr global i32 0, align 4
@KEY_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@CERT_STORE_OPEN_EXISTING_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@CERT_STORE_CREATE_NEW_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@REG_OPENED_EXISTING_KEY = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_FILE_EXISTS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CRYPT_SysRegOpenStoreW], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @CRYPT_SysRegOpenStoreW(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = tail call i32 @debugstr_w(ptr noundef %2) #3
%7 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %6) #3
%8 = icmp eq ptr %2, null
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%11 = tail call i32 @SetLastError(i32 noundef %10) #3
br label %99
12: ; preds = %3
%13 = load i32, ptr @CERT_SYSTEM_STORE_LOCATION_MASK, align 4, !tbaa !5
%14 = and i32 %13, %1
switch i32 %14, label %44 [
i32 132, label %15
i32 134, label %23
i32 135, label %26
i32 129, label %29
i32 128, label %32
i32 133, label %35
i32 130, label %38
i32 131, label %41
]
15: ; preds = %12
%16 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !5
%17 = load ptr, ptr @CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH, align 8, !tbaa !9
%18 = load i32, ptr @rootW, align 4, !tbaa !5
%19 = tail call i32 @lstrcmpiW(ptr noundef nonnull %2, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %47
21: ; preds = %15
%22 = tail call i32 (...) @CRYPT_ImportSystemRootCertsToReg() #3
br label %47
23: ; preds = %12
%24 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !5
%25 = load ptr, ptr @CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH, align 8, !tbaa !9
br label %47
26: ; preds = %12
%27 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%28 = tail call i32 @FIXME(ptr noundef nonnull @.str.1, i32 noundef %27) #3
br label %99
29: ; preds = %12
%30 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%31 = tail call i32 @FIXME(ptr noundef nonnull @.str.2, i32 noundef %30) #3
br label %99
32: ; preds = %12
%33 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%34 = tail call i32 @FIXME(ptr noundef nonnull @.str.3, i32 noundef %33) #3
br label %99
35: ; preds = %12
%36 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !5
%37 = load ptr, ptr @CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH, align 8, !tbaa !9
br label %47
38: ; preds = %12
%39 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !5
%40 = load ptr, ptr @CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH, align 8, !tbaa !9
br label %47
41: ; preds = %12
%42 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%43 = tail call i32 @FIXME(ptr noundef nonnull @.str.4, i32 noundef %42) #3
br label %99
44: ; preds = %12
%45 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%46 = tail call i32 @SetLastError(i32 noundef %45) #3
br label %99
47: ; preds = %15, %21, %38, %35, %23
%48 = phi i32 [ %39, %38 ], [ %36, %35 ], [ %24, %23 ], [ %16, %15 ], [ %16, %21 ]
%49 = phi ptr [ %40, %38 ], [ %37, %35 ], [ %25, %23 ], [ %17, %15 ], [ %17, %21 ]
%50 = tail call i32 @lstrlenW(ptr noundef %49) #3
%51 = tail call i32 @lstrlenW(ptr noundef nonnull %2) #3
%52 = add i32 %50, 2
%53 = add i32 %52, %51
%54 = tail call i64 @CryptMemAlloc(i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
br i1 %55, label %99, label %56
56: ; preds = %47
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%57 = load i32, ptr @CERT_STORE_READONLY_FLAG, align 4, !tbaa !5
%58 = and i32 %57, %1
%59 = icmp eq i32 %58, 0
%60 = load i32, ptr @KEY_READ, align 4
%61 = load i32, ptr @KEY_ALL_ACCESS, align 4
%62 = select i1 %59, i32 %61, i32 %60
%63 = tail call i32 @wsprintfW(i64 noundef %54, ptr noundef nonnull @CRYPT_SysRegOpenStoreW.fmt, ptr noundef %49, ptr noundef nonnull %2) #3
%64 = load i32, ptr @CERT_STORE_OPEN_EXISTING_FLAG, align 4, !tbaa !5
%65 = and i32 %64, %1
%66 = icmp eq i32 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %56
%68 = call i32 @RegOpenKeyExW(i32 noundef %48, i64 noundef %54, i32 noundef 0, i32 noundef %62, ptr noundef nonnull %4) #3
br label %86
69: ; preds = %56
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%70 = call i32 @RegCreateKeyExW(i32 noundef %48, i64 noundef %54, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %62, ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %84
72: ; preds = %69
%73 = load i32, ptr @CERT_STORE_CREATE_NEW_FLAG, align 4, !tbaa !5
%74 = and i32 %73, %1
%75 = icmp eq i32 %74, 0
br i1 %75, label %84, label %76
76: ; preds = %72
%77 = load i32, ptr %5, align 4, !tbaa !5
%78 = load i32, ptr @REG_OPENED_EXISTING_KEY, align 4, !tbaa !5
%79 = icmp eq i32 %77, %78
br i1 %79, label %80, label %84
80: ; preds = %76
%81 = load i32, ptr %4, align 4, !tbaa !5
%82 = call i32 @RegCloseKey(i32 noundef %81) #3
%83 = load i32, ptr @ERROR_FILE_EXISTS, align 4, !tbaa !5
br label %84
84: ; preds = %80, %76, %72, %69
%85 = phi i32 [ %70, %69 ], [ %83, %80 ], [ 0, %76 ], [ 0, %72 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %86
86: ; preds = %84, %67
%87 = phi i32 [ %68, %67 ], [ %85, %84 ]
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %94
89: ; preds = %86
%90 = load i32, ptr %4, align 4, !tbaa !5
%91 = call ptr @CRYPT_RegOpenStore(i32 noundef %0, i32 noundef %1, i32 noundef %90) #3
%92 = load i32, ptr %4, align 4, !tbaa !5
%93 = call i32 @RegCloseKey(i32 noundef %92) #3
br label %96
94: ; preds = %86
%95 = call i32 @SetLastError(i32 noundef %87) #3
br label %96
96: ; preds = %94, %89
%97 = phi ptr [ null, %94 ], [ %91, %89 ]
%98 = call i32 @CryptMemFree(i64 noundef %54) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %99
99: ; preds = %47, %96, %44, %41, %32, %29, %26, %9
%100 = phi ptr [ null, %44 ], [ null, %41 ], [ null, %32 ], [ null, %29 ], [ null, %26 ], [ null, %9 ], [ %97, %96 ], [ null, %47 ]
ret ptr %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @lstrcmpiW(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CRYPT_ImportSystemRootCertsToReg(...) local_unnamed_addr #2
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CryptMemAlloc(i32 noundef) local_unnamed_addr #2
declare i32 @lstrlenW(ptr noundef) local_unnamed_addr #2
declare i32 @wsprintfW(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegOpenKeyExW(i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCreateKeyExW(i32 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @CRYPT_RegOpenStore(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CryptMemFree(i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_store.c_CRYPT_SysRegOpenStoreW.c'
source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_store.c_CRYPT_SysRegOpenStoreW.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CRYPT_SysRegOpenStoreW.fmt = internal constant [6 x i8] c"%s\\%s\00", align 1
@.str = private unnamed_addr constant [17 x i8] c"(%ld, %08x, %s)\0A\00", align 1
@E_INVALIDARG = common local_unnamed_addr global i32 0, align 4
@CERT_SYSTEM_STORE_LOCATION_MASK = common local_unnamed_addr global i32 0, align 4
@HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4
@CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH = common local_unnamed_addr global ptr null, align 8
@rootW = common local_unnamed_addr global i32 0, align 4
@HKEY_CURRENT_USER = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"CERT_SYSTEM_STORE_CURRENT_SERVICE, %s: stub\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"CERT_SYSTEM_STORE_SERVICES, %s: stub\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"CERT_SYSTEM_STORE_USERS, %s: stub\0A\00", align 1
@CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH = common local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [54 x i8] c"CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE, %s: stub\0A\00", align 1
@CERT_STORE_READONLY_FLAG = common local_unnamed_addr global i32 0, align 4
@KEY_READ = common local_unnamed_addr global i32 0, align 4
@KEY_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4
@CERT_STORE_OPEN_EXISTING_FLAG = common local_unnamed_addr global i32 0, align 4
@CERT_STORE_CREATE_NEW_FLAG = common local_unnamed_addr global i32 0, align 4
@REG_OPENED_EXISTING_KEY = common local_unnamed_addr global i32 0, align 4
@ERROR_FILE_EXISTS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CRYPT_SysRegOpenStoreW], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @CRYPT_SysRegOpenStoreW(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = tail call i32 @debugstr_w(ptr noundef %2) #3
%7 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %6) #3
%8 = icmp eq ptr %2, null
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%11 = tail call i32 @SetLastError(i32 noundef %10) #3
br label %99
12: ; preds = %3
%13 = load i32, ptr @CERT_SYSTEM_STORE_LOCATION_MASK, align 4, !tbaa !6
%14 = and i32 %13, %1
switch i32 %14, label %44 [
i32 132, label %15
i32 134, label %23
i32 135, label %26
i32 129, label %29
i32 128, label %32
i32 133, label %35
i32 130, label %38
i32 131, label %41
]
15: ; preds = %12
%16 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !6
%17 = load ptr, ptr @CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH, align 8, !tbaa !10
%18 = load i32, ptr @rootW, align 4, !tbaa !6
%19 = tail call i32 @lstrcmpiW(ptr noundef nonnull %2, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %47
21: ; preds = %15
%22 = tail call i32 @CRYPT_ImportSystemRootCertsToReg() #3
br label %47
23: ; preds = %12
%24 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !6
%25 = load ptr, ptr @CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH, align 8, !tbaa !10
br label %47
26: ; preds = %12
%27 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%28 = tail call i32 @FIXME(ptr noundef nonnull @.str.1, i32 noundef %27) #3
br label %99
29: ; preds = %12
%30 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%31 = tail call i32 @FIXME(ptr noundef nonnull @.str.2, i32 noundef %30) #3
br label %99
32: ; preds = %12
%33 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%34 = tail call i32 @FIXME(ptr noundef nonnull @.str.3, i32 noundef %33) #3
br label %99
35: ; preds = %12
%36 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !6
%37 = load ptr, ptr @CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH, align 8, !tbaa !10
br label %47
38: ; preds = %12
%39 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !6
%40 = load ptr, ptr @CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH, align 8, !tbaa !10
br label %47
41: ; preds = %12
%42 = tail call i32 @debugstr_w(ptr noundef nonnull %2) #3
%43 = tail call i32 @FIXME(ptr noundef nonnull @.str.4, i32 noundef %42) #3
br label %99
44: ; preds = %12
%45 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%46 = tail call i32 @SetLastError(i32 noundef %45) #3
br label %99
47: ; preds = %15, %21, %38, %35, %23
%48 = phi i32 [ %39, %38 ], [ %36, %35 ], [ %24, %23 ], [ %16, %15 ], [ %16, %21 ]
%49 = phi ptr [ %40, %38 ], [ %37, %35 ], [ %25, %23 ], [ %17, %15 ], [ %17, %21 ]
%50 = tail call i32 @lstrlenW(ptr noundef %49) #3
%51 = tail call i32 @lstrlenW(ptr noundef nonnull %2) #3
%52 = add i32 %50, 2
%53 = add i32 %52, %51
%54 = tail call i64 @CryptMemAlloc(i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
br i1 %55, label %99, label %56
56: ; preds = %47
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%57 = load i32, ptr @CERT_STORE_READONLY_FLAG, align 4, !tbaa !6
%58 = and i32 %57, %1
%59 = icmp eq i32 %58, 0
%60 = load i32, ptr @KEY_READ, align 4
%61 = load i32, ptr @KEY_ALL_ACCESS, align 4
%62 = select i1 %59, i32 %61, i32 %60
%63 = tail call i32 @wsprintfW(i64 noundef %54, ptr noundef nonnull @CRYPT_SysRegOpenStoreW.fmt, ptr noundef %49, ptr noundef nonnull %2) #3
%64 = load i32, ptr @CERT_STORE_OPEN_EXISTING_FLAG, align 4, !tbaa !6
%65 = and i32 %64, %1
%66 = icmp eq i32 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %56
%68 = call i32 @RegOpenKeyExW(i32 noundef %48, i64 noundef %54, i32 noundef 0, i32 noundef %62, ptr noundef nonnull %4) #3
br label %86
69: ; preds = %56
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%70 = call i32 @RegCreateKeyExW(i32 noundef %48, i64 noundef %54, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %62, ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %84
72: ; preds = %69
%73 = load i32, ptr @CERT_STORE_CREATE_NEW_FLAG, align 4, !tbaa !6
%74 = and i32 %73, %1
%75 = icmp eq i32 %74, 0
br i1 %75, label %84, label %76
76: ; preds = %72
%77 = load i32, ptr %5, align 4, !tbaa !6
%78 = load i32, ptr @REG_OPENED_EXISTING_KEY, align 4, !tbaa !6
%79 = icmp eq i32 %77, %78
br i1 %79, label %80, label %84
80: ; preds = %76
%81 = load i32, ptr %4, align 4, !tbaa !6
%82 = call i32 @RegCloseKey(i32 noundef %81) #3
%83 = load i32, ptr @ERROR_FILE_EXISTS, align 4, !tbaa !6
br label %84
84: ; preds = %80, %76, %72, %69
%85 = phi i32 [ %70, %69 ], [ %83, %80 ], [ 0, %76 ], [ 0, %72 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %86
86: ; preds = %84, %67
%87 = phi i32 [ %68, %67 ], [ %85, %84 ]
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %94
89: ; preds = %86
%90 = load i32, ptr %4, align 4, !tbaa !6
%91 = call ptr @CRYPT_RegOpenStore(i32 noundef %0, i32 noundef %1, i32 noundef %90) #3
%92 = load i32, ptr %4, align 4, !tbaa !6
%93 = call i32 @RegCloseKey(i32 noundef %92) #3
br label %96
94: ; preds = %86
%95 = call i32 @SetLastError(i32 noundef %87) #3
br label %96
96: ; preds = %94, %89
%97 = phi ptr [ null, %94 ], [ %91, %89 ]
%98 = call i32 @CryptMemFree(i64 noundef %54) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %99
99: ; preds = %47, %96, %44, %41, %32, %29, %26, %9
%100 = phi ptr [ null, %44 ], [ null, %41 ], [ null, %32 ], [ null, %29 ], [ null, %26 ], [ null, %9 ], [ %97, %96 ], [ null, %47 ]
ret ptr %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @lstrcmpiW(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CRYPT_ImportSystemRootCertsToReg(...) local_unnamed_addr #2
declare i32 @FIXME(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CryptMemAlloc(i32 noundef) local_unnamed_addr #2
declare i32 @lstrlenW(ptr noundef) local_unnamed_addr #2
declare i32 @wsprintfW(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegOpenKeyExW(i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCreateKeyExW(i32 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @CRYPT_RegOpenStore(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CryptMemFree(i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| reactos_dll_win32_crypt32_extr_store.c_CRYPT_SysRegOpenStoreW |
; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_xtensa.c_xtensa_and_op.c'
source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_xtensa.c_xtensa_and_op.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@R_ANAL_OP_TYPE_AND = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xtensa_and_op], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @xtensa_and_op(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @R_ANAL_OP_TYPE_AND, align 4, !tbaa !5
store i32 %5, ptr %1, align 4, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_xtensa.c_xtensa_and_op.c'
source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_xtensa.c_xtensa_and_op.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@R_ANAL_OP_TYPE_AND = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xtensa_and_op], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @xtensa_and_op(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @R_ANAL_OP_TYPE_AND, align 4, !tbaa !6
store i32 %5, ptr %1, align 4, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
| radare2_libr_anal_p_extr_anal_xtensa.c_xtensa_and_op |
; ModuleID = 'AnghaBench/Atlas/src/extr_network-backend.c_network_backends_count.c'
source_filename = "AnghaBench/Atlas/src/extr_network-backend.c_network_backends_count.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local i32 @network_backends_count(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @g_mutex_lock(i32 noundef %2) #2
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = tail call i32 @g_mutex_unlock(i32 noundef %7) #2
ret i32 %6
}
declare i32 @g_mutex_lock(i32 noundef) local_unnamed_addr #1
declare i32 @g_mutex_unlock(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_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
| ; ModuleID = 'AnghaBench/Atlas/src/extr_network-backend.c_network_backends_count.c'
source_filename = "AnghaBench/Atlas/src/extr_network-backend.c_network_backends_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @network_backends_count(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @g_mutex_lock(i32 noundef %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = tail call i32 @g_mutex_unlock(i32 noundef %7) #2
ret i32 %6
}
declare i32 @g_mutex_lock(i32 noundef) local_unnamed_addr #1
declare i32 @g_mutex_unlock(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_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
| Atlas_src_extr_network-backend.c_network_backends_count |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/cxgb4/extr_mem.c_dereg_mem.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/cxgb4/extr_mem.c_dereg_mem.c"
target datalayout = "e-m:e-p270:32:32-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 @dereg_mem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dereg_mem(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
store i32 %1, ptr %5, align 4, !tbaa !5
%6 = call i32 @write_tpt_entry(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %5, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i64 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %2, i32 noundef %3) #2
ret i32 %6
}
declare i32 @write_tpt_entry(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/cxgb4/extr_mem.c_dereg_mem.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/cxgb4/extr_mem.c_dereg_mem.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 @dereg_mem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dereg_mem(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
store i32 %1, ptr %5, align 4, !tbaa !6
%6 = call i32 @write_tpt_entry(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %5, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i64 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %2, i32 noundef %3) #2
ret i32 %6
}
declare i32 @write_tpt_entry(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_hw_cxgb4_extr_mem.c_dereg_mem |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_dwb_scl.c_wbscl_set_scaler_filter.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_dwb_scl.c_wbscl_set_scaler_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NUM_PHASES = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_SELECT = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_TAP_PAIR_IDX = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_PHASE = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_FILTER_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_TAP_DATA = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_EVEN_TAP_COEF = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_EVEN_TAP_COEF_EN = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_ODD_TAP_COEF = dso_local local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_ODD_TAP_COEF_EN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wbscl_set_scaler_filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wbscl_set_scaler_filter(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = load i32, ptr @NUM_PHASES, align 4, !tbaa !5
%6 = icmp slt i32 %5, -1
br i1 %6, label %55, label %7
7: ; preds = %4
%8 = add nsw i32 %1, 1
%9 = sdiv i32 %8, 2
%10 = icmp sgt i32 %1, 0
%11 = sext i32 %1 to i64
%12 = tail call i32 @llvm.smax.i32(i32 %9, i32 1)
%13 = zext nneg i32 %12 to i64
br label %14
14: ; preds = %7, %49
%15 = phi i32 [ %5, %7 ], [ %50, %49 ]
%16 = phi i64 [ 0, %7 ], [ %51, %49 ]
br i1 %10, label %17, label %49
17: ; preds = %14
%18 = mul nsw i64 %16, %11
%19 = getelementptr i64, ptr %3, i64 %18
%20 = trunc i64 %16 to i32
br label %21
21: ; preds = %17, %31
%22 = phi i64 [ 0, %17 ], [ %45, %31 ]
%23 = shl nuw nsw i64 %22, 1
%24 = getelementptr i64, ptr %19, i64 %23
%25 = load i64, ptr %24, align 8, !tbaa !9
%26 = or disjoint i64 %23, 1
%27 = icmp slt i64 %26, %11
br i1 %27, label %28, label %31
28: ; preds = %21
%29 = getelementptr i64, ptr %24, i64 1
%30 = load i64, ptr %29, align 8, !tbaa !9
br label %31
31: ; preds = %21, %28
%32 = phi i64 [ %30, %28 ], [ 0, %21 ]
%33 = load i32, ptr @WBSCL_COEF_RAM_SELECT, align 4, !tbaa !5
%34 = load i32, ptr @WBSCL_COEF_RAM_TAP_PAIR_IDX, align 4, !tbaa !5
%35 = load i32, ptr @WBSCL_COEF_RAM_PHASE, align 4, !tbaa !5
%36 = load i32, ptr @WBSCL_COEF_RAM_FILTER_TYPE, align 4, !tbaa !5
%37 = trunc i64 %22 to i32
%38 = tail call i32 @REG_SET_3(i32 noundef %33, i32 noundef 0, i32 noundef %34, i32 noundef %37, i32 noundef %35, i32 noundef %20, i32 noundef %36, i32 noundef %2) #3
%39 = load i32, ptr @WBSCL_COEF_RAM_TAP_DATA, align 4, !tbaa !5
%40 = load i32, ptr @WBSCL_COEF_RAM_EVEN_TAP_COEF, align 4, !tbaa !5
%41 = load i32, ptr @WBSCL_COEF_RAM_EVEN_TAP_COEF_EN, align 4, !tbaa !5
%42 = load i32, ptr @WBSCL_COEF_RAM_ODD_TAP_COEF, align 4, !tbaa !5
%43 = load i32, ptr @WBSCL_COEF_RAM_ODD_TAP_COEF_EN, align 4, !tbaa !5
%44 = tail call i32 @REG_SET_4(i32 noundef %39, i32 noundef 0, i32 noundef %40, i64 noundef %25, i32 noundef %41, i32 noundef 1, i32 noundef %42, i64 noundef %32, i32 noundef %43, i32 noundef 1) #3
%45 = add nuw nsw i64 %22, 1
%46 = icmp eq i64 %45, %13
br i1 %46, label %47, label %21, !llvm.loop !11
47: ; preds = %31
%48 = load i32, ptr @NUM_PHASES, align 4, !tbaa !5
br label %49
49: ; preds = %47, %14
%50 = phi i32 [ %48, %47 ], [ %15, %14 ]
%51 = add nuw nsw i64 %16, 1
%52 = sdiv i32 %50, 2
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %16, %53
br i1 %54, label %14, label %55, !llvm.loop !13
55: ; preds = %49, %4
ret void
}
declare i32 @REG_SET_3(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_SET_4(i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_dwb_scl.c_wbscl_set_scaler_filter.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_dwb_scl.c_wbscl_set_scaler_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NUM_PHASES = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_SELECT = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_TAP_PAIR_IDX = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_PHASE = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_FILTER_TYPE = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_TAP_DATA = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_EVEN_TAP_COEF = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_EVEN_TAP_COEF_EN = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_ODD_TAP_COEF = common local_unnamed_addr global i32 0, align 4
@WBSCL_COEF_RAM_ODD_TAP_COEF_EN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wbscl_set_scaler_filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wbscl_set_scaler_filter(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = load i32, ptr @NUM_PHASES, align 4, !tbaa !6
%6 = icmp slt i32 %5, -1
br i1 %6, label %56, label %7
7: ; preds = %4
%8 = add nsw i32 %1, 1
%9 = sdiv i32 %8, 2
%10 = icmp sgt i32 %1, 0
%11 = sext i32 %1 to i64
%12 = tail call i32 @llvm.smax.i32(i32 %9, i32 1)
%13 = zext i32 %1 to i64
%14 = zext nneg i32 %12 to i64
br label %15
15: ; preds = %7, %50
%16 = phi i32 [ %5, %7 ], [ %51, %50 ]
%17 = phi i64 [ 0, %7 ], [ %52, %50 ]
br i1 %10, label %18, label %50
18: ; preds = %15
%19 = mul nuw nsw i64 %17, %13
%20 = getelementptr inbounds i64, ptr %3, i64 %19
%21 = trunc nuw nsw i64 %17 to i32
br label %22
22: ; preds = %18, %32
%23 = phi i64 [ 0, %18 ], [ %46, %32 ]
%24 = shl nuw nsw i64 %23, 1
%25 = getelementptr inbounds i64, ptr %20, i64 %24
%26 = load i64, ptr %25, align 8, !tbaa !10
%27 = or disjoint i64 %24, 1
%28 = icmp slt i64 %27, %11
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = getelementptr i8, ptr %25, i64 8
%31 = load i64, ptr %30, align 8, !tbaa !10
br label %32
32: ; preds = %22, %29
%33 = phi i64 [ %31, %29 ], [ 0, %22 ]
%34 = load i32, ptr @WBSCL_COEF_RAM_SELECT, align 4, !tbaa !6
%35 = load i32, ptr @WBSCL_COEF_RAM_TAP_PAIR_IDX, align 4, !tbaa !6
%36 = load i32, ptr @WBSCL_COEF_RAM_PHASE, align 4, !tbaa !6
%37 = load i32, ptr @WBSCL_COEF_RAM_FILTER_TYPE, align 4, !tbaa !6
%38 = trunc nuw nsw i64 %23 to i32
%39 = tail call i32 @REG_SET_3(i32 noundef %34, i32 noundef 0, i32 noundef %35, i32 noundef %38, i32 noundef %36, i32 noundef %21, i32 noundef %37, i32 noundef %2) #3
%40 = load i32, ptr @WBSCL_COEF_RAM_TAP_DATA, align 4, !tbaa !6
%41 = load i32, ptr @WBSCL_COEF_RAM_EVEN_TAP_COEF, align 4, !tbaa !6
%42 = load i32, ptr @WBSCL_COEF_RAM_EVEN_TAP_COEF_EN, align 4, !tbaa !6
%43 = load i32, ptr @WBSCL_COEF_RAM_ODD_TAP_COEF, align 4, !tbaa !6
%44 = load i32, ptr @WBSCL_COEF_RAM_ODD_TAP_COEF_EN, align 4, !tbaa !6
%45 = tail call i32 @REG_SET_4(i32 noundef %40, i32 noundef 0, i32 noundef %41, i64 noundef %26, i32 noundef %42, i32 noundef 1, i32 noundef %43, i64 noundef %33, i32 noundef %44, i32 noundef 1) #3
%46 = add nuw nsw i64 %23, 1
%47 = icmp eq i64 %46, %14
br i1 %47, label %48, label %22, !llvm.loop !12
48: ; preds = %32
%49 = load i32, ptr @NUM_PHASES, align 4, !tbaa !6
br label %50
50: ; preds = %48, %15
%51 = phi i32 [ %49, %48 ], [ %16, %15 ]
%52 = add nuw nsw i64 %17, 1
%53 = sdiv i32 %51, 2
%54 = sext i32 %53 to i64
%55 = icmp slt i64 %17, %54
br i1 %55, label %15, label %56, !llvm.loop !14
56: ; preds = %50, %4
ret void
}
declare i32 @REG_SET_3(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_SET_4(i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| linux_drivers_gpu_drm_amd_display_dc_dcn20_extr_dcn20_dwb_scl.c_wbscl_set_scaler_filter |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-asm.c_cgen_parse_unsigned_integer.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-asm.c_cgen_parse_unsigned_integer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CGEN_PARSE_OPERAND_INTEGER = dso_local local_unnamed_addr global i32 0, align 4
@BFD_RELOC_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @cgen_parse_unsigned_integer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #2
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load i32, ptr @CGEN_PARSE_OPERAND_INTEGER, align 4, !tbaa !10
%9 = load i32, ptr @BFD_RELOC_NONE, align 4, !tbaa !10
%10 = call ptr %7(ptr noundef nonnull %0, i32 noundef %8, ptr noundef %1, i32 noundef %2, i32 noundef %9, ptr noundef nonnull %6, ptr noundef nonnull %5) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = load i64, ptr %5, align 8, !tbaa !12
store i64 %13, ptr %3, align 8, !tbaa !12
br label %14
14: ; preds = %12, %4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #2
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"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, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-asm.c_cgen_parse_unsigned_integer.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-asm.c_cgen_parse_unsigned_integer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CGEN_PARSE_OPERAND_INTEGER = common local_unnamed_addr global i32 0, align 4
@BFD_RELOC_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cgen_parse_unsigned_integer(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #2
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load i32, ptr @CGEN_PARSE_OPERAND_INTEGER, align 4, !tbaa !11
%9 = load i32, ptr @BFD_RELOC_NONE, align 4, !tbaa !11
%10 = call ptr %7(ptr noundef nonnull %0, i32 noundef %8, ptr noundef %1, i32 noundef %2, i32 noundef %9, ptr noundef nonnull %6, ptr noundef nonnull %5) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %4
%13 = load i64, ptr %5, align 8, !tbaa !13
store i64 %13, ptr %3, align 8, !tbaa !13
br label %14
14: ; preds = %12, %4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #2
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"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, !14, i64 0}
!14 = !{!"long", !9, i64 0}
| freebsd_contrib_binutils_opcodes_extr_cgen-asm.c_cgen_parse_unsigned_integer |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/apps/extr_s_cb.c_security_callback_debug.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/apps/extr_s_cb.c_security_callback_debug.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32 }
@.str = private unnamed_addr constant [20 x i8] c"Security callback: \00", align 1
@callback_types = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"Version=%s\00", align 1
@ssl_versions = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s=\00", align 1
@SSL_SECOP_OTHER_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s, bits=%d\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"s_cb.c:security_callback_debug op=0x%x\00", align 1
@signature_tls13_scheme_list = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c" scheme=%s\00", align 1
@signature_tls12_alg_list = dso_local local_unnamed_addr global i32 0, align 4
@signature_tls12_hash_list = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [25 x i8] c" digest=%s, algorithm=%s\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c" scheme=unknown(0x%04x)\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c", security bits=%d\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c": %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.15 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @security_callback_debug], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @security_callback_debug(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = load ptr, ptr %6, align 8, !tbaa !5
%10 = tail call i32 %9(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef nonnull %6) #3
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !11
%15 = icmp slt i32 %14, 2
br i1 %15, label %117, label %16
16: ; preds = %12, %7
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i32 @BIO_puts(i32 noundef %18, ptr noundef nonnull @.str) #3
%20 = load i32, ptr @callback_types, align 4, !tbaa !13
%21 = tail call ptr @lookup(i32 noundef %2, i32 noundef %20, ptr noundef null) #3
%22 = icmp eq ptr %21, null
switch i32 %2, label %30 [
i32 129, label %35
i32 140, label %35
i32 128, label %23
i32 141, label %28
i32 134, label %28
i32 130, label %29
i32 131, label %29
i32 133, label %29
i32 132, label %29
]
23: ; preds = %16
%24 = load i32, ptr %17, align 4, !tbaa !12
%25 = load i32, ptr @ssl_versions, align 4, !tbaa !13
%26 = tail call ptr @lookup(i32 noundef %4, i32 noundef %25, ptr noundef nonnull @.str.2) #3
%27 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %24, ptr noundef nonnull @.str.1, ptr noundef %26) #3
br label %35
28: ; preds = %16, %16
br i1 %22, label %35, label %31
29: ; preds = %16, %16, %16, %16
br label %35
30: ; preds = %16
br i1 %22, label %35, label %31
31: ; preds = %28, %30
%32 = phi i1 [ false, %28 ], [ true, %30 ]
%33 = load i32, ptr %17, align 4, !tbaa !12
%34 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %33, ptr noundef nonnull @.str.3, ptr noundef nonnull %21) #3
br label %35
35: ; preds = %16, %16, %23, %29, %28, %31, %30
%36 = phi i1 [ false, %31 ], [ false, %30 ], [ false, %28 ], [ true, %23 ], [ false, %29 ], [ true, %16 ], [ true, %16 ]
%37 = phi i1 [ %32, %31 ], [ true, %30 ], [ false, %28 ], [ true, %23 ], [ true, %29 ], [ true, %16 ], [ true, %16 ]
%38 = load i32, ptr @SSL_SECOP_OTHER_TYPE, align 4, !tbaa !13
%39 = and i32 %38, %2
switch i32 %39, label %108 [
i32 138, label %40
i32 137, label %44
i32 136, label %53
i32 139, label %57
i32 135, label %71
]
40: ; preds = %35
%41 = load i32, ptr %17, align 4, !tbaa !12
%42 = tail call ptr @SSL_CIPHER_get_name(ptr noundef %5) #3
%43 = tail call i32 @BIO_puts(i32 noundef %41, ptr noundef %42) #3
br label %108
44: ; preds = %35
%45 = tail call ptr @EC_curve_nid2nist(i32 noundef %4) #3
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = tail call ptr @OBJ_nid2sn(i32 noundef %4) #3
br label %49
49: ; preds = %47, %44
%50 = phi ptr [ %48, %47 ], [ %45, %44 ]
%51 = load i32, ptr %17, align 4, !tbaa !12
%52 = tail call i32 @BIO_puts(i32 noundef %51, ptr noundef %50) #3
br label %108
53: ; preds = %35
%54 = load i32, ptr %17, align 4, !tbaa !12
%55 = tail call ptr @DH_bits(ptr noundef %5) #3
%56 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %54, ptr noundef nonnull @.str.4, ptr noundef %55) #3
br label %108
57: ; preds = %35
br i1 %37, label %63, label %58
58: ; preds = %57
%59 = tail call i32 @X509_get_signature_nid(ptr noundef %5) #3
%60 = load i32, ptr %17, align 4, !tbaa !12
%61 = tail call ptr @OBJ_nid2sn(i32 noundef %59) #3
%62 = tail call i32 @BIO_puts(i32 noundef %60, ptr noundef %61) #3
br label %108
63: ; preds = %57
%64 = tail call ptr @X509_get0_pubkey(ptr noundef %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store ptr @.str.5, ptr %8, align 8, !tbaa !14
%65 = tail call i32 @EVP_PKEY_get0_asn1(ptr noundef %64) #3
%66 = call i32 @EVP_PKEY_asn1_get0_info(ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %8, i32 noundef %65) #3
%67 = load i32, ptr %17, align 4, !tbaa !12
%68 = load ptr, ptr %8, align 8, !tbaa !14
%69 = call i32 @EVP_PKEY_bits(ptr noundef %64) #3
%70 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %67, ptr noundef nonnull @.str.6, ptr noundef %68, i32 noundef %69) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %108
71: ; preds = %35
%72 = load i8, ptr %5, align 1, !tbaa !15
%73 = zext i8 %72 to i32
%74 = shl nuw nsw i32 %73, 8
%75 = getelementptr inbounds i8, ptr %5, i64 1
%76 = load i8, ptr %75, align 1, !tbaa !15
%77 = zext i8 %76 to i32
%78 = or disjoint i32 %74, %77
%79 = load i32, ptr %17, align 4, !tbaa !12
br i1 %22, label %82, label %80
80: ; preds = %71
%81 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %79, ptr noundef nonnull @.str.7, ptr noundef nonnull %21) #3
br label %84
82: ; preds = %71
%83 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %79, ptr noundef nonnull @.str.8, i32 noundef %2) #3
br label %84
84: ; preds = %82, %80
%85 = load i32, ptr @signature_tls13_scheme_list, align 4, !tbaa !13
%86 = tail call ptr @lookup(i32 noundef %78, i32 noundef %85, ptr noundef null) #3
%87 = icmp eq ptr %86, null
br i1 %87, label %91, label %88
88: ; preds = %84
%89 = load i32, ptr %17, align 4, !tbaa !12
%90 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %89, ptr noundef nonnull @.str.9, ptr noundef nonnull %86) #3
br label %108
91: ; preds = %84
%92 = load i8, ptr %75, align 1, !tbaa !15
%93 = zext i8 %92 to i32
%94 = load i8, ptr %5, align 1, !tbaa !15
%95 = zext i8 %94 to i32
%96 = load i32, ptr @signature_tls12_alg_list, align 4, !tbaa !13
%97 = tail call ptr @lookup(i32 noundef %93, i32 noundef %96, ptr noundef null) #3
%98 = load i32, ptr @signature_tls12_hash_list, align 4, !tbaa !13
%99 = tail call ptr @lookup(i32 noundef %95, i32 noundef %98, ptr noundef null) #3
%100 = icmp ne ptr %97, null
%101 = icmp ne ptr %99, null
%102 = select i1 %100, i1 %101, i1 false
%103 = load i32, ptr %17, align 4, !tbaa !12
br i1 %102, label %104, label %106
104: ; preds = %91
%105 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %103, ptr noundef nonnull @.str.10, ptr noundef nonnull %99, ptr noundef nonnull %97) #3
br label %108
106: ; preds = %91
%107 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %103, ptr noundef nonnull @.str.11, i32 noundef %78) #3
br label %108
108: ; preds = %88, %106, %104, %58, %63, %35, %53, %49, %40
br i1 %36, label %112, label %109
109: ; preds = %108
%110 = load i32, ptr %17, align 4, !tbaa !12
%111 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %110, ptr noundef nonnull @.str.12, i32 noundef %3) #3
br label %112
112: ; preds = %109, %108
%113 = load i32, ptr %17, align 4, !tbaa !12
%114 = icmp eq i32 %10, 0
%115 = select i1 %114, ptr @.str.15, ptr @.str.14
%116 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %113, ptr noundef nonnull @.str.13, ptr noundef nonnull %115) #3
br label %117
117: ; preds = %12, %112
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_puts(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BIO_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @SSL_CIPHER_get_name(ptr noundef) local_unnamed_addr #2
declare ptr @EC_curve_nid2nist(i32 noundef) local_unnamed_addr #2
declare ptr @OBJ_nid2sn(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @DH_bits(ptr noundef) local_unnamed_addr #2
declare i32 @X509_get_signature_nid(ptr noundef) local_unnamed_addr #2
declare ptr @X509_get0_pubkey(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_asn1_get0_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_get0_asn1(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_bits(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 12}
!13 = !{!10, !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/apps/extr_s_cb.c_security_callback_debug.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/apps/extr_s_cb.c_security_callback_debug.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"Security callback: \00", align 1
@callback_types = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"Version=%s\00", align 1
@ssl_versions = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s=\00", align 1
@SSL_SECOP_OTHER_TYPE = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s, bits=%d\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"s_cb.c:security_callback_debug op=0x%x\00", align 1
@signature_tls13_scheme_list = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c" scheme=%s\00", align 1
@signature_tls12_alg_list = common local_unnamed_addr global i32 0, align 4
@signature_tls12_hash_list = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [25 x i8] c" digest=%s, algorithm=%s\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c" scheme=unknown(0x%04x)\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c", security bits=%d\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c": %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.15 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @security_callback_debug], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @security_callback_debug(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = load ptr, ptr %6, align 8, !tbaa !6
%10 = tail call i32 %9(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef nonnull %6) #3
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !12
%15 = icmp slt i32 %14, 2
br i1 %15, label %117, label %16
16: ; preds = %12, %7
%17 = getelementptr inbounds i8, ptr %6, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 @BIO_puts(i32 noundef %18, ptr noundef nonnull @.str) #3
%20 = load i32, ptr @callback_types, align 4, !tbaa !14
%21 = tail call ptr @lookup(i32 noundef %2, i32 noundef %20, ptr noundef null) #3
%22 = icmp eq ptr %21, null
switch i32 %2, label %30 [
i32 129, label %35
i32 140, label %35
i32 128, label %23
i32 141, label %28
i32 134, label %28
i32 130, label %29
i32 131, label %29
i32 133, label %29
i32 132, label %29
]
23: ; preds = %16
%24 = load i32, ptr %17, align 4, !tbaa !13
%25 = load i32, ptr @ssl_versions, align 4, !tbaa !14
%26 = tail call ptr @lookup(i32 noundef %4, i32 noundef %25, ptr noundef nonnull @.str.2) #3
%27 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %24, ptr noundef nonnull @.str.1, ptr noundef %26) #3
br label %35
28: ; preds = %16, %16
br i1 %22, label %35, label %31
29: ; preds = %16, %16, %16, %16
br label %35
30: ; preds = %16
br i1 %22, label %35, label %31
31: ; preds = %28, %30
%32 = phi i1 [ false, %28 ], [ true, %30 ]
%33 = load i32, ptr %17, align 4, !tbaa !13
%34 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %33, ptr noundef nonnull @.str.3, ptr noundef nonnull %21) #3
br label %35
35: ; preds = %16, %16, %23, %29, %28, %31, %30
%36 = phi i1 [ false, %31 ], [ false, %30 ], [ false, %28 ], [ true, %23 ], [ false, %29 ], [ true, %16 ], [ true, %16 ]
%37 = phi i1 [ %32, %31 ], [ true, %30 ], [ false, %28 ], [ true, %23 ], [ true, %29 ], [ true, %16 ], [ true, %16 ]
%38 = load i32, ptr @SSL_SECOP_OTHER_TYPE, align 4, !tbaa !14
%39 = and i32 %38, %2
switch i32 %39, label %108 [
i32 138, label %40
i32 137, label %44
i32 136, label %53
i32 139, label %57
i32 135, label %71
]
40: ; preds = %35
%41 = load i32, ptr %17, align 4, !tbaa !13
%42 = tail call ptr @SSL_CIPHER_get_name(ptr noundef %5) #3
%43 = tail call i32 @BIO_puts(i32 noundef %41, ptr noundef %42) #3
br label %108
44: ; preds = %35
%45 = tail call ptr @EC_curve_nid2nist(i32 noundef %4) #3
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = tail call ptr @OBJ_nid2sn(i32 noundef %4) #3
br label %49
49: ; preds = %47, %44
%50 = phi ptr [ %48, %47 ], [ %45, %44 ]
%51 = load i32, ptr %17, align 4, !tbaa !13
%52 = tail call i32 @BIO_puts(i32 noundef %51, ptr noundef %50) #3
br label %108
53: ; preds = %35
%54 = load i32, ptr %17, align 4, !tbaa !13
%55 = tail call ptr @DH_bits(ptr noundef %5) #3
%56 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %54, ptr noundef nonnull @.str.4, ptr noundef %55) #3
br label %108
57: ; preds = %35
br i1 %37, label %63, label %58
58: ; preds = %57
%59 = tail call i32 @X509_get_signature_nid(ptr noundef %5) #3
%60 = load i32, ptr %17, align 4, !tbaa !13
%61 = tail call ptr @OBJ_nid2sn(i32 noundef %59) #3
%62 = tail call i32 @BIO_puts(i32 noundef %60, ptr noundef %61) #3
br label %108
63: ; preds = %57
%64 = tail call ptr @X509_get0_pubkey(ptr noundef %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store ptr @.str.5, ptr %8, align 8, !tbaa !15
%65 = tail call i32 @EVP_PKEY_get0_asn1(ptr noundef %64) #3
%66 = call i32 @EVP_PKEY_asn1_get0_info(ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %8, i32 noundef %65) #3
%67 = load i32, ptr %17, align 4, !tbaa !13
%68 = load ptr, ptr %8, align 8, !tbaa !15
%69 = call i32 @EVP_PKEY_bits(ptr noundef %64) #3
%70 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %67, ptr noundef nonnull @.str.6, ptr noundef %68, i32 noundef %69) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %108
71: ; preds = %35
%72 = load i8, ptr %5, align 1, !tbaa !16
%73 = zext i8 %72 to i32
%74 = shl nuw nsw i32 %73, 8
%75 = getelementptr inbounds i8, ptr %5, i64 1
%76 = load i8, ptr %75, align 1, !tbaa !16
%77 = zext i8 %76 to i32
%78 = or disjoint i32 %74, %77
%79 = load i32, ptr %17, align 4, !tbaa !13
br i1 %22, label %82, label %80
80: ; preds = %71
%81 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %79, ptr noundef nonnull @.str.7, ptr noundef nonnull %21) #3
br label %84
82: ; preds = %71
%83 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %79, ptr noundef nonnull @.str.8, i32 noundef %2) #3
br label %84
84: ; preds = %82, %80
%85 = load i32, ptr @signature_tls13_scheme_list, align 4, !tbaa !14
%86 = tail call ptr @lookup(i32 noundef %78, i32 noundef %85, ptr noundef null) #3
%87 = icmp eq ptr %86, null
br i1 %87, label %91, label %88
88: ; preds = %84
%89 = load i32, ptr %17, align 4, !tbaa !13
%90 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %89, ptr noundef nonnull @.str.9, ptr noundef nonnull %86) #3
br label %108
91: ; preds = %84
%92 = load i8, ptr %75, align 1, !tbaa !16
%93 = zext i8 %92 to i32
%94 = load i8, ptr %5, align 1, !tbaa !16
%95 = zext i8 %94 to i32
%96 = load i32, ptr @signature_tls12_alg_list, align 4, !tbaa !14
%97 = tail call ptr @lookup(i32 noundef %93, i32 noundef %96, ptr noundef null) #3
%98 = load i32, ptr @signature_tls12_hash_list, align 4, !tbaa !14
%99 = tail call ptr @lookup(i32 noundef %95, i32 noundef %98, ptr noundef null) #3
%100 = icmp ne ptr %97, null
%101 = icmp ne ptr %99, null
%102 = select i1 %100, i1 %101, i1 false
%103 = load i32, ptr %17, align 4, !tbaa !13
br i1 %102, label %104, label %106
104: ; preds = %91
%105 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %103, ptr noundef nonnull @.str.10, ptr noundef nonnull %99, ptr noundef nonnull %97) #3
br label %108
106: ; preds = %91
%107 = tail call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %103, ptr noundef nonnull @.str.11, i32 noundef %78) #3
br label %108
108: ; preds = %88, %106, %104, %58, %63, %35, %53, %49, %40
br i1 %36, label %112, label %109
109: ; preds = %108
%110 = load i32, ptr %17, align 4, !tbaa !13
%111 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %110, ptr noundef nonnull @.str.12, i32 noundef %3) #3
br label %112
112: ; preds = %109, %108
%113 = load i32, ptr %17, align 4, !tbaa !13
%114 = icmp eq i32 %10, 0
%115 = select i1 %114, ptr @.str.15, ptr @.str.14
%116 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %113, ptr noundef nonnull @.str.13, ptr noundef nonnull %115) #3
br label %117
117: ; preds = %12, %112
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_puts(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BIO_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @SSL_CIPHER_get_name(ptr noundef) local_unnamed_addr #2
declare ptr @EC_curve_nid2nist(i32 noundef) local_unnamed_addr #2
declare ptr @OBJ_nid2sn(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @DH_bits(ptr noundef) local_unnamed_addr #2
declare i32 @X509_get_signature_nid(ptr noundef) local_unnamed_addr #2
declare ptr @X509_get0_pubkey(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_asn1_get0_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_get0_asn1(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_bits(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !11, i64 12}
!14 = !{!11, !11, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!9, !9, i64 0}
| freebsd_crypto_openssl_apps_extr_s_cb.c_security_callback_debug |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_r8169.c_rtl_apply_firmware.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_r8169.c_rtl_apply_firmware.c"
target datalayout = "e-m:e-p270:32:32-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 @rtl_apply_firmware], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtl_apply_firmware(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @rtl_phy_write_fw(ptr noundef nonnull %0, ptr noundef %2) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @rtl_phy_write_fw(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 = !{!"rtl8169_private", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_r8169.c_rtl_apply_firmware.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_r8169.c_rtl_apply_firmware.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 @rtl_apply_firmware], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtl_apply_firmware(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @rtl_phy_write_fw(ptr noundef nonnull %0, ptr noundef %2) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @rtl_phy_write_fw(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 = !{!"rtl8169_private", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_extr_r8169.c_rtl_apply_firmware |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_scr_write_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_scr_write_flush.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sata_scr_write_flush(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !5
%5 = tail call i64 @ata_is_host_link(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %25, label %7
7: ; preds = %3
%8 = tail call i64 @sata_scr_valid(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %22, label %10
10: ; preds = %7
%11 = load ptr, ptr %0, align 8, !tbaa !9
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = tail call i32 %13(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %10
%17 = load ptr, ptr %0, align 8, !tbaa !9
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = call i32 %20(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #2
br label %27
22: ; preds = %7
%23 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%24 = sub nsw i32 0, %23
br label %27
25: ; preds = %3
%26 = tail call i32 @sata_pmp_scr_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %27
27: ; preds = %22, %16, %10, %25
%28 = phi i32 [ %26, %25 ], [ %24, %22 ], [ %21, %16 ], [ %14, %10 ]
ret i32 %28
}
declare i64 @ata_is_host_link(ptr noundef) local_unnamed_addr #1
declare i64 @sata_scr_valid(ptr noundef) local_unnamed_addr #1
declare i32 @sata_pmp_scr_write(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, !11, i64 0}
!10 = !{!"ata_link", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!16 = !{!15, !11, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_scr_write_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_scr_write_flush.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
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sata_scr_write_flush(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !6
%5 = tail call i64 @ata_is_host_link(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %25, label %7
7: ; preds = %3
%8 = tail call i64 @sata_scr_valid(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %22, label %10
10: ; preds = %7
%11 = load ptr, ptr %0, align 8, !tbaa !10
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = tail call i32 %13(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %10
%17 = load ptr, ptr %0, align 8, !tbaa !10
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = call i32 %20(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #2
br label %27
22: ; preds = %7
%23 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%24 = sub nsw i32 0, %23
br label %27
25: ; preds = %3
%26 = tail call i32 @sata_pmp_scr_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %27
27: ; preds = %22, %16, %10, %25
%28 = phi i32 [ %26, %25 ], [ %24, %22 ], [ %21, %16 ], [ %14, %10 ]
ret i32 %28
}
declare i64 @ata_is_host_link(ptr noundef) local_unnamed_addr #1
declare i64 @sata_scr_valid(ptr noundef) local_unnamed_addr #1
declare i32 @sata_pmp_scr_write(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, !12, i64 0}
!11 = !{!"ata_link", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_4__", !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!17 = !{!16, !12, i64 8}
| fastsocket_kernel_drivers_ata_extr_libata-core.c_sata_scr_write_flush |
; ModuleID = 'AnghaBench/freebsd/stand/i386/libfirewire/extr_fwohci.c_fwphy_rddata.c'
source_filename = "AnghaBench/freebsd/stand/i386/libfirewire/extr_fwohci.c_fwphy_rddata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FWOHCI_INTSTATCLR = dso_local local_unnamed_addr global i32 0, align 4
@OHCI_INT_REG_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@PHYDEV_RDCMD = dso_local local_unnamed_addr global i32 0, align 4
@PHYDEV_REGADDR = dso_local local_unnamed_addr global i32 0, align 4
@OHCI_PHYACCESS = dso_local local_unnamed_addr global i32 0, align 4
@PHYDEV_RDDONE = dso_local local_unnamed_addr global i32 0, align 4
@firewire_debug = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"phy read failed(1).\0A\00", align 1
@FWOHCI_INTSTAT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"phy read failed(2).\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"fwphy_rddata: 0x%x loop=%d, retry=%d\0A\00", align 1
@PHYDEV_RDDATA = dso_local local_unnamed_addr global i32 0, align 4
@MAX_RETRY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fwphy_rddata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fwphy_rddata(ptr noundef %0, i32 noundef %1) #0 {
%3 = and i32 %1, 15
br label %4
4: ; preds = %39, %2
%5 = phi i32 [ 0, %2 ], [ %40, %39 ]
%6 = load i32, ptr @FWOHCI_INTSTATCLR, align 4, !tbaa !5
%7 = load i32, ptr @OHCI_INT_REG_FAIL, align 4, !tbaa !5
%8 = tail call i32 @OWRITE(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @PHYDEV_RDCMD, align 4, !tbaa !5
%10 = load i32, ptr @PHYDEV_REGADDR, align 4, !tbaa !5
%11 = shl i32 %3, %10
%12 = or i32 %11, %9
%13 = load i32, ptr @OHCI_PHYACCESS, align 4, !tbaa !5
%14 = tail call i32 @OWRITE(ptr noundef %0, i32 noundef %13, i32 noundef %12) #2
br label %15
15: ; preds = %4, %26
%16 = phi i32 [ 0, %4 ], [ %28, %26 ]
%17 = load i32, ptr @OHCI_PHYACCESS, align 4, !tbaa !5
%18 = tail call i32 @OREAD(ptr noundef %0, i32 noundef %17) #2
%19 = load i32, ptr @PHYDEV_RDCMD, align 4, !tbaa !5
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %15
%23 = load i32, ptr @PHYDEV_RDDONE, align 4, !tbaa !5
%24 = and i32 %23, %18
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %22, %15
%27 = tail call i32 @DELAY(i32 noundef 100) #2
%28 = add nuw nsw i32 %16, 1
%29 = icmp eq i32 %28, 100
br i1 %29, label %30, label %15, !llvm.loop !9
30: ; preds = %26
%31 = load i64, ptr @firewire_debug, align 8, !tbaa !11
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load i32, ptr %0, align 4, !tbaa !13
%35 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %34, ptr noundef nonnull @.str) #2
br label %36
36: ; preds = %33, %30
%37 = add nsw i32 %5, 1
%38 = icmp slt i32 %5, 99
br i1 %38, label %39, label %42
39: ; preds = %36, %61
%40 = phi i32 [ %62, %61 ], [ %37, %36 ]
%41 = tail call i32 @DELAY(i32 noundef 100) #2
br label %4
42: ; preds = %22, %36
%43 = phi i32 [ 100, %36 ], [ %16, %22 ]
%44 = phi i32 [ %37, %36 ], [ %5, %22 ]
%45 = load i32, ptr @FWOHCI_INTSTAT, align 4, !tbaa !5
%46 = tail call i32 @OREAD(ptr noundef %0, i32 noundef %45) #2
%47 = load i32, ptr @OHCI_INT_REG_FAIL, align 4, !tbaa !5
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %42
%51 = load i32, ptr @PHYDEV_REGADDR, align 4, !tbaa !5
%52 = ashr i32 %18, %51
%53 = and i32 %52, 15
%54 = icmp eq i32 %53, %3
br i1 %54, label %64, label %55
55: ; preds = %50, %42
%56 = load i64, ptr @firewire_debug, align 8, !tbaa !11
%57 = icmp eq i64 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %55
%59 = load i32, ptr %0, align 4, !tbaa !13
%60 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %59, ptr noundef nonnull @.str.1) #2
br label %61
61: ; preds = %58, %55
%62 = add nsw i32 %44, 1
%63 = icmp slt i32 %44, 99
br i1 %63, label %39, label %69
64: ; preds = %50
%65 = load i64, ptr @firewire_debug, align 8, !tbaa !11
%66 = icmp ne i64 %65, 0
%67 = icmp sgt i32 %44, 99
%68 = select i1 %66, i1 true, i1 %67
br i1 %68, label %69, label %73
69: ; preds = %61, %64
%70 = phi i32 [ %44, %64 ], [ %62, %61 ]
%71 = load i32, ptr %0, align 4, !tbaa !13
%72 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %71, ptr noundef nonnull @.str.2, i32 noundef %3, i32 noundef %43, i32 noundef %70) #2
br label %73
73: ; preds = %64, %69
%74 = load i32, ptr @PHYDEV_RDDATA, align 4, !tbaa !5
%75 = ashr i32 %18, %74
%76 = and i32 %75, 255
ret i32 %76
}
declare i32 @OWRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OREAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"fwohci_softc", !15, i64 0}
!15 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/stand/i386/libfirewire/extr_fwohci.c_fwphy_rddata.c'
source_filename = "AnghaBench/freebsd/stand/i386/libfirewire/extr_fwohci.c_fwphy_rddata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FWOHCI_INTSTATCLR = common local_unnamed_addr global i32 0, align 4
@OHCI_INT_REG_FAIL = common local_unnamed_addr global i32 0, align 4
@PHYDEV_RDCMD = common local_unnamed_addr global i32 0, align 4
@PHYDEV_REGADDR = common local_unnamed_addr global i32 0, align 4
@OHCI_PHYACCESS = common local_unnamed_addr global i32 0, align 4
@PHYDEV_RDDONE = common local_unnamed_addr global i32 0, align 4
@firewire_debug = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"phy read failed(1).\0A\00", align 1
@FWOHCI_INTSTAT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"phy read failed(2).\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"fwphy_rddata: 0x%x loop=%d, retry=%d\0A\00", align 1
@PHYDEV_RDDATA = common local_unnamed_addr global i32 0, align 4
@MAX_RETRY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fwphy_rddata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 256) i32 @fwphy_rddata(ptr noundef %0, i32 noundef %1) #0 {
%3 = and i32 %1, 15
br label %4
4: ; preds = %39, %2
%5 = phi i32 [ 0, %2 ], [ %40, %39 ]
%6 = load i32, ptr @FWOHCI_INTSTATCLR, align 4, !tbaa !6
%7 = load i32, ptr @OHCI_INT_REG_FAIL, align 4, !tbaa !6
%8 = tail call i32 @OWRITE(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @PHYDEV_RDCMD, align 4, !tbaa !6
%10 = load i32, ptr @PHYDEV_REGADDR, align 4, !tbaa !6
%11 = shl i32 %3, %10
%12 = or i32 %11, %9
%13 = load i32, ptr @OHCI_PHYACCESS, align 4, !tbaa !6
%14 = tail call i32 @OWRITE(ptr noundef %0, i32 noundef %13, i32 noundef %12) #2
br label %15
15: ; preds = %4, %26
%16 = phi i32 [ 0, %4 ], [ %28, %26 ]
%17 = load i32, ptr @OHCI_PHYACCESS, align 4, !tbaa !6
%18 = tail call i32 @OREAD(ptr noundef %0, i32 noundef %17) #2
%19 = load i32, ptr @PHYDEV_RDCMD, align 4, !tbaa !6
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %15
%23 = load i32, ptr @PHYDEV_RDDONE, align 4, !tbaa !6
%24 = and i32 %23, %18
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %22, %15
%27 = tail call i32 @DELAY(i32 noundef 100) #2
%28 = add nuw nsw i32 %16, 1
%29 = icmp eq i32 %28, 100
br i1 %29, label %30, label %15, !llvm.loop !10
30: ; preds = %26
%31 = load i64, ptr @firewire_debug, align 8, !tbaa !12
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = load i32, ptr %0, align 4, !tbaa !14
%35 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %34, ptr noundef nonnull @.str) #2
br label %36
36: ; preds = %33, %30
%37 = add nsw i32 %5, 1
%38 = icmp slt i32 %5, 99
br i1 %38, label %39, label %42
39: ; preds = %36, %61
%40 = phi i32 [ %62, %61 ], [ %37, %36 ]
%41 = tail call i32 @DELAY(i32 noundef 100) #2
br label %4
42: ; preds = %22, %36
%43 = phi i32 [ 100, %36 ], [ %16, %22 ]
%44 = phi i32 [ %37, %36 ], [ %5, %22 ]
%45 = load i32, ptr @FWOHCI_INTSTAT, align 4, !tbaa !6
%46 = tail call i32 @OREAD(ptr noundef %0, i32 noundef %45) #2
%47 = load i32, ptr @OHCI_INT_REG_FAIL, align 4, !tbaa !6
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %42
%51 = load i32, ptr @PHYDEV_REGADDR, align 4, !tbaa !6
%52 = ashr i32 %18, %51
%53 = and i32 %52, 15
%54 = icmp eq i32 %53, %3
br i1 %54, label %64, label %55
55: ; preds = %50, %42
%56 = load i64, ptr @firewire_debug, align 8, !tbaa !12
%57 = icmp eq i64 %56, 0
br i1 %57, label %61, label %58
58: ; preds = %55
%59 = load i32, ptr %0, align 4, !tbaa !14
%60 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %59, ptr noundef nonnull @.str.1) #2
br label %61
61: ; preds = %58, %55
%62 = add nsw i32 %44, 1
%63 = icmp slt i32 %44, 99
br i1 %63, label %39, label %69
64: ; preds = %50
%65 = load i64, ptr @firewire_debug, align 8, !tbaa !12
%66 = icmp ne i64 %65, 0
%67 = icmp sgt i32 %44, 99
%68 = select i1 %66, i1 true, i1 %67
br i1 %68, label %69, label %73
69: ; preds = %61, %64
%70 = phi i32 [ %44, %64 ], [ %62, %61 ]
%71 = load i32, ptr %0, align 4, !tbaa !14
%72 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %71, ptr noundef nonnull @.str.2, i32 noundef %3, i32 noundef %43, i32 noundef %70) #2
br label %73
73: ; preds = %64, %69
%74 = load i32, ptr @PHYDEV_RDDATA, align 4, !tbaa !6
%75 = ashr i32 %18, %74
%76 = and i32 %75, 255
ret i32 %76
}
declare i32 @OWRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OREAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"fwohci_softc", !16, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
| freebsd_stand_i386_libfirewire_extr_fwohci.c_fwphy_rddata |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_vr41xx_siu.c_siu_pm.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_vr41xx_siu.c_siu_pm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIU_CLOCK = dso_local local_unnamed_addr global i32 0, align 4
@DSIU_CLOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @siu_pm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @siu_pm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 {
switch i32 %1, label %20 [
i32 0, label %4
i32 3, label %12
]
4: ; preds = %3
%5 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %5, label %20 [
i32 128, label %6
i32 129, label %9
]
6: ; preds = %4
%7 = load i32, ptr @SIU_CLOCK, align 4, !tbaa !10
%8 = tail call i32 @vr41xx_supply_clock(i32 noundef %7) #2
br label %20
9: ; preds = %4
%10 = load i32, ptr @DSIU_CLOCK, align 4, !tbaa !10
%11 = tail call i32 @vr41xx_supply_clock(i32 noundef %10) #2
br label %20
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %13, label %20 [
i32 128, label %14
i32 129, label %17
]
14: ; preds = %12
%15 = load i32, ptr @SIU_CLOCK, align 4, !tbaa !10
%16 = tail call i32 @vr41xx_mask_clock(i32 noundef %15) #2
br label %20
17: ; preds = %12
%18 = load i32, ptr @DSIU_CLOCK, align 4, !tbaa !10
%19 = tail call i32 @vr41xx_mask_clock(i32 noundef %18) #2
br label %20
20: ; preds = %14, %17, %12, %6, %9, %4, %3
ret void
}
declare i32 @vr41xx_supply_clock(i32 noundef) local_unnamed_addr #1
declare i32 @vr41xx_mask_clock(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 = !{!"uart_port", !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/tty/serial/extr_vr41xx_siu.c_siu_pm.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_vr41xx_siu.c_siu_pm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIU_CLOCK = common local_unnamed_addr global i32 0, align 4
@DSIU_CLOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @siu_pm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @siu_pm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 {
switch i32 %1, label %20 [
i32 0, label %4
i32 3, label %12
]
4: ; preds = %3
%5 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %5, label %20 [
i32 128, label %6
i32 129, label %9
]
6: ; preds = %4
%7 = load i32, ptr @SIU_CLOCK, align 4, !tbaa !11
%8 = tail call i32 @vr41xx_supply_clock(i32 noundef %7) #2
br label %20
9: ; preds = %4
%10 = load i32, ptr @DSIU_CLOCK, align 4, !tbaa !11
%11 = tail call i32 @vr41xx_supply_clock(i32 noundef %10) #2
br label %20
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %13, label %20 [
i32 128, label %14
i32 129, label %17
]
14: ; preds = %12
%15 = load i32, ptr @SIU_CLOCK, align 4, !tbaa !11
%16 = tail call i32 @vr41xx_mask_clock(i32 noundef %15) #2
br label %20
17: ; preds = %12
%18 = load i32, ptr @DSIU_CLOCK, align 4, !tbaa !11
%19 = tail call i32 @vr41xx_mask_clock(i32 noundef %18) #2
br label %20
20: ; preds = %14, %17, %12, %6, %9, %4, %3
ret void
}
declare i32 @vr41xx_supply_clock(i32 noundef) local_unnamed_addr #1
declare i32 @vr41xx_mask_clock(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 = !{!"uart_port", !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_tty_serial_extr_vr41xx_siu.c_siu_pm |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_pcl711.c_pcl711_ai_insn_read.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_pcl711.c_pcl711_ai_insn_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.comedi_insn = type { i32, i32 }
@PCL711_MODE_SOFTTRIG = dso_local local_unnamed_addr global i32 0, align 4
@PCL711_SOFTTRIG = dso_local local_unnamed_addr global i32 0, align 4
@PCL711_SOFTTRIG_REG = dso_local local_unnamed_addr global i64 0, align 8
@pcl711_ai_eoc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcl711_ai_insn_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pcl711_ai_insn_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %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 @pcl711_set_changain(ptr noundef %0, ptr noundef %1, i32 noundef %6) #2
%8 = load i32, ptr @PCL711_MODE_SOFTTRIG, align 4, !tbaa !10
%9 = tail call i32 @pcl711_ai_set_mode(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr %2, align 4, !tbaa !11
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %29
12: ; preds = %4, %22
%13 = phi i64 [ %25, %22 ], [ 0, %4 ]
%14 = load i32, ptr @PCL711_SOFTTRIG, align 4, !tbaa !10
%15 = load i64, ptr %0, align 8, !tbaa !12
%16 = load i64, ptr @PCL711_SOFTTRIG_REG, align 8, !tbaa !15
%17 = add nsw i64 %16, %15
%18 = tail call i32 @outb(i32 noundef %14, i64 noundef %17) #2
%19 = load i32, ptr @pcl711_ai_eoc, align 4, !tbaa !10
%20 = tail call i32 @comedi_timeout(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %19, i32 noundef 0) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %12
%23 = tail call i32 @pcl711_ai_get_sample(ptr noundef nonnull %0, ptr noundef %1) #2
%24 = getelementptr inbounds i32, ptr %3, i64 %13
store i32 %23, ptr %24, align 4, !tbaa !10
%25 = add nuw nsw i64 %13, 1
%26 = load i32, ptr %2, align 4, !tbaa !11
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %12, label %29, !llvm.loop !16
29: ; preds = %12, %22, %4
%30 = phi i32 [ %10, %4 ], [ %26, %22 ], [ %20, %12 ]
ret i32 %30
}
declare i32 @pcl711_set_changain(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcl711_ai_set_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @comedi_timeout(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcl711_ai_get_sample(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 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 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"comedi_device", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_pcl711.c_pcl711_ai_insn_read.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_pcl711.c_pcl711_ai_insn_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCL711_MODE_SOFTTRIG = common local_unnamed_addr global i32 0, align 4
@PCL711_SOFTTRIG = common local_unnamed_addr global i32 0, align 4
@PCL711_SOFTTRIG_REG = common local_unnamed_addr global i64 0, align 8
@pcl711_ai_eoc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pcl711_ai_insn_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pcl711_ai_insn_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @pcl711_set_changain(ptr noundef %0, ptr noundef %1, i32 noundef %6) #2
%8 = load i32, ptr @PCL711_MODE_SOFTTRIG, align 4, !tbaa !11
%9 = tail call i32 @pcl711_ai_set_mode(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr %2, align 4, !tbaa !12
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %29
12: ; preds = %4, %22
%13 = phi i64 [ %25, %22 ], [ 0, %4 ]
%14 = load i32, ptr @PCL711_SOFTTRIG, align 4, !tbaa !11
%15 = load i64, ptr %0, align 8, !tbaa !13
%16 = load i64, ptr @PCL711_SOFTTRIG_REG, align 8, !tbaa !16
%17 = add nsw i64 %16, %15
%18 = tail call i32 @outb(i32 noundef %14, i64 noundef %17) #2
%19 = load i32, ptr @pcl711_ai_eoc, align 4, !tbaa !11
%20 = tail call i32 @comedi_timeout(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %19, i32 noundef 0) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %12
%23 = tail call i32 @pcl711_ai_get_sample(ptr noundef nonnull %0, ptr noundef %1) #2
%24 = getelementptr inbounds i32, ptr %3, i64 %13
store i32 %23, ptr %24, align 4, !tbaa !11
%25 = add nuw nsw i64 %13, 1
%26 = load i32, ptr %2, align 4, !tbaa !12
%27 = sext i32 %26 to i64
%28 = icmp slt i64 %25, %27
br i1 %28, label %12, label %29, !llvm.loop !17
29: ; preds = %12, %22, %4
%30 = phi i32 [ %10, %4 ], [ %26, %22 ], [ %20, %12 ]
ret i32 %30
}
declare i32 @pcl711_set_changain(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcl711_ai_set_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @comedi_timeout(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pcl711_ai_get_sample(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 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 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"comedi_device", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_comedi_drivers_extr_pcl711.c_pcl711_ai_insn_read |
; ModuleID = 'AnghaBench/vlc/lib/extr_media_discoverer.c_services_discovery_item_added.c'
source_filename = "AnghaBench/vlc/lib/extr_media_discoverer.c_services_discovery_item_added.c"
target datalayout = "e-m:e-p270:32:32-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_16__ = type { ptr, i32, i32 }
@kVLCDictionaryNotFound = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @services_discovery_item_added], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @services_discovery_item_added(ptr nocapture noundef readonly %0, ptr noundef readnone %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.TYPE_16__, ptr %5, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = tail call ptr @libvlc_media_new_from_input_item(i32 noundef %8, ptr noundef %2) #2
%10 = icmp eq ptr %1, null
%11 = icmp ne ptr %3, null
%12 = and i1 %10, %11
br i1 %12, label %13, label %30
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_16__, ptr %5, i64 0, i32 1
%15 = tail call ptr @vlc_dictionary_value_for_key(ptr noundef nonnull %14, ptr noundef nonnull %3) #2
%16 = load ptr, ptr @kVLCDictionaryNotFound, align 8, !tbaa !15
%17 = icmp eq ptr %15, %16
br i1 %17, label %18, label %30
18: ; preds = %13
%19 = load i32, ptr %7, align 4, !tbaa !14
%20 = tail call ptr @libvlc_media_new_as_node(i32 noundef %19, ptr noundef nonnull %3) #2
%21 = tail call ptr @libvlc_media_subitems(ptr noundef %20) #2
store i32 1, ptr %21, align 4, !tbaa !16
%22 = tail call i32 @vlc_dictionary_insert(ptr noundef nonnull %14, ptr noundef nonnull %3, ptr noundef nonnull %21) #2
%23 = load ptr, ptr %5, align 8, !tbaa !11
%24 = tail call i32 @libvlc_media_list_lock(ptr noundef %23) #2
%25 = load ptr, ptr %5, align 8, !tbaa !11
%26 = tail call i32 @libvlc_media_list_internal_add_media(ptr noundef %25, ptr noundef %20) #2
%27 = load ptr, ptr %5, align 8, !tbaa !11
%28 = tail call i32 @libvlc_media_list_unlock(ptr noundef %27) #2
%29 = tail call i32 @libvlc_media_release(ptr noundef %20) #2
br label %30
30: ; preds = %18, %13, %4
%31 = phi ptr [ %21, %18 ], [ %15, %13 ], [ %6, %4 ]
%32 = tail call i32 @libvlc_media_list_lock(ptr noundef %31) #2
%33 = tail call i32 @libvlc_media_list_internal_add_media(ptr noundef %31, ptr noundef %9) #2
%34 = tail call i32 @libvlc_media_list_unlock(ptr noundef %31) #2
%35 = tail call i32 @libvlc_media_release(ptr noundef %9) #2
ret void
}
declare ptr @libvlc_media_new_from_input_item(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @vlc_dictionary_value_for_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_new_as_node(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_subitems(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_dictionary_insert(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_lock(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_internal_add_media(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_14__", !7, i64 0}
!7 = !{!"TYPE_13__", !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_16__", !8, i64 0, !13, i64 8, !13, i64 12}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 12}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_15__", !13, i64 0}
| ; ModuleID = 'AnghaBench/vlc/lib/extr_media_discoverer.c_services_discovery_item_added.c'
source_filename = "AnghaBench/vlc/lib/extr_media_discoverer.c_services_discovery_item_added.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kVLCDictionaryNotFound = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @services_discovery_item_added], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @services_discovery_item_added(ptr nocapture noundef readonly %0, ptr noundef readnone %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %5, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = tail call ptr @libvlc_media_new_from_input_item(i32 noundef %8, ptr noundef %2) #2
%10 = icmp eq ptr %1, null
%11 = icmp ne ptr %3, null
%12 = and i1 %10, %11
br i1 %12, label %13, label %30
13: ; preds = %4
%14 = getelementptr inbounds i8, ptr %5, i64 8
%15 = tail call ptr @vlc_dictionary_value_for_key(ptr noundef nonnull %14, ptr noundef nonnull %3) #2
%16 = load ptr, ptr @kVLCDictionaryNotFound, align 8, !tbaa !16
%17 = icmp eq ptr %15, %16
br i1 %17, label %18, label %30
18: ; preds = %13
%19 = load i32, ptr %7, align 4, !tbaa !15
%20 = tail call ptr @libvlc_media_new_as_node(i32 noundef %19, ptr noundef nonnull %3) #2
%21 = tail call ptr @libvlc_media_subitems(ptr noundef %20) #2
store i32 1, ptr %21, align 4, !tbaa !17
%22 = tail call i32 @vlc_dictionary_insert(ptr noundef nonnull %14, ptr noundef nonnull %3, ptr noundef nonnull %21) #2
%23 = load ptr, ptr %5, align 8, !tbaa !12
%24 = tail call i32 @libvlc_media_list_lock(ptr noundef %23) #2
%25 = load ptr, ptr %5, align 8, !tbaa !12
%26 = tail call i32 @libvlc_media_list_internal_add_media(ptr noundef %25, ptr noundef %20) #2
%27 = load ptr, ptr %5, align 8, !tbaa !12
%28 = tail call i32 @libvlc_media_list_unlock(ptr noundef %27) #2
%29 = tail call i32 @libvlc_media_release(ptr noundef %20) #2
br label %30
30: ; preds = %18, %13, %4
%31 = phi ptr [ %21, %18 ], [ %15, %13 ], [ %6, %4 ]
%32 = tail call i32 @libvlc_media_list_lock(ptr noundef %31) #2
%33 = tail call i32 @libvlc_media_list_internal_add_media(ptr noundef %31, ptr noundef %9) #2
%34 = tail call i32 @libvlc_media_list_unlock(ptr noundef %31) #2
%35 = tail call i32 @libvlc_media_release(ptr noundef %9) #2
ret void
}
declare ptr @libvlc_media_new_from_input_item(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @vlc_dictionary_value_for_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_new_as_node(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_subitems(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_dictionary_insert(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_lock(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_internal_add_media(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_14__", !8, i64 0}
!8 = !{!"TYPE_13__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_16__", !9, i64 0, !14, i64 8, !14, i64 12}
!14 = !{!"int", !10, i64 0}
!15 = !{!13, !14, i64 12}
!16 = !{!9, !9, i64 0}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_15__", !14, i64 0}
| vlc_lib_extr_media_discoverer.c_services_discovery_item_added |
; ModuleID = 'AnghaBench/libgit2/src/extr_ignore.c_push_ignore_file.c'
source_filename = "AnghaBench/libgit2/src/extr_ignore.c_push_ignore_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GIT_ATTR_FILE__FROM_FILE = dso_local local_unnamed_addr global i32 0, align 4
@parse_ignore_file = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @push_ignore_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @push_ignore_file(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = load i32, ptr @GIT_ATTR_FILE__FROM_FILE, align 4, !tbaa !12
%8 = load i32, ptr @parse_ignore_file, align 4, !tbaa !12
%9 = call i32 @git_attr_cache__get(ptr noundef nonnull %5, i32 noundef %6, ptr noundef null, i32 noundef %7, ptr noundef %2, ptr noundef %3, i32 noundef %8, i32 noundef 0) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %4
%12 = load ptr, ptr %5, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = call i32 @git_vector_insert(ptr noundef %1, ptr noundef nonnull %12) #3
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %5, align 8, !tbaa !5
%19 = call i32 @git_attr_file__free(ptr noundef %18) #3
br label %20
20: ; preds = %11, %17, %14, %4
%21 = phi i32 [ %9, %4 ], [ %15, %17 ], [ %15, %14 ], [ %9, %11 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @git_attr_cache__get(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_vector_insert(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_attr_file__free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_ignore.c_push_ignore_file.c'
source_filename = "AnghaBench/libgit2/src/extr_ignore.c_push_ignore_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_ATTR_FILE__FROM_FILE = common local_unnamed_addr global i32 0, align 4
@parse_ignore_file = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @push_ignore_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @push_ignore_file(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = load i32, ptr @GIT_ATTR_FILE__FROM_FILE, align 4, !tbaa !13
%8 = load i32, ptr @parse_ignore_file, align 4, !tbaa !13
%9 = call i32 @git_attr_cache__get(ptr noundef nonnull %5, i32 noundef %6, ptr noundef null, i32 noundef %7, ptr noundef %2, ptr noundef %3, i32 noundef %8, i32 noundef 0) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %4
%12 = load ptr, ptr %5, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = call i32 @git_vector_insert(ptr noundef %1, ptr noundef nonnull %12) #3
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load ptr, ptr %5, align 8, !tbaa !6
%19 = call i32 @git_attr_file__free(ptr noundef %18) #3
br label %20
20: ; preds = %11, %17, %14, %4
%21 = phi i32 [ %9, %4 ], [ %15, %17 ], [ %15, %14 ], [ %9, %11 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @git_attr_cache__get(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @git_vector_insert(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_attr_file__free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| libgit2_src_extr_ignore.c_push_ignore_file |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/cluster/extr_heartbeat.c_o2hb_region_blocks_show.c'
source_filename = "AnghaBench/linux/fs/ocfs2/cluster/extr_heartbeat.c_o2hb_region_blocks_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @o2hb_region_blocks_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @o2hb_region_blocks_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_o2hb_region(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @sprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @to_o2hb_region(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/cluster/extr_heartbeat.c_o2hb_region_blocks_show.c'
source_filename = "AnghaBench/linux/fs/ocfs2/cluster/extr_heartbeat.c_o2hb_region_blocks_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @o2hb_region_blocks_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @o2hb_region_blocks_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_o2hb_region(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @sprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @to_o2hb_region(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_fs_ocfs2_cluster_extr_heartbeat.c_o2hb_region_blocks_show |
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_omap2.c_omap_calculate_ecc_bch_sw.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_omap2.c_omap_calculate_ecc_bch_sw.c"
target datalayout = "e-m:e-p270:32:32-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 @omap_calculate_ecc_bch_sw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @omap_calculate_ecc_bch_sw(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @nand_to_mtd(ptr noundef %0) #2
%5 = tail call i32 @_omap_calculate_ecc_bch(i32 noundef %4, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %5
}
declare i32 @_omap_calculate_ecc_bch(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nand_to_mtd(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/mtd/nand/raw/extr_omap2.c_omap_calculate_ecc_bch_sw.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_omap2.c_omap_calculate_ecc_bch_sw.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 @omap_calculate_ecc_bch_sw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @omap_calculate_ecc_bch_sw(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @nand_to_mtd(ptr noundef %0) #2
%5 = tail call i32 @_omap_calculate_ecc_bch(i32 noundef %4, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %5
}
declare i32 @_omap_calculate_ecc_bch(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nand_to_mtd(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_mtd_nand_raw_extr_omap2.c_omap_calculate_ecc_bch_sw |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_journal.c_journal_get_descriptor_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_journal.c_journal_get_descriptor_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@.str = private unnamed_addr constant [19 x i8] c"return this buffer\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @journal_get_descriptor_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @journal_next_log_block(ptr noundef %0, ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = load i32, ptr %2, align 4, !tbaa !10
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = call ptr @__getblk(i32 noundef %7, i32 noundef %8, i32 noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %21, label %12
12: ; preds = %5
%13 = call i32 @lock_buffer(ptr noundef nonnull %10) #3
%14 = load i32, ptr %10, align 4, !tbaa !12
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = call i32 @memset(i32 noundef %14, i32 noundef 0, i32 noundef %15) #3
%17 = call i32 @set_buffer_uptodate(ptr noundef nonnull %10) #3
%18 = call i32 @unlock_buffer(ptr noundef nonnull %10) #3
%19 = call i32 @BUFFER_TRACE(ptr noundef nonnull %10, ptr noundef nonnull @.str) #3
%20 = call ptr @journal_add_journal_head(ptr noundef nonnull %10) #3
br label %21
21: ; preds = %5, %1, %12
%22 = phi ptr [ %20, %12 ], [ null, %1 ], [ null, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @journal_next_log_block(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @__getblk(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @BUFFER_TRACE(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @journal_add_journal_head(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"buffer_head", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_journal.c_journal_get_descriptor_buffer.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_journal.c_journal_get_descriptor_buffer.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 [19 x i8] c"return this buffer\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @journal_get_descriptor_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @journal_next_log_block(ptr noundef %0, ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %21
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = load i32, ptr %2, align 4, !tbaa !11
%9 = load i32, ptr %0, align 4, !tbaa !12
%10 = call ptr @__getblk(i32 noundef %7, i32 noundef %8, i32 noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %21, label %12
12: ; preds = %5
%13 = call i32 @lock_buffer(ptr noundef nonnull %10) #3
%14 = load i32, ptr %10, align 4, !tbaa !13
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = call i32 @memset(i32 noundef %14, i32 noundef 0, i32 noundef %15) #3
%17 = call i32 @set_buffer_uptodate(ptr noundef nonnull %10) #3
%18 = call i32 @unlock_buffer(ptr noundef nonnull %10) #3
%19 = call i32 @BUFFER_TRACE(ptr noundef nonnull %10, ptr noundef nonnull @.str) #3
%20 = call ptr @journal_add_journal_head(ptr noundef nonnull %10) #3
br label %21
21: ; preds = %5, %1, %12
%22 = phi ptr [ %20, %12 ], [ null, %1 ], [ null, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @journal_next_log_block(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @__getblk(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @BUFFER_TRACE(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @journal_add_journal_head(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"buffer_head", !8, i64 0}
| fastsocket_kernel_fs_jbd_extr_journal.c_journal_get_descriptor_buffer |
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_send_ct_handler.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_send_ct_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.zfcp_fsf_req = type { i32, ptr, ptr, ptr }
%struct.zfcp_fsf_ct_els = type { i32, ptr, i32 }
%struct.fsf_qtcb_header = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@ZFCP_STATUS_FSFREQ_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"fsscth2\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"fsscth1\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_fsf_send_ct_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zfcp_fsf_send_ct_handler(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr @EINVAL, align 4, !tbaa !13
%9 = sub nsw i32 0, %8
%10 = getelementptr inbounds %struct.zfcp_fsf_ct_els, ptr %5, i64 0, i32 2
store i32 %9, ptr %10, align 8, !tbaa !14
%11 = load i32, ptr %0, align 8, !tbaa !16
%12 = load i32, ptr @ZFCP_STATUS_FSFREQ_ERROR, align 4, !tbaa !13
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %39
15: ; preds = %1
%16 = load i32, ptr %7, align 8, !tbaa !17
switch i32 %16, label %39 [
i32 137, label %17
i32 130, label %19
i32 139, label %21
i32 135, label %29
i32 134, label %31
i32 138, label %35
i32 136, label %35
i32 133, label %35
i32 132, label %35
i32 131, label %35
]
17: ; preds = %15
store i32 0, ptr %10, align 8, !tbaa !14
%18 = tail call i32 @zfcp_dbf_san_res(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
br label %39
19: ; preds = %15
%20 = tail call i32 @zfcp_fsf_class_not_supp(ptr noundef nonnull %0) #2
br label %39
21: ; preds = %15
%22 = getelementptr inbounds %struct.fsf_qtcb_header, ptr %7, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = and i32 %24, -2
%26 = icmp eq i32 %25, 128
br i1 %26, label %27, label %39
27: ; preds = %21
%28 = or i32 %12, %11
store i32 %28, ptr %0, align 8, !tbaa !16
br label %39
29: ; preds = %15
%30 = or i32 %12, %11
store i32 %30, ptr %0, align 8, !tbaa !16
br label %39
31: ; preds = %15
%32 = tail call i32 @zfcp_erp_adapter_reopen(ptr noundef %3, i32 noundef 0, ptr noundef nonnull @.str.1) #2
%33 = load i32, ptr @ZFCP_STATUS_FSFREQ_ERROR, align 4, !tbaa !13
%34 = load i32, ptr %0, align 8, !tbaa !16
br label %35
35: ; preds = %15, %15, %15, %15, %15, %31
%36 = phi i32 [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %34, %31 ]
%37 = phi i32 [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %33, %31 ]
%38 = or i32 %36, %37
store i32 %38, ptr %0, align 8, !tbaa !16
br label %39
39: ; preds = %21, %17, %19, %29, %35, %15, %27, %1
%40 = getelementptr inbounds %struct.zfcp_fsf_ct_els, ptr %5, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !21
%42 = icmp eq ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %39
%44 = load i32, ptr %5, align 8, !tbaa !22
%45 = tail call i32 %41(i32 noundef %44) #2
br label %46
46: ; preds = %43, %39
ret void
}
declare i32 @zfcp_dbf_san_res(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fsf_class_not_supp(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_erp_adapter_reopen(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"zfcp_fsf_req", !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 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 16}
!15 = !{!"zfcp_fsf_ct_els", !7, i64 0, !10, i64 8, !7, i64 16}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"fsf_qtcb_header", !7, i64 0, !19, i64 8}
!19 = !{!"TYPE_4__", !10, i64 0}
!20 = !{!18, !10, i64 8}
!21 = !{!15, !10, i64 8}
!22 = !{!15, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_send_ct_handler.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_send_ct_handler.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
@ZFCP_STATUS_FSFREQ_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"fsscth2\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"fsscth1\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zfcp_fsf_send_ct_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zfcp_fsf_send_ct_handler(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr @EINVAL, align 4, !tbaa !14
%9 = sub nsw i32 0, %8
%10 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %9, ptr %10, align 8, !tbaa !15
%11 = load i32, ptr %0, align 8, !tbaa !17
%12 = load i32, ptr @ZFCP_STATUS_FSFREQ_ERROR, align 4, !tbaa !14
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %39
15: ; preds = %1
%16 = load i32, ptr %7, align 8, !tbaa !18
switch i32 %16, label %39 [
i32 137, label %17
i32 130, label %19
i32 139, label %21
i32 135, label %29
i32 134, label %31
i32 138, label %35
i32 136, label %35
i32 133, label %35
i32 132, label %35
i32 131, label %35
]
17: ; preds = %15
store i32 0, ptr %10, align 8, !tbaa !15
%18 = tail call i32 @zfcp_dbf_san_res(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
br label %39
19: ; preds = %15
%20 = tail call i32 @zfcp_fsf_class_not_supp(ptr noundef nonnull %0) #2
br label %39
21: ; preds = %15
%22 = getelementptr inbounds i8, ptr %7, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !21
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = and i32 %24, -2
%26 = icmp eq i32 %25, 128
br i1 %26, label %27, label %39
27: ; preds = %21
%28 = or i32 %12, %11
store i32 %28, ptr %0, align 8, !tbaa !17
br label %39
29: ; preds = %15
%30 = or i32 %12, %11
store i32 %30, ptr %0, align 8, !tbaa !17
br label %39
31: ; preds = %15
%32 = tail call i32 @zfcp_erp_adapter_reopen(ptr noundef %3, i32 noundef 0, ptr noundef nonnull @.str.1) #2
%33 = load i32, ptr @ZFCP_STATUS_FSFREQ_ERROR, align 4, !tbaa !14
%34 = load i32, ptr %0, align 8, !tbaa !17
br label %35
35: ; preds = %15, %15, %15, %15, %15, %31
%36 = phi i32 [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %11, %15 ], [ %34, %31 ]
%37 = phi i32 [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %12, %15 ], [ %33, %31 ]
%38 = or i32 %36, %37
store i32 %38, ptr %0, align 8, !tbaa !17
br label %39
39: ; preds = %21, %17, %19, %29, %35, %15, %27, %1
%40 = getelementptr inbounds i8, ptr %5, i64 8
%41 = load ptr, ptr %40, align 8, !tbaa !22
%42 = icmp eq ptr %41, null
br i1 %42, label %46, label %43
43: ; preds = %39
%44 = load i32, ptr %5, align 8, !tbaa !23
%45 = tail call i32 %41(i32 noundef %44) #2
br label %46
46: ; preds = %43, %39
ret void
}
declare i32 @zfcp_dbf_san_res(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_fsf_class_not_supp(ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_erp_adapter_reopen(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"zfcp_fsf_req", !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 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 16}
!16 = !{!"zfcp_fsf_ct_els", !8, i64 0, !11, i64 8, !8, i64 16}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"fsf_qtcb_header", !8, i64 0, !20, i64 8}
!20 = !{!"TYPE_4__", !11, i64 0}
!21 = !{!19, !11, i64 8}
!22 = !{!16, !11, i64 8}
!23 = !{!16, !8, i64 0}
| linux_drivers_s390_scsi_extr_zfcp_fsf.c_zfcp_fsf_send_ct_handler |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_frag6.c_ip6q_free.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_frag6.c_ip6q_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"
@ip6q_count = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ip6q_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ip6q_free(ptr noundef %0) #0 {
%2 = tail call i32 @dtom(ptr noundef %0) #2
%3 = tail call i32 @m_free(i32 noundef %2) #2
%4 = tail call i32 @atomic_add_32(ptr noundef nonnull @ip6q_count, i32 noundef -1) #2
ret void
}
declare i32 @m_free(i32 noundef) local_unnamed_addr #1
declare i32 @dtom(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_add_32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_frag6.c_ip6q_free.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_frag6.c_ip6q_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ip6q_count = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ip6q_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ip6q_free(ptr noundef %0) #0 {
%2 = tail call i32 @dtom(ptr noundef %0) #2
%3 = tail call i32 @m_free(i32 noundef %2) #2
%4 = tail call i32 @atomic_add_32(ptr noundef nonnull @ip6q_count, i32 noundef -1) #2
ret void
}
declare i32 @m_free(i32 noundef) local_unnamed_addr #1
declare i32 @dtom(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_add_32(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)"}
| darwin-xnu_bsd_netinet6_extr_frag6.c_ip6q_free |
; ModuleID = 'AnghaBench/reactos/dll/win32/inetcomm/extr_pop3transport.c_POP3Transport_CallbackProcessLISTResp.c'
source_filename = "AnghaBench/reactos/dll/win32/inetcomm/extr_pop3transport.c_POP3Transport_CallbackProcessLISTResp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @POP3Transport_CallbackProcessLISTResp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @POP3Transport_CallbackProcessLISTResp(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = alloca %struct.TYPE_8__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%6 = call i32 @POP3Transport_ParseResponse(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4) #3
%7 = call i64 @FAILED(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !5
%11 = inttoptr i64 %10 to ptr
%12 = call i32 @IPOP3Callback_OnResponse(ptr noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %4, align 4, !tbaa !11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 @InternetTransport_ReadLine(ptr noundef nonnull %0, ptr noundef nonnull @POP3Transport_CallbackProcessLISTResp) #3
br label %21
17: ; preds = %9
%18 = load i64, ptr %0, align 8, !tbaa !5
%19 = inttoptr i64 %18 to ptr
%20 = call i32 @IPOP3Callback_OnResponse(ptr noundef %19, ptr noundef nonnull %4) #3
br label %21
21: ; preds = %3, %17, %15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare i32 @POP3Transport_ParseResponse(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @IPOP3Callback_OnResponse(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InternetTransport_ReadLine(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, !8, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/inetcomm/extr_pop3transport.c_POP3Transport_CallbackProcessLISTResp.c'
source_filename = "AnghaBench/reactos/dll/win32/inetcomm/extr_pop3transport.c_POP3Transport_CallbackProcessLISTResp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @POP3Transport_CallbackProcessLISTResp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @POP3Transport_CallbackProcessLISTResp(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = alloca %struct.TYPE_8__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%6 = call i32 @POP3Transport_ParseResponse(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4) #3
%7 = call i64 @FAILED(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !6
%11 = inttoptr i64 %10 to ptr
%12 = call i32 @IPOP3Callback_OnResponse(ptr noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %4, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 @InternetTransport_ReadLine(ptr noundef nonnull %0, ptr noundef nonnull @POP3Transport_CallbackProcessLISTResp) #3
br label %21
17: ; preds = %9
%18 = load i64, ptr %0, align 8, !tbaa !6
%19 = inttoptr i64 %18 to ptr
%20 = call i32 @IPOP3Callback_OnResponse(ptr noundef %19, ptr noundef nonnull %4) #3
br label %21
21: ; preds = %3, %17, %15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare i32 @POP3Transport_ParseResponse(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @IPOP3Callback_OnResponse(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InternetTransport_ReadLine(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, !9, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_9__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"int", !10, i64 0}
| reactos_dll_win32_inetcomm_extr_pop3transport.c_POP3Transport_CallbackProcessLISTResp |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_tar.c_archive_read_format_tar_skip.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_tar.c_archive_read_format_tar_skip.c"
target datalayout = "e-m:e-p270:32:32-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.tar = type { i64, i64, i64, ptr }
%struct.sparse_block = type { i64, i32, ptr }
@INT64_MAX = dso_local local_unnamed_addr global i64 0, align 8
@ARCHIVE_FATAL = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @archive_read_format_tar_skip], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @archive_read_format_tar_skip(ptr noundef %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
%5 = getelementptr inbounds %struct.tar, ptr %4, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = icmp eq ptr %6, null
br i1 %7, label %27, label %8
8: ; preds = %1
%9 = load i64, ptr @INT64_MAX, align 8
br label %10
10: ; preds = %8, %22
%11 = phi ptr [ %6, %8 ], [ %25, %22 ]
%12 = phi i64 [ 0, %8 ], [ %23, %22 ]
%13 = getelementptr inbounds %struct.sparse_block, ptr %11, i64 0, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %10
%17 = load i64, ptr %11, align 8, !tbaa !17
%18 = sub nsw i64 %9, %12
%19 = icmp slt i64 %17, %18
br i1 %19, label %20, label %41
20: ; preds = %16
%21 = add nsw i64 %17, %12
br label %22
22: ; preds = %10, %20
%23 = phi i64 [ %12, %10 ], [ %21, %20 ]
%24 = getelementptr inbounds %struct.sparse_block, ptr %11, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %10, !llvm.loop !18
27: ; preds = %22, %1
%28 = phi i64 [ 0, %1 ], [ %23, %22 ]
%29 = load i64, ptr %4, align 8, !tbaa !20
%30 = tail call i64 @llvm.smin.i64(i64 %28, i64 %29)
%31 = getelementptr inbounds %struct.tar, ptr %4, i64 0, i32 1
%32 = load i64, ptr %31, align 8, !tbaa !22
%33 = getelementptr inbounds %struct.tar, ptr %4, i64 0, i32 2
%34 = load i64, ptr %33, align 8, !tbaa !23
%35 = add i64 %30, %32
%36 = add i64 %35, %34
%37 = tail call i64 @__archive_read_consume(ptr noundef nonnull %0, i64 noundef %36) #4
%38 = icmp slt i64 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %27
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
%40 = tail call i32 @gnu_clear_sparse_list(ptr noundef nonnull %4) #4
br label %41
41: ; preds = %16, %27, %39
%42 = phi ptr [ @ARCHIVE_OK, %39 ], [ @ARCHIVE_FATAL, %27 ], [ @ARCHIVE_FATAL, %16 ]
%43 = load i32, ptr %42, align 4, !tbaa !24
ret i32 %43
}
declare i64 @__archive_read_consume(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @gnu_clear_sparse_list(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
; 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 = { "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"archive_read", !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}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 8}
!15 = !{!"sparse_block", !12, i64 0, !16, i64 8, !7, i64 16}
!16 = !{!"int", !8, i64 0}
!17 = !{!15, !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !12, i64 0}
!21 = !{!"tar", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!22 = !{!21, !12, i64 8}
!23 = !{!21, !12, i64 16}
!24 = !{!16, !16, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_tar.c_archive_read_format_tar_skip.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_tar.c_archive_read_format_tar_skip.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INT64_MAX = common local_unnamed_addr global i64 0, align 8
@ARCHIVE_FATAL = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @archive_read_format_tar_skip], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @archive_read_format_tar_skip(ptr noundef %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
%5 = getelementptr inbounds i8, ptr %4, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = icmp eq ptr %6, null
br i1 %7, label %27, label %8
8: ; preds = %1
%9 = load i64, ptr @INT64_MAX, align 8
br label %10
10: ; preds = %8, %22
%11 = phi ptr [ %6, %8 ], [ %25, %22 ]
%12 = phi i64 [ 0, %8 ], [ %23, %22 ]
%13 = getelementptr inbounds i8, ptr %11, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !15
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %10
%17 = load i64, ptr %11, align 8, !tbaa !18
%18 = sub nsw i64 %9, %12
%19 = icmp slt i64 %17, %18
br i1 %19, label %20, label %41
20: ; preds = %16
%21 = add nsw i64 %17, %12
br label %22
22: ; preds = %10, %20
%23 = phi i64 [ %12, %10 ], [ %21, %20 ]
%24 = getelementptr inbounds i8, ptr %11, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %10, !llvm.loop !19
27: ; preds = %22, %1
%28 = phi i64 [ 0, %1 ], [ %23, %22 ]
%29 = load i64, ptr %4, align 8, !tbaa !21
%30 = tail call i64 @llvm.smin.i64(i64 %28, i64 %29)
%31 = getelementptr inbounds i8, ptr %4, i64 8
%32 = load i64, ptr %31, align 8, !tbaa !23
%33 = getelementptr inbounds i8, ptr %4, i64 16
%34 = load i64, ptr %33, align 8, !tbaa !24
%35 = add i64 %30, %32
%36 = add i64 %35, %34
%37 = tail call i64 @__archive_read_consume(ptr noundef nonnull %0, i64 noundef %36) #4
%38 = icmp slt i64 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %27
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
%40 = tail call i32 @gnu_clear_sparse_list(ptr noundef nonnull %4) #4
br label %41
41: ; preds = %16, %27, %39
%42 = phi ptr [ @ARCHIVE_OK, %39 ], [ @ARCHIVE_FATAL, %27 ], [ @ARCHIVE_FATAL, %16 ]
%43 = load i32, ptr %42, align 4, !tbaa !25
ret i32 %43
}
declare i64 @__archive_read_consume(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @gnu_clear_sparse_list(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
; 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"archive_read", !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}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !17, i64 8}
!16 = !{!"sparse_block", !13, i64 0, !17, i64 8, !8, i64 16}
!17 = !{!"int", !9, i64 0}
!18 = !{!16, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !13, i64 0}
!22 = !{!"tar", !13, i64 0, !13, i64 8, !13, i64 16, !8, i64 24}
!23 = !{!22, !13, i64 8}
!24 = !{!22, !13, i64 16}
!25 = !{!17, !17, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_read_support_format_tar.c_archive_read_format_tar_skip |
; ModuleID = 'AnghaBench/vlc/modules/access/extr_dv.c_Raw1394EventThreadCleanup.c'
source_filename = "AnghaBench/vlc/modules/access/extr_dv.c_Raw1394EventThreadCleanup.c"
target datalayout = "e-m:e-p270:32:32-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 @Raw1394EventThreadCleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @Raw1394EventThreadCleanup(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = tail call i32 @AVCStop(ptr noundef nonnull %2, i32 noundef %4) #2
ret void
}
declare i32 @AVCStop(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/access/extr_dv.c_Raw1394EventThreadCleanup.c'
source_filename = "AnghaBench/vlc/modules/access/extr_dv.c_Raw1394EventThreadCleanup.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 @Raw1394EventThreadCleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @Raw1394EventThreadCleanup(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = tail call i32 @AVCStop(ptr noundef nonnull %2, i32 noundef %4) #2
ret void
}
declare i32 @AVCStop(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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| vlc_modules_access_extr_dv.c_Raw1394EventThreadCleanup |
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_bba.c_bba_devpoll.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_bba.c_bba_devpoll.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [15 x i8] c"bba_devpoll()\0A\00", align 1
@bba_arp_tmr = dso_local local_unnamed_addr global ptr null, align 8
@UIP_ARP_TMRINTERVAL = dso_local local_unnamed_addr global i64 0, align 8
@EXI_CHANNEL_0 = dso_local local_unnamed_addr global i32 0, align 4
@EXI_DEVICE_2 = dso_local local_unnamed_addr global i32 0, align 4
@BBA_CMD_IRMASKALL = dso_local local_unnamed_addr global i32 0, align 4
@BBA_CMD_IRMASKNONE = dso_local local_unnamed_addr global i32 0, align 4
@bba_netif = dso_local local_unnamed_addr global i32 0, align 4
@bba_device = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bba_devpoll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bba_devpoll(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = tail call i32 @UIP_LOG(ptr noundef nonnull @.str) #3
%5 = tail call ptr (...) @gettime() #3
%6 = load ptr, ptr @bba_arp_tmr, align 8, !tbaa !5
%7 = tail call i64 @diff_msec(ptr noundef %6, ptr noundef %5) #3
%8 = load i64, ptr @UIP_ARP_TMRINTERVAL, align 8, !tbaa !9
%9 = icmp slt i64 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = tail call i32 (...) @uip_arp_timer() #3
%12 = tail call ptr (...) @gettime() #3
store ptr %12, ptr @bba_arp_tmr, align 8, !tbaa !5
br label %13
13: ; preds = %10, %1
store i32 0, ptr %0, align 4, !tbaa !11
%14 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%15 = load i32, ptr @EXI_DEVICE_2, align 4, !tbaa !11
%16 = tail call i32 @EXI_Lock(i32 noundef %14, i32 noundef %15, ptr noundef null) #3
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %99
18: ; preds = %13
%19 = tail call i32 @bba_cmd_in8(i32 noundef 3) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %96, label %21
21: ; preds = %18
%22 = load i32, ptr @BBA_CMD_IRMASKALL, align 4, !tbaa !11
%23 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %22) #3
%24 = and i32 %19, 128
%25 = icmp eq i32 %24, 0
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = shl i32 %19, 8
%28 = load i32, ptr %0, align 4, !tbaa !11
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 4, !tbaa !11
%30 = tail call i32 @bba_interrupt(ptr noundef nonnull %0) #3
%31 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 128) #3
%32 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%33 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %32) #3
%34 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%35 = tail call i32 @EXI_Unlock(i32 noundef %34) #3
br label %99
36: ; preds = %21
%37 = and i32 %19, 64
%38 = icmp eq i32 %37, 0
br i1 %38, label %50, label %39
39: ; preds = %36
%40 = shl i32 %19, 8
%41 = load i32, ptr %0, align 4, !tbaa !11
%42 = or i32 %41, %40
store i32 %42, ptr %0, align 4, !tbaa !11
%43 = load i32, ptr @bba_netif, align 4, !tbaa !11
%44 = tail call i32 @__bba_init(i32 noundef %43) #3
%45 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 64) #3
%46 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%47 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %46) #3
%48 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%49 = tail call i32 @EXI_Unlock(i32 noundef %48) #3
br label %99
50: ; preds = %36
%51 = and i32 %19, 32
%52 = icmp eq i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %50
%54 = shl i32 %19, 8
%55 = load i32, ptr %0, align 4, !tbaa !11
%56 = or i32 %55, %54
store i32 %56, ptr %0, align 4, !tbaa !11
%57 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 32) #3
%58 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%59 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %58) #3
%60 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%61 = tail call i32 @EXI_Unlock(i32 noundef %60) #3
br label %99
62: ; preds = %50
%63 = and i32 %19, 16
%64 = icmp eq i32 %63, 0
%65 = shl i32 %19, 8
br i1 %64, label %81, label %66
66: ; preds = %62
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%67 = load i32, ptr %0, align 4, !tbaa !11
%68 = or i32 %67, %65
store i32 %68, ptr %0, align 4, !tbaa !11
%69 = load i32, ptr @bba_device, align 4, !tbaa !13
%70 = tail call i32 @bba_cmd_out8(i32 noundef 5, i32 noundef %69) #3
%71 = call i32 @bba_cmd_ins(i32 noundef 8, ptr noundef nonnull %3, i32 noundef 4) #3
%72 = load i32, ptr @bba_netif, align 4, !tbaa !11
%73 = load i32, ptr %3, align 4, !tbaa !11
%74 = call i32 @bba_calc_response(i32 noundef %72, i32 noundef %73) #3
store i32 %74, ptr %2, align 4, !tbaa !11
%75 = call i32 @bba_cmd_outs(i32 noundef 9, ptr noundef nonnull %2, i32 noundef 4) #3
%76 = call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 16) #3
%77 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%78 = call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %77) #3
%79 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%80 = call i32 @EXI_Unlock(i32 noundef %79) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %99
81: ; preds = %62
%82 = and i32 %19, 8
%83 = icmp eq i32 %82, 0
%84 = load i32, ptr %0, align 4, !tbaa !11
%85 = or i32 %84, %65
store i32 %85, ptr %0, align 4, !tbaa !11
br i1 %83, label %92, label %86
86: ; preds = %81
%87 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 8) #3
%88 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%89 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %88) #3
%90 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%91 = tail call i32 @EXI_Unlock(i32 noundef %90) #3
br label %99
92: ; preds = %81
%93 = tail call i32 @bba_interrupt(ptr noundef nonnull %0) #3
%94 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !11
%95 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %94) #3
br label %96
96: ; preds = %92, %18
%97 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !11
%98 = tail call i32 @EXI_Unlock(i32 noundef %97) #3
br label %99
99: ; preds = %13, %96, %86, %66, %53, %39, %26
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 @UIP_LOG(ptr noundef) local_unnamed_addr #2
declare ptr @gettime(...) local_unnamed_addr #2
declare i64 @diff_msec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @uip_arp_timer(...) local_unnamed_addr #2
declare i32 @EXI_Lock(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bba_cmd_in8(i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_out8(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_interrupt(ptr noundef) local_unnamed_addr #2
declare i32 @EXI_Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @__bba_init(i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_ins(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_calc_response(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_outs(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_bba.c_bba_devpoll.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_bba.c_bba_devpoll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [15 x i8] c"bba_devpoll()\0A\00", align 1
@bba_arp_tmr = common local_unnamed_addr global ptr null, align 8
@UIP_ARP_TMRINTERVAL = common local_unnamed_addr global i64 0, align 8
@EXI_CHANNEL_0 = common local_unnamed_addr global i32 0, align 4
@EXI_DEVICE_2 = common local_unnamed_addr global i32 0, align 4
@BBA_CMD_IRMASKALL = common local_unnamed_addr global i32 0, align 4
@BBA_CMD_IRMASKNONE = common local_unnamed_addr global i32 0, align 4
@bba_netif = common local_unnamed_addr global i32 0, align 4
@bba_device = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @bba_devpoll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bba_devpoll(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = tail call i32 @UIP_LOG(ptr noundef nonnull @.str) #3
%5 = tail call ptr @gettime() #3
%6 = load ptr, ptr @bba_arp_tmr, align 8, !tbaa !6
%7 = tail call i64 @diff_msec(ptr noundef %6, ptr noundef %5) #3
%8 = load i64, ptr @UIP_ARP_TMRINTERVAL, align 8, !tbaa !10
%9 = icmp slt i64 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = tail call i32 @uip_arp_timer() #3
%12 = tail call ptr @gettime() #3
store ptr %12, ptr @bba_arp_tmr, align 8, !tbaa !6
br label %13
13: ; preds = %10, %1
store i32 0, ptr %0, align 4, !tbaa !12
%14 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%15 = load i32, ptr @EXI_DEVICE_2, align 4, !tbaa !12
%16 = tail call i32 @EXI_Lock(i32 noundef %14, i32 noundef %15, ptr noundef null) #3
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %99
18: ; preds = %13
%19 = tail call i32 @bba_cmd_in8(i32 noundef 3) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %96, label %21
21: ; preds = %18
%22 = load i32, ptr @BBA_CMD_IRMASKALL, align 4, !tbaa !12
%23 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %22) #3
%24 = and i32 %19, 128
%25 = icmp eq i32 %24, 0
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = shl i32 %19, 8
%28 = load i32, ptr %0, align 4, !tbaa !12
%29 = or i32 %28, %27
store i32 %29, ptr %0, align 4, !tbaa !12
%30 = tail call i32 @bba_interrupt(ptr noundef nonnull %0) #3
%31 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 128) #3
%32 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%33 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %32) #3
%34 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%35 = tail call i32 @EXI_Unlock(i32 noundef %34) #3
br label %99
36: ; preds = %21
%37 = and i32 %19, 64
%38 = icmp eq i32 %37, 0
br i1 %38, label %50, label %39
39: ; preds = %36
%40 = shl i32 %19, 8
%41 = load i32, ptr %0, align 4, !tbaa !12
%42 = or i32 %41, %40
store i32 %42, ptr %0, align 4, !tbaa !12
%43 = load i32, ptr @bba_netif, align 4, !tbaa !12
%44 = tail call i32 @__bba_init(i32 noundef %43) #3
%45 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 64) #3
%46 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%47 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %46) #3
%48 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%49 = tail call i32 @EXI_Unlock(i32 noundef %48) #3
br label %99
50: ; preds = %36
%51 = and i32 %19, 32
%52 = icmp eq i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %50
%54 = shl i32 %19, 8
%55 = load i32, ptr %0, align 4, !tbaa !12
%56 = or i32 %55, %54
store i32 %56, ptr %0, align 4, !tbaa !12
%57 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 32) #3
%58 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%59 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %58) #3
%60 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%61 = tail call i32 @EXI_Unlock(i32 noundef %60) #3
br label %99
62: ; preds = %50
%63 = and i32 %19, 16
%64 = icmp eq i32 %63, 0
%65 = shl i32 %19, 8
br i1 %64, label %81, label %66
66: ; preds = %62
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%67 = load i32, ptr %0, align 4, !tbaa !12
%68 = or i32 %67, %65
store i32 %68, ptr %0, align 4, !tbaa !12
%69 = load i32, ptr @bba_device, align 4, !tbaa !14
%70 = tail call i32 @bba_cmd_out8(i32 noundef 5, i32 noundef %69) #3
%71 = call i32 @bba_cmd_ins(i32 noundef 8, ptr noundef nonnull %3, i32 noundef 4) #3
%72 = load i32, ptr @bba_netif, align 4, !tbaa !12
%73 = load i32, ptr %3, align 4, !tbaa !12
%74 = call i32 @bba_calc_response(i32 noundef %72, i32 noundef %73) #3
store i32 %74, ptr %2, align 4, !tbaa !12
%75 = call i32 @bba_cmd_outs(i32 noundef 9, ptr noundef nonnull %2, i32 noundef 4) #3
%76 = call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 16) #3
%77 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%78 = call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %77) #3
%79 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%80 = call i32 @EXI_Unlock(i32 noundef %79) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %99
81: ; preds = %62
%82 = and i32 %19, 8
%83 = icmp eq i32 %82, 0
%84 = load i32, ptr %0, align 4, !tbaa !12
%85 = or i32 %84, %65
store i32 %85, ptr %0, align 4, !tbaa !12
br i1 %83, label %92, label %86
86: ; preds = %81
%87 = tail call i32 @bba_cmd_out8(i32 noundef 3, i32 noundef 8) #3
%88 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%89 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %88) #3
%90 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%91 = tail call i32 @EXI_Unlock(i32 noundef %90) #3
br label %99
92: ; preds = %81
%93 = tail call i32 @bba_interrupt(ptr noundef nonnull %0) #3
%94 = load i32, ptr @BBA_CMD_IRMASKNONE, align 4, !tbaa !12
%95 = tail call i32 @bba_cmd_out8(i32 noundef 2, i32 noundef %94) #3
br label %96
96: ; preds = %92, %18
%97 = load i32, ptr @EXI_CHANNEL_0, align 4, !tbaa !12
%98 = tail call i32 @EXI_Unlock(i32 noundef %97) #3
br label %99
99: ; preds = %13, %96, %86, %66, %53, %39, %26
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 @UIP_LOG(ptr noundef) local_unnamed_addr #2
declare ptr @gettime(...) local_unnamed_addr #2
declare i64 @diff_msec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @uip_arp_timer(...) local_unnamed_addr #2
declare i32 @EXI_Lock(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bba_cmd_in8(i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_out8(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_interrupt(ptr noundef) local_unnamed_addr #2
declare i32 @EXI_Unlock(i32 noundef) local_unnamed_addr #2
declare i32 @__bba_init(i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_ins(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_calc_response(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bba_cmd_outs(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
| RetroArch_wii_libogc_libdb_uIP_extr_bba.c_bba_devpoll |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8190_rtl8256.c_phy_set_rf8256_ofdm_tx_power.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8190_rtl8256.c_phy_set_rf8256_ofdm_tx_power.c"
target datalayout = "e-m:e-p270:32:32-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.r8192_priv = type { i32, ptr, i32, i64 }
@__const.phy_set_rf8256_ofdm_tx_power.RegOffset = private unnamed_addr constant [6 x i32] [i32 3584, i32 3588, i32 3600, i32 3604, i32 3608, i32 3612], align 16
; Function Attrs: nounwind uwtable
define dso_local void @phy_set_rf8256_ofdm_tx_power(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ieee80211_priv(ptr noundef %0) #3
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = add nsw i32 %4, %1
%6 = shl i32 %5, 24
%7 = shl i32 %5, 16
%8 = shl i32 %5, 8
%9 = or i32 %7, %6
%10 = or i32 %9, %8
%11 = or i32 %10, %5
%12 = shl i32 %1, 24
%13 = shl i32 %1, 16
%14 = shl i32 %1, 8
%15 = or i32 %13, %12
%16 = or i32 %15, %14
%17 = or i32 %16, %1
%18 = getelementptr inbounds %struct.r8192_priv, ptr %3, i64 0, i32 1
%19 = getelementptr inbounds %struct.r8192_priv, ptr %3, i64 0, i32 3
%20 = getelementptr inbounds %struct.r8192_priv, ptr %3, i64 0, i32 2
%21 = load i64, ptr %19, align 8, !tbaa !12
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %44
23: ; preds = %2
%24 = load ptr, ptr %18, align 8, !tbaa !13
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = add nsw i32 %25, %11
%27 = lshr i32 %26, 24
%28 = and i32 %27, 127
%29 = tail call i32 @llvm.umin.i32(i32 %28, i32 36)
%30 = lshr i32 %26, 16
%31 = and i32 %30, 127
%32 = tail call i32 @llvm.umin.i32(i32 %31, i32 36)
%33 = lshr i32 %26, 8
%34 = and i32 %33, 127
%35 = tail call i32 @llvm.umin.i32(i32 %34, i32 36)
%36 = and i32 %26, 127
%37 = tail call i32 @llvm.umin.i32(i32 %36, i32 36)
%38 = shl nuw nsw i32 %29, 24
%39 = shl nuw nsw i32 %32, 16
%40 = or disjoint i32 %38, %39
%41 = shl nuw nsw i32 %35, 8
%42 = or disjoint i32 %40, %41
%43 = or disjoint i32 %42, %37
br label %44
44: ; preds = %23, %2
%45 = phi i32 [ %43, %23 ], [ 50529027, %2 ]
%46 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3584, i32 noundef 2139062143, i32 noundef %45) #3
%47 = load i64, ptr %19, align 8, !tbaa !12
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %71
49: ; preds = %44
%50 = load ptr, ptr %18, align 8, !tbaa !13
%51 = getelementptr inbounds i32, ptr %50, i64 1
%52 = load i32, ptr %51, align 4, !tbaa !14
%53 = add nsw i32 %52, %11
%54 = lshr i32 %53, 24
%55 = and i32 %54, 127
%56 = tail call i32 @llvm.umin.i32(i32 %55, i32 36)
%57 = lshr i32 %53, 16
%58 = and i32 %57, 127
%59 = tail call i32 @llvm.umin.i32(i32 %58, i32 36)
%60 = lshr i32 %53, 8
%61 = and i32 %60, 127
%62 = tail call i32 @llvm.umin.i32(i32 %61, i32 36)
%63 = and i32 %53, 127
%64 = tail call i32 @llvm.umin.i32(i32 %63, i32 36)
%65 = shl nuw nsw i32 %56, 24
%66 = shl nuw nsw i32 %59, 16
%67 = or disjoint i32 %65, %66
%68 = shl nuw nsw i32 %62, 8
%69 = or disjoint i32 %67, %68
%70 = or disjoint i32 %69, %64
br label %71
71: ; preds = %44, %49
%72 = phi i32 [ %70, %49 ], [ 50529027, %44 ]
%73 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3588, i32 noundef 2139062143, i32 noundef %72) #3
%74 = load ptr, ptr %18, align 8, !tbaa !13
%75 = getelementptr inbounds i32, ptr %74, i64 2
%76 = load i32, ptr %75, align 4, !tbaa !14
%77 = add nsw i32 %76, %17
%78 = and i32 %77, 127
%79 = lshr i32 %77, 8
%80 = and i32 %79, 127
%81 = lshr i32 %77, 16
%82 = and i32 %81, 127
%83 = lshr i32 %77, 24
%84 = and i32 %83, 127
%85 = tail call i32 @llvm.umin.i32(i32 %78, i32 36)
%86 = tail call i32 @llvm.umin.i32(i32 %80, i32 36)
%87 = tail call i32 @llvm.umin.i32(i32 %82, i32 36)
%88 = tail call i32 @llvm.umin.i32(i32 %84, i32 36)
%89 = load i64, ptr %19, align 8, !tbaa !12
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %71
%92 = shl nuw nsw i32 %88, 24
%93 = shl nuw nsw i32 %87, 16
%94 = or disjoint i32 %92, %93
%95 = shl nuw nsw i32 %86, 8
%96 = or disjoint i32 %94, %95
%97 = or disjoint i32 %96, %85
br label %98
98: ; preds = %91, %71
%99 = phi i32 [ %97, %91 ], [ 50529027, %71 ]
%100 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3600, i32 noundef 2139062143, i32 noundef %99) #3
%101 = load ptr, ptr %18, align 8, !tbaa !13
%102 = getelementptr inbounds i32, ptr %101, i64 3
%103 = load i32, ptr %102, align 4, !tbaa !14
%104 = add nsw i32 %103, %17
%105 = and i32 %104, 127
%106 = lshr i32 %104, 8
%107 = and i32 %106, 127
%108 = lshr i32 %104, 16
%109 = and i32 %108, 127
%110 = lshr i32 %104, 24
%111 = and i32 %110, 127
%112 = tail call i32 @llvm.umin.i32(i32 %105, i32 36)
%113 = tail call i32 @llvm.umin.i32(i32 %107, i32 36)
%114 = tail call i32 @llvm.umin.i32(i32 %109, i32 36)
%115 = tail call i32 @llvm.umin.i32(i32 %111, i32 36)
%116 = shl nuw nsw i32 %115, 24
%117 = shl nuw nsw i32 %114, 16
%118 = or disjoint i32 %116, %117
%119 = shl nuw nsw i32 %113, 8
%120 = or disjoint i32 %118, %119
%121 = or disjoint i32 %120, %112
store i32 %121, ptr %20, align 8, !tbaa !15
%122 = load i64, ptr %19, align 8, !tbaa !12
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %131
124: ; preds = %98
%125 = shl nuw nsw i32 %115, 24
%126 = shl nuw nsw i32 %114, 16
%127 = or disjoint i32 %125, %126
%128 = shl nuw nsw i32 %113, 8
%129 = or disjoint i32 %127, %128
%130 = or disjoint i32 %129, %112
br label %131
131: ; preds = %124, %98
%132 = phi i32 [ %130, %124 ], [ 50529027, %98 ]
%133 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3604, i32 noundef 2139062143, i32 noundef %132) #3
br label %134
134: ; preds = %131, %160
%135 = phi i64 [ 4, %131 ], [ %165, %160 ]
%136 = load ptr, ptr %18, align 8, !tbaa !13
%137 = getelementptr inbounds i32, ptr %136, i64 %135
%138 = load i32, ptr %137, align 4, !tbaa !14
%139 = add nsw i32 %138, %17
%140 = and i32 %139, 127
%141 = lshr i32 %139, 8
%142 = and i32 %141, 127
%143 = lshr i32 %139, 16
%144 = and i32 %143, 127
%145 = lshr i32 %139, 24
%146 = and i32 %145, 127
%147 = tail call i32 @llvm.umin.i32(i32 %140, i32 36)
%148 = tail call i32 @llvm.umin.i32(i32 %142, i32 36)
%149 = tail call i32 @llvm.umin.i32(i32 %144, i32 36)
%150 = tail call i32 @llvm.umin.i32(i32 %146, i32 36)
%151 = load i64, ptr %19, align 8, !tbaa !12
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %160
153: ; preds = %134
%154 = shl nuw nsw i32 %150, 24
%155 = shl nuw nsw i32 %149, 16
%156 = or disjoint i32 %154, %155
%157 = shl nuw nsw i32 %148, 8
%158 = or disjoint i32 %156, %157
%159 = or disjoint i32 %158, %147
br label %160
160: ; preds = %134, %153
%161 = phi i32 [ %159, %153 ], [ 50529027, %134 ]
%162 = getelementptr inbounds [6 x i32], ptr @__const.phy_set_rf8256_ofdm_tx_power.RegOffset, i64 0, i64 %135
%163 = load i32, ptr %162, align 4, !tbaa !14
%164 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef %163, i32 noundef 2139062143, i32 noundef %161) #3
%165 = add nuw nsw i64 %135, 1
%166 = icmp eq i64 %165, 6
br i1 %166, label %167, label %134, !llvm.loop !16
167: ; preds = %160
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_setBBreg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.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, !7, i64 0}
!6 = !{!"r8192_priv", !7, i64 0, !10, i64 8, !7, i64 16, !11, 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 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !10, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 16}
!16 = distinct !{!16, !17, !18}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.peeled.count", i32 4}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8190_rtl8256.c_phy_set_rf8256_ofdm_tx_power.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8190_rtl8256.c_phy_set_rf8256_ofdm_tx_power.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__const.phy_set_rf8256_ofdm_tx_power.RegOffset = private unnamed_addr constant [6 x i32] [i32 3584, i32 3588, i32 3600, i32 3604, i32 3608, i32 3612], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @phy_set_rf8256_ofdm_tx_power(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ieee80211_priv(ptr noundef %0) #3
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = add nsw i32 %4, %1
%6 = shl i32 %5, 24
%7 = shl i32 %5, 16
%8 = shl i32 %5, 8
%9 = or i32 %7, %6
%10 = or i32 %9, %8
%11 = or i32 %10, %5
%12 = shl i32 %1, 24
%13 = shl i32 %1, 16
%14 = shl i32 %1, 8
%15 = or i32 %13, %12
%16 = or i32 %15, %14
%17 = or i32 %16, %1
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = getelementptr inbounds i8, ptr %3, i64 24
%20 = getelementptr inbounds i8, ptr %3, i64 16
%21 = load i64, ptr %19, align 8, !tbaa !13
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %44
23: ; preds = %2
%24 = load ptr, ptr %18, align 8, !tbaa !14
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = add nsw i32 %25, %11
%27 = lshr i32 %26, 16
%28 = and i32 %27, 127
%29 = tail call i32 @llvm.umin.i32(i32 %28, i32 36)
%30 = and i32 %26, 127
%31 = tail call i32 @llvm.umin.i32(i32 %30, i32 36)
%32 = shl nuw nsw i32 %29, 16
%33 = insertelement <2 x i32> poison, i32 %26, i64 0
%34 = shufflevector <2 x i32> %33, <2 x i32> poison, <2 x i32> zeroinitializer
%35 = lshr <2 x i32> %34, <i32 24, i32 8>
%36 = and <2 x i32> %35, <i32 127, i32 127>
%37 = tail call <2 x i32> @llvm.umin.v2i32(<2 x i32> %36, <2 x i32> <i32 36, i32 36>)
%38 = shl nuw nsw <2 x i32> %37, <i32 24, i32 8>
%39 = extractelement <2 x i32> %38, i64 0
%40 = or disjoint i32 %39, %32
%41 = extractelement <2 x i32> %38, i64 1
%42 = or disjoint i32 %40, %41
%43 = or disjoint i32 %42, %31
br label %44
44: ; preds = %23, %2
%45 = phi i32 [ %43, %23 ], [ 50529027, %2 ]
%46 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3584, i32 noundef 2139062143, i32 noundef %45) #3
%47 = load i64, ptr %19, align 8, !tbaa !13
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %71
49: ; preds = %44
%50 = load ptr, ptr %18, align 8, !tbaa !14
%51 = getelementptr inbounds i8, ptr %50, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !15
%53 = add nsw i32 %52, %11
%54 = lshr i32 %53, 16
%55 = and i32 %54, 127
%56 = tail call i32 @llvm.umin.i32(i32 %55, i32 36)
%57 = and i32 %53, 127
%58 = tail call i32 @llvm.umin.i32(i32 %57, i32 36)
%59 = shl nuw nsw i32 %56, 16
%60 = insertelement <2 x i32> poison, i32 %53, i64 0
%61 = shufflevector <2 x i32> %60, <2 x i32> poison, <2 x i32> zeroinitializer
%62 = lshr <2 x i32> %61, <i32 24, i32 8>
%63 = and <2 x i32> %62, <i32 127, i32 127>
%64 = tail call <2 x i32> @llvm.umin.v2i32(<2 x i32> %63, <2 x i32> <i32 36, i32 36>)
%65 = shl nuw nsw <2 x i32> %64, <i32 24, i32 8>
%66 = extractelement <2 x i32> %65, i64 0
%67 = or disjoint i32 %66, %59
%68 = extractelement <2 x i32> %65, i64 1
%69 = or disjoint i32 %67, %68
%70 = or disjoint i32 %69, %58
br label %71
71: ; preds = %44, %49
%72 = phi i32 [ %70, %49 ], [ 50529027, %44 ]
%73 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3588, i32 noundef 2139062143, i32 noundef %72) #3
%74 = load ptr, ptr %18, align 8, !tbaa !14
%75 = getelementptr inbounds i8, ptr %74, i64 8
%76 = load i32, ptr %75, align 4, !tbaa !15
%77 = add nsw i32 %76, %17
%78 = and i32 %77, 127
%79 = lshr i32 %77, 8
%80 = and i32 %79, 127
%81 = lshr i32 %77, 16
%82 = and i32 %81, 127
%83 = lshr i32 %77, 24
%84 = and i32 %83, 127
%85 = tail call i32 @llvm.umin.i32(i32 %78, i32 36)
%86 = tail call i32 @llvm.umin.i32(i32 %80, i32 36)
%87 = tail call i32 @llvm.umin.i32(i32 %82, i32 36)
%88 = tail call i32 @llvm.umin.i32(i32 %84, i32 36)
%89 = load i64, ptr %19, align 8, !tbaa !13
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %71
%92 = shl nuw nsw i32 %88, 24
%93 = shl nuw nsw i32 %87, 16
%94 = or disjoint i32 %92, %93
%95 = shl nuw nsw i32 %86, 8
%96 = or disjoint i32 %94, %95
%97 = or disjoint i32 %96, %85
br label %98
98: ; preds = %91, %71
%99 = phi i32 [ %97, %91 ], [ 50529027, %71 ]
%100 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3600, i32 noundef 2139062143, i32 noundef %99) #3
%101 = load ptr, ptr %18, align 8, !tbaa !14
%102 = getelementptr inbounds i8, ptr %101, i64 12
%103 = load i32, ptr %102, align 4, !tbaa !15
%104 = add nsw i32 %103, %17
%105 = and i32 %104, 127
%106 = lshr i32 %104, 8
%107 = and i32 %106, 127
%108 = lshr i32 %104, 16
%109 = and i32 %108, 127
%110 = lshr i32 %104, 24
%111 = and i32 %110, 127
%112 = tail call i32 @llvm.umin.i32(i32 %105, i32 36)
%113 = tail call i32 @llvm.umin.i32(i32 %107, i32 36)
%114 = tail call i32 @llvm.umin.i32(i32 %109, i32 36)
%115 = tail call i32 @llvm.umin.i32(i32 %111, i32 36)
%116 = shl nuw nsw i32 %115, 24
%117 = shl nuw nsw i32 %114, 16
%118 = or disjoint i32 %116, %117
%119 = shl nuw nsw i32 %113, 8
%120 = or disjoint i32 %118, %119
%121 = or disjoint i32 %120, %112
store i32 %121, ptr %20, align 8, !tbaa !16
%122 = load i64, ptr %19, align 8, !tbaa !13
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %131
124: ; preds = %98
%125 = shl nuw nsw i32 %115, 24
%126 = shl nuw nsw i32 %114, 16
%127 = or disjoint i32 %125, %126
%128 = shl nuw nsw i32 %113, 8
%129 = or disjoint i32 %127, %128
%130 = or disjoint i32 %129, %112
br label %131
131: ; preds = %124, %98
%132 = phi i32 [ %130, %124 ], [ 50529027, %98 ]
%133 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef 3604, i32 noundef 2139062143, i32 noundef %132) #3
br label %134
134: ; preds = %131, %160
%135 = phi i64 [ 4, %131 ], [ %165, %160 ]
%136 = load ptr, ptr %18, align 8, !tbaa !14
%137 = getelementptr inbounds i32, ptr %136, i64 %135
%138 = load i32, ptr %137, align 4, !tbaa !15
%139 = add nsw i32 %138, %17
%140 = and i32 %139, 127
%141 = lshr i32 %139, 8
%142 = and i32 %141, 127
%143 = lshr i32 %139, 16
%144 = and i32 %143, 127
%145 = lshr i32 %139, 24
%146 = and i32 %145, 127
%147 = tail call i32 @llvm.umin.i32(i32 %140, i32 36)
%148 = tail call i32 @llvm.umin.i32(i32 %142, i32 36)
%149 = tail call i32 @llvm.umin.i32(i32 %144, i32 36)
%150 = tail call i32 @llvm.umin.i32(i32 %146, i32 36)
%151 = load i64, ptr %19, align 8, !tbaa !13
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %160
153: ; preds = %134
%154 = shl nuw nsw i32 %150, 24
%155 = shl nuw nsw i32 %149, 16
%156 = or disjoint i32 %154, %155
%157 = shl nuw nsw i32 %148, 8
%158 = or disjoint i32 %156, %157
%159 = or disjoint i32 %158, %147
br label %160
160: ; preds = %134, %153
%161 = phi i32 [ %159, %153 ], [ 50529027, %134 ]
%162 = getelementptr inbounds [6 x i32], ptr @__const.phy_set_rf8256_ofdm_tx_power.RegOffset, i64 0, i64 %135
%163 = load i32, ptr %162, align 4, !tbaa !15
%164 = tail call i32 @rtl8192_setBBreg(ptr noundef %0, i32 noundef %163, i32 noundef 2139062143, i32 noundef %161) #3
%165 = add nuw nsw i64 %135, 1
%166 = icmp eq i64 %165, 6
br i1 %166, label %167, label %134, !llvm.loop !17
167: ; preds = %160
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_setBBreg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.umin.v2i32(<2 x i32>, <2 x i32>) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"r8192_priv", !8, i64 0, !11, i64 8, !8, i64 16, !12, 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 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 24}
!14 = !{!7, !11, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 16}
!17 = distinct !{!17, !18, !19}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.peeled.count", i32 4}
| linux_drivers_staging_rtl8192u_extr_r8190_rtl8256.c_phy_set_rf8256_ofdm_tx_power |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/vchiq/interface/vchiq_arm/extr_vchiq_core.c_remote_event_wait.c'
source_filename = "AnghaBench/freebsd/sys/contrib/vchiq/interface/vchiq_arm/extr_vchiq_core.c_remote_event_wait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @remote_event_wait], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @remote_event_wait(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %17
5: ; preds = %1
store i32 1, ptr %0, align 8, !tbaa !11
%6 = tail call i32 (...) @dsb() #2
%7 = load i64, ptr %2, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = tail call i64 @down_interruptible(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %9
store i32 0, ptr %0, align 8, !tbaa !11
br label %18
15: ; preds = %9, %5
store i32 0, ptr %0, align 8, !tbaa !11
%16 = tail call i32 (...) @wmb() #2
br label %17
17: ; preds = %15, %1
store i64 0, ptr %2, align 8, !tbaa !5
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ 1, %17 ], [ 0, %14 ]
ret i32 %19
}
declare i32 @dsb(...) local_unnamed_addr #1
declare i64 @down_interruptible(i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) 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, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/vchiq/interface/vchiq_arm/extr_vchiq_core.c_remote_event_wait.c'
source_filename = "AnghaBench/freebsd/sys/contrib/vchiq/interface/vchiq_arm/extr_vchiq_core.c_remote_event_wait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @remote_event_wait], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @remote_event_wait(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %17
5: ; preds = %1
store i32 1, ptr %0, align 8, !tbaa !12
%6 = tail call i32 @dsb() #2
%7 = load i64, ptr %2, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call i64 @down_interruptible(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %9
store i32 0, ptr %0, align 8, !tbaa !12
br label %18
15: ; preds = %9, %5
store i32 0, ptr %0, align 8, !tbaa !12
%16 = tail call i32 @wmb() #2
br label %17
17: ; preds = %15, %1
store i64 0, ptr %2, align 8, !tbaa !6
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ 1, %17 ], [ 0, %14 ]
ret i32 %19
}
declare i32 @dsb(...) local_unnamed_addr #1
declare i64 @down_interruptible(i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) 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, !11, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 16}
| freebsd_sys_contrib_vchiq_interface_vchiq_arm_extr_vchiq_core.c_remote_event_wait |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_read_unc_blocks.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_read_unc_blocks.c"
target datalayout = "e-m:e-p270:32:32-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 @vp7045_fe_read_unc_blocks], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vp7045_fe_read_unc_blocks(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @vp7045_read_reg(i32 noundef %4, i32 noundef 16) #2
%6 = shl i32 %5, 8
%7 = load i32, ptr %3, align 4, !tbaa !10
%8 = tail call i32 @vp7045_read_reg(i32 noundef %7, i32 noundef 17) #2
%9 = or i32 %8, %6
store i32 %9, ptr %1, align 4, !tbaa !13
ret i32 0
}
declare i32 @vp7045_read_reg(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 = !{!"dvb_frontend", !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 = !{!"vp7045_fe_state", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_read_unc_blocks.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_read_unc_blocks.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 @vp7045_fe_read_unc_blocks], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vp7045_fe_read_unc_blocks(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @vp7045_read_reg(i32 noundef %4, i32 noundef 16) #2
%6 = shl i32 %5, 8
%7 = load i32, ptr %3, align 4, !tbaa !11
%8 = tail call i32 @vp7045_read_reg(i32 noundef %7, i32 noundef 17) #2
%9 = or i32 %8, %6
store i32 %9, ptr %1, align 4, !tbaa !14
ret i32 0
}
declare i32 @vp7045_read_reg(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 = !{!"dvb_frontend", !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 = !{!"vp7045_fe_state", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| linux_drivers_media_usb_dvb-usb_extr_vp7045-fe.c_vp7045_fe_read_unc_blocks |
; ModuleID = 'AnghaBench/qmk_firmware/users/dhertz/extr_dhertz.c_process_record_user.c'
source_filename = "AnghaBench/qmk_firmware/users/dhertz/extr_dhertz.c_process_record_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KC_LGUI = dso_local local_unnamed_addr global i32 0, align 4
@X_TAB = dso_local local_unnamed_addr global i32 0, align 4
@KC_RGUI = dso_local local_unnamed_addr global i32 0, align 4
@X_GRAVE = dso_local local_unnamed_addr global i32 0, align 4
@KC_LSFT = dso_local local_unnamed_addr global i32 0, align 4
@KC_RSFT = dso_local local_unnamed_addr global i32 0, align 4
@X_NONUS_BSLASH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"country_iso_alpha2_code\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @process_record_user(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
switch i32 %0, label %13 [
i32 131, label %3
i32 133, label %8
]
3: ; preds = %2
%4 = load i32, ptr @KC_LGUI, align 4, !tbaa !5
%5 = load i32, ptr @X_TAB, align 4, !tbaa !5
%6 = tail call ptr @SS_TAP(i32 noundef %5) #2
%7 = tail call i32 @mod_or_mod_with_macro(ptr noundef %1, i32 noundef %4, ptr noundef %6) #2
br label %49
8: ; preds = %2
%9 = load i32, ptr @KC_RGUI, align 4, !tbaa !5
%10 = load i32, ptr @X_GRAVE, align 4, !tbaa !5
%11 = tail call ptr @SS_TAP(i32 noundef %10) #2
%12 = tail call i32 @mod_or_mod_with_macro(ptr noundef %1, i32 noundef %9, ptr noundef %11) #2
br label %49
13: ; preds = %2
%14 = load i64, ptr %1, align 8, !tbaa !9
%15 = icmp eq i64 %14, 0
br i1 %15, label %47, label %16
16: ; preds = %13
switch i32 %0, label %45 [
i32 129, label %17
i32 130, label %33
i32 134, label %36
i32 132, label %40
i32 128, label %43
]
17: ; preds = %16
%18 = tail call i32 (...) @get_mods() #2
%19 = load i32, ptr @KC_LSFT, align 4, !tbaa !5
%20 = tail call i32 @MOD_BIT(i32 noundef %19) #2
%21 = load i32, ptr @KC_RSFT, align 4, !tbaa !5
%22 = tail call i32 @MOD_BIT(i32 noundef %21) #2
%23 = or i32 %22, %20
%24 = and i32 %23, %18
%25 = icmp eq i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %17
%27 = load i32, ptr @X_NONUS_BSLASH, align 4, !tbaa !5
%28 = tail call ptr @SS_TAP(i32 noundef %27) #2
%29 = tail call i32 @SEND_STRING(ptr noundef %28) #2
br label %49
30: ; preds = %17
%31 = tail call ptr @SS_LALT(ptr noundef nonnull @.str) #2
%32 = tail call i32 @SEND_STRING(ptr noundef %31) #2
br label %49
33: ; preds = %16
%34 = tail call ptr @SS_LCTRL(ptr noundef nonnull @.str.1) #2
%35 = tail call i32 @SEND_STRING(ptr noundef %34) #2
br label %49
36: ; preds = %16
%37 = tail call ptr @SS_LALT(ptr noundef nonnull @.str.2) #2
%38 = tail call ptr @SS_LGUI(ptr noundef %37) #2
%39 = tail call i32 @SEND_STRING(ptr noundef %38) #2
br label %49
40: ; preds = %16
%41 = tail call ptr @SS_LGUI(ptr noundef nonnull @.str.3) #2
%42 = tail call i32 @SEND_STRING(ptr noundef %41) #2
br label %49
43: ; preds = %16
%44 = tail call i32 @SEND_STRING(ptr noundef nonnull @.str.4) #2
br label %49
45: ; preds = %16
%46 = tail call i32 @process_record_keymap(i32 noundef %0, ptr noundef nonnull %1) #2
br label %49
47: ; preds = %13
%48 = tail call i32 @process_record_keymap(i32 noundef %0, ptr noundef nonnull %1) #2
br label %49
49: ; preds = %33, %36, %40, %43, %30, %26, %47, %45, %8, %3
%50 = phi i32 [ %46, %45 ], [ %48, %47 ], [ 0, %8 ], [ 0, %3 ], [ 0, %26 ], [ 0, %30 ], [ 0, %43 ], [ 0, %40 ], [ 0, %36 ], [ 0, %33 ]
ret i32 %50
}
declare i32 @mod_or_mod_with_macro(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @SS_TAP(i32 noundef) local_unnamed_addr #1
declare i32 @get_mods(...) local_unnamed_addr #1
declare i32 @MOD_BIT(i32 noundef) local_unnamed_addr #1
declare i32 @SEND_STRING(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LALT(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LCTRL(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LGUI(ptr noundef) local_unnamed_addr #1
declare i32 @process_record_keymap(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/qmk_firmware/users/dhertz/extr_dhertz.c_process_record_user.c'
source_filename = "AnghaBench/qmk_firmware/users/dhertz/extr_dhertz.c_process_record_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KC_LGUI = common local_unnamed_addr global i32 0, align 4
@X_TAB = common local_unnamed_addr global i32 0, align 4
@KC_RGUI = common local_unnamed_addr global i32 0, align 4
@X_GRAVE = common local_unnamed_addr global i32 0, align 4
@KC_LSFT = common local_unnamed_addr global i32 0, align 4
@KC_RSFT = common local_unnamed_addr global i32 0, align 4
@X_NONUS_BSLASH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"country_iso_alpha2_code\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @process_record_user(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
switch i32 %0, label %13 [
i32 131, label %3
i32 133, label %8
]
3: ; preds = %2
%4 = load i32, ptr @KC_LGUI, align 4, !tbaa !6
%5 = load i32, ptr @X_TAB, align 4, !tbaa !6
%6 = tail call ptr @SS_TAP(i32 noundef %5) #2
%7 = tail call i32 @mod_or_mod_with_macro(ptr noundef %1, i32 noundef %4, ptr noundef %6) #2
br label %49
8: ; preds = %2
%9 = load i32, ptr @KC_RGUI, align 4, !tbaa !6
%10 = load i32, ptr @X_GRAVE, align 4, !tbaa !6
%11 = tail call ptr @SS_TAP(i32 noundef %10) #2
%12 = tail call i32 @mod_or_mod_with_macro(ptr noundef %1, i32 noundef %9, ptr noundef %11) #2
br label %49
13: ; preds = %2
%14 = load i64, ptr %1, align 8, !tbaa !10
%15 = icmp eq i64 %14, 0
br i1 %15, label %47, label %16
16: ; preds = %13
switch i32 %0, label %45 [
i32 129, label %17
i32 130, label %33
i32 134, label %36
i32 132, label %40
i32 128, label %43
]
17: ; preds = %16
%18 = tail call i32 @get_mods() #2
%19 = load i32, ptr @KC_LSFT, align 4, !tbaa !6
%20 = tail call i32 @MOD_BIT(i32 noundef %19) #2
%21 = load i32, ptr @KC_RSFT, align 4, !tbaa !6
%22 = tail call i32 @MOD_BIT(i32 noundef %21) #2
%23 = or i32 %22, %20
%24 = and i32 %23, %18
%25 = icmp eq i32 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %17
%27 = load i32, ptr @X_NONUS_BSLASH, align 4, !tbaa !6
%28 = tail call ptr @SS_TAP(i32 noundef %27) #2
%29 = tail call i32 @SEND_STRING(ptr noundef %28) #2
br label %49
30: ; preds = %17
%31 = tail call ptr @SS_LALT(ptr noundef nonnull @.str) #2
%32 = tail call i32 @SEND_STRING(ptr noundef %31) #2
br label %49
33: ; preds = %16
%34 = tail call ptr @SS_LCTRL(ptr noundef nonnull @.str.1) #2
%35 = tail call i32 @SEND_STRING(ptr noundef %34) #2
br label %49
36: ; preds = %16
%37 = tail call ptr @SS_LALT(ptr noundef nonnull @.str.2) #2
%38 = tail call ptr @SS_LGUI(ptr noundef %37) #2
%39 = tail call i32 @SEND_STRING(ptr noundef %38) #2
br label %49
40: ; preds = %16
%41 = tail call ptr @SS_LGUI(ptr noundef nonnull @.str.3) #2
%42 = tail call i32 @SEND_STRING(ptr noundef %41) #2
br label %49
43: ; preds = %16
%44 = tail call i32 @SEND_STRING(ptr noundef nonnull @.str.4) #2
br label %49
45: ; preds = %16
%46 = tail call i32 @process_record_keymap(i32 noundef %0, ptr noundef nonnull %1) #2
br label %49
47: ; preds = %13
%48 = tail call i32 @process_record_keymap(i32 noundef %0, ptr noundef nonnull %1) #2
br label %49
49: ; preds = %33, %36, %40, %43, %30, %26, %47, %45, %8, %3
%50 = phi i32 [ %46, %45 ], [ %48, %47 ], [ 0, %8 ], [ 0, %3 ], [ 0, %26 ], [ 0, %30 ], [ 0, %43 ], [ 0, %40 ], [ 0, %36 ], [ 0, %33 ]
ret i32 %50
}
declare i32 @mod_or_mod_with_macro(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @SS_TAP(i32 noundef) local_unnamed_addr #1
declare i32 @get_mods(...) local_unnamed_addr #1
declare i32 @MOD_BIT(i32 noundef) local_unnamed_addr #1
declare i32 @SEND_STRING(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LALT(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LCTRL(ptr noundef) local_unnamed_addr #1
declare ptr @SS_LGUI(ptr noundef) local_unnamed_addr #1
declare i32 @process_record_keymap(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
| qmk_firmware_users_dhertz_extr_dhertz.c_process_record_user |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/mb862xx/extr_mb862xxfb.c_mb862xxfb_show_dispregs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/mb862xx/extr_mb862xxfb.c_mb862xxfb_show_dispregs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GC_DCM0 = dso_local local_unnamed_addr global i32 0, align 4
@GC_L0DY_L0DX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"%08x = %08x\0A\00", align 1
@disp = dso_local local_unnamed_addr global i32 0, align 4
@GC_CPM_CUTC = dso_local local_unnamed_addr global i32 0, align 4
@GC_CUY1_CUX1 = dso_local local_unnamed_addr global i32 0, align 4
@GC_DCM1 = dso_local local_unnamed_addr global i32 0, align 4
@GC_L0WH_L0WW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mb862xxfb_show_dispregs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mb862xxfb_show_dispregs(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr @GC_DCM0, align 4, !tbaa !5
%6 = load i32, ptr @GC_L0DY_L0DX, align 4, !tbaa !5
%7 = icmp ugt i32 %5, %6
br i1 %7, label %19, label %8
8: ; preds = %3, %8
%9 = phi i32 [ %16, %8 ], [ %5, %3 ]
%10 = phi ptr [ %15, %8 ], [ %2, %3 ]
%11 = load i32, ptr @disp, align 4, !tbaa !5
%12 = tail call i32 @inreg(i32 noundef %11, i32 noundef %9) #2
%13 = tail call i32 @sprintf(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %12) #2
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %10, i64 %14
%16 = add i32 %9, 4
%17 = load i32, ptr @GC_L0DY_L0DX, align 4, !tbaa !5
%18 = icmp ugt i32 %16, %17
br i1 %18, label %19, label %8, !llvm.loop !9
19: ; preds = %8, %3
%20 = phi ptr [ %2, %3 ], [ %15, %8 ]
%21 = load i32, ptr @GC_CPM_CUTC, align 4, !tbaa !5
%22 = load i32, ptr @GC_CUY1_CUX1, align 4, !tbaa !5
%23 = icmp ugt i32 %21, %22
br i1 %23, label %35, label %24
24: ; preds = %19, %24
%25 = phi i32 [ %32, %24 ], [ %21, %19 ]
%26 = phi ptr [ %31, %24 ], [ %20, %19 ]
%27 = load i32, ptr @disp, align 4, !tbaa !5
%28 = tail call i32 @inreg(i32 noundef %27, i32 noundef %25) #2
%29 = tail call i32 @sprintf(ptr noundef %26, ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %28) #2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %26, i64 %30
%32 = add i32 %25, 4
%33 = load i32, ptr @GC_CUY1_CUX1, align 4, !tbaa !5
%34 = icmp ugt i32 %32, %33
br i1 %34, label %35, label %24, !llvm.loop !11
35: ; preds = %24, %19
%36 = phi ptr [ %20, %19 ], [ %31, %24 ]
%37 = load i32, ptr @GC_DCM1, align 4, !tbaa !5
%38 = load i32, ptr @GC_L0WH_L0WW, align 4, !tbaa !5
%39 = icmp ugt i32 %37, %38
br i1 %39, label %51, label %40
40: ; preds = %35, %40
%41 = phi i32 [ %48, %40 ], [ %37, %35 ]
%42 = phi ptr [ %47, %40 ], [ %36, %35 ]
%43 = load i32, ptr @disp, align 4, !tbaa !5
%44 = tail call i32 @inreg(i32 noundef %43, i32 noundef %41) #2
%45 = tail call i32 @sprintf(ptr noundef %42, ptr noundef nonnull @.str, i32 noundef %41, i32 noundef %44) #2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
%48 = add i32 %41, 4
%49 = load i32, ptr @GC_L0WH_L0WW, align 4, !tbaa !5
%50 = icmp ugt i32 %48, %49
br i1 %50, label %51, label %40, !llvm.loop !12
51: ; preds = %40, %35
%52 = phi ptr [ %36, %35 ], [ %47, %40 ]
%53 = ptrtoint ptr %52 to i64
%54 = ptrtoint ptr %2 to i64
%55 = sub i64 %53, %54
%56 = trunc i64 %55 to i32
ret i32 %56
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inreg(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/mb862xx/extr_mb862xxfb.c_mb862xxfb_show_dispregs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/mb862xx/extr_mb862xxfb.c_mb862xxfb_show_dispregs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GC_DCM0 = common local_unnamed_addr global i32 0, align 4
@GC_L0DY_L0DX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"%08x = %08x\0A\00", align 1
@disp = common local_unnamed_addr global i32 0, align 4
@GC_CPM_CUTC = common local_unnamed_addr global i32 0, align 4
@GC_CUY1_CUX1 = common local_unnamed_addr global i32 0, align 4
@GC_DCM1 = common local_unnamed_addr global i32 0, align 4
@GC_L0WH_L0WW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mb862xxfb_show_dispregs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mb862xxfb_show_dispregs(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr @GC_DCM0, align 4, !tbaa !6
%6 = load i32, ptr @GC_L0DY_L0DX, align 4, !tbaa !6
%7 = icmp ugt i32 %5, %6
br i1 %7, label %19, label %8
8: ; preds = %3, %8
%9 = phi i32 [ %16, %8 ], [ %5, %3 ]
%10 = phi ptr [ %15, %8 ], [ %2, %3 ]
%11 = load i32, ptr @disp, align 4, !tbaa !6
%12 = tail call i32 @inreg(i32 noundef %11, i32 noundef %9) #2
%13 = tail call i32 @sprintf(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %12) #2
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %10, i64 %14
%16 = add i32 %9, 4
%17 = load i32, ptr @GC_L0DY_L0DX, align 4, !tbaa !6
%18 = icmp ugt i32 %16, %17
br i1 %18, label %19, label %8, !llvm.loop !10
19: ; preds = %8, %3
%20 = phi ptr [ %2, %3 ], [ %15, %8 ]
%21 = load i32, ptr @GC_CPM_CUTC, align 4, !tbaa !6
%22 = load i32, ptr @GC_CUY1_CUX1, align 4, !tbaa !6
%23 = icmp ugt i32 %21, %22
br i1 %23, label %35, label %24
24: ; preds = %19, %24
%25 = phi i32 [ %32, %24 ], [ %21, %19 ]
%26 = phi ptr [ %31, %24 ], [ %20, %19 ]
%27 = load i32, ptr @disp, align 4, !tbaa !6
%28 = tail call i32 @inreg(i32 noundef %27, i32 noundef %25) #2
%29 = tail call i32 @sprintf(ptr noundef %26, ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %28) #2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %26, i64 %30
%32 = add i32 %25, 4
%33 = load i32, ptr @GC_CUY1_CUX1, align 4, !tbaa !6
%34 = icmp ugt i32 %32, %33
br i1 %34, label %35, label %24, !llvm.loop !12
35: ; preds = %24, %19
%36 = phi ptr [ %20, %19 ], [ %31, %24 ]
%37 = load i32, ptr @GC_DCM1, align 4, !tbaa !6
%38 = load i32, ptr @GC_L0WH_L0WW, align 4, !tbaa !6
%39 = icmp ugt i32 %37, %38
br i1 %39, label %51, label %40
40: ; preds = %35, %40
%41 = phi i32 [ %48, %40 ], [ %37, %35 ]
%42 = phi ptr [ %47, %40 ], [ %36, %35 ]
%43 = load i32, ptr @disp, align 4, !tbaa !6
%44 = tail call i32 @inreg(i32 noundef %43, i32 noundef %41) #2
%45 = tail call i32 @sprintf(ptr noundef %42, ptr noundef nonnull @.str, i32 noundef %41, i32 noundef %44) #2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
%48 = add i32 %41, 4
%49 = load i32, ptr @GC_L0WH_L0WW, align 4, !tbaa !6
%50 = icmp ugt i32 %48, %49
br i1 %50, label %51, label %40, !llvm.loop !13
51: ; preds = %40, %35
%52 = phi ptr [ %36, %35 ], [ %47, %40 ]
%53 = ptrtoint ptr %52 to i64
%54 = ptrtoint ptr %2 to i64
%55 = sub i64 %53, %54
%56 = trunc i64 %55 to i32
ret i32 %56
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inreg(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
| fastsocket_kernel_drivers_video_mb862xx_extr_mb862xxfb.c_mb862xxfb_show_dispregs |
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_queuehandler.c_ghb_queue_select_log.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_queuehandler.c_ghb_queue_select_log.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr, ptr, i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c"queue_list\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"uiSettings\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"queue_activity_view\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"job_status\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"ActivityFilename\00", align 1
@GHB_QUEUE_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"queue_activity_location\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@GHB_QUEUE_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ghb_queue_select_log(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @GHB_WIDGET(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = tail call ptr @GTK_LIST_BOX(i32 noundef %4) #2
%6 = tail call ptr @gtk_list_box_get_selected_row(ptr noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %60, label %8
8: ; preds = %1
%9 = tail call i64 @gtk_list_box_row_get_index(ptr noundef nonnull %6) #2
%10 = icmp slt i64 %9, 0
br i1 %10, label %60, label %11
11: ; preds = %8
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = tail call i64 @ghb_array_len(i32 noundef %13) #2
%15 = icmp slt i64 %9, %14
br i1 %15, label %16, label %60
16: ; preds = %11
%17 = load i32, ptr %12, align 4, !tbaa !11
%18 = tail call ptr @ghb_array_get(i32 noundef %17, i64 noundef %9) #2
%19 = tail call ptr @ghb_dict_get(ptr noundef %18, ptr noundef nonnull @.str.1) #2
%20 = load i32, ptr %2, align 8, !tbaa !5
%21 = tail call i32 @GHB_WIDGET(i32 noundef %20, ptr noundef nonnull @.str.2) #2
%22 = tail call ptr @GTK_TEXT_VIEW(i32 noundef %21) #2
%23 = tail call ptr @gtk_text_view_get_buffer(ptr noundef %22) #2
%24 = tail call i32 @ghb_dict_get_int(ptr noundef %19, ptr noundef nonnull @.str.3) #2
%25 = tail call ptr @ghb_dict_get_string(ptr noundef %19, ptr noundef nonnull @.str.4) #2
%26 = load i32, ptr @GHB_QUEUE_PENDING, align 4, !tbaa !12
%27 = icmp ne i32 %24, %26
%28 = icmp ne ptr %25, null
%29 = select i1 %27, i1 %28, i1 false
%30 = select i1 %29, ptr %25, ptr @.str.6
%31 = tail call i32 @ghb_string_value(ptr noundef nonnull %30) #2
%32 = tail call i32 @ghb_ui_update(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %31) #2
%33 = load i32, ptr @GHB_QUEUE_RUNNING, align 4, !tbaa !12
%34 = icmp eq i32 %24, %33
br i1 %34, label %35, label %41
35: ; preds = %16
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%37 = load ptr, ptr %36, align 8, !tbaa !13
%38 = icmp eq ptr %37, %23
br i1 %38, label %60, label %39
39: ; preds = %35
%40 = tail call i32 @gtk_text_view_set_buffer(ptr noundef %22, ptr noundef %37) #2
br label %60
41: ; preds = %16
%42 = load ptr, ptr %0, align 8, !tbaa !14
%43 = icmp eq ptr %42, %23
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 @gtk_text_view_set_buffer(ptr noundef %22, ptr noundef %42) #2
br label %46
46: ; preds = %44, %41
%47 = tail call ptr @ghb_dict_get_string(ptr noundef %19, ptr noundef nonnull @.str.4) #2
%48 = load i32, ptr @GHB_QUEUE_PENDING, align 4, !tbaa !12
%49 = icmp ne i32 %24, %48
%50 = icmp ne ptr %47, null
%51 = select i1 %49, i1 %50, i1 false
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = tail call i32 @read_log(ptr noundef nonnull %0, ptr noundef nonnull %47) #2
br label %60
54: ; preds = %46
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%56 = load ptr, ptr %55, align 8, !tbaa !15
%57 = tail call i32 @g_free(ptr noundef %56) #2
store ptr null, ptr %55, align 8, !tbaa !15
%58 = load ptr, ptr %0, align 8, !tbaa !14
%59 = tail call i32 @gtk_text_buffer_set_text(ptr noundef %58, ptr noundef nonnull @.str.6, i32 noundef 0) #2
br label %60
60: ; preds = %11, %8, %1, %39, %35, %54, %52
ret void
}
declare ptr @GTK_LIST_BOX(i32 noundef) local_unnamed_addr #1
declare i32 @GHB_WIDGET(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @gtk_list_box_get_selected_row(ptr noundef) local_unnamed_addr #1
declare i64 @gtk_list_box_row_get_index(ptr noundef) local_unnamed_addr #1
declare i64 @ghb_array_len(i32 noundef) local_unnamed_addr #1
declare ptr @ghb_array_get(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @ghb_dict_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GTK_TEXT_VIEW(i32 noundef) local_unnamed_addr #1
declare ptr @gtk_text_view_get_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @ghb_dict_get_int(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ghb_dict_get_string(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ghb_ui_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ghb_string_value(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_text_view_set_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_log(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_free(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_text_buffer_set_text(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 28}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_queuehandler.c_ghb_queue_select_log.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_queuehandler.c_ghb_queue_select_log.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"queue_list\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"uiSettings\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"queue_activity_view\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"job_status\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"ActivityFilename\00", align 1
@GHB_QUEUE_PENDING = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"queue_activity_location\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@GHB_QUEUE_RUNNING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ghb_queue_select_log(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @GHB_WIDGET(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = tail call ptr @GTK_LIST_BOX(i32 noundef %4) #2
%6 = tail call ptr @gtk_list_box_get_selected_row(ptr noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %60, label %8
8: ; preds = %1
%9 = tail call i64 @gtk_list_box_row_get_index(ptr noundef nonnull %6) #2
%10 = icmp slt i64 %9, 0
br i1 %10, label %60, label %11
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %0, i64 28
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = tail call i64 @ghb_array_len(i32 noundef %13) #2
%15 = icmp slt i64 %9, %14
br i1 %15, label %16, label %60
16: ; preds = %11
%17 = load i32, ptr %12, align 4, !tbaa !12
%18 = tail call ptr @ghb_array_get(i32 noundef %17, i64 noundef %9) #2
%19 = tail call ptr @ghb_dict_get(ptr noundef %18, ptr noundef nonnull @.str.1) #2
%20 = load i32, ptr %2, align 8, !tbaa !6
%21 = tail call i32 @GHB_WIDGET(i32 noundef %20, ptr noundef nonnull @.str.2) #2
%22 = tail call ptr @GTK_TEXT_VIEW(i32 noundef %21) #2
%23 = tail call ptr @gtk_text_view_get_buffer(ptr noundef %22) #2
%24 = tail call i32 @ghb_dict_get_int(ptr noundef %19, ptr noundef nonnull @.str.3) #2
%25 = tail call ptr @ghb_dict_get_string(ptr noundef %19, ptr noundef nonnull @.str.4) #2
%26 = load i32, ptr @GHB_QUEUE_PENDING, align 4, !tbaa !13
%27 = icmp ne i32 %24, %26
%28 = icmp ne ptr %25, null
%29 = select i1 %27, i1 %28, i1 false
%30 = select i1 %29, ptr %25, ptr @.str.6
%31 = tail call i32 @ghb_string_value(ptr noundef nonnull %30) #2
%32 = tail call i32 @ghb_ui_update(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef %31) #2
%33 = load i32, ptr @GHB_QUEUE_RUNNING, align 4, !tbaa !13
%34 = icmp eq i32 %24, %33
br i1 %34, label %35, label %41
35: ; preds = %16
%36 = getelementptr inbounds i8, ptr %0, i64 16
%37 = load ptr, ptr %36, align 8, !tbaa !14
%38 = icmp eq ptr %37, %23
br i1 %38, label %60, label %39
39: ; preds = %35
%40 = tail call i32 @gtk_text_view_set_buffer(ptr noundef %22, ptr noundef %37) #2
br label %60
41: ; preds = %16
%42 = load ptr, ptr %0, align 8, !tbaa !15
%43 = icmp eq ptr %42, %23
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 @gtk_text_view_set_buffer(ptr noundef %22, ptr noundef %42) #2
br label %46
46: ; preds = %44, %41
%47 = tail call ptr @ghb_dict_get_string(ptr noundef %19, ptr noundef nonnull @.str.4) #2
%48 = load i32, ptr @GHB_QUEUE_PENDING, align 4, !tbaa !13
%49 = icmp ne i32 %24, %48
%50 = icmp ne ptr %47, null
%51 = select i1 %49, i1 %50, i1 false
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = tail call i32 @read_log(ptr noundef nonnull %0, ptr noundef nonnull %47) #2
br label %60
54: ; preds = %46
%55 = getelementptr inbounds i8, ptr %0, i64 8
%56 = load ptr, ptr %55, align 8, !tbaa !16
%57 = tail call i32 @g_free(ptr noundef %56) #2
store ptr null, ptr %55, align 8, !tbaa !16
%58 = load ptr, ptr %0, align 8, !tbaa !15
%59 = tail call i32 @gtk_text_buffer_set_text(ptr noundef %58, ptr noundef nonnull @.str.6, i32 noundef 0) #2
br label %60
60: ; preds = %11, %8, %1, %39, %35, %54, %52
ret void
}
declare ptr @GTK_LIST_BOX(i32 noundef) local_unnamed_addr #1
declare i32 @GHB_WIDGET(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @gtk_list_box_get_selected_row(ptr noundef) local_unnamed_addr #1
declare i64 @gtk_list_box_row_get_index(ptr noundef) local_unnamed_addr #1
declare i64 @ghb_array_len(i32 noundef) local_unnamed_addr #1
declare ptr @ghb_array_get(i32 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @ghb_dict_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GTK_TEXT_VIEW(i32 noundef) local_unnamed_addr #1
declare ptr @gtk_text_view_get_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @ghb_dict_get_int(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ghb_dict_get_string(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ghb_ui_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ghb_string_value(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_text_view_set_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @read_log(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @g_free(ptr noundef) local_unnamed_addr #1
declare i32 @gtk_text_buffer_set_text(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 28}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 8}
| HandBrake_gtk_src_extr_queuehandler.c_ghb_queue_select_log |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nic/extr_..nfp_app.h_nfp_app_vnic_alloc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nic/extr_..nfp_app.h_nfp_app_vnic_alloc.c"
target datalayout = "e-m:e-p270:32:32-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 @nfp_app_vnic_alloc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @nfp_app_vnic_alloc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 %5(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #1
ret i32 %6
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"nfp_app", !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/ethernet/netronome/nfp/nic/extr_..nfp_app.h_nfp_app_vnic_alloc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nic/extr_..nfp_app.h_nfp_app_vnic_alloc.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 @nfp_app_vnic_alloc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @nfp_app_vnic_alloc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 %5(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #1
ret i32 %6
}
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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"nfp_app", !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_ethernet_netronome_nfp_nic_extr_..nfp_app.h_nfp_app_vnic_alloc |
; ModuleID = 'AnghaBench/mpv/audio/decode/extr_ad_lavc.c_destroy.c'
source_filename = "AnghaBench/mpv/audio/decode/extr_ad_lavc.c_destroy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.priv = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @destroy(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.priv, ptr %2, i64 0, i32 1
%4 = tail call i32 @avcodec_free_context(ptr noundef nonnull %3) #2
%5 = tail call i32 @av_frame_free(ptr noundef %2) #2
ret void
}
declare i32 @avcodec_free_context(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mp_filter", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mpv/audio/decode/extr_ad_lavc.c_destroy.c'
source_filename = "AnghaBench/mpv/audio/decode/extr_ad_lavc.c_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @destroy(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = tail call i32 @avcodec_free_context(ptr noundef nonnull %3) #2
%5 = tail call i32 @av_frame_free(ptr noundef %2) #2
ret void
}
declare i32 @avcodec_free_context(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mp_filter", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| mpv_audio_decode_extr_ad_lavc.c_destroy |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_wmi-tlv.c_ath10k_wmi_tlv_op_pull_mgmt_rx_ev.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_wmi-tlv.c_ath10k_wmi_tlv_op_pull_mgmt_rx_ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sk_buff = type { i32, ptr }
%struct.wmi_tlv_mgmt_rx_ev = type { i32, i32, i32, i32, i32, i32 }
%struct.wmi_mgmt_rx_ev_arg = type { i32, i32, i32, i32, i32, i32 }
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to parse tlv: %d\0A\00", align 1
@WMI_TLV_TAG_STRUCT_MGMT_RX_HDR = dso_local local_unnamed_addr global i64 0, align 8
@WMI_TLV_TAG_ARRAY_BYTE = dso_local local_unnamed_addr global i64 0, align 8
@EPROTO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_wmi_tlv_op_pull_mgmt_rx_ev], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ath10k_wmi_tlv_op_pull_mgmt_rx_ev(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %1, align 8, !tbaa !11
%7 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12
%8 = tail call ptr @ath10k_wmi_tlv_parse_alloc(ptr noundef %0, ptr noundef %5, i32 noundef %6, i32 noundef %7) #2
%9 = tail call i64 @IS_ERR(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = tail call i32 @PTR_ERR(ptr noundef %8) #2
%13 = tail call i32 @ath10k_warn(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12) #2
br label %67
14: ; preds = %3
%15 = load i64, ptr @WMI_TLV_TAG_STRUCT_MGMT_RX_HDR, align 8, !tbaa !13
%16 = getelementptr inbounds ptr, ptr %8, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = load i64, ptr @WMI_TLV_TAG_ARRAY_BYTE, align 8, !tbaa !13
%19 = getelementptr inbounds ptr, ptr %8, i64 %18
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = icmp ne ptr %17, null
%22 = icmp ne ptr %20, null
%23 = select i1 %21, i1 %22, i1 false
br i1 %23, label %28, label %24
24: ; preds = %14
%25 = tail call i32 @kfree(ptr noundef nonnull %8) #2
%26 = load i32, ptr @EPROTO, align 4, !tbaa !12
%27 = sub nsw i32 0, %26
br label %67
28: ; preds = %14
%29 = getelementptr inbounds %struct.wmi_tlv_mgmt_rx_ev, ptr %17, i64 0, i32 5
%30 = load i32, ptr %29, align 4, !tbaa !16
%31 = getelementptr inbounds %struct.wmi_mgmt_rx_ev_arg, ptr %2, i64 0, i32 5
store i32 %30, ptr %31, align 4, !tbaa !18
%32 = getelementptr inbounds %struct.wmi_tlv_mgmt_rx_ev, ptr %17, i64 0, i32 4
%33 = load i32, ptr %32, align 4, !tbaa !20
store i32 %33, ptr %2, align 4, !tbaa !21
%34 = getelementptr inbounds %struct.wmi_mgmt_rx_ev_arg, ptr %2, i64 0, i32 1
%35 = load <4 x i32>, ptr %17, align 4, !tbaa !12
store <4 x i32> %35, ptr %34, align 4, !tbaa !12
%36 = tail call i32 @__le32_to_cpu(i32 noundef %33) #2
%37 = load i32, ptr %1, align 8, !tbaa !11
%38 = sext i32 %37 to i64
%39 = load ptr, ptr %4, align 8, !tbaa !5
%40 = ptrtoint ptr %20 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = ashr exact i64 %42, 2
%44 = sext i32 %36 to i64
%45 = add nsw i64 %43, %44
%46 = icmp sgt i64 %45, %38
br i1 %46, label %47, label %51
47: ; preds = %28
%48 = tail call i32 @kfree(ptr noundef nonnull %8) #2
%49 = load i32, ptr @EPROTO, align 4, !tbaa !12
%50 = sub nsw i32 0, %49
br label %67
51: ; preds = %28
%52 = tail call i32 @skb_trim(ptr noundef nonnull %1, i32 noundef 0) #2
%53 = load ptr, ptr %4, align 8, !tbaa !5
%54 = ptrtoint ptr %53 to i64
%55 = sub i64 %40, %54
%56 = lshr exact i64 %55, 2
%57 = trunc i64 %56 to i32
%58 = tail call i32 @skb_put(ptr noundef nonnull %1, i32 noundef %57) #2
%59 = load ptr, ptr %4, align 8, !tbaa !5
%60 = ptrtoint ptr %59 to i64
%61 = sub i64 %40, %60
%62 = lshr exact i64 %61, 2
%63 = trunc i64 %62 to i32
%64 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef %63) #2
%65 = tail call i32 @skb_put(ptr noundef nonnull %1, i32 noundef %36) #2
%66 = tail call i32 @kfree(ptr noundef nonnull %8) #2
br label %67
67: ; preds = %51, %47, %24, %11
%68 = phi i32 [ %12, %11 ], [ %50, %47 ], [ 0, %51 ], [ %27, %24 ]
ret i32 %68
}
declare ptr @ath10k_wmi_tlv_parse_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ath10k_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @__le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"sk_buff", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !7, i64 20}
!17 = !{!"wmi_tlv_mgmt_rx_ev", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!18 = !{!19, !7, i64 20}
!19 = !{!"wmi_mgmt_rx_ev_arg", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!20 = !{!17, !7, i64 16}
!21 = !{!19, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_wmi-tlv.c_ath10k_wmi_tlv_op_pull_mgmt_rx_ev.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_wmi-tlv.c_ath10k_wmi_tlv_op_pull_mgmt_rx_ev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to parse tlv: %d\0A\00", align 1
@WMI_TLV_TAG_STRUCT_MGMT_RX_HDR = common local_unnamed_addr global i64 0, align 8
@WMI_TLV_TAG_ARRAY_BYTE = common local_unnamed_addr global i64 0, align 8
@EPROTO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ath10k_wmi_tlv_op_pull_mgmt_rx_ev], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ath10k_wmi_tlv_op_pull_mgmt_rx_ev(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %1, align 8, !tbaa !12
%7 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !13
%8 = tail call ptr @ath10k_wmi_tlv_parse_alloc(ptr noundef %0, ptr noundef %5, i32 noundef %6, i32 noundef %7) #2
%9 = tail call i64 @IS_ERR(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = tail call i32 @PTR_ERR(ptr noundef %8) #2
%13 = tail call i32 @ath10k_warn(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12) #2
br label %67
14: ; preds = %3
%15 = load i64, ptr @WMI_TLV_TAG_STRUCT_MGMT_RX_HDR, align 8, !tbaa !14
%16 = getelementptr inbounds ptr, ptr %8, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = load i64, ptr @WMI_TLV_TAG_ARRAY_BYTE, align 8, !tbaa !14
%19 = getelementptr inbounds ptr, ptr %8, i64 %18
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = icmp ne ptr %17, null
%22 = icmp ne ptr %20, null
%23 = select i1 %21, i1 %22, i1 false
br i1 %23, label %28, label %24
24: ; preds = %14
%25 = tail call i32 @kfree(ptr noundef nonnull %8) #2
%26 = load i32, ptr @EPROTO, align 4, !tbaa !13
%27 = sub nsw i32 0, %26
br label %67
28: ; preds = %14
%29 = getelementptr inbounds i8, ptr %17, i64 20
%30 = load i32, ptr %29, align 4, !tbaa !17
%31 = getelementptr inbounds i8, ptr %2, i64 20
store i32 %30, ptr %31, align 4, !tbaa !19
%32 = getelementptr inbounds i8, ptr %17, i64 16
%33 = load i32, ptr %32, align 4, !tbaa !21
store i32 %33, ptr %2, align 4, !tbaa !22
%34 = getelementptr inbounds i8, ptr %2, i64 4
%35 = load <4 x i32>, ptr %17, align 4, !tbaa !13
store <4 x i32> %35, ptr %34, align 4, !tbaa !13
%36 = tail call i32 @__le32_to_cpu(i32 noundef %33) #2
%37 = load i32, ptr %1, align 8, !tbaa !12
%38 = sext i32 %37 to i64
%39 = load ptr, ptr %4, align 8, !tbaa !6
%40 = ptrtoint ptr %20 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = ashr exact i64 %42, 2
%44 = sext i32 %36 to i64
%45 = add nsw i64 %43, %44
%46 = icmp sgt i64 %45, %38
br i1 %46, label %47, label %51
47: ; preds = %28
%48 = tail call i32 @kfree(ptr noundef nonnull %8) #2
%49 = load i32, ptr @EPROTO, align 4, !tbaa !13
%50 = sub nsw i32 0, %49
br label %67
51: ; preds = %28
%52 = tail call i32 @skb_trim(ptr noundef nonnull %1, i32 noundef 0) #2
%53 = load ptr, ptr %4, align 8, !tbaa !6
%54 = ptrtoint ptr %53 to i64
%55 = sub i64 %40, %54
%56 = lshr exact i64 %55, 2
%57 = trunc i64 %56 to i32
%58 = tail call i32 @skb_put(ptr noundef nonnull %1, i32 noundef %57) #2
%59 = load ptr, ptr %4, align 8, !tbaa !6
%60 = ptrtoint ptr %59 to i64
%61 = sub i64 %40, %60
%62 = lshr exact i64 %61, 2
%63 = trunc i64 %62 to i32
%64 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef %63) #2
%65 = tail call i32 @skb_put(ptr noundef nonnull %1, i32 noundef %36) #2
%66 = tail call i32 @kfree(ptr noundef nonnull %8) #2
br label %67
67: ; preds = %51, %47, %24, %11
%68 = phi i32 [ %12, %11 ], [ %50, %47 ], [ 0, %51 ], [ %27, %24 ]
ret i32 %68
}
declare ptr @ath10k_wmi_tlv_parse_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ath10k_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @__le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"sk_buff", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !8, i64 20}
!18 = !{!"wmi_tlv_mgmt_rx_ev", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!19 = !{!20, !8, i64 20}
!20 = !{!"wmi_mgmt_rx_ev_arg", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!21 = !{!18, !8, i64 16}
!22 = !{!20, !8, i64 0}
| linux_drivers_net_wireless_ath_ath10k_extr_wmi-tlv.c_ath10k_wmi_tlv_op_pull_mgmt_rx_ev |
; ModuleID = 'AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_tg_config_framing.c'
source_filename = "AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_tg_config_framing.c"
target datalayout = "e-m:e-p270:32:32-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.trf7970a = type { i64, i64, i32, i64, i64, i32, ptr }
@.str = private unnamed_addr constant [13 x i8] c"framing: %d\0A\00", align 1
@TRF7970A_CMD_TRANSMIT_NO_CRC = dso_local local_unnamed_addr global ptr null, align 8
@TRF7970A_ISO_CTRL_RX_CRC_N = dso_local local_unnamed_addr global i64 0, align 8
@TRF7970A_CMD_TRANSMIT = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"Unsupported Framing: %d\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@TRF7970A_ISO_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@TRF7970A_MODULATOR_SYS_CLK_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@TRF7970A_CHIP_STATUS_RF_ON = dso_local local_unnamed_addr global i64 0, align 8
@TRF7970A_CHIP_STATUS_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @trf7970a_tg_config_framing], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @trf7970a_tg_config_framing(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 5
%5 = load i32, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #2
switch i32 %1, label %27 [
i32 132, label %7
i32 131, label %12
i32 130, label %12
i32 133, label %12
i32 129, label %15
i32 128, label %21
]
7: ; preds = %2
%8 = load ptr, ptr @TRF7970A_CMD_TRANSMIT_NO_CRC, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 6
store ptr %8, ptr %9, align 8, !tbaa !14
%10 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !15
%11 = or i64 %10, %3
br label %32
12: ; preds = %2, %2, %2
%13 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !16
br label %32
15: ; preds = %2
%16 = load ptr, ptr @TRF7970A_CMD_TRANSMIT, align 8, !tbaa !13
%17 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 6
store ptr %16, ptr %17, align 8, !tbaa !14
%18 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !15
%19 = xor i64 %18, -1
%20 = and i64 %3, %19
br label %32
21: ; preds = %2
%22 = load ptr, ptr @TRF7970A_CMD_TRANSMIT, align 8, !tbaa !13
%23 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 6
store ptr %22, ptr %23, align 8, !tbaa !14
%24 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !15
%25 = xor i64 %24, -1
%26 = and i64 %3, %25
br label %32
27: ; preds = %2
%28 = load i32, ptr %4, align 8, !tbaa !12
%29 = tail call i32 @dev_dbg(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%30 = load i32, ptr @EINVAL, align 4, !tbaa !17
%31 = sub nsw i32 0, %30
br label %63
32: ; preds = %21, %15, %12, %7
%33 = phi i64 [ %26, %21 ], [ %20, %15 ], [ %14, %12 ], [ %11, %7 ]
%34 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 2
store i32 %1, ptr %34, align 8, !tbaa !18
%35 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !16
%37 = icmp eq i64 %33, %36
br i1 %37, label %48, label %38
38: ; preds = %32
%39 = load i32, ptr @TRF7970A_ISO_CTRL, align 4, !tbaa !17
%40 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %39, i64 noundef %33) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %63
42: ; preds = %38
store i64 %33, ptr %35, align 8, !tbaa !16
%43 = load i32, ptr @TRF7970A_MODULATOR_SYS_CLK_CTRL, align 4, !tbaa !17
%44 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 3
%45 = load i64, ptr %44, align 8, !tbaa !19
%46 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %43, i64 noundef %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %63
48: ; preds = %42, %32
%49 = getelementptr inbounds %struct.trf7970a, ptr %0, i64 0, i32 4
%50 = load i64, ptr %49, align 8, !tbaa !20
%51 = load i64, ptr @TRF7970A_CHIP_STATUS_RF_ON, align 8, !tbaa !15
%52 = and i64 %51, %50
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %63
54: ; preds = %48
%55 = load i32, ptr @TRF7970A_CHIP_STATUS_CTRL, align 4, !tbaa !17
%56 = or i64 %51, %50
%57 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %55, i64 noundef %56) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %54
%60 = load i64, ptr @TRF7970A_CHIP_STATUS_RF_ON, align 8, !tbaa !15
%61 = load i64, ptr %49, align 8, !tbaa !20
%62 = or i64 %61, %60
store i64 %62, ptr %49, align 8, !tbaa !20
br label %63
63: ; preds = %48, %59, %54, %42, %38, %27
%64 = phi i32 [ %31, %27 ], [ %40, %38 ], [ %46, %42 ], [ %57, %54 ], [ 0, %59 ], [ 0, %48 ]
ret i32 %64
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trf7970a_write(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 = !{!"trf7970a", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 40}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !11, i64 48}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !10, i64 16}
!19 = !{!6, !7, i64 24}
!20 = !{!6, !7, i64 32}
| ; ModuleID = 'AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_tg_config_framing.c'
source_filename = "AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_tg_config_framing.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 [13 x i8] c"framing: %d\0A\00", align 1
@TRF7970A_CMD_TRANSMIT_NO_CRC = common local_unnamed_addr global ptr null, align 8
@TRF7970A_ISO_CTRL_RX_CRC_N = common local_unnamed_addr global i64 0, align 8
@TRF7970A_CMD_TRANSMIT = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"Unsupported Framing: %d\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@TRF7970A_ISO_CTRL = common local_unnamed_addr global i32 0, align 4
@TRF7970A_MODULATOR_SYS_CLK_CTRL = common local_unnamed_addr global i32 0, align 4
@TRF7970A_CHIP_STATUS_RF_ON = common local_unnamed_addr global i64 0, align 8
@TRF7970A_CHIP_STATUS_CTRL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @trf7970a_tg_config_framing], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @trf7970a_tg_config_framing(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 40
%5 = load i32, ptr %4, align 8, !tbaa !13
%6 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #2
switch i32 %1, label %27 [
i32 132, label %7
i32 131, label %12
i32 130, label %12
i32 133, label %12
i32 129, label %15
i32 128, label %21
]
7: ; preds = %2
%8 = load ptr, ptr @TRF7970A_CMD_TRANSMIT_NO_CRC, align 8, !tbaa !14
%9 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %8, ptr %9, align 8, !tbaa !15
%10 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !16
%11 = or i64 %10, %3
br label %32
12: ; preds = %2, %2, %2
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !17
br label %32
15: ; preds = %2
%16 = load ptr, ptr @TRF7970A_CMD_TRANSMIT, align 8, !tbaa !14
%17 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %16, ptr %17, align 8, !tbaa !15
%18 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !16
%19 = xor i64 %18, -1
%20 = and i64 %3, %19
br label %32
21: ; preds = %2
%22 = load ptr, ptr @TRF7970A_CMD_TRANSMIT, align 8, !tbaa !14
%23 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %22, ptr %23, align 8, !tbaa !15
%24 = load i64, ptr @TRF7970A_ISO_CTRL_RX_CRC_N, align 8, !tbaa !16
%25 = xor i64 %24, -1
%26 = and i64 %3, %25
br label %32
27: ; preds = %2
%28 = load i32, ptr %4, align 8, !tbaa !13
%29 = tail call i32 @dev_dbg(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %1) #2
%30 = load i32, ptr @EINVAL, align 4, !tbaa !18
%31 = sub nsw i32 0, %30
br label %63
32: ; preds = %21, %15, %12, %7
%33 = phi i64 [ %26, %21 ], [ %20, %15 ], [ %14, %12 ], [ %11, %7 ]
%34 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %1, ptr %34, align 8, !tbaa !19
%35 = getelementptr inbounds i8, ptr %0, i64 8
%36 = load i64, ptr %35, align 8, !tbaa !17
%37 = icmp eq i64 %33, %36
br i1 %37, label %48, label %38
38: ; preds = %32
%39 = load i32, ptr @TRF7970A_ISO_CTRL, align 4, !tbaa !18
%40 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %39, i64 noundef %33) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %63
42: ; preds = %38
store i64 %33, ptr %35, align 8, !tbaa !17
%43 = load i32, ptr @TRF7970A_MODULATOR_SYS_CLK_CTRL, align 4, !tbaa !18
%44 = getelementptr inbounds i8, ptr %0, i64 24
%45 = load i64, ptr %44, align 8, !tbaa !20
%46 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %43, i64 noundef %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %63
48: ; preds = %42, %32
%49 = getelementptr inbounds i8, ptr %0, i64 32
%50 = load i64, ptr %49, align 8, !tbaa !21
%51 = load i64, ptr @TRF7970A_CHIP_STATUS_RF_ON, align 8, !tbaa !16
%52 = and i64 %51, %50
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %63
54: ; preds = %48
%55 = load i32, ptr @TRF7970A_CHIP_STATUS_CTRL, align 4, !tbaa !18
%56 = or i64 %51, %50
%57 = tail call i32 @trf7970a_write(ptr noundef nonnull %0, i32 noundef %55, i64 noundef %56) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %54
%60 = load i64, ptr @TRF7970A_CHIP_STATUS_RF_ON, align 8, !tbaa !16
%61 = load i64, ptr %49, align 8, !tbaa !21
%62 = or i64 %61, %60
store i64 %62, ptr %49, align 8, !tbaa !21
br label %63
63: ; preds = %48, %59, %54, %42, %38, %27
%64 = phi i32 [ %31, %27 ], [ %40, %38 ], [ %46, %42 ], [ %57, %54 ], [ 0, %59 ], [ 0, %48 ]
ret i32 %64
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trf7970a_write(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 = !{!"trf7970a", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 40}
!14 = !{!12, !12, i64 0}
!15 = !{!7, !12, i64 48}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!7, !11, i64 16}
!20 = !{!7, !8, i64 24}
!21 = !{!7, !8, i64 32}
| linux_drivers_nfc_extr_trf7970a.c_trf7970a_tg_config_framing |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_playback_pointer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_playback_pointer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i64, i64 }
@AD_DS_WSMC_WAEN = dso_local local_unnamed_addr global i32 0, align 4
@AD_DMA_WAVCA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ad1889_playback_pointer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_ad1889_playback_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @AD_DS_WSMC_WAEN, align 4, !tbaa !12
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %25
10: ; preds = %1
%11 = load i32, ptr @AD_DMA_WAVCA, align 4, !tbaa !12
%12 = tail call i64 @ad1889_readl(ptr noundef nonnull %2, i32 noundef %11) #2
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = sub i64 %12, %14
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = icmp uge i64 %15, %17
%19 = zext i1 %18 to i32
%20 = tail call i64 @snd_BUG_ON(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %10
%23 = load i32, ptr %0, align 4, !tbaa !15
%24 = tail call i32 @bytes_to_frames(i32 noundef %23, i64 noundef %15) #2
br label %25
25: ; preds = %10, %1, %22
%26 = phi i32 [ %24, %22 ], [ 0, %1 ], [ 0, %10 ]
ret i32 %26
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @ad1889_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(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, !8, i64 0}
!6 = !{!"snd_ad1889", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !11, i64 16}
!14 = !{!6, !11, i64 8}
!15 = !{!16, !8, i64 0}
!16 = !{!"snd_pcm_substream", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_playback_pointer.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_playback_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AD_DS_WSMC_WAEN = common local_unnamed_addr global i32 0, align 4
@AD_DMA_WAVCA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_ad1889_playback_pointer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_ad1889_playback_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @AD_DS_WSMC_WAEN, align 4, !tbaa !13
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %25
10: ; preds = %1
%11 = load i32, ptr @AD_DMA_WAVCA, align 4, !tbaa !13
%12 = tail call i64 @ad1889_readl(ptr noundef nonnull %2, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %2, i64 16
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = sub i64 %12, %14
%16 = getelementptr inbounds i8, ptr %2, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp uge i64 %15, %17
%19 = zext i1 %18 to i32
%20 = tail call i64 @snd_BUG_ON(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %10
%23 = load i32, ptr %0, align 4, !tbaa !16
%24 = tail call i32 @bytes_to_frames(i32 noundef %23, i64 noundef %15) #2
br label %25
25: ; preds = %10, %1, %22
%26 = phi i32 [ %24, %22 ], [ 0, %1 ], [ 0, %10 ]
ret i32 %26
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @ad1889_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(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, !9, i64 0}
!7 = !{!"snd_ad1889", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !12, i64 16}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !12, i64 16}
!15 = !{!7, !12, i64 8}
!16 = !{!17, !9, i64 0}
!17 = !{!"snd_pcm_substream", !9, i64 0}
| fastsocket_kernel_sound_pci_extr_ad1889.c_snd_ad1889_playback_pointer |
; ModuleID = 'AnghaBench/freebsd/sys/gnu/dev/bwn/phy_n/extr_if_bwn_phy_n_tables.c_bwn_nphy_get_rf_ctl_over_rev7.c'
source_filename = "AnghaBench/freebsd/sys/gnu/dev/bwn/phy_n/extr_if_bwn_phy_n_tables.c_bwn_nphy_get_rf_ctl_over_rev7.c"
target datalayout = "e-m:e-p270:32:32-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.bwn_nphy_rf_control_override_rev7 = type { i64 }
@tbl_rf_control_override_rev7_over0 = dso_local local_unnamed_addr global ptr null, align 8
@tbl_rf_control_override_rev7_over1 = dso_local local_unnamed_addr global ptr null, align 8
@tbl_rf_control_override_rev7_over2 = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"Invalid override value %d\0A\00", align 1
@switch.table.bwn_nphy_get_rf_ctl_over_rev7 = private unnamed_addr constant [3 x ptr] [ptr @tbl_rf_control_override_rev7_over0, ptr @tbl_rf_control_override_rev7_over1, ptr @tbl_rf_control_override_rev7_over2], align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @bwn_nphy_get_rf_ctl_over_rev7(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp ult i32 %2, 3
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = tail call i32 @BWN_ERRPRINTF(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %27
8: ; preds = %3
%9 = zext nneg i32 %2 to i64
%10 = getelementptr inbounds [3 x ptr], ptr @switch.table.bwn_nphy_get_rf_ctl_over_rev7, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %11, align 8, !tbaa !10
%13 = tail call i32 @nitems(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %8
%16 = zext nneg i32 %13 to i64
br label %20
17: ; preds = %20
%18 = add nuw nsw i64 %21, 1
%19 = icmp eq i64 %18, %16
br i1 %19, label %27, label %20, !llvm.loop !12
20: ; preds = %15, %17
%21 = phi i64 [ 0, %15 ], [ %18, %17 ]
%22 = getelementptr inbounds %struct.bwn_nphy_rf_control_override_rev7, ptr %12, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !14
%24 = icmp eq i64 %23, %1
br i1 %24, label %25, label %17
25: ; preds = %20
%26 = getelementptr inbounds %struct.bwn_nphy_rf_control_override_rev7, ptr %12, i64 %21
br label %27
27: ; preds = %17, %25, %8, %5
%28 = phi ptr [ null, %5 ], [ null, %8 ], [ %26, %25 ], [ null, %17 ]
ret ptr %28
}
declare i32 @nitems(ptr noundef) local_unnamed_addr #1
declare i32 @BWN_ERRPRINTF(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 = !{!"bwn_mac", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !16, i64 0}
!15 = !{!"bwn_nphy_rf_control_override_rev7", !16, i64 0}
!16 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/gnu/dev/bwn/phy_n/extr_if_bwn_phy_n_tables.c_bwn_nphy_get_rf_ctl_over_rev7.c'
source_filename = "AnghaBench/freebsd/sys/gnu/dev/bwn/phy_n/extr_if_bwn_phy_n_tables.c_bwn_nphy_get_rf_ctl_over_rev7.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bwn_nphy_rf_control_override_rev7 = type { i64 }
@tbl_rf_control_override_rev7_over0 = common local_unnamed_addr global ptr null, align 8
@tbl_rf_control_override_rev7_over1 = common local_unnamed_addr global ptr null, align 8
@tbl_rf_control_override_rev7_over2 = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"Invalid override value %d\0A\00", align 1
@switch.table.bwn_nphy_get_rf_ctl_over_rev7 = private unnamed_addr constant [3 x ptr] [ptr @tbl_rf_control_override_rev7_over0, ptr @tbl_rf_control_override_rev7_over1, ptr @tbl_rf_control_override_rev7_over2], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @bwn_nphy_get_rf_ctl_over_rev7(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp ult i32 %2, 3
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = tail call i32 @BWN_ERRPRINTF(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %27
8: ; preds = %3
%9 = zext nneg i32 %2 to i64
%10 = getelementptr inbounds [3 x ptr], ptr @switch.table.bwn_nphy_get_rf_ctl_over_rev7, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = tail call i32 @nitems(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %8
%16 = zext nneg i32 %13 to i64
br label %20
17: ; preds = %20
%18 = add nuw nsw i64 %21, 1
%19 = icmp eq i64 %18, %16
br i1 %19, label %27, label %20, !llvm.loop !13
20: ; preds = %15, %17
%21 = phi i64 [ 0, %15 ], [ %18, %17 ]
%22 = getelementptr inbounds %struct.bwn_nphy_rf_control_override_rev7, ptr %12, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !15
%24 = icmp eq i64 %23, %1
br i1 %24, label %25, label %17
25: ; preds = %20
%26 = getelementptr inbounds %struct.bwn_nphy_rf_control_override_rev7, ptr %12, i64 %21
br label %27
27: ; preds = %25, %17, %8, %5
%28 = phi ptr [ null, %5 ], [ null, %8 ], [ %26, %25 ], [ null, %17 ]
ret ptr %28
}
declare i32 @nitems(ptr noundef) local_unnamed_addr #1
declare i32 @BWN_ERRPRINTF(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 = !{!"bwn_mac", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !17, i64 0}
!16 = !{!"bwn_nphy_rf_control_override_rev7", !17, i64 0}
!17 = !{!"long", !9, i64 0}
| freebsd_sys_gnu_dev_bwn_phy_n_extr_if_bwn_phy_n_tables.c_bwn_nphy_get_rf_ctl_over_rev7 |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_consider_machine_adjust.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_consider_machine_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: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @consider_machine_adjust() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_consider_machine_adjust.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_consider_machine_adjust.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @consider_machine_adjust() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| darwin-xnu_osfmk_arm64_extr_pcb.c_consider_machine_adjust |
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_bestVirtualIndex.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_bestVirtualIndex.c"
target datalayout = "e-m:e-p270:32:32-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_27__ = type { i32, i32, %struct.sqlite3_index_constraint_usage, ptr, i64, ptr, ptr, ptr, ptr }
%struct.sqlite3_index_constraint_usage = type { i64, i32, i64, double, %struct.TYPE_23__ }
%struct.TYPE_23__ = type { i32, i64, i32, %struct.TYPE_22__ }
%struct.TYPE_22__ = type { ptr }
%struct.TYPE_24__ = type { i32, i64, double, i32, i32, i64, i64, i64, ptr }
%struct.TYPE_25__ = type { i32, i32 }
%struct.sqlite3_index_constraint = type { i32, i32 }
%struct.TYPE_21__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { i32, i32 }
@WHERE_VIRTUALTABLE = dso_local local_unnamed_addr global i32 0, align 4
@WO_IN = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_BIG_DBL = dso_local local_unnamed_addr global double 0.000000e+00, align 8
@WHERE_UNIQUE = dso_local local_unnamed_addr global i32 0, align 4
@WHERE_ORDERED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bestVirtualIndex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bestVirtualIndex(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 8
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 7
%5 = load ptr, ptr %4, align 8, !tbaa !16
%6 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 6
%7 = load ptr, ptr %6, align 8, !tbaa !17
%8 = load ptr, ptr %7, align 8, !tbaa !18
%9 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2
%10 = tail call i32 @memset(ptr noundef nonnull %9, i32 noundef 0, i32 noundef 64) #4
%11 = load i32, ptr @WHERE_VIRTUALTABLE, align 4, !tbaa !20
%12 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 4
%13 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 4, i32 2
store i32 %11, ptr %13, align 8, !tbaa !21
%14 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 5
%15 = load ptr, ptr %14, align 8, !tbaa !22
%16 = load ptr, ptr %15, align 8, !tbaa !23
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %1
%19 = tail call ptr @allocateIndexInfo(ptr noundef nonnull %0) #4
%20 = load ptr, ptr %14, align 8, !tbaa !22
store ptr %19, ptr %20, align 8, !tbaa !23
%21 = icmp eq ptr %19, null
br i1 %21, label %268, label %22
22: ; preds = %1, %18
%23 = phi ptr [ %19, %18 ], [ %16, %1 ]
%24 = load ptr, ptr %8, align 8, !tbaa !24
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i64, ptr %24, align 8, !tbaa !26
%28 = icmp ne i64 %27, 0
%29 = zext i1 %28 to i32
br label %30
30: ; preds = %26, %22
%31 = phi i32 [ 0, %22 ], [ %29, %26 ]
%32 = tail call i32 @assert(i32 noundef %31) #4
%33 = load i32, ptr %3, align 4, !tbaa !27
%34 = tail call i32 @sqlite3GetVTable(i32 noundef %33, ptr noundef nonnull %8) #4
%35 = tail call i32 @assert(i32 noundef %34) #4
%36 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 4
%37 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 8
%38 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 5
%39 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 7
%40 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 2
%42 = getelementptr inbounds %struct.TYPE_24__, ptr %23, i64 0, i32 3
%43 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 4
%44 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 1
br label %45
45: ; preds = %174, %30
%46 = phi i32 [ 1, %30 ], [ %175, %174 ]
%47 = icmp ult i32 %46, 2
%48 = zext i1 %47 to i32
%49 = tail call i32 @assert(i32 noundef %48) #4
%50 = load ptr, ptr %37, align 8, !tbaa !29
%51 = load i32, ptr %23, align 8, !tbaa !31
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %122
53: ; preds = %45
%54 = load ptr, ptr %36, align 4, !tbaa !23
%55 = load ptr, ptr %5, align 8, !tbaa !32
%56 = load i32, ptr %0, align 8, !tbaa !34
%57 = icmp eq i32 %46, 0
%58 = load i32, ptr @WO_IN, align 4
%59 = and i32 %51, 1
%60 = icmp eq i32 %51, 1
br i1 %60, label %102, label %61
61: ; preds = %53
%62 = and i32 %51, 2147483646
br label %63
63: ; preds = %96, %61
%64 = phi ptr [ %54, %61 ], [ %99, %96 ]
%65 = phi i32 [ 0, %61 ], [ %100, %96 ]
%66 = load i32, ptr %64, align 4, !tbaa !35
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %67
%69 = load i32, ptr %68, align 4, !tbaa !37
%70 = and i32 %56, %69
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %78
72: ; preds = %63
br i1 %57, label %73, label %79
73: ; preds = %72
%74 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %67, i32 1
%75 = load i32, ptr %74, align 4, !tbaa !39
%76 = and i32 %58, %75
%77 = icmp eq i32 %76, 0
br i1 %77, label %79, label %78
78: ; preds = %73, %63
br label %79
79: ; preds = %72, %73, %78
%80 = phi i32 [ 0, %78 ], [ 1, %73 ], [ 1, %72 ]
%81 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %64, i64 0, i32 1
store i32 %80, ptr %81, align 4, !tbaa !40
%82 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %64, i64 1
%83 = load i32, ptr %82, align 4, !tbaa !35
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %84
%86 = load i32, ptr %85, align 4, !tbaa !37
%87 = and i32 %56, %86
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %95
89: ; preds = %79
br i1 %57, label %90, label %96
90: ; preds = %89
%91 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %84, i32 1
%92 = load i32, ptr %91, align 4, !tbaa !39
%93 = and i32 %58, %92
%94 = icmp eq i32 %93, 0
br i1 %94, label %96, label %95
95: ; preds = %90, %79
br label %96
96: ; preds = %95, %90, %89
%97 = phi i32 [ 0, %95 ], [ 1, %90 ], [ 1, %89 ]
%98 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %64, i64 1, i32 1
store i32 %97, ptr %98, align 4, !tbaa !40
%99 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %64, i64 2
%100 = add i32 %65, 2
%101 = icmp eq i32 %100, %62
br i1 %101, label %102, label %63, !llvm.loop !41
102: ; preds = %96, %53
%103 = phi ptr [ %54, %53 ], [ %99, %96 ]
%104 = icmp eq i32 %59, 0
br i1 %104, label %122, label %105
105: ; preds = %102
%106 = load i32, ptr %103, align 4, !tbaa !35
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %107
%109 = load i32, ptr %108, align 4, !tbaa !37
%110 = and i32 %56, %109
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %118
112: ; preds = %105
br i1 %57, label %113, label %119
113: ; preds = %112
%114 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %107, i32 1
%115 = load i32, ptr %114, align 4, !tbaa !39
%116 = and i32 %58, %115
%117 = icmp eq i32 %116, 0
br i1 %117, label %119, label %118
118: ; preds = %113, %105
br label %119
119: ; preds = %118, %113, %112
%120 = phi i32 [ 0, %118 ], [ 1, %113 ], [ 1, %112 ]
%121 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %103, i64 0, i32 1
store i32 %120, ptr %121, align 4, !tbaa !40
br label %122
122: ; preds = %119, %102, %45
%123 = shl i32 %51, 6
%124 = tail call i32 @memset(ptr noundef %50, i32 noundef 0, i32 noundef %123) #4
%125 = load i64, ptr %38, align 8, !tbaa !43
%126 = icmp eq i64 %125, 0
br i1 %126, label %130, label %127
127: ; preds = %122
%128 = load i64, ptr %39, align 8, !tbaa !44
%129 = tail call i32 @sqlite3_free(i64 noundef %128) #4
br label %130
130: ; preds = %127, %122
store i64 0, ptr %40, align 8, !tbaa !45
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %38, i8 0, i64 24, i1 false)
%131 = load double, ptr @SQLITE_BIG_DBL, align 8, !tbaa !46
%132 = fmul double %131, 5.000000e-01
store double %132, ptr %41, align 8, !tbaa !47
%133 = load i32, ptr %42, align 8, !tbaa !48
%134 = load i64, ptr %43, align 8, !tbaa !49
%135 = icmp eq i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %130
store i32 0, ptr %42, align 8, !tbaa !48
br label %137
137: ; preds = %136, %130
%138 = tail call i64 @vtabBestIndex(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef nonnull %23) #4
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %268
140: ; preds = %137
%141 = load i32, ptr %23, align 8, !tbaa !31
%142 = icmp sgt i32 %141, 0
br i1 %142, label %143, label %176
143: ; preds = %140
%144 = load ptr, ptr %36, align 4, !tbaa !23
%145 = load i32, ptr @WO_IN, align 4
%146 = zext nneg i32 %141 to i64
br label %147
147: ; preds = %143, %170
%148 = phi i64 [ 0, %143 ], [ %171, %170 ]
%149 = phi ptr [ %144, %143 ], [ %172, %170 ]
%150 = getelementptr inbounds %struct.sqlite3_index_constraint_usage, ptr %50, i64 %148
%151 = load i64, ptr %150, align 8, !tbaa !50
%152 = icmp sgt i64 %151, 0
br i1 %152, label %153, label %170
153: ; preds = %147
%154 = load i32, ptr %149, align 4, !tbaa !35
%155 = load ptr, ptr %5, align 8, !tbaa !32
%156 = sext i32 %154 to i64
%157 = getelementptr inbounds %struct.TYPE_25__, ptr %155, i64 %156
%158 = load i32, ptr %157, align 4, !tbaa !37
%159 = load i32, ptr %44, align 8, !tbaa !51
%160 = or i32 %159, %158
store i32 %160, ptr %44, align 8, !tbaa !51
%161 = getelementptr inbounds %struct.TYPE_25__, ptr %155, i64 %156, i32 1
%162 = load i32, ptr %161, align 4, !tbaa !39
%163 = and i32 %145, %162
%164 = icmp eq i32 %163, 0
br i1 %164, label %170, label %165
165: ; preds = %153
%166 = getelementptr inbounds %struct.sqlite3_index_constraint_usage, ptr %50, i64 %148, i32 2
%167 = load i64, ptr %166, align 8, !tbaa !52
%168 = icmp eq i64 %167, 0
br i1 %168, label %174, label %169
169: ; preds = %165
store i64 0, ptr %40, align 8, !tbaa !45
br label %170
170: ; preds = %147, %169, %153
%171 = add nuw nsw i64 %148, 1
%172 = getelementptr inbounds %struct.sqlite3_index_constraint, ptr %149, i64 1
%173 = icmp eq i64 %171, %146
br i1 %173, label %176, label %147, !llvm.loop !53
174: ; preds = %165
%175 = add nsw i32 %46, -1
br label %45
176: ; preds = %140, %170
%177 = load i64, ptr %40, align 8, !tbaa !45
%178 = icmp eq i64 %177, 0
br i1 %178, label %228, label %179
179: ; preds = %176
%180 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 1
%181 = load i32, ptr %180, align 4, !tbaa !54
%182 = icmp sgt i32 %181, 0
br i1 %182, label %183, label %234
183: ; preds = %179
%184 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 3
%185 = load ptr, ptr %184, align 8, !tbaa !55
%186 = load i32, ptr @WHERE_UNIQUE, align 4, !tbaa !20
%187 = zext nneg i32 %181 to i64
%188 = and i64 %187, 1
%189 = icmp eq i32 %181, 1
br i1 %189, label %214, label %190
190: ; preds = %183
%191 = and i64 %187, 2147483646
br label %192
192: ; preds = %209, %190
%193 = phi i64 [ %177, %190 ], [ %210, %209 ]
%194 = phi i64 [ 0, %190 ], [ %211, %209 ]
%195 = phi i64 [ 0, %190 ], [ %212, %209 ]
%196 = getelementptr inbounds %struct.TYPE_21__, ptr %185, i64 %194
%197 = load i32, ptr %196, align 4, !tbaa !56
%198 = and i32 %186, %197
%199 = icmp eq i32 %198, 0
br i1 %199, label %200, label %201
200: ; preds = %192
store i64 0, ptr %40, align 8, !tbaa !45
br label %201
201: ; preds = %192, %200
%202 = phi i64 [ %193, %192 ], [ 0, %200 ]
%203 = or disjoint i64 %194, 1
%204 = getelementptr inbounds %struct.TYPE_21__, ptr %185, i64 %203
%205 = load i32, ptr %204, align 4, !tbaa !56
%206 = and i32 %186, %205
%207 = icmp eq i32 %206, 0
br i1 %207, label %208, label %209
208: ; preds = %201
store i64 0, ptr %40, align 8, !tbaa !45
br label %209
209: ; preds = %208, %201
%210 = phi i64 [ %202, %201 ], [ 0, %208 ]
%211 = add nuw nsw i64 %194, 2
%212 = add i64 %195, 2
%213 = icmp eq i64 %212, %191
br i1 %213, label %214, label %192, !llvm.loop !59
214: ; preds = %209, %183
%215 = phi i64 [ undef, %183 ], [ %210, %209 ]
%216 = phi i64 [ %177, %183 ], [ %210, %209 ]
%217 = phi i64 [ 0, %183 ], [ %211, %209 ]
%218 = icmp eq i64 %188, 0
br i1 %218, label %225, label %219
219: ; preds = %214
%220 = getelementptr inbounds %struct.TYPE_21__, ptr %185, i64 %217
%221 = load i32, ptr %220, align 4, !tbaa !56
%222 = and i32 %186, %221
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %225
224: ; preds = %219
store i64 0, ptr %40, align 8, !tbaa !45
br label %225
225: ; preds = %219, %224, %214
%226 = phi i64 [ %215, %214 ], [ %216, %219 ], [ 0, %224 ]
%227 = icmp ne i64 %226, 0
br label %228
228: ; preds = %225, %176
%229 = phi i1 [ %227, %225 ], [ false, %176 ]
%230 = load double, ptr %41, align 8, !tbaa !47
%231 = load i64, ptr %43, align 8, !tbaa !49
%232 = icmp eq i64 %231, 0
%233 = select i1 %232, i1 true, i1 %229
br i1 %233, label %239, label %236
234: ; preds = %179
%235 = load double, ptr %41, align 8, !tbaa !47
br label %239
236: ; preds = %228
%237 = tail call double @estLog(double noundef %230) #4
%238 = tail call double @llvm.fmuladd.f64(double %237, double %230, double %230)
br label %239
239: ; preds = %228, %234, %236
%240 = phi double [ %238, %236 ], [ %230, %228 ], [ %235, %234 ]
%241 = load double, ptr @SQLITE_BIG_DBL, align 8, !tbaa !46
%242 = fmul double %241, 5.000000e-01
%243 = fcmp olt double %242, %240
%244 = select i1 %243, double %242, double %240
%245 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 3
store double %244, ptr %245, align 8
%246 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 4, i32 3
store ptr %23, ptr %246, align 8, !tbaa !60
%247 = load i64, ptr %40, align 8, !tbaa !45
%248 = icmp eq i64 %247, 0
br i1 %248, label %253, label %249
249: ; preds = %239
%250 = load i32, ptr @WHERE_ORDERED, align 4, !tbaa !20
%251 = load i32, ptr %13, align 8, !tbaa !21
%252 = or i32 %251, %250
store i32 %252, ptr %13, align 8, !tbaa !21
br label %264
253: ; preds = %239
%254 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 1
%255 = load i32, ptr %254, align 4, !tbaa !54
%256 = icmp eq i32 %255, 0
br i1 %256, label %264, label %257
257: ; preds = %253
%258 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 3
%259 = load ptr, ptr %258, align 8, !tbaa !55
%260 = sext i32 %255 to i64
%261 = getelementptr %struct.TYPE_21__, ptr %259, i64 %260
%262 = getelementptr %struct.TYPE_21__, ptr %261, i64 -1, i32 0, i32 1
%263 = load i32, ptr %262, align 4, !tbaa !61
br label %264
264: ; preds = %257, %253, %249
%265 = phi i32 [ %133, %249 ], [ %263, %257 ], [ 0, %253 ]
store i32 %265, ptr %12, align 8, !tbaa !62
%266 = getelementptr inbounds %struct.TYPE_27__, ptr %0, i64 0, i32 2, i32 4, i32 1
store i64 0, ptr %266, align 8, !tbaa !63
store i32 %133, ptr %42, align 8, !tbaa !48
%267 = tail call i32 @bestOrClauseIndex(ptr noundef nonnull %0) #4
br label %268
268: ; preds = %137, %18, %264
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @allocateIndexInfo(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3GetVTable(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(i64 noundef) local_unnamed_addr #1
declare i64 @vtabBestIndex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare double @estLog(double noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @bestOrClauseIndex(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !15, i64 112}
!6 = !{!"TYPE_27__", !7, i64 0, !7, i64 4, !10, i64 8, !15, i64 72, !11, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"sqlite3_index_constraint_usage", !11, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !13, i64 32}
!11 = !{!"long", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"TYPE_23__", !7, i64 0, !11, i64 8, !7, i64 16, !14, i64 24}
!14 = !{!"TYPE_22__", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!6, !15, i64 104}
!17 = !{!6, !15, i64 96}
!18 = !{!19, !15, i64 0}
!19 = !{!"SrcList_item", !15, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!6, !7, i64 56}
!22 = !{!6, !15, i64 88}
!23 = !{!15, !15, i64 0}
!24 = !{!25, !15, i64 0}
!25 = !{!"TYPE_28__", !15, i64 0}
!26 = !{!11, !11, i64 0}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_19__", !7, i64 0}
!29 = !{!30, !15, i64 56}
!30 = !{!"TYPE_24__", !7, i64 0, !11, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !11, i64 32, !11, i64 40, !11, i64 48, !15, i64 56}
!31 = !{!30, !7, i64 0}
!32 = !{!33, !15, i64 0}
!33 = !{!"TYPE_26__", !15, i64 0}
!34 = !{!6, !7, i64 0}
!35 = !{!36, !7, i64 0}
!36 = !{!"sqlite3_index_constraint", !7, i64 0, !7, i64 4}
!37 = !{!38, !7, i64 0}
!38 = !{!"TYPE_25__", !7, i64 0, !7, i64 4}
!39 = !{!38, !7, i64 4}
!40 = !{!36, !7, i64 4}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!30, !11, i64 32}
!44 = !{!30, !11, i64 48}
!45 = !{!30, !11, i64 8}
!46 = !{!12, !12, i64 0}
!47 = !{!30, !12, i64 16}
!48 = !{!30, !7, i64 24}
!49 = !{!6, !11, i64 80}
!50 = !{!10, !11, i64 0}
!51 = !{!6, !7, i64 16}
!52 = !{!10, !11, i64 16}
!53 = distinct !{!53, !42}
!54 = !{!6, !7, i64 4}
!55 = !{!6, !15, i64 72}
!56 = !{!57, !7, i64 0}
!57 = !{!"TYPE_21__", !58, i64 0}
!58 = !{!"TYPE_20__", !7, i64 0, !7, i64 4}
!59 = distinct !{!59, !42}
!60 = !{!6, !15, i64 64}
!61 = !{!57, !7, i64 4}
!62 = !{!6, !7, i64 40}
!63 = !{!6, !11, i64 48}
| ; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_bestVirtualIndex.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_bestVirtualIndex.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_25__ = type { i32, i32 }
%struct.sqlite3_index_constraint_usage = type { i64, i32, i64, double, %struct.TYPE_23__ }
%struct.TYPE_23__ = type { i32, i64, i32, %struct.TYPE_22__ }
%struct.TYPE_22__ = type { ptr }
%struct.TYPE_21__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { i32, i32 }
@WHERE_VIRTUALTABLE = common local_unnamed_addr global i32 0, align 4
@WO_IN = common local_unnamed_addr global i32 0, align 4
@SQLITE_BIG_DBL = common local_unnamed_addr global double 0.000000e+00, align 8
@WHERE_UNIQUE = common local_unnamed_addr global i32 0, align 4
@WHERE_ORDERED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bestVirtualIndex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bestVirtualIndex(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 112
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 104
%5 = load ptr, ptr %4, align 8, !tbaa !17
%6 = getelementptr inbounds i8, ptr %0, i64 96
%7 = load ptr, ptr %6, align 8, !tbaa !18
%8 = load ptr, ptr %7, align 8, !tbaa !19
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = tail call i32 @memset(ptr noundef nonnull %9, i32 noundef 0, i32 noundef 64) #4
%11 = load i32, ptr @WHERE_VIRTUALTABLE, align 4, !tbaa !21
%12 = getelementptr inbounds i8, ptr %0, i64 40
%13 = getelementptr inbounds i8, ptr %0, i64 56
store i32 %11, ptr %13, align 8, !tbaa !22
%14 = getelementptr inbounds i8, ptr %0, i64 88
%15 = load ptr, ptr %14, align 8, !tbaa !23
%16 = load ptr, ptr %15, align 8, !tbaa !24
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %1
%19 = tail call ptr @allocateIndexInfo(ptr noundef nonnull %0) #4
%20 = load ptr, ptr %14, align 8, !tbaa !23
store ptr %19, ptr %20, align 8, !tbaa !24
%21 = icmp eq ptr %19, null
br i1 %21, label %201, label %22
22: ; preds = %1, %18
%23 = phi ptr [ %19, %18 ], [ %16, %1 ]
%24 = load ptr, ptr %8, align 8, !tbaa !25
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i64, ptr %24, align 8, !tbaa !27
%28 = icmp ne i64 %27, 0
%29 = zext i1 %28 to i32
br label %30
30: ; preds = %26, %22
%31 = phi i32 [ 0, %22 ], [ %29, %26 ]
%32 = tail call i32 @assert(i32 noundef %31) #4
%33 = load i32, ptr %3, align 4, !tbaa !28
%34 = tail call i32 @sqlite3GetVTable(i32 noundef %33, ptr noundef nonnull %8) #4
%35 = tail call i32 @assert(i32 noundef %34) #4
%36 = getelementptr inbounds i8, ptr %23, i64 28
%37 = getelementptr inbounds i8, ptr %23, i64 56
%38 = getelementptr inbounds i8, ptr %23, i64 32
%39 = getelementptr inbounds i8, ptr %23, i64 48
%40 = getelementptr inbounds i8, ptr %23, i64 8
%41 = getelementptr inbounds i8, ptr %23, i64 16
%42 = getelementptr inbounds i8, ptr %23, i64 24
%43 = getelementptr inbounds i8, ptr %0, i64 80
%44 = getelementptr inbounds i8, ptr %0, i64 16
br label %45
45: ; preds = %133, %30
%46 = phi i32 [ 1, %30 ], [ %134, %133 ]
%47 = icmp ult i32 %46, 2
%48 = zext i1 %47 to i32
%49 = tail call i32 @assert(i32 noundef %48) #4
%50 = load ptr, ptr %37, align 8, !tbaa !30
%51 = load i32, ptr %23, align 8, !tbaa !32
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %81
53: ; preds = %45
%54 = load ptr, ptr %36, align 4, !tbaa !24
%55 = load ptr, ptr %5, align 8, !tbaa !33
%56 = load i32, ptr %0, align 8, !tbaa !35
%57 = icmp eq i32 %46, 0
%58 = load i32, ptr @WO_IN, align 4
br label %59
59: ; preds = %53, %75
%60 = phi i32 [ 0, %53 ], [ %78, %75 ]
%61 = phi ptr [ %54, %53 ], [ %79, %75 ]
%62 = load i32, ptr %61, align 4, !tbaa !36
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds %struct.TYPE_25__, ptr %55, i64 %63
%65 = load i32, ptr %64, align 4, !tbaa !38
%66 = and i32 %56, %65
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %74
68: ; preds = %59
br i1 %57, label %69, label %75
69: ; preds = %68
%70 = getelementptr inbounds i8, ptr %64, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !40
%72 = and i32 %58, %71
%73 = icmp eq i32 %72, 0
br i1 %73, label %75, label %74
74: ; preds = %69, %59
br label %75
75: ; preds = %68, %69, %74
%76 = phi i32 [ 0, %74 ], [ 1, %69 ], [ 1, %68 ]
%77 = getelementptr inbounds i8, ptr %61, i64 4
store i32 %76, ptr %77, align 4, !tbaa !41
%78 = add nuw nsw i32 %60, 1
%79 = getelementptr inbounds i8, ptr %61, i64 8
%80 = icmp eq i32 %78, %51
br i1 %80, label %81, label %59, !llvm.loop !42
81: ; preds = %75, %45
%82 = shl i32 %51, 6
%83 = tail call i32 @memset(ptr noundef %50, i32 noundef 0, i32 noundef %82) #4
%84 = load i64, ptr %38, align 8, !tbaa !44
%85 = icmp eq i64 %84, 0
br i1 %85, label %89, label %86
86: ; preds = %81
%87 = load i64, ptr %39, align 8, !tbaa !45
%88 = tail call i32 @sqlite3_free(i64 noundef %87) #4
br label %89
89: ; preds = %86, %81
store i64 0, ptr %40, align 8, !tbaa !46
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %38, i8 0, i64 24, i1 false)
%90 = load double, ptr @SQLITE_BIG_DBL, align 8, !tbaa !47
%91 = fmul double %90, 5.000000e-01
store double %91, ptr %41, align 8, !tbaa !48
%92 = load i32, ptr %42, align 8, !tbaa !49
%93 = load i64, ptr %43, align 8, !tbaa !50
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %89
store i32 0, ptr %42, align 8, !tbaa !49
br label %96
96: ; preds = %95, %89
%97 = tail call i64 @vtabBestIndex(ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef nonnull %23) #4
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %201
99: ; preds = %96
%100 = load i32, ptr %23, align 8, !tbaa !32
%101 = icmp sgt i32 %100, 0
br i1 %101, label %102, label %135
102: ; preds = %99
%103 = load ptr, ptr %36, align 4, !tbaa !24
%104 = load i32, ptr @WO_IN, align 4
%105 = zext nneg i32 %100 to i64
br label %106
106: ; preds = %102, %129
%107 = phi i64 [ 0, %102 ], [ %130, %129 ]
%108 = phi ptr [ %103, %102 ], [ %131, %129 ]
%109 = getelementptr inbounds %struct.sqlite3_index_constraint_usage, ptr %50, i64 %107
%110 = load i64, ptr %109, align 8, !tbaa !51
%111 = icmp sgt i64 %110, 0
br i1 %111, label %112, label %129
112: ; preds = %106
%113 = load i32, ptr %108, align 4, !tbaa !36
%114 = load ptr, ptr %5, align 8, !tbaa !33
%115 = sext i32 %113 to i64
%116 = getelementptr inbounds %struct.TYPE_25__, ptr %114, i64 %115
%117 = load i32, ptr %116, align 4, !tbaa !38
%118 = load i32, ptr %44, align 8, !tbaa !52
%119 = or i32 %118, %117
store i32 %119, ptr %44, align 8, !tbaa !52
%120 = getelementptr inbounds i8, ptr %116, i64 4
%121 = load i32, ptr %120, align 4, !tbaa !40
%122 = and i32 %104, %121
%123 = icmp eq i32 %122, 0
br i1 %123, label %129, label %124
124: ; preds = %112
%125 = getelementptr inbounds i8, ptr %109, i64 16
%126 = load i64, ptr %125, align 8, !tbaa !53
%127 = icmp eq i64 %126, 0
br i1 %127, label %133, label %128
128: ; preds = %124
store i64 0, ptr %40, align 8, !tbaa !46
br label %129
129: ; preds = %106, %128, %112
%130 = add nuw nsw i64 %107, 1
%131 = getelementptr inbounds i8, ptr %108, i64 8
%132 = icmp eq i64 %130, %105
br i1 %132, label %135, label %106, !llvm.loop !54
133: ; preds = %124
%134 = add nsw i32 %46, -1
br label %45
135: ; preds = %99, %129
%136 = load i64, ptr %40, align 8, !tbaa !46
%137 = icmp eq i64 %136, 0
br i1 %137, label %161, label %138
138: ; preds = %135
%139 = getelementptr inbounds i8, ptr %0, i64 4
%140 = load i32, ptr %139, align 4, !tbaa !55
%141 = icmp sgt i32 %140, 0
br i1 %141, label %142, label %167
142: ; preds = %138
%143 = getelementptr inbounds i8, ptr %0, i64 72
%144 = load ptr, ptr %143, align 8, !tbaa !56
%145 = load i32, ptr @WHERE_UNIQUE, align 4, !tbaa !21
%146 = zext nneg i32 %140 to i64
br label %147
147: ; preds = %142, %155
%148 = phi i64 [ %136, %142 ], [ %156, %155 ]
%149 = phi i64 [ 0, %142 ], [ %157, %155 ]
%150 = getelementptr inbounds %struct.TYPE_21__, ptr %144, i64 %149
%151 = load i32, ptr %150, align 4, !tbaa !57
%152 = and i32 %145, %151
%153 = icmp eq i32 %152, 0
br i1 %153, label %154, label %155
154: ; preds = %147
store i64 0, ptr %40, align 8, !tbaa !46
br label %155
155: ; preds = %147, %154
%156 = phi i64 [ %148, %147 ], [ 0, %154 ]
%157 = add nuw nsw i64 %149, 1
%158 = icmp eq i64 %157, %146
br i1 %158, label %159, label %147, !llvm.loop !60
159: ; preds = %155
%160 = icmp ne i64 %156, 0
br label %161
161: ; preds = %159, %135
%162 = phi i1 [ %160, %159 ], [ false, %135 ]
%163 = load double, ptr %41, align 8, !tbaa !48
%164 = load i64, ptr %43, align 8, !tbaa !50
%165 = icmp eq i64 %164, 0
%166 = select i1 %165, i1 true, i1 %162
br i1 %166, label %172, label %169
167: ; preds = %138
%168 = load double, ptr %41, align 8, !tbaa !48
br label %172
169: ; preds = %161
%170 = tail call double @estLog(double noundef %163) #4
%171 = tail call double @llvm.fmuladd.f64(double %170, double %163, double %163)
br label %172
172: ; preds = %161, %167, %169
%173 = phi double [ %171, %169 ], [ %163, %161 ], [ %168, %167 ]
%174 = load double, ptr @SQLITE_BIG_DBL, align 8, !tbaa !47
%175 = fmul double %174, 5.000000e-01
%176 = fcmp olt double %175, %173
%177 = select i1 %176, double %175, double %173
%178 = getelementptr inbounds i8, ptr %0, i64 32
store double %177, ptr %178, align 8
%179 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %23, ptr %179, align 8, !tbaa !61
%180 = load i64, ptr %40, align 8, !tbaa !46
%181 = icmp eq i64 %180, 0
br i1 %181, label %186, label %182
182: ; preds = %172
%183 = load i32, ptr @WHERE_ORDERED, align 4, !tbaa !21
%184 = load i32, ptr %13, align 8, !tbaa !22
%185 = or i32 %184, %183
store i32 %185, ptr %13, align 8, !tbaa !22
br label %197
186: ; preds = %172
%187 = getelementptr inbounds i8, ptr %0, i64 4
%188 = load i32, ptr %187, align 4, !tbaa !55
%189 = icmp eq i32 %188, 0
br i1 %189, label %197, label %190
190: ; preds = %186
%191 = getelementptr inbounds i8, ptr %0, i64 72
%192 = load ptr, ptr %191, align 8, !tbaa !56
%193 = sext i32 %188 to i64
%194 = getelementptr %struct.TYPE_21__, ptr %192, i64 %193
%195 = getelementptr i8, ptr %194, i64 -4
%196 = load i32, ptr %195, align 4, !tbaa !62
br label %197
197: ; preds = %190, %186, %182
%198 = phi i32 [ %92, %182 ], [ %196, %190 ], [ 0, %186 ]
store i32 %198, ptr %12, align 8, !tbaa !63
%199 = getelementptr inbounds i8, ptr %0, i64 48
store i64 0, ptr %199, align 8, !tbaa !64
store i32 %92, ptr %42, align 8, !tbaa !49
%200 = tail call i32 @bestOrClauseIndex(ptr noundef nonnull %0) #4
br label %201
201: ; preds = %96, %18, %197
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @allocateIndexInfo(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3GetVTable(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_free(i64 noundef) local_unnamed_addr #1
declare i64 @vtabBestIndex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare double @estLog(double noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @bestOrClauseIndex(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !16, i64 112}
!7 = !{!"TYPE_27__", !8, i64 0, !8, i64 4, !11, i64 8, !16, i64 72, !12, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"sqlite3_index_constraint_usage", !12, i64 0, !8, i64 8, !12, i64 16, !13, i64 24, !14, i64 32}
!12 = !{!"long", !9, i64 0}
!13 = !{!"double", !9, i64 0}
!14 = !{!"TYPE_23__", !8, i64 0, !12, i64 8, !8, i64 16, !15, i64 24}
!15 = !{!"TYPE_22__", !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!7, !16, i64 104}
!18 = !{!7, !16, i64 96}
!19 = !{!20, !16, i64 0}
!20 = !{!"SrcList_item", !16, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!7, !8, i64 56}
!23 = !{!7, !16, i64 88}
!24 = !{!16, !16, i64 0}
!25 = !{!26, !16, i64 0}
!26 = !{!"TYPE_28__", !16, i64 0}
!27 = !{!12, !12, i64 0}
!28 = !{!29, !8, i64 0}
!29 = !{!"TYPE_19__", !8, i64 0}
!30 = !{!31, !16, i64 56}
!31 = !{!"TYPE_24__", !8, i64 0, !12, i64 8, !13, i64 16, !8, i64 24, !8, i64 28, !12, i64 32, !12, i64 40, !12, i64 48, !16, i64 56}
!32 = !{!31, !8, i64 0}
!33 = !{!34, !16, i64 0}
!34 = !{!"TYPE_26__", !16, i64 0}
!35 = !{!7, !8, i64 0}
!36 = !{!37, !8, i64 0}
!37 = !{!"sqlite3_index_constraint", !8, i64 0, !8, i64 4}
!38 = !{!39, !8, i64 0}
!39 = !{!"TYPE_25__", !8, i64 0, !8, i64 4}
!40 = !{!39, !8, i64 4}
!41 = !{!37, !8, i64 4}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!31, !12, i64 32}
!45 = !{!31, !12, i64 48}
!46 = !{!31, !12, i64 8}
!47 = !{!13, !13, i64 0}
!48 = !{!31, !13, i64 16}
!49 = !{!31, !8, i64 24}
!50 = !{!7, !12, i64 80}
!51 = !{!11, !12, i64 0}
!52 = !{!7, !8, i64 16}
!53 = !{!11, !12, i64 16}
!54 = distinct !{!54, !43}
!55 = !{!7, !8, i64 4}
!56 = !{!7, !16, i64 72}
!57 = !{!58, !8, i64 0}
!58 = !{!"TYPE_21__", !59, i64 0}
!59 = !{!"TYPE_20__", !8, i64 0, !8, i64 4}
!60 = distinct !{!60, !43}
!61 = !{!7, !16, i64 64}
!62 = !{!58, !8, i64 4}
!63 = !{!7, !8, i64 40}
!64 = !{!7, !12, i64 48}
| Craft_deps_sqlite_extr_sqlite3.c_bestVirtualIndex |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_set_rport_loss_tmo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_set_rport_loss_tmo.c"
target datalayout = "e-m:e-p270:32:32-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 @qla2x00_set_rport_loss_tmo], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @qla2x00_set_rport_loss_tmo(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
store i32 %3, ptr %0, align 4, !tbaa !5
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fc_rport", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_set_rport_loss_tmo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_set_rport_loss_tmo.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 @qla2x00_set_rport_loss_tmo], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @qla2x00_set_rport_loss_tmo(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = tail call i32 @llvm.umax.i32(i32 %1, i32 1)
store i32 %3, ptr %0, align 4, !tbaa !6
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fc_rport", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_scsi_qla2xxx_extr_qla_attr.c_qla2x00_set_rport_loss_tmo |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_g450_pll.c_g450_testpll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_g450_pll.c_g450_testpll.c"
target datalayout = "e-m:e-p270:32:32-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 @g450_testpll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @g450_testpll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @g450_setpll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = tail call i32 @g450_isplllocked(ptr noundef %0, i32 noundef %4) #2
ret i32 %5
}
declare i32 @g450_isplllocked(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @g450_setpll(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/video/matrox/extr_g450_pll.c_g450_testpll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/matrox/extr_g450_pll.c_g450_testpll.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 @g450_testpll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @g450_testpll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @g450_setpll(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = tail call i32 @g450_isplllocked(ptr noundef %0, i32 noundef %4) #2
ret i32 %5
}
declare i32 @g450_isplllocked(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @g450_setpll(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_video_matrox_extr_g450_pll.c_g450_testpll |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_eeprom.h_mt76x02_eeprom_get.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_eeprom.h_mt76x02_eeprom_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__MT_EE_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mt76x02_eeprom_get], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @mt76x02_eeprom_get(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = and i32 %1, 1
%4 = icmp eq i32 %3, 0
%5 = load i32, ptr @__MT_EE_MAX, align 4
%6 = icmp ugt i32 %5, %1
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i64, ptr %0, align 8, !tbaa !5
%10 = zext i32 %1 to i64
%11 = add nsw i64 %9, %10
%12 = tail call i32 @get_unaligned_le16(i64 noundef %11) #2
br label %13
13: ; preds = %2, %8
%14 = phi i32 [ %12, %8 ], [ -1, %2 ]
ret i32 %14
}
declare i32 @get_unaligned_le16(i64 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, !9, i64 0}
!6 = !{!"mt76x02_dev", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_eeprom.h_mt76x02_eeprom_get.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_eeprom.h_mt76x02_eeprom_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__MT_EE_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mt76x02_eeprom_get], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @mt76x02_eeprom_get(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = and i32 %1, 1
%4 = icmp eq i32 %3, 0
%5 = load i32, ptr @__MT_EE_MAX, align 4
%6 = icmp ugt i32 %5, %1
%7 = select i1 %4, i1 %6, i1 false
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i64, ptr %0, align 8, !tbaa !6
%10 = zext i32 %1 to i64
%11 = add nsw i64 %9, %10
%12 = tail call i32 @get_unaligned_le16(i64 noundef %11) #2
br label %13
13: ; preds = %2, %8
%14 = phi i32 [ %12, %8 ], [ -1, %2 ]
ret i32 %14
}
declare i32 @get_unaligned_le16(i64 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, !10, i64 0}
!7 = !{!"mt76x02_dev", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_mediatek_mt76_extr_mt76x02_eeprom.h_mt76x02_eeprom_get |
; ModuleID = 'AnghaBench/mpv/osdep/win32/extr_pthread.c_cond_wait.c'
source_filename = "AnghaBench/mpv/osdep/win32/extr_pthread.c_cond_wait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_4__, i64 }
%struct.TYPE_4__ = type { i32, i32 }
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cond_wait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cond_wait(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%9 = tail call i64 @SleepConditionVariableCS(ptr noundef %0, ptr noundef nonnull %8, i32 noundef %2) #2
br label %12
10: ; preds = %3
%11 = tail call i64 @SleepConditionVariableSRW(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, i32 noundef 0) #2
br label %12
12: ; preds = %10, %7
%13 = phi i64 [ %9, %7 ], [ %11, %10 ]
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr @ETIMEDOUT, align 4
%16 = select i1 %14, i32 %15, i32 0
ret i32 %16
}
declare i64 @SleepConditionVariableCS(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @SleepConditionVariableSRW(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, !11, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
| ; ModuleID = 'AnghaBench/mpv/osdep/win32/extr_pthread.c_cond_wait.c'
source_filename = "AnghaBench/mpv/osdep/win32/extr_pthread.c_cond_wait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cond_wait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cond_wait(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = tail call i64 @SleepConditionVariableCS(ptr noundef %0, ptr noundef nonnull %8, i32 noundef %2) #2
br label %12
10: ; preds = %3
%11 = tail call i64 @SleepConditionVariableSRW(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, i32 noundef 0) #2
br label %12
12: ; preds = %10, %7
%13 = phi i64 [ %9, %7 ], [ %11, %10 ]
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr @ETIMEDOUT, align 4
%16 = select i1 %14, i32 %15, i32 0
ret i32 %16
}
declare i64 @SleepConditionVariableCS(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @SleepConditionVariableSRW(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, !12, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
| mpv_osdep_win32_extr_pthread.c_cond_wait |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.