IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/extr_tst.call3.c_link_arginit.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/extr_tst.call3.c_link_arginit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { ptr, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, i32 }
@rootfh = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"samf\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @link_arginit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @link_arginit(ptr nocapture noundef writeonly %0) #0 {
%2 = load ptr, ptr @rootfh, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%4 = load <2 x i32>, ptr %2, align 4, !tbaa !9
%5 = shufflevector <2 x i32> %4, <2 x i32> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
store <4 x i32> %5, ptr %3, align 8, !tbaa !9
store ptr @.str, ptr %0, align 8, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_13__", !13, i64 0, !16, i64 16}
!13 = !{!"TYPE_10__", !6, i64 0, !14, i64 8}
!14 = !{!"TYPE_9__", !15, i64 0}
!15 = !{!"TYPE_8__", !10, i64 0, !10, i64 4}
!16 = !{!"TYPE_12__", !17, i64 0}
!17 = !{!"TYPE_11__", !10, i64 0, !10, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/extr_tst.call3.c_link_arginit.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/extr_tst.call3.c_link_arginit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rootfh = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"samf\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @link_arginit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @link_arginit(ptr nocapture noundef writeonly %0) #0 {
%2 = load ptr, ptr @rootfh, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load <2 x i32>, ptr %2, align 4, !tbaa !10
%5 = shufflevector <2 x i32> %4, <2 x i32> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
store <4 x i32> %5, ptr %3, align 8, !tbaa !10
store ptr @.str, ptr %0, align 8, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_13__", !14, i64 0, !17, i64 16}
!14 = !{!"TYPE_10__", !7, i64 0, !15, i64 8}
!15 = !{!"TYPE_9__", !16, i64 0}
!16 = !{!"TYPE_8__", !11, i64 0, !11, i64 4}
!17 = !{!"TYPE_12__", !18, i64 0}
!18 = !{!"TYPE_11__", !11, i64 0, !11, i64 4}
| freebsd_cddl_contrib_opensolaris_cmd_dtrace_test_tst_common_nfs_extr_tst.call3.c_link_arginit |
; ModuleID = 'AnghaBench/postgres/src/backend/tsearch/extr_ts_parse.c_parsetext.c'
source_filename = "AnghaBench/postgres/src/backend/tsearch/extr_ts_parse.c_parsetext.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { i32, i32, i32 }
%struct.TYPE_18__ = type { i64, i64, i32, ptr }
%struct.TYPE_15__ = type { i32, i32, i64 }
%struct.TYPE_17__ = type { i32, %struct.TYPE_13__, i64, i32, i64, i32 }
%struct.TYPE_13__ = type { i32 }
@MAXSTRLEN = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_PROGRAM_LIMIT_EXCEEDED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"word is too long to be indexed\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Words longer than %d characters are ignored.\00", align 1
@TSL_ADDPOS = dso_local local_unnamed_addr global i32 0, align 4
@TSL_PREFIX = dso_local local_unnamed_addr global i32 0, align 4
@NOTICE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @parsetext(i32 noundef %0, ptr nocapture noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = tail call ptr @lookup_ts_config_cache(i32 noundef %0) #3
%9 = load i32, ptr %8, align 4, !tbaa !9
%10 = tail call ptr @lookup_ts_parser_cache(i32 noundef %9) #3
%11 = getelementptr inbounds %struct.TYPE_14__, ptr %10, i64 0, i32 2
%12 = tail call i32 @PointerGetDatum(ptr noundef %2) #3
%13 = tail call i32 @Int32GetDatum(i32 noundef %3) #3
%14 = tail call i32 @FunctionCall2(ptr noundef nonnull %11, i32 noundef %12, i32 noundef %13) #3
%15 = tail call i64 @DatumGetPointer(i32 noundef %14) #3
%16 = inttoptr i64 %15 to ptr
%17 = call i32 @LexizeInit(ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%18 = getelementptr inbounds %struct.TYPE_14__, ptr %10, i64 0, i32 1
%19 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 2
%20 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 1
%21 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 3
br label %22
22: ; preds = %108, %4
%23 = call i32 @PointerGetDatum(ptr noundef %16) #3
%24 = call i32 @PointerGetDatum(ptr noundef nonnull %6) #3
%25 = call i32 @PointerGetDatum(ptr noundef nonnull %5) #3
%26 = call i32 @FunctionCall3(ptr noundef nonnull %18, i32 noundef %23, i32 noundef %24, i32 noundef %25) #3
%27 = call i32 @DatumGetInt32(i32 noundef %26) #3
%28 = icmp slt i32 %27, 1
%29 = load i32, ptr %5, align 4, !tbaa !12
%30 = load i32, ptr @MAXSTRLEN, align 4
%31 = icmp slt i32 %29, %30
%32 = select i1 %28, i1 true, i1 %31
br i1 %32, label %42, label %33
33: ; preds = %22
%34 = load i32, ptr @ERROR, align 4, !tbaa !12
%35 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !12
%36 = call i32 @errcode(i32 noundef %35) #3
%37 = call i32 @errmsg(ptr noundef nonnull @.str) #3
%38 = load i32, ptr @MAXSTRLEN, align 4, !tbaa !12
%39 = call i32 @errdetail(ptr noundef nonnull @.str.1, i32 noundef %38) #3
%40 = call i32 @ereport(i32 noundef %34, i32 noundef %39) #3
%41 = load i32, ptr %5, align 4, !tbaa !12
br label %42
42: ; preds = %33, %22
%43 = phi i32 [ %41, %33 ], [ %29, %22 ]
%44 = load ptr, ptr %6, align 8, !tbaa !5
%45 = call i32 @LexizeAddLemm(ptr noundef nonnull %7, i32 noundef %27, ptr noundef %44, i32 noundef %43) #3
%46 = call ptr @LexizeExec(ptr noundef nonnull %7, ptr noundef null) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %108, label %48
48: ; preds = %42, %104
%49 = phi ptr [ %106, %104 ], [ %46, %42 ]
%50 = load i32, ptr %19, align 8, !tbaa !13
%51 = add nsw i32 %50, 1
store i32 %51, ptr %19, align 8, !tbaa !13
%52 = getelementptr inbounds %struct.TYPE_15__, ptr %49, i64 0, i32 2
%53 = load i64, ptr %52, align 8, !tbaa !16
%54 = icmp eq i64 %53, 0
br i1 %54, label %104, label %55
55: ; preds = %48
%56 = load i64, ptr %1, align 8, !tbaa !18
br label %57
57: ; preds = %55, %78
%58 = phi i64 [ %100, %78 ], [ %56, %55 ]
%59 = phi ptr [ %101, %78 ], [ %52, %55 ]
%60 = phi ptr [ %99, %78 ], [ %49, %55 ]
%61 = load i64, ptr %20, align 8, !tbaa !19
%62 = icmp eq i64 %58, %61
br i1 %62, label %63, label %70
63: ; preds = %57
%64 = shl i64 %58, 1
store i64 %64, ptr %20, align 8, !tbaa !19
%65 = load ptr, ptr %21, align 8, !tbaa !20
%66 = trunc i64 %58 to i32
%67 = mul i32 %66, 80
%68 = call i64 @repalloc(ptr noundef %65, i32 noundef %67) #3
%69 = inttoptr i64 %68 to ptr
store ptr %69, ptr %21, align 8, !tbaa !20
br label %70
70: ; preds = %63, %57
%71 = load i32, ptr %60, align 8, !tbaa !21
%72 = load i32, ptr @TSL_ADDPOS, align 4, !tbaa !12
%73 = and i32 %72, %71
%74 = icmp eq i32 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %70
%76 = load i32, ptr %19, align 8, !tbaa !13
%77 = add nsw i32 %76, 1
store i32 %77, ptr %19, align 8, !tbaa !13
br label %78
78: ; preds = %75, %70
%79 = load i64, ptr %59, align 8, !tbaa !16
%80 = call i32 @strlen(i64 noundef %79) #3
%81 = load ptr, ptr %21, align 8, !tbaa !20
%82 = load i64, ptr %1, align 8, !tbaa !18
%83 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 5
store i32 %80, ptr %83, align 8, !tbaa !22
%84 = load i64, ptr %59, align 8, !tbaa !16
%85 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 4
store i64 %84, ptr %85, align 8, !tbaa !25
%86 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 0, i32 1
%87 = load i32, ptr %86, align 4, !tbaa !26
%88 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 3
store i32 %87, ptr %88, align 8, !tbaa !27
%89 = load i32, ptr %60, align 8, !tbaa !21
%90 = load i32, ptr @TSL_PREFIX, align 4, !tbaa !12
%91 = and i32 %90, %89
%92 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82
store i32 %91, ptr %92, align 8, !tbaa !28
%93 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 2
store i64 0, ptr %93, align 8, !tbaa !29
%94 = load i32, ptr %19, align 8, !tbaa !13
%95 = call i32 @LIMITPOS(i32 noundef %94) #3
%96 = load ptr, ptr %21, align 8, !tbaa !20
%97 = load i64, ptr %1, align 8, !tbaa !18
%98 = getelementptr inbounds %struct.TYPE_17__, ptr %96, i64 %97, i32 1
store i32 %95, ptr %98, align 4, !tbaa !30
%99 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 1
%100 = add i64 %97, 1
store i64 %100, ptr %1, align 8, !tbaa !18
%101 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 1, i32 2
%102 = load i64, ptr %101, align 8, !tbaa !16
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %57, !llvm.loop !31
104: ; preds = %78, %48
%105 = call i32 @pfree(ptr noundef nonnull %49) #3
%106 = call ptr @LexizeExec(ptr noundef nonnull %7, ptr noundef null) #3
%107 = icmp eq ptr %106, null
br i1 %107, label %108, label %48, !llvm.loop !33
108: ; preds = %104, %42
br i1 %28, label %109, label %22, !llvm.loop !34
109: ; preds = %108
%110 = call i32 @PointerGetDatum(ptr noundef %16) #3
%111 = call i32 @FunctionCall1(ptr noundef %10, i32 noundef %110) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lookup_ts_config_cache(i32 noundef) local_unnamed_addr #2
declare ptr @lookup_ts_parser_cache(i32 noundef) local_unnamed_addr #2
declare i64 @DatumGetPointer(i32 noundef) local_unnamed_addr #2
declare i32 @FunctionCall2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2
declare i32 @Int32GetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @LexizeInit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DatumGetInt32(i32 noundef) local_unnamed_addr #2
declare i32 @FunctionCall3(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef) local_unnamed_addr #2
declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LexizeAddLemm(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @LexizeExec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @repalloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i64 noundef) local_unnamed_addr #2
declare i32 @LIMITPOS(i32 noundef) local_unnamed_addr #2
declare i32 @pfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @FunctionCall1(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_16__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"TYPE_18__", !15, i64 0, !15, i64 8, !11, i64 16, !6, i64 24}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"TYPE_15__", !11, i64 0, !11, i64 4, !15, i64 8}
!18 = !{!14, !15, i64 0}
!19 = !{!14, !15, i64 8}
!20 = !{!14, !6, i64 24}
!21 = !{!17, !11, i64 0}
!22 = !{!23, !11, i64 32}
!23 = !{!"TYPE_17__", !11, i64 0, !24, i64 4, !15, i64 8, !11, i64 16, !15, i64 24, !11, i64 32}
!24 = !{!"TYPE_13__", !11, i64 0}
!25 = !{!23, !15, i64 24}
!26 = !{!17, !11, i64 4}
!27 = !{!23, !11, i64 16}
!28 = !{!23, !11, i64 0}
!29 = !{!23, !15, i64 8}
!30 = !{!23, !11, i64 4}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = distinct !{!34, !32}
| ; ModuleID = 'AnghaBench/postgres/src/backend/tsearch/extr_ts_parse.c_parsetext.c'
source_filename = "AnghaBench/postgres/src/backend/tsearch/extr_ts_parse.c_parsetext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i32, %struct.TYPE_13__, i64, i32, i64, i32 }
%struct.TYPE_13__ = type { i32 }
@MAXSTRLEN = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_PROGRAM_LIMIT_EXCEEDED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"word is too long to be indexed\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Words longer than %d characters are ignored.\00", align 1
@TSL_ADDPOS = common local_unnamed_addr global i32 0, align 4
@TSL_PREFIX = common local_unnamed_addr global i32 0, align 4
@NOTICE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @parsetext(i32 noundef %0, ptr nocapture noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%8 = tail call ptr @lookup_ts_config_cache(i32 noundef %0) #3
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = tail call ptr @lookup_ts_parser_cache(i32 noundef %9) #3
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = tail call i32 @PointerGetDatum(ptr noundef %2) #3
%13 = tail call i32 @Int32GetDatum(i32 noundef %3) #3
%14 = tail call i32 @FunctionCall2(ptr noundef nonnull %11, i32 noundef %12, i32 noundef %13) #3
%15 = tail call i64 @DatumGetPointer(i32 noundef %14) #3
%16 = inttoptr i64 %15 to ptr
%17 = call i32 @LexizeInit(ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%18 = getelementptr inbounds i8, ptr %10, i64 4
%19 = getelementptr inbounds i8, ptr %1, i64 16
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = getelementptr inbounds i8, ptr %1, i64 24
br label %22
22: ; preds = %108, %4
%23 = call i32 @PointerGetDatum(ptr noundef %16) #3
%24 = call i32 @PointerGetDatum(ptr noundef nonnull %6) #3
%25 = call i32 @PointerGetDatum(ptr noundef nonnull %5) #3
%26 = call i32 @FunctionCall3(ptr noundef nonnull %18, i32 noundef %23, i32 noundef %24, i32 noundef %25) #3
%27 = call i32 @DatumGetInt32(i32 noundef %26) #3
%28 = icmp slt i32 %27, 1
%29 = load i32, ptr %5, align 4, !tbaa !13
%30 = load i32, ptr @MAXSTRLEN, align 4
%31 = icmp slt i32 %29, %30
%32 = select i1 %28, i1 true, i1 %31
br i1 %32, label %42, label %33
33: ; preds = %22
%34 = load i32, ptr @ERROR, align 4, !tbaa !13
%35 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !13
%36 = call i32 @errcode(i32 noundef %35) #3
%37 = call i32 @errmsg(ptr noundef nonnull @.str) #3
%38 = load i32, ptr @MAXSTRLEN, align 4, !tbaa !13
%39 = call i32 @errdetail(ptr noundef nonnull @.str.1, i32 noundef %38) #3
%40 = call i32 @ereport(i32 noundef %34, i32 noundef %39) #3
%41 = load i32, ptr %5, align 4, !tbaa !13
br label %42
42: ; preds = %33, %22
%43 = phi i32 [ %41, %33 ], [ %29, %22 ]
%44 = load ptr, ptr %6, align 8, !tbaa !6
%45 = call i32 @LexizeAddLemm(ptr noundef nonnull %7, i32 noundef %27, ptr noundef %44, i32 noundef %43) #3
%46 = call ptr @LexizeExec(ptr noundef nonnull %7, ptr noundef null) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %108, label %48
48: ; preds = %42, %104
%49 = phi ptr [ %106, %104 ], [ %46, %42 ]
%50 = load i32, ptr %19, align 8, !tbaa !14
%51 = add nsw i32 %50, 1
store i32 %51, ptr %19, align 8, !tbaa !14
%52 = getelementptr inbounds i8, ptr %49, i64 8
%53 = load i64, ptr %52, align 8, !tbaa !17
%54 = icmp eq i64 %53, 0
br i1 %54, label %104, label %55
55: ; preds = %48
%56 = load i64, ptr %1, align 8, !tbaa !19
br label %57
57: ; preds = %55, %78
%58 = phi i64 [ %100, %78 ], [ %56, %55 ]
%59 = phi ptr [ %101, %78 ], [ %52, %55 ]
%60 = phi ptr [ %99, %78 ], [ %49, %55 ]
%61 = load i64, ptr %20, align 8, !tbaa !20
%62 = icmp eq i64 %58, %61
br i1 %62, label %63, label %70
63: ; preds = %57
%64 = shl i64 %58, 1
store i64 %64, ptr %20, align 8, !tbaa !20
%65 = load ptr, ptr %21, align 8, !tbaa !21
%66 = trunc i64 %58 to i32
%67 = mul i32 %66, 80
%68 = call i64 @repalloc(ptr noundef %65, i32 noundef %67) #3
%69 = inttoptr i64 %68 to ptr
store ptr %69, ptr %21, align 8, !tbaa !21
br label %70
70: ; preds = %63, %57
%71 = load i32, ptr %60, align 8, !tbaa !22
%72 = load i32, ptr @TSL_ADDPOS, align 4, !tbaa !13
%73 = and i32 %72, %71
%74 = icmp eq i32 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %70
%76 = load i32, ptr %19, align 8, !tbaa !14
%77 = add nsw i32 %76, 1
store i32 %77, ptr %19, align 8, !tbaa !14
br label %78
78: ; preds = %75, %70
%79 = load i64, ptr %59, align 8, !tbaa !17
%80 = call i32 @strlen(i64 noundef %79) #3
%81 = load ptr, ptr %21, align 8, !tbaa !21
%82 = load i64, ptr %1, align 8, !tbaa !19
%83 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 5
store i32 %80, ptr %83, align 8, !tbaa !23
%84 = load i64, ptr %59, align 8, !tbaa !17
%85 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 4
store i64 %84, ptr %85, align 8, !tbaa !26
%86 = getelementptr inbounds i8, ptr %60, i64 4
%87 = load i32, ptr %86, align 4, !tbaa !27
%88 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 3
store i32 %87, ptr %88, align 8, !tbaa !28
%89 = load i32, ptr %60, align 8, !tbaa !22
%90 = load i32, ptr @TSL_PREFIX, align 4, !tbaa !13
%91 = and i32 %90, %89
%92 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82
store i32 %91, ptr %92, align 8, !tbaa !29
%93 = getelementptr inbounds %struct.TYPE_17__, ptr %81, i64 %82, i32 2
store i64 0, ptr %93, align 8, !tbaa !30
%94 = load i32, ptr %19, align 8, !tbaa !14
%95 = call i32 @LIMITPOS(i32 noundef %94) #3
%96 = load ptr, ptr %21, align 8, !tbaa !21
%97 = load i64, ptr %1, align 8, !tbaa !19
%98 = getelementptr inbounds %struct.TYPE_17__, ptr %96, i64 %97, i32 1
store i32 %95, ptr %98, align 4, !tbaa !31
%99 = getelementptr inbounds i8, ptr %60, i64 16
%100 = add i64 %97, 1
store i64 %100, ptr %1, align 8, !tbaa !19
%101 = getelementptr inbounds i8, ptr %60, i64 24
%102 = load i64, ptr %101, align 8, !tbaa !17
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %57, !llvm.loop !32
104: ; preds = %78, %48
%105 = call i32 @pfree(ptr noundef nonnull %49) #3
%106 = call ptr @LexizeExec(ptr noundef nonnull %7, ptr noundef null) #3
%107 = icmp eq ptr %106, null
br i1 %107, label %108, label %48, !llvm.loop !34
108: ; preds = %104, %42
br i1 %28, label %109, label %22, !llvm.loop !35
109: ; preds = %108
%110 = call i32 @PointerGetDatum(ptr noundef %16) #3
%111 = call i32 @FunctionCall1(ptr noundef %10, i32 noundef %110) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @lookup_ts_config_cache(i32 noundef) local_unnamed_addr #2
declare ptr @lookup_ts_parser_cache(i32 noundef) local_unnamed_addr #2
declare i64 @DatumGetPointer(i32 noundef) local_unnamed_addr #2
declare i32 @FunctionCall2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2
declare i32 @Int32GetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @LexizeInit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DatumGetInt32(i32 noundef) local_unnamed_addr #2
declare i32 @FunctionCall3(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef) local_unnamed_addr #2
declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LexizeAddLemm(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @LexizeExec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @repalloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i64 noundef) local_unnamed_addr #2
declare i32 @LIMITPOS(i32 noundef) local_unnamed_addr #2
declare i32 @pfree(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @FunctionCall1(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_16__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 16}
!15 = !{!"TYPE_18__", !16, i64 0, !16, i64 8, !12, i64 16, !7, i64 24}
!16 = !{!"long", !8, i64 0}
!17 = !{!18, !16, i64 8}
!18 = !{!"TYPE_15__", !12, i64 0, !12, i64 4, !16, i64 8}
!19 = !{!15, !16, i64 0}
!20 = !{!15, !16, i64 8}
!21 = !{!15, !7, i64 24}
!22 = !{!18, !12, i64 0}
!23 = !{!24, !12, i64 32}
!24 = !{!"TYPE_17__", !12, i64 0, !25, i64 4, !16, i64 8, !12, i64 16, !16, i64 24, !12, i64 32}
!25 = !{!"TYPE_13__", !12, i64 0}
!26 = !{!24, !16, i64 24}
!27 = !{!18, !12, i64 4}
!28 = !{!24, !12, i64 16}
!29 = !{!24, !12, i64 0}
!30 = !{!24, !16, i64 8}
!31 = !{!24, !12, i64 4}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = distinct !{!35, !33}
| postgres_src_backend_tsearch_extr_ts_parse.c_parsetext |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i2c/extr_tda998x_drv.c_tda998x_get_adiv.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i2c/extr_tda998x_drv.c_tda998x_get_adiv.c"
target datalayout = "e-m:e-p270:32:32-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.tda998x_priv = type { i32, ptr }
@AUDIO_DIV_SERCLK_32 = dso_local local_unnamed_addr global i32 0, align 4
@AUDIO_DIV_SERCLK_1 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"ser_clk=%luHz fs=%uHz min_aclk=%luHz adiv=%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tda998x_get_adiv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tda998x_get_adiv(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 7
%4 = zext i32 %3 to i64
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = mul nsw i32 %5, 1000
%7 = sext i32 %6 to i64
%8 = load i32, ptr @AUDIO_DIV_SERCLK_32, align 4, !tbaa !11
%9 = load i32, ptr @AUDIO_DIV_SERCLK_1, align 4, !tbaa !11
br label %10
10: ; preds = %10, %2
%11 = phi i32 [ %8, %2 ], [ %17, %10 ]
%12 = icmp eq i32 %11, %9
%13 = zext nneg i32 %11 to i64
%14 = shl i64 %4, %13
%15 = icmp ult i64 %14, %7
%16 = select i1 %12, i1 true, i1 %15
%17 = add nsw i32 %11, -1
br i1 %16, label %18, label %10, !llvm.loop !12
18: ; preds = %10
%19 = getelementptr inbounds %struct.tda998x_priv, ptr %0, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = tail call i32 @dev_dbg(ptr noundef %20, ptr noundef nonnull @.str, i64 noundef %7, i32 noundef %1, i64 noundef %4, i32 noundef %11) #2
ret i32 %11
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tda998x_priv", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i2c/extr_tda998x_drv.c_tda998x_get_adiv.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i2c/extr_tda998x_drv.c_tda998x_get_adiv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUDIO_DIV_SERCLK_32 = common local_unnamed_addr global i32 0, align 4
@AUDIO_DIV_SERCLK_1 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"ser_clk=%luHz fs=%uHz min_aclk=%luHz adiv=%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tda998x_get_adiv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tda998x_get_adiv(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 7
%4 = zext i32 %3 to i64
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = mul nsw i32 %5, 1000
%7 = sext i32 %6 to i64
%8 = load i32, ptr @AUDIO_DIV_SERCLK_32, align 4, !tbaa !12
%9 = load i32, ptr @AUDIO_DIV_SERCLK_1, align 4, !tbaa !12
br label %10
10: ; preds = %10, %2
%11 = phi i32 [ %8, %2 ], [ %17, %10 ]
%12 = icmp eq i32 %11, %9
%13 = zext nneg i32 %11 to i64
%14 = shl i64 %4, %13
%15 = icmp ult i64 %14, %7
%16 = select i1 %12, i1 true, i1 %15
%17 = add nsw i32 %11, -1
br i1 %16, label %18, label %10, !llvm.loop !13
18: ; preds = %10
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = tail call i32 @dev_dbg(ptr noundef %20, ptr noundef nonnull @.str, i64 noundef %7, i32 noundef %1, i64 noundef %4, i32 noundef %11) #2
ret i32 %11
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tda998x_priv", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !11, i64 8}
| linux_drivers_gpu_drm_i2c_extr_tda998x_drv.c_tda998x_get_adiv |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_fs_tree.c_init_fdb_root_ns.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_fs_tree.c_init_fdb_root_ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FS_FT_FDB = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_CORE_FS_FDB_ROOT_NS_NAME = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"fdb_prio\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_fdb_root_ns], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @init_fdb_root_ns(ptr noundef %0) #0 {
%2 = load i32, ptr @FS_FT_FDB, align 4, !tbaa !5
%3 = load i32, ptr @MLX5_CORE_FS_FDB_ROOT_NS_NAME, align 4, !tbaa !5
%4 = tail call ptr @create_root_ns(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
store ptr %4, ptr %0, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %15
9: ; preds = %1
%10 = tail call ptr @fs_create_prio(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef 0) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %15
15: ; preds = %9, %13, %6
%16 = phi i32 [ %14, %13 ], [ %8, %6 ], [ 0, %9 ]
ret i32 %16
}
declare ptr @create_root_ns(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fs_create_prio(ptr noundef, i32 noundef, i32 noundef, ptr 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"mlx5_core_dev", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_fs_tree.c_init_fdb_root_ns.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_fs_tree.c_init_fdb_root_ns.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FS_FT_FDB = common local_unnamed_addr global i32 0, align 4
@MLX5_CORE_FS_FDB_ROOT_NS_NAME = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"fdb_prio\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @init_fdb_root_ns], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @init_fdb_root_ns(ptr noundef %0) #0 {
%2 = load i32, ptr @FS_FT_FDB, align 4, !tbaa !6
%3 = load i32, ptr @MLX5_CORE_FS_FDB_ROOT_NS_NAME, align 4, !tbaa !6
%4 = tail call ptr @create_root_ns(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
store ptr %4, ptr %0, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %15
9: ; preds = %1
%10 = tail call ptr @fs_create_prio(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef 0) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %15
15: ; preds = %9, %13, %6
%16 = phi i32 [ %14, %13 ], [ %8, %6 ], [ 0, %9 ]
ret i32 %16
}
declare ptr @create_root_ns(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @fs_create_prio(ptr noundef, i32 noundef, i32 noundef, ptr 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"mlx5_core_dev", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| freebsd_sys_dev_mlx5_mlx5_core_extr_mlx5_fs_tree.c_init_fdb_root_ns |
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_disconnect_assoc_done.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_disconnect_assoc_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvme_fc_disconnect_assoc_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nvme_fc_disconnect_assoc_done(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @ls_req_to_lsop(ptr noundef %0) #2
%4 = tail call i32 @__nvme_fc_finish_ls_req(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef %3) #2
ret void
}
declare ptr @ls_req_to_lsop(ptr noundef) local_unnamed_addr #1
declare i32 @__nvme_fc_finish_ls_req(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_disconnect_assoc_done.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fc.c_nvme_fc_disconnect_assoc_done.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 @nvme_fc_disconnect_assoc_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nvme_fc_disconnect_assoc_done(ptr noundef %0, i32 %1) #0 {
%3 = tail call ptr @ls_req_to_lsop(ptr noundef %0) #2
%4 = tail call i32 @__nvme_fc_finish_ls_req(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef %3) #2
ret void
}
declare ptr @ls_req_to_lsop(ptr noundef) local_unnamed_addr #1
declare i32 @__nvme_fc_finish_ls_req(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_nvme_host_extr_fc.c_nvme_fc_disconnect_assoc_done |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_get_ident.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_get_ident.c"
target datalayout = "e-m:e-p270:32:32-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.l2cap_conn = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @l2cap_get_ident], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @l2cap_get_ident(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.l2cap_conn, ptr %0, i64 0, i32 1
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = add nsw i32 %4, 1
%6 = icmp sgt i32 %4, 127
%7 = select i1 %6, i32 1, i32 %5
store i32 %7, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %2) #2
ret i32 %7
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"l2cap_conn", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_get_ident.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_get_ident.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 @l2cap_get_ident], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @l2cap_get_ident(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = add nsw i32 %4, 1
%6 = icmp sgt i32 %4, 127
%7 = select i1 %6, i32 1, i32 %5
store i32 %7, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %2) #2
ret i32 %7
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"l2cap_conn", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_bluetooth_extr_l2cap.c_l2cap_get_ident |
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new.c"
target datalayout = "e-m:e-p270:32:32-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 @spl_dllist_object_new], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @spl_dllist_object_new(ptr noundef %0) #0 {
%2 = tail call ptr @spl_dllist_object_new_ex(ptr noundef %0, ptr noundef null, i32 noundef 0) #2
ret ptr %2
}
declare ptr @spl_dllist_object_new_ex(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new.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 @spl_dllist_object_new], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @spl_dllist_object_new(ptr noundef %0) #0 {
%2 = tail call ptr @spl_dllist_object_new_ex(ptr noundef %0, ptr noundef null, i32 noundef 0) #2
ret ptr %2
}
declare ptr @spl_dllist_object_new_ex(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)"}
| php-src_ext_spl_extr_spl_dllist.c_spl_dllist_object_new |
; ModuleID = 'AnghaBench/obs-studio/plugins/obs-outputs/librtmp/extr_rtmp.c_RTMP_SetBufferMS.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-outputs/librtmp/extr_rtmp.c_RTMP_SetBufferMS.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @RTMP_SetBufferMS(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/obs-studio/plugins/obs-outputs/librtmp/extr_rtmp.c_RTMP_SetBufferMS.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-outputs/librtmp/extr_rtmp.c_RTMP_SetBufferMS.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @RTMP_SetBufferMS(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| obs-studio_plugins_obs-outputs_librtmp_extr_rtmp.c_RTMP_SetBufferMS |
; ModuleID = 'AnghaBench/linux/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_init_mono_onoff_control.c'
source_filename = "AnghaBench/linux/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_init_mono_onoff_control.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_emu10k1_fx8010_control_gpr = type { i32, i32, ptr, i32, i32, i64, ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@SNDRV_CTL_ELEM_IFACE_MIXER = dso_local local_unnamed_addr global i32 0, align 4
@EMU10K1_GPR_TRANSLATION_ONOFF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_emu10k1_init_mono_onoff_control], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @snd_emu10k1_init_mono_onoff_control(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @SNDRV_CTL_ELEM_IFACE_MIXER, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 7
%7 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 7, i32 1
store i32 %5, ptr %7, align 4, !tbaa !9
%8 = load i32, ptr %6, align 8, !tbaa !14
%9 = tail call i32 @strcpy(i32 noundef %8, ptr noundef %1) #2
%10 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 1
store i32 1, ptr %10, align 4, !tbaa !15
store i32 1, ptr %0, align 8, !tbaa !16
%11 = sext i32 %2 to i64
%12 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 6
%13 = load ptr, ptr %12, align 8, !tbaa !17
store i64 %11, ptr %13, align 8, !tbaa !18
%14 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 2
%15 = load ptr, ptr %14, align 8, !tbaa !19
store i32 %3, ptr %15, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 5
store i64 0, ptr %16, align 8, !tbaa !20
%17 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 3
store i32 1, ptr %17, align 8, !tbaa !21
%18 = load i32, ptr @EMU10K1_GPR_TRANSLATION_ONOFF, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.snd_emu10k1_fx8010_control_gpr, ptr %0, i64 0, i32 4
store i32 %18, ptr %19, align 4, !tbaa !22
ret void
}
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 44}
!10 = !{!"snd_emu10k1_fx8010_control_gpr", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16, !6, i64 20, !12, i64 24, !11, i64 32, !13, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!14 = !{!10, !6, i64 40}
!15 = !{!10, !6, i64 4}
!16 = !{!10, !6, i64 0}
!17 = !{!10, !11, i64 32}
!18 = !{!12, !12, i64 0}
!19 = !{!10, !11, i64 8}
!20 = !{!10, !12, i64 24}
!21 = !{!10, !6, i64 16}
!22 = !{!10, !6, i64 20}
| ; ModuleID = 'AnghaBench/linux/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_init_mono_onoff_control.c'
source_filename = "AnghaBench/linux/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_init_mono_onoff_control.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_CTL_ELEM_IFACE_MIXER = common local_unnamed_addr global i32 0, align 4
@EMU10K1_GPR_TRANSLATION_ONOFF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_emu10k1_init_mono_onoff_control], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @snd_emu10k1_init_mono_onoff_control(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @SNDRV_CTL_ELEM_IFACE_MIXER, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = getelementptr inbounds i8, ptr %0, i64 44
store i32 %5, ptr %7, align 4, !tbaa !10
%8 = load i32, ptr %6, align 8, !tbaa !15
%9 = tail call i32 @strcpy(i32 noundef %8, ptr noundef %1) #2
store <2 x i32> <i32 1, i32 1>, ptr %0, align 8, !tbaa !6
%10 = sext i32 %2 to i64
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = load ptr, ptr %11, align 8, !tbaa !16
store i64 %10, ptr %12, align 8, !tbaa !17
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !18
store i32 %3, ptr %14, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %0, i64 24
store i64 0, ptr %15, align 8, !tbaa !19
%16 = getelementptr inbounds i8, ptr %0, i64 16
store i32 1, ptr %16, align 8, !tbaa !20
%17 = load i32, ptr @EMU10K1_GPR_TRANSLATION_ONOFF, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %17, ptr %18, align 4, !tbaa !21
ret void
}
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 44}
!11 = !{!"snd_emu10k1_fx8010_control_gpr", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20, !13, i64 24, !12, i64 32, !14, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!15 = !{!11, !7, i64 40}
!16 = !{!11, !12, i64 32}
!17 = !{!13, !13, i64 0}
!18 = !{!11, !12, i64 8}
!19 = !{!11, !13, i64 24}
!20 = !{!11, !7, i64 16}
!21 = !{!11, !7, i64 20}
| linux_sound_pci_emu10k1_extr_emufx.c_snd_emu10k1_init_mono_onoff_control |
; ModuleID = 'AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_gpio.c_bcm_gpio_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_gpio.c_bcm_gpio_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.bcm_gpio_softc = type { i32, i32, ptr, ptr, ptr, i32, i32, i32 }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
@bcm_gpio_sc = dso_local local_unnamed_addr global ptr null, align 8
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"bcm gpio\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"gpio\00", align 1
@MTX_SPIN = dso_local local_unnamed_addr global i32 0, align 4
@bcm_gpio_res_spec = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"cannot allocate resources\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"unable to setup the gpio irq handler\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"gpio-controller\00", align 1
@BCM_GPIO_PINS = dso_local local_unnamed_addr global i32 0, align 4
@GPIOMAXNAME = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"pin %d\00", align 1
@BCM_GPIO_DEFAULT_CAPS = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [10 x i8] c"brcm,pins\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcm_gpio_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcm_gpio_attach(i32 noundef %0) #0 {
%2 = load ptr, ptr @bcm_gpio_sc, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i32, ptr @ENXIO, align 4, !tbaa !9
br label %81
6: ; preds = %1
%7 = tail call ptr @device_get_softc(i32 noundef %0) #2
store ptr %7, ptr @bcm_gpio_sc, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 5
store i32 %0, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 1
%10 = load i32, ptr @MTX_SPIN, align 4, !tbaa !9
%11 = tail call i32 @mtx_init(ptr noundef nonnull %9, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %10) #2
%12 = load i32, ptr @bcm_gpio_res_spec, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = tail call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %12, ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %71
17: ; preds = %6
%18 = load ptr, ptr %13, align 8, !tbaa !13
%19 = load i32, ptr %18, align 4, !tbaa !9
%20 = tail call i32 @rman_get_bustag(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 7
store i32 %20, ptr %21, align 8, !tbaa !14
%22 = load ptr, ptr %13, align 8, !tbaa !13
%23 = load i32, ptr %22, align 4, !tbaa !9
%24 = tail call i32 @rman_get_bushandle(i32 noundef %23) #2
%25 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 6
store i32 %24, ptr %25, align 4, !tbaa !15
%26 = tail call i64 @bcm_gpio_intr_attach(i32 noundef %0) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %71
28: ; preds = %17
%29 = load i32, ptr %8, align 8, !tbaa !11
%30 = tail call i32 @ofw_bus_get_node(i32 noundef %29) #2
%31 = tail call i32 @OF_hasprop(i32 noundef %30, ptr noundef nonnull @.str.4) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %74, label %33
33: ; preds = %28
%34 = tail call i32 @bcm_gpio_get_reserved_pins(ptr noundef nonnull %7) #2
%35 = icmp eq i32 %34, -1
br i1 %35, label %74, label %36
36: ; preds = %33
%37 = load i32, ptr @BCM_GPIO_PINS, align 4, !tbaa !9
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %62
39: ; preds = %36
%40 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 4
%41 = load ptr, ptr %40, align 8, !tbaa !16
br label %42
42: ; preds = %39, %42
%43 = phi ptr [ %41, %39 ], [ %56, %42 ]
%44 = phi i64 [ 0, %39 ], [ %58, %42 ]
%45 = trunc i64 %44 to i32
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %43, i64 %44, i32 3
%47 = load i32, ptr %46, align 4, !tbaa !17
%48 = load i32, ptr @GPIOMAXNAME, align 4, !tbaa !9
%49 = tail call i32 @snprintf(i32 noundef %47, i32 noundef %48, ptr noundef nonnull @.str.5, i32 noundef %45) #2
%50 = tail call i32 @bcm_gpio_get_function(ptr noundef nonnull %7, i32 noundef %45) #2
%51 = load ptr, ptr %40, align 8, !tbaa !16
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 %44
store i32 %45, ptr %52, align 4, !tbaa !19
%53 = load i32, ptr @BCM_GPIO_DEFAULT_CAPS, align 4, !tbaa !9
%54 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 %44, i32 2
store i32 %53, ptr %54, align 4, !tbaa !20
%55 = tail call i32 @bcm_gpio_func_flag(i32 noundef %50) #2
%56 = load ptr, ptr %40, align 8, !tbaa !16
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i64 %44, i32 1
store i32 %55, ptr %57, align 4, !tbaa !21
%58 = add nuw nsw i64 %44, 1
%59 = trunc i64 %58 to i32
%60 = load i32, ptr @BCM_GPIO_PINS, align 4, !tbaa !9
%61 = icmp sgt i32 %60, %59
br i1 %61, label %42, label %62, !llvm.loop !22
62: ; preds = %42, %36
%63 = phi i32 [ 0, %36 ], [ %59, %42 ]
store i32 %63, ptr %7, align 8, !tbaa !24
%64 = tail call i32 @bcm_gpio_sysctl_init(ptr noundef nonnull %7) #2
%65 = tail call ptr @gpiobus_attach_bus(i32 noundef %0) #2
%66 = getelementptr inbounds %struct.bcm_gpio_softc, ptr %7, i64 0, i32 3
store ptr %65, ptr %66, align 8, !tbaa !25
%67 = icmp eq ptr %65, null
br i1 %67, label %74, label %68
68: ; preds = %62
%69 = tail call i32 @fdt_pinctrl_register(i32 noundef %0, ptr noundef nonnull @.str.6) #2
%70 = tail call i32 @fdt_pinctrl_configure_tree(i32 noundef %0) #2
br label %81
71: ; preds = %17, %6
%72 = phi ptr [ @.str.2, %6 ], [ @.str.3, %17 ]
%73 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull %72) #2
br label %74
74: ; preds = %71, %62, %33, %28
%75 = tail call i32 @bcm_gpio_intr_detach(i32 noundef %0) #2
%76 = load i32, ptr @bcm_gpio_res_spec, align 4, !tbaa !9
%77 = load ptr, ptr %13, align 8, !tbaa !13
%78 = tail call i32 @bus_release_resources(i32 noundef %0, i32 noundef %76, ptr noundef %77) #2
%79 = tail call i32 @mtx_destroy(ptr noundef nonnull %9) #2
%80 = load i32, ptr @ENXIO, align 4, !tbaa !9
br label %81
81: ; preds = %74, %68, %4
%82 = phi i32 [ %5, %4 ], [ %80, %74 ], [ 0, %68 ]
ret i32 %82
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rman_get_bustag(i32 noundef) local_unnamed_addr #1
declare i32 @rman_get_bushandle(i32 noundef) local_unnamed_addr #1
declare i64 @bcm_gpio_intr_attach(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #1
declare i32 @OF_hasprop(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_get_reserved_pins(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_get_function(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_func_flag(i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_sysctl_init(ptr noundef) local_unnamed_addr #1
declare ptr @gpiobus_attach_bus(i32 noundef) local_unnamed_addr #1
declare i32 @fdt_pinctrl_register(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fdt_pinctrl_configure_tree(i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_intr_detach(i32 noundef) local_unnamed_addr #1
declare i32 @bus_release_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 32}
!12 = !{!"bcm_gpio_softc", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !10, i64 40}
!15 = !{!12, !10, i64 36}
!16 = !{!12, !6, i64 24}
!17 = !{!18, !10, i64 12}
!18 = !{!"TYPE_2__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!19 = !{!18, !10, i64 0}
!20 = !{!18, !10, i64 8}
!21 = !{!18, !10, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !10, i64 0}
!25 = !{!12, !6, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_gpio.c_bcm_gpio_attach.c'
source_filename = "AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_gpio.c_bcm_gpio_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
@bcm_gpio_sc = common local_unnamed_addr global ptr null, align 8
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"bcm gpio\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"gpio\00", align 1
@MTX_SPIN = common local_unnamed_addr global i32 0, align 4
@bcm_gpio_res_spec = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"cannot allocate resources\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"unable to setup the gpio irq handler\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"gpio-controller\00", align 1
@BCM_GPIO_PINS = common local_unnamed_addr global i32 0, align 4
@GPIOMAXNAME = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"pin %d\00", align 1
@BCM_GPIO_DEFAULT_CAPS = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [10 x i8] c"brcm,pins\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bcm_gpio_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcm_gpio_attach(i32 noundef %0) #0 {
%2 = load ptr, ptr @bcm_gpio_sc, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i32, ptr @ENXIO, align 4, !tbaa !10
br label %81
6: ; preds = %1
%7 = tail call ptr @device_get_softc(i32 noundef %0) #2
store ptr %7, ptr @bcm_gpio_sc, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 32
store i32 %0, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %7, i64 4
%10 = load i32, ptr @MTX_SPIN, align 4, !tbaa !10
%11 = tail call i32 @mtx_init(ptr noundef nonnull %9, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %10) #2
%12 = load i32, ptr @bcm_gpio_res_spec, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %7, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = tail call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %12, ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %71
17: ; preds = %6
%18 = load ptr, ptr %13, align 8, !tbaa !14
%19 = load i32, ptr %18, align 4, !tbaa !10
%20 = tail call i32 @rman_get_bustag(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %7, i64 40
store i32 %20, ptr %21, align 8, !tbaa !15
%22 = load ptr, ptr %13, align 8, !tbaa !14
%23 = load i32, ptr %22, align 4, !tbaa !10
%24 = tail call i32 @rman_get_bushandle(i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %7, i64 36
store i32 %24, ptr %25, align 4, !tbaa !16
%26 = tail call i64 @bcm_gpio_intr_attach(i32 noundef %0) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %71
28: ; preds = %17
%29 = load i32, ptr %8, align 8, !tbaa !12
%30 = tail call i32 @ofw_bus_get_node(i32 noundef %29) #2
%31 = tail call i32 @OF_hasprop(i32 noundef %30, ptr noundef nonnull @.str.4) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %74, label %33
33: ; preds = %28
%34 = tail call i32 @bcm_gpio_get_reserved_pins(ptr noundef nonnull %7) #2
%35 = icmp eq i32 %34, -1
br i1 %35, label %74, label %36
36: ; preds = %33
%37 = load i32, ptr @BCM_GPIO_PINS, align 4, !tbaa !10
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %62
39: ; preds = %36
%40 = getelementptr inbounds i8, ptr %7, i64 24
%41 = load ptr, ptr %40, align 8, !tbaa !17
br label %42
42: ; preds = %39, %42
%43 = phi ptr [ %41, %39 ], [ %56, %42 ]
%44 = phi i64 [ 0, %39 ], [ %58, %42 ]
%45 = trunc i64 %44 to i32
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %43, i64 %44, i32 3
%47 = load i32, ptr %46, align 4, !tbaa !18
%48 = load i32, ptr @GPIOMAXNAME, align 4, !tbaa !10
%49 = tail call i32 @snprintf(i32 noundef %47, i32 noundef %48, ptr noundef nonnull @.str.5, i32 noundef %45) #2
%50 = tail call i32 @bcm_gpio_get_function(ptr noundef nonnull %7, i32 noundef %45) #2
%51 = load ptr, ptr %40, align 8, !tbaa !17
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 %44
store i32 %45, ptr %52, align 4, !tbaa !20
%53 = load i32, ptr @BCM_GPIO_DEFAULT_CAPS, align 4, !tbaa !10
%54 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 %44, i32 2
store i32 %53, ptr %54, align 4, !tbaa !21
%55 = tail call i32 @bcm_gpio_func_flag(i32 noundef %50) #2
%56 = load ptr, ptr %40, align 8, !tbaa !17
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i64 %44, i32 1
store i32 %55, ptr %57, align 4, !tbaa !22
%58 = add nuw nsw i64 %44, 1
%59 = trunc i64 %58 to i32
%60 = load i32, ptr @BCM_GPIO_PINS, align 4, !tbaa !10
%61 = icmp sgt i32 %60, %59
br i1 %61, label %42, label %62, !llvm.loop !23
62: ; preds = %42, %36
%63 = phi i32 [ 0, %36 ], [ %59, %42 ]
store i32 %63, ptr %7, align 8, !tbaa !25
%64 = tail call i32 @bcm_gpio_sysctl_init(ptr noundef nonnull %7) #2
%65 = tail call ptr @gpiobus_attach_bus(i32 noundef %0) #2
%66 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %65, ptr %66, align 8, !tbaa !26
%67 = icmp eq ptr %65, null
br i1 %67, label %74, label %68
68: ; preds = %62
%69 = tail call i32 @fdt_pinctrl_register(i32 noundef %0, ptr noundef nonnull @.str.6) #2
%70 = tail call i32 @fdt_pinctrl_configure_tree(i32 noundef %0) #2
br label %81
71: ; preds = %17, %6
%72 = phi ptr [ @.str.2, %6 ], [ @.str.3, %17 ]
%73 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull %72) #2
br label %74
74: ; preds = %71, %62, %33, %28
%75 = tail call i32 @bcm_gpio_intr_detach(i32 noundef %0) #2
%76 = load i32, ptr @bcm_gpio_res_spec, align 4, !tbaa !10
%77 = load ptr, ptr %13, align 8, !tbaa !14
%78 = tail call i32 @bus_release_resources(i32 noundef %0, i32 noundef %76, ptr noundef %77) #2
%79 = tail call i32 @mtx_destroy(ptr noundef nonnull %9) #2
%80 = load i32, ptr @ENXIO, align 4, !tbaa !10
br label %81
81: ; preds = %74, %68, %4
%82 = phi i32 [ %5, %4 ], [ %80, %74 ], [ 0, %68 ]
ret i32 %82
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rman_get_bustag(i32 noundef) local_unnamed_addr #1
declare i32 @rman_get_bushandle(i32 noundef) local_unnamed_addr #1
declare i64 @bcm_gpio_intr_attach(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #1
declare i32 @OF_hasprop(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_get_reserved_pins(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_get_function(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_func_flag(i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_sysctl_init(ptr noundef) local_unnamed_addr #1
declare ptr @gpiobus_attach_bus(i32 noundef) local_unnamed_addr #1
declare i32 @fdt_pinctrl_register(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fdt_pinctrl_configure_tree(i32 noundef) local_unnamed_addr #1
declare i32 @bcm_gpio_intr_detach(i32 noundef) local_unnamed_addr #1
declare i32 @bus_release_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 32}
!13 = !{!"bcm_gpio_softc", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !11, i64 36, !11, i64 40}
!14 = !{!13, !7, i64 8}
!15 = !{!13, !11, i64 40}
!16 = !{!13, !11, i64 36}
!17 = !{!13, !7, i64 24}
!18 = !{!19, !11, i64 12}
!19 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!20 = !{!19, !11, i64 0}
!21 = !{!19, !11, i64 8}
!22 = !{!19, !11, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!13, !11, i64 0}
!26 = !{!13, !7, i64 16}
| freebsd_sys_arm_broadcom_bcm2835_extr_bcm2835_gpio.c_bcm_gpio_attach |
; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_sas_expander.c_sas_route_char.c'
source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_sas_expander.c_sas_route_char.c"
target datalayout = "e-m:e-p270:32:32-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 @sas_route_char], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal signext i8 @sas_route_char(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %3, label %9 [
i32 128, label %4
i32 130, label %10
i32 129, label %8
]
4: ; preds = %2
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = icmp eq i32 %5, 0
%7 = select i1 %6, i8 84, i8 85
br label %10
8: ; preds = %2
br label %10
9: ; preds = %2
br label %10
10: ; preds = %2, %4, %9, %8
%11 = phi i8 [ 63, %9 ], [ 83, %8 ], [ %7, %4 ], [ 68, %2 ]
ret i8 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ex_phy", !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 = !{!"domain_device", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_sas_expander.c_sas_route_char.c'
source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_sas_expander.c_sas_route_char.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 @sas_route_char], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal signext range(i8 63, 86) i8 @sas_route_char(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %3, label %9 [
i32 128, label %4
i32 130, label %10
i32 129, label %8
]
4: ; preds = %2
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = icmp eq i32 %5, 0
%7 = select i1 %6, i8 84, i8 85
br label %10
8: ; preds = %2
br label %10
9: ; preds = %2
br label %10
10: ; preds = %2, %4, %9, %8
%11 = phi i8 [ 63, %9 ], [ 83, %8 ], [ %7, %4 ], [ 68, %2 ]
ret i8 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ex_phy", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"domain_device", !13, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_scsi_libsas_extr_sas_expander.c_sas_route_char |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_refcount_lock_res_init.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_refcount_lock_res_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"
@OCFS2_LOCK_TYPE_REFCOUNT = dso_local local_unnamed_addr global i32 0, align 4
@ocfs2_refcount_block_lops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ocfs2_refcount_lock_res_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @ocfs2_lock_res_init_once(ptr noundef %0) #2
%6 = load i32, ptr @OCFS2_LOCK_TYPE_REFCOUNT, align 4, !tbaa !5
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = tail call i32 @ocfs2_build_lock_name(i32 noundef %6, i32 noundef %2, i32 noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @OCFS2_LOCK_TYPE_REFCOUNT, align 4, !tbaa !5
%10 = tail call i32 @ocfs2_lock_res_init_common(ptr noundef %1, ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull @ocfs2_refcount_block_lops, ptr noundef %1) #2
ret void
}
declare i32 @ocfs2_lock_res_init_once(ptr noundef) local_unnamed_addr #1
declare i32 @ocfs2_build_lock_name(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocfs2_lock_res_init_common(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ocfs2_lock_res", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_refcount_lock_res_init.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_refcount_lock_res_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OCFS2_LOCK_TYPE_REFCOUNT = common local_unnamed_addr global i32 0, align 4
@ocfs2_refcount_block_lops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ocfs2_refcount_lock_res_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @ocfs2_lock_res_init_once(ptr noundef %0) #2
%6 = load i32, ptr @OCFS2_LOCK_TYPE_REFCOUNT, align 4, !tbaa !6
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = tail call i32 @ocfs2_build_lock_name(i32 noundef %6, i32 noundef %2, i32 noundef %3, i32 noundef %7) #2
%9 = load i32, ptr @OCFS2_LOCK_TYPE_REFCOUNT, align 4, !tbaa !6
%10 = tail call i32 @ocfs2_lock_res_init_common(ptr noundef %1, ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull @ocfs2_refcount_block_lops, ptr noundef %1) #2
ret void
}
declare i32 @ocfs2_lock_res_init_once(ptr noundef) local_unnamed_addr #1
declare i32 @ocfs2_build_lock_name(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ocfs2_lock_res_init_common(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ocfs2_lock_res", !7, i64 0}
| fastsocket_kernel_fs_ocfs2_extr_dlmglue.c_ocfs2_refcount_lock_res_init |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL2_TP_REG.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL2_TP_REG.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @REG_A4XX_RBBM_CLOCK_CTL2_TP_REG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @REG_A4XX_RBBM_CLOCK_CTL2_TP_REG(i32 noundef %0) #0 {
%2 = add nsw i32 %0, 8
ret i32 %2
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL2_TP_REG.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL2_TP_REG.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @REG_A4XX_RBBM_CLOCK_CTL2_TP_REG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 -2147483640, -2147483648) i32 @REG_A4XX_RBBM_CLOCK_CTL2_TP_REG(i32 noundef %0) #0 {
%2 = add nsw i32 %0, 8
ret i32 %2
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_msm_adreno_extr_a4xx.xml.h_REG_A4XX_RBBM_CLOCK_CTL2_TP_REG |
; ModuleID = 'AnghaBench/git/extr_cache-tree.c_subtree_pos.c'
source_filename = "AnghaBench/git/extr_cache-tree.c_subtree_pos.c"
target datalayout = "e-m:e-p270:32:32-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.cache_tree = type { i32, ptr }
%struct.cache_tree_sub = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @subtree_pos], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @subtree_pos(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.cache_tree, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %0, align 8, !tbaa !11
br label %7
7: ; preds = %11, %3
%8 = phi i32 [ %6, %3 ], [ %25, %11 ]
%9 = phi i32 [ 0, %3 ], [ %26, %11 ]
%10 = icmp slt i32 %9, %8
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = sub nsw i32 %8, %9
%13 = sdiv i32 %12, 2
%14 = add nsw i32 %13, %9
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %5, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = getelementptr inbounds %struct.cache_tree_sub, ptr %17, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = load i32, ptr %17, align 4, !tbaa !15
%21 = tail call i32 @subtree_name_cmp(ptr noundef %1, i32 noundef %2, i32 noundef %19, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
%23 = icmp slt i32 %21, 0
%24 = add nsw i32 %14, 1
%25 = select i1 %23, i32 %14, i32 %8
%26 = select i1 %23, i32 %9, i32 %24
br i1 %22, label %29, label %7, !llvm.loop !16
27: ; preds = %7
%28 = xor i32 %9, -1
br label %29
29: ; preds = %11, %27
%30 = phi i32 [ %28, %27 ], [ %14, %11 ]
ret i32 %30
}
declare i32 @subtree_name_cmp(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)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"cache_tree", !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 = !{!10, !10, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"cache_tree_sub", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/extr_cache-tree.c_subtree_pos.c'
source_filename = "AnghaBench/git/extr_cache-tree.c_subtree_pos.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 @subtree_pos], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @subtree_pos(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %0, align 8, !tbaa !12
br label %7
7: ; preds = %11, %3
%8 = phi i32 [ %6, %3 ], [ %25, %11 ]
%9 = phi i32 [ 0, %3 ], [ %26, %11 ]
%10 = icmp slt i32 %9, %8
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = sub nsw i32 %8, %9
%13 = sdiv i32 %12, 2
%14 = add nsw i32 %13, %9
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %5, i64 %15
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = getelementptr inbounds i8, ptr %17, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = load i32, ptr %17, align 4, !tbaa !16
%21 = tail call i32 @subtree_name_cmp(ptr noundef %1, i32 noundef %2, i32 noundef %19, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
%23 = icmp slt i32 %21, 0
%24 = add nsw i32 %14, 1
%25 = select i1 %23, i32 %14, i32 %8
%26 = select i1 %23, i32 %9, i32 %24
br i1 %22, label %29, label %7, !llvm.loop !17
27: ; preds = %7
%28 = xor i32 %9, -1
br label %29
29: ; preds = %11, %27
%30 = phi i32 [ %28, %27 ], [ %14, %11 ]
ret i32 %30
}
declare i32 @subtree_name_cmp(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)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"cache_tree", !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 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 4}
!15 = !{!"cache_tree_sub", !8, i64 0, !8, i64 4}
!16 = !{!15, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| git_extr_cache-tree.c_subtree_pos |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/isofs/extr_dir.c_get_acorn_filename.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/isofs/extr_dir.c_get_acorn_filename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.iso_directory_record = type { ptr, ptr }
@.str = private unnamed_addr constant [11 x i8] c"ARCHIMEDES\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%3.3x\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @get_acorn_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @isofs_name_translate(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %53, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = and i32 %8, 1
%10 = or disjoint i32 %9, 16
%11 = add i32 %10, %8
%12 = ptrtoint ptr %7 to i64
%13 = trunc i64 %12 to i32
%14 = and i32 %13, 255
%15 = sub nsw i32 %14, %11
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %53
17: ; preds = %6
%18 = sext i32 %11 to i64
%19 = getelementptr inbounds i8, ptr %0, i64 %18
%20 = tail call i64 @strncmp(ptr noundef nonnull %19, ptr noundef nonnull @.str, i32 noundef 10) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %53
22: ; preds = %17
%23 = load i8, ptr %1, align 1, !tbaa !9
%24 = icmp eq i8 %23, 95
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = getelementptr inbounds i8, ptr %19, i64 19
%27 = load i8, ptr %26, align 1, !tbaa !9
%28 = and i8 %27, 1
%29 = icmp eq i8 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %25
store i8 33, ptr %1, align 1, !tbaa !9
br label %31
31: ; preds = %30, %25, %22
%32 = getelementptr inbounds %struct.iso_directory_record, ptr %0, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !10
%34 = load i32, ptr %33, align 4, !tbaa !5
%35 = and i32 %34, 2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %53
37: ; preds = %31
%38 = getelementptr inbounds i8, ptr %19, i64 13
%39 = load i8, ptr %38, align 1, !tbaa !9
%40 = icmp eq i8 %39, -1
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = getelementptr inbounds i8, ptr %19, i64 12
%43 = load i8, ptr %42, align 1, !tbaa !9
%44 = icmp ugt i8 %43, -17
br i1 %44, label %45, label %53
45: ; preds = %41
%46 = sext i32 %4 to i64
%47 = getelementptr inbounds i8, ptr %1, i64 %46
store i8 44, ptr %47, align 1, !tbaa !9
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = getelementptr inbounds i8, ptr %19, i64 11
%50 = load i8, ptr %49, align 1, !tbaa !9
%51 = tail call i32 @sprintf(ptr noundef nonnull %48, ptr noundef nonnull @.str.1, i8 noundef zeroext %50) #2
%52 = add nsw i32 %4, 4
br label %53
53: ; preds = %31, %37, %41, %45, %17, %6, %3
%54 = phi i32 [ 0, %3 ], [ %4, %6 ], [ %4, %17 ], [ %52, %45 ], [ %4, %41 ], [ %4, %37 ], [ %4, %31 ]
ret i32 %54
}
declare i32 @isofs_name_translate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 8}
!11 = !{!"iso_directory_record", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/isofs/extr_dir.c_get_acorn_filename.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/isofs/extr_dir.c_get_acorn_filename.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"ARCHIMEDES\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%3.3x\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @get_acorn_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @isofs_name_translate(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %53, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = and i32 %8, 1
%10 = or disjoint i32 %9, 16
%11 = add i32 %10, %8
%12 = ptrtoint ptr %7 to i64
%13 = trunc i64 %12 to i32
%14 = and i32 %13, 255
%15 = sub nsw i32 %14, %11
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %53
17: ; preds = %6
%18 = sext i32 %11 to i64
%19 = getelementptr inbounds i8, ptr %0, i64 %18
%20 = tail call i64 @strncmp(ptr noundef nonnull %19, ptr noundef nonnull @.str, i32 noundef 10) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %53
22: ; preds = %17
%23 = load i8, ptr %1, align 1, !tbaa !10
%24 = icmp eq i8 %23, 95
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = getelementptr inbounds i8, ptr %19, i64 19
%27 = load i8, ptr %26, align 1, !tbaa !10
%28 = and i8 %27, 1
%29 = icmp eq i8 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %25
store i8 33, ptr %1, align 1, !tbaa !10
br label %31
31: ; preds = %30, %25, %22
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !11
%34 = load i32, ptr %33, align 4, !tbaa !6
%35 = and i32 %34, 2
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %53
37: ; preds = %31
%38 = getelementptr inbounds i8, ptr %19, i64 13
%39 = load i8, ptr %38, align 1, !tbaa !10
%40 = icmp eq i8 %39, -1
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = getelementptr inbounds i8, ptr %19, i64 12
%43 = load i8, ptr %42, align 1, !tbaa !10
%44 = icmp ugt i8 %43, -17
br i1 %44, label %45, label %53
45: ; preds = %41
%46 = sext i32 %4 to i64
%47 = getelementptr inbounds i8, ptr %1, i64 %46
store i8 44, ptr %47, align 1, !tbaa !10
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = getelementptr inbounds i8, ptr %19, i64 11
%50 = load i8, ptr %49, align 1, !tbaa !10
%51 = tail call i32 @sprintf(ptr noundef nonnull %48, ptr noundef nonnull @.str.1, i8 noundef zeroext %50) #2
%52 = add nsw i32 %4, 4
br label %53
53: ; preds = %31, %37, %41, %45, %17, %6, %3
%54 = phi i32 [ 0, %3 ], [ %4, %6 ], [ %4, %17 ], [ %52, %45 ], [ %4, %41 ], [ %4, %37 ], [ %4, %31 ]
ret i32 %54
}
declare i32 @isofs_name_translate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"iso_directory_record", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_fs_isofs_extr_dir.c_get_acorn_filename |
; ModuleID = 'AnghaBench/linux/drivers/firewire/extr_net.c_fwnet_make_uf_hdr.c'
source_filename = "AnghaBench/linux/drivers/firewire/extr_net.c_fwnet_make_uf_hdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RFC2374_HDR_UNFRAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fwnet_make_uf_hdr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @fwnet_make_uf_hdr(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @RFC2374_HDR_UNFRAG, align 4, !tbaa !5
%4 = tail call i32 @fwnet_set_hdr_lf(i32 noundef %3) #2
%5 = tail call i32 @fwnet_set_hdr_ether_type(i32 noundef %1) #2
%6 = or i32 %5, %4
store i32 %6, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @fwnet_set_hdr_lf(i32 noundef) local_unnamed_addr #1
declare i32 @fwnet_set_hdr_ether_type(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"rfc2734_header", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/firewire/extr_net.c_fwnet_make_uf_hdr.c'
source_filename = "AnghaBench/linux/drivers/firewire/extr_net.c_fwnet_make_uf_hdr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RFC2374_HDR_UNFRAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fwnet_make_uf_hdr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @fwnet_make_uf_hdr(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @RFC2374_HDR_UNFRAG, align 4, !tbaa !6
%4 = tail call i32 @fwnet_set_hdr_lf(i32 noundef %3) #2
%5 = tail call i32 @fwnet_set_hdr_ether_type(i32 noundef %1) #2
%6 = or i32 %5, %4
store i32 %6, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @fwnet_set_hdr_lf(i32 noundef) local_unnamed_addr #1
declare i32 @fwnet_set_hdr_ether_type(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"rfc2734_header", !7, i64 0}
| linux_drivers_firewire_extr_net.c_fwnet_make_uf_hdr |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sbni/extr_if_sbni_isa.c_sbni_probe_isa.c'
source_filename = "AnghaBench/freebsd/sys/dev/sbni/extr_if_sbni_isa.c_sbni_probe_isa.c"
target datalayout = "e-m:e-p270:32:32-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.sbni_softc = type { i32, i32 }
@sbni_ids = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@SYS_RES_IOPORT = dso_local local_unnamed_addr global i32 0, align 4
@SBNI_PORTS = dso_local local_unnamed_addr global i32 0, align 4
@RF_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"sbni: cannot allocate io ports!\0A\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Granch SBNI12/ISA adapter\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @sbni_probe_isa], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sbni_probe_isa(i32 noundef %0) #0 {
%2 = tail call i32 @device_get_parent(i32 noundef %0) #2
%3 = load i32, ptr @sbni_ids, align 4, !tbaa !5
%4 = tail call i32 @ISA_PNP_PROBE(i32 noundef %2, i32 noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @ENOENT, align 4
%7 = icmp eq i32 %4, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %28
9: ; preds = %1
%10 = tail call ptr @device_get_softc(i32 noundef %0) #2
%11 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.sbni_softc, ptr %10, i64 0, i32 1
%13 = load i32, ptr @SBNI_PORTS, align 4, !tbaa !5
%14 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !5
%15 = tail call i32 @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %11, ptr noundef nonnull %12, i32 noundef %13, i32 noundef %14) #2
store i32 %15, ptr %10, align 4, !tbaa !9
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %9
%18 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENOENT, align 4, !tbaa !5
br label %28
20: ; preds = %9
%21 = tail call i64 @sbni_probe(ptr noundef nonnull %10) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = tail call i32 @sbni_release_resources(ptr noundef nonnull %10) #2
%25 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %28
26: ; preds = %20
%27 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %28
28: ; preds = %1, %26, %23, %17
%29 = phi i32 [ %25, %23 ], [ 0, %26 ], [ %19, %17 ], [ %4, %1 ]
ret i32 %29
}
declare i32 @ISA_PNP_PROBE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i64 @sbni_probe(ptr noundef) local_unnamed_addr #1
declare i32 @sbni_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sbni_softc", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sbni/extr_if_sbni_isa.c_sbni_probe_isa.c'
source_filename = "AnghaBench/freebsd/sys/dev/sbni/extr_if_sbni_isa.c_sbni_probe_isa.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sbni_ids = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@SYS_RES_IOPORT = common local_unnamed_addr global i32 0, align 4
@SBNI_PORTS = common local_unnamed_addr global i32 0, align 4
@RF_ACTIVE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"sbni: cannot allocate io ports!\0A\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Granch SBNI12/ISA adapter\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sbni_probe_isa], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sbni_probe_isa(i32 noundef %0) #0 {
%2 = tail call i32 @device_get_parent(i32 noundef %0) #2
%3 = load i32, ptr @sbni_ids, align 4, !tbaa !6
%4 = tail call i32 @ISA_PNP_PROBE(i32 noundef %2, i32 noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
%6 = load i32, ptr @ENOENT, align 4
%7 = icmp eq i32 %4, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %9, label %28
9: ; preds = %1
%10 = tail call ptr @device_get_softc(i32 noundef %0) #2
%11 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %10, i64 4
%13 = load i32, ptr @SBNI_PORTS, align 4, !tbaa !6
%14 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !6
%15 = tail call i32 @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %11, ptr noundef nonnull %12, i32 noundef %13, i32 noundef %14) #2
store i32 %15, ptr %10, align 4, !tbaa !10
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %9
%18 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENOENT, align 4, !tbaa !6
br label %28
20: ; preds = %9
%21 = tail call i64 @sbni_probe(ptr noundef nonnull %10) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = tail call i32 @sbni_release_resources(ptr noundef nonnull %10) #2
%25 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %28
26: ; preds = %20
%27 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %28
28: ; preds = %1, %26, %23, %17
%29 = phi i32 [ %25, %23 ], [ 0, %26 ], [ %19, %17 ], [ %4, %1 ]
ret i32 %29
}
declare i32 @ISA_PNP_PROBE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i64 @sbni_probe(ptr noundef) local_unnamed_addr #1
declare i32 @sbni_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sbni_softc", !7, i64 0, !7, i64 4}
| freebsd_sys_dev_sbni_extr_if_sbni_isa.c_sbni_probe_isa |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_hardwire_readchar.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_hardwire_readchar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@do_hardwire_readchar = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hardwire_readchar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hardwire_readchar(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @do_hardwire_readchar, align 4, !tbaa !5
%4 = tail call i32 @generic_readchar(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2
ret i32 %4
}
declare i32 @generic_readchar(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/freebsd/contrib/gdb/gdb/extr_ser-unix.c_hardwire_readchar.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_hardwire_readchar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@do_hardwire_readchar = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hardwire_readchar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hardwire_readchar(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @do_hardwire_readchar, align 4, !tbaa !6
%4 = tail call i32 @generic_readchar(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2
ret i32 %4
}
declare i32 @generic_readchar(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"}
| freebsd_contrib_gdb_gdb_extr_ser-unix.c_hardwire_readchar |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_print.c_dt_print_tag.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_print.c_dt_print_tag.c"
target datalayout = "e-m:e-p270:32:32-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 [15 x i8] c"<forward decl>\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dt_print_tag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dt_print_tag(i32 %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
%5 = tail call i32 @fprintf(i32 noundef %4, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_print.c_dt_print_tag.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_print.c_dt_print_tag.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 [15 x i8] c"<forward decl>\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dt_print_tag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dt_print_tag(i32 %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
%5 = tail call i32 @fprintf(i32 noundef %4, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_print.c_dt_print_tag |
; ModuleID = 'AnghaBench/h2o/deps/quicly/lib/extr_quicly.c_quicly_get_tls.c'
source_filename = "AnghaBench/h2o/deps/quicly/lib/extr_quicly.c_quicly_get_tls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @quicly_get_tls(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, 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"}
| ; ModuleID = 'AnghaBench/h2o/deps/quicly/lib/extr_quicly.c_quicly_get_tls.c'
source_filename = "AnghaBench/h2o/deps/quicly/lib/extr_quicly.c_quicly_get_tls.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @quicly_get_tls(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| h2o_deps_quicly_lib_extr_quicly.c_quicly_get_tls |
; ModuleID = 'AnghaBench/linux/drivers/staging/media/imx/extr_imx-media-csc-scaler.c_imx_media_csc_scaler_device_init.c'
source_filename = "AnghaBench/linux/drivers/staging/media/imx/extr_imx-media-csc-scaler.c_imx_media_csc_scaler_device_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.video_device = type { ptr }
%struct.ipu_csc_scaler_priv = type { %struct.imx_media_video_dev, i32, i32, i32, ptr }
%struct.imx_media_video_dev = type { i32, ptr }
%struct.imx_media_dev = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ipu_csc_scaler_videodev_template = dso_local local_unnamed_addr global %struct.video_device zeroinitializer, align 8
@m2m_ops = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"Failed to init mem2mem device: %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @imx_media_csc_scaler_device_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 40, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %36
8: ; preds = %1
%9 = getelementptr inbounds %struct.ipu_csc_scaler_priv, ptr %3, i64 0, i32 4
store ptr %0, ptr %9, align 8, !tbaa !9
%10 = getelementptr inbounds %struct.imx_media_dev, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds %struct.ipu_csc_scaler_priv, ptr %3, i64 0, i32 3
store i32 %11, ptr %12, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.ipu_csc_scaler_priv, ptr %3, i64 0, i32 2
%14 = tail call i32 @mutex_init(ptr noundef nonnull %13) #2
%15 = tail call ptr (...) @video_device_alloc() #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %8
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %33
20: ; preds = %8
store ptr %13, ptr %15, align 8, !tbaa !17
%21 = getelementptr inbounds %struct.imx_media_video_dev, ptr %3, i64 0, i32 1
store ptr %15, ptr %21, align 8, !tbaa !19
%22 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %3) #2
%23 = tail call i32 @video_set_drvdata(ptr noundef nonnull %15, ptr noundef nonnull %3) #2
%24 = tail call i32 @v4l2_m2m_init(ptr noundef nonnull @m2m_ops) #2
%25 = getelementptr inbounds %struct.ipu_csc_scaler_priv, ptr %3, i64 0, i32 1
store i32 %24, ptr %25, align 8, !tbaa !20
%26 = tail call i64 @IS_ERR(i32 noundef %24) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %20
%29 = load i32, ptr %25, align 8, !tbaa !20
%30 = tail call i32 @PTR_ERR(i32 noundef %29) #2
%31 = tail call i32 @v4l2_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %30) #2
%32 = tail call i32 @video_set_drvdata(ptr noundef nonnull %15, ptr noundef null) #2
br label %33
33: ; preds = %28, %17
%34 = phi i32 [ %30, %28 ], [ %19, %17 ]
%35 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %36
36: ; preds = %5, %33
%37 = phi i32 [ %34, %33 ], [ %7, %5 ]
%38 = tail call ptr @ERR_PTR(i32 noundef %37) #2
br label %39
39: ; preds = %36, %20
%40 = phi ptr [ %3, %20 ], [ %38, %36 ]
ret ptr %40
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare ptr @video_device_alloc(...) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @video_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_m2m_init(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_err(ptr noundef, ptr noundef, 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 32}
!10 = !{!"ipu_csc_scaler_priv", !11, i64 0, !6, i64 16, !6, i64 20, !6, i64 24, !12, i64 32}
!11 = !{!"imx_media_video_dev", !6, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 4}
!14 = !{!"imx_media_dev", !6, i64 0, !15, i64 4}
!15 = !{!"TYPE_2__", !6, i64 0}
!16 = !{!10, !6, i64 24}
!17 = !{!18, !12, i64 0}
!18 = !{!"video_device", !12, i64 0}
!19 = !{!10, !12, i64 8}
!20 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/media/imx/extr_imx-media-csc-scaler.c_imx_media_csc_scaler_device_init.c'
source_filename = "AnghaBench/linux/drivers/staging/media/imx/extr_imx-media-csc-scaler.c_imx_media_csc_scaler_device_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.video_device = type { ptr }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ipu_csc_scaler_videodev_template = common local_unnamed_addr global %struct.video_device zeroinitializer, align 8
@m2m_ops = common global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"Failed to init mem2mem device: %d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @imx_media_csc_scaler_device_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 40, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %36
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %3, i64 32
store ptr %0, ptr %9, align 8, !tbaa !10
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %11, ptr %12, align 8, !tbaa !17
%13 = getelementptr inbounds i8, ptr %3, i64 20
%14 = tail call i32 @mutex_init(ptr noundef nonnull %13) #2
%15 = tail call ptr @video_device_alloc() #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %8
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %33
20: ; preds = %8
store ptr %13, ptr %15, align 8, !tbaa !18
%21 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %15, ptr %21, align 8, !tbaa !20
%22 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %3) #2
%23 = tail call i32 @video_set_drvdata(ptr noundef nonnull %15, ptr noundef nonnull %3) #2
%24 = tail call i32 @v4l2_m2m_init(ptr noundef nonnull @m2m_ops) #2
%25 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %24, ptr %25, align 8, !tbaa !21
%26 = tail call i64 @IS_ERR(i32 noundef %24) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %39, label %28
28: ; preds = %20
%29 = load i32, ptr %25, align 8, !tbaa !21
%30 = tail call i32 @PTR_ERR(i32 noundef %29) #2
%31 = tail call i32 @v4l2_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %30) #2
%32 = tail call i32 @video_set_drvdata(ptr noundef nonnull %15, ptr noundef null) #2
br label %33
33: ; preds = %28, %17
%34 = phi i32 [ %30, %28 ], [ %19, %17 ]
%35 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %36
36: ; preds = %5, %33
%37 = phi i32 [ %34, %33 ], [ %7, %5 ]
%38 = tail call ptr @ERR_PTR(i32 noundef %37) #2
br label %39
39: ; preds = %36, %20
%40 = phi ptr [ %3, %20 ], [ %38, %36 ]
ret ptr %40
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare ptr @video_device_alloc(...) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @video_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_m2m_init(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @v4l2_err(ptr noundef, ptr noundef, 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 32}
!11 = !{!"ipu_csc_scaler_priv", !12, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !13, i64 32}
!12 = !{!"imx_media_video_dev", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 4}
!15 = !{!"imx_media_dev", !7, i64 0, !16, i64 4}
!16 = !{!"TYPE_2__", !7, i64 0}
!17 = !{!11, !7, i64 24}
!18 = !{!19, !13, i64 0}
!19 = !{!"video_device", !13, i64 0}
!20 = !{!11, !13, i64 8}
!21 = !{!11, !7, i64 16}
| linux_drivers_staging_media_imx_extr_imx-media-csc-scaler.c_imx_media_csc_scaler_device_init |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_hist.h_perf_hpp__register_sort_field.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_hist.h_perf_hpp__register_sort_field.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@perf_hpp_list = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_hpp__register_sort_field], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @perf_hpp__register_sort_field(ptr noundef %0) #0 {
%2 = tail call i32 @perf_hpp_list__register_sort_field(ptr noundef nonnull @perf_hpp_list, ptr noundef %0) #2
ret void
}
declare i32 @perf_hpp_list__register_sort_field(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_hist.h_perf_hpp__register_sort_field.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_hist.h_perf_hpp__register_sort_field.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@perf_hpp_list = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @perf_hpp__register_sort_field], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @perf_hpp__register_sort_field(ptr noundef %0) #0 {
%2 = tail call i32 @perf_hpp_list__register_sort_field(ptr noundef nonnull @perf_hpp_list, ptr noundef %0) #2
ret void
}
declare i32 @perf_hpp_list__register_sort_field(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_tools_perf_util_extr_hist.h_perf_hpp__register_sort_field |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/fuzz/extr_stream_decompress.c_makeOutBuffer.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/fuzz/extr_stream_decompress.c_makeOutBuffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32, i32, i32 }
@buf = dso_local local_unnamed_addr global i32 0, align 4
@kBufSize = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @makeOutBuffer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @makeOutBuffer(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 0, ptr %3, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store i32 0, ptr %4, align 4, !tbaa !11
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
store i32 0, ptr %5, align 8, !tbaa !12
%6 = load i64, ptr @kBufSize, align 8, !tbaa !13
%7 = tail call i64 @FUZZ_dataProducer_uint32Range(ptr noundef %1, i32 noundef 1, i64 noundef %6) #2
store i64 %7, ptr %0, align 8, !tbaa !14
%8 = load i64, ptr @kBufSize, align 8, !tbaa !13
%9 = icmp sle i64 %7, %8
%10 = zext i1 %9 to i32
%11 = tail call i32 @FUZZ_ASSERT(i32 noundef %10) #2
ret void
}
declare i64 @FUZZ_dataProducer_uint32Range(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @FUZZ_ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 12, !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 = !{!6, !10, i64 12}
!12 = !{!6, !10, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/fuzz/extr_stream_decompress.c_makeOutBuffer.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/fuzz/extr_stream_decompress.c_makeOutBuffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, i32, i32, i32 }
@buf = common local_unnamed_addr global i32 0, align 4
@kBufSize = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @makeOutBuffer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @makeOutBuffer(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
store <2 x i32> zeroinitializer, ptr %3, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
store i32 0, ptr %4, align 8, !tbaa !10
%5 = load i64, ptr @kBufSize, align 8, !tbaa !13
%6 = tail call i64 @FUZZ_dataProducer_uint32Range(ptr noundef %1, i32 noundef 1, i64 noundef %5) #2
store i64 %6, ptr %0, align 8, !tbaa !14
%7 = load i64, ptr @kBufSize, align 8, !tbaa !13
%8 = icmp sle i64 %6, %7
%9 = zext i1 %8 to i32
%10 = tail call i32 @FUZZ_ASSERT(i32 noundef %9) #2
ret void
}
declare i64 @FUZZ_dataProducer_uint32Range(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @FUZZ_ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 0}
| freebsd_sys_contrib_zstd_tests_fuzz_extr_stream_decompress.c_makeOutBuffer |
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_e752x_edac.c_e752x_check_sysbus.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_e752x_edac.c_e752x_check_sysbus.c"
target datalayout = "e-m:e-p270:32:32-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.e752x_error_info = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @e752x_check_sysbus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @e752x_check_sysbus(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.e752x_error_info, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = shl i32 %6, 16
%8 = add nsw i32 %7, %4
%9 = icmp eq i32 %8, 0
br i1 %9, label %31, label %10
10: ; preds = %3
%11 = lshr i32 %8, 16
%12 = and i32 %4, 135
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 @sysbus_error(i32 noundef 1, i32 noundef %12, ptr noundef %1, i32 noundef %2) #2
br label %16
16: ; preds = %14, %10
%17 = and i32 %4, 888
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @sysbus_error(i32 noundef 0, i32 noundef %17, ptr noundef %1, i32 noundef %2) #2
br label %21
21: ; preds = %19, %16
%22 = and i32 %11, 135
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 @sysbus_error(i32 noundef 1, i32 noundef %22, ptr noundef %1, i32 noundef %2) #2
br label %26
26: ; preds = %24, %21
%27 = and i32 %11, 888
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @sysbus_error(i32 noundef 0, i32 noundef %27, ptr noundef %1, i32 noundef %2) #2
br label %31
31: ; preds = %26, %29, %3
ret void
}
declare i32 @sysbus_error(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"e752x_error_info", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/edac/extr_e752x_edac.c_e752x_check_sysbus.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_e752x_edac.c_e752x_check_sysbus.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 @e752x_check_sysbus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @e752x_check_sysbus(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = shl i32 %6, 16
%8 = add nsw i32 %7, %4
%9 = icmp eq i32 %8, 0
br i1 %9, label %31, label %10
10: ; preds = %3
%11 = lshr i32 %8, 16
%12 = and i32 %4, 135
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = tail call i32 @sysbus_error(i32 noundef 1, i32 noundef %12, ptr noundef %1, i32 noundef %2) #2
br label %16
16: ; preds = %14, %10
%17 = and i32 %4, 888
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @sysbus_error(i32 noundef 0, i32 noundef %17, ptr noundef %1, i32 noundef %2) #2
br label %21
21: ; preds = %19, %16
%22 = and i32 %11, 135
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 @sysbus_error(i32 noundef 1, i32 noundef %22, ptr noundef %1, i32 noundef %2) #2
br label %26
26: ; preds = %24, %21
%27 = and i32 %11, 888
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @sysbus_error(i32 noundef 0, i32 noundef %27, ptr noundef %1, i32 noundef %2) #2
br label %31
31: ; preds = %26, %29, %3
ret void
}
declare i32 @sysbus_error(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"e752x_error_info", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| linux_drivers_edac_extr_e752x_edac.c_e752x_check_sysbus |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_addrcmp.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_addrcmp.c"
target datalayout = "e-m:e-p270:32:32-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 @addrcmp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @addrcmp(ptr nocapture readnone %0, ptr noundef readnone %1, ptr noundef readnone %2) #0 {
%4 = icmp eq ptr %1, %2
%5 = select i1 %4, ptr %1, ptr null
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_addrcmp.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_addrcmp.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 @addrcmp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @addrcmp(ptr nocapture readnone %0, ptr noundef readnone %1, ptr noundef readnone %2) #0 {
%4 = icmp eq ptr %1, %2
%5 = select i1 %4, ptr %1, ptr null
ret ptr %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_netbsd-tests_fs_puffs_h_dtfs_extr_dtfs_vfsops.c_addrcmp |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_memstick.c_memstick_set_rw_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_memstick.c_memstick_set_rw_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.memstick_dev = type { %struct.TYPE_2__, i32, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@h_memstick_set_rw_addr = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @memstick_set_rw_addr(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @h_memstick_set_rw_addr, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 3
store i32 %2, ptr %3, align 4, !tbaa !9
%4 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i32 @memstick_new_req(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.memstick_dev, ptr %0, i64 0, i32 1
%8 = tail call i32 @wait_for_completion(ptr noundef nonnull %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !13
ret i32 %9
}
declare i32 @memstick_new_req(i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion(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 12}
!10 = !{!"memstick_dev", !11, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_memstick.c_memstick_set_rw_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_memstick.c_memstick_set_rw_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@h_memstick_set_rw_addr = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @memstick_set_rw_addr(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @h_memstick_set_rw_addr, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %2, ptr %3, align 4, !tbaa !10
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = tail call i32 @memstick_new_req(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = tail call i32 @wait_for_completion(ptr noundef nonnull %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !14
ret i32 %9
}
declare i32 @memstick_new_req(i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion(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 12}
!11 = !{!"memstick_dev", !12, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_memstick_core_extr_memstick.c_memstick_set_rw_addr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_update_tx_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_update_tx_stats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.net_device_stats = type { i32, i32, i32 }
@TX_FRAME_ABORTED = dso_local local_unnamed_addr global i32 0, align 4
@DUPLEX_FULL = dso_local local_unnamed_addr global i64 0, align 8
@TX_JAB_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@TX_UNDERRUN = dso_local local_unnamed_addr global i32 0, align 4
@TX_NO_CARRIER = dso_local local_unnamed_addr global i32 0, align 4
@TX_LOSS_CARRIER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_tx_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @update_tx_stats(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load i32, ptr @TX_FRAME_ABORTED, align 4, !tbaa !5
%5 = and i32 %4, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %38, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = load i64, ptr @DUPLEX_FULL, align 8, !tbaa !12
%12 = load i64, ptr %8, align 8, !tbaa !14
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10, %7
%15 = load i32, ptr @TX_JAB_TIMEOUT, align 4, !tbaa !5
%16 = load i32, ptr @TX_UNDERRUN, align 4, !tbaa !5
%17 = or i32 %16, %15
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %14
%21 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 2
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4, !tbaa !16
%24 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 1
br label %34
25: ; preds = %10
%26 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 1
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !5
%28 = add nsw <2 x i32> %27, <i32 1, i32 1>
store <2 x i32> %28, ptr %26, align 4, !tbaa !5
%29 = load i32, ptr @TX_NO_CARRIER, align 4, !tbaa !5
%30 = load i32, ptr @TX_LOSS_CARRIER, align 4, !tbaa !5
%31 = or i32 %30, %29
%32 = and i32 %31, %1
%33 = icmp eq i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %25, %20
%35 = phi ptr [ %24, %20 ], [ %0, %25 ]
%36 = load i32, ptr %35, align 4, !tbaa !5
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4, !tbaa !5
br label %38
38: ; preds = %34, %14, %25, %2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"au1000_private", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
!16 = !{!17, !6, i64 8}
!17 = !{!"net_device_stats", !6, i64 0, !6, i64 4, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_update_tx_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_update_tx_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TX_FRAME_ABORTED = common local_unnamed_addr global i32 0, align 4
@DUPLEX_FULL = common local_unnamed_addr global i64 0, align 8
@TX_JAB_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@TX_UNDERRUN = common local_unnamed_addr global i32 0, align 4
@TX_NO_CARRIER = common local_unnamed_addr global i32 0, align 4
@TX_LOSS_CARRIER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @update_tx_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @update_tx_stats(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load i32, ptr @TX_FRAME_ABORTED, align 4, !tbaa !6
%5 = and i32 %4, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %38, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = load i64, ptr @DUPLEX_FULL, align 8, !tbaa !13
%12 = load i64, ptr %8, align 8, !tbaa !15
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10, %7
%15 = load i32, ptr @TX_JAB_TIMEOUT, align 4, !tbaa !6
%16 = load i32, ptr @TX_UNDERRUN, align 4, !tbaa !6
%17 = or i32 %16, %15
%18 = and i32 %17, %1
%19 = icmp eq i32 %18, 0
br i1 %19, label %38, label %20
20: ; preds = %14
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4, !tbaa !17
%24 = getelementptr inbounds i8, ptr %0, i64 4
br label %34
25: ; preds = %10
%26 = getelementptr inbounds i8, ptr %0, i64 4
%27 = load <2 x i32>, ptr %26, align 4, !tbaa !6
%28 = add nsw <2 x i32> %27, <i32 1, i32 1>
store <2 x i32> %28, ptr %26, align 4, !tbaa !6
%29 = load i32, ptr @TX_NO_CARRIER, align 4, !tbaa !6
%30 = load i32, ptr @TX_LOSS_CARRIER, align 4, !tbaa !6
%31 = or i32 %30, %29
%32 = and i32 %31, %1
%33 = icmp eq i32 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %25, %20
%35 = phi ptr [ %24, %20 ], [ %0, %25 ]
%36 = load i32, ptr %35, align 4, !tbaa !6
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4, !tbaa !6
br label %38
38: ; preds = %34, %14, %25, %2
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"au1000_private", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_2__", !14, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"net_device_stats", !7, i64 0, !7, i64 4, !7, i64 8}
| fastsocket_kernel_drivers_net_extr_au1000_eth.c_update_tx_stats |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_libiscsi_tcp.c_iscsi_tcp_hdr_recv_done.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_libiscsi_tcp.c_iscsi_tcp_hdr_recv_done.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.iscsi_tcp_conn = type { %struct.TYPE_6__, i32, ptr }
%struct.TYPE_6__ = type { ptr, i64 }
%struct.iscsi_segment = type { i32, i32, i32, i64, i32, i64, i32 }
%struct.iscsi_conn = type { ptr, i64 }
@ISCSI_ERR_AHSLEN = dso_local local_unnamed_addr global i32 0, align 4
@CAP_DIGEST_OFFLOAD = dso_local local_unnamed_addr global i32 0, align 4
@ISCSI_DIGEST_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@ISCSI_ERR_HDR_DGST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iscsi_tcp_hdr_recv_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iscsi_tcp_hdr_recv_done(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.iscsi_tcp_conn, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr %1, align 8, !tbaa !14
%9 = icmp eq i32 %8, 4
br i1 %9, label %10, label %24
10: ; preds = %2
%11 = load i32, ptr %7, align 4, !tbaa !16
%12 = icmp eq i32 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %10
%14 = shl i32 %11, 2
%15 = icmp ugt i32 %14, 4
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr @ISCSI_ERR_AHSLEN, align 4, !tbaa !18
br label %59
18: ; preds = %13
%19 = getelementptr inbounds %struct.iscsi_segment, ptr %1, i64 0, i32 1
%20 = load <2 x i32>, ptr %19, align 4, !tbaa !18
%21 = insertelement <2 x i32> poison, i32 %14, i64 0
%22 = shufflevector <2 x i32> %21, <2 x i32> poison, <2 x i32> zeroinitializer
%23 = add <2 x i32> %20, %22
store <2 x i32> %23, ptr %19, align 4, !tbaa !18
br label %59
24: ; preds = %10, %2
%25 = getelementptr inbounds %struct.iscsi_conn, ptr %4, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !19
%27 = icmp eq i64 %26, 0
br i1 %27, label %57, label %28
28: ; preds = %24
%29 = load ptr, ptr %4, align 8, !tbaa !21
%30 = load ptr, ptr %29, align 8, !tbaa !22
%31 = load i32, ptr %30, align 4, !tbaa !24
%32 = load i32, ptr @CAP_DIGEST_OFFLOAD, align 4, !tbaa !18
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %57
35: ; preds = %28
%36 = getelementptr inbounds %struct.iscsi_segment, ptr %1, i64 0, i32 3
%37 = load i64, ptr %36, align 8, !tbaa !26
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds %struct.iscsi_segment, ptr %1, i64 0, i32 6
%41 = load i32, ptr %40, align 8, !tbaa !27
%42 = tail call i32 @iscsi_tcp_segment_splice_digest(ptr noundef nonnull %1, i32 noundef %41) #2
br label %59
43: ; preds = %35
%44 = getelementptr inbounds %struct.iscsi_tcp_conn, ptr %0, i64 0, i32 1
%45 = load i32, ptr %44, align 8, !tbaa !28
%46 = getelementptr inbounds %struct.iscsi_segment, ptr %1, i64 0, i32 5
%47 = load i64, ptr %46, align 8, !tbaa !29
%48 = load i64, ptr @ISCSI_DIGEST_SIZE, align 8, !tbaa !30
%49 = sub nsw i64 %47, %48
%50 = getelementptr inbounds %struct.iscsi_segment, ptr %1, i64 0, i32 4
%51 = load i32, ptr %50, align 8, !tbaa !31
%52 = tail call i32 @iscsi_tcp_dgst_header(i32 noundef %45, ptr noundef %7, i64 noundef %49, i32 noundef %51) #2
%53 = tail call i32 @iscsi_tcp_dgst_verify(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %43
%56 = load i32, ptr @ISCSI_ERR_HDR_DGST, align 4, !tbaa !18
br label %59
57: ; preds = %43, %28, %24
store ptr %7, ptr %0, align 8, !tbaa !32
%58 = tail call i32 @iscsi_tcp_hdr_dissect(ptr noundef nonnull %4, ptr noundef %7) #2
br label %59
59: ; preds = %16, %18, %57, %55, %39
%60 = phi i32 [ %58, %57 ], [ 0, %39 ], [ %56, %55 ], [ %17, %16 ], [ 0, %18 ]
ret i32 %60
}
declare i32 @iscsi_tcp_segment_splice_digest(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_dgst_header(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_dgst_verify(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_hdr_dissect(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 24}
!6 = !{!"iscsi_tcp_conn", !7, i64 0, !12, i64 16, !8, i64 24}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!6, !11, i64 8}
!14 = !{!15, !12, i64 0}
!15 = !{!"iscsi_segment", !12, i64 0, !12, i64 4, !12, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !12, i64 40}
!16 = !{!17, !12, i64 0}
!17 = !{!"iscsi_hdr", !12, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!20, !11, i64 8}
!20 = !{!"iscsi_conn", !8, i64 0, !11, i64 8}
!21 = !{!20, !8, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"TYPE_5__", !8, i64 0}
!24 = !{!25, !12, i64 0}
!25 = !{!"TYPE_4__", !12, i64 0}
!26 = !{!15, !11, i64 16}
!27 = !{!15, !12, i64 40}
!28 = !{!6, !12, i64 16}
!29 = !{!15, !11, i64 32}
!30 = !{!11, !11, i64 0}
!31 = !{!15, !12, i64 24}
!32 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_libiscsi_tcp.c_iscsi_tcp_hdr_recv_done.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_libiscsi_tcp.c_iscsi_tcp_hdr_recv_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ISCSI_ERR_AHSLEN = common local_unnamed_addr global i32 0, align 4
@CAP_DIGEST_OFFLOAD = common local_unnamed_addr global i32 0, align 4
@ISCSI_DIGEST_SIZE = common local_unnamed_addr global i64 0, align 8
@ISCSI_ERR_HDR_DGST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iscsi_tcp_hdr_recv_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iscsi_tcp_hdr_recv_done(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr %1, align 8, !tbaa !15
%9 = icmp eq i32 %8, 4
br i1 %9, label %10, label %24
10: ; preds = %2
%11 = load i32, ptr %7, align 4, !tbaa !17
%12 = icmp eq i32 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %10
%14 = shl i32 %11, 2
%15 = icmp ugt i32 %14, 4
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr @ISCSI_ERR_AHSLEN, align 4, !tbaa !19
br label %59
18: ; preds = %13
%19 = getelementptr inbounds i8, ptr %1, i64 4
%20 = load <2 x i32>, ptr %19, align 4, !tbaa !19
%21 = insertelement <2 x i32> poison, i32 %14, i64 0
%22 = shufflevector <2 x i32> %21, <2 x i32> poison, <2 x i32> zeroinitializer
%23 = add <2 x i32> %20, %22
store <2 x i32> %23, ptr %19, align 4, !tbaa !19
br label %59
24: ; preds = %10, %2
%25 = getelementptr inbounds i8, ptr %4, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !20
%27 = icmp eq i64 %26, 0
br i1 %27, label %57, label %28
28: ; preds = %24
%29 = load ptr, ptr %4, align 8, !tbaa !22
%30 = load ptr, ptr %29, align 8, !tbaa !23
%31 = load i32, ptr %30, align 4, !tbaa !25
%32 = load i32, ptr @CAP_DIGEST_OFFLOAD, align 4, !tbaa !19
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %57
35: ; preds = %28
%36 = getelementptr inbounds i8, ptr %1, i64 16
%37 = load i64, ptr %36, align 8, !tbaa !27
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = getelementptr inbounds i8, ptr %1, i64 40
%41 = load i32, ptr %40, align 8, !tbaa !28
%42 = tail call i32 @iscsi_tcp_segment_splice_digest(ptr noundef nonnull %1, i32 noundef %41) #2
br label %59
43: ; preds = %35
%44 = getelementptr inbounds i8, ptr %0, i64 16
%45 = load i32, ptr %44, align 8, !tbaa !29
%46 = getelementptr inbounds i8, ptr %1, i64 32
%47 = load i64, ptr %46, align 8, !tbaa !30
%48 = load i64, ptr @ISCSI_DIGEST_SIZE, align 8, !tbaa !31
%49 = sub nsw i64 %47, %48
%50 = getelementptr inbounds i8, ptr %1, i64 24
%51 = load i32, ptr %50, align 8, !tbaa !32
%52 = tail call i32 @iscsi_tcp_dgst_header(i32 noundef %45, ptr noundef %7, i64 noundef %49, i32 noundef %51) #2
%53 = tail call i32 @iscsi_tcp_dgst_verify(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %43
%56 = load i32, ptr @ISCSI_ERR_HDR_DGST, align 4, !tbaa !19
br label %59
57: ; preds = %43, %28, %24
store ptr %7, ptr %0, align 8, !tbaa !33
%58 = tail call i32 @iscsi_tcp_hdr_dissect(ptr noundef nonnull %4, ptr noundef %7) #2
br label %59
59: ; preds = %16, %18, %57, %55, %39
%60 = phi i32 [ %58, %57 ], [ 0, %39 ], [ %56, %55 ], [ %17, %16 ], [ 0, %18 ]
ret i32 %60
}
declare i32 @iscsi_tcp_segment_splice_digest(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_dgst_header(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_dgst_verify(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iscsi_tcp_hdr_dissect(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 24}
!7 = !{!"iscsi_tcp_conn", !8, i64 0, !13, i64 16, !9, i64 24}
!8 = !{!"TYPE_6__", !9, i64 0, !12, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!7, !12, i64 8}
!15 = !{!16, !13, i64 0}
!16 = !{!"iscsi_segment", !13, i64 0, !13, i64 4, !13, i64 8, !12, i64 16, !13, i64 24, !12, i64 32, !13, i64 40}
!17 = !{!18, !13, i64 0}
!18 = !{!"iscsi_hdr", !13, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !12, i64 8}
!21 = !{!"iscsi_conn", !9, i64 0, !12, i64 8}
!22 = !{!21, !9, i64 0}
!23 = !{!24, !9, i64 0}
!24 = !{!"TYPE_5__", !9, i64 0}
!25 = !{!26, !13, i64 0}
!26 = !{!"TYPE_4__", !13, i64 0}
!27 = !{!16, !12, i64 16}
!28 = !{!16, !13, i64 40}
!29 = !{!7, !13, i64 16}
!30 = !{!16, !12, i64 32}
!31 = !{!12, !12, i64 0}
!32 = !{!16, !13, i64 24}
!33 = !{!7, !9, i64 0}
| linux_drivers_scsi_extr_libiscsi_tcp.c_iscsi_tcp_hdr_recv_done |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uvisor.c_uvisor_attach.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uvisor.c_uvisor_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.usb_config = type { i32 }
%struct.uvisor_softc = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.usb_attach_arg = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@UVISOR_N_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"sc=%p\0A\00", align 1
@uvisor_config = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"uvisor\00", align 1
@MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4
@UVISOR_IFACE_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"init failed, error=%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"could not allocate all pipes\0A\00", align 1
@uvisor_callback = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"ucom_attach failed\0A\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uvisor_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uvisor_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_ivars(i32 noundef %0) #2
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i32, ptr @UVISOR_N_TRANSFER, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca %struct.usb_config, i64 %5, align 16
%7 = tail call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str, ptr noundef %3) #2
%8 = load i32, ptr @uvisor_config, align 4, !tbaa !5
%9 = shl i32 %4, 2
%10 = call i32 @memcpy(ptr noundef nonnull %6, i32 noundef %8, i32 noundef %9) #2
%11 = call i32 @device_set_usb_desc(i32 noundef %0) #2
%12 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 1
%13 = load i32, ptr @MTX_DEF, align 4, !tbaa !5
%14 = call i32 @mtx_init(ptr noundef nonnull %12, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %13) #2
%15 = call i32 @ucom_ref(ptr noundef %3) #2
%16 = load i32, ptr %2, align 4, !tbaa !9
%17 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 7
store i32 %16, ptr %17, align 4, !tbaa !12
%18 = call i32 @USB_GET_DRIVER_INFO(ptr noundef nonnull %2) #2
%19 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 6
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = getelementptr inbounds %struct.usb_attach_arg, ptr %2, i64 0, i32 1
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 5
store i32 %21, ptr %22, align 4, !tbaa !16
%23 = load i32, ptr @UVISOR_IFACE_INDEX, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 4
store i32 %23, ptr %24, align 4, !tbaa !17
%25 = load i32, ptr %2, align 4, !tbaa !9
%26 = call i32 @uvisor_init(ptr noundef %3, i32 noundef %25, ptr noundef nonnull %6) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %1
%29 = call i32 @usbd_errstr(i32 noundef %26) #2
%30 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.2, i32 noundef %29) #2
br label %48
31: ; preds = %1
%32 = load i32, ptr %2, align 4, !tbaa !9
%33 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !18
%35 = load i32, ptr @UVISOR_N_TRANSFER, align 4, !tbaa !5
%36 = call i32 @usbd_transfer_setup(i32 noundef %32, ptr noundef nonnull %24, i32 noundef %34, ptr noundef nonnull %6, i32 noundef %35, ptr noundef nonnull %3, ptr noundef nonnull %12) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %31
%39 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.3) #2
br label %48
40: ; preds = %31
%41 = getelementptr inbounds %struct.uvisor_softc, ptr %3, i64 0, i32 2
%42 = call i32 @ucom_attach(ptr noundef nonnull %3, ptr noundef nonnull %41, i32 noundef 1, ptr noundef nonnull %3, ptr noundef nonnull @uvisor_callback, ptr noundef nonnull %12) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.4) #2
br label %48
46: ; preds = %40
%47 = call i32 @ucom_set_pnpinfo_usb(ptr noundef nonnull %3, i32 noundef %0) #2
br label %51
48: ; preds = %44, %38, %28
%49 = call i32 @uvisor_detach(i32 noundef %0) #2
%50 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %51
51: ; preds = %48, %46
%52 = phi i32 [ %50, %48 ], [ 0, %46 ]
ret i32 %52
}
declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, ...) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_set_usb_desc(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucom_ref(ptr noundef) local_unnamed_addr #1
declare i32 @USB_GET_DRIVER_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @uvisor_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbd_errstr(i32 noundef) local_unnamed_addr #1
declare i32 @usbd_transfer_setup(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ucom_attach(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ucom_set_pnpinfo_usb(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uvisor_detach(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 = !{!"usb_attach_arg", !6, i64 0, !11, i64 4}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!13, !6, i64 28}
!13 = !{!"uvisor_softc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28}
!14 = !{!13, !6, i64 24}
!15 = !{!10, !6, i64 4}
!16 = !{!13, !6, i64 20}
!17 = !{!13, !6, i64 16}
!18 = !{!13, !6, i64 12}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uvisor.c_uvisor_attach.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uvisor.c_uvisor_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.usb_config = type { i32 }
@UVISOR_N_TRANSFER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"sc=%p\0A\00", align 1
@uvisor_config = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"uvisor\00", align 1
@MTX_DEF = common local_unnamed_addr global i32 0, align 4
@UVISOR_IFACE_INDEX = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"init failed, error=%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"could not allocate all pipes\0A\00", align 1
@uvisor_callback = common global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"ucom_attach failed\0A\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uvisor_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @uvisor_attach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_ivars(i32 noundef %0) #2
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i32, ptr @UVISOR_N_TRANSFER, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca %struct.usb_config, i64 %5, align 4
%7 = tail call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str, ptr noundef %3) #2
%8 = load i32, ptr @uvisor_config, align 4, !tbaa !6
%9 = shl i32 %4, 2
%10 = call i32 @memcpy(ptr noundef nonnull %6, i32 noundef %8, i32 noundef %9) #2
%11 = call i32 @device_set_usb_desc(i32 noundef %0) #2
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = load i32, ptr @MTX_DEF, align 4, !tbaa !6
%14 = call i32 @mtx_init(ptr noundef nonnull %12, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %13) #2
%15 = call i32 @ucom_ref(ptr noundef %3) #2
%16 = load i32, ptr %2, align 4, !tbaa !10
%17 = getelementptr inbounds i8, ptr %3, i64 28
store i32 %16, ptr %17, align 4, !tbaa !13
%18 = call i32 @USB_GET_DRIVER_INFO(ptr noundef nonnull %2) #2
%19 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %18, ptr %19, align 4, !tbaa !15
%20 = getelementptr inbounds i8, ptr %2, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = getelementptr inbounds i8, ptr %3, i64 20
store i32 %21, ptr %22, align 4, !tbaa !17
%23 = load i32, ptr @UVISOR_IFACE_INDEX, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %23, ptr %24, align 4, !tbaa !18
%25 = load i32, ptr %2, align 4, !tbaa !10
%26 = call i32 @uvisor_init(ptr noundef %3, i32 noundef %25, ptr noundef nonnull %6) #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %1
%29 = call i32 @usbd_errstr(i32 noundef %26) #2
%30 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.2, i32 noundef %29) #2
br label %48
31: ; preds = %1
%32 = load i32, ptr %2, align 4, !tbaa !10
%33 = getelementptr inbounds i8, ptr %3, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !19
%35 = load i32, ptr @UVISOR_N_TRANSFER, align 4, !tbaa !6
%36 = call i32 @usbd_transfer_setup(i32 noundef %32, ptr noundef nonnull %24, i32 noundef %34, ptr noundef nonnull %6, i32 noundef %35, ptr noundef nonnull %3, ptr noundef nonnull %12) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %31
%39 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.3) #2
br label %48
40: ; preds = %31
%41 = getelementptr inbounds i8, ptr %3, i64 8
%42 = call i32 @ucom_attach(ptr noundef nonnull %3, ptr noundef nonnull %41, i32 noundef 1, ptr noundef nonnull %3, ptr noundef nonnull @uvisor_callback, ptr noundef nonnull %12) #2
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = call i32 (ptr, ...) @DPRINTF(ptr noundef nonnull @.str.4) #2
br label %48
46: ; preds = %40
%47 = call i32 @ucom_set_pnpinfo_usb(ptr noundef nonnull %3, i32 noundef %0) #2
br label %51
48: ; preds = %44, %38, %28
%49 = call i32 @uvisor_detach(i32 noundef %0) #2
%50 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %51
51: ; preds = %48, %46
%52 = phi i32 [ %50, %48 ], [ 0, %46 ]
ret i32 %52
}
declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTF(ptr noundef, ...) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_set_usb_desc(i32 noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucom_ref(ptr noundef) local_unnamed_addr #1
declare i32 @USB_GET_DRIVER_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @uvisor_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbd_errstr(i32 noundef) local_unnamed_addr #1
declare i32 @usbd_transfer_setup(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ucom_attach(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ucom_set_pnpinfo_usb(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uvisor_detach(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 = !{!"usb_attach_arg", !7, i64 0, !12, i64 4}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!14, !7, i64 28}
!14 = !{!"uvisor_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!15 = !{!14, !7, i64 24}
!16 = !{!11, !7, i64 4}
!17 = !{!14, !7, i64 20}
!18 = !{!14, !7, i64 16}
!19 = !{!14, !7, i64 12}
| freebsd_sys_dev_usb_serial_extr_uvisor.c_uvisor_attach |
; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c_dev_xdp_uninstall.c'
source_filename = "AnghaBench/linux/net/core/extr_dev.c_dev_xdp_uninstall.c"
target datalayout = "e-m:e-p270:32:32-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.netdev_bpf = type { i32, i64, i32 }
@XDP_QUERY_PROG = dso_local local_unnamed_addr global i32 0, align 4
@XDP_QUERY_PROG_HW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dev_xdp_uninstall], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dev_xdp_uninstall(ptr noundef %0) #0 {
%2 = alloca %struct.netdev_bpf, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
%3 = tail call i32 @dev_xdp_install(ptr noundef %0, ptr noundef nonnull @generic_xdp_install, ptr noundef null, i32 noundef 0, ptr noundef null) #3
%4 = tail call i32 @WARN_ON(i32 noundef %3) #3
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %33, label %8
8: ; preds = %1
%9 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%10 = load i32, ptr @XDP_QUERY_PROG, align 4, !tbaa !12
%11 = getelementptr inbounds %struct.netdev_bpf, ptr %2, i64 0, i32 2
store i32 %10, ptr %11, align 8, !tbaa !14
%12 = call i32 %6(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%13 = call i32 @WARN_ON(i32 noundef %12) #3
%14 = getelementptr inbounds %struct.netdev_bpf, ptr %2, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 8, !tbaa !18
%19 = call i32 @dev_xdp_install(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef null, i32 noundef %18, ptr noundef null) #3
%20 = call i32 @WARN_ON(i32 noundef %19) #3
br label %21
21: ; preds = %17, %8
%22 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%23 = load i32, ptr @XDP_QUERY_PROG_HW, align 4, !tbaa !12
store i32 %23, ptr %11, align 8, !tbaa !14
%24 = call i32 %6(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%25 = icmp eq i32 %24, 0
%26 = load i64, ptr %14, align 8
%27 = icmp ne i64 %26, 0
%28 = select i1 %25, i1 %27, i1 false
br i1 %28, label %29, label %33
29: ; preds = %21
%30 = load i32, ptr %2, align 8, !tbaa !18
%31 = call i32 @dev_xdp_install(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef null, i32 noundef %30, ptr noundef null) #3
%32 = call i32 @WARN_ON(i32 noundef %31) #3
br label %33
33: ; preds = %21, %29, %1
call void @llvm.lifetime.end.p0(i64 24, 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 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @dev_xdp_install(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @generic_xdp_install(ptr noundef, ptr noundef) #2
declare i32 @memset(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 = !{!"net_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 16}
!15 = !{!"netdev_bpf", !13, i64 0, !16, i64 8, !13, i64 16}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c_dev_xdp_uninstall.c'
source_filename = "AnghaBench/linux/net/core/extr_dev.c_dev_xdp_uninstall.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.netdev_bpf = type { i32, i64, i32 }
@XDP_QUERY_PROG = common local_unnamed_addr global i32 0, align 4
@XDP_QUERY_PROG_HW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dev_xdp_uninstall], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dev_xdp_uninstall(ptr noundef %0) #0 {
%2 = alloca %struct.netdev_bpf, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
%3 = tail call i32 @dev_xdp_install(ptr noundef %0, ptr noundef nonnull @generic_xdp_install, ptr noundef null, i32 noundef 0, ptr noundef null) #3
%4 = tail call i32 @WARN_ON(i32 noundef %3) #3
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %33, label %8
8: ; preds = %1
%9 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%10 = load i32, ptr @XDP_QUERY_PROG, align 4, !tbaa !13
%11 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %10, ptr %11, align 8, !tbaa !15
%12 = call i32 %6(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%13 = call i32 @WARN_ON(i32 noundef %12) #3
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !18
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 8, !tbaa !19
%19 = call i32 @dev_xdp_install(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef null, i32 noundef %18, ptr noundef null) #3
%20 = call i32 @WARN_ON(i32 noundef %19) #3
br label %21
21: ; preds = %17, %8
%22 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%23 = load i32, ptr @XDP_QUERY_PROG_HW, align 4, !tbaa !13
store i32 %23, ptr %11, align 8, !tbaa !15
%24 = call i32 %6(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%25 = icmp eq i32 %24, 0
%26 = load i64, ptr %14, align 8
%27 = icmp ne i64 %26, 0
%28 = select i1 %25, i1 %27, i1 false
br i1 %28, label %29, label %33
29: ; preds = %21
%30 = load i32, ptr %2, align 8, !tbaa !19
%31 = call i32 @dev_xdp_install(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef null, i32 noundef %30, ptr noundef null) #3
%32 = call i32 @WARN_ON(i32 noundef %31) #3
br label %33
33: ; preds = %21, %29, %1
call void @llvm.lifetime.end.p0(i64 24, 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 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @dev_xdp_install(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @generic_xdp_install(ptr noundef, ptr noundef) #2
declare i32 @memset(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 = !{!"net_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 16}
!16 = !{!"netdev_bpf", !14, i64 0, !17, i64 8, !14, i64 16}
!17 = !{!"long", !9, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!16, !14, i64 0}
| linux_net_core_extr_dev.c_dev_xdp_uninstall |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/audio/extr_audio_mixer.c_audio_mixer_load_mod.c'
source_filename = "AnghaBench/RetroArch/libretro-common/audio/extr_audio_mixer.c_audio_mixer_load_mod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AUDIO_MIXER_TYPE_MOD = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noalias noundef ptr @audio_mixer_load_mod(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #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/RetroArch/libretro-common/audio/extr_audio_mixer.c_audio_mixer_load_mod.c'
source_filename = "AnghaBench/RetroArch/libretro-common/audio/extr_audio_mixer.c_audio_mixer_load_mod.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUDIO_MIXER_TYPE_MOD = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noalias noundef ptr @audio_mixer_load_mod(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #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)"}
| RetroArch_libretro-common_audio_extr_audio_mixer.c_audio_mixer_load_mod |
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_iterators.c_spl_recursive_it_get_current_data.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_iterators.c_spl_recursive_it_get_current_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_10__ = type { ptr, i32 }
%struct.TYPE_11__ = type { i64, ptr }
%struct.TYPE_8__ = type { ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @spl_recursive_it_get_current_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @spl_recursive_it_get_current_data(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%3 = tail call ptr @Z_SPLRECURSIVE_IT_P(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %3, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = tail call ptr %10(ptr noundef nonnull %8) #2
ret ptr %11
}
declare ptr @Z_SPLRECURSIVE_IT_P(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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_11__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_8__", !10, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_10__", !10, i64 0, !16, i64 8}
!16 = !{!"int", !8, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_9__", !10, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_iterators.c_spl_recursive_it_get_current_data.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_iterators.c_spl_recursive_it_get_current_data.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 { ptr }
@llvm.used = appending global [1 x ptr] [ptr @spl_recursive_it_get_current_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @spl_recursive_it_get_current_data(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call ptr @Z_SPLRECURSIVE_IT_P(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %3, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = load ptr, ptr %9, align 8, !tbaa !18
%11 = tail call ptr %10(ptr noundef nonnull %8) #2
ret ptr %11
}
declare ptr @Z_SPLRECURSIVE_IT_P(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_11__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_8__", !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_10__", !11, i64 0, !17, i64 8}
!17 = !{!"int", !9, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_9__", !11, i64 0}
| php-src_ext_spl_extr_spl_iterators.c_spl_recursive_it_get_current_data |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_main.h_is_mbpf_jmp32.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_main.h_is_mbpf_jmp32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BPF_JMP32 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_mbpf_jmp32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @is_mbpf_jmp32(ptr noundef %0) #0 {
%2 = tail call i64 @mbpf_class(ptr noundef %0) #2
%3 = load i64, ptr @BPF_JMP32, align 8, !tbaa !5
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i64 @mbpf_class(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_main.h_is_mbpf_jmp32.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_main.h_is_mbpf_jmp32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BPF_JMP32 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @is_mbpf_jmp32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_mbpf_jmp32(ptr noundef %0) #0 {
%2 = tail call i64 @mbpf_class(ptr noundef %0) #2
%3 = load i64, ptr @BPF_JMP32, align 8, !tbaa !6
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
declare i64 @mbpf_class(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_netronome_nfp_bpf_extr_main.h_is_mbpf_jmp32 |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_cmd.c_wl12xx_cmd_croc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_cmd.c_wl12xx_cmd_croc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DEBUG_CMD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"cmd croc (%d)\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@CMD_CANCEL_REMAIN_ON_CHANNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"failed to send ROC command\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wl12xx_cmd_croc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wl12xx_cmd_croc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @DEBUG_CMD, align 4, !tbaa !5
%4 = tail call i32 @wl1271_debug(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %19
11: ; preds = %2
store i32 %1, ptr %6, align 4, !tbaa !9
%12 = load i32, ptr @CMD_CANCEL_REMAIN_ON_CHANNEL, align 4, !tbaa !5
%13 = tail call i32 @wl1271_cmd_send(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6, i32 noundef 4, i32 noundef 0) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %11, %15
%18 = tail call i32 @kfree(ptr noundef nonnull %6) #2
br label %19
19: ; preds = %17, %8
%20 = phi i32 [ %13, %17 ], [ %10, %8 ]
ret i32 %20
}
declare i32 @wl1271_debug(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_cmd_send(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"wl12xx_cmd_croc", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_cmd.c_wl12xx_cmd_croc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_cmd.c_wl12xx_cmd_croc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEBUG_CMD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"cmd croc (%d)\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@CMD_CANCEL_REMAIN_ON_CHANNEL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"failed to send ROC command\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wl12xx_cmd_croc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wl12xx_cmd_croc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @DEBUG_CMD, align 4, !tbaa !6
%4 = tail call i32 @wl1271_debug(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %19
11: ; preds = %2
store i32 %1, ptr %6, align 4, !tbaa !10
%12 = load i32, ptr @CMD_CANCEL_REMAIN_ON_CHANNEL, align 4, !tbaa !6
%13 = tail call i32 @wl1271_cmd_send(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6, i32 noundef 4, i32 noundef 0) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %11, %15
%18 = tail call i32 @kfree(ptr noundef nonnull %6) #2
br label %19
19: ; preds = %17, %8
%20 = phi i32 [ %13, %17 ], [ %10, %8 ]
ret i32 %20
}
declare i32 @wl1271_debug(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_cmd_send(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_error(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"wl12xx_cmd_croc", !7, i64 0}
| linux_drivers_net_wireless_ti_wlcore_extr_cmd.c_wl12xx_cmd_croc |
; ModuleID = 'AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_process_ex.c'
source_filename = "AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_process_ex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @au_to_process_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @au_to_process32_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #2
ret ptr %9
}
declare ptr @au_to_process32_ex(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_process_ex.c'
source_filename = "AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_process_ex.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @au_to_process_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @au_to_process32_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #2
ret ptr %9
}
declare ptr @au_to_process32_ex(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_security_audit_extr_bsm_token.c_au_to_process_ex |
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb_handle_events_locked.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb_handle_events_locked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LIBUSB_ERROR_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @libusb_handle_events_locked(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @GET_CONTEXT(ptr noundef %0) #2
%4 = tail call i64 @libusb_event_handling_ok(ptr noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @libusb10_handle_events_sub(ptr noundef %3, ptr noundef %1) #2
br label %13
8: ; preds = %2
%9 = tail call i32 @libusb_wait_for_event(ptr noundef %3, ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
%11 = load i32, ptr @LIBUSB_ERROR_TIMEOUT, align 4
%12 = select i1 %10, i32 0, i32 %11
br label %13
13: ; preds = %8, %6
%14 = phi i32 [ %7, %6 ], [ %12, %8 ]
ret i32 %14
}
declare ptr @GET_CONTEXT(ptr noundef) local_unnamed_addr #1
declare i64 @libusb_event_handling_ok(ptr noundef) local_unnamed_addr #1
declare i32 @libusb10_handle_events_sub(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libusb_wait_for_event(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb_handle_events_locked.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10_io.c_libusb_handle_events_locked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LIBUSB_ERROR_TIMEOUT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @libusb_handle_events_locked(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @GET_CONTEXT(ptr noundef %0) #2
%4 = tail call i64 @libusb_event_handling_ok(ptr noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @libusb10_handle_events_sub(ptr noundef %3, ptr noundef %1) #2
br label %13
8: ; preds = %2
%9 = tail call i32 @libusb_wait_for_event(ptr noundef %3, ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
%11 = load i32, ptr @LIBUSB_ERROR_TIMEOUT, align 4
%12 = select i1 %10, i32 0, i32 %11
br label %13
13: ; preds = %8, %6
%14 = phi i32 [ %7, %6 ], [ %12, %8 ]
ret i32 %14
}
declare ptr @GET_CONTEXT(ptr noundef) local_unnamed_addr #1
declare i64 @libusb_event_handling_ok(ptr noundef) local_unnamed_addr #1
declare i32 @libusb10_handle_events_sub(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libusb_wait_for_event(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_lib_libusb_extr_libusb10_io.c_libusb_handle_events_locked |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bnx2.c_bnx2_nvram_read_dword.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bnx2.c_bnx2_nvram_read_dword.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, i32 }
@BNX2_NVM_COMMAND_DOIT = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NV_TRANSLATE = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NVM_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NVM_COMMAND_DONE = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NVM_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NVM_ADDR_NVM_ADDR_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@NVRAM_TIMEOUT_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@BNX2_NVM_READ = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2_nvram_read_dword], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bnx2_nvram_read_dword(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr @BNX2_NVM_COMMAND_DOIT, align 4, !tbaa !5
%7 = or i32 %6, %3
%8 = load ptr, ptr %0, align 8, !tbaa !9
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = load i32, ptr @BNX2_NV_TRANSLATE, align 4, !tbaa !5
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %22, label %13
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = sdiv i32 %1, %15
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = shl i32 %16, %18
%20 = srem i32 %1, %15
%21 = add nsw i32 %19, %20
br label %22
22: ; preds = %13, %4
%23 = phi i32 [ %21, %13 ], [ %1, %4 ]
%24 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !5
%25 = load i32, ptr @BNX2_NVM_COMMAND_DONE, align 4, !tbaa !5
%26 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %25) #3
%27 = load i32, ptr @BNX2_NVM_ADDR, align 4, !tbaa !5
%28 = load i32, ptr @BNX2_NVM_ADDR_NVM_ADDR_VALUE, align 4, !tbaa !5
%29 = and i32 %28, %23
%30 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %27, i32 noundef %29) #3
%31 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !5
%32 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %7) #3
%33 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !5
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %53
35: ; preds = %22, %49
%36 = phi i32 [ %50, %49 ], [ 0, %22 ]
%37 = tail call i32 @udelay(i32 noundef 5) #3
%38 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !5
%39 = tail call i32 @BNX2_RD(ptr noundef nonnull %0, i32 noundef %38) #3
%40 = load i32, ptr @BNX2_NVM_COMMAND_DONE, align 4, !tbaa !5
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %49, label %43
43: ; preds = %35
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%44 = load i32, ptr @BNX2_NVM_READ, align 4, !tbaa !5
%45 = tail call i32 @BNX2_RD(ptr noundef nonnull %0, i32 noundef %44) #3
%46 = tail call i32 @cpu_to_be32(i32 noundef %45) #3
store i32 %46, ptr %5, align 4, !tbaa !5
%47 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %5, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
%48 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !5
br label %53
49: ; preds = %35
%50 = add nuw nsw i32 %36, 1
%51 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !5
%52 = icmp slt i32 %50, %51
br i1 %52, label %35, label %53, !llvm.loop !16
53: ; preds = %49, %22, %43
%54 = phi i32 [ %48, %43 ], [ %33, %22 ], [ %51, %49 ]
%55 = phi i32 [ %36, %43 ], [ 0, %22 ], [ %50, %49 ]
%56 = icmp slt i32 %55, %54
%57 = load i32, ptr @EBUSY, align 4
%58 = sub nsw i32 0, %57
%59 = select i1 %56, i32 0, i32 %58
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BNX2_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @BNX2_RD(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"bnx2", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8}
!14 = !{!13, !6, i64 4}
!15 = !{!13, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bnx2.c_bnx2_nvram_read_dword.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_bnx2.c_bnx2_nvram_read_dword.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BNX2_NVM_COMMAND_DOIT = common local_unnamed_addr global i32 0, align 4
@BNX2_NV_TRANSLATE = common local_unnamed_addr global i32 0, align 4
@BNX2_NVM_COMMAND = common local_unnamed_addr global i32 0, align 4
@BNX2_NVM_COMMAND_DONE = common local_unnamed_addr global i32 0, align 4
@BNX2_NVM_ADDR = common local_unnamed_addr global i32 0, align 4
@BNX2_NVM_ADDR_NVM_ADDR_VALUE = common local_unnamed_addr global i32 0, align 4
@NVRAM_TIMEOUT_COUNT = common local_unnamed_addr global i32 0, align 4
@BNX2_NVM_READ = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnx2_nvram_read_dword], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @bnx2_nvram_read_dword(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr @BNX2_NVM_COMMAND_DOIT, align 4, !tbaa !6
%7 = or i32 %6, %3
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @BNX2_NV_TRANSLATE, align 4, !tbaa !6
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %24, label %13
13: ; preds = %4
%14 = getelementptr inbounds i8, ptr %8, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = freeze i32 %15
%17 = sdiv i32 %1, %16
%18 = getelementptr inbounds i8, ptr %8, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = shl i32 %17, %19
%21 = mul i32 %17, %16
%22 = sub i32 %1, %21
%23 = add nsw i32 %20, %22
br label %24
24: ; preds = %13, %4
%25 = phi i32 [ %23, %13 ], [ %1, %4 ]
%26 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !6
%27 = load i32, ptr @BNX2_NVM_COMMAND_DONE, align 4, !tbaa !6
%28 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %27) #3
%29 = load i32, ptr @BNX2_NVM_ADDR, align 4, !tbaa !6
%30 = load i32, ptr @BNX2_NVM_ADDR_NVM_ADDR_VALUE, align 4, !tbaa !6
%31 = and i32 %30, %25
%32 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %31) #3
%33 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !6
%34 = tail call i32 @BNX2_WR(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %7) #3
%35 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !6
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %55
37: ; preds = %24, %51
%38 = phi i32 [ %52, %51 ], [ 0, %24 ]
%39 = tail call i32 @udelay(i32 noundef 5) #3
%40 = load i32, ptr @BNX2_NVM_COMMAND, align 4, !tbaa !6
%41 = tail call i32 @BNX2_RD(ptr noundef nonnull %0, i32 noundef %40) #3
%42 = load i32, ptr @BNX2_NVM_COMMAND_DONE, align 4, !tbaa !6
%43 = and i32 %42, %41
%44 = icmp eq i32 %43, 0
br i1 %44, label %51, label %45
45: ; preds = %37
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%46 = load i32, ptr @BNX2_NVM_READ, align 4, !tbaa !6
%47 = tail call i32 @BNX2_RD(ptr noundef nonnull %0, i32 noundef %46) #3
%48 = tail call i32 @cpu_to_be32(i32 noundef %47) #3
store i32 %48, ptr %5, align 4, !tbaa !6
%49 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %5, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
%50 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !6
br label %55
51: ; preds = %37
%52 = add nuw nsw i32 %38, 1
%53 = load i32, ptr @NVRAM_TIMEOUT_COUNT, align 4, !tbaa !6
%54 = icmp slt i32 %52, %53
br i1 %54, label %37, label %55, !llvm.loop !17
55: ; preds = %51, %24, %45
%56 = phi i32 [ %50, %45 ], [ %35, %24 ], [ %53, %51 ]
%57 = phi i32 [ %38, %45 ], [ 0, %24 ], [ %52, %51 ]
%58 = icmp slt i32 %57, %56
%59 = load i32, ptr @EBUSY, align 4
%60 = sub nsw i32 0, %59
%61 = select i1 %58, i32 0, i32 %60
ret i32 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BNX2_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @BNX2_RD(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"bnx2", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8}
!15 = !{!14, !7, i64 4}
!16 = !{!14, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_broadcom_extr_bnx2.c_bnx2_nvram_read_dword |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_main_unmask.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_main_unmask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MPC52xx_IRQ_L2_MASK = dso_local local_unnamed_addr global i32 0, align 4
@intr = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @mpc52xx_main_unmask], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mpc52xx_main_unmask(ptr noundef %0) #0 {
%2 = tail call i32 @irqd_to_hwirq(ptr noundef %0) #2
%3 = load i32, ptr @MPC52xx_IRQ_L2_MASK, align 4, !tbaa !5
%4 = and i32 %3, %2
%5 = load ptr, ptr @intr, align 8, !tbaa !9
%6 = sub nsw i32 16, %4
%7 = tail call i32 @io_be_clrbit(ptr noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @irqd_to_hwirq(ptr noundef) local_unnamed_addr #1
declare i32 @io_be_clrbit(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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_main_unmask.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_main_unmask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MPC52xx_IRQ_L2_MASK = common local_unnamed_addr global i32 0, align 4
@intr = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @mpc52xx_main_unmask], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mpc52xx_main_unmask(ptr noundef %0) #0 {
%2 = tail call i32 @irqd_to_hwirq(ptr noundef %0) #2
%3 = load i32, ptr @MPC52xx_IRQ_L2_MASK, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = load ptr, ptr @intr, align 8, !tbaa !10
%6 = sub nsw i32 16, %4
%7 = tail call i32 @io_be_clrbit(ptr noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @irqd_to_hwirq(ptr noundef) local_unnamed_addr #1
declare i32 @io_be_clrbit(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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| linux_arch_powerpc_platforms_52xx_extr_mpc52xx_pic.c_mpc52xx_main_unmask |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_inquiry_cache_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_inquiry_cache_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"
@.str = private unnamed_addr constant [9 x i8] c"cache %p\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @inquiry_cache_flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @inquiry_cache_flush(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
store ptr null, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %2, null
br i1 %4, label %10, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %7, %5 ], [ %2, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @kfree(ptr noundef nonnull %6) #2
%9 = icmp eq ptr %7, null
br i1 %9, label %10, label %5, !llvm.loop !12
10: ; preds = %5, %1
ret void
}
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"inquiry_cache", !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 = !{!"inquiry_entry", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_inquiry_cache_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_core.c_inquiry_cache_flush.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 [9 x i8] c"cache %p\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @inquiry_cache_flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @inquiry_cache_flush(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
store ptr null, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %2, null
br i1 %4, label %10, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %7, %5 ], [ %2, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @kfree(ptr noundef nonnull %6) #2
%9 = icmp eq ptr %7, null
br i1 %9, label %10, label %5, !llvm.loop !13
10: ; preds = %5, %1
ret void
}
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"inquiry_cache", !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 = !{!"inquiry_entry", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_net_bluetooth_extr_hci_core.c_inquiry_cache_flush |
; ModuleID = 'AnghaBench/toxcore/toxcore/extr_Messenger.c_send_userstatus.c'
source_filename = "AnghaBench/toxcore/toxcore/extr_Messenger.c_send_userstatus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PACKET_ID_USERSTATUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @send_userstatus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @send_userstatus(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !5
%5 = load i32, ptr @PACKET_ID_USERSTATUS, align 4, !tbaa !5
%6 = call i32 @write_cryptpacket_id(ptr noundef %0, i32 noundef %1, i32 noundef %5, ptr noundef nonnull %4, i32 noundef 4, i32 noundef 0) #2
ret i32 %6
}
declare i32 @write_cryptpacket_id(ptr 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/toxcore/toxcore/extr_Messenger.c_send_userstatus.c'
source_filename = "AnghaBench/toxcore/toxcore/extr_Messenger.c_send_userstatus.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PACKET_ID_USERSTATUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @send_userstatus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @send_userstatus(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !6
%5 = load i32, ptr @PACKET_ID_USERSTATUS, align 4, !tbaa !6
%6 = call i32 @write_cryptpacket_id(ptr noundef %0, i32 noundef %1, i32 noundef %5, ptr noundef nonnull %4, i32 noundef 4, i32 noundef 0) #2
ret i32 %6
}
declare i32 @write_cryptpacket_id(ptr 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"}
| toxcore_toxcore_extr_Messenger.c_send_userstatus |
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym_new/extr_dwarfopen.c_dwarfopen.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym_new/extr_dwarfopen.c_dwarfopen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_26__ = type { ptr, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, %struct.TYPE_27__, ptr }
%struct.TYPE_27__ = type { ptr }
@nil = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"nil pe passed to dwarfopen\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c".debug_abbrev\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c".debug_aranges\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c".debug_line\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c".debug_info\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c".debug_loc\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c".debug_pubnames\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c".debug_frame\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c".debug_ranges\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c".debug_str\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Failed to open dwarf\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @dwarfopen(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @nil, align 8, !tbaa !5
%3 = icmp eq ptr %2, %0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 @werrstr(ptr noundef nonnull @.str) #2
%6 = load ptr, ptr @nil, align 8, !tbaa !5
br label %80
7: ; preds = %1
%8 = tail call ptr @mallocz(i32 noundef 88, i32 noundef 1) #2
%9 = load ptr, ptr @nil, align 8, !tbaa !5
%10 = icmp eq ptr %8, %9
br i1 %10, label %80, label %11
11: ; preds = %7
%12 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 10
store ptr %0, ptr %12, align 8, !tbaa !9
%13 = load ptr, ptr %0, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 9
%15 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %14) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %50, label %17
17: ; preds = %11
%18 = load ptr, ptr %0, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 8
%20 = tail call i64 %18(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %19) #2
%21 = icmp slt i64 %20, 0
br i1 %21, label %50, label %22
22: ; preds = %17
%23 = load ptr, ptr %0, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 6
%25 = tail call i64 %23(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %24) #2
%26 = icmp slt i64 %25, 0
br i1 %26, label %50, label %27
27: ; preds = %22
%28 = load ptr, ptr %0, align 8, !tbaa !12
%29 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 2
%30 = tail call i64 %28(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull %29) #2
%31 = icmp slt i64 %30, 0
br i1 %31, label %50, label %32
32: ; preds = %27
%33 = load ptr, ptr %0, align 8, !tbaa !12
%34 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 1
%35 = tail call i64 %33(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %50, label %37
37: ; preds = %32
%38 = load ptr, ptr %0, align 8, !tbaa !12
%39 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 5
%40 = tail call i64 %38(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, ptr noundef nonnull %39) #2
%41 = load ptr, ptr %0, align 8, !tbaa !12
%42 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 7
%43 = tail call i64 %41(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef nonnull %42) #2
%44 = load ptr, ptr %0, align 8, !tbaa !12
%45 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 4
%46 = tail call i64 %44(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2
%47 = load ptr, ptr %0, align 8, !tbaa !12
%48 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 3
%49 = tail call i64 %47(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, ptr noundef nonnull %48) #2
br label %80
50: ; preds = %11, %17, %22, %27, %32
%51 = tail call i32 @DPRINT(ptr noundef nonnull @.str.10) #2
%52 = load ptr, ptr %14, align 8, !tbaa !13
%53 = tail call i32 @free(ptr noundef %52) #2
%54 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 8
%55 = load ptr, ptr %54, align 8, !tbaa !14
%56 = tail call i32 @free(ptr noundef %55) #2
%57 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 7
%58 = load ptr, ptr %57, align 8, !tbaa !15
%59 = tail call i32 @free(ptr noundef %58) #2
%60 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 6
%61 = load ptr, ptr %60, align 8, !tbaa !16
%62 = tail call i32 @free(ptr noundef %61) #2
%63 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 5
%64 = load ptr, ptr %63, align 8, !tbaa !17
%65 = tail call i32 @free(ptr noundef %64) #2
%66 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 4
%67 = load ptr, ptr %66, align 8, !tbaa !18
%68 = tail call i32 @free(ptr noundef %67) #2
%69 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 3
%70 = load ptr, ptr %69, align 8, !tbaa !19
%71 = tail call i32 @free(ptr noundef %70) #2
%72 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 2
%73 = load ptr, ptr %72, align 8, !tbaa !20
%74 = tail call i32 @free(ptr noundef %73) #2
%75 = getelementptr inbounds %struct.TYPE_26__, ptr %8, i64 0, i32 1
%76 = load ptr, ptr %75, align 8, !tbaa !21
%77 = tail call i32 @free(ptr noundef %76) #2
%78 = tail call i32 @free(ptr noundef nonnull %8) #2
%79 = load ptr, ptr @nil, align 8, !tbaa !5
br label %80
80: ; preds = %7, %50, %37, %4
%81 = phi ptr [ %6, %4 ], [ %79, %50 ], [ %8, %37 ], [ %8, %7 ]
ret ptr %81
}
declare i32 @werrstr(ptr noundef) local_unnamed_addr #1
declare ptr @mallocz(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINT(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 80}
!10 = !{!"TYPE_26__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !6, i64 80}
!11 = !{!"TYPE_27__", !6, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 72}
!14 = !{!10, !6, i64 64}
!15 = !{!10, !6, i64 56}
!16 = !{!10, !6, i64 48}
!17 = !{!10, !6, i64 40}
!18 = !{!10, !6, i64 32}
!19 = !{!10, !6, i64 24}
!20 = !{!10, !6, i64 16}
!21 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym_new/extr_dwarfopen.c_dwarfopen.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym_new/extr_dwarfopen.c_dwarfopen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nil = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [27 x i8] c"nil pe passed to dwarfopen\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c".debug_abbrev\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c".debug_aranges\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c".debug_line\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c".debug_info\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c".debug_loc\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c".debug_pubnames\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c".debug_frame\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c".debug_ranges\00", align 1
@.str.9 = private unnamed_addr constant [11 x i8] c".debug_str\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Failed to open dwarf\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @dwarfopen(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @nil, align 8, !tbaa !6
%3 = icmp eq ptr %2, %0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 @werrstr(ptr noundef nonnull @.str) #2
%6 = load ptr, ptr @nil, align 8, !tbaa !6
br label %80
7: ; preds = %1
%8 = tail call ptr @mallocz(i32 noundef 88, i32 noundef 1) #2
%9 = load ptr, ptr @nil, align 8, !tbaa !6
%10 = icmp eq ptr %8, %9
br i1 %10, label %80, label %11
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %8, i64 80
store ptr %0, ptr %12, align 8, !tbaa !10
%13 = load ptr, ptr %0, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %8, i64 72
%15 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %14) #2
%16 = icmp slt i64 %15, 0
br i1 %16, label %50, label %17
17: ; preds = %11
%18 = load ptr, ptr %0, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %8, i64 64
%20 = tail call i64 %18(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %19) #2
%21 = icmp slt i64 %20, 0
br i1 %21, label %50, label %22
22: ; preds = %17
%23 = load ptr, ptr %0, align 8, !tbaa !13
%24 = getelementptr inbounds i8, ptr %8, i64 48
%25 = tail call i64 %23(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %24) #2
%26 = icmp slt i64 %25, 0
br i1 %26, label %50, label %27
27: ; preds = %22
%28 = load ptr, ptr %0, align 8, !tbaa !13
%29 = getelementptr inbounds i8, ptr %8, i64 16
%30 = tail call i64 %28(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull %29) #2
%31 = icmp slt i64 %30, 0
br i1 %31, label %50, label %32
32: ; preds = %27
%33 = load ptr, ptr %0, align 8, !tbaa !13
%34 = getelementptr inbounds i8, ptr %8, i64 8
%35 = tail call i64 %33(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2
%36 = icmp slt i64 %35, 0
br i1 %36, label %50, label %37
37: ; preds = %32
%38 = load ptr, ptr %0, align 8, !tbaa !13
%39 = getelementptr inbounds i8, ptr %8, i64 40
%40 = tail call i64 %38(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, ptr noundef nonnull %39) #2
%41 = load ptr, ptr %0, align 8, !tbaa !13
%42 = getelementptr inbounds i8, ptr %8, i64 56
%43 = tail call i64 %41(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef nonnull %42) #2
%44 = load ptr, ptr %0, align 8, !tbaa !13
%45 = getelementptr inbounds i8, ptr %8, i64 32
%46 = tail call i64 %44(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2
%47 = load ptr, ptr %0, align 8, !tbaa !13
%48 = getelementptr inbounds i8, ptr %8, i64 24
%49 = tail call i64 %47(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, ptr noundef nonnull %48) #2
br label %80
50: ; preds = %11, %17, %22, %27, %32
%51 = tail call i32 @DPRINT(ptr noundef nonnull @.str.10) #2
%52 = load ptr, ptr %14, align 8, !tbaa !14
%53 = tail call i32 @free(ptr noundef %52) #2
%54 = getelementptr inbounds i8, ptr %8, i64 64
%55 = load ptr, ptr %54, align 8, !tbaa !15
%56 = tail call i32 @free(ptr noundef %55) #2
%57 = getelementptr inbounds i8, ptr %8, i64 56
%58 = load ptr, ptr %57, align 8, !tbaa !16
%59 = tail call i32 @free(ptr noundef %58) #2
%60 = getelementptr inbounds i8, ptr %8, i64 48
%61 = load ptr, ptr %60, align 8, !tbaa !17
%62 = tail call i32 @free(ptr noundef %61) #2
%63 = getelementptr inbounds i8, ptr %8, i64 40
%64 = load ptr, ptr %63, align 8, !tbaa !18
%65 = tail call i32 @free(ptr noundef %64) #2
%66 = getelementptr inbounds i8, ptr %8, i64 32
%67 = load ptr, ptr %66, align 8, !tbaa !19
%68 = tail call i32 @free(ptr noundef %67) #2
%69 = getelementptr inbounds i8, ptr %8, i64 24
%70 = load ptr, ptr %69, align 8, !tbaa !20
%71 = tail call i32 @free(ptr noundef %70) #2
%72 = getelementptr inbounds i8, ptr %8, i64 16
%73 = load ptr, ptr %72, align 8, !tbaa !21
%74 = tail call i32 @free(ptr noundef %73) #2
%75 = getelementptr inbounds i8, ptr %8, i64 8
%76 = load ptr, ptr %75, align 8, !tbaa !22
%77 = tail call i32 @free(ptr noundef %76) #2
%78 = tail call i32 @free(ptr noundef nonnull %8) #2
%79 = load ptr, ptr @nil, align 8, !tbaa !6
br label %80
80: ; preds = %7, %50, %37, %4
%81 = phi ptr [ %6, %4 ], [ %79, %50 ], [ %8, %37 ], [ %9, %7 ]
ret ptr %81
}
declare i32 @werrstr(ptr noundef) local_unnamed_addr #1
declare ptr @mallocz(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINT(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 80}
!11 = !{!"TYPE_26__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80}
!12 = !{!"TYPE_27__", !7, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 72}
!15 = !{!11, !7, i64 64}
!16 = !{!11, !7, i64 56}
!17 = !{!11, !7, i64 48}
!18 = !{!11, !7, i64 40}
!19 = !{!11, !7, i64 32}
!20 = !{!11, !7, i64 24}
!21 = !{!11, !7, i64 16}
!22 = !{!11, !7, i64 8}
| reactos_sdk_lib_rossym_new_extr_dwarfopen.c_dwarfopen |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_queryctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ioctl_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ioctl_queryctrl(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call ptr @find_vctrl(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !10
store i32 %10, ptr %1, align 4, !tbaa !10
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ 0, %9 ]
ret i32 %12
}
declare ptr @find_vctrl(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 = !{!"v4l2_queryctrl", !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/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tcm825x.c_ioctl_queryctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ioctl_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ioctl_queryctrl(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call ptr @find_vctrl(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !11
store i32 %10, ptr %1, align 4, !tbaa !11
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ 0, %9 ]
ret i32 %12
}
declare ptr @find_vctrl(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 = !{!"v4l2_queryctrl", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_media_video_extr_tcm825x.c_ioctl_queryctrl |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_bsearch_.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_bsearch_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @OBJ_bsearch_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call ptr @OBJ_bsearch_ex_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 0) #2
ret ptr %6
}
declare ptr @OBJ_bsearch_ex_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_bsearch_.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/objects/extr_obj_dat.c_OBJ_bsearch_.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @OBJ_bsearch_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call ptr @OBJ_bsearch_ex_(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 0) #2
ret ptr %6
}
declare ptr @OBJ_bsearch_ex_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_crypto_openssl_crypto_objects_extr_obj_dat.c_OBJ_bsearch_ |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hineybush/h87a/extr_h87a.c_led_set_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hineybush/h87a/extr_h87a.c_led_set_kb.c"
target datalayout = "e-m:e-p270:32:32-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 @led_set_kb(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @led_set_user(i32 noundef %0) #2
ret void
}
declare i32 @led_set_user(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hineybush/h87a/extr_h87a.c_led_set_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hineybush/h87a/extr_h87a.c_led_set_kb.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 @led_set_kb(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @led_set_user(i32 noundef %0) #2
ret void
}
declare i32 @led_set_user(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_hineybush_h87a_extr_h87a.c_led_set_kb |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm90.c_hyst_to_reg.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm90.c_hyst_to_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hyst_to_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @hyst_to_reg(i64 noundef %0) #0 {
%2 = icmp slt i64 %0, 1
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ugt i64 %0, 30499
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = trunc i64 %0 to i16
%7 = add nuw nsw i16 %6, 500
%8 = udiv i16 %7, 1000
%9 = zext nneg i16 %8 to i32
br label %10
10: ; preds = %3, %1, %5
%11 = phi i32 [ %9, %5 ], [ 0, %1 ], [ 31, %3 ]
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm90.c_hyst_to_reg.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm90.c_hyst_to_reg.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 @hyst_to_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 32) i32 @hyst_to_reg(i64 noundef %0) #0 {
%2 = icmp slt i64 %0, 1
br i1 %2, label %10, label %3
3: ; preds = %1
%4 = icmp ugt i64 %0, 30499
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = trunc nuw i64 %0 to i16
%7 = add nuw nsw i16 %6, 500
%8 = udiv i16 %7, 1000
%9 = zext nneg i16 %8 to i32
br label %10
10: ; preds = %3, %1, %5
%11 = phi i32 [ %9, %5 ], [ 0, %1 ], [ 31, %3 ]
ret i32 %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_hwmon_extr_lm90.c_hyst_to_reg |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/dos/extr_35061.c_sendftp.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_35061.c_sendftp.c"
target datalayout = "e-m:e-p270:32:32-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 [15 x i8] c"Can't send %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"send: %s\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @sendftp(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @strlen(ptr noundef %1) #2
%4 = tail call i32 @send(i32 noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, -1
%6 = select i1 %5, ptr @.str, ptr @.str.1
%7 = tail call i32 @printf(ptr noundef nonnull %6, ptr noundef %1) #2
%8 = tail call i32 @bzero(ptr noundef %1, i32 noundef 8) #2
ret i32 undef
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bzero(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/exploitdb/exploits/linux/dos/extr_35061.c_sendftp.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_35061.c_sendftp.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 [15 x i8] c"Can't send %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"send: %s\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sendftp(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @strlen(ptr noundef %1) #2
%4 = tail call i32 @send(i32 noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, -1
%6 = select i1 %5, ptr @.str, ptr @.str.1
%7 = tail call i32 @printf(ptr noundef nonnull %6, ptr noundef %1) #2
%8 = tail call i32 @bzero(ptr noundef %1, i32 noundef 8) #2
ret i32 undef
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bzero(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)"}
| exploitdb_exploits_linux_dos_extr_35061.c_sendftp |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_StartupVariable.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_StartupVariable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@com_numConsoleLines = dso_local local_unnamed_addr global i32 0, align 4
@com_consoleLines = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@CVAR_USER_CREATED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @Com_StartupVariable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @com_numConsoleLines, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %32
4: ; preds = %1
%5 = icmp eq ptr %0, null
br label %6
6: ; preds = %4, %27
%7 = phi i64 [ 0, %4 ], [ %28, %27 ]
%8 = load ptr, ptr @com_consoleLines, align 8, !tbaa !9
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = tail call i32 @Cmd_TokenizeString(i32 noundef %10) #2
%12 = tail call ptr @Cmd_Argv(i32 noundef 0) #2
%13 = tail call i64 @strcmp(ptr noundef %12, ptr noundef nonnull @.str) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %6
%16 = tail call ptr @Cmd_Argv(i32 noundef 1) #2
br i1 %5, label %20, label %17
17: ; preds = %15
%18 = tail call i64 @strcmp(ptr noundef %16, ptr noundef nonnull %0) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %17, %15
%21 = tail call ptr @Cmd_Argv(i32 noundef 2) #2
%22 = tail call i32 @Cvar_Set(ptr noundef %16, ptr noundef %21) #2
%23 = tail call ptr @Cvar_Get(ptr noundef %16, ptr noundef nonnull @.str.1, i32 noundef 0) #2
%24 = load i32, ptr @CVAR_USER_CREATED, align 4, !tbaa !5
%25 = load i32, ptr %23, align 4, !tbaa !11
%26 = or i32 %25, %24
store i32 %26, ptr %23, align 4, !tbaa !11
br label %27
27: ; preds = %17, %20, %6
%28 = add nuw nsw i64 %7, 1
%29 = load i32, ptr @com_numConsoleLines, align 4, !tbaa !5
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %6, label %32, !llvm.loop !13
32: ; preds = %27, %1
ret void
}
declare i32 @Cmd_TokenizeString(i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @Cmd_Argv(i32 noundef) local_unnamed_addr #1
declare i32 @Cvar_Set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @Cvar_Get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_StartupVariable.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_StartupVariable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@com_numConsoleLines = common local_unnamed_addr global i32 0, align 4
@com_consoleLines = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@CVAR_USER_CREATED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @Com_StartupVariable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @com_numConsoleLines, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %32
4: ; preds = %1
%5 = icmp eq ptr %0, null
br label %6
6: ; preds = %4, %27
%7 = phi i64 [ 0, %4 ], [ %28, %27 ]
%8 = load ptr, ptr @com_consoleLines, align 8, !tbaa !10
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = tail call i32 @Cmd_TokenizeString(i32 noundef %10) #2
%12 = tail call ptr @Cmd_Argv(i32 noundef 0) #2
%13 = tail call i64 @strcmp(ptr noundef %12, ptr noundef nonnull @.str) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %6
%16 = tail call ptr @Cmd_Argv(i32 noundef 1) #2
br i1 %5, label %20, label %17
17: ; preds = %15
%18 = tail call i64 @strcmp(ptr noundef %16, ptr noundef nonnull %0) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %17, %15
%21 = tail call ptr @Cmd_Argv(i32 noundef 2) #2
%22 = tail call i32 @Cvar_Set(ptr noundef %16, ptr noundef %21) #2
%23 = tail call ptr @Cvar_Get(ptr noundef %16, ptr noundef nonnull @.str.1, i32 noundef 0) #2
%24 = load i32, ptr @CVAR_USER_CREATED, align 4, !tbaa !6
%25 = load i32, ptr %23, align 4, !tbaa !12
%26 = or i32 %25, %24
store i32 %26, ptr %23, align 4, !tbaa !12
br label %27
27: ; preds = %17, %20, %6
%28 = add nuw nsw i64 %7, 1
%29 = load i32, ptr @com_numConsoleLines, align 4, !tbaa !6
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %6, label %32, !llvm.loop !14
32: ; preds = %27, %1
ret void
}
declare i32 @Cmd_TokenizeString(i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @Cmd_Argv(i32 noundef) local_unnamed_addr #1
declare i32 @Cvar_Set(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @Cvar_Get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| Quake-III-Arena_code_qcommon_extr_common.c_Com_StartupVariable |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/hexagon/gnu/extr_hexagon-opc.c_hexagon_hash_opcode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/hexagon/gnu/extr_hexagon-opc.c_hexagon_hash_opcode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PACKET_PAIR = dso_local local_unnamed_addr global i8 0, align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" \09`~!@#$%^&*()_-=+[{]}\\|;:'\22,<.>/?\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"if\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"jump\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"call\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"return\00", align 1
@HEXAGON_HASH_G = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_H = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_I = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_J = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_2 = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_1 = dso_local local_unnamed_addr global i32 0, align 4
@HEXAGON_HASH_4 = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_0 = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_K = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_L = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_M = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_N = dso_local local_unnamed_addr global i8 0, align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"allocframe\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"deallocframe\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"nop\00", align 1
@HEXAGON_HASH_O = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_P = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_Z = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_A = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_B = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_C = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_D = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_E = dso_local local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_F = dso_local local_unnamed_addr global i8 0, align 1
@pif = dso_local local_unnamed_addr global i64 0, align 8
@pnew = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local signext i8 @hexagon_hash_opcode(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i8, ptr @PACKET_PAIR, align 1, !tbaa !5
%3 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext %2) #3
%4 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext 61) #3
%5 = tail call i64 @strcspn(ptr noundef %0, ptr noundef nonnull @.str.2)
%6 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %5) #3
%7 = icmp eq ptr %6, null
%8 = icmp eq ptr %3, null
br i1 %8, label %43, label %9
9: ; preds = %1, %9
%10 = phi ptr [ %11, %9 ], [ %3, %1 ]
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1, !tbaa !5
%13 = tail call i64 @ISSPACE(i8 noundef signext %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %9, !llvm.loop !8
15: ; preds = %9
%16 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%17 = icmp eq ptr %16, null
br i1 %17, label %39, label %18
18: ; preds = %15
%19 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %39, label %21
21: ; preds = %18
%22 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %39, label %24
24: ; preds = %21
%25 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%26 = icmp eq ptr %25, null
br i1 %26, label %39, label %27
27: ; preds = %24
%28 = tail call i64 (...) @hexagon_if_arch_v4() #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = tail call i64 (...) @hexagon_if_arch_v5() #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %62, label %33
33: ; preds = %30, %27
%34 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%35 = icmp eq ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %62
39: ; preds = %36, %33, %24, %21, %18, %15
%40 = load i8, ptr @HEXAGON_HASH_G, align 1
%41 = load i8, ptr @HEXAGON_HASH_H, align 1
%42 = select i1 %7, i8 %40, i8 %41
br label %145
43: ; preds = %1
%44 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %58, label %46
46: ; preds = %43
%47 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%48 = icmp eq ptr %47, null
br i1 %48, label %58, label %49
49: ; preds = %46
%50 = tail call i64 (...) @hexagon_if_arch_v4() #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = tail call i64 (...) @hexagon_if_arch_v5() #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %62, label %55
55: ; preds = %52, %49
%56 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%57 = icmp eq ptr %56, null
br i1 %57, label %58, label %62
58: ; preds = %55, %46, %43
%59 = load i8, ptr @HEXAGON_HASH_I, align 1
%60 = load i8, ptr @HEXAGON_HASH_J, align 1
%61 = select i1 %7, i8 %59, i8 %60
br label %145
62: ; preds = %52, %55, %30, %36
%63 = icmp eq ptr %4, null
br i1 %63, label %130, label %64
64: ; preds = %62, %64
%65 = phi ptr [ %66, %64 ], [ %4, %62 ]
%66 = getelementptr inbounds i8, ptr %65, i64 1
%67 = load i8, ptr %66, align 1, !tbaa !5
%68 = tail call i64 @ISSPACE(i8 noundef signext %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %64, !llvm.loop !10
70: ; preds = %64
%71 = load i8, ptr %66, align 1, !tbaa !5
%72 = icmp eq i8 %71, 35
br i1 %72, label %121, label %73
73: ; preds = %70
%74 = tail call ptr @strchr(ptr noundef nonnull %66, i8 noundef signext 40) #3
%75 = icmp eq ptr %74, null
br i1 %75, label %121, label %76
76: ; preds = %73, %85
%77 = phi ptr [ %86, %85 ], [ %66, %73 ]
%78 = load i8, ptr %77, align 1, !tbaa !5
%79 = tail call i64 @ISSPACE(i8 noundef signext %78) #3
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %85
81: ; preds = %76
%82 = load i8, ptr %77, align 1, !tbaa !5
%83 = tail call i64 @ISPUNCT(i8 noundef signext %82) #3
%84 = icmp eq i64 %83, 0
br i1 %84, label %87, label %85
85: ; preds = %76, %81
%86 = getelementptr inbounds i8, ptr %77, i64 1
br label %76, !llvm.loop !11
87: ; preds = %81
%88 = load i8, ptr %77, align 1, !tbaa !5
%89 = tail call signext i8 @TOLOWER(i8 noundef signext %88) #3
%90 = tail call i64 @ISALPHA(i8 noundef signext %89) #3
%91 = icmp eq i64 %90, 0
br i1 %91, label %130, label %92
92: ; preds = %87
%93 = icmp eq i8 %89, 118
br i1 %93, label %94, label %109
94: ; preds = %92
%95 = getelementptr inbounds i8, ptr %77, i64 1
%96 = load i8, ptr %95, align 1, !tbaa !5
%97 = tail call signext i8 @TOLOWER(i8 noundef signext %96) #3
%98 = zext i8 %97 to i32
%99 = load i32, ptr @HEXAGON_HASH_1, align 4
%100 = select i1 %7, i32 %99, i32 0
%101 = add nuw nsw i32 %98, 159
%102 = load i8, ptr @HEXAGON_HASH_4, align 1
%103 = load i8, ptr @HEXAGON_HASH_2, align 1
%104 = select i1 %8, i8 %102, i8 %103
%105 = zext i8 %104 to i32
%106 = add nuw nsw i32 %101, %105
%107 = add i32 %106, %100
%108 = trunc i32 %107 to i8
br label %145
109: ; preds = %92
%110 = zext i8 %89 to i32
%111 = load i32, ptr @HEXAGON_HASH_1, align 4
%112 = select i1 %7, i32 %111, i32 0
%113 = add nuw nsw i32 %110, 159
%114 = load i8, ptr @HEXAGON_HASH_0, align 1
%115 = load i8, ptr @HEXAGON_HASH_2, align 1
%116 = select i1 %8, i8 %114, i8 %115
%117 = zext i8 %116 to i32
%118 = add nuw nsw i32 %113, %117
%119 = add i32 %118, %112
%120 = trunc i32 %119 to i8
br label %145
121: ; preds = %73, %70
br i1 %8, label %126, label %122
122: ; preds = %121
%123 = load i8, ptr @HEXAGON_HASH_K, align 1
%124 = load i8, ptr @HEXAGON_HASH_L, align 1
%125 = select i1 %7, i8 %123, i8 %124
br label %145
126: ; preds = %121
%127 = load i8, ptr @HEXAGON_HASH_M, align 1
%128 = load i8, ptr @HEXAGON_HASH_N, align 1
%129 = select i1 %7, i8 %127, i8 %128
br label %145
130: ; preds = %87, %62
%131 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.7, i64 noundef 10) #3
%132 = icmp eq ptr %131, null
br i1 %132, label %139, label %133
133: ; preds = %130
%134 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.8, i64 noundef %5) #3
%135 = icmp eq ptr %134, null
br i1 %135, label %139, label %136
136: ; preds = %133
%137 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.9, i64 noundef %5) #3
%138 = icmp eq ptr %137, null
br i1 %138, label %139, label %143
139: ; preds = %136, %133, %130
%140 = load i8, ptr @HEXAGON_HASH_O, align 1
%141 = load i8, ptr @HEXAGON_HASH_P, align 1
%142 = select i1 %8, i8 %141, i8 %140
br label %145
143: ; preds = %136
%144 = load i8, ptr @HEXAGON_HASH_Z, align 1, !tbaa !5
br label %145
145: ; preds = %122, %126, %143, %139, %109, %94, %58, %39
%146 = phi i8 [ %108, %94 ], [ %120, %109 ], [ %144, %143 ], [ %142, %139 ], [ %42, %39 ], [ %61, %58 ], [ %125, %122 ], [ %129, %126 ]
ret i8 %146
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare ptr @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
declare i64 @hexagon_if_arch_v4(...) local_unnamed_addr #1
declare i64 @hexagon_if_arch_v5(...) local_unnamed_addr #1
declare i64 @ISPUNCT(i8 noundef signext) local_unnamed_addr #1
declare i64 @ISALPHA(i8 noundef signext) local_unnamed_addr #1
declare signext i8 @TOLOWER(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/hexagon/gnu/extr_hexagon-opc.c_hexagon_hash_opcode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/hexagon/gnu/extr_hexagon-opc.c_hexagon_hash_opcode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PACKET_PAIR = common local_unnamed_addr global i8 0, align 1
@.str.2 = private unnamed_addr constant [35 x i8] c" \09`~!@#$%^&*()_-=+[{]}\\|;:'\22,<.>/?\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"if\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"jump\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"call\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"return\00", align 1
@HEXAGON_HASH_G = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_H = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_I = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_J = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_2 = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_1 = common local_unnamed_addr global i32 0, align 4
@HEXAGON_HASH_4 = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_0 = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_K = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_L = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_M = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_N = common local_unnamed_addr global i8 0, align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"allocframe\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"deallocframe\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"nop\00", align 1
@HEXAGON_HASH_O = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_P = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_Z = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_A = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_B = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_C = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_D = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_E = common local_unnamed_addr global i8 0, align 1
@HEXAGON_HASH_F = common local_unnamed_addr global i8 0, align 1
@pif = common local_unnamed_addr global i64 0, align 8
@pnew = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define signext i8 @hexagon_hash_opcode(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i8, ptr @PACKET_PAIR, align 1, !tbaa !6
%3 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext %2) #3
%4 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext 61) #3
%5 = tail call i64 @strcspn(ptr noundef %0, ptr noundef nonnull @.str.2)
%6 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %5) #3
%7 = icmp eq ptr %6, null
%8 = icmp eq ptr %3, null
br i1 %8, label %43, label %9
9: ; preds = %1, %9
%10 = phi ptr [ %11, %9 ], [ %3, %1 ]
%11 = getelementptr inbounds i8, ptr %10, i64 1
%12 = load i8, ptr %11, align 1, !tbaa !6
%13 = tail call i64 @ISSPACE(i8 noundef signext %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %9, !llvm.loop !9
15: ; preds = %9
%16 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%17 = icmp eq ptr %16, null
br i1 %17, label %39, label %18
18: ; preds = %15
%19 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %39, label %21
21: ; preds = %18
%22 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %39, label %24
24: ; preds = %21
%25 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%26 = icmp eq ptr %25, null
br i1 %26, label %39, label %27
27: ; preds = %24
%28 = tail call i64 @hexagon_if_arch_v4() #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = tail call i64 @hexagon_if_arch_v5() #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %62, label %33
33: ; preds = %30, %27
%34 = tail call ptr @strncmp(ptr noundef nonnull %11, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%35 = icmp eq ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %62
39: ; preds = %36, %33, %24, %21, %18, %15
%40 = load i8, ptr @HEXAGON_HASH_G, align 1
%41 = load i8, ptr @HEXAGON_HASH_H, align 1
%42 = select i1 %7, i8 %40, i8 %41
br label %145
43: ; preds = %1
%44 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef 4) #3
%45 = icmp eq ptr %44, null
br i1 %45, label %58, label %46
46: ; preds = %43
%47 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef 4) #3
%48 = icmp eq ptr %47, null
br i1 %48, label %58, label %49
49: ; preds = %46
%50 = tail call i64 @hexagon_if_arch_v4() #3
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = tail call i64 @hexagon_if_arch_v5() #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %62, label %55
55: ; preds = %52, %49
%56 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %5) #3
%57 = icmp eq ptr %56, null
br i1 %57, label %58, label %62
58: ; preds = %55, %46, %43
%59 = load i8, ptr @HEXAGON_HASH_I, align 1
%60 = load i8, ptr @HEXAGON_HASH_J, align 1
%61 = select i1 %7, i8 %59, i8 %60
br label %145
62: ; preds = %52, %55, %30, %36
%63 = icmp eq ptr %4, null
br i1 %63, label %130, label %64
64: ; preds = %62, %64
%65 = phi ptr [ %66, %64 ], [ %4, %62 ]
%66 = getelementptr inbounds i8, ptr %65, i64 1
%67 = load i8, ptr %66, align 1, !tbaa !6
%68 = tail call i64 @ISSPACE(i8 noundef signext %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %64, !llvm.loop !11
70: ; preds = %64
%71 = load i8, ptr %66, align 1, !tbaa !6
%72 = icmp eq i8 %71, 35
br i1 %72, label %121, label %73
73: ; preds = %70
%74 = tail call ptr @strchr(ptr noundef nonnull %66, i8 noundef signext 40) #3
%75 = icmp eq ptr %74, null
br i1 %75, label %121, label %76
76: ; preds = %73, %85
%77 = phi ptr [ %86, %85 ], [ %66, %73 ]
%78 = load i8, ptr %77, align 1, !tbaa !6
%79 = tail call i64 @ISSPACE(i8 noundef signext %78) #3
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %85
81: ; preds = %76
%82 = load i8, ptr %77, align 1, !tbaa !6
%83 = tail call i64 @ISPUNCT(i8 noundef signext %82) #3
%84 = icmp eq i64 %83, 0
br i1 %84, label %87, label %85
85: ; preds = %76, %81
%86 = getelementptr inbounds i8, ptr %77, i64 1
br label %76, !llvm.loop !12
87: ; preds = %81
%88 = load i8, ptr %77, align 1, !tbaa !6
%89 = tail call signext i8 @TOLOWER(i8 noundef signext %88) #3
%90 = tail call i64 @ISALPHA(i8 noundef signext %89) #3
%91 = icmp eq i64 %90, 0
br i1 %91, label %130, label %92
92: ; preds = %87
%93 = icmp eq i8 %89, 118
br i1 %93, label %94, label %109
94: ; preds = %92
%95 = getelementptr inbounds i8, ptr %77, i64 1
%96 = load i8, ptr %95, align 1, !tbaa !6
%97 = tail call signext i8 @TOLOWER(i8 noundef signext %96) #3
%98 = zext i8 %97 to i32
%99 = load i32, ptr @HEXAGON_HASH_1, align 4
%100 = select i1 %7, i32 %99, i32 0
%101 = add nuw nsw i32 %98, 159
%102 = load i8, ptr @HEXAGON_HASH_4, align 1
%103 = load i8, ptr @HEXAGON_HASH_2, align 1
%104 = select i1 %8, i8 %102, i8 %103
%105 = zext i8 %104 to i32
%106 = add nuw nsw i32 %101, %105
%107 = add i32 %106, %100
%108 = trunc i32 %107 to i8
br label %145
109: ; preds = %92
%110 = zext i8 %89 to i32
%111 = load i32, ptr @HEXAGON_HASH_1, align 4
%112 = select i1 %7, i32 %111, i32 0
%113 = add nuw nsw i32 %110, 159
%114 = load i8, ptr @HEXAGON_HASH_0, align 1
%115 = load i8, ptr @HEXAGON_HASH_2, align 1
%116 = select i1 %8, i8 %114, i8 %115
%117 = zext i8 %116 to i32
%118 = add nuw nsw i32 %113, %117
%119 = add i32 %118, %112
%120 = trunc i32 %119 to i8
br label %145
121: ; preds = %73, %70
br i1 %8, label %126, label %122
122: ; preds = %121
%123 = load i8, ptr @HEXAGON_HASH_K, align 1
%124 = load i8, ptr @HEXAGON_HASH_L, align 1
%125 = select i1 %7, i8 %123, i8 %124
br label %145
126: ; preds = %121
%127 = load i8, ptr @HEXAGON_HASH_M, align 1
%128 = load i8, ptr @HEXAGON_HASH_N, align 1
%129 = select i1 %7, i8 %127, i8 %128
br label %145
130: ; preds = %87, %62
%131 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.7, i64 noundef 10) #3
%132 = icmp eq ptr %131, null
br i1 %132, label %139, label %133
133: ; preds = %130
%134 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.8, i64 noundef %5) #3
%135 = icmp eq ptr %134, null
br i1 %135, label %139, label %136
136: ; preds = %133
%137 = tail call ptr @strncmp(ptr noundef %0, ptr noundef nonnull @.str.9, i64 noundef %5) #3
%138 = icmp eq ptr %137, null
br i1 %138, label %139, label %143
139: ; preds = %136, %133, %130
%140 = load i8, ptr @HEXAGON_HASH_O, align 1
%141 = load i8, ptr @HEXAGON_HASH_P, align 1
%142 = select i1 %8, i8 %141, i8 %140
br label %145
143: ; preds = %136
%144 = load i8, ptr @HEXAGON_HASH_Z, align 1, !tbaa !6
br label %145
145: ; preds = %122, %126, %143, %139, %109, %94, %58, %39
%146 = phi i8 [ %108, %94 ], [ %120, %109 ], [ %144, %143 ], [ %142, %139 ], [ %42, %39 ], [ %61, %58 ], [ %125, %122 ], [ %129, %126 ]
ret i8 %146
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare ptr @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
declare i64 @hexagon_if_arch_v4(...) local_unnamed_addr #1
declare i64 @hexagon_if_arch_v5(...) local_unnamed_addr #1
declare i64 @ISPUNCT(i8 noundef signext) local_unnamed_addr #1
declare i64 @ISALPHA(i8 noundef signext) local_unnamed_addr #1
declare signext i8 @TOLOWER(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
| radare2_libr_asm_arch_hexagon_gnu_extr_hexagon-opc.c_hexagon_hash_opcode |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_bus.c_resource_list_delete.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_bus.c_resource_list_delete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"resource_list_delete: resource has not been released\00", align 1
@resource_list_entry = dso_local local_unnamed_addr global i32 0, align 4
@link = dso_local local_unnamed_addr global i32 0, align 4
@M_BUS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @resource_list_delete(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @resource_list_find(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %3
%7 = load ptr, ptr %4, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr @resource_list_entry, align 4, !tbaa !10
%13 = load i32, ptr @link, align 4, !tbaa !10
%14 = tail call i32 @STAILQ_REMOVE(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @M_BUS, align 4, !tbaa !10
%16 = tail call i32 @free(ptr noundef nonnull %4, i32 noundef %15) #2
br label %17
17: ; preds = %11, %3
ret void
}
declare ptr @resource_list_find(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"resource_list_entry", !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/freebsd/sys/kern/extr_subr_bus.c_resource_list_delete.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_bus.c_resource_list_delete.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 [53 x i8] c"resource_list_delete: resource has not been released\00", align 1
@resource_list_entry = common local_unnamed_addr global i32 0, align 4
@link = common local_unnamed_addr global i32 0, align 4
@M_BUS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @resource_list_delete(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @resource_list_find(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %3
%7 = load ptr, ptr %4, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr @resource_list_entry, align 4, !tbaa !11
%13 = load i32, ptr @link, align 4, !tbaa !11
%14 = tail call i32 @STAILQ_REMOVE(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @M_BUS, align 4, !tbaa !11
%16 = tail call i32 @free(ptr noundef nonnull %4, i32 noundef %15) #2
br label %17
17: ; preds = %11, %3
ret void
}
declare ptr @resource_list_find(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"resource_list_entry", !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}
| freebsd_sys_kern_extr_subr_bus.c_resource_list_delete |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bna_enet.c_bna_ucam_mod_uninit.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bna_enet.c_bna_ucam_mod_uninit.c"
target datalayout = "e-m:e-p270:32:32-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 @bna_ucam_mod_uninit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @bna_ucam_mod_uninit(ptr nocapture noundef writeonly %0) #0 {
store ptr null, ptr %0, align 8, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bna_ucam_mod", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bna_enet.c_bna_ucam_mod_uninit.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bna_enet.c_bna_ucam_mod_uninit.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 @bna_ucam_mod_uninit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @bna_ucam_mod_uninit(ptr nocapture noundef writeonly %0) #0 {
store ptr null, ptr %0, align 8, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bna_ucam_mod", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_brocade_bna_extr_bna_enet.c_bna_ucam_mod_uninit |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_mdss.c_dpu_mdss_irqdomain_map.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_mdss.c_dpu_mdss_irqdomain_map.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dpu_mdss_lock_key = dso_local global i32 0, align 4
@dpu_mdss_request_key = dso_local global i32 0, align 4
@dpu_mdss_irq_chip = dso_local global i32 0, align 4
@handle_level_irq = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dpu_mdss_irqdomain_map], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dpu_mdss_irqdomain_map(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @irq_set_lockdep_class(i32 noundef %1, ptr noundef nonnull @dpu_mdss_lock_key, ptr noundef nonnull @dpu_mdss_request_key) #2
%6 = load i32, ptr @handle_level_irq, align 4, !tbaa !10
%7 = tail call i32 @irq_set_chip_and_handler(i32 noundef %1, ptr noundef nonnull @dpu_mdss_irq_chip, i32 noundef %6) #2
%8 = tail call i32 @irq_set_chip_data(i32 noundef %1, ptr noundef %4) #2
ret i32 %8
}
declare i32 @irq_set_lockdep_class(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @irq_set_chip_and_handler(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_set_chip_data(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"irq_domain", !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/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_mdss.c_dpu_mdss_irqdomain_map.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_mdss.c_dpu_mdss_irqdomain_map.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dpu_mdss_lock_key = common global i32 0, align 4
@dpu_mdss_request_key = common global i32 0, align 4
@dpu_mdss_irq_chip = common global i32 0, align 4
@handle_level_irq = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dpu_mdss_irqdomain_map], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dpu_mdss_irqdomain_map(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @irq_set_lockdep_class(i32 noundef %1, ptr noundef nonnull @dpu_mdss_lock_key, ptr noundef nonnull @dpu_mdss_request_key) #2
%6 = load i32, ptr @handle_level_irq, align 4, !tbaa !11
%7 = tail call i32 @irq_set_chip_and_handler(i32 noundef %1, ptr noundef nonnull @dpu_mdss_irq_chip, i32 noundef %6) #2
%8 = tail call i32 @irq_set_chip_data(i32 noundef %1, ptr noundef %4) #2
ret i32 %8
}
declare i32 @irq_set_lockdep_class(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @irq_set_chip_and_handler(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_set_chip_data(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"irq_domain", !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}
| linux_drivers_gpu_drm_msm_disp_dpu1_extr_dpu_mdss.c_dpu_mdss_irqdomain_map |
; ModuleID = 'AnghaBench/linux/drivers/phy/qualcomm/extr_phy-qcom-ufs.c_ufs_qcom_phy_disable_ref_clk.c'
source_filename = "AnghaBench/linux/drivers/phy/qualcomm/extr_phy-qcom-ufs.c_ufs_qcom_phy_disable_ref_clk.c"
target datalayout = "e-m:e-p270:32:32-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.ufs_qcom_phy = type { i32, i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ufs_qcom_phy_disable_ref_clk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ufs_qcom_phy_disable_ref_clk(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %17, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.ufs_qcom_phy, ptr %0, i64 0, i32 3
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @clk_disable_unprepare(i64 noundef %6) #2
%8 = getelementptr inbounds %struct.ufs_qcom_phy, ptr %0, i64 0, i32 2
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %4
%12 = tail call i32 @clk_disable_unprepare(i64 noundef %9) #2
br label %13
13: ; preds = %11, %4
%14 = getelementptr inbounds %struct.ufs_qcom_phy, ptr %0, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = tail call i32 @clk_disable_unprepare(i64 noundef %15) #2
store i32 0, ptr %0, align 8, !tbaa !5
br label %17
17: ; preds = %13, %1
ret void
}
declare i32 @clk_disable_unprepare(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 = !{!"ufs_qcom_phy", !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 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/phy/qualcomm/extr_phy-qcom-ufs.c_ufs_qcom_phy_disable_ref_clk.c'
source_filename = "AnghaBench/linux/drivers/phy/qualcomm/extr_phy-qcom-ufs.c_ufs_qcom_phy_disable_ref_clk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ufs_qcom_phy_disable_ref_clk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ufs_qcom_phy_disable_ref_clk(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %17, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @clk_disable_unprepare(i64 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %4
%12 = tail call i32 @clk_disable_unprepare(i64 noundef %9) #2
br label %13
13: ; preds = %11, %4
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = tail call i32 @clk_disable_unprepare(i64 noundef %15) #2
store i32 0, ptr %0, align 8, !tbaa !6
br label %17
17: ; preds = %13, %1
ret void
}
declare i32 @clk_disable_unprepare(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 = !{!"ufs_qcom_phy", !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 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 24}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !11, i64 8}
| linux_drivers_phy_qualcomm_extr_phy-qcom-ufs.c_ufs_qcom_phy_disable_ref_clk |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_fs.c_ipoib_path_seq_next.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_fs.c_ipoib_path_seq_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 @ipoib_path_seq_next], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @ipoib_path_seq_next(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture 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 i64 @ipoib_path_iter_next(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @kfree(ptr noundef %1) #2
br label %10
10: ; preds = %3, %8
%11 = phi ptr [ null, %8 ], [ %1, %3 ]
ret ptr %11
}
declare i64 @ipoib_path_iter_next(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/ulp/ipoib/extr_ipoib_fs.c_ipoib_path_seq_next.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_fs.c_ipoib_path_seq_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 @ipoib_path_seq_next], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @ipoib_path_seq_next(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture 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 i64 @ipoib_path_iter_next(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @kfree(ptr noundef %1) #2
br label %10
10: ; preds = %3, %8
%11 = phi ptr [ null, %8 ], [ %1, %3 ]
ret ptr %11
}
declare i64 @ipoib_path_iter_next(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_ulp_ipoib_extr_ipoib_fs.c_ipoib_path_seq_next |
; ModuleID = 'AnghaBench/linux/drivers/message/fusion/extr_mptbase.c_mpt_raid_phys_disk_pg0.c'
source_filename = "AnghaBench/linux/drivers/message/fusion/extr_mptbase.c_mpt_raid_phys_disk_pg0.c"
target datalayout = "e-m:e-p270:32:32-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_18__ = type { i32, i32, i32, i32, i32, %struct.TYPE_16__, i32, i32 }
%struct.TYPE_16__ = type { ptr }
@MPI_RAIDPHYSDISKPAGE0_PAGEVERSION = dso_local local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_PAGETYPE_RAID_PHYSDISK = dso_local local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_ACTION_PAGE_HEADER = dso_local local_unnamed_addr global i32 0, align 4
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_ACTION_PAGE_READ_CURRENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mpt_raid_phys_disk_pg0(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_18__, align 8
%5 = alloca %struct.TYPE_18__, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 40) #3
%8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 40) #3
%9 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 40) #3
%10 = load i32, ptr @MPI_RAIDPHYSDISKPAGE0_PAGEVERSION, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 7
store i32 %10, ptr %11, align 4, !tbaa !9
%12 = load i32, ptr @MPI_CONFIG_PAGETYPE_RAID_PHYSDISK, align 4, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 6
store i32 %12, ptr %13, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_18__, ptr %4, i64 0, i32 5
store ptr %5, ptr %14, align 8, !tbaa !14
store i32 -1, ptr %4, align 8, !tbaa !15
%15 = load i32, ptr @MPI_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.TYPE_18__, ptr %4, i64 0, i32 4
store i32 %15, ptr %16, align 8, !tbaa !16
%17 = call i64 @mpt_config(ptr noundef %0, ptr noundef nonnull %4) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %3
%20 = load i32, ptr @EFAULT, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %58
22: ; preds = %3
%23 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @EFAULT, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
br label %58
29: ; preds = %22
%30 = load i32, ptr %0, align 4, !tbaa !18
%31 = shl nsw i32 %24, 2
%32 = call ptr @pci_alloc_consistent(i32 noundef %30, i32 noundef %31, ptr noundef nonnull %6) #3
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%36 = sub nsw i32 0, %35
br label %58
37: ; preds = %29
%38 = load i32, ptr %6, align 4, !tbaa !5
store i32 %38, ptr %4, align 8, !tbaa !15
%39 = load i32, ptr @MPI_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !5
store i32 %39, ptr %16, align 8, !tbaa !16
%40 = getelementptr inbounds %struct.TYPE_18__, ptr %4, i64 0, i32 3
store i32 %1, ptr %40, align 4, !tbaa !20
%41 = call i64 @mpt_config(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %37
%44 = load i32, ptr @EFAULT, align 4, !tbaa !5
%45 = sub nsw i32 0, %44
br label %51
46: ; preds = %37
%47 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %32, i32 noundef 4) #3
%48 = load i32, ptr %32, align 4, !tbaa !21
%49 = call i32 @le32_to_cpu(i32 noundef %48) #3
%50 = getelementptr inbounds %struct.TYPE_18__, ptr %2, i64 0, i32 2
store i32 %49, ptr %50, align 8, !tbaa !23
br label %51
51: ; preds = %43, %46
%52 = phi i32 [ %45, %43 ], [ 0, %46 ]
%53 = load i32, ptr %0, align 4, !tbaa !18
%54 = load i32, ptr %23, align 4, !tbaa !17
%55 = shl nsw i32 %54, 2
%56 = load i32, ptr %6, align 4, !tbaa !5
%57 = call i32 @pci_free_consistent(i32 noundef %53, i32 noundef %55, ptr noundef nonnull %32, i32 noundef %56) #3
br label %58
58: ; preds = %26, %34, %19, %51
%59 = phi i32 [ %52, %51 ], [ %28, %26 ], [ %36, %34 ], [ %21, %19 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mpt_config(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @pci_alloc_consistent(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @pci_free_consistent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 36}
!10 = !{!"TYPE_18__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 36}
!11 = !{!"TYPE_16__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 32}
!14 = !{!10, !12, i64 24}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !6, i64 16}
!17 = !{!10, !6, i64 4}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_19__", !6, i64 0}
!20 = !{!10, !6, i64 12}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_17__", !6, i64 0}
!23 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/message/fusion/extr_mptbase.c_mpt_raid_phys_disk_pg0.c'
source_filename = "AnghaBench/linux/drivers/message/fusion/extr_mptbase.c_mpt_raid_phys_disk_pg0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_18__ = type { i32, i32, i32, i32, i32, %struct.TYPE_16__, i32, i32 }
%struct.TYPE_16__ = type { ptr }
@MPI_RAIDPHYSDISKPAGE0_PAGEVERSION = common local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_PAGETYPE_RAID_PHYSDISK = common local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_ACTION_PAGE_HEADER = common local_unnamed_addr global i32 0, align 4
@EFAULT = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@MPI_CONFIG_ACTION_PAGE_READ_CURRENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @mpt_raid_phys_disk_pg0(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_18__, align 8
%5 = alloca %struct.TYPE_18__, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 40) #3
%8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 40) #3
%9 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 40) #3
%10 = load i32, ptr @MPI_RAIDPHYSDISKPAGE0_PAGEVERSION, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %5, i64 36
store i32 %10, ptr %11, align 4, !tbaa !10
%12 = load i32, ptr @MPI_CONFIG_PAGETYPE_RAID_PHYSDISK, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %5, i64 32
store i32 %12, ptr %13, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %4, i64 24
store ptr %5, ptr %14, align 8, !tbaa !15
store i32 -1, ptr %4, align 8, !tbaa !16
%15 = load i32, ptr @MPI_CONFIG_ACTION_PAGE_HEADER, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %15, ptr %16, align 8, !tbaa !17
%17 = call i64 @mpt_config(ptr noundef %0, ptr noundef nonnull %4) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %3
%20 = load i32, ptr @EFAULT, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %58
22: ; preds = %3
%23 = getelementptr inbounds i8, ptr %5, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !18
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @EFAULT, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
br label %58
29: ; preds = %22
%30 = load i32, ptr %0, align 4, !tbaa !19
%31 = shl nsw i32 %24, 2
%32 = call ptr @pci_alloc_consistent(i32 noundef %30, i32 noundef %31, ptr noundef nonnull %6) #3
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%36 = sub nsw i32 0, %35
br label %58
37: ; preds = %29
%38 = load i32, ptr %6, align 4, !tbaa !6
store i32 %38, ptr %4, align 8, !tbaa !16
%39 = load i32, ptr @MPI_CONFIG_ACTION_PAGE_READ_CURRENT, align 4, !tbaa !6
store i32 %39, ptr %16, align 8, !tbaa !17
%40 = getelementptr inbounds i8, ptr %4, i64 12
store i32 %1, ptr %40, align 4, !tbaa !21
%41 = call i64 @mpt_config(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %37
%44 = load i32, ptr @EFAULT, align 4, !tbaa !6
%45 = sub nsw i32 0, %44
br label %51
46: ; preds = %37
%47 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %32, i32 noundef 4) #3
%48 = load i32, ptr %32, align 4, !tbaa !22
%49 = call i32 @le32_to_cpu(i32 noundef %48) #3
%50 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %49, ptr %50, align 8, !tbaa !24
br label %51
51: ; preds = %43, %46
%52 = phi i32 [ %45, %43 ], [ 0, %46 ]
%53 = load i32, ptr %0, align 4, !tbaa !19
%54 = load i32, ptr %23, align 4, !tbaa !18
%55 = shl nsw i32 %54, 2
%56 = load i32, ptr %6, align 4, !tbaa !6
%57 = call i32 @pci_free_consistent(i32 noundef %53, i32 noundef %55, ptr noundef nonnull %32, i32 noundef %56) #3
br label %58
58: ; preds = %26, %34, %19, %51
%59 = phi i32 [ %52, %51 ], [ %28, %26 ], [ %36, %34 ], [ %21, %19 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
ret i32 %59
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mpt_config(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @pci_alloc_consistent(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @pci_free_consistent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 36}
!11 = !{!"TYPE_18__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24, !7, i64 32, !7, i64 36}
!12 = !{!"TYPE_16__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 32}
!15 = !{!11, !13, i64 24}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !7, i64 4}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_19__", !7, i64 0}
!21 = !{!11, !7, i64 12}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_17__", !7, i64 0}
!24 = !{!11, !7, i64 8}
| linux_drivers_message_fusion_extr_mptbase.c_mpt_raid_phys_disk_pg0 |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FmMacsecSecYDeleteSc.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FmMacsecSecYDeleteSc.c"
target datalayout = "e-m:e-p270:32:32-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, i32, ptr }
@E_OK = dso_local local_unnamed_addr global i32 0, align 4
@e_SC_RX = dso_local local_unnamed_addr global i64 0, align 8
@MINOR = dso_local local_unnamed_addr global i32 0, align 4
@NO_MSG = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @FmMacsecSecYDeleteSc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @FmMacsecSecYDeleteSc(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @ASSERT_COND(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @ASSERT_COND(ptr noundef %6) #2
%8 = tail call i32 @ASSERT_COND(ptr noundef %1) #2
%9 = load i64, ptr @e_SC_RX, align 8, !tbaa !11
%10 = icmp eq i64 %9, %2
%11 = load ptr, ptr %5, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !13
br i1 %10, label %14, label %18
14: ; preds = %3
%15 = tail call i32 @FmMacsecDeleteRxSc(ptr noundef %11, i32 noundef %13) #2
%16 = load i32, ptr @E_OK, align 4, !tbaa !14
%17 = icmp eq i32 %15, %16
br i1 %17, label %27, label %22
18: ; preds = %3
%19 = tail call i32 @FmMacsecDeleteTxSc(ptr noundef %11, i32 noundef %13) #2
%20 = load i32, ptr @E_OK, align 4, !tbaa !14
%21 = icmp eq i32 %19, %20
br i1 %21, label %27, label %22
22: ; preds = %18, %14
%23 = phi i32 [ %15, %14 ], [ %19, %18 ]
%24 = load i32, ptr @MINOR, align 4, !tbaa !14
%25 = load i32, ptr @NO_MSG, align 4, !tbaa !14
%26 = tail call i32 @RETURN_ERROR(i32 noundef %24, i32 noundef %23, i32 noundef %25) #2
br label %27
27: ; preds = %22, %18, %14
%28 = phi i32 [ %15, %14 ], [ %19, %18 ], [ %23, %22 ]
%29 = load i32, ptr @FALSE, align 4, !tbaa !14
store i32 %29, ptr %1, align 8, !tbaa !15
ret i32 %28
}
declare i32 @ASSERT_COND(ptr noundef) local_unnamed_addr #1
declare i32 @FmMacsecDeleteRxSc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FmMacsecDeleteTxSc(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 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FmMacsecSecYDeleteSc.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FmMacsecSecYDeleteSc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_OK = common local_unnamed_addr global i32 0, align 4
@e_SC_RX = common local_unnamed_addr global i64 0, align 8
@MINOR = common local_unnamed_addr global i32 0, align 4
@NO_MSG = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @FmMacsecSecYDeleteSc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @FmMacsecSecYDeleteSc(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @ASSERT_COND(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @ASSERT_COND(ptr noundef %6) #2
%8 = tail call i32 @ASSERT_COND(ptr noundef %1) #2
%9 = load i64, ptr @e_SC_RX, align 8, !tbaa !12
%10 = icmp eq i64 %9, %2
%11 = load ptr, ptr %5, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %1, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !14
br i1 %10, label %14, label %18
14: ; preds = %3
%15 = tail call i32 @FmMacsecDeleteRxSc(ptr noundef %11, i32 noundef %13) #2
%16 = load i32, ptr @E_OK, align 4, !tbaa !15
%17 = icmp eq i32 %15, %16
br i1 %17, label %27, label %22
18: ; preds = %3
%19 = tail call i32 @FmMacsecDeleteTxSc(ptr noundef %11, i32 noundef %13) #2
%20 = load i32, ptr @E_OK, align 4, !tbaa !15
%21 = icmp eq i32 %19, %20
br i1 %21, label %27, label %22
22: ; preds = %18, %14
%23 = phi i32 [ %15, %14 ], [ %19, %18 ]
%24 = load i32, ptr @MINOR, align 4, !tbaa !15
%25 = load i32, ptr @NO_MSG, align 4, !tbaa !15
%26 = tail call i32 @RETURN_ERROR(i32 noundef %24, i32 noundef %23, i32 noundef %25) #2
br label %27
27: ; preds = %22, %18, %14
%28 = phi i32 [ %15, %14 ], [ %19, %18 ], [ %23, %22 ]
%29 = load i32, ptr @FALSE, align 4, !tbaa !15
store i32 %29, ptr %1, align 8, !tbaa !16
ret i32 %28
}
declare i32 @ASSERT_COND(ptr noundef) local_unnamed_addr #1
declare i32 @FmMacsecDeleteRxSc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FmMacsecDeleteTxSc(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 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 0}
| freebsd_sys_contrib_ncsw_Peripherals_FM_MACSEC_extr_fm_macsec_secy.c_FmMacsecSecYDeleteSc |
; ModuleID = 'AnghaBench/sway/sway/commands/seat/extr_fallback.c_seat_cmd_fallback.c'
source_filename = "AnghaBench/sway/sway/commands/seat/extr_fallback.c_seat_cmd_fallback.c"
target datalayout = "e-m:e-p270:32:32-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 [9 x i8] c"fallback\00", align 1
@EXPECTED_EQUAL_TO = dso_local local_unnamed_addr global i32 0, align 4
@config = dso_local local_unnamed_addr global ptr null, align 8
@CMD_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"No seat defined\00", align 1
@CMD_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @seat_cmd_fallback(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @EXPECTED_EQUAL_TO, align 4, !tbaa !5
%4 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef 1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %20
6: ; preds = %2
%7 = load ptr, ptr @config, align 8, !tbaa !9
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr @CMD_FAILURE, align 4, !tbaa !5
%12 = tail call ptr @cmd_results_new(i32 noundef %11, ptr noundef nonnull @.str.1) #2
br label %20
13: ; preds = %6
%14 = load ptr, ptr %1, align 8, !tbaa !9
%15 = tail call i32 @parse_boolean(ptr noundef %14, i32 noundef 0) #2
%16 = load ptr, ptr @config, align 8, !tbaa !9
%17 = load ptr, ptr %16, align 8, !tbaa !11
store i32 %15, ptr %17, align 4, !tbaa !14
%18 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !5
%19 = tail call ptr @cmd_results_new(i32 noundef %18, ptr noundef null) #2
br label %20
20: ; preds = %2, %13, %10
%21 = phi ptr [ %19, %13 ], [ %12, %10 ], [ %4, %2 ]
ret ptr %21
}
declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cmd_results_new(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_boolean(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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !10, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/sway/sway/commands/seat/extr_fallback.c_seat_cmd_fallback.c'
source_filename = "AnghaBench/sway/sway/commands/seat/extr_fallback.c_seat_cmd_fallback.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 [9 x i8] c"fallback\00", align 1
@EXPECTED_EQUAL_TO = common local_unnamed_addr global i32 0, align 4
@config = common local_unnamed_addr global ptr null, align 8
@CMD_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"No seat defined\00", align 1
@CMD_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @seat_cmd_fallback(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @EXPECTED_EQUAL_TO, align 4, !tbaa !6
%4 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef 1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %20
6: ; preds = %2
%7 = load ptr, ptr @config, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr @CMD_FAILURE, align 4, !tbaa !6
%12 = tail call ptr @cmd_results_new(i32 noundef %11, ptr noundef nonnull @.str.1) #2
br label %20
13: ; preds = %6
%14 = load ptr, ptr %1, align 8, !tbaa !10
%15 = tail call i32 @parse_boolean(ptr noundef %14, i32 noundef 0) #2
%16 = load ptr, ptr @config, align 8, !tbaa !10
%17 = load ptr, ptr %16, align 8, !tbaa !12
store i32 %15, ptr %17, align 4, !tbaa !15
%18 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !6
%19 = tail call ptr @cmd_results_new(i32 noundef %18, ptr noundef null) #2
br label %20
20: ; preds = %2, %13, %10
%21 = phi ptr [ %19, %13 ], [ %12, %10 ], [ %4, %2 ]
ret ptr %21
}
declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cmd_results_new(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_boolean(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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"TYPE_5__", !11, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
| sway_sway_commands_seat_extr_fallback.c_seat_cmd_fallback |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_posix-poll.c_uv__platform_loop_init.c'
source_filename = "AnghaBench/libuv/src/unix/extr_posix-poll.c_uv__platform_loop_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local noundef i32 @uv__platform_loop_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/libuv/src/unix/extr_posix-poll.c_uv__platform_loop_init.c'
source_filename = "AnghaBench/libuv/src/unix/extr_posix-poll.c_uv__platform_loop_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define noundef i32 @uv__platform_loop_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| libuv_src_unix_extr_posix-poll.c_uv__platform_loop_init |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mpt/extr_mpt_raid.c_mpt_raid_reply_frame_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/mpt/extr_mpt_raid.c_mpt_raid_reply_frame_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.TYPE_8__ = type { i32, i32, i32 }
%struct.TYPE_6__ = type { i64, ptr }
%struct.mpt_raid_action_result = type { ptr, i32 }
@.str = private unnamed_addr constant [21 x i8] c"QUIESCE PHYSIO DONE\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"ENABLY PHYSIO DONE\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mpt_raid_reply_frame_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mpt_raid_reply_frame_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @le16toh(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store ptr %6, ptr %7, align 8, !tbaa !10
%8 = load i64, ptr %1, align 8, !tbaa !14
%9 = inttoptr i64 %8 to ptr
%10 = load i32, ptr %9, align 4, !tbaa !15
switch i32 %10, label %15 [
i32 128, label %12
i32 129, label %11
]
11: ; preds = %3
br label %12
12: ; preds = %3, %11
%13 = phi ptr [ @.str.1, %11 ], [ @.str, %3 ]
%14 = tail call i32 @mpt_prt(ptr noundef %0, ptr noundef nonnull %13) #2
br label %15
15: ; preds = %12, %3
%16 = tail call ptr @REQ_TO_RAID_ACTION_RESULT(ptr noundef nonnull %1) #2
%17 = getelementptr inbounds %struct.mpt_raid_action_result, ptr %16, i64 0, i32 1
%18 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
%19 = tail call i32 @memcpy(ptr noundef nonnull %17, ptr noundef nonnull %18, i32 noundef 4) #2
%20 = load i32, ptr %2, align 4, !tbaa !17
%21 = tail call ptr @le16toh(i32 noundef %20) #2
store ptr %21, ptr %16, align 8, !tbaa !18
%22 = load i32, ptr @TRUE, align 4, !tbaa !20
ret i32 %22
}
declare ptr @le16toh(i32 noundef) local_unnamed_addr #1
declare i32 @mpt_prt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @REQ_TO_RAID_ACTION_RESULT(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_7__", !7, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"mpt_raid_action_result", !13, i64 0, !7, i64 8}
!20 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mpt/extr_mpt_raid.c_mpt_raid_reply_frame_handler.c'
source_filename = "AnghaBench/freebsd/sys/dev/mpt/extr_mpt_raid.c_mpt_raid_reply_frame_handler.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"QUIESCE PHYSIO DONE\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"ENABLY PHYSIO DONE\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mpt_raid_reply_frame_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mpt_raid_reply_frame_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @le16toh(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %6, ptr %7, align 8, !tbaa !11
%8 = load i64, ptr %1, align 8, !tbaa !15
%9 = inttoptr i64 %8 to ptr
%10 = load i32, ptr %9, align 4, !tbaa !16
switch i32 %10, label %15 [
i32 128, label %12
i32 129, label %11
]
11: ; preds = %3
br label %12
12: ; preds = %3, %11
%13 = phi ptr [ @.str.1, %11 ], [ @.str, %3 ]
%14 = tail call i32 @mpt_prt(ptr noundef %0, ptr noundef nonnull %13) #2
br label %15
15: ; preds = %12, %3
%16 = tail call ptr @REQ_TO_RAID_ACTION_RESULT(ptr noundef nonnull %1) #2
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = getelementptr inbounds i8, ptr %2, i64 4
%19 = tail call i32 @memcpy(ptr noundef nonnull %17, ptr noundef nonnull %18, i32 noundef 4) #2
%20 = load i32, ptr %2, align 4, !tbaa !18
%21 = tail call ptr @le16toh(i32 noundef %20) #2
store ptr %21, ptr %16, align 8, !tbaa !19
%22 = load i32, ptr @TRUE, align 4, !tbaa !21
ret i32 %22
}
declare ptr @le16toh(i32 noundef) local_unnamed_addr #1
declare i32 @mpt_prt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @REQ_TO_RAID_ACTION_RESULT(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_6__", !13, i64 0, !14, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_7__", !8, i64 0}
!18 = !{!7, !8, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"mpt_raid_action_result", !14, i64 0, !8, i64 8}
!21 = !{!8, !8, i64 0}
| freebsd_sys_dev_mpt_extr_mpt_raid.c_mpt_raid_reply_frame_handler |
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_syscall_tp_user.c_test.c'
source_filename = "AnghaBench/linux/samples/bpf/extr_syscall_tp_user.c_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@bpf_log_buf = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"prog #%d: map ids %d %d\0A\00", align 1
@map_fd = dso_local local_unnamed_addr global ptr null, align 8
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"open failed: %s\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @test(ptr noundef %0, i32 noundef %1) #0 {
%3 = zext i32 %1 to i64
%4 = alloca i32, i64 %3, align 16
%5 = alloca i32, i64 %3, align 16
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %30
7: ; preds = %2, %15
%8 = phi i64 [ %28, %15 ], [ 0, %2 ]
%9 = tail call i64 @load_bpf_file(ptr noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr @stderr, align 4, !tbaa !5
%13 = load ptr, ptr @bpf_log_buf, align 8, !tbaa !9
%14 = tail call i32 @fprintf(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef %13) #2
br label %51
15: ; preds = %7
%16 = load ptr, ptr @map_fd, align 8, !tbaa !9
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = getelementptr inbounds i32, ptr %16, i64 1
%19 = load i32, ptr %18, align 4, !tbaa !5
%20 = trunc i64 %8 to i32
%21 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %20, i32 noundef %17, i32 noundef %19) #2
%22 = load ptr, ptr @map_fd, align 8, !tbaa !9
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = getelementptr inbounds i32, ptr %4, i64 %8
store i32 %23, ptr %24, align 4, !tbaa !5
%25 = getelementptr inbounds i32, ptr %22, i64 1
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = getelementptr inbounds i32, ptr %5, i64 %8
store i32 %26, ptr %27, align 4, !tbaa !5
%28 = add nuw nsw i64 %8, 1
%29 = icmp eq i64 %28, %3
br i1 %29, label %30, label %7, !llvm.loop !11
30: ; preds = %15, %2
%31 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%32 = tail call i32 @open(ptr noundef %0, i32 noundef %31) #2
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = load i32, ptr @stderr, align 4, !tbaa !5
%36 = load i32, ptr @errno, align 4, !tbaa !5
%37 = tail call ptr @strerror(i32 noundef %36) #2
%38 = tail call i32 @fprintf(i32 noundef %35, ptr noundef nonnull @.str.2, ptr noundef %37) #2
br label %51
39: ; preds = %30
%40 = tail call i32 @close(i32 noundef %32) #2
br i1 %6, label %41, label %51
41: ; preds = %39, %41
%42 = phi i64 [ %49, %41 ], [ 0, %39 ]
%43 = getelementptr inbounds i32, ptr %4, i64 %42
%44 = load i32, ptr %43, align 4, !tbaa !5
%45 = tail call i32 @verify_map(i32 noundef %44) #2
%46 = getelementptr inbounds i32, ptr %5, i64 %42
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = tail call i32 @verify_map(i32 noundef %47) #2
%49 = add nuw nsw i64 %42, 1
%50 = icmp eq i64 %49, %3
br i1 %50, label %51, label %41, !llvm.loop !13
51: ; preds = %41, %39, %34, %11
%52 = phi i32 [ 1, %11 ], [ 1, %34 ], [ 0, %39 ], [ 0, %41 ]
ret i32 %52
}
declare i64 @load_bpf_file(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @verify_map(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/linux/samples/bpf/extr_syscall_tp_user.c_test.c'
source_filename = "AnghaBench/linux/samples/bpf/extr_syscall_tp_user.c_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@bpf_log_buf = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [25 x i8] c"prog #%d: map ids %d %d\0A\00", align 1
@map_fd = common local_unnamed_addr global ptr null, align 8
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"open failed: %s\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @test(ptr noundef %0, i32 noundef %1) #0 {
%3 = zext i32 %1 to i64
%4 = alloca i32, i64 %3, align 4
%5 = alloca i32, i64 %3, align 4
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %30
7: ; preds = %2, %15
%8 = phi i64 [ %28, %15 ], [ 0, %2 ]
%9 = tail call i64 @load_bpf_file(ptr noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr @stderr, align 4, !tbaa !6
%13 = load ptr, ptr @bpf_log_buf, align 8, !tbaa !10
%14 = tail call i32 @fprintf(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef %13) #2
br label %51
15: ; preds = %7
%16 = load ptr, ptr @map_fd, align 8, !tbaa !10
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %16, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !6
%20 = trunc nuw nsw i64 %8 to i32
%21 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %20, i32 noundef %17, i32 noundef %19) #2
%22 = load ptr, ptr @map_fd, align 8, !tbaa !10
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = getelementptr inbounds i32, ptr %4, i64 %8
store i32 %23, ptr %24, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %22, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = getelementptr inbounds i32, ptr %5, i64 %8
store i32 %26, ptr %27, align 4, !tbaa !6
%28 = add nuw nsw i64 %8, 1
%29 = icmp eq i64 %28, %3
br i1 %29, label %30, label %7, !llvm.loop !12
30: ; preds = %15, %2
%31 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%32 = tail call i32 @open(ptr noundef %0, i32 noundef %31) #2
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = load i32, ptr @stderr, align 4, !tbaa !6
%36 = load i32, ptr @errno, align 4, !tbaa !6
%37 = tail call ptr @strerror(i32 noundef %36) #2
%38 = tail call i32 @fprintf(i32 noundef %35, ptr noundef nonnull @.str.2, ptr noundef %37) #2
br label %51
39: ; preds = %30
%40 = tail call i32 @close(i32 noundef %32) #2
br i1 %6, label %41, label %51
41: ; preds = %39, %41
%42 = phi i64 [ %49, %41 ], [ 0, %39 ]
%43 = getelementptr inbounds i32, ptr %4, i64 %42
%44 = load i32, ptr %43, align 4, !tbaa !6
%45 = tail call i32 @verify_map(i32 noundef %44) #2
%46 = getelementptr inbounds i32, ptr %5, i64 %42
%47 = load i32, ptr %46, align 4, !tbaa !6
%48 = tail call i32 @verify_map(i32 noundef %47) #2
%49 = add nuw nsw i64 %42, 1
%50 = icmp eq i64 %49, %3
br i1 %50, label %51, label %41, !llvm.loop !14
51: ; preds = %41, %39, %34, %11
%52 = phi i32 [ 1, %11 ], [ 1, %34 ], [ 0, %39 ], [ 0, %41 ]
ret i32 %52
}
declare i64 @load_bpf_file(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @verify_map(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| linux_samples_bpf_extr_syscall_tp_user.c_test |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r3_Slot_inst_get.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r3_Slot_inst_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Field_r3_Slot_inst_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @Field_r3_Slot_inst_get(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = shl i32 %2, 16
%4 = ashr i32 %3, 31
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r3_Slot_inst_get.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r3_Slot_inst_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @Field_r3_Slot_inst_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 -1, 1) i32 @Field_r3_Slot_inst_get(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = shl i32 %2, 16
%4 = ashr i32 %3, 31
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Field_r3_Slot_inst_get |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_gbe_del_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_gbe_del_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.netcp_addr = type { i32, i32 }
@.str = private unnamed_addr constant [37 x i8] c"ethss deleting address %pM, type %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @gbe_del_addr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gbe_del_addr(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr %1, align 4, !tbaa !13
%6 = getelementptr inbounds %struct.netcp_addr, ptr %1, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = tail call i32 @dev_dbg(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !15
switch i32 %9, label %16 [
i32 129, label %10
i32 131, label %10
i32 128, label %13
i32 130, label %13
]
10: ; preds = %2, %2
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = tail call i32 @gbe_del_mcast_addr(ptr noundef nonnull %0, i32 noundef %11) #2
br label %16
13: ; preds = %2, %2
%14 = load i32, ptr %1, align 4, !tbaa !13
%15 = tail call i32 @gbe_del_ucast_addr(ptr noundef nonnull %0, i32 noundef %14) #2
br label %16
16: ; preds = %2, %13, %10
ret i32 0
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gbe_del_mcast_addr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gbe_del_ucast_addr(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 = !{!"gbe_intf", !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 = !{!"gbe_priv", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"netcp_addr", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_gbe_del_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_ethss.c_gbe_del_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [37 x i8] c"ethss deleting address %pM, type %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @gbe_del_addr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gbe_del_addr(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr %1, align 4, !tbaa !14
%6 = getelementptr inbounds i8, ptr %1, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = tail call i32 @dev_dbg(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !16
switch i32 %9, label %16 [
i32 129, label %10
i32 131, label %10
i32 128, label %13
i32 130, label %13
]
10: ; preds = %2, %2
%11 = load i32, ptr %1, align 4, !tbaa !14
%12 = tail call i32 @gbe_del_mcast_addr(ptr noundef nonnull %0, i32 noundef %11) #2
br label %16
13: ; preds = %2, %2
%14 = load i32, ptr %1, align 4, !tbaa !14
%15 = tail call i32 @gbe_del_ucast_addr(ptr noundef nonnull %0, i32 noundef %14) #2
br label %16
16: ; preds = %2, %13, %10
ret i32 0
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gbe_del_mcast_addr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gbe_del_ucast_addr(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 = !{!"gbe_intf", !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 = !{!"gbe_priv", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"netcp_addr", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 4}
| linux_drivers_net_ethernet_ti_extr_netcp_ethss.c_gbe_del_addr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ftdi-elan.c_usb_ftdi_elan_edset_input.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ftdi-elan.c_usb_ftdi_elan_edset_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @usb_ftdi_elan_edset_input(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @platform_device_to_usb_ftdi(ptr noundef %0) #2
%10 = tail call i32 @ftdi_elan_edset_input(ptr noundef %9, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #2
ret i32 %10
}
declare ptr @platform_device_to_usb_ftdi(ptr noundef) local_unnamed_addr #1
declare i32 @ftdi_elan_edset_input(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ftdi-elan.c_usb_ftdi_elan_edset_input.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ftdi-elan.c_usb_ftdi_elan_edset_input.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 @usb_ftdi_elan_edset_input(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @platform_device_to_usb_ftdi(ptr noundef %0) #2
%10 = tail call i32 @ftdi_elan_edset_input(ptr noundef %9, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #2
ret i32 %10
}
declare ptr @platform_device_to_usb_ftdi(ptr noundef) local_unnamed_addr #1
declare i32 @ftdi_elan_edset_input(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_usb_misc_extr_ftdi-elan.c_usb_ftdi_elan_edset_input |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_atmel_lcdfb.c_compute_hozval.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_atmel_lcdfb.c_compute_hozval.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ATMEL_LCDC_LCDCON2 = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_LCDC_DISTYPE = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_DISTYPE_TFT = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_DISTYPE_STNCOLOR = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH_4 = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH_8 = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_SCANMOD = dso_local local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_SCANMOD_DUAL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @compute_hozval], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @compute_hozval(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = icmp eq i32 %4, 0
br i1 %5, label %34, label %6
6: ; preds = %2
%7 = load i32, ptr @ATMEL_LCDC_LCDCON2, align 4, !tbaa !13
%8 = tail call i64 @lcdc_readl(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i64, ptr @ATMEL_LCDC_DISTYPE, align 8, !tbaa !14
%10 = and i64 %9, %8
%11 = load i64, ptr @ATMEL_LCDC_DISTYPE_TFT, align 8, !tbaa !14
%12 = icmp eq i64 %10, %11
br i1 %12, label %34, label %13
13: ; preds = %6
%14 = load i64, ptr @ATMEL_LCDC_DISTYPE_STNCOLOR, align 8, !tbaa !14
%15 = icmp eq i64 %10, %14
%16 = mul i64 %1, 3
%17 = select i1 %15, i64 %16, i64 %1
%18 = load i64, ptr @ATMEL_LCDC_IFWIDTH, align 8, !tbaa !14
%19 = and i64 %18, %8
%20 = load i64, ptr @ATMEL_LCDC_IFWIDTH_4, align 8, !tbaa !14
%21 = icmp eq i64 %19, %20
br i1 %21, label %31, label %22
22: ; preds = %13
%23 = load i64, ptr @ATMEL_LCDC_IFWIDTH_8, align 8, !tbaa !14
%24 = icmp eq i64 %19, %23
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i64, ptr @ATMEL_LCDC_SCANMOD, align 8, !tbaa !14
%27 = and i64 %26, %8
%28 = load i64, ptr @ATMEL_LCDC_SCANMOD_DUAL, align 8, !tbaa !14
%29 = icmp eq i64 %27, %28
br i1 %29, label %31, label %30
30: ; preds = %25, %22
br label %31
31: ; preds = %13, %25, %30
%32 = phi i32 [ 8, %30 ], [ 4, %25 ], [ 4, %13 ]
%33 = tail call i64 @DIV_ROUND_UP(i64 noundef %17, i32 noundef %32) #2
br label %34
34: ; preds = %31, %6, %2
%35 = phi i64 [ %1, %2 ], [ %1, %6 ], [ %33, %31 ]
ret i64 %35
}
declare i64 @lcdc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"atmel_lcdfb_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_atmel_lcdfb.c_compute_hozval.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_atmel_lcdfb.c_compute_hozval.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATMEL_LCDC_LCDCON2 = common local_unnamed_addr global i32 0, align 4
@ATMEL_LCDC_DISTYPE = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_DISTYPE_TFT = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_DISTYPE_STNCOLOR = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH_4 = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_IFWIDTH_8 = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_SCANMOD = common local_unnamed_addr global i64 0, align 8
@ATMEL_LCDC_SCANMOD_DUAL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @compute_hozval], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @compute_hozval(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = icmp eq i32 %4, 0
br i1 %5, label %34, label %6
6: ; preds = %2
%7 = load i32, ptr @ATMEL_LCDC_LCDCON2, align 4, !tbaa !14
%8 = tail call i64 @lcdc_readl(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i64, ptr @ATMEL_LCDC_DISTYPE, align 8, !tbaa !15
%10 = and i64 %9, %8
%11 = load i64, ptr @ATMEL_LCDC_DISTYPE_TFT, align 8, !tbaa !15
%12 = icmp eq i64 %10, %11
br i1 %12, label %34, label %13
13: ; preds = %6
%14 = load i64, ptr @ATMEL_LCDC_DISTYPE_STNCOLOR, align 8, !tbaa !15
%15 = icmp eq i64 %10, %14
%16 = mul i64 %1, 3
%17 = select i1 %15, i64 %16, i64 %1
%18 = load i64, ptr @ATMEL_LCDC_IFWIDTH, align 8, !tbaa !15
%19 = and i64 %18, %8
%20 = load i64, ptr @ATMEL_LCDC_IFWIDTH_4, align 8, !tbaa !15
%21 = icmp eq i64 %19, %20
br i1 %21, label %31, label %22
22: ; preds = %13
%23 = load i64, ptr @ATMEL_LCDC_IFWIDTH_8, align 8, !tbaa !15
%24 = icmp eq i64 %19, %23
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i64, ptr @ATMEL_LCDC_SCANMOD, align 8, !tbaa !15
%27 = and i64 %26, %8
%28 = load i64, ptr @ATMEL_LCDC_SCANMOD_DUAL, align 8, !tbaa !15
%29 = icmp eq i64 %27, %28
br i1 %29, label %31, label %30
30: ; preds = %25, %22
br label %31
31: ; preds = %13, %25, %30
%32 = phi i32 [ 8, %30 ], [ 4, %25 ], [ 4, %13 ]
%33 = tail call i64 @DIV_ROUND_UP(i64 noundef %17, i32 noundef %32) #2
br label %34
34: ; preds = %31, %6, %2
%35 = phi i64 [ %1, %2 ], [ %1, %6 ], [ %33, %31 ]
ret i64 %35
}
declare i64 @lcdc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"atmel_lcdfb_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
| linux_drivers_video_fbdev_extr_atmel_lcdfb.c_compute_hozval |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_rs6000_adjust_cost.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_rs6000_adjust_cost.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@rs6000_sched_groups = dso_local local_unnamed_addr global i64 0, align 8
@SET = dso_local local_unnamed_addr global i64 0, align 8
@MEM = dso_local local_unnamed_addr global i64 0, align 8
@TARGET_POWER = dso_local local_unnamed_addr global i32 0, align 4
@rs6000_cpu_attr = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC603 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC604 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC604E = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC620 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC630 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC750 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC7400 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_PPC7450 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_POWER4 = dso_local local_unnamed_addr global i32 0, align 4
@CPU_POWER5 = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_CMP = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_COMPARE = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_DELAYED_COMPARE = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_IMUL_COMPARE = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_LMUL_COMPARE = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_FPCOMPARE = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_CR_LOGICAL = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_DELAYED_CR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rs6000_adjust_cost], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rs6000_adjust_cost(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @recog_memoized(i32 noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %127, label %7
7: ; preds = %4
%8 = tail call i64 @REG_NOTE_KIND(i32 noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %127
10: ; preds = %7
%11 = tail call i64 @REG_NOTE_KIND(i32 noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %127
13: ; preds = %10
%14 = load i64, ptr @rs6000_sched_groups, align 8, !tbaa !5
%15 = icmp eq i64 %14, 0
br i1 %15, label %50, label %16
16: ; preds = %13
%17 = tail call i32 @PATTERN(i32 noundef %0) #2
%18 = tail call i64 @GET_CODE(i32 noundef %17) #2
%19 = load i64, ptr @SET, align 8, !tbaa !5
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %50
21: ; preds = %16
%22 = tail call i32 @PATTERN(i32 noundef %2) #2
%23 = tail call i64 @GET_CODE(i32 noundef %22) #2
%24 = load i64, ptr @SET, align 8, !tbaa !5
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %50
26: ; preds = %21
%27 = tail call i32 @PATTERN(i32 noundef %0) #2
%28 = tail call i32 @XEXP(i32 noundef %27, i32 noundef 1) #2
%29 = tail call i64 @GET_CODE(i32 noundef %28) #2
%30 = load i64, ptr @MEM, align 8, !tbaa !5
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %50
32: ; preds = %26
%33 = tail call i32 @PATTERN(i32 noundef %2) #2
%34 = tail call i32 @XEXP(i32 noundef %33, i32 noundef 0) #2
%35 = tail call i64 @GET_CODE(i32 noundef %34) #2
%36 = load i64, ptr @MEM, align 8, !tbaa !5
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %32
%39 = tail call i32 @PATTERN(i32 noundef %0) #2
%40 = tail call i32 @XEXP(i32 noundef %39, i32 noundef 1) #2
%41 = tail call i32 @GET_MODE(i32 noundef %40) #2
%42 = tail call i64 @GET_MODE_SIZE(i32 noundef %41) #2
%43 = tail call i32 @PATTERN(i32 noundef %2) #2
%44 = tail call i32 @XEXP(i32 noundef %43, i32 noundef 0) #2
%45 = tail call i32 @GET_MODE(i32 noundef %44) #2
%46 = tail call i64 @GET_MODE_SIZE(i32 noundef %45) #2
%47 = icmp sgt i64 %42, %46
br i1 %47, label %48, label %50
48: ; preds = %38
%49 = add nsw i32 %3, 14
br label %127
50: ; preds = %38, %32, %26, %21, %16, %13
%51 = tail call i32 @get_attr_type(i32 noundef %0) #2
switch i32 %51, label %127 [
i32 128, label %52
i32 129, label %56
]
52: ; preds = %50
%53 = load i32, ptr @TARGET_POWER, align 4, !tbaa !9
%54 = icmp eq i32 %53, 0
%55 = select i1 %54, i32 4, i32 5
br label %127
56: ; preds = %50
%57 = load i32, ptr @rs6000_cpu_attr, align 4, !tbaa !9
%58 = load i32, ptr @CPU_PPC603, align 4, !tbaa !9
%59 = icmp eq i32 %57, %58
%60 = load i32, ptr @CPU_PPC604, align 4
%61 = icmp eq i32 %57, %60
%62 = select i1 %59, i1 true, i1 %61
%63 = load i32, ptr @CPU_PPC604E, align 4
%64 = icmp eq i32 %57, %63
%65 = select i1 %62, i1 true, i1 %64
%66 = load i32, ptr @CPU_PPC620, align 4
%67 = icmp eq i32 %57, %66
%68 = select i1 %65, i1 true, i1 %67
%69 = load i32, ptr @CPU_PPC630, align 4
%70 = icmp eq i32 %57, %69
%71 = select i1 %68, i1 true, i1 %70
%72 = load i32, ptr @CPU_PPC750, align 4
%73 = icmp eq i32 %57, %72
%74 = select i1 %71, i1 true, i1 %73
%75 = load i32, ptr @CPU_PPC7400, align 4
%76 = icmp eq i32 %57, %75
%77 = select i1 %74, i1 true, i1 %76
%78 = load i32, ptr @CPU_PPC7450, align 4
%79 = icmp eq i32 %57, %78
%80 = select i1 %77, i1 true, i1 %79
%81 = load i32, ptr @CPU_POWER4, align 4
%82 = icmp eq i32 %57, %81
%83 = select i1 %80, i1 true, i1 %82
%84 = load i32, ptr @CPU_POWER5, align 4
%85 = icmp eq i32 %57, %84
%86 = select i1 %83, i1 true, i1 %85
br i1 %86, label %87, label %127
87: ; preds = %56
%88 = tail call i64 @recog_memoized(i32 noundef %2) #2
%89 = icmp eq i64 %88, 0
br i1 %89, label %127, label %90
90: ; preds = %87
%91 = tail call i32 @INSN_CODE(i32 noundef %2) #2
%92 = icmp sgt i32 %91, -1
br i1 %92, label %93, label %127
93: ; preds = %90
%94 = tail call i32 @get_attr_type(i32 noundef %2) #2
%95 = load i32, ptr @TYPE_CMP, align 4, !tbaa !9
%96 = icmp eq i32 %94, %95
br i1 %96, label %125, label %97
97: ; preds = %93
%98 = tail call i32 @get_attr_type(i32 noundef %2) #2
%99 = load i32, ptr @TYPE_COMPARE, align 4, !tbaa !9
%100 = icmp eq i32 %98, %99
br i1 %100, label %125, label %101
101: ; preds = %97
%102 = tail call i32 @get_attr_type(i32 noundef %2) #2
%103 = load i32, ptr @TYPE_DELAYED_COMPARE, align 4, !tbaa !9
%104 = icmp eq i32 %102, %103
br i1 %104, label %125, label %105
105: ; preds = %101
%106 = tail call i32 @get_attr_type(i32 noundef %2) #2
%107 = load i32, ptr @TYPE_IMUL_COMPARE, align 4, !tbaa !9
%108 = icmp eq i32 %106, %107
br i1 %108, label %125, label %109
109: ; preds = %105
%110 = tail call i32 @get_attr_type(i32 noundef %2) #2
%111 = load i32, ptr @TYPE_LMUL_COMPARE, align 4, !tbaa !9
%112 = icmp eq i32 %110, %111
br i1 %112, label %125, label %113
113: ; preds = %109
%114 = tail call i32 @get_attr_type(i32 noundef %2) #2
%115 = load i32, ptr @TYPE_FPCOMPARE, align 4, !tbaa !9
%116 = icmp eq i32 %114, %115
br i1 %116, label %125, label %117
117: ; preds = %113
%118 = tail call i32 @get_attr_type(i32 noundef %2) #2
%119 = load i32, ptr @TYPE_CR_LOGICAL, align 4, !tbaa !9
%120 = icmp eq i32 %118, %119
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = tail call i32 @get_attr_type(i32 noundef %2) #2
%123 = load i32, ptr @TYPE_DELAYED_CR, align 4, !tbaa !9
%124 = icmp eq i32 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121, %117, %113, %109, %105, %101, %97, %93
%126 = add nsw i32 %3, 2
br label %127
127: ; preds = %10, %50, %121, %90, %87, %56, %7, %4, %125, %52, %48
%128 = phi i32 [ %49, %48 ], [ %126, %125 ], [ %55, %52 ], [ 0, %4 ], [ 0, %7 ], [ %3, %56 ], [ %3, %87 ], [ %3, %90 ], [ %3, %121 ], [ %3, %50 ], [ %3, %10 ]
ret i32 %128
}
declare i64 @recog_memoized(i32 noundef) local_unnamed_addr #1
declare i64 @REG_NOTE_KIND(i32 noundef) local_unnamed_addr #1
declare i64 @GET_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @PATTERN(i32 noundef) local_unnamed_addr #1
declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @get_attr_type(i32 noundef) local_unnamed_addr #1
declare i32 @INSN_CODE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_rs6000_adjust_cost.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/rs6000/extr_rs6000.c_rs6000_adjust_cost.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rs6000_sched_groups = common local_unnamed_addr global i64 0, align 8
@SET = common local_unnamed_addr global i64 0, align 8
@MEM = common local_unnamed_addr global i64 0, align 8
@TARGET_POWER = common local_unnamed_addr global i32 0, align 4
@rs6000_cpu_attr = common local_unnamed_addr global i32 0, align 4
@CPU_PPC603 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC604 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC604E = common local_unnamed_addr global i32 0, align 4
@CPU_PPC620 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC630 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC750 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC7400 = common local_unnamed_addr global i32 0, align 4
@CPU_PPC7450 = common local_unnamed_addr global i32 0, align 4
@CPU_POWER4 = common local_unnamed_addr global i32 0, align 4
@CPU_POWER5 = common local_unnamed_addr global i32 0, align 4
@TYPE_CMP = common local_unnamed_addr global i32 0, align 4
@TYPE_COMPARE = common local_unnamed_addr global i32 0, align 4
@TYPE_DELAYED_COMPARE = common local_unnamed_addr global i32 0, align 4
@TYPE_IMUL_COMPARE = common local_unnamed_addr global i32 0, align 4
@TYPE_LMUL_COMPARE = common local_unnamed_addr global i32 0, align 4
@TYPE_FPCOMPARE = common local_unnamed_addr global i32 0, align 4
@TYPE_CR_LOGICAL = common local_unnamed_addr global i32 0, align 4
@TYPE_DELAYED_CR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rs6000_adjust_cost], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rs6000_adjust_cost(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @recog_memoized(i32 noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %127, label %7
7: ; preds = %4
%8 = tail call i64 @REG_NOTE_KIND(i32 noundef %1) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %127
10: ; preds = %7
%11 = tail call i64 @REG_NOTE_KIND(i32 noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %127
13: ; preds = %10
%14 = load i64, ptr @rs6000_sched_groups, align 8, !tbaa !6
%15 = icmp eq i64 %14, 0
br i1 %15, label %50, label %16
16: ; preds = %13
%17 = tail call i32 @PATTERN(i32 noundef %0) #2
%18 = tail call i64 @GET_CODE(i32 noundef %17) #2
%19 = load i64, ptr @SET, align 8, !tbaa !6
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %50
21: ; preds = %16
%22 = tail call i32 @PATTERN(i32 noundef %2) #2
%23 = tail call i64 @GET_CODE(i32 noundef %22) #2
%24 = load i64, ptr @SET, align 8, !tbaa !6
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %50
26: ; preds = %21
%27 = tail call i32 @PATTERN(i32 noundef %0) #2
%28 = tail call i32 @XEXP(i32 noundef %27, i32 noundef 1) #2
%29 = tail call i64 @GET_CODE(i32 noundef %28) #2
%30 = load i64, ptr @MEM, align 8, !tbaa !6
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %50
32: ; preds = %26
%33 = tail call i32 @PATTERN(i32 noundef %2) #2
%34 = tail call i32 @XEXP(i32 noundef %33, i32 noundef 0) #2
%35 = tail call i64 @GET_CODE(i32 noundef %34) #2
%36 = load i64, ptr @MEM, align 8, !tbaa !6
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %32
%39 = tail call i32 @PATTERN(i32 noundef %0) #2
%40 = tail call i32 @XEXP(i32 noundef %39, i32 noundef 1) #2
%41 = tail call i32 @GET_MODE(i32 noundef %40) #2
%42 = tail call i64 @GET_MODE_SIZE(i32 noundef %41) #2
%43 = tail call i32 @PATTERN(i32 noundef %2) #2
%44 = tail call i32 @XEXP(i32 noundef %43, i32 noundef 0) #2
%45 = tail call i32 @GET_MODE(i32 noundef %44) #2
%46 = tail call i64 @GET_MODE_SIZE(i32 noundef %45) #2
%47 = icmp sgt i64 %42, %46
br i1 %47, label %48, label %50
48: ; preds = %38
%49 = add nsw i32 %3, 14
br label %127
50: ; preds = %38, %32, %26, %21, %16, %13
%51 = tail call i32 @get_attr_type(i32 noundef %0) #2
switch i32 %51, label %127 [
i32 128, label %52
i32 129, label %56
]
52: ; preds = %50
%53 = load i32, ptr @TARGET_POWER, align 4, !tbaa !10
%54 = icmp eq i32 %53, 0
%55 = select i1 %54, i32 4, i32 5
br label %127
56: ; preds = %50
%57 = load i32, ptr @rs6000_cpu_attr, align 4, !tbaa !10
%58 = load i32, ptr @CPU_PPC603, align 4, !tbaa !10
%59 = icmp eq i32 %57, %58
%60 = load i32, ptr @CPU_PPC604, align 4
%61 = icmp eq i32 %57, %60
%62 = select i1 %59, i1 true, i1 %61
%63 = load i32, ptr @CPU_PPC604E, align 4
%64 = icmp eq i32 %57, %63
%65 = select i1 %62, i1 true, i1 %64
%66 = load i32, ptr @CPU_PPC620, align 4
%67 = icmp eq i32 %57, %66
%68 = select i1 %65, i1 true, i1 %67
%69 = load i32, ptr @CPU_PPC630, align 4
%70 = icmp eq i32 %57, %69
%71 = select i1 %68, i1 true, i1 %70
%72 = load i32, ptr @CPU_PPC750, align 4
%73 = icmp eq i32 %57, %72
%74 = select i1 %71, i1 true, i1 %73
%75 = load i32, ptr @CPU_PPC7400, align 4
%76 = icmp eq i32 %57, %75
%77 = select i1 %74, i1 true, i1 %76
%78 = load i32, ptr @CPU_PPC7450, align 4
%79 = icmp eq i32 %57, %78
%80 = select i1 %77, i1 true, i1 %79
%81 = load i32, ptr @CPU_POWER4, align 4
%82 = icmp eq i32 %57, %81
%83 = select i1 %80, i1 true, i1 %82
%84 = load i32, ptr @CPU_POWER5, align 4
%85 = icmp eq i32 %57, %84
%86 = select i1 %83, i1 true, i1 %85
br i1 %86, label %87, label %127
87: ; preds = %56
%88 = tail call i64 @recog_memoized(i32 noundef %2) #2
%89 = icmp eq i64 %88, 0
br i1 %89, label %127, label %90
90: ; preds = %87
%91 = tail call i32 @INSN_CODE(i32 noundef %2) #2
%92 = icmp sgt i32 %91, -1
br i1 %92, label %93, label %127
93: ; preds = %90
%94 = tail call i32 @get_attr_type(i32 noundef %2) #2
%95 = load i32, ptr @TYPE_CMP, align 4, !tbaa !10
%96 = icmp eq i32 %94, %95
br i1 %96, label %125, label %97
97: ; preds = %93
%98 = tail call i32 @get_attr_type(i32 noundef %2) #2
%99 = load i32, ptr @TYPE_COMPARE, align 4, !tbaa !10
%100 = icmp eq i32 %98, %99
br i1 %100, label %125, label %101
101: ; preds = %97
%102 = tail call i32 @get_attr_type(i32 noundef %2) #2
%103 = load i32, ptr @TYPE_DELAYED_COMPARE, align 4, !tbaa !10
%104 = icmp eq i32 %102, %103
br i1 %104, label %125, label %105
105: ; preds = %101
%106 = tail call i32 @get_attr_type(i32 noundef %2) #2
%107 = load i32, ptr @TYPE_IMUL_COMPARE, align 4, !tbaa !10
%108 = icmp eq i32 %106, %107
br i1 %108, label %125, label %109
109: ; preds = %105
%110 = tail call i32 @get_attr_type(i32 noundef %2) #2
%111 = load i32, ptr @TYPE_LMUL_COMPARE, align 4, !tbaa !10
%112 = icmp eq i32 %110, %111
br i1 %112, label %125, label %113
113: ; preds = %109
%114 = tail call i32 @get_attr_type(i32 noundef %2) #2
%115 = load i32, ptr @TYPE_FPCOMPARE, align 4, !tbaa !10
%116 = icmp eq i32 %114, %115
br i1 %116, label %125, label %117
117: ; preds = %113
%118 = tail call i32 @get_attr_type(i32 noundef %2) #2
%119 = load i32, ptr @TYPE_CR_LOGICAL, align 4, !tbaa !10
%120 = icmp eq i32 %118, %119
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = tail call i32 @get_attr_type(i32 noundef %2) #2
%123 = load i32, ptr @TYPE_DELAYED_CR, align 4, !tbaa !10
%124 = icmp eq i32 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121, %117, %113, %109, %105, %101, %97, %93
%126 = add nsw i32 %3, 2
br label %127
127: ; preds = %10, %50, %121, %90, %87, %56, %7, %4, %125, %52, %48
%128 = phi i32 [ %49, %48 ], [ %126, %125 ], [ %55, %52 ], [ 0, %4 ], [ 0, %7 ], [ %3, %56 ], [ %3, %87 ], [ %3, %90 ], [ %3, %121 ], [ %3, %50 ], [ %3, %10 ]
ret i32 %128
}
declare i64 @recog_memoized(i32 noundef) local_unnamed_addr #1
declare i64 @REG_NOTE_KIND(i32 noundef) local_unnamed_addr #1
declare i64 @GET_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @PATTERN(i32 noundef) local_unnamed_addr #1
declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_MODE_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @GET_MODE(i32 noundef) local_unnamed_addr #1
declare i32 @get_attr_type(i32 noundef) local_unnamed_addr #1
declare i32 @INSN_CODE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_gcc_config_rs6000_extr_rs6000.c_rs6000_adjust_cost |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_buffer.c_evbuffer_enable_locking.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_buffer.c_evbuffer_enable_locking.c"
target datalayout = "e-m:e-p270:32:32-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.evbuffer = type { i32, ptr }
@EVTHREAD_LOCKTYPE_RECURSIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @evbuffer_enable_locking(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.evbuffer, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %2
%7 = icmp eq ptr %1, null
br i1 %7, label %8, label %11
8: ; preds = %6
%9 = load i32, ptr @EVTHREAD_LOCKTYPE_RECURSIVE, align 4, !tbaa !11
%10 = tail call i32 @EVTHREAD_ALLOC_LOCK(ptr noundef null, i32 noundef %9) #2
br label %12
11: ; preds = %6
store ptr %1, ptr %3, align 8, !tbaa !5
store i32 0, ptr %0, align 8, !tbaa !12
br label %12
12: ; preds = %2, %11, %8
%13 = phi i32 [ 0, %11 ], [ -1, %8 ], [ -1, %2 ]
ret i32 %13
}
declare i32 @EVTHREAD_ALLOC_LOCK(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 = !{!"evbuffer", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_buffer.c_evbuffer_enable_locking.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_buffer.c_evbuffer_enable_locking.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EVTHREAD_LOCKTYPE_RECURSIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @evbuffer_enable_locking(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %2
%7 = icmp eq ptr %1, null
br i1 %7, label %8, label %11
8: ; preds = %6
%9 = load i32, ptr @EVTHREAD_LOCKTYPE_RECURSIVE, align 4, !tbaa !12
%10 = tail call i32 @EVTHREAD_ALLOC_LOCK(ptr noundef null, i32 noundef %9) #2
br label %12
11: ; preds = %6
store ptr %1, ptr %3, align 8, !tbaa !6
store i32 0, ptr %0, align 8, !tbaa !13
br label %12
12: ; preds = %2, %11, %8
%13 = phi i32 [ 0, %11 ], [ -1, %8 ], [ -1, %2 ]
ret i32 %13
}
declare i32 @EVTHREAD_ALLOC_LOCK(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 = !{!"evbuffer", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
| freebsd_contrib_ntp_sntp_libevent_extr_buffer.c_evbuffer_enable_locking |
; ModuleID = 'AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_mpegts.c_ngx_rtmp_mpegts_write_file.c'
source_filename = "AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_mpegts.c_ngx_rtmp_mpegts_write_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64, i32*, i32, i32, i32, i32, i32 }
@ngx_rtmp_mpegts_write_file.buf = internal global [1024 x i32] zeroinitializer, align 16
@NGX_LOG_DEBUG_CORE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"mpegts: write %uz bytes\00", align 1
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"mpegts: write %uz encrypted bytes\00", align 1
@AES_ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.TYPE_3__*, i32*, i64)* @ngx_rtmp_mpegts_write_file to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_rtmp_mpegts_write_file(%struct.TYPE_3__* noundef %0, i32* noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 6
%5 = load i32, i32* %4, align 8, !tbaa !5
%6 = icmp eq i32 %5, 0
%7 = load i32, i32* @NGX_LOG_DEBUG_CORE, align 4, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 5
%9 = load i32, i32* %8, align 4, !tbaa !13
br i1 %6, label %10, label %18
10: ; preds = %3
%11 = tail call i32 @ngx_log_debug1(i32 noundef %7, i32 noundef %9, i32 noundef 0, i8* noundef getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i64 noundef %2) #2
%12 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 2
%13 = load i32, i32* %12, align 8, !tbaa !14
%14 = trunc i64 %2 to i32
%15 = tail call i64 @ngx_write_fd(i32 noundef %13, i32* noundef %1, i32 noundef %14) #2
%16 = icmp slt i64 %15, 0
%17 = select i1 %16, i32* @NGX_ERROR, i32* @NGX_OK
br label %89
18: ; preds = %3
%19 = tail call i32 @ngx_log_debug1(i32 noundef %7, i32 noundef %9, i32 noundef 0, i8* noundef getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i64 noundef %2) #2
%20 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 0
%21 = load i64, i64* %20, align 8, !tbaa !15
%22 = icmp ne i64 %21, 0
%23 = add i64 %21, %2
%24 = icmp ugt i64 %23, 15
%25 = and i1 %22, %24
br i1 %25, label %26, label %42
26: ; preds = %18
%27 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 1
%28 = load i32*, i32** %27, align 8, !tbaa !16
%29 = getelementptr inbounds i32, i32* %28, i64 %21
%30 = sub i64 16, %21
%31 = tail call i32 @ngx_memcpy(i32* noundef nonnull %29, i32* noundef %1, i64 noundef %30) #2
%32 = load i64, i64* %20, align 8, !tbaa !15
%33 = sub i64 16, %32
%34 = getelementptr inbounds i32, i32* %1, i64 %33
%35 = sub i64 %2, %33
%36 = load i32*, i32** %27, align 8, !tbaa !16
%37 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 4
%38 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 3
%39 = load i32, i32* %38, align 4, !tbaa !17
%40 = load i32, i32* @AES_ENCRYPT, align 4, !tbaa !12
%41 = tail call i32 @AES_cbc_encrypt(i32* noundef %36, i32* noundef getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 0), i64 noundef 16, i32* noundef nonnull %37, i32 noundef %39, i32 noundef %40) #2
store i64 0, i64* %20, align 8, !tbaa !15
br label %42
42: ; preds = %26, %18
%43 = phi i32* [ %34, %26 ], [ %1, %18 ]
%44 = phi i64 [ %35, %26 ], [ %2, %18 ]
%45 = phi i32* [ getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 16), %26 ], [ getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 0), %18 ]
%46 = phi i64 [ 4080, %26 ], [ 4096, %18 ]
%47 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 4
%48 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 3
%49 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 2
br label %50
50: ; preds = %67, %42
%51 = phi i32* [ %43, %42 ], [ %68, %67 ]
%52 = phi i64 [ %44, %42 ], [ %69, %67 ]
%53 = phi i32* [ %45, %42 ], [ getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 0), %67 ]
%54 = phi i64 [ %46, %42 ], [ 4096, %67 ]
%55 = and i64 %52, -16
%56 = icmp eq i64 %55, 0
br i1 %56, label %65, label %57
57: ; preds = %50
%58 = icmp ugt i64 %55, %54
%59 = select i1 %58, i64 %54, i64 %55
%60 = load i32, i32* %48, align 4, !tbaa !17
%61 = load i32, i32* @AES_ENCRYPT, align 4, !tbaa !12
%62 = tail call i32 @AES_cbc_encrypt(i32* noundef %51, i32* noundef %53, i64 noundef %59, i32* noundef nonnull %47, i32 noundef %60, i32 noundef %61) #2
%63 = getelementptr inbounds i32, i32* %51, i64 %59
%64 = sub i64 %52, %59
br label %67
65: ; preds = %50
%66 = icmp eq i32* %53, getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 0)
br i1 %66, label %79, label %67
67: ; preds = %65, %57
%68 = phi i32* [ %63, %57 ], [ %51, %65 ]
%69 = phi i64 [ %64, %57 ], [ %52, %65 ]
%70 = phi i64 [ %59, %57 ], [ 0, %65 ]
%71 = load i32, i32* %49, align 8, !tbaa !14
%72 = ptrtoint i32* %53 to i64
%73 = sub i64 %72, ptrtoint ([1024 x i32]* @ngx_rtmp_mpegts_write_file.buf to i64)
%74 = lshr exact i64 %73, 2
%75 = add nuw nsw i64 %70, %74
%76 = trunc i64 %75 to i32
%77 = tail call i64 @ngx_write_fd(i32 noundef %71, i32* noundef getelementptr inbounds ([1024 x i32], [1024 x i32]* @ngx_rtmp_mpegts_write_file.buf, i64 0, i64 0), i32 noundef %76) #2
%78 = icmp slt i64 %77, 0
br i1 %78, label %89, label %50
79: ; preds = %65
%80 = icmp eq i64 %52, 0
br i1 %80, label %89, label %81
81: ; preds = %79
%82 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 1
%83 = load i32*, i32** %82, align 8, !tbaa !16
%84 = load i64, i64* %20, align 8, !tbaa !15
%85 = getelementptr inbounds i32, i32* %83, i64 %84
%86 = tail call i32 @ngx_memcpy(i32* noundef %85, i32* noundef %51, i64 noundef %52) #2
%87 = load i64, i64* %20, align 8, !tbaa !15
%88 = add i64 %87, %52
store i64 %88, i64* %20, align 8, !tbaa !15
br label %89
89: ; preds = %67, %79, %81, %10
%90 = phi i32* [ %17, %10 ], [ @NGX_OK, %81 ], [ @NGX_OK, %79 ], [ @NGX_ERROR, %67 ]
%91 = load i32, i32* %90, align 4, !tbaa !12
ret i32 %91
}
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, i8* noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ngx_write_fd(i32 noundef, i32* noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_memcpy(i32* noundef, i32* noundef, i64 noundef) local_unnamed_addr #1
declare i32 @AES_cbc_encrypt(i32* noundef, i32* noundef, i64 noundef, i32* noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !11, i64 32}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !11, i64 28}
!14 = !{!6, !11, i64 16}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!6, !11, i64 20}
| ; ModuleID = 'AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_mpegts.c_ngx_rtmp_mpegts_write_file.c'
source_filename = "AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_mpegts.c_ngx_rtmp_mpegts_write_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ngx_rtmp_mpegts_write_file.buf = internal global [1024 x i32] zeroinitializer, align 4
@NGX_LOG_DEBUG_CORE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"mpegts: write %uz bytes\00", align 1
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"mpegts: write %uz encrypted bytes\00", align 1
@AES_ENCRYPT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_mpegts_write_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_rtmp_mpegts_write_file(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp eq i32 %5, 0
%7 = load i32, ptr @NGX_LOG_DEBUG_CORE, align 4, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 28
%9 = load i32, ptr %8, align 4, !tbaa !14
br i1 %6, label %10, label %18
10: ; preds = %3
%11 = tail call i32 @ngx_log_debug1(i32 noundef %7, i32 noundef %9, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %2) #3
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = trunc i64 %2 to i32
%15 = tail call i64 @ngx_write_fd(i32 noundef %13, ptr noundef %1, i32 noundef %14) #3
%16 = icmp slt i64 %15, 0
%17 = select i1 %16, ptr @NGX_ERROR, ptr @NGX_OK
br label %109
18: ; preds = %3
%19 = tail call i32 @ngx_log_debug1(i32 noundef %7, i32 noundef %9, i32 noundef 0, ptr noundef nonnull @.str.1, i64 noundef %2) #3
%20 = load i64, ptr %0, align 8, !tbaa !16
%21 = icmp eq i64 %20, 0
%22 = add i64 %20, %2
%23 = icmp ult i64 %22, 16
%24 = or i1 %21, %23
br i1 %24, label %25, label %31
25: ; preds = %18
%26 = getelementptr inbounds i8, ptr %0, i64 24
%27 = getelementptr inbounds i8, ptr %0, i64 20
%28 = getelementptr inbounds i8, ptr %0, i64 16
%29 = and i64 %2, -16
%30 = icmp eq i64 %29, 0
br i1 %30, label %97, label %50
31: ; preds = %18
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !17
%34 = getelementptr inbounds i32, ptr %33, i64 %20
%35 = sub i64 16, %20
%36 = tail call i32 @ngx_memcpy(ptr noundef nonnull %34, ptr noundef %1, i64 noundef %35) #3
%37 = load i64, ptr %0, align 8, !tbaa !16
%38 = sub i64 16, %37
%39 = getelementptr inbounds i32, ptr %1, i64 %38
%40 = sub i64 %2, %38
%41 = load ptr, ptr %32, align 8, !tbaa !17
%42 = getelementptr inbounds i8, ptr %0, i64 24
%43 = getelementptr inbounds i8, ptr %0, i64 20
%44 = load i32, ptr %43, align 4, !tbaa !18
%45 = load i32, ptr @AES_ENCRYPT, align 4, !tbaa !13
%46 = tail call i32 @AES_cbc_encrypt(ptr noundef %41, ptr noundef nonnull @ngx_rtmp_mpegts_write_file.buf, i64 noundef 16, ptr noundef nonnull %42, i32 noundef %44, i32 noundef %45) #3
store i64 0, ptr %0, align 8, !tbaa !16
%47 = getelementptr inbounds i8, ptr %0, i64 16
%48 = and i64 %40, -16
%49 = icmp eq i64 %48, 0
br i1 %49, label %65, label %50
50: ; preds = %31, %25
%51 = phi i64 [ %48, %31 ], [ %29, %25 ]
%52 = phi ptr [ %47, %31 ], [ %28, %25 ]
%53 = phi ptr [ %43, %31 ], [ %27, %25 ]
%54 = phi ptr [ %42, %31 ], [ %26, %25 ]
%55 = phi i64 [ 4080, %31 ], [ 4096, %25 ]
%56 = phi ptr [ getelementptr inbounds (i8, ptr @ngx_rtmp_mpegts_write_file.buf, i64 64), %31 ], [ @ngx_rtmp_mpegts_write_file.buf, %25 ]
%57 = phi i64 [ %40, %31 ], [ %2, %25 ]
%58 = phi ptr [ %39, %31 ], [ %1, %25 ]
%59 = tail call i64 @llvm.umin.i64(i64 %51, i64 %55)
%60 = load i32, ptr %53, align 4, !tbaa !18
%61 = load i32, ptr @AES_ENCRYPT, align 4, !tbaa !13
%62 = tail call i32 @AES_cbc_encrypt(ptr noundef %58, ptr noundef nonnull %56, i64 noundef %59, ptr noundef nonnull %54, i32 noundef %60, i32 noundef %61) #3
%63 = getelementptr inbounds i32, ptr %58, i64 %59
%64 = sub i64 %57, %59
br label %65
65: ; preds = %31, %50
%66 = phi ptr [ %52, %50 ], [ %47, %31 ]
%67 = phi ptr [ %53, %50 ], [ %43, %31 ]
%68 = phi ptr [ %54, %50 ], [ %42, %31 ]
%69 = phi ptr [ %56, %50 ], [ getelementptr inbounds (i8, ptr @ngx_rtmp_mpegts_write_file.buf, i64 64), %31 ]
%70 = phi ptr [ %63, %50 ], [ %39, %31 ]
%71 = phi i64 [ %64, %50 ], [ %40, %31 ]
%72 = phi i64 [ %59, %50 ], [ 0, %31 ]
%73 = load i32, ptr %66, align 8, !tbaa !15
%74 = ptrtoint ptr %69 to i64
%75 = sub i64 %74, ptrtoint (ptr @ngx_rtmp_mpegts_write_file.buf to i64)
%76 = lshr exact i64 %75, 2
%77 = add nuw nsw i64 %72, %76
%78 = trunc i64 %77 to i32
%79 = tail call i64 @ngx_write_fd(i32 noundef %73, ptr noundef nonnull @ngx_rtmp_mpegts_write_file.buf, i32 noundef %78) #3
%80 = icmp slt i64 %79, 0
br i1 %80, label %109, label %81
81: ; preds = %65, %86
%82 = phi ptr [ %92, %86 ], [ %70, %65 ]
%83 = phi i64 [ %91, %86 ], [ %71, %65 ]
%84 = and i64 %83, -16
%85 = icmp eq i64 %84, 0
br i1 %85, label %97, label %86
86: ; preds = %81
%87 = tail call i64 @llvm.umin.i64(i64 %84, i64 4096)
%88 = load i32, ptr %67, align 4, !tbaa !18
%89 = load i32, ptr @AES_ENCRYPT, align 4, !tbaa !13
%90 = tail call i32 @AES_cbc_encrypt(ptr noundef %82, ptr noundef nonnull @ngx_rtmp_mpegts_write_file.buf, i64 noundef %87, ptr noundef nonnull %68, i32 noundef %88, i32 noundef %89) #3
%91 = sub i64 %83, %87
%92 = getelementptr inbounds i32, ptr %82, i64 %87
%93 = load i32, ptr %66, align 8, !tbaa !15
%94 = trunc nuw nsw i64 %87 to i32
%95 = tail call i64 @ngx_write_fd(i32 noundef %93, ptr noundef nonnull @ngx_rtmp_mpegts_write_file.buf, i32 noundef %94) #3
%96 = icmp slt i64 %95, 0
br i1 %96, label %109, label %81, !llvm.loop !19
97: ; preds = %81, %25
%98 = phi ptr [ %1, %25 ], [ %82, %81 ]
%99 = phi i64 [ %2, %25 ], [ %83, %81 ]
%100 = icmp eq i64 %99, 0
br i1 %100, label %109, label %101
101: ; preds = %97
%102 = getelementptr inbounds i8, ptr %0, i64 8
%103 = load ptr, ptr %102, align 8, !tbaa !17
%104 = load i64, ptr %0, align 8, !tbaa !16
%105 = getelementptr inbounds i32, ptr %103, i64 %104
%106 = tail call i32 @ngx_memcpy(ptr noundef %105, ptr noundef %98, i64 noundef %99) #3
%107 = load i64, ptr %0, align 8, !tbaa !16
%108 = add i64 %107, %99
store i64 %108, ptr %0, align 8, !tbaa !16
br label %109
109: ; preds = %86, %65, %97, %101, %10
%110 = phi ptr [ %17, %10 ], [ @NGX_OK, %101 ], [ @NGX_OK, %97 ], [ @NGX_ERROR, %65 ], [ @NGX_ERROR, %86 ]
%111 = load i32, ptr %110, align 4, !tbaa !13
ret i32 %111
}
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ngx_write_fd(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @AES_cbc_encrypt(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #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, !12, i64 32}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !12, i64 28}
!15 = !{!7, !12, i64 16}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!7, !12, i64 20}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.peeled.count", i32 1}
| nginx-rtmp-module_hls_extr_ngx_rtmp_mpegts.c_ngx_rtmp_mpegts_write_file |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_rman.c_rman_init.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_rman.c_rman_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.rman = type { i64, i64, ptr, i32, i32 }
@rman_init.once = internal unnamed_addr global i1 false, align 4
@rman_head = dso_local global i32 0, align 4
@rman_mtx = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"rman head\00", align 1
@MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4
@RMAN_UNINIT = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"rman_init\00", align 1
@RMAN_GAUGE = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [21 x i8] c"implement RMAN_GAUGE\00", align 1
@M_RMAN = dso_local local_unnamed_addr global i32 0, align 4
@M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4
@M_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"rman\00", align 1
@rm_link = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @rman_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i1, ptr @rman_init.once, align 4
br i1 %2, label %7, label %3
3: ; preds = %1
store i1 true, ptr @rman_init.once, align 4
%4 = tail call i32 @TAILQ_INIT(ptr noundef nonnull @rman_head) #2
%5 = load i32, ptr @MTX_DEF, align 4, !tbaa !5
%6 = tail call i32 @mtx_init(ptr noundef nonnull @rman_mtx, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %5) #2
br label %7
7: ; preds = %3, %1
%8 = load i64, ptr %0, align 8, !tbaa !9
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = getelementptr inbounds %struct.rman, ptr %0, i64 0, i32 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %10
store i32 -1, ptr %11, align 4, !tbaa !13
br label %15
15: ; preds = %14, %10, %7
%16 = getelementptr inbounds %struct.rman, ptr %0, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = load i64, ptr @RMAN_UNINIT, align 8, !tbaa !15
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2
%22 = load i64, ptr %16, align 8, !tbaa !14
br label %23
23: ; preds = %20, %15
%24 = phi i64 [ %22, %20 ], [ %17, %15 ]
%25 = load i64, ptr @RMAN_GAUGE, align 8, !tbaa !15
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = tail call i32 @panic(ptr noundef nonnull @.str.2) #2
br label %29
29: ; preds = %27, %23
%30 = getelementptr inbounds %struct.rman, ptr %0, i64 0, i32 3
%31 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %30) #2
%32 = load i32, ptr @M_RMAN, align 4, !tbaa !5
%33 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5
%34 = load i32, ptr @M_ZERO, align 4, !tbaa !5
%35 = or i32 %34, %33
%36 = tail call ptr @malloc(i32 noundef 4, i32 noundef %32, i32 noundef %35) #2
%37 = getelementptr inbounds %struct.rman, ptr %0, i64 0, i32 2
store ptr %36, ptr %37, align 8, !tbaa !16
%38 = icmp eq ptr %36, null
br i1 %38, label %39, label %41
39: ; preds = %29
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !5
br label %48
41: ; preds = %29
%42 = load i32, ptr @MTX_DEF, align 4, !tbaa !5
%43 = tail call i32 @mtx_init(ptr noundef nonnull %36, ptr noundef nonnull @.str.3, ptr noundef null, i32 noundef %42) #2
%44 = tail call i32 @mtx_lock(ptr noundef nonnull @rman_mtx) #2
%45 = load i32, ptr @rm_link, align 4, !tbaa !5
%46 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef nonnull @rman_head, ptr noundef nonnull %0, i32 noundef %45) #2
%47 = tail call i32 @mtx_unlock(ptr noundef nonnull @rman_mtx) #2
br label %48
48: ; preds = %41, %39
%49 = phi i32 [ %40, %39 ], [ 0, %41 ]
ret i32 %49
}
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_TAIL(ptr 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, !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 = !{!"rman", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24, !6, i64 28}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 28}
!14 = !{!10, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !12, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_rman.c_rman_init.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_rman.c_rman_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rman_init.once = internal unnamed_addr global i1 false, align 4
@rman_head = common global i32 0, align 4
@rman_mtx = common global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"rman head\00", align 1
@MTX_DEF = common local_unnamed_addr global i32 0, align 4
@RMAN_UNINIT = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"rman_init\00", align 1
@RMAN_GAUGE = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [21 x i8] c"implement RMAN_GAUGE\00", align 1
@M_RMAN = common local_unnamed_addr global i32 0, align 4
@M_NOWAIT = common local_unnamed_addr global i32 0, align 4
@M_ZERO = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [5 x i8] c"rman\00", align 1
@rm_link = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @rman_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i1, ptr @rman_init.once, align 4
br i1 %2, label %7, label %3
3: ; preds = %1
store i1 true, ptr @rman_init.once, align 4
%4 = tail call i32 @TAILQ_INIT(ptr noundef nonnull @rman_head) #2
%5 = load i32, ptr @MTX_DEF, align 4, !tbaa !6
%6 = tail call i32 @mtx_init(ptr noundef nonnull @rman_mtx, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %5) #2
br label %7
7: ; preds = %3, %1
%8 = load i64, ptr %0, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %0, i64 28
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %10
store i32 -1, ptr %11, align 4, !tbaa !14
br label %15
15: ; preds = %14, %10, %7
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = load i64, ptr @RMAN_UNINIT, align 8, !tbaa !16
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2
%22 = load i64, ptr %16, align 8, !tbaa !15
br label %23
23: ; preds = %20, %15
%24 = phi i64 [ %22, %20 ], [ %17, %15 ]
%25 = load i64, ptr @RMAN_GAUGE, align 8, !tbaa !16
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = tail call i32 @panic(ptr noundef nonnull @.str.2) #2
br label %29
29: ; preds = %27, %23
%30 = getelementptr inbounds i8, ptr %0, i64 24
%31 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %30) #2
%32 = load i32, ptr @M_RMAN, align 4, !tbaa !6
%33 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6
%34 = load i32, ptr @M_ZERO, align 4, !tbaa !6
%35 = or i32 %34, %33
%36 = tail call ptr @malloc(i32 noundef 4, i32 noundef %32, i32 noundef %35) #2
%37 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %36, ptr %37, align 8, !tbaa !17
%38 = icmp eq ptr %36, null
br i1 %38, label %39, label %41
39: ; preds = %29
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !6
br label %48
41: ; preds = %29
%42 = load i32, ptr @MTX_DEF, align 4, !tbaa !6
%43 = tail call i32 @mtx_init(ptr noundef nonnull %36, ptr noundef nonnull @.str.3, ptr noundef null, i32 noundef %42) #2
%44 = tail call i32 @mtx_lock(ptr noundef nonnull @rman_mtx) #2
%45 = load i32, ptr @rm_link, align 4, !tbaa !6
%46 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef nonnull @rman_head, ptr noundef nonnull %0, i32 noundef %45) #2
%47 = tail call i32 @mtx_unlock(ptr noundef nonnull @rman_mtx) #2
br label %48
48: ; preds = %41, %39
%49 = phi i32 [ %40, %39 ], [ 0, %41 ]
ret i32 %49
}
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @TAILQ_INSERT_TAIL(ptr 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, !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 = !{!"rman", !12, i64 0, !12, i64 8, !13, i64 16, !7, i64 24, !7, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 28}
!15 = !{!11, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !13, i64 16}
| freebsd_sys_kern_extr_subr_rman.c_rman_init |
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_init_pci.c'
source_filename = "AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_init_pci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_ntb_dev = type { i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@NTB_NAME = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Cannot DMA highmem\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Cannot DMA consistent highmem\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_ntb_init_pci], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @intel_ntb_init_pci(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @pci_set_drvdata(ptr noundef %1, ptr noundef %0) #2
%4 = tail call i32 @pci_enable_device(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %53
6: ; preds = %2
%7 = load i32, ptr @NTB_NAME, align 4, !tbaa !5
%8 = tail call i32 @pci_request_regions(ptr noundef %1, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %50
10: ; preds = %6
%11 = tail call i32 @pci_set_master(ptr noundef %1) #2
%12 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%13 = tail call i32 @pci_set_dma_mask(ptr noundef %1, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %10
%16 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%17 = tail call i32 @pci_set_dma_mask(ptr noundef %1, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %46
19: ; preds = %15
%20 = tail call i32 @dev_warn(ptr noundef %1, ptr noundef nonnull @.str) #2
br label %21
21: ; preds = %19, %10
%22 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%23 = tail call i32 @pci_set_consistent_dma_mask(ptr noundef %1, i32 noundef %22) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %21
%26 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%27 = tail call i32 @pci_set_consistent_dma_mask(ptr noundef %1, i32 noundef %26) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %46
29: ; preds = %25
%30 = tail call i32 @dev_warn(ptr noundef %1, ptr noundef nonnull @.str.1) #2
br label %31
31: ; preds = %29, %21
%32 = getelementptr inbounds %struct.intel_ntb_dev, ptr %0, i64 0, i32 3
%33 = tail call i32 @dma_get_mask(ptr noundef %1) #2
%34 = tail call i32 @dma_coerce_mask_and_coherent(ptr noundef nonnull %32, i32 noundef %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %31
%37 = tail call i32 @pci_iomap(ptr noundef %1, i32 noundef 0, i32 noundef 0) #2
%38 = getelementptr inbounds %struct.intel_ntb_dev, ptr %0, i64 0, i32 1
store i32 %37, ptr %38, align 4, !tbaa !9
%39 = icmp eq i32 %37, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, ptr @EIO, align 4, !tbaa !5
%42 = sub nsw i32 0, %41
br label %46
43: ; preds = %36
%44 = getelementptr inbounds %struct.intel_ntb_dev, ptr %0, i64 0, i32 2
store i32 %37, ptr %44, align 4, !tbaa !12
%45 = tail call i32 @pci_resource_start(ptr noundef %1, i32 noundef 0) #2
store i32 %45, ptr %0, align 4, !tbaa !13
br label %56
46: ; preds = %31, %25, %15, %40
%47 = phi i32 [ %17, %15 ], [ %27, %25 ], [ %34, %31 ], [ %42, %40 ]
%48 = tail call i32 @pci_clear_master(ptr noundef %1) #2
%49 = tail call i32 @pci_release_regions(ptr noundef %1) #2
br label %50
50: ; preds = %6, %46
%51 = phi i32 [ %8, %6 ], [ %47, %46 ]
%52 = tail call i32 @pci_disable_device(ptr noundef %1) #2
br label %53
53: ; preds = %2, %50
%54 = phi i32 [ %4, %2 ], [ %51, %50 ]
%55 = tail call i32 @pci_set_drvdata(ptr noundef %1, ptr noundef null) #2
br label %56
56: ; preds = %53, %43
%57 = phi i32 [ %54, %53 ], [ 0, %43 ]
ret i32 %57
}
declare i32 @pci_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_enable_device(ptr noundef) local_unnamed_addr #1
declare i32 @pci_request_regions(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_dma_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_consistent_dma_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_coerce_mask_and_coherent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_get_mask(ptr noundef) local_unnamed_addr #1
declare i32 @pci_iomap(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_clear_master(ptr noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"intel_ntb_dev", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_init_pci.c'
source_filename = "AnghaBench/linux/drivers/ntb/hw/intel/extr_ntb_hw_gen1.c_intel_ntb_init_pci.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NTB_NAME = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Cannot DMA highmem\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Cannot DMA consistent highmem\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_ntb_init_pci], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @intel_ntb_init_pci(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @pci_set_drvdata(ptr noundef %1, ptr noundef %0) #2
%4 = tail call i32 @pci_enable_device(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %53
6: ; preds = %2
%7 = load i32, ptr @NTB_NAME, align 4, !tbaa !6
%8 = tail call i32 @pci_request_regions(ptr noundef %1, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %50
10: ; preds = %6
%11 = tail call i32 @pci_set_master(ptr noundef %1) #2
%12 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%13 = tail call i32 @pci_set_dma_mask(ptr noundef %1, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %10
%16 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%17 = tail call i32 @pci_set_dma_mask(ptr noundef %1, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %46
19: ; preds = %15
%20 = tail call i32 @dev_warn(ptr noundef %1, ptr noundef nonnull @.str) #2
br label %21
21: ; preds = %19, %10
%22 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%23 = tail call i32 @pci_set_consistent_dma_mask(ptr noundef %1, i32 noundef %22) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %21
%26 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%27 = tail call i32 @pci_set_consistent_dma_mask(ptr noundef %1, i32 noundef %26) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %46
29: ; preds = %25
%30 = tail call i32 @dev_warn(ptr noundef %1, ptr noundef nonnull @.str.1) #2
br label %31
31: ; preds = %29, %21
%32 = getelementptr inbounds i8, ptr %0, i64 12
%33 = tail call i32 @dma_get_mask(ptr noundef %1) #2
%34 = tail call i32 @dma_coerce_mask_and_coherent(ptr noundef nonnull %32, i32 noundef %33) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %31
%37 = tail call i32 @pci_iomap(ptr noundef %1, i32 noundef 0, i32 noundef 0) #2
%38 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %37, ptr %38, align 4, !tbaa !10
%39 = icmp eq i32 %37, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, ptr @EIO, align 4, !tbaa !6
%42 = sub nsw i32 0, %41
br label %46
43: ; preds = %36
%44 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %37, ptr %44, align 4, !tbaa !13
%45 = tail call i32 @pci_resource_start(ptr noundef %1, i32 noundef 0) #2
store i32 %45, ptr %0, align 4, !tbaa !14
br label %56
46: ; preds = %31, %25, %15, %40
%47 = phi i32 [ %17, %15 ], [ %27, %25 ], [ %34, %31 ], [ %42, %40 ]
%48 = tail call i32 @pci_clear_master(ptr noundef %1) #2
%49 = tail call i32 @pci_release_regions(ptr noundef %1) #2
br label %50
50: ; preds = %6, %46
%51 = phi i32 [ %8, %6 ], [ %47, %46 ]
%52 = tail call i32 @pci_disable_device(ptr noundef %1) #2
br label %53
53: ; preds = %2, %50
%54 = phi i32 [ %4, %2 ], [ %51, %50 ]
%55 = tail call i32 @pci_set_drvdata(ptr noundef %1, ptr noundef null) #2
br label %56
56: ; preds = %53, %43
%57 = phi i32 [ %54, %53 ], [ 0, %43 ]
ret i32 %57
}
declare i32 @pci_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_enable_device(ptr noundef) local_unnamed_addr #1
declare i32 @pci_request_regions(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_dma_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_consistent_dma_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_coerce_mask_and_coherent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_get_mask(ptr noundef) local_unnamed_addr #1
declare i32 @pci_iomap(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_clear_master(ptr noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"intel_ntb_dev", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 12}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 0}
| linux_drivers_ntb_hw_intel_extr_ntb_hw_gen1.c_intel_ntb_init_pci |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_readreg.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_readreg.c"
target datalayout = "e-m:e-p270:32:32-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 @s1d13xxxfb_readreg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @s1d13xxxfb_readreg(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i32 @readb(i64 noundef %4) #2
ret i32 %5
}
declare i32 @readb(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, !7, i64 0}
!6 = !{!"s1d13xxxfb_par", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_readreg.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_s1d13xxxfb.c_s1d13xxxfb_readreg.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 @s1d13xxxfb_readreg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @s1d13xxxfb_readreg(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i32 @readb(i64 noundef %4) #2
ret i32 %5
}
declare i32 @readb(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, !8, i64 0}
!7 = !{!"s1d13xxxfb_par", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_fbdev_extr_s1d13xxxfb.c_s1d13xxxfb_readreg |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_sysfs.c_ixgbe_add_hwmon_attr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_sysfs.c_ixgbe_add_hwmon_attr.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
%struct.hwmon_attr = type { %struct.TYPE_10__, i32, ptr, ptr }
%struct.TYPE_10__ = type { %struct.TYPE_12__, ptr, i32 }
%struct.TYPE_12__ = type { i32, i32 }
%struct.ixgbe_adapter = type { ptr, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
@ixgbe_hwmon_show_location = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"temp%u_label\00", align 1
@ixgbe_hwmon_show_temp = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"temp%u_input\00", align 1
@ixgbe_hwmon_show_cautionthresh = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"temp%u_max\00", align 1
@ixgbe_hwmon_show_maxopthresh = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"temp%u_crit\00", align 1
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_add_hwmon_attr], section "llvm.metadata"
@switch.table.ixgbe_add_hwmon_attr = private unnamed_addr constant [4 x ptr] [ptr @ixgbe_hwmon_show_temp, ptr @ixgbe_hwmon_show_maxopthresh, ptr @ixgbe_hwmon_show_location, ptr @ixgbe_hwmon_show_cautionthresh], align 8
@reltable.ixgbe_add_hwmon_attr = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.ixgbe_add_hwmon_attr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.ixgbe_add_hwmon_attr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.ixgbe_add_hwmon_attr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.ixgbe_add_hwmon_attr to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal i32 @ixgbe_add_hwmon_attr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -128
%5 = icmp ult i32 %4, 4
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @EPERM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %46
9: ; preds = %3
%10 = load ptr, ptr %0, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = load i32, ptr %10, align 8, !tbaa !17
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14
%16 = zext nneg i32 %4 to i64
%17 = getelementptr inbounds [4 x ptr], ptr @switch.table.ixgbe_add_hwmon_attr, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = zext nneg i32 %4 to i64
%20 = shl i64 %19, 2
%21 = call ptr @llvm.load.relative.i64(ptr @reltable.ixgbe_add_hwmon_attr, i64 %20)
%22 = load i32, ptr %18, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 2
store i32 %22, ptr %23, align 8, !tbaa !18
%24 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !22
%26 = add i32 %1, 1
%27 = tail call i32 @snprintf(i32 noundef %25, i32 noundef 4, ptr noundef nonnull %21, i32 noundef %26) #3
%28 = getelementptr inbounds %struct.ixgbe_adapter, ptr %0, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !23
%30 = zext i32 %1 to i64
%31 = getelementptr inbounds i32, ptr %29, i64 %30
%32 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14, i32 3
store ptr %31, ptr %32, align 8, !tbaa !24
%33 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14, i32 2
store ptr %28, ptr %33, align 8, !tbaa !25
%34 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
store ptr null, ptr %34, align 8, !tbaa !26
store i32 292, ptr %15, align 8, !tbaa !27
%35 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14, i32 1
%36 = load i32, ptr %35, align 8, !tbaa !22
%37 = getelementptr inbounds %struct.TYPE_12__, ptr %15, i64 0, i32 1
store i32 %36, ptr %37, align 4, !tbaa !28
%38 = tail call i32 @sysfs_attr_init(ptr noundef nonnull %15) #3
%39 = load ptr, ptr %0, align 8, !tbaa !9
%40 = getelementptr inbounds %struct.TYPE_11__, ptr %39, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !29
%42 = getelementptr inbounds ptr, ptr %41, i64 %14
store ptr %15, ptr %42, align 8, !tbaa !30
%43 = load ptr, ptr %0, align 8, !tbaa !9
%44 = load i32, ptr %43, align 8, !tbaa !17
%45 = add i32 %44, 1
store i32 %45, ptr %43, align 8, !tbaa !17
br label %46
46: ; preds = %9, %6
%47 = phi i32 [ %8, %6 ], [ 0, %9 ]
ret i32 %47
}
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sysfs_attr_init(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"ixgbe_adapter", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"TYPE_7__", !11, i64 0}
!15 = !{!16, !11, i64 16}
!16 = !{!"TYPE_11__", !6, i64 0, !11, i64 8, !11, i64 16}
!17 = !{!16, !6, i64 0}
!18 = !{!19, !6, i64 16}
!19 = !{!"hwmon_attr", !20, i64 0, !6, i64 24, !11, i64 32, !11, i64 40}
!20 = !{!"TYPE_10__", !21, i64 0, !11, i64 8, !6, i64 16}
!21 = !{!"TYPE_12__", !6, i64 0, !6, i64 4}
!22 = !{!19, !6, i64 24}
!23 = !{!10, !11, i64 8}
!24 = !{!19, !11, i64 40}
!25 = !{!19, !11, i64 32}
!26 = !{!19, !11, i64 8}
!27 = !{!19, !6, i64 0}
!28 = !{!19, !6, i64 4}
!29 = !{!16, !11, i64 8}
!30 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_sysfs.c_ixgbe_add_hwmon_attr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_sysfs.c_ixgbe_add_hwmon_attr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hwmon_attr = type { %struct.TYPE_10__, i32, ptr, ptr }
%struct.TYPE_10__ = type { %struct.TYPE_12__, ptr, i32 }
%struct.TYPE_12__ = type { i32, i32 }
@ixgbe_hwmon_show_location = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"temp%u_label\00", align 1
@ixgbe_hwmon_show_temp = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"temp%u_input\00", align 1
@ixgbe_hwmon_show_cautionthresh = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"temp%u_max\00", align 1
@ixgbe_hwmon_show_maxopthresh = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"temp%u_crit\00", align 1
@EPERM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgbe_add_hwmon_attr], section "llvm.metadata"
@switch.table.ixgbe_add_hwmon_attr = private unnamed_addr constant [4 x ptr] [ptr @ixgbe_hwmon_show_temp, ptr @ixgbe_hwmon_show_maxopthresh, ptr @ixgbe_hwmon_show_location, ptr @ixgbe_hwmon_show_cautionthresh], align 8
@switch.table.ixgbe_add_hwmon_attr.4 = private unnamed_addr constant [4 x ptr] [ptr @.str.1, ptr @.str.3, ptr @.str, ptr @.str.2], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ixgbe_add_hwmon_attr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -128
%5 = icmp ult i32 %4, 4
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @EPERM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %45
9: ; preds = %3
%10 = load ptr, ptr %0, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %10, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = load i32, ptr %10, align 8, !tbaa !18
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds %struct.hwmon_attr, ptr %12, i64 %14
%16 = zext nneg i32 %4 to i64
%17 = getelementptr inbounds [4 x ptr], ptr @switch.table.ixgbe_add_hwmon_attr, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = zext nneg i32 %4 to i64
%20 = getelementptr inbounds [4 x ptr], ptr @switch.table.ixgbe_add_hwmon_attr.4, i64 0, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %18, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %15, i64 16
store i32 %22, ptr %23, align 8, !tbaa !19
%24 = getelementptr inbounds i8, ptr %15, i64 24
%25 = load i32, ptr %24, align 8, !tbaa !23
%26 = add i32 %1, 1
%27 = tail call i32 @snprintf(i32 noundef %25, i32 noundef 4, ptr noundef nonnull %21, i32 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !24
%30 = zext i32 %1 to i64
%31 = getelementptr inbounds i32, ptr %29, i64 %30
%32 = getelementptr inbounds i8, ptr %15, i64 40
store ptr %31, ptr %32, align 8, !tbaa !25
%33 = getelementptr inbounds i8, ptr %15, i64 32
store ptr %28, ptr %33, align 8, !tbaa !26
%34 = getelementptr inbounds i8, ptr %15, i64 8
store ptr null, ptr %34, align 8, !tbaa !27
store i32 292, ptr %15, align 8, !tbaa !28
%35 = load i32, ptr %24, align 8, !tbaa !23
%36 = getelementptr inbounds i8, ptr %15, i64 4
store i32 %35, ptr %36, align 4, !tbaa !29
%37 = tail call i32 @sysfs_attr_init(ptr noundef nonnull %15) #2
%38 = load ptr, ptr %0, align 8, !tbaa !10
%39 = getelementptr inbounds i8, ptr %38, i64 8
%40 = load ptr, ptr %39, align 8, !tbaa !30
%41 = getelementptr inbounds ptr, ptr %40, i64 %14
store ptr %15, ptr %41, align 8, !tbaa !31
%42 = load ptr, ptr %0, align 8, !tbaa !10
%43 = load i32, ptr %42, align 8, !tbaa !18
%44 = add i32 %43, 1
store i32 %44, ptr %42, align 8, !tbaa !18
br label %45
45: ; preds = %9, %6
%46 = phi i32 [ %8, %6 ], [ 0, %9 ]
ret i32 %46
}
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sysfs_attr_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ixgbe_adapter", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0}
!15 = !{!"TYPE_7__", !12, i64 0}
!16 = !{!17, !12, i64 16}
!17 = !{!"TYPE_11__", !7, i64 0, !12, i64 8, !12, i64 16}
!18 = !{!17, !7, i64 0}
!19 = !{!20, !7, i64 16}
!20 = !{!"hwmon_attr", !21, i64 0, !7, i64 24, !12, i64 32, !12, i64 40}
!21 = !{!"TYPE_10__", !22, i64 0, !12, i64 8, !7, i64 16}
!22 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!23 = !{!20, !7, i64 24}
!24 = !{!11, !12, i64 8}
!25 = !{!20, !12, i64 40}
!26 = !{!20, !12, i64 32}
!27 = !{!20, !12, i64 8}
!28 = !{!20, !7, i64 0}
!29 = !{!20, !7, i64 4}
!30 = !{!17, !12, i64 8}
!31 = !{!12, !12, i64 0}
| linux_drivers_net_ethernet_intel_ixgbe_extr_ixgbe_sysfs.c_ixgbe_add_hwmon_attr |
; ModuleID = 'AnghaBench/linux/sound/firewire/extr_iso-resources.c_fw_iso_resources_allocate.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_iso-resources.c_fw_iso_resources_allocate.c"
target datalayout = "e-m:e-p270:32:32-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.fw_iso_resources = type { i32, i32, i32, i32, i32, ptr, i32, i32 }
%struct.fw_card = type { i32, i32 }
@EBADFD = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"isochronous resources exhausted\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"isochronous resource allocation failed\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @fw_iso_resources_allocate(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 5
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = tail call ptr @fw_parent_device(ptr noundef %7) #3
%9 = load ptr, ptr %8, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%10 = load i32, ptr %0, align 8, !tbaa !13
%11 = tail call i64 @WARN_ON(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load i32, ptr @EBADFD, align 4, !tbaa !14
%15 = sub nsw i32 0, %14
br label %67
16: ; preds = %3
%17 = tail call i32 @packet_bandwidth(i32 noundef %1, i32 noundef %2) #3
%18 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 1
store i32 %17, ptr %18, align 4, !tbaa !15
%19 = tail call i32 @spin_lock_irq(ptr noundef %9) #3
%20 = getelementptr inbounds %struct.fw_card, ptr %9, i64 0, i32 1
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 7
store i32 %21, ptr %22, align 4, !tbaa !18
%23 = tail call i32 @current_bandwidth_overhead(ptr noundef %9) #3
%24 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 2
store i32 %23, ptr %24, align 8, !tbaa !19
%25 = tail call i32 @spin_unlock_irq(ptr noundef %9) #3
%26 = tail call i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef %9) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %67, label %28
28: ; preds = %16
%29 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 4
%30 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 6
br label %31
31: ; preds = %28, %43
%32 = call i32 @mutex_lock(ptr noundef nonnull %29) #3
%33 = load i32, ptr %18, align 4, !tbaa !15
%34 = load i32, ptr %24, align 8, !tbaa !19
%35 = add nsw i32 %34, %33
store i32 %35, ptr %4, align 4, !tbaa !14
%36 = load i32, ptr %22, align 4, !tbaa !18
%37 = load i32, ptr %30, align 8, !tbaa !20
%38 = call i32 @fw_iso_resource_manage(ptr noundef nonnull %9, i32 noundef %36, i32 noundef %37, ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 1) #3
%39 = load i32, ptr %5, align 4, !tbaa !14
%40 = load i32, ptr @EAGAIN, align 4, !tbaa !14
%41 = sub nsw i32 0, %40
%42 = icmp eq i32 %39, %41
br i1 %42, label %43, label %51
43: ; preds = %31
%44 = call i32 @mutex_unlock(ptr noundef nonnull %29) #3
%45 = call i32 @spin_lock_irq(ptr noundef nonnull %9) #3
%46 = load i32, ptr %20, align 4, !tbaa !16
store i32 %46, ptr %22, align 4, !tbaa !18
%47 = call i32 @current_bandwidth_overhead(ptr noundef nonnull %9) #3
store i32 %47, ptr %24, align 8, !tbaa !19
%48 = call i32 @spin_unlock_irq(ptr noundef nonnull %9) #3
%49 = call i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef nonnull %9) #3
%50 = icmp slt i32 %49, 0
br i1 %50, label %67, label %31
51: ; preds = %31
%52 = icmp sgt i32 %39, -1
br i1 %52, label %53, label %55
53: ; preds = %51
%54 = getelementptr inbounds %struct.fw_iso_resources, ptr %0, i64 0, i32 3
store i32 %39, ptr %54, align 4, !tbaa !21
store i32 1, ptr %0, align 8, !tbaa !13
br label %64
55: ; preds = %51
%56 = load i32, ptr @EBUSY, align 4, !tbaa !14
%57 = sub nsw i32 0, %56
%58 = icmp eq i32 %39, %57
%59 = load ptr, ptr %6, align 8, !tbaa !5
br i1 %58, label %60, label %62
60: ; preds = %55
%61 = call i32 @dev_err(ptr noundef %59, ptr noundef nonnull @.str) #3
br label %64
62: ; preds = %55
%63 = call i32 @dev_err(ptr noundef %59, ptr noundef nonnull @.str.1) #3
br label %64
64: ; preds = %60, %62, %53
%65 = call i32 @mutex_unlock(ptr noundef nonnull %29) #3
%66 = load i32, ptr %5, align 4, !tbaa !14
br label %67
67: ; preds = %43, %16, %64, %13
%68 = phi i32 [ %15, %13 ], [ %66, %64 ], [ %26, %16 ], [ %49, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %68
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @fw_parent_device(ptr noundef) local_unnamed_addr #2
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @packet_bandwidth(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #2
declare i32 @current_bandwidth_overhead(ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #2
declare i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @fw_iso_resource_manage(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(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, !10, i64 24}
!6 = !{!"fw_iso_resources", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 4}
!16 = !{!17, !7, i64 4}
!17 = !{!"fw_card", !7, i64 0, !7, i64 4}
!18 = !{!6, !7, i64 36}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 32}
!21 = !{!6, !7, i64 12}
| ; ModuleID = 'AnghaBench/linux/sound/firewire/extr_iso-resources.c_fw_iso_resources_allocate.c'
source_filename = "AnghaBench/linux/sound/firewire/extr_iso-resources.c_fw_iso_resources_allocate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBADFD = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"isochronous resources exhausted\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"isochronous resource allocation failed\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fw_iso_resources_allocate(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = tail call ptr @fw_parent_device(ptr noundef %7) #3
%9 = load ptr, ptr %8, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = tail call i64 @WARN_ON(i32 noundef %10) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = load i32, ptr @EBADFD, align 4, !tbaa !15
%15 = sub nsw i32 0, %14
br label %67
16: ; preds = %3
%17 = tail call i32 @packet_bandwidth(i32 noundef %1, i32 noundef %2) #3
%18 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %17, ptr %18, align 4, !tbaa !16
%19 = tail call i32 @spin_lock_irq(ptr noundef %9) #3
%20 = getelementptr inbounds i8, ptr %9, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !17
%22 = getelementptr inbounds i8, ptr %0, i64 36
store i32 %21, ptr %22, align 4, !tbaa !19
%23 = tail call i32 @current_bandwidth_overhead(ptr noundef %9) #3
%24 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %23, ptr %24, align 8, !tbaa !20
%25 = tail call i32 @spin_unlock_irq(ptr noundef %9) #3
%26 = tail call i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef %9) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %67, label %28
28: ; preds = %16
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = getelementptr inbounds i8, ptr %0, i64 32
br label %31
31: ; preds = %28, %43
%32 = call i32 @mutex_lock(ptr noundef nonnull %29) #3
%33 = load i32, ptr %18, align 4, !tbaa !16
%34 = load i32, ptr %24, align 8, !tbaa !20
%35 = add nsw i32 %34, %33
store i32 %35, ptr %4, align 4, !tbaa !15
%36 = load i32, ptr %22, align 4, !tbaa !19
%37 = load i32, ptr %30, align 8, !tbaa !21
%38 = call i32 @fw_iso_resource_manage(ptr noundef nonnull %9, i32 noundef %36, i32 noundef %37, ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 1) #3
%39 = load i32, ptr %5, align 4, !tbaa !15
%40 = load i32, ptr @EAGAIN, align 4, !tbaa !15
%41 = sub nsw i32 0, %40
%42 = icmp eq i32 %39, %41
br i1 %42, label %43, label %51
43: ; preds = %31
%44 = call i32 @mutex_unlock(ptr noundef nonnull %29) #3
%45 = call i32 @spin_lock_irq(ptr noundef nonnull %9) #3
%46 = load i32, ptr %20, align 4, !tbaa !17
store i32 %46, ptr %22, align 4, !tbaa !19
%47 = call i32 @current_bandwidth_overhead(ptr noundef nonnull %9) #3
store i32 %47, ptr %24, align 8, !tbaa !20
%48 = call i32 @spin_unlock_irq(ptr noundef nonnull %9) #3
%49 = call i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef nonnull %9) #3
%50 = icmp slt i32 %49, 0
br i1 %50, label %67, label %31
51: ; preds = %31
%52 = icmp sgt i32 %39, -1
br i1 %52, label %53, label %55
53: ; preds = %51
%54 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %39, ptr %54, align 4, !tbaa !22
store i32 1, ptr %0, align 8, !tbaa !14
br label %64
55: ; preds = %51
%56 = load i32, ptr @EBUSY, align 4, !tbaa !15
%57 = sub nsw i32 0, %56
%58 = icmp eq i32 %39, %57
%59 = load ptr, ptr %6, align 8, !tbaa !6
br i1 %58, label %60, label %62
60: ; preds = %55
%61 = call i32 @dev_err(ptr noundef %59, ptr noundef nonnull @.str) #3
br label %64
62: ; preds = %55
%63 = call i32 @dev_err(ptr noundef %59, ptr noundef nonnull @.str.1) #3
br label %64
64: ; preds = %60, %62, %53
%65 = call i32 @mutex_unlock(ptr noundef nonnull %29) #3
%66 = load i32, ptr %5, align 4, !tbaa !15
br label %67
67: ; preds = %43, %16, %64, %13
%68 = phi i32 [ %15, %13 ], [ %66, %64 ], [ %26, %16 ], [ %49, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %68
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @fw_parent_device(ptr noundef) local_unnamed_addr #2
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @packet_bandwidth(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #2
declare i32 @current_bandwidth_overhead(ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #2
declare i32 @wait_isoch_resource_delay_after_bus_reset(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @fw_iso_resource_manage(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(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, !11, i64 24}
!7 = !{!"fw_iso_resources", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !8, i64 36}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 4}
!17 = !{!18, !8, i64 4}
!18 = !{!"fw_card", !8, i64 0, !8, i64 4}
!19 = !{!7, !8, i64 36}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !8, i64 32}
!22 = !{!7, !8, i64 12}
| linux_sound_firewire_extr_iso-resources.c_fw_iso_resources_allocate |
; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_feature.c_probe_jit_harden.c'
source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_feature.c_probe_jit_harden.c"
target datalayout = "e-m:e-p270:32:32-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 [34 x i8] c"/proc/sys/net/core/bpf_jit_harden\00", align 1
@json_output = dso_local local_unnamed_addr global i64 0, align 8
@json_wtr = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"bpf_jit_harden\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"JIT hardening status has unknown value %d\0A\00", align 1
@str = private unnamed_addr constant [40 x i8] c"Unable to retrieve JIT hardening status\00", align 1
@str.7 = private unnamed_addr constant [48 x i8] c"JIT compiler hardening is enabled for all users\00", align 1
@str.8 = private unnamed_addr constant [57 x i8] c"JIT compiler hardening is enabled for unprivileged users\00", align 1
@str.9 = private unnamed_addr constant [35 x i8] c"JIT compiler hardening is disabled\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @probe_jit_harden], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @probe_jit_harden() #0 {
%1 = tail call i32 @read_procfs(ptr noundef nonnull @.str) #4
%2 = load i64, ptr @json_output, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %0
%5 = load i32, ptr @json_wtr, align 4, !tbaa !9
%6 = tail call i32 @jsonw_int_field(i32 noundef %5, ptr noundef nonnull @.str.1, i32 noundef %1) #4
br label %18
7: ; preds = %0
switch i32 %1, label %16 [
i32 0, label %8
i32 1, label %10
i32 2, label %12
i32 -1, label %14
]
8: ; preds = %7
%9 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.9)
br label %18
10: ; preds = %7
%11 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.8)
br label %18
12: ; preds = %7
%13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.7)
br label %18
14: ; preds = %7
%15 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %18
16: ; preds = %7
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %1)
br label %18
18: ; preds = %8, %10, %12, %14, %16, %4
ret void
}
declare i32 @read_procfs(ptr noundef) local_unnamed_addr #1
declare i32 @jsonw_int_field(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_feature.c_probe_jit_harden.c'
source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_feature.c_probe_jit_harden.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [34 x i8] c"/proc/sys/net/core/bpf_jit_harden\00", align 1
@json_output = common local_unnamed_addr global i64 0, align 8
@json_wtr = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"bpf_jit_harden\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"JIT hardening status has unknown value %d\0A\00", align 1
@str = private unnamed_addr constant [40 x i8] c"Unable to retrieve JIT hardening status\00", align 1
@str.7 = private unnamed_addr constant [48 x i8] c"JIT compiler hardening is enabled for all users\00", align 1
@str.8 = private unnamed_addr constant [57 x i8] c"JIT compiler hardening is enabled for unprivileged users\00", align 1
@str.9 = private unnamed_addr constant [35 x i8] c"JIT compiler hardening is disabled\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @probe_jit_harden], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @probe_jit_harden() #0 {
%1 = tail call i32 @read_procfs(ptr noundef nonnull @.str) #4
%2 = load i64, ptr @json_output, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %0
%5 = load i32, ptr @json_wtr, align 4, !tbaa !10
%6 = tail call i32 @jsonw_int_field(i32 noundef %5, ptr noundef nonnull @.str.1, i32 noundef %1) #4
br label %18
7: ; preds = %0
switch i32 %1, label %16 [
i32 0, label %8
i32 1, label %10
i32 2, label %12
i32 -1, label %14
]
8: ; preds = %7
%9 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.9)
br label %18
10: ; preds = %7
%11 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.8)
br label %18
12: ; preds = %7
%13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.7)
br label %18
14: ; preds = %7
%15 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %18
16: ; preds = %7
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %1)
br label %18
18: ; preds = %8, %10, %12, %14, %16, %4
ret void
}
declare i32 @read_procfs(ptr noundef) local_unnamed_addr #1
declare i32 @jsonw_int_field(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_tools_bpf_bpftool_extr_feature.c_probe_jit_harden |
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_instrFunc.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_instrFunc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_NULL = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_BLOB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @instrFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @instrFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2
%5 = load ptr, ptr %2, align 8, !tbaa !5
%6 = tail call i32 @sqlite3_value_type(ptr noundef %5) #2
%7 = getelementptr inbounds ptr, ptr %2, i64 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = tail call i32 @sqlite3_value_type(ptr noundef %8) #2
%10 = load i32, ptr @SQLITE_NULL, align 4, !tbaa !9
%11 = icmp eq i32 %6, %10
%12 = icmp eq i32 %9, %10
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %71, label %14
14: ; preds = %3
%15 = load ptr, ptr %2, align 8, !tbaa !5
%16 = tail call i32 @sqlite3_value_bytes(ptr noundef %15) #2
%17 = load ptr, ptr %7, align 8, !tbaa !5
%18 = tail call i32 @sqlite3_value_bytes(ptr noundef %17) #2
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %68
20: ; preds = %14
%21 = load i32, ptr @SQLITE_BLOB, align 4, !tbaa !9
%22 = icmp eq i32 %6, %21
%23 = icmp eq i32 %9, %21
%24 = select i1 %22, i1 %23, i1 false
%25 = load ptr, ptr %2, align 8, !tbaa !5
br i1 %24, label %26, label %30
26: ; preds = %20
%27 = tail call ptr @sqlite3_value_blob(ptr noundef %25) #2
%28 = load ptr, ptr %7, align 8, !tbaa !5
%29 = tail call ptr @sqlite3_value_blob(ptr noundef %28) #2
br label %34
30: ; preds = %20
%31 = tail call ptr @sqlite3_value_text(ptr noundef %25) #2
%32 = load ptr, ptr %7, align 8, !tbaa !5
%33 = tail call ptr @sqlite3_value_text(ptr noundef %32) #2
br label %34
34: ; preds = %30, %26
%35 = phi ptr [ %29, %26 ], [ %33, %30 ]
%36 = phi ptr [ %27, %26 ], [ %31, %30 ]
%37 = icmp eq ptr %35, null
br i1 %37, label %71, label %38
38: ; preds = %34
%39 = icmp ne i32 %16, 0
%40 = icmp eq ptr %36, null
%41 = select i1 %39, i1 %40, i1 false
br i1 %41, label %71, label %42
42: ; preds = %38
%43 = load i8, ptr %35, align 1, !tbaa !11
%44 = icmp sgt i32 %18, %16
br i1 %44, label %68, label %45
45: ; preds = %42, %65
%46 = phi ptr [ %60, %65 ], [ %36, %42 ]
%47 = phi i32 [ %55, %65 ], [ 1, %42 ]
%48 = phi i32 [ %59, %65 ], [ %16, %42 ]
%49 = load i8, ptr %46, align 1, !tbaa !11
%50 = icmp eq i8 %49, %43
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = tail call i64 @memcmp(ptr noundef nonnull %46, ptr noundef nonnull %35, i32 noundef %18) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %68, label %54
54: ; preds = %45, %51
%55 = add nuw nsw i32 %47, 1
br label %56
56: ; preds = %61, %54
%57 = phi i32 [ %48, %54 ], [ %59, %61 ]
%58 = phi ptr [ %46, %54 ], [ %60, %61 ]
%59 = add nsw i32 %57, -1
%60 = getelementptr inbounds i8, ptr %58, i64 1
br i1 %24, label %65, label %61
61: ; preds = %56
%62 = load i8, ptr %60, align 1, !tbaa !11
%63 = and i8 %62, -64
%64 = icmp eq i8 %63, -128
br i1 %64, label %56, label %65, !llvm.loop !12
65: ; preds = %56, %61
%66 = phi i32 [ %48, %56 ], [ %57, %61 ]
%67 = icmp slt i32 %18, %66
br i1 %67, label %45, label %68, !llvm.loop !14
68: ; preds = %65, %51, %42, %14
%69 = phi i32 [ 1, %14 ], [ 0, %42 ], [ 0, %65 ], [ %47, %51 ]
%70 = tail call i32 @sqlite3_result_int(ptr noundef %0, i32 noundef %69) #2
br label %71
71: ; preds = %34, %38, %3, %68
ret void
}
declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_type(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_bytes(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_blob(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_int(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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| ; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_instrFunc.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_instrFunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_NULL = common local_unnamed_addr global i32 0, align 4
@SQLITE_BLOB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @instrFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @instrFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2
%5 = load ptr, ptr %2, align 8, !tbaa !6
%6 = tail call i32 @sqlite3_value_type(ptr noundef %5) #2
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = tail call i32 @sqlite3_value_type(ptr noundef %8) #2
%10 = load i32, ptr @SQLITE_NULL, align 4, !tbaa !10
%11 = icmp eq i32 %6, %10
%12 = icmp eq i32 %9, %10
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %71, label %14
14: ; preds = %3
%15 = load ptr, ptr %2, align 8, !tbaa !6
%16 = tail call i32 @sqlite3_value_bytes(ptr noundef %15) #2
%17 = load ptr, ptr %7, align 8, !tbaa !6
%18 = tail call i32 @sqlite3_value_bytes(ptr noundef %17) #2
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %68
20: ; preds = %14
%21 = load i32, ptr @SQLITE_BLOB, align 4, !tbaa !10
%22 = icmp eq i32 %6, %21
%23 = icmp eq i32 %9, %21
%24 = select i1 %22, i1 %23, i1 false
%25 = load ptr, ptr %2, align 8, !tbaa !6
br i1 %24, label %26, label %30
26: ; preds = %20
%27 = tail call ptr @sqlite3_value_blob(ptr noundef %25) #2
%28 = load ptr, ptr %7, align 8, !tbaa !6
%29 = tail call ptr @sqlite3_value_blob(ptr noundef %28) #2
br label %34
30: ; preds = %20
%31 = tail call ptr @sqlite3_value_text(ptr noundef %25) #2
%32 = load ptr, ptr %7, align 8, !tbaa !6
%33 = tail call ptr @sqlite3_value_text(ptr noundef %32) #2
br label %34
34: ; preds = %30, %26
%35 = phi ptr [ %29, %26 ], [ %33, %30 ]
%36 = phi ptr [ %27, %26 ], [ %31, %30 ]
%37 = icmp eq ptr %35, null
br i1 %37, label %71, label %38
38: ; preds = %34
%39 = icmp ne i32 %16, 0
%40 = icmp eq ptr %36, null
%41 = select i1 %39, i1 %40, i1 false
br i1 %41, label %71, label %42
42: ; preds = %38
%43 = load i8, ptr %35, align 1, !tbaa !12
%44 = icmp sgt i32 %18, %16
br i1 %44, label %68, label %45
45: ; preds = %42, %65
%46 = phi ptr [ %60, %65 ], [ %36, %42 ]
%47 = phi i32 [ %55, %65 ], [ 1, %42 ]
%48 = phi i32 [ %59, %65 ], [ %16, %42 ]
%49 = load i8, ptr %46, align 1, !tbaa !12
%50 = icmp eq i8 %49, %43
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = tail call i64 @memcmp(ptr noundef nonnull %46, ptr noundef nonnull %35, i32 noundef %18) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %68, label %54
54: ; preds = %45, %51
%55 = add nuw nsw i32 %47, 1
br label %56
56: ; preds = %61, %54
%57 = phi i32 [ %48, %54 ], [ %59, %61 ]
%58 = phi ptr [ %46, %54 ], [ %60, %61 ]
%59 = add nsw i32 %57, -1
%60 = getelementptr inbounds i8, ptr %58, i64 1
br i1 %24, label %65, label %61
61: ; preds = %56
%62 = load i8, ptr %60, align 1, !tbaa !12
%63 = and i8 %62, -64
%64 = icmp eq i8 %63, -128
br i1 %64, label %56, label %65, !llvm.loop !13
65: ; preds = %56, %61
%66 = phi i32 [ %48, %56 ], [ %57, %61 ]
%67 = icmp slt i32 %18, %66
br i1 %67, label %45, label %68, !llvm.loop !15
68: ; preds = %65, %51, %42, %14
%69 = phi i32 [ 1, %14 ], [ 0, %42 ], [ 0, %65 ], [ %47, %51 ]
%70 = tail call i32 @sqlite3_result_int(ptr noundef %0, i32 noundef %69) #2
br label %71
71: ; preds = %34, %38, %3, %68
ret void
}
declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_type(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_bytes(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_blob(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_int(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 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| poco_Data_SQLite_src_extr_sqlite3.c_instrFunc |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_safearray.c_check_for_VT_INT_PTR.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_safearray.c_check_for_VT_INT_PTR.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@VT_INT_PTR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"VT_INT_PTR is supported\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@has_int_ptr = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"got 0x%08x\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"VT_INT_PTR is not supported\0A\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_for_VT_INT_PTR], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @check_for_VT_INT_PTR() #0 {
%1 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
%2 = load i32, ptr @VT_INT_PTR, align 4, !tbaa !5
%3 = call ptr @SafeArrayCreate(i32 noundef %2, i32 noundef 1, ptr noundef nonnull %1) #4
%4 = icmp eq ptr %3, null
br i1 %4, label %13, label %5
5: ; preds = %0
%6 = call i32 @trace(ptr noundef nonnull @.str) #4
%7 = load i32, ptr @TRUE, align 4, !tbaa !5
store i32 %7, ptr @has_int_ptr, align 4, !tbaa !5
%8 = call i64 @SafeArrayDestroy(ptr noundef nonnull %3) #4
%9 = load i64, ptr @S_OK, align 8, !tbaa !9
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @ok(i32 noundef %11, ptr noundef nonnull @.str.1, i64 noundef %8) #4
br label %16
13: ; preds = %0
%14 = call i32 @trace(ptr noundef nonnull @.str.2) #4
%15 = load i32, ptr @FALSE, align 4, !tbaa !5
store i32 %15, ptr @has_int_ptr, align 4, !tbaa !5
br label %16
16: ; preds = %13, %5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @SafeArrayCreate(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @trace(ptr noundef) local_unnamed_addr #2
declare i64 @SafeArrayDestroy(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_safearray.c_check_for_VT_INT_PTR.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_safearray.c_check_for_VT_INT_PTR.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, i64 }
@VT_INT_PTR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"VT_INT_PTR is supported\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@has_int_ptr = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"got 0x%08x\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"VT_INT_PTR is not supported\0A\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_for_VT_INT_PTR], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @check_for_VT_INT_PTR() #0 {
%1 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
%2 = load i32, ptr @VT_INT_PTR, align 4, !tbaa !6
%3 = call ptr @SafeArrayCreate(i32 noundef %2, i32 noundef 1, ptr noundef nonnull %1) #4
%4 = icmp eq ptr %3, null
br i1 %4, label %13, label %5
5: ; preds = %0
%6 = call i32 @trace(ptr noundef nonnull @.str) #4
%7 = load i32, ptr @TRUE, align 4, !tbaa !6
store i32 %7, ptr @has_int_ptr, align 4, !tbaa !6
%8 = call i64 @SafeArrayDestroy(ptr noundef nonnull %3) #4
%9 = load i64, ptr @S_OK, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @ok(i32 noundef %11, ptr noundef nonnull @.str.1, i64 noundef %8) #4
br label %16
13: ; preds = %0
%14 = call i32 @trace(ptr noundef nonnull @.str.2) #4
%15 = load i32, ptr @FALSE, align 4, !tbaa !6
store i32 %15, ptr @has_int_ptr, align 4, !tbaa !6
br label %16
16: ; preds = %13, %5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @SafeArrayCreate(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @trace(ptr noundef) local_unnamed_addr #2
declare i64 @SafeArrayDestroy(ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| reactos_modules_rostests_winetests_oleaut32_extr_safearray.c_check_for_VT_INT_PTR |
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_eqcr_start_stash.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_eqcr_start_stash.c"
target datalayout = "e-m:e-p270:32:32-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.qm_eqcr = type { i32, i32, i32, ptr }
@QM_CL_EQCR_CI_CENA = dso_local local_unnamed_addr global i32 0, align 4
@QM_EQCR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qm_eqcr_start_stash], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @qm_eqcr_start_stash(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @DPAA_ASSERT(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.qm_eqcr, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %1
%10 = getelementptr inbounds %struct.qm_eqcr, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = load i32, ptr @QM_CL_EQCR_CI_CENA, align 4, !tbaa !13
%13 = tail call i32 @qm_ce_in(ptr noundef nonnull %0, i32 noundef %12) #2
%14 = load i32, ptr @QM_EQCR_SIZE, align 4, !tbaa !13
%15 = add nsw i32 %14, -1
%16 = and i32 %15, %13
store i32 %16, ptr %10, align 8, !tbaa !12
%17 = tail call i32 @dpaa_cyc_diff(i32 noundef %14, i32 noundef %11, i32 noundef %16) #2
%18 = load i32, ptr %6, align 4, !tbaa !11
%19 = add nsw i32 %18, %17
store i32 %19, ptr %6, align 4, !tbaa !11
%20 = icmp eq i32 %17, 0
br i1 %20, label %26, label %21
21: ; preds = %9, %1
%22 = getelementptr inbounds %struct.qm_eqcr, ptr %0, i64 0, i32 3
%23 = load ptr, ptr %22, align 8, !tbaa !14
%24 = tail call i32 @dpaa_zero(ptr noundef %23) #2
%25 = load ptr, ptr %22, align 8, !tbaa !14
br label %26
26: ; preds = %9, %21
%27 = phi ptr [ %25, %21 ], [ null, %9 ]
ret ptr %27
}
declare i32 @DPAA_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @qm_ce_in(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dpaa_cyc_diff(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dpaa_zero(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qm_eqcr", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_eqcr_start_stash.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_eqcr_start_stash.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QM_CL_EQCR_CI_CENA = common local_unnamed_addr global i32 0, align 4
@QM_EQCR_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qm_eqcr_start_stash], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @qm_eqcr_start_stash(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @DPAA_ASSERT(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = load i32, ptr @QM_CL_EQCR_CI_CENA, align 4, !tbaa !14
%13 = tail call i32 @qm_ce_in(ptr noundef nonnull %0, i32 noundef %12) #2
%14 = load i32, ptr @QM_EQCR_SIZE, align 4, !tbaa !14
%15 = add nsw i32 %14, -1
%16 = and i32 %15, %13
store i32 %16, ptr %10, align 8, !tbaa !13
%17 = tail call i32 @dpaa_cyc_diff(i32 noundef %14, i32 noundef %11, i32 noundef %16) #2
%18 = load i32, ptr %6, align 4, !tbaa !12
%19 = add nsw i32 %18, %17
store i32 %19, ptr %6, align 4, !tbaa !12
%20 = icmp eq i32 %17, 0
br i1 %20, label %26, label %21
21: ; preds = %9, %1
%22 = getelementptr inbounds i8, ptr %0, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = tail call i32 @dpaa_zero(ptr noundef %23) #2
%25 = load ptr, ptr %22, align 8, !tbaa !15
br label %26
26: ; preds = %9, %21
%27 = phi ptr [ %25, %21 ], [ null, %9 ]
ret ptr %27
}
declare i32 @DPAA_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @qm_ce_in(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dpaa_cyc_diff(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dpaa_zero(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qm_eqcr", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 16}
| linux_drivers_soc_fsl_qbman_extr_qman.c_qm_eqcr_start_stash |
; ModuleID = 'AnghaBench/jemalloc/src/extr_sc.c_sc_data_update_sc_slab_size.c'
source_filename = "AnghaBench/jemalloc/src/extr_sc.c_sc_data_update_sc_slab_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 = dso_local local_unnamed_addr global i64 0, align 8
@BITMAP_MAXBITS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sc_data_update_sc_slab_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sc_data_update_sc_slab_size(ptr nocapture noundef writeonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr @PAGE, align 8, !tbaa !5
%5 = udiv i64 %1, %4
%6 = urem i64 %1, %4
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i64
%9 = add i64 %5, %8
%10 = load i64, ptr @BITMAP_MAXBITS, align 8, !tbaa !5
%11 = mul i64 %10, %1
%12 = udiv i64 %11, %4
%13 = icmp ule i64 %9, %12
%14 = zext i1 %13 to i32
%15 = tail call i32 @assert(i32 noundef %14) #3
%16 = icmp ne i64 %9, 0
%17 = zext i1 %16 to i32
%18 = tail call i32 @assert(i32 noundef %17) #3
%19 = icmp ule i64 %4, %11
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 noundef %20) #3
%22 = icmp ugt i64 %9, %2
%23 = tail call i64 @llvm.umin.i64(i64 %12, i64 %2)
%24 = select i1 %22, i64 %9, i64 %23
%25 = trunc i64 %24 to i32
store i32 %25, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind 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 = !{!"long", !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}
| ; ModuleID = 'AnghaBench/jemalloc/src/extr_sc.c_sc_data_update_sc_slab_size.c'
source_filename = "AnghaBench/jemalloc/src/extr_sc.c_sc_data_update_sc_slab_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE = common local_unnamed_addr global i64 0, align 8
@BITMAP_MAXBITS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sc_data_update_sc_slab_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sc_data_update_sc_slab_size(ptr nocapture noundef writeonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr @PAGE, align 8, !tbaa !6
%5 = freeze i64 %4
%6 = udiv i64 %1, %5
%7 = mul i64 %6, %5
%8 = sub i64 %1, %7
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i64
%11 = add i64 %6, %10
%12 = load i64, ptr @BITMAP_MAXBITS, align 8, !tbaa !6
%13 = mul i64 %12, %1
%14 = udiv i64 %13, %4
%15 = icmp ule i64 %11, %14
%16 = zext i1 %15 to i32
%17 = tail call i32 @assert(i32 noundef %16) #3
%18 = icmp ne i64 %11, 0
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 noundef %19) #3
%21 = icmp ule i64 %4, %13
%22 = zext i1 %21 to i32
%23 = tail call i32 @assert(i32 noundef %22) #3
%24 = icmp ugt i64 %11, %2
%25 = tail call i64 @llvm.umin.i64(i64 %14, i64 %2)
%26 = select i1 %24, i64 %11, i64 %25
%27 = trunc i64 %26 to i32
store i32 %27, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #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 = !{!"long", !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}
| jemalloc_src_extr_sc.c_sc_data_update_sc_slab_size |
; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_enc_ses.c_ses_encode.c'
source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_enc_ses.c_ses_encode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ses_iterator = type { i32, i32 }
%struct.TYPE_8__ = type { i32, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32, ptr }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@SES_SET_STATUS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Set EncStat %x\0A\00", align 1
@SES_ELEM_INDEX_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"Set Type 0x%x Obj 0x%x (offset %d) with %x %x %x %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ses_encode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ses_encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ses_iterator, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @ses_iter_init(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %5) #3
%7 = load i32, ptr %3, align 8, !tbaa !5
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %19
9: ; preds = %4
%10 = icmp slt i32 %2, 2
br i1 %10, label %11, label %13
11: ; preds = %9
%12 = load i32, ptr @EIO, align 4, !tbaa !12
br label %51
13: ; preds = %9
%14 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = load i32, ptr @SES_SET_STATUS_MASK, align 4, !tbaa !12
%17 = and i32 %16, %15
store i32 %17, ptr %1, align 4, !tbaa !14
%18 = call i32 (ptr, ptr, i32, ...) @ENC_DLOG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %17) #3
br label %51
19: ; preds = %4
%20 = load i32, ptr @SES_ELEM_INDEX_GLOBAL, align 4, !tbaa !12
%21 = call ptr @ses_iter_seek_to(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %20) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = load i32, ptr @ENXIO, align 4, !tbaa !12
br label %51
25: ; preds = %19
%26 = load i32, ptr %5, align 4, !tbaa !16
%27 = shl i32 %26, 2
%28 = add i32 %27, 4
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, 4
%31 = sext i32 %2 to i64
%32 = icmp ugt i64 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %25
%34 = load i32, ptr @EIO, align 4, !tbaa !12
br label %51
35: ; preds = %25
%36 = getelementptr inbounds i32, ptr %1, i64 %29
%37 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1
%38 = call i32 @memcpy(ptr noundef %36, ptr noundef nonnull %37, i32 noundef 4) #3
%39 = getelementptr inbounds %struct.ses_iterator, ptr %5, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !18
%41 = load i32, ptr %5, align 4, !tbaa !16
%42 = load i32, ptr %37, align 8, !tbaa !13
%43 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1, i32 1
%44 = load ptr, ptr %43, align 8, !tbaa !19
%45 = load i32, ptr %44, align 4, !tbaa !12
%46 = getelementptr inbounds i32, ptr %44, i64 1
%47 = load i32, ptr %46, align 4, !tbaa !12
%48 = getelementptr inbounds i32, ptr %44, i64 2
%49 = load i32, ptr %48, align 4, !tbaa !12
%50 = call i32 (ptr, ptr, i32, ...) @ENC_DLOG(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %40, i32 noundef %41, i32 noundef %28, i32 noundef %42, i32 noundef %45, i32 noundef %47, i32 noundef %49) #3
br label %51
51: ; preds = %35, %33, %23, %13, %11
%52 = phi i32 [ %12, %11 ], [ 0, %13 ], [ %24, %23 ], [ %34, %33 ], [ 0, %35 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ses_iter_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ENC_DLOG(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @ses_iter_seek_to(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_10__", !7, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"ses_control_page_hdr", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"ses_iterator", !7, i64 0, !7, i64 4}
!18 = !{!17, !7, i64 4}
!19 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_enc_ses.c_ses_encode.c'
source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_enc_ses.c_ses_encode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ses_iterator = type { i32, i32 }
@EIO = common local_unnamed_addr global i32 0, align 4
@SES_SET_STATUS_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Set EncStat %x\0A\00", align 1
@SES_ELEM_INDEX_GLOBAL = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"Set Type 0x%x Obj 0x%x (offset %d) with %x %x %x %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ses_encode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ses_encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ses_iterator, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i32 @ses_iter_init(ptr noundef %0, ptr noundef %0, ptr noundef nonnull %5) #3
%7 = load i32, ptr %3, align 8, !tbaa !6
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %19
9: ; preds = %4
%10 = icmp slt i32 %2, 2
br i1 %10, label %11, label %13
11: ; preds = %9
%12 = load i32, ptr @EIO, align 4, !tbaa !13
br label %51
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = load i32, ptr @SES_SET_STATUS_MASK, align 4, !tbaa !13
%17 = and i32 %16, %15
store i32 %17, ptr %1, align 4, !tbaa !15
%18 = call i32 (ptr, ptr, i32, ...) @ENC_DLOG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %17) #3
br label %51
19: ; preds = %4
%20 = load i32, ptr @SES_ELEM_INDEX_GLOBAL, align 4, !tbaa !13
%21 = call ptr @ses_iter_seek_to(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %20) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = load i32, ptr @ENXIO, align 4, !tbaa !13
br label %51
25: ; preds = %19
%26 = load i32, ptr %5, align 4, !tbaa !17
%27 = shl i32 %26, 2
%28 = add i32 %27, 4
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, 4
%31 = sext i32 %2 to i64
%32 = icmp ugt i64 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %25
%34 = load i32, ptr @EIO, align 4, !tbaa !13
br label %51
35: ; preds = %25
%36 = getelementptr inbounds i32, ptr %1, i64 %29
%37 = getelementptr inbounds i8, ptr %3, i64 8
%38 = call i32 @memcpy(ptr noundef %36, ptr noundef nonnull %37, i32 noundef 4) #3
%39 = getelementptr inbounds i8, ptr %5, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !19
%41 = load i32, ptr %5, align 4, !tbaa !17
%42 = load i32, ptr %37, align 8, !tbaa !14
%43 = getelementptr inbounds i8, ptr %3, i64 16
%44 = load ptr, ptr %43, align 8, !tbaa !20
%45 = load i32, ptr %44, align 4, !tbaa !13
%46 = getelementptr inbounds i8, ptr %44, i64 4
%47 = load i32, ptr %46, align 4, !tbaa !13
%48 = getelementptr inbounds i8, ptr %44, i64 8
%49 = load i32, ptr %48, align 4, !tbaa !13
%50 = call i32 (ptr, ptr, i32, ...) @ENC_DLOG(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %40, i32 noundef %41, i32 noundef %28, i32 noundef %42, i32 noundef %45, i32 noundef %47, i32 noundef %49) #3
br label %51
51: ; preds = %35, %33, %23, %13, %11
%52 = phi i32 [ %12, %11 ], [ 0, %13 ], [ %24, %23 ], [ %34, %33 ], [ 0, %35 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ses_iter_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ENC_DLOG(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @ses_iter_seek_to(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_10__", !8, i64 0, !12, i64 8}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !8, i64 0}
!16 = !{!"ses_control_page_hdr", !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"ses_iterator", !8, i64 0, !8, i64 4}
!19 = !{!18, !8, i64 4}
!20 = !{!7, !12, i64 16}
| freebsd_sys_cam_scsi_extr_scsi_enc_ses.c_ses_encode |
; ModuleID = 'AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_init_zio_abd.c'
source_filename = "AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_init_zio_abd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@init_rand = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @init_zio_abd(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = load i32, ptr @init_rand, align 4, !tbaa !11
%6 = tail call i32 @abd_iterate_func(i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef %5, ptr noundef null) #2
ret void
}
declare i32 @abd_iterate_func(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_3__", !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}
| ; ModuleID = 'AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_init_zio_abd.c'
source_filename = "AnghaBench/zfs/cmd/raidz_test/extr_raidz_test.c_init_zio_abd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@init_rand = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @init_zio_abd(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !11
%5 = load i32, ptr @init_rand, align 4, !tbaa !12
%6 = tail call i32 @abd_iterate_func(i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef %5, ptr noundef null) #2
ret void
}
declare i32 @abd_iterate_func(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_3__", !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}
| zfs_cmd_raidz_test_extr_raidz_test.c_init_zio_abd |
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_raw.c_raw_v4_input.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_raw.c_raw_v4_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"
%struct.TYPE_3__ = type { i32, ptr }
%struct.hlist_head = type { i32 }
%struct.iphdr = type { i32, i32, i32 }
@raw_v4_hashinfo = dso_local global %struct.TYPE_3__ zeroinitializer, align 8
@IPPROTO_ICMP = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @raw_v4_input], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @raw_v4_input(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @inet_sdif(ptr noundef %0) #2
%5 = tail call i32 @inet_iif(ptr noundef %0) #2
%6 = tail call i32 @read_lock(ptr noundef nonnull @raw_v4_hashinfo) #2
%7 = load ptr, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @raw_v4_hashinfo, i64 0, i32 1), align 8, !tbaa !5
%8 = sext i32 %2 to i64
%9 = getelementptr inbounds %struct.hlist_head, ptr %7, i64 %8
%10 = tail call i64 @hlist_empty(ptr noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %51
12: ; preds = %3
%13 = load ptr, ptr %0, align 8, !tbaa !11
%14 = tail call ptr @dev_net(ptr noundef %13) #2
%15 = tail call i32 @__sk_head(ptr noundef %9) #2
%16 = getelementptr inbounds %struct.iphdr, ptr %1, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = getelementptr inbounds %struct.iphdr, ptr %1, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = load i32, ptr %1, align 4, !tbaa !16
%21 = tail call ptr @__raw_v4_lookup(ptr noundef %14, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %20, i32 noundef %5, i32 noundef %4) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %51, label %23
23: ; preds = %12, %44
%24 = phi ptr [ %49, %44 ], [ %21, %12 ]
%25 = load i32, ptr %16, align 4, !tbaa !13
%26 = load i32, ptr @IPPROTO_ICMP, align 4, !tbaa !17
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = tail call i32 @icmp_filter(ptr noundef nonnull %24, ptr noundef nonnull %0) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %44
31: ; preds = %28, %23
%32 = load i32, ptr %1, align 4, !tbaa !16
%33 = load i32, ptr %18, align 4, !tbaa !15
%34 = load ptr, ptr %0, align 8, !tbaa !11
%35 = load i32, ptr %34, align 4, !tbaa !18
%36 = tail call i64 @ip_mc_sf_allow(ptr noundef nonnull %24, i32 noundef %32, i32 noundef %33, i32 noundef %35, i32 noundef %4) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %31
%39 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !17
%40 = tail call ptr @skb_clone(ptr noundef nonnull %0, i32 noundef %39) #2
%41 = icmp eq ptr %40, null
br i1 %41, label %44, label %42
42: ; preds = %38
%43 = tail call i32 @raw_rcv(ptr noundef nonnull %24, ptr noundef nonnull %40) #2
br label %44
44: ; preds = %38, %42, %31, %28
%45 = tail call i32 @sk_next(ptr noundef nonnull %24) #2
%46 = load i32, ptr %16, align 4, !tbaa !13
%47 = load i32, ptr %18, align 4, !tbaa !15
%48 = load i32, ptr %1, align 4, !tbaa !16
%49 = tail call ptr @__raw_v4_lookup(ptr noundef %14, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %5, i32 noundef %4) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %23, !llvm.loop !20
51: ; preds = %44, %12, %3
%52 = phi i32 [ 0, %3 ], [ 0, %12 ], [ 1, %44 ]
%53 = tail call i32 @read_unlock(ptr noundef nonnull @raw_v4_hashinfo) #2
ret i32 %52
}
declare i32 @inet_sdif(ptr noundef) local_unnamed_addr #1
declare i32 @inet_iif(ptr noundef) local_unnamed_addr #1
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare i64 @hlist_empty(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare ptr @__raw_v4_lookup(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__sk_head(ptr noundef) local_unnamed_addr #1
declare i32 @icmp_filter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ip_mc_sf_allow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_rcv(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sk_next(ptr noundef) local_unnamed_addr #1
declare i32 @read_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, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"sk_buff", !10, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"iphdr", !7, i64 0, !7, i64 4, !7, i64 8}
!15 = !{!14, !7, i64 4}
!16 = !{!14, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_4__", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/net/ipv4/extr_raw.c_raw_v4_input.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_raw.c_raw_v4_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, ptr }
%struct.hlist_head = type { i32 }
@raw_v4_hashinfo = common global %struct.TYPE_3__ zeroinitializer, align 8
@IPPROTO_ICMP = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @raw_v4_input], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @raw_v4_input(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @inet_sdif(ptr noundef %0) #2
%5 = tail call i32 @inet_iif(ptr noundef %0) #2
%6 = tail call i32 @read_lock(ptr noundef nonnull @raw_v4_hashinfo) #2
%7 = load ptr, ptr getelementptr inbounds (i8, ptr @raw_v4_hashinfo, i64 8), align 8, !tbaa !6
%8 = sext i32 %2 to i64
%9 = getelementptr inbounds %struct.hlist_head, ptr %7, i64 %8
%10 = tail call i64 @hlist_empty(ptr noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %51
12: ; preds = %3
%13 = load ptr, ptr %0, align 8, !tbaa !12
%14 = tail call ptr @dev_net(ptr noundef %13) #2
%15 = tail call i32 @__sk_head(ptr noundef %9) #2
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = getelementptr inbounds i8, ptr %1, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = load i32, ptr %1, align 4, !tbaa !17
%21 = tail call ptr @__raw_v4_lookup(ptr noundef %14, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %20, i32 noundef %5, i32 noundef %4) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %51, label %23
23: ; preds = %12, %44
%24 = phi ptr [ %49, %44 ], [ %21, %12 ]
%25 = load i32, ptr %16, align 4, !tbaa !14
%26 = load i32, ptr @IPPROTO_ICMP, align 4, !tbaa !18
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = tail call i32 @icmp_filter(ptr noundef nonnull %24, ptr noundef nonnull %0) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %44
31: ; preds = %28, %23
%32 = load i32, ptr %1, align 4, !tbaa !17
%33 = load i32, ptr %18, align 4, !tbaa !16
%34 = load ptr, ptr %0, align 8, !tbaa !12
%35 = load i32, ptr %34, align 4, !tbaa !19
%36 = tail call i64 @ip_mc_sf_allow(ptr noundef nonnull %24, i32 noundef %32, i32 noundef %33, i32 noundef %35, i32 noundef %4) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %31
%39 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !18
%40 = tail call ptr @skb_clone(ptr noundef nonnull %0, i32 noundef %39) #2
%41 = icmp eq ptr %40, null
br i1 %41, label %44, label %42
42: ; preds = %38
%43 = tail call i32 @raw_rcv(ptr noundef nonnull %24, ptr noundef nonnull %40) #2
br label %44
44: ; preds = %38, %42, %31, %28
%45 = tail call i32 @sk_next(ptr noundef nonnull %24) #2
%46 = load i32, ptr %16, align 4, !tbaa !14
%47 = load i32, ptr %18, align 4, !tbaa !16
%48 = load i32, ptr %1, align 4, !tbaa !17
%49 = tail call ptr @__raw_v4_lookup(ptr noundef %14, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %5, i32 noundef %4) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %23, !llvm.loop !21
51: ; preds = %44, %12, %3
%52 = phi i32 [ 0, %3 ], [ 0, %12 ], [ 1, %44 ]
%53 = tail call i32 @read_unlock(ptr noundef nonnull @raw_v4_hashinfo) #2
ret i32 %52
}
declare i32 @inet_sdif(ptr noundef) local_unnamed_addr #1
declare i32 @inet_iif(ptr noundef) local_unnamed_addr #1
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare i64 @hlist_empty(ptr noundef) local_unnamed_addr #1
declare ptr @dev_net(ptr noundef) local_unnamed_addr #1
declare ptr @__raw_v4_lookup(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__sk_head(ptr noundef) local_unnamed_addr #1
declare i32 @icmp_filter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ip_mc_sf_allow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_rcv(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sk_next(ptr noundef) local_unnamed_addr #1
declare i32 @read_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, !11, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"sk_buff", !11, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"iphdr", !8, i64 0, !8, i64 4, !8, i64 8}
!16 = !{!15, !8, i64 4}
!17 = !{!15, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_4__", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| linux_net_ipv4_extr_raw.c_raw_v4_input |
; ModuleID = 'AnghaBench/Cinder/src/freetype/raster/extr_ftraster.c_Split_Cubic.c'
source_filename = "AnghaBench/Cinder/src/freetype/raster/extr_ftraster.c_Split_Cubic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @Split_Cubic], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @Split_Cubic(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 3
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 6
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 2
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 5
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 4
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 1
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 2, i32 1
%10 = load <2 x i32>, ptr %2, align 4, !tbaa !5
%11 = load <2 x i32>, ptr %4, align 4, !tbaa !5
%12 = load <2 x i32>, ptr %0, align 4, !tbaa !5
%13 = add <2 x i32> %11, <i32 1, i32 1>
%14 = add <2 x i32> %13, %12
%15 = ashr <2 x i32> %14, <i32 1, i32 1>
%16 = extractelement <2 x i32> %15, i64 0
store i32 %16, ptr %4, align 4, !tbaa !9
%17 = load <2 x i32>, ptr %5, align 4, !tbaa !5
%18 = add <2 x i32> %17, <i32 1, i32 1>
%19 = add <2 x i32> %18, %10
%20 = ashr <2 x i32> %19, <i32 1, i32 1>
%21 = add <2 x i32> %13, %17
%22 = ashr <2 x i32> %21, <i32 1, i32 1>
%23 = add nsw <2 x i32> %22, <i32 1, i32 1>
%24 = add nsw <2 x i32> %23, %15
%25 = ashr <2 x i32> %24, <i32 1, i32 1>
%26 = extractelement <2 x i32> %25, i64 0
store i32 %26, ptr %5, align 4, !tbaa !9
%27 = add nsw <2 x i32> %23, %20
%28 = ashr <2 x i32> %27, <i32 1, i32 1>
store <2 x i32> %10, ptr %3, align 4, !tbaa !5
%29 = extractelement <2 x i32> %15, i64 1
store i32 %29, ptr %8, align 4, !tbaa !11
store <2 x i32> %20, ptr %6, align 4, !tbaa !5
%30 = extractelement <2 x i32> %25, i64 1
store i32 %30, ptr %9, align 4, !tbaa !11
store <2 x i32> %28, ptr %7, align 4, !tbaa !5
%31 = add nsw <2 x i32> %28, <i32 1, i32 1>
%32 = add nsw <2 x i32> %31, %25
%33 = ashr <2 x i32> %32, <i32 1, i32 1>
store <2 x i32> %33, ptr %2, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/Cinder/src/freetype/raster/extr_ftraster.c_Split_Cubic.c'
source_filename = "AnghaBench/Cinder/src/freetype/raster/extr_ftraster.c_Split_Cubic.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 @Split_Cubic], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @Split_Cubic(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = getelementptr inbounds i8, ptr %0, i64 48
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = getelementptr inbounds i8, ptr %0, i64 32
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = getelementptr inbounds i8, ptr %0, i64 20
%10 = load <2 x i32>, ptr %2, align 4, !tbaa !6
%11 = load <2 x i32>, ptr %4, align 4, !tbaa !6
%12 = load <2 x i32>, ptr %0, align 4, !tbaa !6
%13 = add <2 x i32> %11, <i32 1, i32 1>
%14 = add <2 x i32> %13, %12
%15 = ashr <2 x i32> %14, <i32 1, i32 1>
%16 = extractelement <2 x i32> %15, i64 0
store i32 %16, ptr %4, align 4, !tbaa !10
%17 = load <2 x i32>, ptr %5, align 4, !tbaa !6
%18 = add <2 x i32> %17, <i32 1, i32 1>
%19 = add <2 x i32> %18, %10
%20 = ashr <2 x i32> %19, <i32 1, i32 1>
%21 = add <2 x i32> %13, %17
%22 = ashr <2 x i32> %21, <i32 1, i32 1>
%23 = add nsw <2 x i32> %22, <i32 1, i32 1>
%24 = add nsw <2 x i32> %23, %15
%25 = ashr <2 x i32> %24, <i32 1, i32 1>
%26 = extractelement <2 x i32> %25, i64 0
store i32 %26, ptr %5, align 4, !tbaa !10
%27 = add nsw <2 x i32> %23, %20
%28 = ashr <2 x i32> %27, <i32 1, i32 1>
store <2 x i32> %10, ptr %3, align 4, !tbaa !6
%29 = extractelement <2 x i32> %15, i64 1
store i32 %29, ptr %8, align 4, !tbaa !12
store <2 x i32> %20, ptr %6, align 4, !tbaa !6
%30 = extractelement <2 x i32> %25, i64 1
store i32 %30, ptr %9, align 4, !tbaa !12
store <2 x i32> %28, ptr %7, align 4, !tbaa !6
%31 = add nsw <2 x i32> %28, <i32 1, i32 1>
%32 = add nsw <2 x i32> %31, %25
%33 = ashr <2 x i32> %32, <i32 1, i32 1>
store <2 x i32> %33, ptr %2, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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, !7, i64 4}
!12 = !{!11, !7, i64 4}
| Cinder_src_freetype_raster_extr_ftraster.c_Split_Cubic |
; ModuleID = 'AnghaBench/lede/package/utils/oseama/src/extr_oseama.c_usage.c'
source_filename = "AnghaBench/lede/package/utils/oseama/src/extr_oseama.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Info about Seama seal (container):\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"\09oseama info <file> [options]\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"\09-e\09\09\09\09print info about specified entity only\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Create Seama entity:\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"\09oseama entity <file> [options]\0A\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"\09-m meta\09\09\09\09meta into to put in header\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"\09-f file\09\09\09\09append content from file\0A\00", align 1
@.str.9 = private unnamed_addr constant [57 x i8] c"\09-b offset\09\09\09append zeros till reaching absolute offset\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"Extract from Seama seal (container):\0A\00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"\09oseama extract <file> [options]\0A\00", align 1
@.str.12 = private unnamed_addr constant [35 x i8] c"\09-e\09\09\09\09index of entity to extract\0A\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"\09-o file\09\09\09\09output file\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usage() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.6) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.7) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.8) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str.9) #2
%12 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%13 = tail call i32 @printf(ptr noundef nonnull @.str.10) #2
%14 = tail call i32 @printf(ptr noundef nonnull @.str.11) #2
%15 = tail call i32 @printf(ptr noundef nonnull @.str.12) #2
%16 = tail call i32 @printf(ptr noundef nonnull @.str.13) #2
ret void
}
declare i32 @printf(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/lede/package/utils/oseama/src/extr_oseama.c_usage.c'
source_filename = "AnghaBench/lede/package/utils/oseama/src/extr_oseama.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"Info about Seama seal (container):\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"\09oseama info <file> [options]\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"\09-e\09\09\09\09print info about specified entity only\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"Create Seama entity:\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"\09oseama entity <file> [options]\0A\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"\09-m meta\09\09\09\09meta into to put in header\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"\09-f file\09\09\09\09append content from file\0A\00", align 1
@.str.9 = private unnamed_addr constant [57 x i8] c"\09-b offset\09\09\09append zeros till reaching absolute offset\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"Extract from Seama seal (container):\0A\00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"\09oseama extract <file> [options]\0A\00", align 1
@.str.12 = private unnamed_addr constant [35 x i8] c"\09-e\09\09\09\09index of entity to extract\0A\00", align 1
@.str.13 = private unnamed_addr constant [25 x i8] c"\09-o file\09\09\09\09output file\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usage() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.6) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.7) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.8) #2
%11 = tail call i32 @printf(ptr noundef nonnull @.str.9) #2
%12 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%13 = tail call i32 @printf(ptr noundef nonnull @.str.10) #2
%14 = tail call i32 @printf(ptr noundef nonnull @.str.11) #2
%15 = tail call i32 @printf(ptr noundef nonnull @.str.12) #2
%16 = tail call i32 @printf(ptr noundef nonnull @.str.13) #2
ret void
}
declare i32 @printf(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)"}
| lede_package_utils_oseama_src_extr_oseama.c_usage |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_eori_8_al.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_eori_8_al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_eori_8_al() local_unnamed_addr #0 {
%1 = tail call i32 (...) @OPER_I_8() #2
%2 = tail call i32 (...) @EA_AL_8() #2
%3 = tail call i32 @m68ki_read_8(i32 noundef %2) #2
%4 = xor i32 %3, %1
%5 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %4) #2
%6 = tail call i32 @NFLAG_8(i32 noundef %4) #2
store i32 %6, ptr @FLAG_N, align 4, !tbaa !5
store i32 %4, ptr @FLAG_Z, align 4, !tbaa !5
%7 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5
store i32 %7, ptr @FLAG_C, align 4, !tbaa !5
%8 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %8, ptr @FLAG_V, align 4, !tbaa !5
ret void
}
declare i32 @OPER_I_8(...) local_unnamed_addr #1
declare i32 @EA_AL_8(...) local_unnamed_addr #1
declare i32 @m68ki_read_8(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_eori_8_al.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_eori_8_al.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_eori_8_al() local_unnamed_addr #0 {
%1 = tail call i32 @OPER_I_8() #2
%2 = tail call i32 @EA_AL_8() #2
%3 = tail call i32 @m68ki_read_8(i32 noundef %2) #2
%4 = xor i32 %3, %1
%5 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %4) #2
%6 = tail call i32 @NFLAG_8(i32 noundef %4) #2
store i32 %6, ptr @FLAG_N, align 4, !tbaa !6
store i32 %4, ptr @FLAG_Z, align 4, !tbaa !6
%7 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6
store i32 %7, ptr @FLAG_C, align 4, !tbaa !6
%8 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %8, ptr @FLAG_V, align 4, !tbaa !6
ret void
}
declare i32 @OPER_I_8(...) local_unnamed_addr #1
declare i32 @EA_AL_8(...) local_unnamed_addr #1
declare i32 @m68ki_read_8(i32 noundef) local_unnamed_addr #1
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_eori_8_al |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/extr_nv50.c_nv50_mc_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/extr_nv50.c_nv50_mc_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @nv50_mc_init(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 512, i32 noundef -1) #2
ret void
}
declare i32 @nvkm_wr32(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, !8, i64 0}
!6 = !{!"nvkm_mc", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/extr_nv50.c_nv50_mc_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/extr_nv50.c_nv50_mc_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @nv50_mc_init(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 512, i32 noundef -1) #2
ret void
}
declare i32 @nvkm_wr32(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, !9, i64 0}
!7 = !{!"nvkm_mc", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_nouveau_nvkm_subdev_mc_extr_nv50.c_nv50_mc_init |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_compute_gcp_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_compute_gcp_infoframe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_crtc_state = type { i32, %struct.TYPE_6__, %struct.TYPE_4__, i32 }
%struct.TYPE_6__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32 }
@HDMI_PACKET_TYPE_GENERAL_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@GCP_COLOR_INDICATION = dso_local local_unnamed_addr global i32 0, align 4
@GCP_DEFAULT_PHASE_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_hdmi_compute_gcp_infoframe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @intel_hdmi_compute_gcp_infoframe(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call ptr @to_i915(i32 noundef %4) #2
%6 = tail call i64 @IS_G4X(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %3
%9 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 3
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = icmp eq i32 %10, 0
br i1 %11, label %33, label %12
12: ; preds = %8
%13 = load i32, ptr @HDMI_PACKET_TYPE_GENERAL_CONTROL, align 4, !tbaa !15
%14 = tail call i32 @intel_hdmi_infoframe_enable(i32 noundef %13) #2
%15 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 1
%16 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 1, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = or i32 %17, %14
store i32 %18, ptr %16, align 4, !tbaa !16
%19 = load i32, ptr %1, align 4, !tbaa !17
%20 = icmp sgt i32 %19, 24
br i1 %20, label %21, label %25
21: ; preds = %12
%22 = load i32, ptr @GCP_COLOR_INDICATION, align 4, !tbaa !15
%23 = load i32, ptr %15, align 4, !tbaa !18
%24 = or i32 %23, %22
store i32 %24, ptr %15, align 4, !tbaa !18
br label %25
25: ; preds = %21, %12
%26 = getelementptr inbounds %struct.intel_crtc_state, ptr %1, i64 0, i32 2
%27 = tail call i64 @gcp_default_phase_possible(i32 noundef %19, ptr noundef nonnull %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = load i32, ptr @GCP_DEFAULT_PHASE_ENABLE, align 4, !tbaa !15
%31 = load i32, ptr %15, align 4, !tbaa !18
%32 = or i32 %31, %30
store i32 %32, ptr %15, align 4, !tbaa !18
br label %33
33: ; preds = %25, %29, %3, %8
ret void
}
declare ptr @to_i915(i32 noundef) local_unnamed_addr #1
declare i64 @IS_G4X(ptr noundef) local_unnamed_addr #1
declare i32 @intel_hdmi_infoframe_enable(i32 noundef) local_unnamed_addr #1
declare i64 @gcp_default_phase_possible(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, !8, i64 0}
!6 = !{!"intel_encoder", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"intel_crtc_state", !8, i64 0, !13, i64 4, !14, i64 12, !8, i64 16}
!13 = !{!"TYPE_6__", !8, i64 0, !8, i64 4}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!12, !8, i64 8}
!17 = !{!12, !8, i64 0}
!18 = !{!12, !8, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_compute_gcp_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_hdmi.c_intel_hdmi_compute_gcp_infoframe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HDMI_PACKET_TYPE_GENERAL_CONTROL = common local_unnamed_addr global i32 0, align 4
@GCP_COLOR_INDICATION = common local_unnamed_addr global i32 0, align 4
@GCP_DEFAULT_PHASE_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_hdmi_compute_gcp_infoframe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @intel_hdmi_compute_gcp_infoframe(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call ptr @to_i915(i32 noundef %4) #2
%6 = tail call i64 @IS_G4X(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 16
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = icmp eq i32 %10, 0
br i1 %11, label %33, label %12
12: ; preds = %8
%13 = load i32, ptr @HDMI_PACKET_TYPE_GENERAL_CONTROL, align 4, !tbaa !16
%14 = tail call i32 @intel_hdmi_infoframe_enable(i32 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %1, i64 4
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = or i32 %17, %14
store i32 %18, ptr %16, align 4, !tbaa !17
%19 = load i32, ptr %1, align 4, !tbaa !18
%20 = icmp sgt i32 %19, 24
br i1 %20, label %21, label %25
21: ; preds = %12
%22 = load i32, ptr @GCP_COLOR_INDICATION, align 4, !tbaa !16
%23 = load i32, ptr %15, align 4, !tbaa !19
%24 = or i32 %23, %22
store i32 %24, ptr %15, align 4, !tbaa !19
br label %25
25: ; preds = %21, %12
%26 = getelementptr inbounds i8, ptr %1, i64 12
%27 = tail call i64 @gcp_default_phase_possible(i32 noundef %19, ptr noundef nonnull %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = load i32, ptr @GCP_DEFAULT_PHASE_ENABLE, align 4, !tbaa !16
%31 = load i32, ptr %15, align 4, !tbaa !19
%32 = or i32 %31, %30
store i32 %32, ptr %15, align 4, !tbaa !19
br label %33
33: ; preds = %25, %29, %3, %8
ret void
}
declare ptr @to_i915(i32 noundef) local_unnamed_addr #1
declare i64 @IS_G4X(ptr noundef) local_unnamed_addr #1
declare i32 @intel_hdmi_infoframe_enable(i32 noundef) local_unnamed_addr #1
declare i64 @gcp_default_phase_possible(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, !9, i64 0}
!7 = !{!"intel_encoder", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 16}
!13 = !{!"intel_crtc_state", !9, i64 0, !14, i64 4, !15, i64 12, !9, i64 16}
!14 = !{!"TYPE_6__", !9, i64 0, !9, i64 4}
!15 = !{!"TYPE_4__", !9, i64 0}
!16 = !{!9, !9, i64 0}
!17 = !{!13, !9, i64 8}
!18 = !{!13, !9, i64 0}
!19 = !{!13, !9, i64 4}
| linux_drivers_gpu_drm_i915_display_extr_intel_hdmi.c_intel_hdmi_compute_gcp_infoframe |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/transmogrified/extr_keymap.c_persistent_default_layer_set.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/transmogrified/extr_keymap.c_persistent_default_layer_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @persistent_default_layer_set(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @eeconfig_update_default_layer(i32 noundef %0) #2
%3 = tail call i32 @default_layer_set(i32 noundef %0) #2
ret void
}
declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1
declare i32 @default_layer_set(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/transmogrified/extr_keymap.c_persistent_default_layer_set.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/transmogrified/extr_keymap.c_persistent_default_layer_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @persistent_default_layer_set(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @eeconfig_update_default_layer(i32 noundef %0) #2
%3 = tail call i32 @default_layer_set(i32 noundef %0) #2
ret void
}
declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1
declare i32 @default_layer_set(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_keebio_iris_keymaps_transmogrified_extr_keymap.c_persistent_default_layer_set |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/adc/extr_max1363_core.c_max1363_write_basic_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/adc/extr_max1363_core.c_max1363_write_basic_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @max1363_write_basic_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @max1363_write_basic_config(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @kmalloc(i32 noundef 2, i32 noundef %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %15
10: ; preds = %3
store i8 %1, ptr %5, align 1, !tbaa !9
%11 = getelementptr inbounds i8, ptr %5, i64 1
store i8 %2, ptr %11, align 1, !tbaa !9
%12 = tail call i32 @i2c_master_send(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 2) #3
%13 = tail call i32 @kfree(ptr noundef nonnull %5) #3
%14 = tail call i32 @llvm.smin.i32(i32 %12, i32 0)
br label %15
15: ; preds = %10, %7
%16 = phi i32 [ %14, %10 ], [ %9, %7 ]
ret i32 %16
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_master_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/adc/extr_max1363_core.c_max1363_write_basic_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/adc/extr_max1363_core.c_max1363_write_basic_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @max1363_write_basic_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @max1363_write_basic_config(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @kmalloc(i32 noundef 2, i32 noundef %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %15
10: ; preds = %3
store i8 %1, ptr %5, align 1, !tbaa !10
%11 = getelementptr inbounds i8, ptr %5, i64 1
store i8 %2, ptr %11, align 1, !tbaa !10
%12 = tail call i32 @i2c_master_send(ptr noundef %0, ptr noundef nonnull %5, i32 noundef 2) #3
%13 = tail call i32 @kfree(ptr noundef nonnull %5) #3
%14 = tail call i32 @llvm.smin.i32(i32 %12, i32 0)
br label %15
15: ; preds = %10, %7
%16 = phi i32 [ %14, %10 ], [ %9, %7 ]
ret i32 %16
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_master_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_staging_iio_adc_extr_max1363_core.c_max1363_write_basic_config |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_show.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_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 [8 x i8] c"0x%08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @i7core_inject_eccmask_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i7core_inject_eccmask_show(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"mem_ctl_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"i7core_pvt", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_show.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_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 [8 x i8] c"0x%08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @i7core_inject_eccmask_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @i7core_inject_eccmask_show(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"mem_ctl_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"i7core_pvt", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_edac_extr_i7core_edac.c_i7core_inject_eccmask_show |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-decl.c_c_maybe_initialize_eh.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-decl.c_c_maybe_initialize_eh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@flag_exceptions = dso_local local_unnamed_addr global i32 0, align 4
@c_eh_initialized_p = dso_local local_unnamed_addr global i32 0, align 4
@USING_SJLJ_EXCEPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"__gcc_personality_sj0\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"__gcc_personality_v0\00", align 1
@eh_personality_libfunc = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @c_maybe_initialize_eh() local_unnamed_addr #0 {
%1 = load i32, ptr @flag_exceptions, align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
%3 = load i32, ptr @c_eh_initialized_p, align 4
%4 = icmp ne i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %13, label %6
6: ; preds = %0
store i32 1, ptr @c_eh_initialized_p, align 4, !tbaa !5
%7 = load i64, ptr @USING_SJLJ_EXCEPTIONS, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, ptr @.str.1, ptr @.str
%10 = tail call i32 @init_one_libfunc(ptr noundef nonnull %9) #2
store i32 %10, ptr @eh_personality_libfunc, align 4, !tbaa !5
%11 = tail call i32 (...) @default_init_unwind_resume_libfunc() #2
%12 = tail call i32 (...) @using_eh_for_cleanups() #2
br label %13
13: ; preds = %0, %6
ret void
}
declare i32 @init_one_libfunc(ptr noundef) local_unnamed_addr #1
declare i32 @default_init_unwind_resume_libfunc(...) local_unnamed_addr #1
declare i32 @using_eh_for_cleanups(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-decl.c_c_maybe_initialize_eh.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-decl.c_c_maybe_initialize_eh.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@flag_exceptions = common local_unnamed_addr global i32 0, align 4
@c_eh_initialized_p = common local_unnamed_addr global i32 0, align 4
@USING_SJLJ_EXCEPTIONS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [22 x i8] c"__gcc_personality_sj0\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"__gcc_personality_v0\00", align 1
@eh_personality_libfunc = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @c_maybe_initialize_eh() local_unnamed_addr #0 {
%1 = load i32, ptr @flag_exceptions, align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
%3 = load i32, ptr @c_eh_initialized_p, align 4
%4 = icmp ne i32 %3, 0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %13, label %6
6: ; preds = %0
store i32 1, ptr @c_eh_initialized_p, align 4, !tbaa !6
%7 = load i64, ptr @USING_SJLJ_EXCEPTIONS, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, ptr @.str.1, ptr @.str
%10 = tail call i32 @init_one_libfunc(ptr noundef nonnull %9) #2
store i32 %10, ptr @eh_personality_libfunc, align 4, !tbaa !6
%11 = tail call i32 @default_init_unwind_resume_libfunc() #2
%12 = tail call i32 @using_eh_for_cleanups() #2
br label %13
13: ; preds = %0, %6
ret void
}
declare i32 @init_one_libfunc(ptr noundef) local_unnamed_addr #1
declare i32 @default_init_unwind_resume_libfunc(...) local_unnamed_addr #1
declare i32 @using_eh_for_cleanups(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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}
| freebsd_contrib_gcc_extr_c-decl.c_c_maybe_initialize_eh |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/sound/extr_ym2413.c_YM2413Init.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/sound/extr_ym2413.c_YM2413Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ym2413 = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @YM2413Init() local_unnamed_addr #0 {
%1 = tail call i32 (...) @init_tables() #2
%2 = tail call i32 @memset(ptr noundef nonnull @ym2413, i32 noundef 0, i32 noundef 4) #2
%3 = tail call i32 (...) @OPLL_initalize() #2
ret void
}
declare i32 @init_tables(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OPLL_initalize(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/sound/extr_ym2413.c_YM2413Init.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/sound/extr_ym2413.c_YM2413Init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ym2413 = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @YM2413Init() local_unnamed_addr #0 {
%1 = tail call i32 @init_tables() #2
%2 = tail call i32 @memset(ptr noundef nonnull @ym2413, i32 noundef 0, i32 noundef 4) #2
%3 = tail call i32 @OPLL_initalize() #2
ret void
}
declare i32 @init_tables(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OPLL_initalize(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_sound_extr_ym2413.c_YM2413Init |
; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_initdb.c_cleanup_directories_atexit.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_initdb.c_cleanup_directories_atexit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@success = dso_local local_unnamed_addr global i64 0, align 8
@noclean = dso_local local_unnamed_addr global i32 0, align 4
@made_new_pgdata = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [29 x i8] c"removing data directory \22%s\22\00", align 1
@pg_data = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"failed to remove data directory\00", align 1
@found_existing_pgdata = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [41 x i8] c"removing contents of data directory \22%s\22\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"failed to remove contents of data directory\00", align 1
@made_new_xlogdir = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [28 x i8] c"removing WAL directory \22%s\22\00", align 1
@xlog_dir = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [31 x i8] c"failed to remove WAL directory\00", align 1
@found_existing_xlogdir = dso_local local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [40 x i8] c"removing contents of WAL directory \22%s\22\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"failed to remove contents of WAL directory\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"data directory \22%s\22 not removed at user's request\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"WAL directory \22%s\22 not removed at user's request\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cleanup_directories_atexit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cleanup_directories_atexit() #0 {
%1 = load i64, ptr @success, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %66
3: ; preds = %0
%4 = load i32, ptr @noclean, align 4, !tbaa !9
%5 = icmp eq i32 %4, 0
%6 = load i64, ptr @made_new_pgdata, align 8, !tbaa !5
br i1 %5, label %7, label %49
7: ; preds = %3
%8 = icmp eq i64 %6, 0
br i1 %8, label %15, label %9
9: ; preds = %7
%10 = load i32, ptr @pg_data, align 4, !tbaa !9
%11 = tail call i32 @pg_log_info(ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr @pg_data, align 4, !tbaa !9
%13 = tail call i32 @rmtree(i32 noundef %12, i32 noundef 1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %27
15: ; preds = %7
%16 = load i64, ptr @found_existing_pgdata, align 8, !tbaa !5
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %15
%19 = load i32, ptr @pg_data, align 4, !tbaa !9
%20 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.2, i32 noundef %19) #2
%21 = load i32, ptr @pg_data, align 4, !tbaa !9
%22 = tail call i32 @rmtree(i32 noundef %21, i32 noundef 0) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %18, %9
%25 = phi ptr [ @.str.1, %9 ], [ @.str.3, %18 ]
%26 = tail call i32 @pg_log_error(ptr noundef nonnull %25) #2
br label %27
27: ; preds = %24, %15, %18, %9
%28 = load i64, ptr @made_new_xlogdir, align 8, !tbaa !5
%29 = icmp eq i64 %28, 0
br i1 %29, label %38, label %30
30: ; preds = %27
%31 = load i32, ptr @xlog_dir, align 4, !tbaa !9
%32 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.4, i32 noundef %31) #2
%33 = load i32, ptr @xlog_dir, align 4, !tbaa !9
%34 = tail call i32 @rmtree(i32 noundef %33, i32 noundef 1) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %66
36: ; preds = %30
%37 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.5) #2
br label %66
38: ; preds = %27
%39 = load i64, ptr @found_existing_xlogdir, align 8, !tbaa !5
%40 = icmp eq i64 %39, 0
br i1 %40, label %66, label %41
41: ; preds = %38
%42 = load i32, ptr @xlog_dir, align 4, !tbaa !9
%43 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.6, i32 noundef %42) #2
%44 = load i32, ptr @xlog_dir, align 4, !tbaa !9
%45 = tail call i32 @rmtree(i32 noundef %44, i32 noundef 0) #2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %66
47: ; preds = %41
%48 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.7) #2
br label %66
49: ; preds = %3
%50 = icmp ne i64 %6, 0
%51 = load i64, ptr @found_existing_pgdata, align 8
%52 = icmp ne i64 %51, 0
%53 = select i1 %50, i1 true, i1 %52
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, ptr @pg_data, align 4, !tbaa !9
%56 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.8, i32 noundef %55) #2
br label %57
57: ; preds = %49, %54
%58 = load i64, ptr @made_new_xlogdir, align 8, !tbaa !5
%59 = icmp ne i64 %58, 0
%60 = load i64, ptr @found_existing_xlogdir, align 8
%61 = icmp ne i64 %60, 0
%62 = select i1 %59, i1 true, i1 %61
br i1 %62, label %63, label %66
63: ; preds = %57
%64 = load i32, ptr @xlog_dir, align 4, !tbaa !9
%65 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.9, i32 noundef %64) #2
br label %66
66: ; preds = %63, %57, %36, %30, %41, %47, %38, %0
ret void
}
declare i32 @pg_log_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rmtree(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pg_log_error(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_initdb.c_cleanup_directories_atexit.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_initdb.c_cleanup_directories_atexit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@success = common local_unnamed_addr global i64 0, align 8
@noclean = common local_unnamed_addr global i32 0, align 4
@made_new_pgdata = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [29 x i8] c"removing data directory \22%s\22\00", align 1
@pg_data = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"failed to remove data directory\00", align 1
@found_existing_pgdata = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [41 x i8] c"removing contents of data directory \22%s\22\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"failed to remove contents of data directory\00", align 1
@made_new_xlogdir = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [28 x i8] c"removing WAL directory \22%s\22\00", align 1
@xlog_dir = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [31 x i8] c"failed to remove WAL directory\00", align 1
@found_existing_xlogdir = common local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [40 x i8] c"removing contents of WAL directory \22%s\22\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"failed to remove contents of WAL directory\00", align 1
@.str.8 = private unnamed_addr constant [50 x i8] c"data directory \22%s\22 not removed at user's request\00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"WAL directory \22%s\22 not removed at user's request\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cleanup_directories_atexit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cleanup_directories_atexit() #0 {
%1 = load i64, ptr @success, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %66
3: ; preds = %0
%4 = load i32, ptr @noclean, align 4, !tbaa !10
%5 = icmp eq i32 %4, 0
%6 = load i64, ptr @made_new_pgdata, align 8, !tbaa !6
br i1 %5, label %7, label %49
7: ; preds = %3
%8 = icmp eq i64 %6, 0
br i1 %8, label %15, label %9
9: ; preds = %7
%10 = load i32, ptr @pg_data, align 4, !tbaa !10
%11 = tail call i32 @pg_log_info(ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr @pg_data, align 4, !tbaa !10
%13 = tail call i32 @rmtree(i32 noundef %12, i32 noundef 1) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %27
15: ; preds = %7
%16 = load i64, ptr @found_existing_pgdata, align 8, !tbaa !6
%17 = icmp eq i64 %16, 0
br i1 %17, label %27, label %18
18: ; preds = %15
%19 = load i32, ptr @pg_data, align 4, !tbaa !10
%20 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.2, i32 noundef %19) #2
%21 = load i32, ptr @pg_data, align 4, !tbaa !10
%22 = tail call i32 @rmtree(i32 noundef %21, i32 noundef 0) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %18, %9
%25 = phi ptr [ @.str.1, %9 ], [ @.str.3, %18 ]
%26 = tail call i32 @pg_log_error(ptr noundef nonnull %25) #2
br label %27
27: ; preds = %24, %15, %18, %9
%28 = load i64, ptr @made_new_xlogdir, align 8, !tbaa !6
%29 = icmp eq i64 %28, 0
br i1 %29, label %38, label %30
30: ; preds = %27
%31 = load i32, ptr @xlog_dir, align 4, !tbaa !10
%32 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.4, i32 noundef %31) #2
%33 = load i32, ptr @xlog_dir, align 4, !tbaa !10
%34 = tail call i32 @rmtree(i32 noundef %33, i32 noundef 1) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %66
36: ; preds = %30
%37 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.5) #2
br label %66
38: ; preds = %27
%39 = load i64, ptr @found_existing_xlogdir, align 8, !tbaa !6
%40 = icmp eq i64 %39, 0
br i1 %40, label %66, label %41
41: ; preds = %38
%42 = load i32, ptr @xlog_dir, align 4, !tbaa !10
%43 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.6, i32 noundef %42) #2
%44 = load i32, ptr @xlog_dir, align 4, !tbaa !10
%45 = tail call i32 @rmtree(i32 noundef %44, i32 noundef 0) #2
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %66
47: ; preds = %41
%48 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.7) #2
br label %66
49: ; preds = %3
%50 = icmp ne i64 %6, 0
%51 = load i64, ptr @found_existing_pgdata, align 8
%52 = icmp ne i64 %51, 0
%53 = select i1 %50, i1 true, i1 %52
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, ptr @pg_data, align 4, !tbaa !10
%56 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.8, i32 noundef %55) #2
br label %57
57: ; preds = %49, %54
%58 = load i64, ptr @made_new_xlogdir, align 8, !tbaa !6
%59 = icmp ne i64 %58, 0
%60 = load i64, ptr @found_existing_xlogdir, align 8
%61 = icmp ne i64 %60, 0
%62 = select i1 %59, i1 true, i1 %61
br i1 %62, label %63, label %66
63: ; preds = %57
%64 = load i32, ptr @xlog_dir, align 4, !tbaa !10
%65 = tail call i32 @pg_log_info(ptr noundef nonnull @.str.9, i32 noundef %64) #2
br label %66
66: ; preds = %63, %57, %36, %30, %41, %47, %38, %0
ret void
}
declare i32 @pg_log_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rmtree(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pg_log_error(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| postgres_src_bin_initdb_extr_initdb.c_cleanup_directories_atexit |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/xilinx_hwicap/extr_buffer_icap.c_buffer_icap_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/xilinx_hwicap/extr_buffer_icap.c_buffer_icap_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XHI_STATUS_REG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @buffer_icap_reset(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @XHI_STATUS_REG_OFFSET, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
%5 = tail call i32 @out_be32(i64 noundef %4, i32 noundef 65278) #2
ret void
}
declare i32 @out_be32(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hwicap_drvdata", !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/fastsocket/kernel/drivers/char/xilinx_hwicap/extr_buffer_icap.c_buffer_icap_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/xilinx_hwicap/extr_buffer_icap.c_buffer_icap_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XHI_STATUS_REG_OFFSET = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @buffer_icap_reset(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @XHI_STATUS_REG_OFFSET, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
%5 = tail call i32 @out_be32(i64 noundef %4, i32 noundef 65278) #2
ret void
}
declare i32 @out_be32(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hwicap_drvdata", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_char_xilinx_hwicap_extr_buffer_icap.c_buffer_icap_reset |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlstring.c_xmlStrncmp.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlstring.c_xmlStrncmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @xmlStrncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp slt i32 %2, 1
%5 = icmp eq ptr %0, %1
%6 = or i1 %5, %4
br i1 %6, label %13, label %7
7: ; preds = %3
%8 = icmp eq ptr %0, null
br i1 %8, label %13, label %9
9: ; preds = %7
%10 = icmp eq ptr %1, null
br i1 %10, label %13, label %11
11: ; preds = %9
%12 = tail call i32 @strncmp(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %2) #2
br label %13
13: ; preds = %9, %7, %3, %11
%14 = phi i32 [ %12, %11 ], [ 0, %3 ], [ -1, %7 ], [ 1, %9 ]
ret i32 %14
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlstring.c_xmlStrncmp.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_xmlstring.c_xmlStrncmp.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 @xmlStrncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp slt i32 %2, 1
%5 = icmp eq ptr %0, %1
%6 = or i1 %5, %4
br i1 %6, label %13, label %7
7: ; preds = %3
%8 = icmp eq ptr %0, null
br i1 %8, label %13, label %9
9: ; preds = %7
%10 = icmp eq ptr %1, null
br i1 %10, label %13, label %11
11: ; preds = %9
%12 = tail call i32 @strncmp(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %2) #2
br label %13
13: ; preds = %9, %7, %3, %11
%14 = phi i32 [ %12, %11 ], [ 0, %3 ], [ -1, %7 ], [ 1, %9 ]
ret i32 %14
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_sdk_lib_3rdparty_libxml2_extr_xmlstring.c_xmlStrncmp |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_inq_req.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_inq_req.c"
target datalayout = "e-m:e-p270:32:32-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.hci_cp_inquiry = type { i32, i32, i32 }
%struct.hci_dev = type { i32, i32 }
%struct.hci_inquiry_req = type { i32, i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@HCI_INQUIRY = dso_local local_unnamed_addr global i32 0, align 4
@HCI_OP_INQUIRY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hci_inq_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hci_inq_req(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.hci_cp_inquiry, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%5 = getelementptr inbounds %struct.hci_dev, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %6) #3
%8 = load i32, ptr @HCI_INQUIRY, align 4, !tbaa !13
%9 = tail call i64 @test_bit(i32 noundef %8, ptr noundef %4) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = inttoptr i64 %1 to ptr
%13 = getelementptr inbounds %struct.hci_cp_inquiry, ptr %3, i64 0, i32 2
%14 = getelementptr inbounds %struct.hci_inquiry_req, ptr %12, i64 0, i32 2
%15 = call i32 @memcpy(ptr noundef nonnull %13, ptr noundef nonnull %14, i32 noundef 3) #3
%16 = load <2 x i32>, ptr %12, align 4, !tbaa !13
store <2 x i32> %16, ptr %3, align 8, !tbaa !13
%17 = load i32, ptr @HCI_OP_INQUIRY, align 4, !tbaa !13
%18 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 12, ptr noundef nonnull %3) #3
br label %19
19: ; preds = %2, %11
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #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 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @hci_req_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hci_request", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"hci_dev", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_inq_req.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_inq_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hci_cp_inquiry = type { i32, i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@HCI_INQUIRY = common local_unnamed_addr global i32 0, align 4
@HCI_OP_INQUIRY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hci_inq_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hci_inq_req(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.hci_cp_inquiry, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %6) #3
%8 = load i32, ptr @HCI_INQUIRY, align 4, !tbaa !14
%9 = tail call i64 @test_bit(i32 noundef %8, ptr noundef %4) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = inttoptr i64 %1 to ptr
%13 = getelementptr inbounds i8, ptr %3, i64 8
%14 = getelementptr inbounds i8, ptr %12, i64 8
%15 = call i32 @memcpy(ptr noundef nonnull %13, ptr noundef nonnull %14, i32 noundef 3) #3
%16 = load <2 x i32>, ptr %12, align 4, !tbaa !14
store <2 x i32> %16, ptr %3, align 8, !tbaa !14
%17 = load i32, ptr @HCI_OP_INQUIRY, align 4, !tbaa !14
%18 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 12, ptr noundef nonnull %3) #3
br label %19
19: ; preds = %2, %11
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #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 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @hci_req_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hci_request", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"hci_dev", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| linux_net_bluetooth_extr_hci_core.c_hci_inq_req |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/string/extr_stdstring.c_string_ucwords.c'
source_filename = "AnghaBench/RetroArch/libretro-common/string/extr_stdstring.c_string_ucwords.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @string_ucwords(ptr noundef returned %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %9, %1
%3 = phi ptr [ %0, %1 ], [ %10, %9 ]
%4 = load i8, ptr %3, align 1, !tbaa !5
switch i8 %4, label %9 [
i8 0, label %11
i8 32, label %5
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
%7 = load i8, ptr %6, align 1, !tbaa !5
%8 = tail call signext i8 @toupper(i8 noundef zeroext %7) #2
store i8 %8, ptr %6, align 1, !tbaa !5
br label %9
9: ; preds = %2, %5
%10 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !8
11: ; preds = %2
%12 = load i8, ptr %0, align 1, !tbaa !5
%13 = tail call signext i8 @toupper(i8 noundef zeroext %12) #2
store i8 %13, ptr %0, align 1, !tbaa !5
ret ptr %0
}
declare signext i8 @toupper(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/libretro-common/string/extr_stdstring.c_string_ucwords.c'
source_filename = "AnghaBench/RetroArch/libretro-common/string/extr_stdstring.c_string_ucwords.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 noundef ptr @string_ucwords(ptr noundef returned %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %9, %1
%3 = phi ptr [ %0, %1 ], [ %10, %9 ]
%4 = load i8, ptr %3, align 1, !tbaa !6
switch i8 %4, label %9 [
i8 0, label %11
i8 32, label %5
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
%7 = load i8, ptr %6, align 1, !tbaa !6
%8 = tail call signext i8 @toupper(i8 noundef zeroext %7) #2
store i8 %8, ptr %6, align 1, !tbaa !6
br label %9
9: ; preds = %2, %5
%10 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !9
11: ; preds = %2
%12 = load i8, ptr %0, align 1, !tbaa !6
%13 = tail call signext i8 @toupper(i8 noundef zeroext %12) #2
store i8 %13, ptr %0, align 1, !tbaa !6
ret ptr %0
}
declare signext i8 @toupper(i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| RetroArch_libretro-common_string_extr_stdstring.c_string_ucwords |
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_register_session.c'
source_filename = "AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_register_session.c"
target datalayout = "e-m:e-p270:32:32-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 @transport_register_session(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%6 = tail call i32 @__transport_register_session(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
%7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__transport_register_session(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_register_session.c'
source_filename = "AnghaBench/linux/drivers/target/extr_target_core_transport.c_transport_register_session.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 @transport_register_session(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%6 = tail call i32 @__transport_register_session(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
%7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__transport_register_session(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_target_extr_target_core_transport.c_transport_register_session |
; ModuleID = 'AnghaBench/reactos/dll/win32/rpcrt4/extr_rpc_message.c_RPCRT4_default_inquire_auth_client.c'
source_filename = "AnghaBench/reactos/dll/win32/rpcrt4/extr_rpc_message.c_RPCRT4_default_inquire_auth_client.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i64, i32 }
@RPC_S_BINDING_HAS_NO_AUTH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"privs not implemented\0A\00", align 1
@ERROR_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [39 x i8] c"authorization service not implemented\0A\00", align 1
@RPC_C_AUTHZ_NONE = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"flags 0x%x not implemented\0A\00", align 1
@RPC_S_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @RPCRT4_default_inquire_auth_client(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, i64 noundef %6) local_unnamed_addr #0 {
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %42, label %10
10: ; preds = %7
%11 = icmp eq ptr %1, null
br i1 %11, label %14, label %12
12: ; preds = %10
%13 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str) #2
store ptr null, ptr %1, align 8, !tbaa !10
br label %14
14: ; preds = %12, %10
%15 = icmp eq ptr %2, null
br i1 %15, label %22, label %16
16: ; preds = %14
%17 = load ptr, ptr %0, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 2
%19 = load i32, ptr %18, align 8, !tbaa !11
%20 = tail call i32 @RPCRT4_strdupW(i32 noundef %19) #2
store i32 %20, ptr %2, align 4, !tbaa !15
%21 = icmp eq i32 %20, 0
br i1 %21, label %42, label %22
22: ; preds = %16, %14
%23 = icmp eq ptr %3, null
br i1 %23, label %28, label %24
24: ; preds = %22
%25 = load ptr, ptr %0, align 8, !tbaa !5
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 0, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !16
store i64 %27, ptr %3, align 8, !tbaa !17
br label %28
28: ; preds = %24, %22
%29 = icmp eq ptr %4, null
br i1 %29, label %33, label %30
30: ; preds = %28
%31 = load ptr, ptr %0, align 8, !tbaa !5
%32 = load i64, ptr %31, align 8, !tbaa !18
store i64 %32, ptr %4, align 8, !tbaa !17
br label %33
33: ; preds = %30, %28
%34 = icmp eq ptr %5, null
br i1 %34, label %38, label %35
35: ; preds = %33
%36 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str.1) #2
%37 = load i64, ptr @RPC_C_AUTHZ_NONE, align 8, !tbaa !17
store i64 %37, ptr %5, align 8, !tbaa !17
br label %38
38: ; preds = %35, %33
%39 = icmp eq i64 %6, 0
br i1 %39, label %42, label %40
40: ; preds = %38
%41 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str.2, i64 noundef %6) #2
br label %42
42: ; preds = %38, %40, %16, %7
%43 = phi ptr [ @RPC_S_BINDING_HAS_NO_AUTH, %7 ], [ @ERROR_OUTOFMEMORY, %16 ], [ @RPC_S_OK, %40 ], [ @RPC_S_OK, %38 ]
%44 = load i32, ptr %43, align 4, !tbaa !15
ret i32 %44
}
declare i32 @FIXME(ptr noundef, ...) local_unnamed_addr #1
declare i32 @RPCRT4_strdupW(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}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !14, i64 16}
!12 = !{!"TYPE_4__", !13, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/rpcrt4/extr_rpc_message.c_RPCRT4_default_inquire_auth_client.c'
source_filename = "AnghaBench/reactos/dll/win32/rpcrt4/extr_rpc_message.c_RPCRT4_default_inquire_auth_client.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RPC_S_BINDING_HAS_NO_AUTH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"privs not implemented\0A\00", align 1
@ERROR_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [39 x i8] c"authorization service not implemented\0A\00", align 1
@RPC_C_AUTHZ_NONE = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"flags 0x%x not implemented\0A\00", align 1
@RPC_S_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @RPCRT4_default_inquire_auth_client(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, i64 noundef %6) local_unnamed_addr #0 {
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %42, label %10
10: ; preds = %7
%11 = icmp eq ptr %1, null
br i1 %11, label %14, label %12
12: ; preds = %10
%13 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str) #2
store ptr null, ptr %1, align 8, !tbaa !11
br label %14
14: ; preds = %12, %10
%15 = icmp eq ptr %2, null
br i1 %15, label %22, label %16
16: ; preds = %14
%17 = load ptr, ptr %0, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %17, i64 16
%19 = load i32, ptr %18, align 8, !tbaa !12
%20 = tail call i32 @RPCRT4_strdupW(i32 noundef %19) #2
store i32 %20, ptr %2, align 4, !tbaa !16
%21 = icmp eq i32 %20, 0
br i1 %21, label %42, label %22
22: ; preds = %16, %14
%23 = icmp eq ptr %3, null
br i1 %23, label %28, label %24
24: ; preds = %22
%25 = load ptr, ptr %0, align 8, !tbaa !6
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = load i64, ptr %26, align 8, !tbaa !17
store i64 %27, ptr %3, align 8, !tbaa !18
br label %28
28: ; preds = %24, %22
%29 = icmp eq ptr %4, null
br i1 %29, label %33, label %30
30: ; preds = %28
%31 = load ptr, ptr %0, align 8, !tbaa !6
%32 = load i64, ptr %31, align 8, !tbaa !19
store i64 %32, ptr %4, align 8, !tbaa !18
br label %33
33: ; preds = %30, %28
%34 = icmp eq ptr %5, null
br i1 %34, label %38, label %35
35: ; preds = %33
%36 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str.1) #2
%37 = load i64, ptr @RPC_C_AUTHZ_NONE, align 8, !tbaa !18
store i64 %37, ptr %5, align 8, !tbaa !18
br label %38
38: ; preds = %35, %33
%39 = icmp eq i64 %6, 0
br i1 %39, label %42, label %40
40: ; preds = %38
%41 = tail call i32 (ptr, ...) @FIXME(ptr noundef nonnull @.str.2, i64 noundef %6) #2
br label %42
42: ; preds = %38, %40, %16, %7
%43 = phi ptr [ @RPC_S_BINDING_HAS_NO_AUTH, %7 ], [ @ERROR_OUTOFMEMORY, %16 ], [ @RPC_S_OK, %40 ], [ @RPC_S_OK, %38 ]
%44 = load i32, ptr %43, align 4, !tbaa !16
ret i32 %44
}
declare i32 @FIXME(ptr noundef, ...) local_unnamed_addr #1
declare i32 @RPCRT4_strdupW(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}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !15, i64 16}
!13 = !{!"TYPE_4__", !14, i64 0, !14, i64 8, !15, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!14, !14, i64 0}
!19 = !{!13, !14, i64 0}
| reactos_dll_win32_rpcrt4_extr_rpc_message.c_RPCRT4_default_inquire_auth_client |
; ModuleID = 'AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_sync_kloop_worker.c'
source_filename = "AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_sync_kloop_worker.c"
target datalayout = "e-m:e-p270:32:32-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.nmreq_sync_kloop_start = type { i32 }
%struct.nmreq_header = type { i64, i64, i32 }
%struct.TestContext = type { ptr, i64, i32, i64 }
@.str = private unnamed_addr constant [45 x i8] c"Testing NETMAP_REQ_SYNC_KLOOP_START on '%s'\0A\00", align 1
@NETMAP_REQ_SYNC_KLOOP_START = dso_local local_unnamed_addr global i32 0, align 4
@NIOCCTRL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"ioctl(/dev/netmap, NIOCCTRL, SYNC_KLOOP_START)\00", align 1
@THRET_FAILURE = dso_local local_unnamed_addr global i64 0, align 8
@THRET_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sync_kloop_worker], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias ptr @sync_kloop_worker(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.nmreq_sync_kloop_start, align 4
%3 = alloca %struct.nmreq_header, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %4) #3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = call i32 @nmreq_hdr_init(ptr noundef nonnull %3, ptr noundef %6) #3
%8 = load i32, ptr @NETMAP_REQ_SYNC_KLOOP_START, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.nmreq_header, ptr %3, i64 0, i32 2
store i32 %8, ptr %9, align 8, !tbaa !13
%10 = ptrtoint ptr %2 to i64
store i64 %10, ptr %3, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.TestContext, ptr %0, i64 0, i32 3
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.nmreq_header, ptr %3, i64 0, i32 1
store i64 %12, ptr %13, align 8, !tbaa !17
%14 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3
store i32 500, ptr %2, align 4, !tbaa !18
%15 = getelementptr inbounds %struct.TestContext, ptr %0, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !20
%17 = load i32, ptr @NIOCCTRL, align 4, !tbaa !12
%18 = call i32 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef nonnull %3) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %1
%21 = call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %22
22: ; preds = %20, %1
%23 = getelementptr inbounds %struct.TestContext, ptr %0, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !21
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = call i32 @sem_post(i64 noundef %24) #3
br label %28
28: ; preds = %26, %22
%29 = load i64, ptr @THRET_FAILURE, align 8
%30 = load i64, ptr @THRET_SUCCESS, align 8
%31 = select i1 %19, i64 %30, i64 %29
%32 = inttoptr i64 %31 to ptr
%33 = call i32 @pthread_exit(ptr noundef %32) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr undef
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nmreq_hdr_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @sem_post(i64 noundef) local_unnamed_addr #2
declare i32 @pthread_exit(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 = !{!"TestContext", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"nmreq_header", !10, i64 0, !10, i64 8, !11, i64 16}
!15 = !{!14, !10, i64 0}
!16 = !{!6, !10, i64 24}
!17 = !{!14, !10, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"nmreq_sync_kloop_start", !11, i64 0}
!20 = !{!6, !11, i64 16}
!21 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_sync_kloop_worker.c'
source_filename = "AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_sync_kloop_worker.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nmreq_sync_kloop_start = type { i32 }
%struct.nmreq_header = type { i64, i64, i32 }
@.str = private unnamed_addr constant [45 x i8] c"Testing NETMAP_REQ_SYNC_KLOOP_START on '%s'\0A\00", align 1
@NETMAP_REQ_SYNC_KLOOP_START = common local_unnamed_addr global i32 0, align 4
@NIOCCTRL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"ioctl(/dev/netmap, NIOCCTRL, SYNC_KLOOP_START)\00", align 1
@THRET_FAILURE = common local_unnamed_addr global i64 0, align 8
@THRET_SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sync_kloop_worker], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noalias ptr @sync_kloop_worker(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.nmreq_sync_kloop_start, align 4
%3 = alloca %struct.nmreq_header, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %4) #3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = call i32 @nmreq_hdr_init(ptr noundef nonnull %3, ptr noundef %6) #3
%8 = load i32, ptr @NETMAP_REQ_SYNC_KLOOP_START, align 4, !tbaa !13
%9 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %8, ptr %9, align 8, !tbaa !14
%10 = ptrtoint ptr %2 to i64
store i64 %10, ptr %3, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load i64, ptr %11, align 8, !tbaa !17
%13 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %12, ptr %13, align 8, !tbaa !18
%14 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3
store i32 500, ptr %2, align 4, !tbaa !19
%15 = getelementptr inbounds i8, ptr %0, i64 16
%16 = load i32, ptr %15, align 8, !tbaa !21
%17 = load i32, ptr @NIOCCTRL, align 4, !tbaa !13
%18 = call i32 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef nonnull %3) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %1
%21 = call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %22
22: ; preds = %20, %1
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i64, ptr %23, align 8, !tbaa !22
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = call i32 @sem_post(i64 noundef %24) #3
br label %28
28: ; preds = %26, %22
%29 = load i64, ptr @THRET_FAILURE, align 8
%30 = load i64, ptr @THRET_SUCCESS, align 8
%31 = select i1 %19, i64 %30, i64 %29
%32 = inttoptr i64 %31 to ptr
%33 = call i32 @pthread_exit(ptr noundef %32) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr undef
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nmreq_hdr_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @sem_post(i64 noundef) local_unnamed_addr #2
declare i32 @pthread_exit(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 = !{!"TestContext", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 16}
!15 = !{!"nmreq_header", !11, i64 0, !11, i64 8, !12, i64 16}
!16 = !{!15, !11, i64 0}
!17 = !{!7, !11, i64 24}
!18 = !{!15, !11, i64 8}
!19 = !{!20, !12, i64 0}
!20 = !{!"nmreq_sync_kloop_start", !12, i64 0}
!21 = !{!7, !12, i64 16}
!22 = !{!7, !11, i64 8}
| freebsd_tests_sys_netmap_extr_ctrl-api-test.c_sync_kloop_worker |
; ModuleID = 'AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_update.c'
source_filename = "AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_update.c"
target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32, i32, i32, ptr, i32 }
%struct.TYPE_15__ = type { %struct.TYPE_11__, i32, i32, i32 }
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_14__ = type { ptr, i32, i32 }
@DIMENSION_TYPE_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"hypertable_tuple_update chunk_sizing_function cannot be NULL\00", align 1
@SCAN_DONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hypertable_tuple_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hypertable_tuple_update(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_17__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i64 @OidIsValid(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %35, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load i32, ptr @DIMENSION_TYPE_OPEN, align 4, !tbaa !12
%13 = tail call ptr @ts_hyperspace_get_dimension(i32 noundef %11, i32 noundef %12, i32 noundef 0) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
store i32 0, ptr %4, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_17__, ptr %4, i64 0, i32 1
store i32 0, ptr %14, align 4, !tbaa !16
%15 = getelementptr inbounds %struct.TYPE_17__, ptr %4, i64 0, i32 2
%16 = load i32, ptr %5, align 4, !tbaa !5
store i32 %16, ptr %15, align 8, !tbaa !17
%17 = getelementptr inbounds %struct.TYPE_17__, ptr %4, i64 0, i32 3
%18 = icmp eq ptr %13, null
br i1 %18, label %22, label %19
19: ; preds = %9
%20 = load i32, ptr %13, align 4, !tbaa !18
%21 = tail call ptr @NameStr(i32 noundef %20) #3
br label %22
22: ; preds = %9, %19
%23 = phi ptr [ %21, %19 ], [ null, %9 ]
store ptr %23, ptr %17, align 8, !tbaa !21
%24 = getelementptr inbounds %struct.TYPE_17__, ptr %4, i64 0, i32 4
%25 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 2
%26 = load i32, ptr %25, align 4, !tbaa !22
store i32 %26, ptr %24, align 8, !tbaa !23
%27 = call i32 @ts_chunk_adaptive_sizing_info_validate(ptr noundef nonnull %4) #3
%28 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
%29 = load i32, ptr %14, align 4, !tbaa !16
%30 = call ptr @NameStr(i32 noundef %29) #3
%31 = call i32 @namestrcpy(ptr noundef nonnull %28, ptr noundef %30) #3
%32 = load i32, ptr %4, align 8, !tbaa !13
%33 = call ptr @NameStr(i32 noundef %32) #3
%34 = call i32 @namestrcpy(ptr noundef nonnull %1, ptr noundef %33) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
br label %38
35: ; preds = %2
%36 = load i32, ptr @ERROR, align 4, !tbaa !12
%37 = tail call i32 @elog(i32 noundef %36, ptr noundef nonnull @.str) #3
br label %38
38: ; preds = %35, %22
%39 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2
%40 = load i32, ptr %39, align 4, !tbaa !24
%41 = call i32 @hypertable_formdata_make_tuple(ptr noundef nonnull %1, i32 noundef %40) #3
%42 = call i32 (...) @ts_catalog_database_info_get() #3
%43 = call i32 @ts_catalog_database_info_become_owner(i32 noundef %42, ptr noundef nonnull %3) #3
%44 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%45 = load i32, ptr %44, align 8, !tbaa !26
%46 = load ptr, ptr %0, align 8, !tbaa !27
%47 = call i32 @ts_catalog_update_tid(i32 noundef %45, ptr noundef %46, i32 noundef %41) #3
%48 = call i32 @ts_catalog_restore_user(ptr noundef nonnull %3) #3
%49 = call i32 @heap_freetuple(i32 noundef %41) #3
%50 = load i32, ptr @SCAN_DONE, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2
declare ptr @ts_hyperspace_get_dimension(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @NameStr(i32 noundef) local_unnamed_addr #2
declare i32 @ts_chunk_adaptive_sizing_info_validate(ptr noundef) local_unnamed_addr #2
declare i32 @namestrcpy(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
declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hypertable_formdata_make_tuple(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ts_catalog_database_info_become_owner(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ts_catalog_database_info_get(...) local_unnamed_addr #2
declare i32 @ts_catalog_update_tid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ts_catalog_restore_user(ptr noundef) local_unnamed_addr #2
declare i32 @heap_freetuple(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"TYPE_15__", !7, i64 0, !8, i64 8, !8, i64 12, !8, i64 16}
!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 = !{!6, !8, i64 16}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_17__", !8, i64 0, !8, i64 4, !8, i64 8, !15, i64 16, !8, i64 24}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!14, !8, i64 4}
!17 = !{!14, !8, i64 8}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_16__", !20, i64 0}
!20 = !{!"TYPE_12__", !8, i64 0}
!21 = !{!14, !15, i64 16}
!22 = !{!6, !8, i64 12}
!23 = !{!14, !8, i64 24}
!24 = !{!25, !8, i64 12}
!25 = !{!"TYPE_14__", !15, i64 0, !8, i64 8, !8, i64 12}
!26 = !{!25, !8, i64 8}
!27 = !{!25, !15, i64 0}
| ; ModuleID = 'AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_update.c'
source_filename = "AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_17__ = type { i32, i32, i32, ptr, i32 }
@DIMENSION_TYPE_OPEN = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"hypertable_tuple_update chunk_sizing_function cannot be NULL\00", align 1
@SCAN_DONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hypertable_tuple_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hypertable_tuple_update(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca %struct.TYPE_17__, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i64 @OidIsValid(i32 noundef %6) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %35, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load i32, ptr @DIMENSION_TYPE_OPEN, align 4, !tbaa !13
%13 = tail call ptr @ts_hyperspace_get_dimension(i32 noundef %11, i32 noundef %12, i32 noundef 0) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%14 = getelementptr inbounds i8, ptr %4, i64 4
store <2 x i32> zeroinitializer, ptr %4, align 8, !tbaa !13
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load i32, ptr %5, align 4, !tbaa !6
store i32 %16, ptr %15, align 8, !tbaa !14
%17 = getelementptr inbounds i8, ptr %4, i64 16
%18 = icmp eq ptr %13, null
br i1 %18, label %22, label %19
19: ; preds = %9
%20 = load i32, ptr %13, align 4, !tbaa !17
%21 = tail call ptr @NameStr(i32 noundef %20) #3
br label %22
22: ; preds = %9, %19
%23 = phi ptr [ %21, %19 ], [ null, %9 ]
store ptr %23, ptr %17, align 8, !tbaa !20
%24 = getelementptr inbounds i8, ptr %4, i64 24
%25 = getelementptr inbounds i8, ptr %1, i64 12
%26 = load i32, ptr %25, align 4, !tbaa !21
store i32 %26, ptr %24, align 8, !tbaa !22
%27 = call i32 @ts_chunk_adaptive_sizing_info_validate(ptr noundef nonnull %4) #3
%28 = getelementptr inbounds i8, ptr %1, i64 4
%29 = load i32, ptr %14, align 4, !tbaa !23
%30 = call ptr @NameStr(i32 noundef %29) #3
%31 = call i32 @namestrcpy(ptr noundef nonnull %28, ptr noundef %30) #3
%32 = load i32, ptr %4, align 8, !tbaa !24
%33 = call ptr @NameStr(i32 noundef %32) #3
%34 = call i32 @namestrcpy(ptr noundef nonnull %1, ptr noundef %33) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
br label %38
35: ; preds = %2
%36 = load i32, ptr @ERROR, align 4, !tbaa !13
%37 = tail call i32 @elog(i32 noundef %36, ptr noundef nonnull @.str) #3
br label %38
38: ; preds = %35, %22
%39 = getelementptr inbounds i8, ptr %0, i64 12
%40 = load i32, ptr %39, align 4, !tbaa !25
%41 = call i32 @hypertable_formdata_make_tuple(ptr noundef nonnull %1, i32 noundef %40) #3
%42 = call i32 @ts_catalog_database_info_get() #3
%43 = call i32 @ts_catalog_database_info_become_owner(i32 noundef %42, ptr noundef nonnull %3) #3
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = load i32, ptr %44, align 8, !tbaa !27
%46 = load ptr, ptr %0, align 8, !tbaa !28
%47 = call i32 @ts_catalog_update_tid(i32 noundef %45, ptr noundef %46, i32 noundef %41) #3
%48 = call i32 @ts_catalog_restore_user(ptr noundef nonnull %3) #3
%49 = call i32 @heap_freetuple(i32 noundef %41) #3
%50 = load i32, ptr @SCAN_DONE, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2
declare ptr @ts_hyperspace_get_dimension(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @NameStr(i32 noundef) local_unnamed_addr #2
declare i32 @ts_chunk_adaptive_sizing_info_validate(ptr noundef) local_unnamed_addr #2
declare i32 @namestrcpy(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
declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hypertable_formdata_make_tuple(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ts_catalog_database_info_become_owner(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ts_catalog_database_info_get(...) local_unnamed_addr #2
declare i32 @ts_catalog_update_tid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ts_catalog_restore_user(ptr noundef) local_unnamed_addr #2
declare i32 @heap_freetuple(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 8}
!7 = !{!"TYPE_15__", !8, i64 0, !9, i64 8, !9, i64 12, !9, i64 16}
!8 = !{!"TYPE_11__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 16}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !9, i64 8}
!15 = !{!"TYPE_17__", !9, i64 0, !9, i64 4, !9, i64 8, !16, i64 16, !9, i64 24}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!18, !9, i64 0}
!18 = !{!"TYPE_16__", !19, i64 0}
!19 = !{!"TYPE_12__", !9, i64 0}
!20 = !{!15, !16, i64 16}
!21 = !{!7, !9, i64 12}
!22 = !{!15, !9, i64 24}
!23 = !{!15, !9, i64 4}
!24 = !{!15, !9, i64 0}
!25 = !{!26, !9, i64 12}
!26 = !{!"TYPE_14__", !16, i64 0, !9, i64 8, !9, i64 12}
!27 = !{!26, !9, i64 8}
!28 = !{!26, !16, i64 0}
| timescaledb_src_extr_hypertable.c_hypertable_tuple_update |
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_prepare.c_build_regtype_array.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_prepare.c_build_regtype_array.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REGTYPEOID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @build_regtype_array], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @build_regtype_array(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i64 @palloc(i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %17
7: ; preds = %2
%8 = zext nneg i32 %1 to i64
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %15, %9 ]
%11 = getelementptr inbounds i32, ptr %0, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = tail call i32 @ObjectIdGetDatum(i32 noundef %12) #2
%14 = getelementptr inbounds i32, ptr %5, i64 %10
store i32 %13, ptr %14, align 4, !tbaa !5
%15 = add nuw nsw i64 %10, 1
%16 = icmp eq i64 %15, %8
br i1 %16, label %17, label %9, !llvm.loop !9
17: ; preds = %9, %2
%18 = load i32, ptr @REGTYPEOID, align 4, !tbaa !5
%19 = tail call ptr @construct_array(ptr noundef %5, i32 noundef %1, i32 noundef %18, i32 noundef 4, i32 noundef 1, i8 noundef signext 105) #2
%20 = tail call i32 @PointerGetDatum(ptr noundef %19) #2
ret i32 %20
}
declare i64 @palloc(i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare ptr @construct_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @PointerGetDatum(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/postgres/src/backend/commands/extr_prepare.c_build_regtype_array.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_prepare.c_build_regtype_array.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REGTYPEOID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @build_regtype_array], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @build_regtype_array(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i64 @palloc(i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %17
7: ; preds = %2
%8 = zext nneg i32 %1 to i64
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %15, %9 ]
%11 = getelementptr inbounds i32, ptr %0, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = tail call i32 @ObjectIdGetDatum(i32 noundef %12) #2
%14 = getelementptr inbounds i32, ptr %5, i64 %10
store i32 %13, ptr %14, align 4, !tbaa !6
%15 = add nuw nsw i64 %10, 1
%16 = icmp eq i64 %15, %8
br i1 %16, label %17, label %9, !llvm.loop !10
17: ; preds = %9, %2
%18 = load i32, ptr @REGTYPEOID, align 4, !tbaa !6
%19 = tail call ptr @construct_array(ptr noundef %5, i32 noundef %1, i32 noundef %18, i32 noundef 4, i32 noundef 1, i8 noundef signext 105) #2
%20 = tail call i32 @PointerGetDatum(ptr noundef %19) #2
ret i32 %20
}
declare i64 @palloc(i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare ptr @construct_array(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @PointerGetDatum(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"}
| postgres_src_backend_commands_extr_prepare.c_build_regtype_array |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unicodeFunc.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unicodeFunc.c"
target datalayout = "e-m:e-p270:32:32-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 @unicodeFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unicodeFunc(ptr noundef %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load ptr, ptr %2, align 8, !tbaa !5
%6 = tail call ptr @sqlite3_value_text(ptr noundef %5) #3
store ptr %6, ptr %4, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %3
%9 = load i8, ptr %6, align 1, !tbaa !9
%10 = icmp eq i8 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = call i32 @sqlite3Utf8Read(ptr noundef nonnull %4) #3
%13 = call i32 @sqlite3_result_int(ptr noundef %0, i32 noundef %12) #3
br label %14
14: ; preds = %11, %8, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_result_int(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3Utf8Read(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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unicodeFunc.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unicodeFunc.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 @unicodeFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unicodeFunc(ptr noundef %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load ptr, ptr %2, align 8, !tbaa !6
%6 = tail call ptr @sqlite3_value_text(ptr noundef %5) #3
store ptr %6, ptr %4, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %3
%9 = load i8, ptr %6, align 1, !tbaa !10
%10 = icmp eq i8 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = call i32 @sqlite3Utf8Read(ptr noundef nonnull %4) #3
%13 = call i32 @sqlite3_result_int(ptr noundef %0, i32 noundef %12) #3
br label %14
14: ; preds = %11, %8, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sqlite3_value_text(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_result_int(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3Utf8Read(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 = !{!8, !8, i64 0}
| mimikatz_modules_extr_sqlite3_omit.c_unicodeFunc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.